|
@@ -246,24 +246,26 @@ public class WeixinService {
|
|
|
|
|
|
case LOCAL_EXAM_FINISH:
|
|
|
{
|
|
|
- String urlString = "https://wechat.pacsonline.cn/wx_patient/web/remoteDiagnosis?appId=" + ApiConfigKit.getAppId();
|
|
|
JSONObject contentJson = JSON.parseObject(content);
|
|
|
String name = contentJson.getString("name");
|
|
|
String modality = contentJson.getString("modality");
|
|
|
String status = contentJson.getString("status");
|
|
|
+ String study_id = contentJson.getString("study_id");
|
|
|
String template_id = LOCAL_EXAM_FINISH_TEMPLATE_ID.get(source);
|
|
|
+ String urlString = "https://wechat.pacsonline.cn/wx_patient/web/examPortrait?study_id=" + study_id;
|
|
|
apiResult = sendLocalExamFinishMsg(openid, urlString, name, modality, status, template_id);
|
|
|
}
|
|
|
break;
|
|
|
|
|
|
case LOCAL_REPORT_FINISH:
|
|
|
{
|
|
|
- String urlString = "https://wechat.pacsonline.cn/wx_patient/web/remoteDiagnosis?appId=" + ApiConfigKit.getAppId();
|
|
|
JSONObject contentJson = JSON.parseObject(content);
|
|
|
String name = contentJson.getString("modality");
|
|
|
String modality = contentJson.getString("name");
|
|
|
String eaxmDate = contentJson.getString("eaxmDate");
|
|
|
+ String report_id = contentJson.getString("report_id");
|
|
|
String template_id = LOCAL_REPORT_FINISH_TEMPLATE_ID.get(source);
|
|
|
+ String urlString = "https://wechat.pacsonline.cn/wx_patient/web/localReport?report_id=" + report_id;
|
|
|
apiResult = sendLocalReportFinishMsg(openid, urlString, modality, name, eaxmDate, template_id);
|
|
|
}
|
|
|
break;
|