Java 类ims.nursing.vo.domain.ClinicalAdmissionListVoAssembler 实例源码

项目:AvoinApotti    文件:ClinicalAdmissionImpl.java   
public ClinicalAdmissionListVoCollection listClinicalAdmissions(PatientRefVo patientRefVo) 
{
    //WDEV-13846 Florin
    if(patientRefVo == null)
        throw new CodingRuntimeException("PatientRefVo Filter not provided for list call. ");

    DomainFactory factory = getDomainFactory();
    String hql = "from ClinicalAdmission ca where ca.careContext.episodeOfCare.careSpell.patient.id = :idPatient order by ca.systemInformation.creationDateTime desc";
    List<?> list = factory.find(hql, new String[] {"idPatient"}, new Object[] {patientRefVo.getID_Patient()});

    return ClinicalAdmissionListVoAssembler.createClinicalAdmissionListVoCollectionFromClinicalAdmission(list).sort();
}
项目:openMAXIMS    文件:ClinicalAdmissionImpl.java   
public ClinicalAdmissionListVoCollection listClinicalAdmissions(PatientRefVo patientRefVo) 
{
    //WDEV-13846 Florin
    if(patientRefVo == null)
        throw new CodingRuntimeException("PatientRefVo Filter not provided for list call. ");

    DomainFactory factory = getDomainFactory();
    String hql = "from ClinicalAdmission ca where ca.careContext.episodeOfCare.careSpell.patient.id = :idPatient order by ca.systemInformation.creationDateTime desc";
    List<?> list = factory.find(hql, new String[] {"idPatient"}, new Object[] {patientRefVo.getID_Patient()});

    return ClinicalAdmissionListVoAssembler.createClinicalAdmissionListVoCollectionFromClinicalAdmission(list).sort();
}
项目:openMAXIMS    文件:ClinicalAdmissionImpl.java   
public ClinicalAdmissionListVoCollection listClinicalAdmissions(PatientRefVo patientRefVo) 
{
    //WDEV-13846 Florin
    if(patientRefVo == null)
        throw new CodingRuntimeException("PatientRefVo Filter not provided for list call. ");

    DomainFactory factory = getDomainFactory();
    String hql = "from ClinicalAdmission ca where ca.careContext.episodeOfCare.careSpell.patient.id = :idPatient order by ca.systemInformation.creationDateTime desc";
    List<?> list = factory.find(hql, new String[] {"idPatient"}, new Object[] {patientRefVo.getID_Patient()});

    return ClinicalAdmissionListVoAssembler.createClinicalAdmissionListVoCollectionFromClinicalAdmission(list).sort();
}
项目:openmaxims-linux    文件:ClinicalAdmissionImpl.java   
public ClinicalAdmissionListVoCollection listClinicalAdmissions(PatientRefVo patientRefVo) 
{
    //WDEV-13846 Florin
    if(patientRefVo == null)
        throw new CodingRuntimeException("PatientRefVo Filter not provided for list call. ");

    DomainFactory factory = getDomainFactory();
    String hql = "from ClinicalAdmission ca where ca.careContext.episodeOfCare.careSpell.patient.id = :idPatient order by ca.systemInformation.creationDateTime desc";
    List<?> list = factory.find(hql, new String[] {"idPatient"}, new Object[] {patientRefVo.getID_Patient()});

    return ClinicalAdmissionListVoAssembler.createClinicalAdmissionListVoCollectionFromClinicalAdmission(list).sort();
}