|
@@ -27,8 +27,8 @@ import java.util.Map;
|
|
@Component
|
|
@Component
|
|
public class THR02900 extends QCCatalogue {
|
|
public class THR02900 extends QCCatalogue {
|
|
public void start(InputInfo inputInfo, OutputInfo outputInfo) {
|
|
public void start(InputInfo inputInfo, OutputInfo outputInfo) {
|
|
- status.set("0");
|
|
|
|
if (inputInfo.getOperationDocs().size() == 0) {
|
|
if (inputInfo.getOperationDocs().size() == 0) {
|
|
|
|
+ status.set("0");
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
List<OperationDoc> operationDocs = inputInfo.getOperationDocs();
|
|
List<OperationDoc> operationDocs = inputInfo.getOperationDocs();
|
|
@@ -40,7 +40,6 @@ public class THR02900 extends QCCatalogue {
|
|
String allTitle = "";
|
|
String allTitle = "";
|
|
//病情记录
|
|
//病情记录
|
|
String allPathography = "";
|
|
String allPathography = "";
|
|
- String[] split = null;
|
|
|
|
//一助或助手
|
|
//一助或助手
|
|
String firstAssistant = "";
|
|
String firstAssistant = "";
|
|
//手术结束时间
|
|
//手术结束时间
|
|
@@ -62,10 +61,10 @@ public class THR02900 extends QCCatalogue {
|
|
StringUtil.parseDateTime(opeEndTime),
|
|
StringUtil.parseDateTime(opeEndTime),
|
|
StringUtil.parseDateTime(DateUtil.nowString()),
|
|
StringUtil.parseDateTime(DateUtil.nowString()),
|
|
Long.valueOf(24 * 60))) {//如果接收未超过6小时,规则不判断
|
|
Long.valueOf(24 * 60))) {//如果接收未超过6小时,规则不判断
|
|
|
|
+ status.set("0");
|
|
return;
|
|
return;
|
|
} else {
|
|
} else {
|
|
if ((StringUtil.isNotEmpty(chiefSurgeon) || StringUtil.isNotEmpty(firstAssistant)) && ListUtil.isEmpty(allDoctorWradDocs)) {
|
|
if ((StringUtil.isNotEmpty(chiefSurgeon) || StringUtil.isNotEmpty(firstAssistant)) && ListUtil.isEmpty(allDoctorWradDocs)) {
|
|
- status.set("-1");
|
|
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -91,24 +90,19 @@ public class THR02900 extends QCCatalogue {
|
|
}
|
|
}
|
|
//查房标题中有主刀
|
|
//查房标题中有主刀
|
|
if (allTitle.contains("主刀") || allTitle.contains("术后第一天") || allTitle.contains("术后第1天")) {
|
|
if (allTitle.contains("主刀") || allTitle.contains("术后第一天") || allTitle.contains("术后第1天")) {
|
|
|
|
+ status.set("0");
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
//病情记录对比
|
|
//病情记录对比
|
|
if ((StringUtil.isNotBlank(chiefSurgeon) && allPathography.contains(chiefSurgeon)) || allPathography.contains("术后第一天") || allPathography.contains("术后第1天") ||
|
|
if ((StringUtil.isNotBlank(chiefSurgeon) && allPathography.contains(chiefSurgeon)) || allPathography.contains("术后第一天") || allPathography.contains("术后第1天") ||
|
|
(StringUtil.isNotBlank(firstAssistant) && allPathography.contains(firstAssistant))) {
|
|
(StringUtil.isNotBlank(firstAssistant) && allPathography.contains(firstAssistant))) {
|
|
|
|
+ status.set("0");
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
//查房标题对比
|
|
//查房标题对比
|
|
if (StringUtil.isNotBlank(chiefSurgeon) && !allTitle.contains(chiefSurgeon) &&
|
|
if (StringUtil.isNotBlank(chiefSurgeon) && !allTitle.contains(chiefSurgeon) &&
|
|
StringUtil.isNotBlank(firstAssistant) && !allTitle.contains(firstAssistant)) {
|
|
StringUtil.isNotBlank(firstAssistant) && !allTitle.contains(firstAssistant)) {
|
|
- status.set("-1");
|
|
|
|
return;
|
|
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;
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|