|
@@ -64,6 +64,8 @@ public class DataTask implements ITask {
|
|
|
String phone = xmlHelper.getString("//phone ");
|
|
|
|
|
|
String idcard = xmlHelper.getString("//idcard ");
|
|
|
+
|
|
|
+ String diagnosis = xmlHelper.getString("//diagnosis");
|
|
|
|
|
|
Map<String, String> params = new HashMap<>();
|
|
|
params.put("exam_id", jsonObject.getString("id"));
|
|
@@ -89,16 +91,16 @@ public class DataTask implements ITask {
|
|
|
// 申请医生
|
|
|
params.put("application_doctor", clinicaldoctor);
|
|
|
// 临床诊断
|
|
|
- params.put("clin_diag", "");
|
|
|
+ params.put("clin_diag", diagnosis);
|
|
|
// 症状
|
|
|
params.put("clin_symp", "");
|
|
|
// patient_infos表
|
|
|
// 患者姓名
|
|
|
params.put("name", patientname);
|
|
|
// 患者手机号
|
|
|
- params.put("phone", phone);
|
|
|
+ params.put("phone", phone==null?"":phone);
|
|
|
// 患者身份证号
|
|
|
- params.put("card_num", idcard);
|
|
|
+ params.put("card_num", idcard==null?"":idcard);
|
|
|
params.put("report_result", "0");
|
|
|
ThreadPoolService tService = ServiceFactory.getService(ThreadPoolService.class);
|
|
|
tService.execute(() -> {
|