HOSxP 3.51.8.14
Checking structure phase 2
ALTER TABLE universal_item_class ADD `universal_item_class_name` varchar(150) NOT NULL
ALTER TABLE universal_item ADD `universal_item_note` varchar(200) NULL
ALTER TABLE universal_item ADD `universal_item_class_id` int NOT NULL
ALTER TABLE universal_item ADD `universal_item_name` varchar(200) NOT NULL
ALTER TABLE universal_head ADD `entry_time` time NULL
ALTER TABLE universal_head ADD `universal_form_id` int NULL
ALTER TABLE universal_head ADD `vn` varchar(13) NULL
ALTER TABLE universal_head ADD `hn` varchar(9) NULL
ALTER TABLE universal_head ADD `staff` varchar(150) NULL
ALTER TABLE universal_head ADD `entry_date` date NULL
ALTER TABLE universal_form_design ADD `universal_control_data` longtext NULL
ALTER TABLE universal_form_design ADD `universal_control_class` varchar(150) NULL
ALTER TABLE universal_form_design ADD `universal_item_id` int NOT NULL
ALTER TABLE universal_form_design ADD `universal_form_id` int NOT NULL
ALTER TABLE universal_form ADD `form_datetime` datetime NULL
ALTER TABLE universal_form ADD `staff` varchar(50) NULL
ALTER TABLE universal_form ADD `universal_form_name` varchar(200) NOT NULL
ALTER TABLE universal_detail ADD `universal_item_value_float` double(15,3) NULL
ALTER TABLE universal_detail ADD `universal_item_value_date` date NULL
ALTER TABLE universal_detail ADD `universal_item_value_int` int NULL
ALTER TABLE universal_detail ADD `universal_item_value_text` varchar(250) NULL
ALTER TABLE universal_detail ADD `universal_item_id` int NOT NULL
ALTER TABLE universal_detail ADD `universal_head_id` int NOT NULL
ALTER TABLE pttype ADD `nhso_code` char(2) NULL
ALTER TABLE kskdepartment ADD `hospital_department_id` int NULL
CREATE TABLE universal_item_class ( `universal_item_class_id` int NOT NULL )
CREATE TABLE universal_item ( `universal_item_id` int NOT NULL )
CREATE TABLE universal_head ( `universal_head_id` int NOT NULL )
CREATE TABLE universal_form_design ( `universal_form_design_id` int NOT NULL )
CREATE TABLE universal_form ( `universal_form_id` int NOT NULL )
CREATE TABLE universal_detail ( `universal_detail_id` int NOT NULL )