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

项目:AvoinApotti    文件:TriageProtocolAssessmentImpl.java   
public EmergencyEpisodeForTriageLiteVo getEmergencyEpisode(EpisodeOfCareRefVo episodeOfCare)
{
    if (episodeOfCare == null || episodeOfCare.getID_EpisodeOfCare() == null)
        return null;

    String query = "SELECT emerEpisode FROM EmergencyEpisode AS emerEpisode LEFT JOIN emerEpisode.episodeOfCare AS epis WHERE epis.id = :EPIS";

    return EmergencyEpisodeForTriageLiteVoAssembler.create((EmergencyEpisode) getDomainFactory().findFirst(query, "EPIS", episodeOfCare.getID_EpisodeOfCare()));
}
项目:openMAXIMS    文件:TriageProtocolAssessmentImpl.java   
public EmergencyEpisodeForTriageLiteVo getEmergencyEpisode(EpisodeOfCareRefVo episodeOfCare)
{
    if (episodeOfCare == null || episodeOfCare.getID_EpisodeOfCare() == null)
        return null;

    String query = "SELECT emerEpisode FROM EmergencyEpisode AS emerEpisode LEFT JOIN emerEpisode.episodeOfCare AS epis WHERE epis.id = :EPIS";

    return EmergencyEpisodeForTriageLiteVoAssembler.create((EmergencyEpisode) getDomainFactory().findFirst(query, "EPIS", episodeOfCare.getID_EpisodeOfCare()));
}
项目:openMAXIMS    文件:TriageProtocolAssessmentImpl.java   
public EmergencyEpisodeForTriageLiteVo getEmergencyEpisode(EpisodeOfCareRefVo episodeOfCare)
{
    if (episodeOfCare == null || episodeOfCare.getID_EpisodeOfCare() == null)
        return null;

    String query = "SELECT emerEpisode FROM EmergencyEpisode AS emerEpisode LEFT JOIN emerEpisode.episodeOfCare AS epis WHERE epis.id = :EPIS";

    return EmergencyEpisodeForTriageLiteVoAssembler.create((EmergencyEpisode) getDomainFactory().findFirst(query, "EPIS", episodeOfCare.getID_EpisodeOfCare()));
}
项目:openmaxims-linux    文件:TriageProtocolAssessmentImpl.java   
public EmergencyEpisodeForTriageLiteVo getEmergencyEpisode(EpisodeOfCareRefVo episodeOfCare)
{
    if (episodeOfCare == null || episodeOfCare.getID_EpisodeOfCare() == null)
        return null;

    String query = "SELECT emerEpisode FROM EmergencyEpisode AS emerEpisode LEFT JOIN emerEpisode.episodeOfCare AS epis WHERE epis.id = :EPIS";

    return EmergencyEpisodeForTriageLiteVoAssembler.create((EmergencyEpisode) getDomainFactory().findFirst(query, "EPIS", episodeOfCare.getID_EpisodeOfCare()));
}