|
@@ -40,6 +40,7 @@ public class OPE03119 extends QCCatalogue {
|
|
|
Map<String, String> structureMap = dad.getStructureMap();
|
|
|
String daStatus = structureMap.get(Content.doctorAdviceState);
|
|
|
String adviceType = structureMap.get(Content.doctorAdviceType);
|
|
|
+ String medicalOrderName = structureMap.get(Content.medicalOrderName);
|
|
|
//取临时医嘱
|
|
|
if (StringUtil.isNotEmpty(daStatus)) {
|
|
|
if (!Content.cancellationOrderList.contains(daStatus)) {
|
|
@@ -54,6 +55,13 @@ public class OPE03119 extends QCCatalogue {
|
|
|
break;
|
|
|
}
|
|
|
}
|
|
|
+ if(StringUtil.isNotEmpty(medicalOrderName)){
|
|
|
+ String rex="[\\s\\S]*(?=拟)[\\s\\S]*(?=术)[\\s\\S]*";
|
|
|
+ if(medicalOrderName.matches(rex)){
|
|
|
+ ssHz = true;
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
}
|
|
@@ -68,27 +76,22 @@ public class OPE03119 extends QCCatalogue {
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
-/* *//**********手术是否使用了植入物**//*
|
|
|
- //查房
|
|
|
- if (ListUtil.isNotEmpty(threeLevelWardDocs) && ssHz) {
|
|
|
- ThreeLevelWardDoc threeLevelWardDoc = threeLevelWardDocs.get(0);
|
|
|
- //所有查房记录
|
|
|
- List<ThreeLevelWardDoc> allDoctorWradDocs = threeLevelWardDoc.getAllDoctorWradDocs();
|
|
|
- if (ListUtil.isNotEmpty(allDoctorWradDocs)) {
|
|
|
- for (ThreeLevelWardDoc allDoctorWradDoc : allDoctorWradDocs) {
|
|
|
- String pathographyStr = allDoctorWradDoc.getStructureMap().get(Content.illnessRecords);
|
|
|
- if (StringUtil.isNotEmpty(pathographyStr)) {
|
|
|
- if (zrwStr(pathographyStr)) {
|
|
|
- zrw=true;
|
|
|
+ //手术记录
|
|
|
+ if(ListUtil.isNotEmpty(operationDocs) && ssHz){
|
|
|
+ for (OperationDoc operationDoc : operationDocs) {
|
|
|
+ OperationInformedConsentDoc operationInformedConsentDoc = operationDoc.getOperationInformedConsentDoc();
|
|
|
+ if(operationInformedConsentDoc!=null){
|
|
|
+ String str = operationInformedConsentDoc.getStructureMap().get("使用植入性材料");
|
|
|
+ if(StringUtil.isNotEmpty(str)) {
|
|
|
+ if (str.equals("true")) {
|
|
|
+ zrw = true;
|
|
|
break;
|
|
|
}
|
|
|
+ if(str.equals("false")){
|
|
|
+ return;
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
- }
|
|
|
- }*/
|
|
|
- //手术记录
|
|
|
- if(ListUtil.isNotEmpty(operationDocs) && ssHz){
|
|
|
- for (OperationDoc operationDoc : operationDocs) {
|
|
|
OperationRecordDoc operationRecordDoc = operationDoc.getOperationRecordDoc();
|
|
|
if(operationRecordDoc!=null){
|
|
|
String key = getKeyByHospitalId();
|
|
@@ -109,13 +112,10 @@ public class OPE03119 extends QCCatalogue {
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
- }
|
|
|
- OperationInformedConsentDoc operationInformedConsentDoc = operationDoc.getOperationInformedConsentDoc();
|
|
|
- if(operationInformedConsentDoc!=null){
|
|
|
- String str = operationInformedConsentDoc.getStructureMap().get("使用植入性材料");
|
|
|
- if(StringUtil.isNotEmpty(str)) {
|
|
|
- if (str.equals("true")) {
|
|
|
- zrw = true;
|
|
|
+ String strzr = operationRecordDoc.getStructureMap().get("植入物名称");
|
|
|
+ if(StringUtil.isNotEmpty(strzr)){
|
|
|
+ if(zrwStr(str)){
|
|
|
+ zrw=true;
|
|
|
break;
|
|
|
}
|
|
|
}
|
|
@@ -183,16 +183,6 @@ public class OPE03119 extends QCCatalogue {
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
- OperationInformedConsentDoc operationInformedConsentDoc = operationDoc.getOperationInformedConsentDoc();
|
|
|
- if(operationInformedConsentDoc!=null){
|
|
|
- String str = operationInformedConsentDoc.getStructureMap().get("使用植入性材料");
|
|
|
- if(StringUtil.isNotEmpty(str)) {
|
|
|
- if (str.equals("true")) {
|
|
|
- status.set("0");
|
|
|
- return;
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
}
|
|
|
}
|
|
|
}
|