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

项目:AvoinApotti    文件:TriageImpl.java   
public TriageProtocolAssessmentForTriageVoCollection listOtherProblems(CareContextRefVo careContext) 
{
    if(careContext == null || careContext.getID_CareContext() == null)
        throw new CodingRuntimeException("Cannot list other problems for a null Care Context Id.");

    DomainFactory factory = getDomainFactory();
    String query = "select tpa from TriageProtocolAssessment as tpa left join tpa.attendance as cc where cc.id = :CareContextId and (tpa.isMain is null or tpa.isMain = 0) ";

    List<?> otherProblems = factory.find(query, new String[] {"CareContextId"}, new Object[] {careContext.getID_CareContext()});

    return TriageProtocolAssessmentForTriageVoAssembler.createTriageProtocolAssessmentForTriageVoCollectionFromTriageProtocolAssessment(otherProblems);
}
项目:openMAXIMS    文件:TriageImpl.java   
public TriageProtocolAssessmentForTriageVoCollection listOtherProblems(CareContextRefVo careContext) 
{
    if(careContext == null || careContext.getID_CareContext() == null)
        throw new CodingRuntimeException("Cannot list other problems for a null Care Context Id.");

    DomainFactory factory = getDomainFactory();
    String query = "select tpa from TriageProtocolAssessment as tpa left join tpa.attendance as cc where cc.id = :CareContextId and (tpa.isMain is null or tpa.isMain = 0) ";

    List<?> otherProblems = factory.find(query, new String[] {"CareContextId"}, new Object[] {careContext.getID_CareContext()});

    return TriageProtocolAssessmentForTriageVoAssembler.createTriageProtocolAssessmentForTriageVoCollectionFromTriageProtocolAssessment(otherProblems);
}
项目:openMAXIMS    文件:TriageImpl.java   
public TriageProtocolAssessmentForTriageVoCollection listOtherProblems(CareContextRefVo careContext) 
{
    if(careContext == null || careContext.getID_CareContext() == null)
        throw new CodingRuntimeException("Cannot list other problems for a null Care Context Id.");

    DomainFactory factory = getDomainFactory();
    String query = "select tpa from TriageProtocolAssessment as tpa left join tpa.attendance as cc where cc.id = :CareContextId and (tpa.isMain is null or tpa.isMain = 0) ";

    List<?> otherProblems = factory.find(query, new String[] {"CareContextId"}, new Object[] {careContext.getID_CareContext()});

    return TriageProtocolAssessmentForTriageVoAssembler.createTriageProtocolAssessmentForTriageVoCollectionFromTriageProtocolAssessment(otherProblems);
}
项目:openmaxims-linux    文件:TriageImpl.java   
public TriageProtocolAssessmentForTriageVoCollection listOtherProblems(CareContextRefVo careContext) 
{
    if(careContext == null || careContext.getID_CareContext() == null)
        throw new CodingRuntimeException("Cannot list other problems for a null Care Context Id.");

    DomainFactory factory = getDomainFactory();
    String query = "select tpa from TriageProtocolAssessment as tpa left join tpa.attendance as cc where cc.id = :CareContextId and (tpa.isMain is null or tpa.isMain = 0) ";

    List<?> otherProblems = factory.find(query, new String[] {"CareContextId"}, new Object[] {careContext.getID_CareContext()});

    return TriageProtocolAssessmentForTriageVoAssembler.createTriageProtocolAssessmentForTriageVoCollectionFromTriageProtocolAssessment(otherProblems);
}