public ims.emergency.vo.AttendanceKPIConfigForClinicianWorklistVo getAttendanceKPIConfigForClinicianWorklist(ims.framework.interfaces.ILocation edLocation) { if(edLocation == null) throw new CodingRuntimeException("Cannot get AttendanceKPIConfig for a null EDLocation Id."); DomainFactory factory = getDomainFactory(); String query = "select kpi from AttendanceKPIConfig as kpi left join kpi.eDLocation as loc where loc.id = :EDLoc"; List<?> list = factory.find(query, new String[] {"EDLoc"}, new Object[] {edLocation.getID()}); if(list == null || list.size() == 0) return null; return AttendanceKPIConfigForClinicianWorklistVoAssembler.create((AttendanceKPIConfig) list.get(0)); }
public AttendanceKPIConfigForClinicianWorklistVo getAttendanceKPIConfigForClinicianWorklist(ILocation edLocation) { if(edLocation == null) throw new CodingRuntimeException("Cannot get AttendanceKPIConfig for a null EDLocation Id."); DomainFactory factory = getDomainFactory(); String query = "select kpi from AttendanceKPIConfig as kpi left join kpi.eDLocation as loc where loc.id = :EDLoc"; List<?> list = factory.find(query, new String[] {"EDLoc"}, new Object[] {edLocation.getID()}); if(list == null || list.size() == 0) return null; return AttendanceKPIConfigForClinicianWorklistVoAssembler.create((AttendanceKPIConfig) list.get(0)); }
public ims.emergency.vo.AttendanceKPIConfigForClinicianWorklistVo getAttendanceKPIConfigForClinicianWorklist(ims.framework.interfaces.ILocation edLocation) { if(edLocation == null) throw new CodingRuntimeException("Cannot get AttendanceKPIConfig for a null EDLocation Id."); DomainFactory factory = getDomainFactory(); String query = "select kpi from AttendanceKPIConfig as kpi where kpi.eDLocation.id = :EDLoc"; List<?> list = factory.find(query, new String[] {"EDLoc"}, new Object[] {edLocation.getID()}); if(list == null || list.size() == 0) return null; return AttendanceKPIConfigForClinicianWorklistVoAssembler.create((AttendanceKPIConfig) list.get(0)); }