Browse Source

手术患者无术前讨论记录(邵逸夫)
同一天多次手术记录,写一次术前讨论

kongwz 5 years ago
parent
commit
6c5187c3ac

+ 2 - 1
kernel/src/main/java/com/lantone/qc/kernel/catalogue/preoperativediscussion/PRE03025.java

@@ -101,6 +101,7 @@ public class PRE03025 extends QCCatalogue {
      */
     private int getOperationSum(List<OperationDoc> operationDocs) {
         int num = 0;
+        List<String> dateStrList = new ArrayList<>();
         for (OperationDoc operationDoc : operationDocs) {
             OperationRecordDoc operationRecordDoc = operationDoc.getOperationRecordDoc();
             if (operationRecordDoc == null) {
@@ -108,7 +109,7 @@ public class PRE03025 extends QCCatalogue {
             }
             Map<String, String> structureMap = operationRecordDoc.getStructureMap();
             String dateStr = structureMap.get("手术日期");
-            List<String> dateStrList = new ArrayList<>();
+
             if (StringUtil.isNotBlank(dateStr)) {
                 if (!dateStrList.contains(dateStr)) {
                     dateStrList.add(dateStr);