|
@@ -4,6 +4,7 @@ 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.Modification;
|
|
|
import org.springframework.stereotype.Component;
|
|
|
|
|
|
import java.util.ArrayList;
|
|
@@ -25,12 +26,19 @@ public class BEH0021 extends QCCatalogue {
|
|
|
List<Clinical> clinicals = inputInfo.getBeHospitalizedDoc().getPresentLabel().getClinicals();
|
|
|
if(clinicals.size()>0){
|
|
|
for (Clinical clinical:clinicals) {
|
|
|
-
|
|
|
+ Modification modification = clinical.getModification();
|
|
|
+ if(modification == null){
|
|
|
+ clinicals_timestamp.add(clinical.getName());
|
|
|
+ }else {
|
|
|
+ if(!modification.getName().contains("严重") && !modification.getName().contains("加剧") ){
|
|
|
+ clinicals_timestamp.add(clinical.getName());
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
if(clinicals_timestamp.size()>0){
|
|
|
status = "-1";
|
|
|
- info= clinicals_timestamp.toString();
|
|
|
+ info= clinicals_timestamp.toString().replace("[","").replace("]","");
|
|
|
}
|
|
|
}
|
|
|
}
|