|
@@ -113,6 +113,9 @@ public class FirstCourseRecordAI extends ModelAI {
|
|
public void putCaseCharacteristicCrfData(JSONObject jsonObject, InputInfo inputInfo) {
|
|
public void putCaseCharacteristicCrfData(JSONObject jsonObject, InputInfo inputInfo) {
|
|
JSONObject aiOut = loadEntity(jsonObject, entityRelationObject, outputs, content);
|
|
JSONObject aiOut = loadEntity(jsonObject, entityRelationObject, outputs, content);
|
|
//使用现病史结构来处理病历特点
|
|
//使用现病史结构来处理病历特点
|
|
|
|
+ if (aiOut == null) {
|
|
|
|
+ return;
|
|
|
|
+ }
|
|
EntityProcessClinic entityProcessClinic = new EntityProcessClinic();
|
|
EntityProcessClinic entityProcessClinic = new EntityProcessClinic();
|
|
PresentLabel presentLabel = entityProcessClinic.extractEntity(aiOut);
|
|
PresentLabel presentLabel = entityProcessClinic.extractEntity(aiOut);
|
|
//临床表现
|
|
//临床表现
|
|
@@ -138,6 +141,9 @@ public class FirstCourseRecordAI extends ModelAI {
|
|
*/
|
|
*/
|
|
public void putInitialDiagCrfData(JSONObject jsonObject, InputInfo inputInfo) {
|
|
public void putInitialDiagCrfData(JSONObject jsonObject, InputInfo inputInfo) {
|
|
JSONObject aiOut = loadEntity(jsonObject, entityRelationObject, outputs, content);
|
|
JSONObject aiOut = loadEntity(jsonObject, entityRelationObject, outputs, content);
|
|
|
|
+ if (aiOut == null) {
|
|
|
|
+ return;
|
|
|
|
+ }
|
|
//诊断信息
|
|
//诊断信息
|
|
EntityProcessDiag entityProcessDiag = new EntityProcessDiag();
|
|
EntityProcessDiag entityProcessDiag = new EntityProcessDiag();
|
|
List<Diag> diags = entityProcessDiag.extractEntity(aiOut);
|
|
List<Diag> diags = entityProcessDiag.extractEntity(aiOut);
|
|
@@ -152,6 +158,9 @@ public class FirstCourseRecordAI extends ModelAI {
|
|
*/
|
|
*/
|
|
public void putDiagnosisCrfData(JSONObject jsonObject, InputInfo inputInfo) {
|
|
public void putDiagnosisCrfData(JSONObject jsonObject, InputInfo inputInfo) {
|
|
JSONObject aiOut = loadEntity(jsonObject, entityRelationObject, outputs, content);
|
|
JSONObject aiOut = loadEntity(jsonObject, entityRelationObject, outputs, content);
|
|
|
|
+ if (aiOut == null) {
|
|
|
|
+ return;
|
|
|
|
+ }
|
|
//使用现病史结构来处理诊断依据
|
|
//使用现病史结构来处理诊断依据
|
|
EntityProcessClinic entityProcessClinic = new EntityProcessClinic();
|
|
EntityProcessClinic entityProcessClinic = new EntityProcessClinic();
|
|
PresentLabel presentLabel = entityProcessClinic.extractEntity(aiOut);
|
|
PresentLabel presentLabel = entityProcessClinic.extractEntity(aiOut);
|
|
@@ -167,6 +176,9 @@ public class FirstCourseRecordAI extends ModelAI {
|
|
*/
|
|
*/
|
|
public void putDifferentialDiagCrfData(JSONObject jsonObject, InputInfo inputInfo) {
|
|
public void putDifferentialDiagCrfData(JSONObject jsonObject, InputInfo inputInfo) {
|
|
JSONObject aiOut = loadEntity(jsonObject, entityRelationObject, outputs, content);
|
|
JSONObject aiOut = loadEntity(jsonObject, entityRelationObject, outputs, content);
|
|
|
|
+ if (aiOut == null) {
|
|
|
|
+ return;
|
|
|
|
+ }
|
|
//诊断信息
|
|
//诊断信息
|
|
EntityProcessDiag entityProcessDiag = new EntityProcessDiag();
|
|
EntityProcessDiag entityProcessDiag = new EntityProcessDiag();
|
|
List<Diag> diags = entityProcessDiag.extractEntity(aiOut);
|
|
List<Diag> diags = entityProcessDiag.extractEntity(aiOut);
|
|
@@ -181,6 +193,9 @@ public class FirstCourseRecordAI extends ModelAI {
|
|
*/
|
|
*/
|
|
public void putTreatPlanCrfData(JSONObject jsonObject, InputInfo inputInfo) {
|
|
public void putTreatPlanCrfData(JSONObject jsonObject, InputInfo inputInfo) {
|
|
JSONObject aiOut = loadEntity(jsonObject, entityRelationObject, outputs, content);
|
|
JSONObject aiOut = loadEntity(jsonObject, entityRelationObject, outputs, content);
|
|
|
|
+ if (aiOut == null) {
|
|
|
|
+ return;
|
|
|
|
+ }
|
|
//诊疗计划
|
|
//诊疗计划
|
|
EntityProcessTreatPlan entityProcessTreatPlan = new EntityProcessTreatPlan();
|
|
EntityProcessTreatPlan entityProcessTreatPlan = new EntityProcessTreatPlan();
|
|
TreatPlanLabel treatPlanLabel = entityProcessTreatPlan.extractEntity(aiOut);
|
|
TreatPlanLabel treatPlanLabel = entityProcessTreatPlan.extractEntity(aiOut);
|