Browse Source

1、初步诊断不完善(高血压)问题修复
2、手术史未描述问题修复
3、患者病历书写与性别不符(入院记录)问题修复

yuchengwei 6 months ago
parent
commit
a57a22e948

+ 4 - 0
kernel/src/main/java/com/lantone/qc/kernel/catalogue/hospital/yiwu/behospitalized/BEH0011.java

@@ -123,6 +123,10 @@ public class BEH0011 extends QCCatalogue {
         int matchSum = 0;
         ModelAI modelAI = new ModelAI();
         for (String presentPastDiag : presentPastDiags) {
+            if ("高血压".equals(presentPastDiag) || "糖尿病".equals(presentPastDiag)) {
+                matchSum++;
+                continue;
+            }
             JSONArray jsonArray = modelAI.loadChiefPresentSimilarAI(presentPastDiag, initDiags, false
                     , "diagnose", chiefPresentSimilarityServiceClient);
             if (jsonArray.size() == 2) {

+ 8 - 2
kernel/src/main/java/com/lantone/qc/kernel/catalogue/hospital/yiwu/behospitalized/BEH0025.java

@@ -64,7 +64,10 @@ public class BEH0025 extends QCCatalogue {
         String pastLabelText = pastLabel.getText();
         if (pastLabelText.contains("手术") || pastLabelText.contains("详见原病历")
                 || pastLabelText.contains("体外碎石") || pastLabelText.contains("术后")
-                || pastLabelText.matches(".*行.*术.*")) {
+                || pastLabelText.matches(".*行.*术.*")
+                || pastLabelText.contains("孕期")
+                || pastLabelText.contains("产期")
+                || pastLabelText.contains("待产")) {
             status.set("0");
         }
         //现病史里出现手术记录也不报
@@ -72,7 +75,10 @@ public class BEH0025 extends QCCatalogue {
         String presentText=presentLabel.getText();
         if(presentText.contains("手术") || presentText.contains("详见原病历")
                 || presentText.contains("体外碎石") || presentText.contains("术后")
-                || presentText.matches(".*行.*术.*")){
+                || presentText.matches(".*行.*术.*")
+                || pastLabelText.contains("孕期")
+                || pastLabelText.contains("产期")
+                || pastLabelText.contains("待产")){
             status.set("0");
         }
     }

+ 3 - 1
kernel/src/main/java/com/lantone/qc/kernel/catalogue/hospital/yiwu/behospitalized/BEH02966.java

@@ -31,7 +31,9 @@ public class BEH02966 extends QCCatalogue {
         if (medicalRecordInfoDoc != null && medicalRecordInfoDoc.getStructureMap() != null) {
             //科室
             String behDeptName = medicalRecordInfoDoc.getStructureMap().get("behDeptName");
-            if (StringUtil.isNotBlank(behDeptName) && (behDeptName.contains("新生儿科") || behDeptName.contains("产科"))) {
+            if (StringUtil.isNotBlank(behDeptName) && (behDeptName.contains("小儿外科")
+                    ||behDeptName.contains("妇科") ||behDeptName.contains("新生儿重症监护室")
+                    ||behDeptName.contains("新生儿科") || behDeptName.contains("产科"))) {
                 return;
             }
         }

+ 4 - 0
kernel/src/main/java/com/lantone/qc/kernel/catalogue/hospital/yiwu/firstcourserecord/FIRC0095.java

@@ -111,6 +111,10 @@ public class FIRC0095 extends QCCatalogue {
         int matchSum = 0;
         ModelAI modelAI = new ModelAI();
         for (String presentPastDiag : presentPastDiags) {
+            if ("高血压".equals(presentPastDiag) || "糖尿病".equals(presentPastDiag)) {
+                matchSum++;
+                continue;
+            }
             JSONArray jsonArray = modelAI.loadChiefPresentSimilarAI(presentPastDiag, initDiags, false
                     , "diagnose", chiefPresentSimilarityServiceClient);
             if (jsonArray.size() == 2) {

+ 1 - 1
public/src/main/java/com/lantone/qc/pub/Content.java

@@ -429,7 +429,7 @@ public class Content {
     );
     //病例特点体格检查
     public static List<String> physicalCheckList = Arrays.asList(
-            "专科检查", "查体", "体温", "脉搏", "呼吸", "血压"
+            "专科检查", "查体", "体温", "脉搏", "呼吸", "血压", "体格检查", "辅助检查"
     );
     //病例特点体格检查
     public static List<String> physicalCheckBTList = Arrays.asList(