http://hosxp.net/bms/HOSxP_Upgrade_3.55.7.30.exeChecking structure phase 2
ALTER TABLE village_community_activity_type ADD `village_community_activity_type_name` varchar(200) NOT NULL
ALTER TABLE village_community_activity ADD `entry_datetime` datetime NULL
ALTER TABLE village_community_activity ADD `doctor` varchar(25) NULL
ALTER TABLE village_community_activity ADD `village_community_activity_type_id` int NOT NULL
ALTER TABLE village_community_activity ADD `activity_end_date` date NULL
ALTER TABLE village_community_activity ADD `activity_start_date` date NULL
ALTER TABLE village_community_activity ADD `village_id` int NOT NULL
ALTER TABLE village ADD `entry_datetime` datetime NULL
ALTER TABLE person_deformed_detail ADD `entry_datetime` datetime NULL
ALTER TABLE person_deformed_detail ADD `icd10` varchar(15) NULL
ALTER TABLE person_deformed_detail ADD `person_deformed_cause_type_id` int NULL
ALTER TABLE person_deformed_cause_type ADD `person_deformed_cause_type_name` varchar(100) NOT NULL
ALTER TABLE ovst_rehab_detail ADD `entry_datetime` datetime NULL
ALTER TABLE ovst_rehab_detail ADD `doctor` varchar(20) NULL
ALTER TABLE ovst_rehab_detail ADD `ovst_rehab_device_qty` int NULL
ALTER TABLE ovst_rehab_detail ADD `ovst_rehab_device_type_id` int NOT NULL
ALTER TABLE ovst_rehab_detail ADD `ovst_rehab_type_id` int NOT NULL
ALTER TABLE ovst_rehab_detail ADD `ovst_rehab_id` int NOT NULL
ALTER TABLE ovst_rehab ADD `finish_date` date NULL
ALTER TABLE ovst_rehab ADD `service_date` date NULL
ALTER TABLE ovst_rehab ADD `department_type` char(3) NULL
ALTER TABLE ovst_rehab ADD `an` varchar(9) NULL
ALTER TABLE ovst_rehab ADD `vn` varchar(12) NULL
ALTER TABLE ovst_icf_type ADD `ovst_icf_type_name` varchar(200) NOT NULL
ALTER TABLE ovst_icf_level_type ADD `ovst_icf_type_name` varchar(200) NOT NULL
ALTER TABLE ovst_icf ADD `entry_datetime` datetime NULL
ALTER TABLE ovst_icf ADD `doctor` varchar(25) NOT NULL
ALTER TABLE ovst_icf ADD `ovst_icf_level_type_id` int NOT NULL
ALTER TABLE ovst_icf ADD `ovst_icf_type_id` int NOT NULL
ALTER TABLE ovst_icf ADD `vn` varchar(12) NOT NULL
ALTER TABLE ovst_functional_type ADD `ovst_functional_type_name` varchar(200) NOT NULL
ALTER TABLE ovst_functional_dependent_type ADD `ovst_functional_dependent_type_name` varchar(200) NOT NULL
ALTER TABLE ovst_functional ADD `entry_datetime` datetime NULL
ALTER TABLE ovst_functional ADD `doctor` varchar(25) NULL
ALTER TABLE ovst_functional ADD `ovst_functional_dependent_type_id` int NOT NULL
ALTER TABLE ovst_functional ADD `ovst_functional_score` int NULL
ALTER TABLE ovst_functional ADD `ovst_functional_type_id` int NOT NULL
ALTER TABLE ovst_functional ADD `vn` varchar(12) NOT NULL
ALTER TABLE ovst_community_service_type ADD `ovst_community_service_type_name` varchar(200) NOT NULL
ALTER TABLE ovst_community_service ADD `entry_datetime` datetime NULL
ALTER TABLE ovst_community_service ADD `doctor` varchar(25) NOT NULL
ALTER TABLE ovst_community_service ADD `ovst_community_service_type_id` int NOT NULL
ALTER TABLE ovst_community_service ADD `vn` varchar(12) NOT NULL
CREATE TABLE village_community_activity_type ( `village_community_activity_type_id` int NOT NULL )
CREATE TABLE village_community_activity ( `village_community_activity_id` int NOT NULL )
CREATE TABLE person_deformed_cause_type ( `person_deformed_cause_type_id` int NOT NULL )
CREATE TABLE ovst_rehab_detail ( `ovst_rehab_detail_id` int NOT NULL )
CREATE TABLE ovst_rehab ( `ovst_rehab_id` int NOT NULL )
CREATE TABLE ovst_icf_type ( `ovst_icf_type_id` int NOT NULL )
CREATE TABLE ovst_icf_level_type ( `ovst_icf_level_type_id` int NOT NULL )
CREATE TABLE ovst_icf ( `ovst_icf_id` int NOT NULL )
CREATE TABLE ovst_functional_type ( `ovst_functional_type_id` int NOT NULL )
CREATE TABLE ovst_functional_dependent_type ( `ovst_functional_dependent_type_id` int NOT NULL )
CREATE TABLE ovst_functional ( `ovst_functional_id` int NOT NULL )
CREATE TABLE ovst_community_service_type ( `ovst_community_service_type_id` int NOT NULL )
CREATE TABLE ovst_community_service ( `ovst_community_service_id` int NOT NULL )
Checking structure phase 1
Table opdscreen has hos_guid
Table patient has hos_guid
Table ovst has hos_guid
Table opitemrece has hos_guid
Update hosxp_dll_field data ...
Upgrade MySQL Start