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

项目:AvoinApotti    文件:MDTNotesImpl.java   
public MDTMeetingLiteVoCollection listMDTMeeting(PatientRefVo patient, CareContextRefVo careContext)
{
    if (patient == null || careContext == null)
        throw new CodingRuntimeException("Patient or CareContext are mandatory");

    StringBuilder query = new StringBuilder();

    query.append("SELECT mdtMeeting FROM MDTMeeting AS mdtMeeting ");
    query.append("WHERE mdtMeeting.careContext.id = :CARE_CONTEXT ");
    query.append("ORDER BY mdtMeeting.mDTMeetingDate DESC, mdtMeeting.systemInformation.creationDateTime DESC ");

    return MDTMeetingLiteVoAssembler.createMDTMeetingLiteVoCollectionFromMDTMeeting(getDomainFactory().find(query.toString(), "CARE_CONTEXT", careContext.getID_CareContext()));
}
项目:openMAXIMS    文件:MDTNotesImpl.java   
public MDTMeetingLiteVoCollection listMDTMeeting(PatientRefVo patient, CareContextRefVo careContext)
{
    if (patient == null || careContext == null)
        throw new CodingRuntimeException("Patient or CareContext are mandatory");

    StringBuilder query = new StringBuilder();

    query.append("SELECT mdtMeeting FROM MDTMeeting AS mdtMeeting ");
    query.append("WHERE mdtMeeting.careContext.id = :CARE_CONTEXT ");
    query.append("ORDER BY mdtMeeting.mDTMeetingDate DESC, mdtMeeting.systemInformation.creationDateTime DESC ");

    return MDTMeetingLiteVoAssembler.createMDTMeetingLiteVoCollectionFromMDTMeeting(getDomainFactory().find(query.toString(), "CARE_CONTEXT", careContext.getID_CareContext()));
}
项目:openMAXIMS    文件:MDTNotesImpl.java   
public MDTMeetingLiteVoCollection listMDTMeeting(PatientRefVo patient, CareContextRefVo careContext)
{
    if (patient == null || careContext == null)
        throw new CodingRuntimeException("Patient or CareContext are mandatory");

    StringBuilder query = new StringBuilder();

    query.append("SELECT mdtMeeting FROM MDTMeeting AS mdtMeeting ");
    query.append("WHERE mdtMeeting.careContext.id = :CARE_CONTEXT ");
    query.append("ORDER BY mdtMeeting.mDTMeetingDate DESC, mdtMeeting.systemInformation.creationDateTime DESC ");

    return MDTMeetingLiteVoAssembler.createMDTMeetingLiteVoCollectionFromMDTMeeting(getDomainFactory().find(query.toString(), "CARE_CONTEXT", careContext.getID_CareContext()));
}
项目:openmaxims-linux    文件:MDTNotesImpl.java   
public MDTMeetingLiteVoCollection listMDTMeeting(PatientRefVo patient, CareContextRefVo careContext)
{
    if (patient == null || careContext == null)
        throw new CodingRuntimeException("Patient or CareContext are mandatory");

    StringBuilder query = new StringBuilder();

    query.append("SELECT mdtMeeting FROM MDTMeeting AS mdtMeeting ");
    query.append("WHERE mdtMeeting.careContext.id = :CARE_CONTEXT ");
    query.append("ORDER BY mdtMeeting.mDTMeetingDate DESC, mdtMeeting.systemInformation.creationDateTime DESC ");

    return MDTMeetingLiteVoAssembler.createMDTMeetingLiteVoCollectionFromMDTMeeting(getDomainFactory().find(query.toString(), "CARE_CONTEXT", careContext.getID_CareContext()));
}