|
@ -516,11 +516,21 @@ public class JwPrescriptionService {
|
|
|
String followupContentPhone = "";//电话随访内容 -------
|
|
|
String followupManagerStatus = "";//随访管理状态【字典FOLLOWUP_MANAGER_STATUS】-------
|
|
|
String followupClass = json.getString("FAMILY_FOLLOWUP_CLASS_NAMES");//随访类别【1.高血压 2.糖尿病】
|
|
|
|
|
|
if (followupClass.contains("高血压") && followupClass.contains("糖尿病")) {
|
|
|
followupClass = "1,2";
|
|
|
}else if(followupClass.contains("高血压")){
|
|
|
followupClass= "1";
|
|
|
}else if(followupClass.contains("糖尿病")){
|
|
|
followupClass= "2";
|
|
|
}else{}
|
|
|
|
|
|
String visitWayCode = json.getString("VISIT_WAY_CODE");//随访来源 1.门诊,2.家庭,3.电话,4.健康小屋
|
|
|
String creater = "";//创建者
|
|
|
String creater = doctor.getCode();//创建者
|
|
|
followup.setStatus(followupStatus);
|
|
|
followup.setFollowupClass(followupClass);
|
|
|
followup.setFollowupType(visitWayCode);
|
|
|
followup.setCreater(creater);
|
|
|
|
|
|
//判断是否存在
|
|
|
sign = signFamilyDao.findByIdcard(idcard);
|