Browse Source

北仑:无诊断名称不提示信息

wangsy 4 years ago
parent
commit
79c34c8f37

+ 1 - 1
kernel/src/main/java/com/lantone/qc/kernel/catalogue/beilun/firstpagerecord/FIRP03083.java

@@ -41,7 +41,7 @@ public class FIRP03083 extends QCCatalogue {
         if (inputInfo.getFirstPageRecordDoc().getStructureMap() != null) {
             Map<String, Object> firstpageStructureMap = inputInfo.getFirstPageRecordDoc().getStructureExtMap();
             JSONArray out_diag = (JSONArray) firstpageStructureMap.get("出院诊断");
-            if (out_diag.size() > 0) {
+            if (out_diag != null && out_diag.size() > 0) {
                 for (int i = 0; i < out_diag.size(); i++) {
                     List<String> disList = Arrays.asList(strings);
                     JSONObject jsonObject = out_diag.getJSONObject(i);