|
@@ -35,7 +35,7 @@ public class DataTask implements ITask {
|
|
|
}
|
|
|
Map<String, String> params = new HashMap<>();
|
|
|
//1:exam_id 2:patient_num 3:accession_num 4:study_uid
|
|
|
- params.put("type", jsonObject.getString("1"));
|
|
|
+ params.put("type", "1");
|
|
|
|
|
|
params.put("institution_id", PropKit.get("institution_id"));
|
|
|
|
|
@@ -62,18 +62,18 @@ public class DataTask implements ITask {
|
|
|
//申请医生
|
|
|
params.put("application_doctor", record.getStr("CLINICALDOCTOR"));
|
|
|
//临床诊断
|
|
|
- params.put("clin_diag", "");
|
|
|
+ params.put("clin_diag", record.getStr("clin_diag")==null?"":record.getStr("clin_diag"));
|
|
|
//症状
|
|
|
- params.put("clin_symp", "");
|
|
|
+ params.put("clin_symp", record.getStr("clin_symp")==null?"":record.getStr("clin_symp"));
|
|
|
//patient_infos表
|
|
|
//患者姓名
|
|
|
params.put("name", record.getStr("PATIENTNAME"));
|
|
|
//患者手机号
|
|
|
- params.put("phone", "");
|
|
|
+ params.put("phone", record.getStr("phone")==null?"":record.getStr("phone"));
|
|
|
//患者身份证号
|
|
|
params.put("card_num", record.getStr("IDCARD"));
|
|
|
//检查结果1阴2阳
|
|
|
- params.put("report_result", "0");
|
|
|
+ params.put("report_result", record.getStr("result").contains("阳")?"2":"1");
|
|
|
//住院号
|
|
|
// params.put("hopitalized_no", record.getStr("patientNumber"));
|
|
|
//门诊号
|