|
@@ -19,8 +19,11 @@ public class BEH0082 extends QCCatalogue {
|
|
@Override
|
|
@Override
|
|
protected void start(InputInfo inputInfo, OutputInfo outputInfo) {
|
|
protected void start(InputInfo inputInfo, OutputInfo outputInfo) {
|
|
if (inputInfo.getBeHospitalizedDoc() != null && inputInfo.getBeHospitalizedDoc().getPacsLabel() != null) {
|
|
if (inputInfo.getBeHospitalizedDoc() != null && inputInfo.getBeHospitalizedDoc().getPacsLabel() != null) {
|
|
|
|
+ int outerCourtyardObjNum = 0;
|
|
for (Pacs pacs : inputInfo.getBeHospitalizedDoc().getPacsLabel().getPacses()) {
|
|
for (Pacs pacs : inputInfo.getBeHospitalizedDoc().getPacsLabel().getPacses()) {
|
|
- if (pacs.getOuterCourtyard() != null) {
|
|
|
|
|
|
+ if (pacs.getOuterCourtyard() == null) {
|
|
|
|
+ outerCourtyardObjNum++;
|
|
|
|
+ } else {
|
|
OuterCourtyard outerCourtyard = pacs.getOuterCourtyard();
|
|
OuterCourtyard outerCourtyard = pacs.getOuterCourtyard();
|
|
if (outerCourtyard.getPd().size() > 0 && StringUtil.isNotBlank(outerCourtyard.getPacsValue().getName())) {
|
|
if (outerCourtyard.getPd().size() > 0 && StringUtil.isNotBlank(outerCourtyard.getPacsValue().getName())) {
|
|
status = "0";
|
|
status = "0";
|
|
@@ -28,6 +31,9 @@ public class BEH0082 extends QCCatalogue {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
+ if (outerCourtyardObjNum == inputInfo.getBeHospitalizedDoc().getPacsLabel().getPacses().size()) {
|
|
|
|
+ status = "0";
|
|
|
|
+ }
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|