|
@@ -95,10 +95,10 @@ public class BeHospitalizedAI extends ModelAI {
|
|
|
putContent(crfContent, medicalTextType.get(2), maritalText, Content.marriage);
|
|
|
}
|
|
|
/* 月经史 */
|
|
|
- if (beHospitalizedDoc.getMenstrualLabel() != null && beHospitalizedDoc.getMenstrualLabel().isCrfLabel()) {
|
|
|
- String menstrualText = beHospitalizedDoc.getMenstrualLabel().getText();
|
|
|
- putContent(crfContent, medicalTextType.get(2), concatMenstrual, menstrualText, Content.menses);
|
|
|
- }
|
|
|
+// if (beHospitalizedDoc.getMenstrualLabel() != null && beHospitalizedDoc.getMenstrualLabel().isCrfLabel()) {
|
|
|
+// String menstrualText = beHospitalizedDoc.getMenstrualLabel().getText();
|
|
|
+// putContent(crfContent, medicalTextType.get(2), concatMenstrual, menstrualText, Content.menses);
|
|
|
+// }
|
|
|
/* 家族史 */
|
|
|
if (beHospitalizedDoc.getFamilyLabel() != null && beHospitalizedDoc.getFamilyLabel().isCrfLabel()) {
|
|
|
String familyText = beHospitalizedDoc.getFamilyLabel().getText();
|
|
@@ -165,9 +165,9 @@ public class BeHospitalizedAI extends ModelAI {
|
|
|
putPersonalCrfData(midData.getJSONObject(Content.personal), inputInfo);
|
|
|
}
|
|
|
/* 处理月经史 */
|
|
|
- if (beHospitalizedDoc.getMenstrualLabel() != null && beHospitalizedDoc.getMenstrualLabel().isCrfLabel()) {
|
|
|
- putMensesCrfData(midData.getJSONObject(Content.menses), inputInfo);
|
|
|
- }
|
|
|
+// if (beHospitalizedDoc.getMenstrualLabel() != null && beHospitalizedDoc.getMenstrualLabel().isCrfLabel()) {
|
|
|
+// putMensesCrfData(midData.getJSONObject(Content.menses), inputInfo);
|
|
|
+// }
|
|
|
/* 处理家族史 */
|
|
|
if (beHospitalizedDoc.getFamilyLabel() != null && beHospitalizedDoc.getFamilyLabel().isCrfLabel()) {
|
|
|
putFamilyCrfData(midData.getJSONObject(Content.family), inputInfo);
|
|
@@ -205,9 +205,6 @@ public class BeHospitalizedAI extends ModelAI {
|
|
|
if (jsonObject == null) {
|
|
|
return;
|
|
|
}
|
|
|
- if (jsonObject.getJSONObject(entityRelationObject) == null) {
|
|
|
- return;
|
|
|
- }
|
|
|
JSONObject aiOut = jsonObject.getJSONObject(entityRelationObject).getJSONObject(BeHospitalizedAI.outputs);
|
|
|
if (aiOut == null) {
|
|
|
return;
|
|
@@ -226,9 +223,6 @@ public class BeHospitalizedAI extends ModelAI {
|
|
|
if (jsonObject == null) {
|
|
|
return;
|
|
|
}
|
|
|
- if (jsonObject.getJSONObject(entityRelationObject) == null) {
|
|
|
- return;
|
|
|
- }
|
|
|
JSONObject aiOut = jsonObject.getJSONObject(entityRelationObject).getJSONObject(BeHospitalizedAI.outputs);
|
|
|
if (aiOut == null) {
|
|
|
return;
|
|
@@ -252,9 +246,6 @@ public class BeHospitalizedAI extends ModelAI {
|
|
|
if (jsonObject == null) {
|
|
|
return;
|
|
|
}
|
|
|
- if (jsonObject.getJSONObject(entityRelationObject) == null) {
|
|
|
- return;
|
|
|
- }
|
|
|
JSONObject aiOut = jsonObject.getJSONObject(entityRelationObject).getJSONObject(BeHospitalizedAI.outputs);
|
|
|
if (aiOut == null) {
|
|
|
return;
|
|
@@ -276,9 +267,6 @@ public class BeHospitalizedAI extends ModelAI {
|
|
|
if (jsonObject == null) {
|
|
|
return;
|
|
|
}
|
|
|
- if (jsonObject.getJSONObject(entityRelationObject) == null) {
|
|
|
- return;
|
|
|
- }
|
|
|
JSONObject aiOut = jsonObject.getJSONObject(entityRelationObject).getJSONObject(BeHospitalizedAI.outputs);
|
|
|
if (aiOut == null) {
|
|
|
return;
|
|
@@ -294,9 +282,6 @@ public class BeHospitalizedAI extends ModelAI {
|
|
|
if (jsonObject == null) {
|
|
|
return;
|
|
|
}
|
|
|
- if (jsonObject.getJSONObject(entityRelationObject) == null) {
|
|
|
- return;
|
|
|
- }
|
|
|
JSONObject aiOut = jsonObject.getJSONObject(entityRelationObject).getJSONObject(BeHospitalizedAI.outputs);
|
|
|
if (aiOut == null) {
|
|
|
return;
|
|
@@ -319,9 +304,6 @@ public class BeHospitalizedAI extends ModelAI {
|
|
|
if (jsonObject == null) {
|
|
|
return;
|
|
|
}
|
|
|
- if (jsonObject.getJSONObject(entityRelationObject) == null) {
|
|
|
- return;
|
|
|
- }
|
|
|
JSONObject aiOut = jsonObject.getJSONObject(entityRelationObject).getJSONObject(BeHospitalizedAI.outputs);
|
|
|
if (aiOut == null) {
|
|
|
return;
|
|
@@ -343,9 +325,6 @@ public class BeHospitalizedAI extends ModelAI {
|
|
|
if (jsonObject == null || jsonObject.getJSONObject(entityRelationObject) == null) {
|
|
|
return;
|
|
|
}
|
|
|
- if (jsonObject.getJSONObject(entityRelationObject) == null) {
|
|
|
- return;
|
|
|
- }
|
|
|
JSONObject aiOut = jsonObject.getJSONObject(entityRelationObject).getJSONObject(BeHospitalizedAI.outputs);
|
|
|
if (aiOut == null) {
|
|
|
return;
|
|
@@ -367,9 +346,6 @@ public class BeHospitalizedAI extends ModelAI {
|
|
|
if (jsonObject == null) {
|
|
|
return;
|
|
|
}
|
|
|
- if (jsonObject.getJSONObject(entityRelationObject) == null) {
|
|
|
- return;
|
|
|
- }
|
|
|
JSONObject aiOut = jsonObject.getJSONObject(entityRelationObject).getJSONObject(BeHospitalizedAI.outputs);
|
|
|
if (aiOut == null) {
|
|
|
return;
|
|
@@ -407,9 +383,6 @@ public class BeHospitalizedAI extends ModelAI {
|
|
|
if (jsonObject == null) {
|
|
|
return;
|
|
|
}
|
|
|
- if (jsonObject.getJSONObject(entityRelationObject) == null) {
|
|
|
- return;
|
|
|
- }
|
|
|
JSONObject aiOut = jsonObject.getJSONObject(entityRelationObject).getJSONObject(BeHospitalizedAI.outputs);
|
|
|
if (aiOut == null) {
|
|
|
return;
|
|
@@ -441,9 +414,6 @@ public class BeHospitalizedAI extends ModelAI {
|
|
|
if (jsonObject == null) {
|
|
|
return;
|
|
|
}
|
|
|
- if (jsonObject.getJSONObject(entityRelationObject) == null) {
|
|
|
- return;
|
|
|
- }
|
|
|
JSONObject aiOut = jsonObject.getJSONObject(entityRelationObject).getJSONObject(BeHospitalizedAI.outputs);
|
|
|
if (aiOut == null) {
|
|
|
return;
|
|
@@ -468,9 +438,6 @@ public class BeHospitalizedAI extends ModelAI {
|
|
|
if (jsonObject == null) {
|
|
|
return;
|
|
|
}
|
|
|
- if (jsonObject.getJSONObject(entityRelationObject) == null) {
|
|
|
- return;
|
|
|
- }
|
|
|
JSONObject aiOut = jsonObject.getJSONObject(entityRelationObject).getJSONObject(BeHospitalizedAI.outputs);
|
|
|
if (aiOut == null) {
|
|
|
return;
|