Przeglądaj źródła

台州xml数据页面模板id映射修改

rengb 5 lat temu
rodzic
commit
aa7e807475

+ 4 - 4
trans/src/main/java/com/lantone/qc/trans/comsis/ModelDocGenerate.java

@@ -361,22 +361,22 @@ public class ModelDocGenerate {
         DiagLabel initialDiagLabel = new DiagLabel();
         initialDiagLabel.setText(structureMap.get("初步诊断"));
         firstCourseRecordDoc.setInitialDiagLabel(initialDiagLabel);
-        structureMap.remove("初步诊断");
+//        structureMap.remove("初步诊断");
 
         CaseCharacteristicLabel caseCharacteristicLabel = new CaseCharacteristicLabel();
         caseCharacteristicLabel.setText(structureMap.get("病例特点"));
         firstCourseRecordDoc.setCaseCharacteristicLabel(caseCharacteristicLabel);
-        structureMap.remove("病例特点");
+//        structureMap.remove("病例特点");
 
         DiagnosisLabel diagnosisLabel = new DiagnosisLabel();
         diagnosisLabel.setText(structureMap.get("诊断依据"));
         firstCourseRecordDoc.setDiagnosisLabel(diagnosisLabel);
-        structureMap.remove("诊断依据");
+//        structureMap.remove("诊断依据");
 
         DiagLabel differentialDiagLabel = new DiagLabel();
         differentialDiagLabel.setText(structureMap.get("鉴别诊断"));
         firstCourseRecordDoc.setDifferentialDiagLabel(differentialDiagLabel);
-        structureMap.remove("鉴别诊断");
+//        structureMap.remove("鉴别诊断");
 
         TreatPlanLabel treatPlanLabel = new TreatPlanLabel();
         treatPlanLabel.setText(structureMap.get("诊疗计划"));

+ 3 - 5
trans/src/main/java/com/lantone/qc/trans/taizhou/TaiZhouFirstCourseRecordDocTrans.java

@@ -38,7 +38,7 @@ public class TaiZhouFirstCourseRecordDocTrans extends ModelDocTrans {
                 "脉搏",
                 "体温",
                 "血压"
-            ))
+                ))
         );
         // 诊断依据=性别+年龄+主诉+现病史-发病情况+专科检查+实验室检查+影像学检查+辅助检查结果+呼吸+脉搏+体温+血压
         structureMap.put("诊断依据", MapUtil.getSelectString(structureMap, Arrays.asList(
@@ -65,15 +65,13 @@ public class TaiZhouFirstCourseRecordDocTrans extends ModelDocTrans {
 
         // 诊疗计划
         FirstCourseRecordDoc firstCourseRecordDoc = ModelDocGenerate.firstCourseRecordDocGen(structureMap);
-        firstCourseRecordDoc.setPageData((Map)sourceMap);
+        firstCourseRecordDoc.setPageData((Map) structureMap);
         return firstCourseRecordDoc;
     }
 
     private List<String> keyContrasts = Lists.newArrayList(
-            "初步诊断=初步诊断",
-            "鉴别诊断=鉴别诊断",
             "医生=记录医师",
             "病历日期=记录时间"
-            );
+    );
 
 }