Java 类ims.emergency.vo.domain.AttendanceKPIConfigForClinicianAndTriageWorklistVoAssembler 实例源码

项目:AvoinApotti    文件:EDWorklistToAssessmentFormImpl.java   
public AttendanceKPIConfigForClinicianAndTriageWorklistVo getAttendanceKPIConfigForTriage(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 AttendanceKPIConfigForClinicianAndTriageWorklistVoAssembler.create((AttendanceKPIConfig) list.get(0));

}
项目:openMAXIMS    文件:EDWorklistToAssessmentFormImpl.java   
public AttendanceKPIConfigForClinicianAndTriageWorklistVo getAttendanceKPIConfigForTriage(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 AttendanceKPIConfigForClinicianAndTriageWorklistVoAssembler.create((AttendanceKPIConfig) list.get(0));

}
项目:openMAXIMS    文件:EDWorklistToAssessmentFormImpl.java   
public AttendanceKPIConfigForClinicianAndTriageWorklistVo getAttendanceKPIConfigForTriage(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 AttendanceKPIConfigForClinicianAndTriageWorklistVoAssembler.create((AttendanceKPIConfig) list.get(0));

}
项目:openmaxims-linux    文件:EDWorklistToAssessmentFormImpl.java   
public AttendanceKPIConfigForClinicianAndTriageWorklistVo getAttendanceKPIConfigForTriage(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 AttendanceKPIConfigForClinicianAndTriageWorklistVoAssembler.create((AttendanceKPIConfig) list.get(0));

}