|
@@ -44,6 +44,19 @@ public class FIRC0095 extends QCCatalogue {
|
|
status.set("0");
|
|
status.set("0");
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
|
|
+ Map<String, String> structureMap = inputInfo.getBeHospitalizedDoc().getStructureMap();
|
|
|
|
+ String age = structureMap.get("年龄");
|
|
|
|
+ if (StringUtil.isNotBlank(age)) {
|
|
|
|
+ age = age.replaceAll("岁", "");
|
|
|
|
+ try {
|
|
|
|
+ if (Integer.parseInt(age) < 10) {
|
|
|
|
+ status.set("0");
|
|
|
|
+ return;
|
|
|
|
+ }
|
|
|
|
+ } catch (Exception e) {
|
|
|
|
+ System.out.println("FIRC0095--解析age出错:" + "->" + age);
|
|
|
|
+ }
|
|
|
|
+ }
|
|
PresentLabel presentLabel = inputInfo.getBeHospitalizedDoc().getPresentLabel();
|
|
PresentLabel presentLabel = inputInfo.getBeHospitalizedDoc().getPresentLabel();
|
|
DiagLabel initialDiagLabel = inputInfo.getFirstCourseRecordDoc().getInitialDiagLabel();
|
|
DiagLabel initialDiagLabel = inputInfo.getFirstCourseRecordDoc().getInitialDiagLabel();
|
|
PastLabel pastLabel = inputInfo.getBeHospitalizedDoc().getPastLabel();
|
|
PastLabel pastLabel = inputInfo.getBeHospitalizedDoc().getPastLabel();
|
|
@@ -81,7 +94,7 @@ public class FIRC0095 extends QCCatalogue {
|
|
addDiagHospitalName(presentPastDiags, pastDiags);
|
|
addDiagHospitalName(presentPastDiags, pastDiags);
|
|
} else { //结构化数据
|
|
} else { //结构化数据
|
|
List<Diag> pastDiags = new ArrayList<>();
|
|
List<Diag> pastDiags = new ArrayList<>();
|
|
- Map<String, String> structureMap = inputInfo.getBeHospitalizedDoc().getStructureMap();
|
|
|
|
|
|
+// Map<String, String> structureMap = inputInfo.getBeHospitalizedDoc().getStructureMap();
|
|
String a1 = structureMap.get("高血压");
|
|
String a1 = structureMap.get("高血压");
|
|
if (StringUtils.isNotEmpty(a1) && !"否认".equals(a1)) {
|
|
if (StringUtils.isNotEmpty(a1) && !"否认".equals(a1)) {
|
|
Diag diag = new Diag();
|
|
Diag diag = new Diag();
|
|
@@ -92,7 +105,7 @@ public class FIRC0095 extends QCCatalogue {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
a1 = structureMap.get("糖尿病");
|
|
a1 = structureMap.get("糖尿病");
|
|
- if (StringUtils.isNotEmpty(a1) && !"否认".equals(a1)) {
|
|
|
|
|
|
+ if (StringUtils.isNotEmpty(a1) && !"否认".equals(a1)) {
|
|
Diag diag = new Diag();
|
|
Diag diag = new Diag();
|
|
diag.setName("糖尿病");
|
|
diag.setName("糖尿病");
|
|
diag.setHospitalDiagName("糖尿病");
|
|
diag.setHospitalDiagName("糖尿病");
|