|
@@ -33,13 +33,18 @@ public class FIRC0087 extends QCCatalogue {
|
|
public void start(InputInfo inputInfo, OutputInfo outputInfo) {
|
|
public void start(InputInfo inputInfo, OutputInfo outputInfo) {
|
|
status.set("0");
|
|
status.set("0");
|
|
FirstCourseRecordDoc firstCourseRecordDoc = inputInfo.getFirstCourseRecordDoc();
|
|
FirstCourseRecordDoc firstCourseRecordDoc = inputInfo.getFirstCourseRecordDoc();
|
|
- if(firstCourseRecordDoc != null){
|
|
|
|
|
|
+ if (firstCourseRecordDoc != null) {
|
|
DiagLabel differentialDiagLabel = firstCourseRecordDoc.getDifferentialDiagLabel();
|
|
DiagLabel differentialDiagLabel = firstCourseRecordDoc.getDifferentialDiagLabel();
|
|
CaseCharacteristicLabel casecharLabel = firstCourseRecordDoc.getCaseCharacteristicLabel();
|
|
CaseCharacteristicLabel casecharLabel = firstCourseRecordDoc.getCaseCharacteristicLabel();
|
|
DiagLabel initDiagLabel = firstCourseRecordDoc.getInitialDiagLabel();
|
|
DiagLabel initDiagLabel = firstCourseRecordDoc.getInitialDiagLabel();
|
|
|
|
|
|
- if(differentialDiagLabel != null){
|
|
|
|
-// List<Diag> diags = differentialDiagLabel.getDiags();
|
|
|
|
|
|
+ if (differentialDiagLabel != null) {
|
|
|
|
+ Map<String, String> structureMap = firstCourseRecordDoc.getStructureMap();
|
|
|
|
+ String diffDiagStruct = structureMap.get("鉴别诊断");
|
|
|
|
+ if (StringUtil.isNotBlank(diffDiagStruct) && (diffDiagStruct.contains("诊断明确") || diffDiagStruct.contains("无需鉴别"))) {
|
|
|
|
+ return;
|
|
|
|
+ }
|
|
|
|
+ //List<Diag> diags = differentialDiagLabel.getDiags();
|
|
String diag = initDiagLabel.getDiags().get(0).getHospitalDiagName();
|
|
String diag = initDiagLabel.getDiags().get(0).getHospitalDiagName();
|
|
String casechar = casecharLabel.getText();
|
|
String casechar = casecharLabel.getText();
|
|
String chief = "";
|
|
String chief = "";
|
|
@@ -51,7 +56,7 @@ public class FIRC0087 extends QCCatalogue {
|
|
|
|
|
|
if (StringUtils.isNotEmpty(differentialDiagLabel.getText())) {
|
|
if (StringUtils.isNotEmpty(differentialDiagLabel.getText())) {
|
|
if (differentialDiagLabel.getText().contains("诊断明确")
|
|
if (differentialDiagLabel.getText().contains("诊断明确")
|
|
- || differentialDiagLabel.getText().contains("无需鉴别")) {
|
|
|
|
|
|
+ || differentialDiagLabel.getText().contains("无需鉴别")) {
|
|
if (chief.contains("术后") || chief.contains("孕") || chief.contains("化疗")
|
|
if (chief.contains("术后") || chief.contains("孕") || chief.contains("化疗")
|
|
|| chief.contains("肿瘤") || chief.contains("癌") || chief.contains("确诊")
|
|
|| chief.contains("肿瘤") || chief.contains("癌") || chief.contains("确诊")
|
|
|| chief.contains("外伤") || chief.contains("摔伤")) {
|
|
|| chief.contains("外伤") || chief.contains("摔伤")) {
|
|
@@ -62,8 +67,7 @@ public class FIRC0087 extends QCCatalogue {
|
|
status.set("-1");
|
|
status.set("-1");
|
|
}
|
|
}
|
|
}
|
|
}
|
|
- }
|
|
|
|
- else if (StringUtils.isEmpty(differentialDiagLabel.getText())) {
|
|
|
|
|
|
+ } else if (StringUtils.isEmpty(differentialDiagLabel.getText())) {
|
|
status.set("-1");
|
|
status.set("-1");
|
|
}
|
|
}
|
|
/*
|
|
/*
|