|
@@ -25,6 +25,7 @@ CREATE TABLE `qc_cases_relevance_entry` (
|
|
|
PRIMARY KEY (`id`)
|
|
|
) ENGINE=InnoDB AUTO_INCREMENT=60 DEFAULT CHARSET=utf8 COMMENT='质控关联条目表';
|
|
|
|
|
|
+-- ----------------------------
|
|
|
|
|
|
/**
|
|
|
编码添加
|
|
@@ -38,6 +39,11 @@ INSERT INTO `qc_cases_entry` (`id`, `cases_id`, `cases_name`, `mode_id`, `code`,
|
|
|
INSERT INTO `qc_cases_entry` (`id`, `cases_id`, `cases_name`, `mode_id`, `code`, `name`, `drgs`, `type`, `rule_type`, `dev_type`, `accuracy_type`, `precond`, `order_no`, `remark`, `is_deleted`, `gmt_create`, `gmt_modified`, `creator`, `modifier`) VALUES ('3112', '241', '三级查房制度', '4', 'THR03112', '医嘱存在MR,报告单未记录', '2', '1', '0', '1', '3', '', NULL, '', 'N', '2021-04-28 11:16:28', '2021-04-28 11:16:28', '0', '医学人员');
|
|
|
INSERT INTO `qc_cases_entry` (`id`, `cases_id`, `cases_name`, `mode_id`, `code`, `name`, `drgs`, `type`, `rule_type`, `dev_type`, `accuracy_type`, `precond`, `order_no`, `remark`, `is_deleted`, `gmt_create`, `gmt_modified`, `creator`, `modifier`) VALUES ('3111', '248', '围手术期病历讨论', '17', 'OPE03111', '手术病理检查存在手术记录中无病理相关记录', '1', '1', '0', '1', '2', '', NULL, '', 'N', '2021-04-19 11:57:52', '2021-04-19 11:57:52', '0', '医学人员');
|
|
|
INSERT INTO `qc_cases_entry` (`id`, `cases_id`, `cases_name`, `mode_id`, `code`, `name`, `drgs`, `type`, `rule_type`, `dev_type`, `accuracy_type`, `precond`, `order_no`, `remark`, `is_deleted`, `gmt_create`, `gmt_modified`, `creator`, `modifier`) VALUES ('3110', '243', '病案首页', '6', 'FIRP03110', '病案首页未在患者出院院24小时内完成', '1', '1', '0', '1', '1', '', NULL, '', 'N', '2021-04-19 11:57:14', '2021-04-19 11:57:14', '0', '医学人员');
|
|
|
+INSERT INTO `qc_cases_entry` (`id`, `cases_id`, `cases_name`, `mode_id`, `code`, `name`, `drgs`, `type`, `rule_type`, `dev_type`, `accuracy_type`, `precond`, `order_no`, `remark`, `is_deleted`, `gmt_create`, `gmt_modified`, `creator`, `modifier`) VALUES ('3118', '283', '病历书写规范', '53', 'MEDI03118', '知情同意书无患方签名或患方签名未授权', '2', '1', '1', '1', '3', '', NULL, '', 'N', '2021-05-18 21:58:57', '2021-05-18 21:58:57', '0', '医学人员');
|
|
|
+INSERT INTO `qc_cases_entry` (`id`, `cases_id`, `cases_name`, `mode_id`, `code`, `name`, `drgs`, `type`, `rule_type`, `dev_type`, `accuracy_type`, `precond`, `order_no`, `remark`, `is_deleted`, `gmt_create`, `gmt_modified`, `creator`, `modifier`) VALUES ('3119', '248', '围手术期病历讨论', '17', 'OPE03119', '使用植入物但手术记录或病程记录未记录相关信息', '2', '1', '1', '1', '3', '', NULL, '', 'N', '2021-05-18 22:21:40', '2021-05-18 22:21:40', '0', '医学人员');
|
|
|
+INSERT INTO `qc_cases_entry` (`id`, `cases_id`, `cases_name`, `mode_id`, `code`, `name`, `drgs`, `type`, `rule_type`, `dev_type`, `accuracy_type`, `precond`, `order_no`, `remark`, `is_deleted`, `gmt_create`, `gmt_modified`, `creator`, `modifier`) VALUES ('3120', '241', '三级查房制度', '4', 'THR03120', '病程记录未记录恶性肿瘤放射治疗相关信息', '2', '1', '0', '1', '3', '', NULL, '', 'N', '2021-05-12 16:50:11', '2021-05-12 16:50:11', '0', '邵启华');
|
|
|
+
|
|
|
+
|
|
|
|
|
|
/**
|
|
|
qc_cases_entry_hospital、qc_type_cases_entry 分值确定添加
|
|
@@ -54,6 +60,12 @@ INSERT INTO `qc_cases_entry_hospital` ( `is_deleted`, `gmt_create`, `gmt_modifie
|
|
|
INSERT INTO `qc_cases_entry_hospital` ( `is_deleted`, `gmt_create`, `gmt_modified`, `creator`, `modifier`, `cases_entry_id`, `hospital_id`, `score`, `score_run`, `msg`, `is_used`, `is_used_run`, `is_reject`, `remark`) VALUES ( 'N', '2021-04-19 11:57:52', '2021-04-19 11:57:52', '0', '医学人员', '3111', @id, '1.0', '1.0', '手术病理检查存在手术记录中无病理相关记录', '1', '0', '0', '');
|
|
|
INSERT INTO `qc_cases_entry_hospital` ( `is_deleted`, `gmt_create`, `gmt_modified`, `creator`, `modifier`, `cases_entry_id`, `hospital_id`, `score`, `score_run`, `msg`, `is_used`, `is_used_run`, `is_reject`, `remark`) VALUES ( 'N', '2021-04-19 11:57:14', '2021-04-19 11:57:14', '0', '医学人员', '3110', @id, '1.0', '1.0', '病案首页未在患者出院院24小时内完成', '1', '0', '0', '');
|
|
|
|
|
|
+INSERT INTO `qc_cases_entry_hospital` ( `is_deleted`, `gmt_create`, `gmt_modified`, `creator`, `modifier`, `cases_entry_id`, `hospital_id`, `score`, `score_run`, `msg`, `is_used`, `is_used_run`, `is_reject`, `remark`) VALUES ( 'N', '2021-05-18 21:58:57', '2021-05-18 21:58:57', '0', '医学人员', '3118', @id, '0.0', '0.0', '知情同意书无患方签名或患方签名未授权', '1', '0', '0', '');
|
|
|
+INSERT INTO `qc_cases_entry_hospital` (`id`, `is_deleted`, `gmt_create`, `gmt_modified`, `creator`, `modifier`, `cases_entry_id`, `hospital_id`, `score`, `score_run`, `msg`, `is_used`, `is_used_run`, `is_reject`, `remark`) VALUES ( 'N', '2021-05-18 22:21:40', '2021-05-18 22:21:40', '0', '医学人员', '3119', @id, '0.0', '0.0', '使用植入物但手术记录或病程记录未记录相关信息', '1', '0', '0', '');
|
|
|
+INSERT INTO `qc_cases_entry_hospital` ( `is_deleted`, `gmt_create`, `gmt_modified`, `creator`, `modifier`, `cases_entry_id`, `hospital_id`, `score`, `score_run`, `msg`, `is_used`, `is_used_run`, `is_reject`, `remark`) VALUES ( 'N', '2021-05-12 16:50:11', '2021-05-12 16:50:11', '0', '邵启华', '3120', @id, '0.0', '0.0', '病程记录未记录恶性肿瘤放射治疗相关信息', '1', '0', '0', '');
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
INSERT INTO `qc_type_cases_entry` ( `type_id`, `case_entry_id`, `remark`, `is_deleted`, `gmt_create`, `gmt_modified`, `creator`, `modifier`) VALUES ( '65', '3117', NULL, 'N', '2021-04-19 12:47:51', '2021-04-19 12:47:51', '99', '99');
|
|
|
INSERT INTO `qc_type_cases_entry` ( `type_id`, `case_entry_id`, `remark`, `is_deleted`, `gmt_create`, `gmt_modified`, `creator`, `modifier`) VALUES ( '74', '3117', NULL, 'N', '2021-04-19 12:47:51', '2021-04-19 12:47:51', '99', '99');
|
|
|
INSERT INTO `qc_type_cases_entry` ( `type_id`, `case_entry_id`, `remark`, `is_deleted`, `gmt_create`, `gmt_modified`, `creator`, `modifier`) VALUES ( '66', '3117', NULL, 'N', '2021-04-19 12:47:51', '2021-04-19 12:47:51', '99', '99');
|
|
@@ -108,6 +120,26 @@ INSERT INTO `qc_type_cases_entry` ( `type_id`, `case_entry_id`, `remark`, `is_de
|
|
|
INSERT INTO `qc_type_cases_entry` ( `type_id`, `case_entry_id`, `remark`, `is_deleted`, `gmt_create`, `gmt_modified`, `creator`, `modifier`) VALUES ( '66', '3107', NULL, 'N', '2021-04-19 11:58:03', '2021-04-19 11:58:03', '98', '98');
|
|
|
INSERT INTO `qc_type_cases_entry` ( `type_id`, `case_entry_id`, `remark`, `is_deleted`, `gmt_create`, `gmt_modified`, `creator`, `modifier`) VALUES ( '74', '3107', NULL, 'N', '2021-04-19 11:58:03', '2021-04-19 11:58:03', '98', '98');
|
|
|
INSERT INTO `qc_type_cases_entry` ( `type_id`, `case_entry_id`, `remark`, `is_deleted`, `gmt_create`, `gmt_modified`, `creator`, `modifier`) VALUES ( '80', '3107', NULL, 'N', '2021-04-19 11:58:03', '2021-04-19 11:58:03', '98', '98');
|
|
|
+INSERT INTO `qc_type_cases_entry` ( `type_id`, `case_entry_id`, `remark`, `is_deleted`, `gmt_create`, `gmt_modified`, `creator`, `modifier`) VALUES ( '65', '3120', NULL, 'N', '2021-04-19 12:47:51', '2021-04-19 12:47:51', '99', '99');
|
|
|
+INSERT INTO `qc_type_cases_entry` ( `type_id`, `case_entry_id`, `remark`, `is_deleted`, `gmt_create`, `gmt_modified`, `creator`, `modifier`) VALUES ( '74', '3120', NULL, 'N', '2021-04-19 12:47:51', '2021-04-19 12:47:51', '99', '99');
|
|
|
+INSERT INTO `qc_type_cases_entry` ( `type_id`, `case_entry_id`, `remark`, `is_deleted`, `gmt_create`, `gmt_modified`, `creator`, `modifier`) VALUES ( '66', '3120', NULL, 'N', '2021-04-19 12:47:51', '2021-04-19 12:47:51', '99', '99');
|
|
|
+INSERT INTO `qc_type_cases_entry` ( `type_id`, `case_entry_id`, `remark`, `is_deleted`, `gmt_create`, `gmt_modified`, `creator`, `modifier`) VALUES ( '80', '3120', NULL, 'N', '2021-04-19 12:47:51', '2021-04-19 12:47:51', '99', '99');
|
|
|
+INSERT INTO `qc_type_cases_entry` ( `type_id`, `case_entry_id`, `remark`, `is_deleted`, `gmt_create`, `gmt_modified`, `creator`, `modifier`) VALUES ( '109', '3120', NULL, 'N', '2021-04-19 12:47:51', '2021-04-19 12:47:51', '99', '99');
|
|
|
+INSERT INTO `qc_type_cases_entry` ( `type_id`, `case_entry_id`, `remark`, `is_deleted`, `gmt_create`, `gmt_modified`, `creator`, `modifier`) VALUES ( '110', '3120', NULL, 'N', '2021-04-19 12:47:51', '2021-04-19 12:47:51', '99', '99');
|
|
|
+
|
|
|
+INSERT INTO `qc_type_cases_entry` ( `type_id`, `case_entry_id`, `remark`, `is_deleted`, `gmt_create`, `gmt_modified`, `creator`, `modifier`) VALUES ( '65', '3118', NULL, 'N', '2021-04-19 12:47:51', '2021-04-19 12:47:51', '99', '99');
|
|
|
+INSERT INTO `qc_type_cases_entry` ( `type_id`, `case_entry_id`, `remark`, `is_deleted`, `gmt_create`, `gmt_modified`, `creator`, `modifier`) VALUES ( '74', '3118', NULL, 'N', '2021-04-19 12:47:51', '2021-04-19 12:47:51', '99', '99');
|
|
|
+INSERT INTO `qc_type_cases_entry` ( `type_id`, `case_entry_id`, `remark`, `is_deleted`, `gmt_create`, `gmt_modified`, `creator`, `modifier`) VALUES ( '66', '3118', NULL, 'N', '2021-04-19 12:47:51', '2021-04-19 12:47:51', '99', '99');
|
|
|
+INSERT INTO `qc_type_cases_entry` ( `type_id`, `case_entry_id`, `remark`, `is_deleted`, `gmt_create`, `gmt_modified`, `creator`, `modifier`) VALUES ( '80', '3118', NULL, 'N', '2021-04-19 12:47:51', '2021-04-19 12:47:51', '99', '99');
|
|
|
+INSERT INTO `qc_type_cases_entry` ( `type_id`, `case_entry_id`, `remark`, `is_deleted`, `gmt_create`, `gmt_modified`, `creator`, `modifier`) VALUES ( '109', '3118', NULL, 'N', '2021-04-19 12:47:51', '2021-04-19 12:47:51', '99', '99');
|
|
|
+INSERT INTO `qc_type_cases_entry` ( `type_id`, `case_entry_id`, `remark`, `is_deleted`, `gmt_create`, `gmt_modified`, `creator`, `modifier`) VALUES ( '110', '3118', NULL, 'N', '2021-04-19 12:47:51', '2021-04-19 12:47:51', '99', '99');
|
|
|
+
|
|
|
+INSERT INTO `qc_type_cases_entry` ( `type_id`, `case_entry_id`, `remark`, `is_deleted`, `gmt_create`, `gmt_modified`, `creator`, `modifier`) VALUES ( '65', '3119', NULL, 'N', '2021-04-19 12:47:51', '2021-04-19 12:47:51', '99', '99');
|
|
|
+INSERT INTO `qc_type_cases_entry` ( `type_id`, `case_entry_id`, `remark`, `is_deleted`, `gmt_create`, `gmt_modified`, `creator`, `modifier`) VALUES ( '74', '3119', NULL, 'N', '2021-04-19 12:47:51', '2021-04-19 12:47:51', '99', '99');
|
|
|
+INSERT INTO `qc_type_cases_entry` ( `type_id`, `case_entry_id`, `remark`, `is_deleted`, `gmt_create`, `gmt_modified`, `creator`, `modifier`) VALUES ( '66', '3119', NULL, 'N', '2021-04-19 12:47:51', '2021-04-19 12:47:51', '99', '99');
|
|
|
+INSERT INTO `qc_type_cases_entry` ( `type_id`, `case_entry_id`, `remark`, `is_deleted`, `gmt_create`, `gmt_modified`, `creator`, `modifier`) VALUES ( '80', '3119', NULL, 'N', '2021-04-19 12:47:51', '2021-04-19 12:47:51', '99', '99');
|
|
|
+INSERT INTO `qc_type_cases_entry` ( `type_id`, `case_entry_id`, `remark`, `is_deleted`, `gmt_create`, `gmt_modified`, `creator`, `modifier`) VALUES ( '109', '3119', NULL, 'N', '2021-04-19 12:47:51', '2021-04-19 12:47:51', '99', '99');
|
|
|
+INSERT INTO `qc_type_cases_entry` ( `type_id`, `case_entry_id`, `remark`, `is_deleted`, `gmt_create`, `gmt_modified`, `creator`, `modifier`) VALUES ( '110', '3119', NULL, 'N', '2021-04-19 12:47:51', '2021-04-19 12:47:51', '99', '99');
|
|
|
|
|
|
|
|
|
|
|
@@ -170,6 +202,10 @@ INSERT INTO `qc_cases_relevance_entry` (`type`, `hospital_id`, `cases_name`, `re
|
|
|
INSERT INTO `qc_cases_relevance_entry` (`type`, `hospital_id`, `cases_name`, `relevance_id`, `name`, `is_deleted`) VALUES ('18', @id, '指标十八:医师查房记录完成率', '2229', '术后查房没有连续记录3天', 'N');
|
|
|
INSERT INTO `qc_cases_relevance_entry` (`type`, `hospital_id`, `cases_name`, `relevance_id`, `name`, `is_deleted`) VALUES ('18', @id, '指标十八:医师查房记录完成率', '2468', '缺少术后首次病程记', 'N');
|
|
|
INSERT INTO `qc_cases_relevance_entry` (`type`, `hospital_id`, `cases_name`, `relevance_id`, `name`, `is_deleted`) VALUES ('19', @id, '指标十九:患者抢救记录及时完成率', '2852', '抢救记录未在抢救结束后6小时内完成', 'N');
|
|
|
+INSERT INTO `qc_cases_relevance_entry` (`type`, `hospital_id`, `cases_name`, `relevance_id`, `name`, `is_deleted`) VALUES ('14', @id, '指标十四:恶性肿瘤放射治疗记录符合率', '3120', '病程记录未记录恶性肿瘤放射治疗相关信息', 'N');
|
|
|
+INSERT INTO `qc_cases_relevance_entry` ( `type`, `hospital_id`, `cases_name`, `relevance_id`, `name`, `is_deleted`) VALUES ('22',@id, '指标二十二:不合理复制病历发生率', '2696', '病例特点与现病史内容雷同', 'N');
|
|
|
+INSERT INTO `qc_cases_relevance_entry` ( `type`, `hospital_id`, `cases_name`, `relevance_id`, `name`, `is_deleted`) VALUES ('23',@id, '指标二十三:知情同意书规范签署率', '3118', '知情同意书无患方签名或患方签名未授权', 'N');
|
|
|
+INSERT INTO `qc_cases_relevance_entry` ( `type`, `hospital_id`, `cases_name`, `relevance_id`, `name`, `is_deleted`) VALUES ('16',@id, '指标十六:植入物相关记录符合率', '3119', '使用植入物但手术记录或病程记录未记录相关信息', 'N');
|
|
|
|
|
|
DROP TABLE IF EXISTS `med_management_info`;
|
|
|
CREATE TABLE `med_management_info` (
|
|
@@ -290,12 +326,9 @@ CREATE TABLE `med_index_result` (
|
|
|
`operation_complete_result` double(5,0) DEFAULT NULL COMMENT '手术相关记录完成率-分母',
|
|
|
`implants_result` double(5,0) DEFAULT NULL COMMENT '植入物相关记录符合率-分母',
|
|
|
`blood_result` double(5,0) DEFAULT NULL COMMENT '临床用血相关记录符合率-分母',
|
|
|
- `ward_round_result` double(5,0) DEFAULT NULL COMMENT '医师查房记录完整率-分母',
|
|
|
`rescue_result` double(5,0) DEFAULT NULL COMMENT '患者抢救记录及时完成率-分母',
|
|
|
`sec_file_result` double(5,0) DEFAULT NULL COMMENT '出院患者病历2日归档率-分子',
|
|
|
- `file_complete_result` double(5,0) DEFAULT NULL COMMENT '出院患者病历归档完整率-分母',
|
|
|
- `no_copy_result` double(5,0) DEFAULT NULL COMMENT '不合理复制病历发生率-分母',
|
|
|
- `record_sign_result` double(5,0) DEFAULT NULL COMMENT '知情同意书规范签署率-分母',
|
|
|
+ `file_complete_result` double(5,0) DEFAULT NULL COMMENT '出院患者病历归档完整率-分子',
|
|
|
`start_date` datetime NOT NULL ON UPDATE CURRENT_TIMESTAMP,
|
|
|
`end_date` datetime DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP,
|
|
|
`is_deleted` char(3) DEFAULT 'N' COMMENT '是否删除,N:未删除,Y:删除',
|