|
@@ -3,10 +3,12 @@ package com.lantone.qc.kernel.catalogue.behospitalized;
|
|
import com.lantone.qc.kernel.catalogue.QCCatalogue;
|
|
import com.lantone.qc.kernel.catalogue.QCCatalogue;
|
|
import com.lantone.qc.pub.model.InputInfo;
|
|
import com.lantone.qc.pub.model.InputInfo;
|
|
import com.lantone.qc.pub.model.OutputInfo;
|
|
import com.lantone.qc.pub.model.OutputInfo;
|
|
|
|
+import com.lantone.qc.pub.model.entity.Drinking;
|
|
|
|
+import com.lantone.qc.pub.util.StringUtil;
|
|
import org.springframework.stereotype.Component;
|
|
import org.springframework.stereotype.Component;
|
|
|
|
|
|
/**
|
|
/**
|
|
- * @Description:
|
|
|
|
|
|
+ * @Description: 饮酒史未描述
|
|
* @author: rengb
|
|
* @author: rengb
|
|
* @time: 2020/3/10 14:02
|
|
* @time: 2020/3/10 14:02
|
|
*/
|
|
*/
|
|
@@ -15,6 +17,9 @@ public class BEH0047 extends QCCatalogue {
|
|
|
|
|
|
@Override
|
|
@Override
|
|
public void start(InputInfo inputInfo, OutputInfo outputInfo) {
|
|
public void start(InputInfo inputInfo, OutputInfo outputInfo) {
|
|
-
|
|
|
|
|
|
+ Drinking drinking = inputInfo.getBeHospitalizedDoc().getPersonalLabel().getDrinking();
|
|
|
|
+ if (drinking != null && StringUtil.isNotBlank(drinking.getName())) {
|
|
|
|
+ status = "0";
|
|
|
|
+ }
|
|
}
|
|
}
|
|
}
|
|
}
|