|
@ -91,4 +91,36 @@ VALUES ('getChronicDiseaseData', '019bd04d-3cb2-433f-a530-03f0cdb083e5', '08cc3e
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 ('patient_lable_custom1', NULL, 'patient_lable_custom', '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 ('patient_lable_custom2', NULL, 'patient_lable_custom', '2', '孕妇女', NULL, '2', 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 ('patient_lable_custom3', NULL, 'patient_lable_custom', '3', '65岁以上', NULL, '3', 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 ('patient_lable_health1', NULL, 'patient_lable_health', '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 ('patient_lable_health2', NULL, 'patient_lable_health', '2', '高危人群', NULL, '2', 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 ('patient_lable_health3', NULL, 'patient_lable_health', '3', '患病人群', NULL, '3', 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 ('patient_lable_health4', NULL, 'patient_lable_health', '4', '恢复期人群', NULL, '4', 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 ('patient_lable_disease_type1', NULL, 'patient_lable_disease_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 ('patient_lable_disease_type2', NULL, 'patient_lable_disease_type', '2', '糖尿病', NULL, '2', 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 ('patient_lable_disease_type3', NULL, 'patient_lable_disease_type', '3', '慢性支气管炎', NULL, '3', 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 ('patient_lable_disease_type4', NULL, 'patient_lable_disease_type', '4', '脑梗塞', NULL, '4', 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 ('patient_lable_disease_type5', NULL, 'patient_lable_disease_type', '5', '冠心病', NULL, '5', 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 ('patient_lable_disease_type6', NULL, 'patient_lable_disease_type', '6', '呼吸系统疾病', NULL, '6', 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 ('patient_lable_disease_type7', NULL, 'patient_lable_disease_type', '7', '骨性关节疾病', NULL, '7', 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 ('patient_lable_disease_type8', NULL, 'patient_lable_disease_type', '8', '结核病', NULL, '8', 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 ('patient_lable_disease_type9', NULL, 'patient_lable_disease_type', '9', '残疾', NULL, '9', 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 ('patient_lable_disease_type10', NULL, 'patient_lable_disease_type', '10', '重性精神疾病', NULL, '10', 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 ('patient_lable_disease_type11', NULL, 'patient_lable_disease_type', '11', '其他疾病', NULL, '11', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '居民标签_疾病类型');
|
|
|
|
|
|
|
|
CREATE TABLE `wlyy_patient_label_log` (
|
|
|
|
`id` int NOT NULL,
|
|
|
|
`patient` varchar(50) DEFAULT NULL,
|
|
|
|
`doctor` varchar(50) DEFAULT NULL,
|
|
|
|
`doctor_name` varchar(50) DEFAULT NULL,
|
|
|
|
`label_code` varchar(50) DEFAULT NULL,
|
|
|
|
`label_name` varchar(50) DEFAULT NULL,
|
|
|
|
`label_type` varchar(50) DEFAULT NULL,
|
|
|
|
`job_title` varchar(50) DEFAULT NULL,
|
|
|
|
`create_time` datetime DEFAULT NULL,
|
|
|
|
PRIMARY KEY (`id`),
|
|
|
|
KEY `index` (`patient`,`doctor`)
|
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
|
|
|
|
|