|
@@ -74,12 +74,13 @@ public class FirstCourseRecordAI extends ModelAI {
|
|
|
//病历特点与现病史比较相似度
|
|
|
if (inputInfo.getBeHospitalizedDoc() != null && StringUtil.isNotBlank(inputInfo.getBeHospitalizedDoc().getPresentLabel().getText())) {
|
|
|
//先从结构化数据找病例特点
|
|
|
- if (StringUtil.isNotBlank(structureMap.get("病例特点"))) {
|
|
|
- putContent(similarContent, structureMap.get("病例特点"), inputInfo.getBeHospitalizedDoc().getPresentLabel().getText());
|
|
|
- } else if (firstCourseRecordDoc.getCaseCharacteristicLabel() != null && StringUtil.isNotBlank(firstCourseRecordDoc.getCaseCharacteristicLabel().getText())) {
|
|
|
- //再从doc找病例特点
|
|
|
- putContent(similarContent, firstCourseRecordDoc.getCaseCharacteristicLabel().getText(), inputInfo.getBeHospitalizedDoc().getPresentLabel().getText());
|
|
|
+ if (StringUtil.isNotBlank(structureMap.get("现病史"))) {
|
|
|
+ putContent(similarContent, structureMap.get("现病史"), inputInfo.getBeHospitalizedDoc().getPresentLabel().getText());
|
|
|
}
|
|
|
+// else if (firstCourseRecordDoc.getCaseCharacteristicLabel() != null && StringUtil.isNotBlank(firstCourseRecordDoc.getCaseCharacteristicLabel().getText())) {
|
|
|
+// //再从doc找病例特点
|
|
|
+// putContent(similarContent, firstCourseRecordDoc.getCaseCharacteristicLabel().getText(), inputInfo.getBeHospitalizedDoc().getPresentLabel().getText());
|
|
|
+// }
|
|
|
}
|
|
|
|
|
|
JSONObject midData = loadAI(crfContent, crfServiceClient);//crf返回数据
|