|
@ -272,6 +272,25 @@ public class PresModeAdapter {
|
|
}
|
|
}
|
|
JSONArray jsonArrayDt = new JSONArray();
|
|
JSONArray jsonArrayDt = new JSONArray();
|
|
jsonArrayDt.add(diagnosis);
|
|
jsonArrayDt.add(diagnosis);
|
|
|
|
|
|
|
|
if(mode.getString("DIAGNOSE_SUB_CODE")!=null){
|
|
|
|
JSONObject diagnosisSub = new JSONObject();
|
|
|
|
String diagnoseCodeSub = mode.getString("DIAGNOSE_SUB_CODE");
|
|
|
|
String diagnoseNameSub = mode.getString("DIAGNOSE_SUB_NAME");
|
|
|
|
diagnosisSub.put("code",diagnoseCodeSub);//诊断代码
|
|
|
|
diagnosisSub.put("name",diagnoseNameSub);//诊断名称
|
|
|
|
String icd10Sub = icd10DictServcie.getHealthProblemsByIcd10Code(diagnoseCodeSub);
|
|
|
|
if(!StringUtils.isEmpty(icd10Sub)){
|
|
|
|
JSONObject icdSub = JSONObject.parseObject(icd10Sub);
|
|
|
|
diagnosisSub.put("healthProblemName",icdSub.getString("value"));//诊断名称
|
|
|
|
diagnosisSub.put("healthProblem",icdSub.getString("key"));//诊断代码
|
|
|
|
}else{
|
|
|
|
diagnosisSub.put("healthProblemName",diagnoseNameSub);//诊断名称
|
|
|
|
diagnosisSub.put("healthProblem",diagnoseCodeSub);//诊断代码
|
|
|
|
}
|
|
|
|
jsonArrayDt.add(diagnosisSub);
|
|
|
|
}
|
|
|
|
|
|
p.put("prescriptionDt",jsonArrayDt);
|
|
p.put("prescriptionDt",jsonArrayDt);
|
|
|
|
|
|
JSONArray infos = mode.getJSONArray("RECIPE_DETAIL");
|
|
JSONArray infos = mode.getJSONArray("RECIPE_DETAIL");
|