ALTER TABLE reporttemplate ADD `template_preview` longblob NULL
ALTER TABLE rcpt_refund ADD `an` VARCHAR(9) NOT NULL
ALTER TABLE rcpt_refund ADD `refund_amount` DOUBLE(15,3) NULL
ALTER TABLE rcpt_refund ADD `pay_amount` DOUBLE(15,3) NULL
ALTER TABLE rcpt_refund ADD `receive_amount` DOUBLE(15,3) NULL
ALTER TABLE rcpt_refund ADD `refund_staff` VARCHAR(25) NULL
ALTER TABLE rcpt_refund ADD `refund_time` TIME NULL
ALTER TABLE rcpt_refund ADD `refund_date` DATE NULL
ALTER TABLE rcpt_refund ADD `finance_number` VARCHAR(9) NOT NULL
ALTER TABLE rcpt_refund ADD `department` CHAR(3) NULL
ALTER TABLE promotion_package ADD `promotion_package_name` VARCHAR(250) NOT NULL
ALTER TABLE printserver_document ADD `document_name` VARCHAR(200) NULL
ALTER TABLE printserver_document ADD `print_ok` CHAR(1) NOT NULL
ALTER TABLE printserver_document ADD `print_on` VARCHAR(150) NOT NULL
ALTER TABLE printserver_document ADD `document` longblob NULL
ALTER TABLE printserver_document ADD `print_datetime` datetime NULL
ALTER TABLE printserver_document ADD `print_from_computer` VARCHAR(150) NULL
ALTER TABLE pharmacology_group ADD `outline` VARCHAR(15) NULL
ALTER TABLE person_anc_preg_care ADD `temperature` DOUBLE(15,3) NULL
ALTER TABLE person_anc_preg_care ADD `rr` DOUBLE(15,3) NULL
ALTER TABLE person_anc_preg_care ADD `bpd` DOUBLE(15,3) NULL
ALTER TABLE person_anc_preg_care ADD `bps` DOUBLE(15,3) NULL
ALTER TABLE patient_promotion ADD `show_staff` CHAR(1) NULL
ALTER TABLE patient_promotion ADD `promotion_end_date` DATE NULL
ALTER TABLE patient_promotion ADD `promotion_begin_date` DATE NULL
ALTER TABLE patient_promotion ADD `promotion_package_id` INT NOT NULL
ALTER TABLE patient_promotion ADD `hn` VARCHAR(9) NOT NULL
ALTER TABLE operation_agent ADD `total_price` DOUBLE(15,3) NULL
ALTER TABLE opd_queue ADD `queue_date` DATE NULL
ALTER TABLE oapp_template_detail ADD `oapp_note` VARCHAR(150) NULL
ALTER TABLE oapp_template_detail ADD `oapp_date_number` INT NULL
ALTER TABLE oapp_template_detail ADD `oapp_template_id` INT NULL
ALTER TABLE oapp_template ADD `oapp_template_name` VARCHAR(200) NOT NULL
ALTER TABLE lookup_normal ADD `lookup_name` VARCHAR(100) NOT NULL
ALTER TABLE lab_perform_status ADD `abort_price` CHAR(1) NULL
ALTER TABLE lab_perform_status ADD `lab_perform_status_name` VARCHAR(150) NOT NULL
ALTER TABLE ipt_admit_stat ADD `admit_hour` INT NULL
ALTER TABLE ipd_df ADD `df_id` INT NULL
ALTER TABLE ipd_df ADD `doctor_fee_type_id` INT NULL
ALTER TABLE finance_ticket_visit ADD `visit_money` DOUBLE(15,3) NULL
ALTER TABLE finance_ticket_visit ADD `staff` VARCHAR(25) NULL
ALTER TABLE finance_ticket_visit ADD `vn` VARCHAR(13) NOT NULL
ALTER TABLE finance_ticket_visit ADD `finance_ticket_id` INT NOT NULL
ALTER TABLE finance_ticket ADD `ticket_expire` CHAR(1) NULL
ALTER TABLE finance_ticket ADD `ticket_detail` VARCHAR(200) NULL
ALTER TABLE finance_ticket ADD `ticket_money` DOUBLE(15,3) NULL
ALTER TABLE finance_ticket ADD `ticket_end_date` DATE NULL
ALTER TABLE finance_ticket ADD `ticket_start_date` DATE NULL
ALTER TABLE finance_ticket ADD `ticket_time` TIME NULL
ALTER TABLE finance_ticket ADD `ticket_date` DATE NULL
ALTER TABLE finance_ticket ADD `hn` VARCHAR(9) NOT NULL
ALTER TABLE eye_screen_code ADD `name` VARCHAR(50) NOT NULL
ALTER TABLE drug_counseling_list ADD `counseling_pttype` INT NULL
ALTER TABLE drug_counseling_list ADD `department` CHAR(3) NULL
ALTER TABLE drug_counseling_group_check ADD `drug_counseling_check_name` VARCHAR(200) NULL
ALTER TABLE drug_counseling_group_check ADD `drug_counseling_group_id` INT NOT NULL
ALTER TABLE drug_counseling_group ADD `drug_counseling_group_name` VARCHAR(200) NOT NULL
ALTER TABLE counseling_pttype ADD `counseling_pttype_name` VARCHAR(150) NOT NULL
ALTER TABLE blood_status ADD `blood_status_name` VARCHAR(150) NOT NULL
ALTER TABLE blood_request_item ADD `service_ipd_price3` DOUBLE(15,3) NULL
ALTER TABLE blood_request_item ADD `service_ipd_price2` DOUBLE(15,3) NULL
ALTER TABLE blood_request_item ADD `service_ipd_price1` DOUBLE(15,3) NULL
ALTER TABLE blood_request_item ADD `service_price3` DOUBLE(15,3) NULL
ALTER TABLE blood_request_item ADD `service_price2` DOUBLE(15,3) NULL
ALTER TABLE blood_request_item ADD `service_price1` DOUBLE(15,3) NULL
ALTER TABLE blood_request_item ADD `icode` CHAR(7) NULL
ALTER TABLE blood_request_item ADD `blood_request_name` VARCHAR(50) NOT NULL
ALTER TABLE blood_request_detail ADD `opi_guid` CHAR(38) NULL
ALTER TABLE blood_request_detail ADD `response_qty` INT NULL
ALTER TABLE blood_request_detail ADD `request_qty` INT NOT NULL
ALTER TABLE blood_request_detail ADD `rh_id` INT NULL
ALTER TABLE blood_request_detail ADD `blood_request_item_id` INT NOT NULL
ALTER TABLE blood_request_detail ADD `blood_request_id` INT NOT NULL
ALTER TABLE blood_request ADD `blood_status_id` INT NULL
ALTER TABLE blood_request ADD `request_note` text NULL
ALTER TABLE blood_request ADD `response_staff` VARCHAR(15) NULL
ALTER TABLE blood_request ADD `hn` VARCHAR(9) NULL
ALTER TABLE blood_request ADD `response_complete` CHAR(1) NULL
ALTER TABLE blood_request ADD `ward` VARCHAR(6) NULL
ALTER TABLE blood_request ADD `vn` VARCHAR(13) NOT NULL
ALTER TABLE blood_request ADD `request_time` TIME NULL
ALTER TABLE blood_request ADD `request_date` DATE NULL
ALTER TABLE blood_request ADD `request_staff` VARCHAR(25) NULL
ALTER TABLE blood_request ADD `depcode` CHAR(3) NULL
ALTER TABLE blood_request ADD `department` CHAR(3) NULL
ALTER TABLE blood_pay_service ADD `blood_request_id` INT NOT NULL
ALTER TABLE blood_pay_service ADD `opi_guid` VARCHAR(38) NULL
ALTER TABLE blood_pay_service ADD `service_price` DOUBLE(15,3) NULL
ALTER TABLE blood_pay_service ADD `icode` VARCHAR(7) NOT NULL
ALTER TABLE blood_pay_detail ADD `opi_guid` VARCHAR(38) NULL
ALTER TABLE blood_pay_detail ADD `service_price` DOUBLE(15,3) NULL
ALTER TABLE blood_pay_detail ADD `blood_detail_type_id` INT NULL
ALTER TABLE blood_pay_detail ADD `approve_staff` VARCHAR(15) NULL
ALTER TABLE blood_pay_detail ADD `staff` VARCHAR(15) NULL
ALTER TABLE blood_pay_detail ADD `qty` INT NOT NULL
ALTER TABLE blood_pay_detail ADD `blood_lotno` VARCHAR(30) NOT NULL
ALTER TABLE blood_pay_detail ADD `blood_request_detail_id` INT NOT NULL
ALTER TABLE blood_detail_type ADD `icode` CHAR(7) NULL
ALTER TABLE blood_detail_type ADD `blood_detail_type_name` VARCHAR(150) NOT NULL
CREATE TABLE rcpt_refund ( `rcpt_refund_id` INT NOT NULL )
CREATE TABLE promotion_package ( `promotion_package_id` INT NOT NULL )
CREATE TABLE printserver_document ( `printserver_document_id` INT NOT NULL )
CREATE TABLE patient_promotion ( `patient_promotion_id` INT NOT NULL )
CREATE TABLE oapp_template_detail ( `oapp_template_detail_id` INT NOT NULL )
CREATE TABLE oapp_template ( `oapp_template_id` INT NOT NULL )
CREATE TABLE lookup_normal ( `lookup_id` CHAR(1) NOT NULL )
CREATE TABLE lab_perform_status ( `lab_perform_status_id` INT NOT NULL )
CREATE TABLE finance_ticket_visit ( `finance_ticket_visit_id` INT NOT NULL )
CREATE TABLE finance_ticket ( `finance_ticket_id` INT NOT NULL )
CREATE TABLE eye_screen_code ( `code` VARCHAR(25) NOT NULL )
CREATE TABLE drug_counseling_group_check ( `drug_counseling_group_check_id` INT NOT NULL )
CREATE TABLE drug_counseling_group ( `drug_counseling_group_id` INT NOT NULL )
CREATE TABLE counseling_pttype ( `counseling_pttype` INT NOT NULL )
CREATE TABLE blood_status ( `blood_status_id` INT NOT NULL )
CREATE TABLE blood_request_item ( `blood_request_item_id` INT NOT NULL )
CREATE TABLE blood_request_detail ( `blood_request_detail_id` INT NOT NULL )
CREATE TABLE blood_request ( `blood_request_id` INT NOT NULL )
CREATE TABLE blood_pay_service ( `blood_pay_service_id` INT NOT NULL )
CREATE TABLE blood_pay_detail ( `blood_pay_detail_id` INT NOT NULL )
CREATE TABLE blood_detail_type ( `blood_detail_type_id` INT NOT NULL )