|
@@ -39,7 +39,6 @@ public class THR02900 extends QCCatalogue {
|
|
|
String allTitle = "";
|
|
|
//病情记录
|
|
|
String allPathography = "";
|
|
|
- String[] split = null;
|
|
|
//一助或助手
|
|
|
String firstAssistant = "";
|
|
|
//手术结束时间
|
|
@@ -50,18 +49,9 @@ public class THR02900 extends QCCatalogue {
|
|
|
continue;
|
|
|
}
|
|
|
Map<String, String> structureMap = operationRecordDoc.getStructureMap();
|
|
|
- String opeAssName = structureMap.get("手术者及助手名称");
|
|
|
- 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("主刀医师");
|
|
|
+ firstAssistant = structureMap.get("助手");
|
|
|
+ opeEndTime = structureMap.get("结束时间");
|
|
|
Date opeEndDate = CatalogueUtil.parseStringDate(opeEndTime);
|
|
|
if (opeEndDate == null) {
|
|
|
continue;
|
|
@@ -69,7 +59,7 @@ public class THR02900 extends QCCatalogue {
|
|
|
if (!CatalogueUtil.compareTime(
|
|
|
StringUtil.parseDateTime(opeEndTime),
|
|
|
StringUtil.parseDateTime(DateUtil.nowString()),
|
|
|
- Long.valueOf(24 * 60))) {//如果接收未超过6小时,规则不判断
|
|
|
+ 24 * 60L)) {//如果接收未超过6小时,规则不判断
|
|
|
return;
|
|
|
} else {
|
|
|
if ((StringUtil.isNotEmpty(chiefSurgeon) || StringUtil.isNotEmpty(firstAssistant)) && ListUtil.isEmpty(allDoctorWradDocs)) {
|
|
@@ -102,12 +92,6 @@ public class THR02900 extends QCCatalogue {
|
|
|
StringUtil.isNotBlank(firstAssistant) && !allTitle.contains(firstAssistant)) {
|
|
|
status.set("-1");
|
|
|
return;
|
|
|
- } else if (StringUtil.isBlank(chiefSurgeon) && StringUtil.isBlank(firstAssistant) && split.length > 1) {
|
|
|
- for (int i = 0; i < split.length; i++) {
|
|
|
- if (allTitle.contains(split[i])) {
|
|
|
- return;
|
|
|
- }
|
|
|
- }
|
|
|
}
|
|
|
//病情记录对比
|
|
|
if ((StringUtil.isNotBlank(chiefSurgeon) && allPathography.contains(chiefSurgeon)) ||
|