|
@ -363,6 +363,7 @@ public class PrescriptionFollowupContentService extends BaseService {
|
|
|
//医生发送的消息
|
|
|
contentDoctor.put("text", "请提供您最近一次的血糖检测数值及检测时间");
|
|
|
contentDoctor.put("needUpload","false");
|
|
|
contentDoctor.put("isSendWxTemplate",false);//是否发送咨询回复的微信模板
|
|
|
contentDoctor.put("type",2);
|
|
|
|
|
|
//医生发送Im消息
|
|
@ -373,6 +374,7 @@ public class PrescriptionFollowupContentService extends BaseService {
|
|
|
contentPatient.put("tzMsg", "体征记录:血糖 "+imBloodSugarValue+"mmol/L");
|
|
|
contentPatient.put("tzTime", "检测时间:"+DateUtil.dateToStr(imBloodSugarDate,"yyyy-MM-dd HH:mm:ss"));
|
|
|
contentPatient.put("tzAlert","温馨提示:本条体征为居民上传的健康体征数据,您可以");
|
|
|
contentPatient.put("isSendWxTemplate",false);//是否发送咨询回复的微信模板
|
|
|
contentPatient.put("needUpload","false");
|
|
|
contentPatient.put("type",2);
|
|
|
|
|
@ -385,6 +387,7 @@ public class PrescriptionFollowupContentService extends BaseService {
|
|
|
//医生发送的消息
|
|
|
contentDoctor.put("text", "请提供您最近一次的血糖检测数值及检测时间");
|
|
|
contentDoctor.put("needUpload","true");
|
|
|
contentDoctor.put("isSendWxTemplate",true);//是否发送咨询回复的微信模板
|
|
|
contentDoctor.put("type",2);
|
|
|
//医生发送Im消息
|
|
|
ImUtill.sendTopicIM(prescription.getDoctor(), prescription.getDoctorName(), prescription.getConsult(), "16", contentDoctor.toString(), null);
|
|
@ -395,6 +398,7 @@ public class PrescriptionFollowupContentService extends BaseService {
|
|
|
contentPatient.put("tzTime", "检测时间:");
|
|
|
contentPatient.put("tzAlert","温馨提示:居民近30天未上传血糖体征数据,已通知居民上传数据,请耐心等待");
|
|
|
contentPatient.put("needUpload","true");
|
|
|
contentPatient.put("isSendWxTemplate",false);//是否发送咨询回复的微信模板
|
|
|
contentPatient.put("type",2);
|
|
|
|
|
|
//患者发送Im消息
|
|
@ -457,6 +461,7 @@ public class PrescriptionFollowupContentService extends BaseService {
|
|
|
//医生发送的消息
|
|
|
contentDoctor.put("text", "请提供您最近一次的血压检测数值及检测时间");
|
|
|
contentDoctor.put("needUpload","false");
|
|
|
contentDoctor.put("isSendWxTemplate",false);//是否发送咨询回复的微信模板
|
|
|
contentDoctor.put("type",1);
|
|
|
|
|
|
//医生发送Im消息
|
|
@ -468,6 +473,7 @@ public class PrescriptionFollowupContentService extends BaseService {
|
|
|
contentPatient.put("tzTime", "检测时间:"+jsonObject.getString("date"));
|
|
|
contentPatient.put("tzAlert","温馨提示:本条体征为居民上传的健康体征数据,您可以");
|
|
|
contentPatient.put("needUpload","false");
|
|
|
contentPatient.put("isSendWxTemplate",false);//是否发送咨询回复的微信模板
|
|
|
contentPatient.put("type",1);
|
|
|
|
|
|
//患者发送Im消息
|
|
@ -480,6 +486,7 @@ public class PrescriptionFollowupContentService extends BaseService {
|
|
|
//医生发送的消息
|
|
|
contentDoctor.put("text", "请提供您最近一次的血压检测数值及检测时间");
|
|
|
contentDoctor.put("needUpload","true");
|
|
|
contentDoctor.put("isSendWxTemplate",true);//是否发送咨询回复的微信模板
|
|
|
contentDoctor.put("type",1);
|
|
|
//医生发送Im消息
|
|
|
ImUtill.sendTopicIM(prescription.getDoctor(), prescription.getDoctorName(), prescription.getConsult(), "16", contentDoctor.toString(), null);
|
|
@ -490,6 +497,7 @@ public class PrescriptionFollowupContentService extends BaseService {
|
|
|
contentPatient.put("tzTime", "检测时间:");
|
|
|
contentPatient.put("tzAlert","温馨提示:居民近30天未上传血压体征数据,已通知居民上传数据,请耐心等待");
|
|
|
contentPatient.put("needUpload","true");
|
|
|
contentPatient.put("isSendWxTemplate",false);//是否发送咨询回复的微信模板
|
|
|
contentPatient.put("type",1);
|
|
|
|
|
|
//患者发送Im消息
|