public PatientProcedureShortListVoCollection listProceduresByCareContext(CareContextRefVo careContextRefVo) { if(careContextRefVo == null) throw new DomainRuntimeException("Invalid Care Context Ref"); DomainFactory factory = getDomainFactory(); StringBuffer hql = new StringBuffer("from PatientProcedure p "); hql.append(" where p.careContext.id = " + careContextRefVo.getID_CareContext()); return PatientProcedureShortListVoAssembler.createPatientProcedureShortListVoCollectionFromPatientProcedure(factory.find(hql.toString())); }
public PatientProcedureShortListVoCollection listProceduresByEpisodeOfCareShortList(EpisodeOfCareRefVo episodeOfCareRefVo) { if(episodeOfCareRefVo == null) throw new DomainRuntimeException("Invalid Care Context Ref"); DomainFactory factory = getDomainFactory(); StringBuffer hql = new StringBuffer("from PatientProcedure p "); hql.append(" where p.careContext.episodeOfCare.id = " + episodeOfCareRefVo.getID_EpisodeOfCare()); return PatientProcedureShortListVoAssembler.createPatientProcedureShortListVoCollectionFromPatientProcedure(factory.find(hql.toString())); }
/** * listProcedure by clinical contact */ public ims.core.vo.PatientProcedureShortListVoCollection listProcedure(ims.core.admin.vo.ClinicalContactRefVo clinicalContactRefVo) { List list = listProcedures(clinicalContactRefVo, null); return PatientProcedureShortListVoAssembler.createPatientProcedureShortListVoCollectionFromPatientProcedure(list); }
public PatientProcedureShortListVoCollection listProcedureShortListVoByPatient(PatientRefVo patient) { List list = listProcedures(null, patient, null); return PatientProcedureShortListVoAssembler.createPatientProcedureShortListVoCollectionFromPatientProcedure(list); }