|
@@ -20,13 +20,14 @@ import java.util.List;
|
|
|
public class BEH02903 extends QCCatalogue {
|
|
|
@Override
|
|
|
protected void start(InputInfo inputInfo, OutputInfo outputInfo) {
|
|
|
- status.set("0");
|
|
|
if (inputInfo.getBeHospitalizedDoc() == null) {
|
|
|
+ status.set("0");
|
|
|
return;
|
|
|
}
|
|
|
|
|
|
String pacsText = inputInfo.getBeHospitalizedDoc().getStructureMap().get("辅助检查");
|
|
|
if (StringUtil.isNotBlank(pacsText) && (pacsText.contains("暂缺") || pacsText.contains("暂无"))) {
|
|
|
+ status.set("0");
|
|
|
return;
|
|
|
}
|
|
|
|
|
@@ -39,8 +40,8 @@ public class BEH02903 extends QCCatalogue {
|
|
|
List<Pacs> pacses = pacsLabel.getPacses();
|
|
|
if (pacses != null && pacses.size() > 0) {
|
|
|
for (Pacs pacs : pacses) {
|
|
|
- if (pacs.getName() == null && pacs.getPd() == null) {
|
|
|
- status.set("-1");
|
|
|
+ if (pacs.getPd() != null && pacs.getPd().getName() != null) {
|
|
|
+ status.set("0");
|
|
|
return;
|
|
|
}
|
|
|
}
|