浏览代码

1、修改trans层和测试类 手术相关模块术语标准化

louhr 5 年之前
父节点
当前提交
9748958310

+ 14 - 6
kernel/src/main/java/com/lantone/qc/kernel/web/controller/QCTestController.java

@@ -232,12 +232,20 @@ public class QCTestController {
             }
 
             //最后一条记录
-            MedrecVo medrecVo = new MedrecVo();
-            medrecVo.setTitle(label);
-            Map<String, Object> m = new HashMap<>();
-            m.put("content", details);
-            medrecVo.setContent(m);
-            medrec.add(medrecVo);
+            if (label.equals("术后首次病程及谈话记录") || label.equals("手术记录") || label.equals("术前讨论、术前小结") || label.equals("手术知情同意书") || label.equals("手术安全核查表")) {
+                MedrecVo medrecVo = createLevelMedrecVo(medrec, details, "手术", label);
+                medrec.add(medrecVo);
+            } else if (label.equals("会诊记录") || label.equals("会诊申请单") || label.equals("会诊结果单")) {
+                MedrecVo medrecVo = createLevelMedrecVo(medrec, details, "会诊", label);
+                medrec.add(medrecVo);
+            } else {
+                MedrecVo medrecVo = new MedrecVo();
+                medrecVo.setTitle(label);
+                Map<String, Object> m = new HashMap<>();
+                m.put("content", details);
+                medrecVo.setContent(m);
+                medrec.add(medrecVo);
+            }
 
             queryVo.setCid(cid);
             queryVo.setMedrec(medrec);

+ 1 - 1
trans/src/main/java/com/lantone/qc/trans/taizhou/TaiZhouOperationDocTrans.java

@@ -44,7 +44,7 @@ public class TaiZhouOperationDocTrans extends ModelDocTrans {
 
         Map<String, OperationDiscussionDoc> operationDiscussionDocMap = getOperationDiscussionDocMap(contentMap.get("术后首次病程及谈话记录"));
         Map<String, OperationRecordDoc> operationRecordDocMap = getOperationRecordDocMap(contentMap.get("手术记录"));
-        Map<String, PreoperativeDiscussionDoc> preoperativeDiscussionDocMap = getPreoperativeDiscussionDocMap(contentMap.get("术前讨论记录"));
+        Map<String, PreoperativeDiscussionDoc> preoperativeDiscussionDocMap = getPreoperativeDiscussionDocMap(contentMap.get("术前讨论、术前小结"));
         Map<String, OperationInformedConsentDoc> operationInformedConsentDocMap = getOperationInformedConsentDocMap(contentMap.get("手术知情同意书"));
         Map<String, OperationSafetyChecklistDoc> operationSafetyChecklistDocMap = getOperationSafetyChecklistDocMap(contentMap.get("手术安全核查表"));