|
@@ -49,7 +49,7 @@ public class ViewController extends Controller {
|
|
|
OkHttpClient okHttpClient = new OkHttpClient();
|
|
|
StringBuilder sb = new StringBuilder();
|
|
|
sb.append("input=");
|
|
|
- sb.append(jsonObject.getString("studyuid"));
|
|
|
+ sb.append("1.2.194.0.108707908.20200417210047.1800.13206.257166");
|
|
|
|
|
|
RequestBody body = RequestBody.create(sb.toString(), MediaType.get("application/x-www-form-urlencoded"));
|
|
|
Request request = new Request.Builder().url(url).post(body).build();
|
|
@@ -60,7 +60,7 @@ public class ViewController extends Controller {
|
|
|
XmlHelper xmlHelper = XmlHelper.of(content);
|
|
|
String patientname = xmlHelper.getString("//patientname");
|
|
|
if (patientname == null && patientname == null) {
|
|
|
- this.renderText("nulllll");
|
|
|
+ this.renderText("null");
|
|
|
}
|
|
|
|
|
|
String department = xmlHelper.getString("//department");
|
|
@@ -83,9 +83,9 @@ public class ViewController extends Controller {
|
|
|
|
|
|
String diagnosis = xmlHelper.getString("//diagnosis");
|
|
|
aaString = phone+"~"+idcard+"~"+department+aaString;
|
|
|
- this.renderText(aaString);
|
|
|
+ this.renderText(department+"~"+clinicaldoctor+"~"+reportdate+"~"+description+"~"+impression+"~"+reportdoctor+"~"+reviewdoctor+"~"+phone+"~"+idcard+"~"+diagnosis);
|
|
|
Map<String, String> params = new HashMap<>();
|
|
|
- params.put("exam_id", jsonObject.getString("id"));
|
|
|
+ params.put("exam_id", "cnb5089doo6pm476");
|
|
|
// 报告医生姓名
|
|
|
params.put("report_doctor_name", reportdoctor);
|
|
|
// 报告时间
|