Java 类ims.clinical.vo.domain.SurgeryDetailsListVoAssembler 实例源码

项目:AvoinApotti    文件:TheatreSessionImpl.java   
/**
* listSurgeryDetails
*/

public SurgeryDetailsListVoCollection listSurgeryDetails(EpisodeOfCareRefVo episodeOfCare)
{
    if (episodeOfCare == null || !episodeOfCare.getID_EpisodeOfCareIsNotNull())
        throw new DomainRuntimeException("Can not search for surgery details after a null or invalid episode of care");

    DomainFactory factory = getDomainFactory();
    String hql = "from SurgeryDetails sd where sd.episodeOfCare.id = " + episodeOfCare.getID_EpisodeOfCare();

    return SurgeryDetailsListVoAssembler.createSurgeryDetailsListVoCollectionFromSurgeryDetails((factory.find(hql))).sort();
}
项目:openMAXIMS    文件:TheatreSessionImpl.java   
/**
* listSurgeryDetails
*/

public SurgeryDetailsListVoCollection listSurgeryDetails(EpisodeOfCareRefVo episodeOfCare)
{
    if (episodeOfCare == null || !episodeOfCare.getID_EpisodeOfCareIsNotNull())
        throw new DomainRuntimeException("Can not search for surgery details after a null or invalid episode of care");

    DomainFactory factory = getDomainFactory();
    String hql = "from SurgeryDetails sd where sd.episodeOfCare.id = " + episodeOfCare.getID_EpisodeOfCare();

    return SurgeryDetailsListVoAssembler.createSurgeryDetailsListVoCollectionFromSurgeryDetails((factory.find(hql))).sort();
}
项目:openMAXIMS    文件:TheatreSessionImpl.java   
/**
* listSurgeryDetails
*/

public SurgeryDetailsListVoCollection listSurgeryDetails(EpisodeOfCareRefVo episodeOfCare)
{
    if (episodeOfCare == null || !episodeOfCare.getID_EpisodeOfCareIsNotNull())
        throw new DomainRuntimeException("Can not search for surgery details after a null or invalid episode of care");

    DomainFactory factory = getDomainFactory();
    String hql = "from SurgeryDetails sd where sd.episodeOfCare.id = " + episodeOfCare.getID_EpisodeOfCare();

    return SurgeryDetailsListVoAssembler.createSurgeryDetailsListVoCollectionFromSurgeryDetails((factory.find(hql))).sort();
}
项目:openmaxims-linux    文件:TheatreSessionImpl.java   
/**
* listSurgeryDetails
*/

public SurgeryDetailsListVoCollection listSurgeryDetails(EpisodeOfCareRefVo episodeOfCare)
{
    if (episodeOfCare == null || !episodeOfCare.getID_EpisodeOfCareIsNotNull())
        throw new DomainRuntimeException("Can not search for surgery details after a null or invalid episode of care");

    DomainFactory factory = getDomainFactory();
    String hql = "from SurgeryDetails sd where sd.episodeOfCare.id = " + episodeOfCare.getID_EpisodeOfCare();

    return SurgeryDetailsListVoAssembler.createSurgeryDetailsListVoCollectionFromSurgeryDetails((factory.find(hql))).sort();
}