|
@@ -20,11 +20,14 @@ public class BEH0069 extends QCCatalogue {
|
|
|
@Override
|
|
|
protected void start(InputInfo inputInfo, OutputInfo outputInfo) {
|
|
|
//台州结构化
|
|
|
- if(inputInfo.getBeHospitalizedDoc() != null){
|
|
|
- Map<String, String> structureMap = inputInfo.getBeHospitalizedDoc().getStructureMap();
|
|
|
- if(StringUtils.isNotEmpty(structureMap.get("家庭成员类似病史"))){
|
|
|
- status.set("0");
|
|
|
- }
|
|
|
+ if (inputInfo.getBeHospitalizedDoc() == null) {
|
|
|
+ status.set("0");
|
|
|
+ return;
|
|
|
+ }
|
|
|
+ Map<String, String> structureMap = inputInfo.getBeHospitalizedDoc().getStructureMap();
|
|
|
+ if (StringUtils.isNotEmpty(structureMap.get("家庭成员类似病史"))) {
|
|
|
+ status.set("0");
|
|
|
+ return;
|
|
|
}
|
|
|
|
|
|
if (inputInfo.getBeHospitalizedDoc() != null && inputInfo.getBeHospitalizedDoc().getFamilyLabel() != null) {
|