|
@@ -27,6 +27,7 @@ public class DEAC0097 extends QCCatalogue {
|
|
|
status.set("0");
|
|
|
|
|
|
String outWay ="";
|
|
|
+ List<String> noDeathList = Content.noDeathList;
|
|
|
FirstPageRecordDoc firstPageRecordDoc = inputInfo.getFirstPageRecordDoc();
|
|
|
if(firstPageRecordDoc != null){
|
|
|
outWay = firstPageRecordDoc.getStructureMap().get(Content.outWay);
|
|
@@ -39,10 +40,15 @@ public class DEAC0097 extends QCCatalogue {
|
|
|
return;
|
|
|
}
|
|
|
|
|
|
- for (DoctorAdviceDoc dad : doctorAdviceDocs) {
|
|
|
+ sw: for (DoctorAdviceDoc dad : doctorAdviceDocs) {
|
|
|
String deviceName = dad.getStructureMap().get("医嘱项目名称");
|
|
|
if(StringUtils.isNotBlank(deviceName)){
|
|
|
if(deviceName.contains("死亡")){
|
|
|
+ for (String noDeath : noDeathList) {
|
|
|
+ if(deviceName.contains(noDeath)) {
|
|
|
+ continue sw;
|
|
|
+ }
|
|
|
+ }
|
|
|
deathRecords.add(deviceName);
|
|
|
}
|
|
|
}
|