|
@@ -4,6 +4,8 @@ import com.lantone.qc.kernel.catalogue.QCCatalogue;
|
|
|
import com.lantone.qc.pub.model.InputInfo;
|
|
|
import com.lantone.qc.pub.model.OutputInfo;
|
|
|
import com.lantone.qc.pub.model.entity.Clinical;
|
|
|
+import com.lantone.qc.pub.model.entity.General;
|
|
|
+import com.lantone.qc.pub.model.entity.GeneralDesc;
|
|
|
import com.lantone.qc.pub.model.entity.Modification;
|
|
|
import org.springframework.stereotype.Component;
|
|
|
|
|
@@ -21,11 +23,14 @@ import java.util.List;
|
|
|
@Component
|
|
|
public class BEH0021 extends QCCatalogue {
|
|
|
public void start(InputInfo inputInfo, OutputInfo outputInfo) {
|
|
|
+ List<General> gens = inputInfo.getBeHospitalizedDoc().getPresentLabel().getGens();
|
|
|
+ List<GeneralDesc> generals = inputInfo.getBeHospitalizedDoc().getPresentLabel().getGenerals();
|
|
|
List<Clinical> clinicals = inputInfo.getBeHospitalizedDoc().getPresentLabel().getClinicals();
|
|
|
if(clinicals.size()>0){
|
|
|
Clinical clinical = clinicals.get(0);
|
|
|
Modification modification = clinical.getModification();
|
|
|
- if(modification == null || (!modification.getName().contains("严重") && !modification.getName().contains("加剧"))){
|
|
|
+ if(modification == null || (!modification.getName().contains("严重") && !modification.getName().contains("加剧")
|
|
|
+ && !modification.getName().contains("加重"))){
|
|
|
info.set(clinical.getName());
|
|
|
}else {
|
|
|
status.set("0");
|