|
@@ -313,18 +313,28 @@ public class GraphCalculate {
|
|
|
shiFouJson.put("details", shiFouList);
|
|
|
medicalIndicationDetail3.setContent(shiFouJson);
|
|
|
medicalIndicationDetailList.add(medicalIndicationDetail1);
|
|
|
- Map<String, Object> maps = scaleCalcMethod(medicalIndicationDetail2);
|
|
|
+ //Map<String, Object> maps = scaleCalcMethod(medicalIndicationDetail2);
|
|
|
JSONObject resultJson = new JSONObject();
|
|
|
- resultJson.put("value", maps.get("value"));
|
|
|
+ JSONArray resultList = new JSONArray();
|
|
|
+ JSONObject result = new JSONObject();
|
|
|
+ result.put("text", "");
|
|
|
+ result.put("name", "GFR值");
|
|
|
+ resultList.add(result);
|
|
|
+ result = new JSONObject();
|
|
|
+ result.put("text", "");
|
|
|
+ result.put("name", "评估结论");
|
|
|
+ resultList.add(result);
|
|
|
+ /*resultJson.put("value", maps.get("value"));
|
|
|
resultJson.put("unit", maps.get("unit"));
|
|
|
resultJson.put("text", maps.get("text"));
|
|
|
- gongshiJson.put("result", resultJson);
|
|
|
+ gongshiJson.put("result", resultJson);*/
|
|
|
+ gongshiJson.put("result", resultList);
|
|
|
medicalIndicationDetail2.setContent(gongshiJson);
|
|
|
medicalIndicationDetailList.add(medicalIndicationDetail2);
|
|
|
medicalIndicationDetailList.add(medicalIndicationDetail3);
|
|
|
medicalIndication.setDetails(medicalIndicationDetailList);
|
|
|
- }else {
|
|
|
- medicalIndication =null;
|
|
|
+ } else {
|
|
|
+ medicalIndication = null;
|
|
|
}
|
|
|
return medicalIndication;
|
|
|
}
|