ALTER TABLE web_pwd ADD `passweb` VARCHAR(250) NULL
ALTER TABLE web_conf ADD `theme` VARCHAR(250) NULL
ALTER TABLE web_conf ADD `header` VARCHAR(1) NULL
ALTER TABLE web_conf ADD `startrev` DATE NULL
ALTER TABLE web_conf ADD `auditor` VARCHAR(250) NULL
ALTER TABLE users_account ADD `Status_social_secure` CHAR(1) NOT NULL
ALTER TABLE users_account ADD `Status_Access` CHAR(1) NOT NULL
ALTER TABLE users_account ADD `NoBank_Account` VARCHAR(20) NOT NULL
ALTER TABLE spclty ADD `oldcode` VARCHAR(10) NULL
ALTER TABLE risk_user_access ADD `UserAccess` text NOT NULL
ALTER TABLE risk_typelist2 ADD `list_name2` text NOT NULL
ALTER TABLE risk_typelist1 ADD `list_name1` text NOT NULL
ALTER TABLE risk_type ADD `typename` text NOT NULL
ALTER TABLE risk_report_web ADD `form_rm` text NOT NULL
ALTER TABLE risk_report_web ADD `idm` INT NULL
ALTER TABLE risk_report_web ADD `idc` INT NULL
ALTER TABLE risk_report_web ADD `type_list` INT NULL
ALTER TABLE risk_report_web ADD `type` INT NULL
ALTER TABLE risk_report_web ADD `freq` INT NULL
ALTER TABLE risk_report_web ADD `all_date_review` longtext NULL
ALTER TABLE risk_report_web ADD `result_follow` longtext NULL
ALTER TABLE risk_report_web ADD `respond_level_depart` longtext NULL
ALTER TABLE risk_report_web ADD `info_system` longtext NULL
ALTER TABLE risk_report_web ADD `edit_basic` longtext NULL
ALTER TABLE risk_report_web ADD `review_detail` longtext NULL
ALTER TABLE risk_report_web ADD `review_staff` VARCHAR(25) NULL
ALTER TABLE risk_report_web ADD `review_date_time` datetime NULL
ALTER TABLE risk_report_web ADD `review_status` CHAR(1) NULL
ALTER TABLE risk_report_web ADD `report_user` VARCHAR(25) NULL
ALTER TABLE risk_report_web ADD `risk_detail` longtext NULL
ALTER TABLE risk_report_web ADD `relation_program` VARCHAR(50) NULL
ALTER TABLE risk_report_web ADD `risk_level` CHAR(1) NULL
ALTER TABLE risk_report_web ADD `subject` VARCHAR(250) NULL
ALTER TABLE risk_report_web ADD `department_id` INT NULL
ALTER TABLE risk_report_web ADD `report_date_time` datetime NOT NULL
ALTER TABLE risk_cause ADD `name` text NULL
ALTER TABLE risk_can_manage ADD `mname` text NOT NULL
ALTER TABLE reporttemplate ADD `script_dfm` longtext NULL
ALTER TABLE medication_err ADD `level_code` CHAR(1) NOT NULL
ALTER TABLE medication_err ADD `cause` VARCHAR(250) NOT NULL
ALTER TABLE medication_err ADD `adminis_err` VARCHAR(250) NOT NULL
ALTER TABLE medication_err ADD `dispens_err` VARCHAR(250) NOT NULL
ALTER TABLE medication_err ADD `order_process_err` VARCHAR(250) NOT NULL
ALTER TABLE medication_err ADD `prescrib_err` VARCHAR(250) NOT NULL
ALTER TABLE medication_err ADD `detail_err` VARCHAR(250) NOT NULL
ALTER TABLE medication_err ADD `patient_type` CHAR(3) NOT NULL
ALTER TABLE medication_err ADD `err_time` TIME NOT NULL
ALTER TABLE medication_err ADD `err_date` DATE NOT NULL
ALTER TABLE medication_err ADD `err_time_report` TIME NOT NULL
ALTER TABLE medication_err ADD `err_date_report` DATE NOT NULL
ALTER TABLE medication_err ADD `depart_code` CHAR(3) NOT NULL
ALTER TABLE medication_err ADD `user_err` VARCHAR(250) NOT NULL
ALTER TABLE level_err ADD `detail` VARCHAR(250) NOT NULL
ALTER TABLE dttm_inc ADD `inc_code` VARCHAR(7) NOT NULL
ALTER TABLE dttm_inc ADD `code` VARCHAR(7) NOT NULL
ALTER TABLE dttm ADD `charge_per_qty` CHAR(1) NULL
ALTER TABLE detail_account ADD `syear` VARCHAR(4) NOT NULL
ALTER TABLE detail_account ADD `mouth` VARCHAR(2) NOT NULL
ALTER TABLE detail_account ADD `total` DOUBLE(15,2) NOT NULL
ALTER TABLE detail_account ADD `social_secure` DOUBLE(15,2) NOT NULL
ALTER TABLE detail_account ADD `valve_all` DOUBLE(15,2) NOT NULL
ALTER TABLE detail_account ADD `credit_car` DOUBLE(15,2) NOT NULL
ALTER TABLE detail_account ADD `off_country` DOUBLE(15,2) NOT NULL
ALTER TABLE detail_account ADD `insurance` DOUBLE(15,2) NOT NULL
ALTER TABLE detail_account ADD `life_insurance` DOUBLE(15,2) NOT NULL
ALTER TABLE detail_account ADD `credit_saving_bank` DOUBLE(15,2) NOT NULL
ALTER TABLE detail_account ADD `to_help_die` DOUBLE(15,2) NOT NULL
ALTER TABLE detail_account ADD `gpf_gratuity` DOUBLE(15,2) NOT NULL
ALTER TABLE detail_account ADD `tax` DOUBLE(15,2) NOT NULL
ALTER TABLE detail_account ADD `goverment_bank` DOUBLE(15,2) NOT NULL
ALTER TABLE detail_account ADD `money_position` DOUBLE(15,2) NOT NULL
ALTER TABLE detail_account ADD `child_educated` DOUBLE(15,2) NOT NULL
ALTER TABLE detail_account ADD `rent_home` DOUBLE(15,2) NOT NULL
ALTER TABLE detail_account ADD `to_treat` DOUBLE(15,2) NOT NULL
ALTER TABLE detail_account ADD `help_child` DOUBLE(15,2) NOT NULL
ALTER TABLE detail_account ADD `to_risk` DOUBLE(15,2) NOT NULL
ALTER TABLE detail_account ADD `to_retaliate` DOUBLE(15,2) NOT NULL
ALTER TABLE detail_account ADD `class` DOUBLE(15,2) NOT NULL
ALTER TABLE approve_doctor ADD `date_appr` DATE NULL
ALTER TABLE approve_doctor ADD `comment_appr` text NULL
ALTER TABLE approve_doctor ADD `chkcomment7` CHAR(1) NULL
ALTER TABLE approve_doctor ADD `chkcomment6` CHAR(1) NULL
ALTER TABLE approve_doctor ADD `chkcomment5` CHAR(1) NULL
ALTER TABLE approve_doctor ADD `chkcomment4` CHAR(1) NULL
ALTER TABLE approve_doctor ADD `chkcomment3` CHAR(1) NULL
ALTER TABLE approve_doctor ADD `chkcomment2` CHAR(1) NULL
ALTER TABLE approve_doctor ADD `chkcomment1` CHAR(1) NULL
ALTER TABLE approve_doctor ADD `approve_doctor` CHAR(1) NULL
ALTER TABLE approve_doctor ADD `command_doctor` VARCHAR(4) NULL
ALTER TABLE approve_doctor ADD `vstdate` DATE NULL
ALTER TABLE approve_doctor ADD `hn` VARCHAR(9) NULL
CREATE TABLE web_pwd ( `loginname` VARCHAR(250) NOT NULL )
CREATE TABLE web_conf ( `icdedit` VARCHAR(250) NULL )
CREATE TABLE users_account ( `UserID` VARCHAR(50) NOT NULL )
CREATE TABLE risk_user_access ( `loginname` VARCHAR(250) NOT NULL )
CREATE TABLE risk_typelist2 ( `idl2` INT NOT NULL )
CREATE TABLE risk_typelist1 ( `idl1` INT NOT NULL )
CREATE TABLE risk_type ( `idt` INT NOT NULL )
CREATE TABLE risk_report_web ( `risk_id` INT NOT NULL )
CREATE TABLE risk_cause ( `idc` INT NOT NULL )
CREATE TABLE risk_can_manage ( `idm` INT NOT NULL )
CREATE TABLE medication_err ( `err_id` INT NOT NULL )
CREATE TABLE level_err ( `level_code` CHAR(1) NOT NULL )
CREATE TABLE dttm_inc ( `dttm_inc_id` INT NOT NULL )
CREATE TABLE detail_account ( `UserID` VARCHAR(50) NOT NULL )
CREATE TABLE approve_doctor ( `vn` VARCHAR(13) NOT NULL )