|
@ -47,7 +47,7 @@ ALTER table wlyy_patient_medical_records_rehabilitation add COLUMN `con_no` varc
|
|
|
ALTER table wlyy_patient_medical_records_rehabilitation add COLUMN `event_type` varchar(1) DEFAULT NULL COMMENT '病历类型';
|
|
|
|
|
|
ALTER TABLE `wlyy_rehabilitation_template_detail`
|
|
|
ADD COLUMN `followup_form_type` varchar(100) DEFAULT NULL COMMENT '随访表单类型';
|
|
|
ADD COLUMN `followup_form_type` varchar(10) DEFAULT NULL COMMENT '随访表单类型';
|
|
|
|
|
|
INSERT INTO `base`.`wlyy_hospital_sys_dict` (`id`, `saas_id`, `dict_name`, `dict_code`, `dict_value`, `py_code`, `sort`, `hospital`, `create_time`, `create_user`, `create_user_name`, `update_time`, `update_user`, `update_user_name`, `img_url`, `model_name`) VALUES ('followup_form_type1', NULL, 'followup_form_type', '1', '全院通用', NULL, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '随访表单类型');
|
|
|
INSERT INTO `base`.`wlyy_hospital_sys_dict` (`id`, `saas_id`, `dict_name`, `dict_code`, `dict_value`, `py_code`, `sort`, `hospital`, `create_time`, `create_user`, `create_user_name`, `update_time`, `update_user`, `update_user_name`, `img_url`, `model_name`) VALUES ('followup_form_type2', NULL, 'followup_form_type', '2', '骨科患者术后随访', NULL, 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '随访表单类型');
|
|
@ -58,6 +58,12 @@ INSERT INTO `base`.`wlyy_hospital_sys_dict` (`id`, `saas_id`, `dict_name`, `dict
|
|
|
|
|
|
|
|
|
-- ysj 2025-07-30
|
|
|
ALTER TABLE `wlyy_followup`
|
|
|
ADD COLUMN `followup_form_type` varchar(10) DEFAULT NULL COMMENT '随访表单类型';
|
|
|
ALTER TABLE `wlyy_followup`
|
|
|
ADD COLUMN `last_followup_id` int(11) DEFAULT NULL COMMENT '上次随访id';
|
|
|
update wlyy_followup set followup_form_type = '1' where followup_form_type is null;
|
|
|
|
|
|
INSERT INTO `wlyy_hospital_sys_dict` (`id`, `saas_id`, `dict_name`, `dict_code`, `dict_value`, `py_code`, `sort`, `hospital`, `create_time`, `create_user`, `create_user_name`, `update_time`, `update_user`, `update_user_name`, `img_url`, `model_name`) VALUES ('wound_healing_status', NULL, 'wound_healing_status', NULL, NULL, NULL, NULL, '350211A1002', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '伤口愈合情况');
|
|
|
INSERT INTO `wlyy_hospital_sys_dict` (`id`, `saas_id`, `dict_name`, `dict_code`, `dict_value`, `py_code`, `sort`, `hospital`, `create_time`, `create_user`, `create_user_name`, `update_time`, `update_user`, `update_user_name`, `img_url`, `model_name`) VALUES ('wound_healing_status0', NULL, 'wound_healing_status', '1', '干燥无渗液', NULL, '0', '350211A1002', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '伤口愈合情况');
|
|
|
INSERT INTO `wlyy_hospital_sys_dict` (`id`, `saas_id`, `dict_name`, `dict_code`, `dict_value`, `py_code`, `sort`, `hospital`, `create_time`, `create_user`, `create_user_name`, `update_time`, `update_user`, `update_user_name`, `img_url`, `model_name`) VALUES ('wound_healing_status1', NULL, 'wound_healing_status', '2', '少量渗液', NULL, '1', '350211A1002', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '伤口愈合情况');
|
|
@ -179,3 +185,8 @@ INSERT INTO `wlyy_hospital_sys_dict` (`id`, `saas_id`, `dict_name`, `dict_code`,
|
|
|
INSERT INTO `wlyy_hospital_sys_dict` (`id`, `saas_id`, `dict_name`, `dict_code`, `dict_value`, `py_code`, `sort`, `hospital`, `create_time`, `create_user`, `create_user_name`, `update_time`, `update_user`, `update_user_name`, `img_url`, `model_name`) VALUES ('lifestyle1', NULL, 'lifestyle', '1', '戒烟', NULL, '1', '350211A1002', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '生活方式');
|
|
|
INSERT INTO `wlyy_hospital_sys_dict` (`id`, `saas_id`, `dict_name`, `dict_code`, `dict_value`, `py_code`, `sort`, `hospital`, `create_time`, `create_user`, `create_user_name`, `update_time`, `update_user`, `update_user_name`, `img_url`, `model_name`) VALUES ('lifestyle2', NULL, 'lifestyle', '2', '限酒', NULL, '2', '350211A1002', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '生活方式');
|
|
|
INSERT INTO `wlyy_hospital_sys_dict` (`id`, `saas_id`, `dict_name`, `dict_code`, `dict_value`, `py_code`, `sort`, `hospital`, `create_time`, `create_user`, `create_user_name`, `update_time`, `update_user`, `update_user_name`, `img_url`, `model_name`) VALUES ('lifestyle3', NULL, 'lifestyle', '3', '适量运动', NULL, '3', '350211A1002', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '生活方式');
|
|
|
|
|
|
INSERT INTO `wlyy_hospital_sys_dict` (`id`, `saas_id`, `dict_name`, `dict_code`, `dict_value`, `py_code`, `sort`, `hospital`, `create_time`, `create_user`, `create_user_name`, `update_time`, `update_user`, `update_user_name`, `img_url`, `model_name`) VALUES ('adl', NULL, 'adl', NULL, NULL, NULL, NULL, '350211A1002', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '日常生活能力');
|
|
|
INSERT INTO `wlyy_hospital_sys_dict` (`id`, `saas_id`, `dict_name`, `dict_code`, `dict_value`, `py_code`, `sort`, `hospital`, `create_time`, `create_user`, `create_user_name`, `update_time`, `update_user`, `update_user_name`, `img_url`, `model_name`) VALUES ('adl1', NULL, 'adl', '1', '独立进食/穿衣', NULL, '1', '350211A1002', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '日常生活能力');
|
|
|
INSERT INTO `wlyy_hospital_sys_dict` (`id`, `saas_id`, `dict_name`, `dict_code`, `dict_value`, `py_code`, `sort`, `hospital`, `create_time`, `create_user`, `create_user_name`, `update_time`, `update_user`, `update_user_name`, `img_url`, `model_name`) VALUES ('adl2', NULL, 'adl', '2', '需部分辅助', NULL, '2', '350211A1002', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '日常生活能力');
|
|
|
INSERT INTO `wlyy_hospital_sys_dict` (`id`, `saas_id`, `dict_name`, `dict_code`, `dict_value`, `py_code`, `sort`, `hospital`, `create_time`, `create_user`, `create_user_name`, `update_time`, `update_user`, `update_user_name`, `img_url`, `model_name`) VALUES ('adl3', NULL, 'adl', '3', '完全依赖他人', NULL, '3', '350211A1002', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '日常生活能力');
|