|
@@ -35,8 +35,15 @@ public class THR02900 extends QCCatalogue {
|
|
|
if (inputInfo.getThreeLevelWardDocs() != null && inputInfo.getThreeLevelWardDocs().size() > 0) {
|
|
|
allDoctorWradDocs = inputInfo.getThreeLevelWardDocs().get(0).getAllDoctorWradDocs();
|
|
|
}
|
|
|
+ //标题
|
|
|
String allTitle = "";
|
|
|
+ //病情记录
|
|
|
String allPathography = "";
|
|
|
+ String[] split = null;
|
|
|
+ //一助或助手
|
|
|
+ String firstAssistant = "";
|
|
|
+ //手术结束时间
|
|
|
+ String opeEndTime = "";
|
|
|
for (OperationDoc operationDoc : operationDocs) {
|
|
|
OperationRecordDoc operationRecordDoc = operationDoc.getOperationRecordDoc();
|
|
|
if (operationRecordDoc == null) {
|
|
@@ -44,10 +51,17 @@ public class THR02900 extends QCCatalogue {
|
|
|
}
|
|
|
Map<String, String> structureMap = operationRecordDoc.getStructureMap();
|
|
|
String opeAssName = structureMap.get("手术者及助手名称");
|
|
|
- String[] split = opeAssName.split("、");
|
|
|
+ if (StringUtil.isNotBlank(opeAssName)) {
|
|
|
+ split = opeAssName.split("、");
|
|
|
+ firstAssistant = structureMap.get("助手");
|
|
|
+ opeEndTime = structureMap.get("手术结束时间");
|
|
|
+ } else {
|
|
|
+ firstAssistant = structureMap.get("一助");
|
|
|
+ //取得手术时间截取结束时间(格式 2020-07-24 10:30-2020-07-24 11:45)
|
|
|
+ opeEndTime = structureMap.get("手术时间");
|
|
|
+ opeEndTime = opeEndTime.substring(17);
|
|
|
+ }
|
|
|
String chiefSurgeon = structureMap.get("主刀医师");
|
|
|
- String firstAssistant = structureMap.get("助手");
|
|
|
- String opeEndTime = structureMap.get("手术结束时间");
|
|
|
Date opeEndDate = CatalogueUtil.parseStringDate(opeEndTime);
|
|
|
if (opeEndDate == null) {
|
|
|
continue;
|
|
@@ -79,8 +93,8 @@ public class THR02900 extends QCCatalogue {
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
- //查房标题中有术后主刀
|
|
|
- if (allTitle.contains("术后主刀") || allTitle.contains("术后第一天主刀")) {
|
|
|
+ //查房标题中有主刀
|
|
|
+ if (allTitle.contains("主刀")) {
|
|
|
return;
|
|
|
}
|
|
|
//查房标题对比
|