|
@ -21,6 +21,7 @@ import com.yihu.wlyy.service.app.account.PatientInfoService;
|
|
import com.yihu.wlyy.service.app.health.PatientHealthIndexService;
|
|
import com.yihu.wlyy.service.app.health.PatientHealthIndexService;
|
|
import com.yihu.wlyy.service.app.team.AdminTeamService;
|
|
import com.yihu.wlyy.service.app.team.AdminTeamService;
|
|
import com.yihu.wlyy.service.specialist.SpecialistService;
|
|
import com.yihu.wlyy.service.specialist.SpecialistService;
|
|
|
|
import com.yihu.wlyy.service.specialist.rehabilitation.RehabilitationManageService;
|
|
import com.yihu.wlyy.util.DateUtil;
|
|
import com.yihu.wlyy.util.DateUtil;
|
|
import com.yihu.wlyy.util.IdCardUtil;
|
|
import com.yihu.wlyy.util.IdCardUtil;
|
|
import org.apache.commons.collections.map.HashedMap;
|
|
import org.apache.commons.collections.map.HashedMap;
|
|
@ -84,6 +85,8 @@ public class SignPatientLabelInfoService extends BaseService {
|
|
PatientHealthIndexService patientHealthIndexService;
|
|
PatientHealthIndexService patientHealthIndexService;
|
|
@Autowired
|
|
@Autowired
|
|
SpecialistService specialistService;
|
|
SpecialistService specialistService;
|
|
|
|
@Autowired
|
|
|
|
RehabilitationManageService rehabilitationManageService;
|
|
|
|
|
|
private final Logger logger = LoggerFactory.getLogger(this.getClass());
|
|
private final Logger logger = LoggerFactory.getLogger(this.getClass());
|
|
|
|
|
|
@ -273,7 +276,13 @@ public class SignPatientLabelInfoService extends BaseService {
|
|
}else{
|
|
}else{
|
|
json.put("isSpecialist",0);
|
|
json.put("isSpecialist",0);
|
|
}
|
|
}
|
|
|
|
|
|
|
|
//1.5.0 是否有康复计划
|
|
|
|
JSONArray planList = rehabilitationManageService.planListByPatient(patient);
|
|
|
|
if(planList!=null&&planList.length()>0){
|
|
|
|
json.put("havePlan",1);
|
|
|
|
}else{
|
|
|
|
json.put("havePlan",0);
|
|
|
|
}
|
|
return json;
|
|
return json;
|
|
}
|
|
}
|
|
|
|
|