hujing пре 5 година
родитељ
комит
490760008b

+ 4 - 0
kernel/src/main/java/com/lantone/qc/kernel/catalogue/behospitalized/BEH0082.java

@@ -19,6 +19,10 @@ public class BEH0082 extends QCCatalogue {
     @Override
     protected void start(InputInfo inputInfo, OutputInfo outputInfo) {
         if (inputInfo.getBeHospitalizedDoc() != null && inputInfo.getBeHospitalizedDoc().getPacsLabel() != null) {
+            if (inputInfo.getBeHospitalizedDoc().getPacsLabel().getPacses() == null) {
+                status = "0";
+                return;
+            }
             int outerCourtyardObjNum = 0;
             for (Pacs pacs : inputInfo.getBeHospitalizedDoc().getPacsLabel().getPacses()) {
                 if (pacs.getOuterCourtyard() == null) {