Java 类ims.clinical.vo.DischargeReportDetailVoCollection 实例源码

项目:openMAXIMS    文件:DischargeSummaryScheduleImpl.java   
public void executeDSPrintReport(DischargeSummaryScheduleVo job)
{
    DischargeReportDetailVoCollection dischargeReportsDetails = null;

    do
    {
        dischargeReportsDetails = getPatientDocuments();

        if (dischargeReportsDetails != null && dischargeReportsDetails.size() > 0)
        {
            try
            {
                saveReports(dischargeReportsDetails, job, "Discharge Summary Report", DocumentCategory.DISCHARGE_SUMMARY);
            }
            catch (Exception e)
            {
                getDomainFactory().close();
                break;
            }
        }
    }
    while (getMorePatientDocuments);
}
项目:AvoinApotti    文件:EDischargeSTHKImpl.java   
public DischargeReportDetailVo getDischargeReportDetailsForCareContext( CareContextRefVo careContext) 
{
    if(careContext == null ||
            careContext.getID_CareContext() == null)
        throw new CodingRuntimeException("CareContext is null or id not provided for getDischargeDetailsForCareContext");   

    DomainFactory factory = getDomainFactory();
    List domainObjectList = factory.find("select drd from DischargeReportDetail as drd left join drd.careContext as cc where cc.id = :idCareContext", new String[]{"idCareContext"}, new Object[]{careContext.getID_CareContext()});
    DischargeReportDetailVoCollection reportDetail = DischargeReportDetailVoAssembler.createDischargeReportDetailVoCollectionFromDischargeReportDetail(domainObjectList);       

    return reportDetail != null && reportDetail.size() > 0 ? (reportDetail.get(0) != null ? reportDetail.get(0) : null) : null;
}
项目:AvoinApotti    文件:EDischargeListImpl.java   
public DischargeReportDetailVo getDischargeReportDetailsForCareContext(CareContextRefVo careContext)    
{
    if(careContext == null ||
            careContext.getID_CareContext() == null)
        throw new CodingRuntimeException("CareContext is null or id not provided for getDischargeDetailsForCareContext");   

    DomainFactory factory = getDomainFactory();
    List<?> domainObjectList = factory.find("select drd from DischargeReportDetail as drd left join drd.careContext as cc where cc.id = :idCareContext", new String[]{"idCareContext"}, new Object[]{careContext.getID_CareContext()});
    DischargeReportDetailVoCollection reportDetail = DischargeReportDetailVoAssembler.createDischargeReportDetailVoCollectionFromDischargeReportDetail(domainObjectList);       

    return reportDetail != null && reportDetail.size() > 0 ? (reportDetail.get(0) != null ? reportDetail.get(0) : null) : null;
}
项目:AvoinApotti    文件:EDischargeImpl.java   
public DischargeReportDetailVo getDischargeReportDetailsForCareContext( CareContextRefVo careContext) 
{
    if(careContext == null ||
            careContext.getID_CareContext() == null)
        throw new CodingRuntimeException("CareContext is null or id not provided for getDischargeDetailsForCareContext");   

    DomainFactory factory = getDomainFactory();
    List domainObjectList = factory.find("select drd from DischargeReportDetail as drd left join drd.careContext as cc where cc.id = :idCareContext", new String[]{"idCareContext"}, new Object[]{careContext.getID_CareContext()});
    DischargeReportDetailVoCollection reportDetail = DischargeReportDetailVoAssembler.createDischargeReportDetailVoCollectionFromDischargeReportDetail(domainObjectList);       

    return reportDetail != null && reportDetail.size() > 0 ? (reportDetail.get(0) != null ? reportDetail.get(0) : null) : null;
}
项目:AvoinApotti    文件:SurgicalOPNotesPostOpInstructionsCCImpl.java   
public DischargeReportDetailVo getDischargeReportDetailsForCareContext(CareContextRefVo careContext) 
{
    if(careContext == null ||
            careContext.getID_CareContext() == null)
        throw new CodingRuntimeException("CareContext is null or id not provided for getDischargeDetailsForCareContext");   

    DomainFactory factory = getDomainFactory();
    List domainObjectList = factory.find("select drd from DischargeReportDetail as drd left join drd.careContext as cc where cc.id = :idCareContext", new String[]{"idCareContext"}, new Object[]{careContext.getID_CareContext()});
    DischargeReportDetailVoCollection reportDetail = DischargeReportDetailVoAssembler.createDischargeReportDetailVoCollectionFromDischargeReportDetail(domainObjectList);       

    return reportDetail != null && reportDetail.size() > 0 ? (reportDetail.get(0) != null ? reportDetail.get(0) : null) : null;

}
项目:AvoinApotti    文件:EDischargePreViewComponentImpl.java   
public DischargeReportDetailVo getDischargeReportDetailsForCareContext(CareContextRefVo careContext)    
{
    if(careContext == null ||
            careContext.getID_CareContext() == null)
        throw new CodingRuntimeException("CareContext is null or id not provided for getDischargeDetailsForCareContext");   

    DomainFactory factory = getDomainFactory();
    List domainObjectList = factory.find("select drd from DischargeReportDetail as drd left join drd.careContext as cc where cc.id = :idCareContext", new String[]{"idCareContext"}, new Object[]{careContext.getID_CareContext()});
    DischargeReportDetailVoCollection reportDetail = DischargeReportDetailVoAssembler.createDischargeReportDetailVoCollectionFromDischargeReportDetail(domainObjectList);       

    return reportDetail != null && reportDetail.size() > 0 ? (reportDetail.get(0) != null ? reportDetail.get(0) : null) : null;
}
项目:AvoinApotti    文件:EDischargeSTHKListImpl.java   
public DischargeReportDetailVo getDischargeReportDetailsForCareContext(CareContextRefVo careContext)    
{
    if(careContext == null ||
            careContext.getID_CareContext() == null)
        throw new CodingRuntimeException("CareContext is null or id not provided for getDischargeDetailsForCareContext");   

    DomainFactory factory = getDomainFactory();
    List<?> domainObjectList = factory.find("select drd from DischargeReportDetail as drd left join drd.careContext as cc where cc.id = :idCareContext", new String[]{"idCareContext"}, new Object[]{careContext.getID_CareContext()});
    DischargeReportDetailVoCollection reportDetail = DischargeReportDetailVoAssembler.createDischargeReportDetailVoCollectionFromDischargeReportDetail(domainObjectList);       

    return reportDetail != null && reportDetail.size() > 0 ? (reportDetail.get(0) != null ? reportDetail.get(0) : null) : null;
}
项目:openMAXIMS    文件:DischargeSummaryScheduleImpl.java   
public DischargeReportDetailVoCollection listDischargesInBatches(DomainFactory factory, String careContextIDs)
{
    if (careContextIDs.length() > 0)
    {
        List domainObjectList = null;

        System.out.println("CareContext list ids : " + careContextIDs);
        domainObjectList = factory.find("select drd from DischargeReportDetail as drd left join drd.careContext as cc where cc.id in ( " + careContextIDs + " )",1100);
        System.out.println("Size of DischargeReportDetail list is " + domainObjectList.size());

        return DischargeReportDetailVoAssembler.createDischargeReportDetailVoCollectionFromDischargeReportDetail(domainObjectList);
    }
    return null;
}
项目:openMAXIMS    文件:DischargeSummaryScheduleImpl.java   
public void executeSUPPPrintReport(DischargeSummaryScheduleVo job) 
{           
    DischargeReportDetailVoCollection dischargeReportsDetails = getSuppPatientDocuments();
    if (dischargeReportsDetails != null && dischargeReportsDetails.size() > 0)
    {
        try
        {
            saveReports(dischargeReportsDetails, job, "Supplementary Report", DocumentCategory.DISCHARGE_SUPPLEMENTARY);
        }
        catch(Exception e)
        {
            getDomainFactory().close();                 
        }
    }       
}
项目:openMAXIMS    文件:EDischargeSTHKImpl.java   
public DischargeReportDetailVo getDischargeReportDetailsForCareContext( CareContextRefVo careContext) 
{
    if(careContext == null ||
            careContext.getID_CareContext() == null)
        throw new CodingRuntimeException("CareContext is null or id not provided for getDischargeDetailsForCareContext");   

    DomainFactory factory = getDomainFactory();
    List domainObjectList = factory.find("select drd from DischargeReportDetail as drd left join drd.careContext as cc where cc.id = :idCareContext", new String[]{"idCareContext"}, new Object[]{careContext.getID_CareContext()});
    DischargeReportDetailVoCollection reportDetail = DischargeReportDetailVoAssembler.createDischargeReportDetailVoCollectionFromDischargeReportDetail(domainObjectList);       

    return reportDetail != null && reportDetail.size() > 0 ? (reportDetail.get(0) != null ? reportDetail.get(0) : null) : null;
}
项目:openMAXIMS    文件:EDischargeListImpl.java   
public DischargeReportDetailVo getDischargeReportDetailsForCareContext(CareContextRefVo careContext)    
{
    if(careContext == null ||
            careContext.getID_CareContext() == null)
        throw new CodingRuntimeException("CareContext is null or id not provided for getDischargeDetailsForCareContext");   

    DomainFactory factory = getDomainFactory();
    List<?> domainObjectList = factory.find("select drd from DischargeReportDetail as drd left join drd.careContext as cc where cc.id = :idCareContext", new String[]{"idCareContext"}, new Object[]{careContext.getID_CareContext()});
    DischargeReportDetailVoCollection reportDetail = DischargeReportDetailVoAssembler.createDischargeReportDetailVoCollectionFromDischargeReportDetail(domainObjectList);       

    return reportDetail != null && reportDetail.size() > 0 ? (reportDetail.get(0) != null ? reportDetail.get(0) : null) : null;
}
项目:openMAXIMS    文件:EDischargeImpl.java   
public DischargeReportDetailVo getDischargeReportDetailsForCareContext( CareContextRefVo careContext) 
{
    if(careContext == null ||
            careContext.getID_CareContext() == null)
        throw new CodingRuntimeException("CareContext is null or id not provided for getDischargeDetailsForCareContext");   

    DomainFactory factory = getDomainFactory();
    List domainObjectList = factory.find("select drd from DischargeReportDetail as drd left join drd.careContext as cc where cc.id = :idCareContext", new String[]{"idCareContext"}, new Object[]{careContext.getID_CareContext()});
    DischargeReportDetailVoCollection reportDetail = DischargeReportDetailVoAssembler.createDischargeReportDetailVoCollectionFromDischargeReportDetail(domainObjectList);       

    return reportDetail != null && reportDetail.size() > 0 ? (reportDetail.get(0) != null ? reportDetail.get(0) : null) : null;
}
项目:openMAXIMS    文件:SurgicalOPNotesPostOpInstructionsCCImpl.java   
public DischargeReportDetailVo getDischargeReportDetailsForCareContext(CareContextRefVo careContext) 
{
    if(careContext == null ||
            careContext.getID_CareContext() == null)
        throw new CodingRuntimeException("CareContext is null or id not provided for getDischargeDetailsForCareContext");   

    DomainFactory factory = getDomainFactory();
    List domainObjectList = factory.find("select drd from DischargeReportDetail as drd left join drd.careContext as cc where cc.id = :idCareContext", new String[]{"idCareContext"}, new Object[]{careContext.getID_CareContext()});
    DischargeReportDetailVoCollection reportDetail = DischargeReportDetailVoAssembler.createDischargeReportDetailVoCollectionFromDischargeReportDetail(domainObjectList);       

    return reportDetail != null && reportDetail.size() > 0 ? (reportDetail.get(0) != null ? reportDetail.get(0) : null) : null;

}
项目:openMAXIMS    文件:EDischargePreViewComponentImpl.java   
public DischargeReportDetailVo getDischargeReportDetailsForCareContext(CareContextRefVo careContext)    
{
    if(careContext == null ||
            careContext.getID_CareContext() == null)
        throw new CodingRuntimeException("CareContext is null or id not provided for getDischargeDetailsForCareContext");   

    DomainFactory factory = getDomainFactory();
    List domainObjectList = factory.find("select drd from DischargeReportDetail as drd left join drd.careContext as cc where cc.id = :idCareContext", new String[]{"idCareContext"}, new Object[]{careContext.getID_CareContext()});
    DischargeReportDetailVoCollection reportDetail = DischargeReportDetailVoAssembler.createDischargeReportDetailVoCollectionFromDischargeReportDetail(domainObjectList);       

    return reportDetail != null && reportDetail.size() > 0 ? (reportDetail.get(0) != null ? reportDetail.get(0) : null) : null;
}
项目:openMAXIMS    文件:EDischargeSTHKListImpl.java   
public DischargeReportDetailVo getDischargeReportDetailsForCareContext(CareContextRefVo careContext)    
{
    if(careContext == null ||
            careContext.getID_CareContext() == null)
        throw new CodingRuntimeException("CareContext is null or id not provided for getDischargeDetailsForCareContext");   

    DomainFactory factory = getDomainFactory();
    List<?> domainObjectList = factory.find("select drd from DischargeReportDetail as drd left join drd.careContext as cc where cc.id = :idCareContext", new String[]{"idCareContext"}, new Object[]{careContext.getID_CareContext()});
    DischargeReportDetailVoCollection reportDetail = DischargeReportDetailVoAssembler.createDischargeReportDetailVoCollectionFromDischargeReportDetail(domainObjectList);       

    return reportDetail != null && reportDetail.size() > 0 ? (reportDetail.get(0) != null ? reportDetail.get(0) : null) : null;
}
项目:openMAXIMS    文件:EDischargeSTHKImpl.java   
public DischargeReportDetailVo getDischargeReportDetailsForCareContext( CareContextRefVo careContext) 
{
    if(careContext == null ||
            careContext.getID_CareContext() == null)
        throw new CodingRuntimeException("CareContext is null or id not provided for getDischargeDetailsForCareContext");   

    DomainFactory factory = getDomainFactory();
    List domainObjectList = factory.find("select drd from DischargeReportDetail as drd left join drd.careContext as cc where cc.id = :idCareContext", new String[]{"idCareContext"}, new Object[]{careContext.getID_CareContext()});
    DischargeReportDetailVoCollection reportDetail = DischargeReportDetailVoAssembler.createDischargeReportDetailVoCollectionFromDischargeReportDetail(domainObjectList);       

    return reportDetail != null && reportDetail.size() > 0 ? (reportDetail.get(0) != null ? reportDetail.get(0) : null) : null;
}
项目:openMAXIMS    文件:EDischargeListImpl.java   
public DischargeReportDetailVo getDischargeReportDetailsForCareContext(CareContextRefVo careContext)    
{
    if(careContext == null ||
            careContext.getID_CareContext() == null)
        throw new CodingRuntimeException("CareContext is null or id not provided for getDischargeDetailsForCareContext");   

    DomainFactory factory = getDomainFactory();
    List<?> domainObjectList = factory.find("select drd from DischargeReportDetail as drd left join drd.careContext as cc where cc.id = :idCareContext", new String[]{"idCareContext"}, new Object[]{careContext.getID_CareContext()});
    DischargeReportDetailVoCollection reportDetail = DischargeReportDetailVoAssembler.createDischargeReportDetailVoCollectionFromDischargeReportDetail(domainObjectList);       

    return reportDetail != null && reportDetail.size() > 0 ? (reportDetail.get(0) != null ? reportDetail.get(0) : null) : null;
}
项目:openMAXIMS    文件:EDischargeImpl.java   
public DischargeReportDetailVo getDischargeReportDetailsForCareContext( CareContextRefVo careContext) 
{
    if(careContext == null ||
            careContext.getID_CareContext() == null)
        throw new CodingRuntimeException("CareContext is null or id not provided for getDischargeDetailsForCareContext");   

    DomainFactory factory = getDomainFactory();
    List domainObjectList = factory.find("select drd from DischargeReportDetail as drd left join drd.careContext as cc where cc.id = :idCareContext", new String[]{"idCareContext"}, new Object[]{careContext.getID_CareContext()});
    DischargeReportDetailVoCollection reportDetail = DischargeReportDetailVoAssembler.createDischargeReportDetailVoCollectionFromDischargeReportDetail(domainObjectList);       

    return reportDetail != null && reportDetail.size() > 0 ? (reportDetail.get(0) != null ? reportDetail.get(0) : null) : null;
}
项目:openMAXIMS    文件:SurgicalOPNotesPostOpInstructionsCCImpl.java   
public DischargeReportDetailVo getDischargeReportDetailsForCareContext(CareContextRefVo careContext) 
{
    if(careContext == null ||
            careContext.getID_CareContext() == null)
        throw new CodingRuntimeException("CareContext is null or id not provided for getDischargeDetailsForCareContext");   

    DomainFactory factory = getDomainFactory();
    List domainObjectList = factory.find("select drd from DischargeReportDetail as drd left join drd.careContext as cc where cc.id = :idCareContext", new String[]{"idCareContext"}, new Object[]{careContext.getID_CareContext()});
    DischargeReportDetailVoCollection reportDetail = DischargeReportDetailVoAssembler.createDischargeReportDetailVoCollectionFromDischargeReportDetail(domainObjectList);       

    return reportDetail != null && reportDetail.size() > 0 ? (reportDetail.get(0) != null ? reportDetail.get(0) : null) : null;

}
项目:openMAXIMS    文件:EDischargePreViewComponentImpl.java   
public DischargeReportDetailVo getDischargeReportDetailsForCareContext(CareContextRefVo careContext)    
{
    if(careContext == null ||
            careContext.getID_CareContext() == null)
        throw new CodingRuntimeException("CareContext is null or id not provided for getDischargeDetailsForCareContext");   

    DomainFactory factory = getDomainFactory();
    List domainObjectList = factory.find("select drd from DischargeReportDetail as drd left join drd.careContext as cc where cc.id = :idCareContext", new String[]{"idCareContext"}, new Object[]{careContext.getID_CareContext()});
    DischargeReportDetailVoCollection reportDetail = DischargeReportDetailVoAssembler.createDischargeReportDetailVoCollectionFromDischargeReportDetail(domainObjectList);       

    return reportDetail != null && reportDetail.size() > 0 ? (reportDetail.get(0) != null ? reportDetail.get(0) : null) : null;
}
项目:openMAXIMS    文件:EDischargeSTHKListImpl.java   
public DischargeReportDetailVo getDischargeReportDetailsForCareContext(CareContextRefVo careContext)    
{
    if(careContext == null ||
            careContext.getID_CareContext() == null)
        throw new CodingRuntimeException("CareContext is null or id not provided for getDischargeDetailsForCareContext");   

    DomainFactory factory = getDomainFactory();
    List<?> domainObjectList = factory.find("select drd from DischargeReportDetail as drd left join drd.careContext as cc where cc.id = :idCareContext", new String[]{"idCareContext"}, new Object[]{careContext.getID_CareContext()});
    DischargeReportDetailVoCollection reportDetail = DischargeReportDetailVoAssembler.createDischargeReportDetailVoCollectionFromDischargeReportDetail(domainObjectList);       

    return reportDetail != null && reportDetail.size() > 0 ? (reportDetail.get(0) != null ? reportDetail.get(0) : null) : null;
}
项目:openmaxims-linux    文件:EDischargeSTHKImpl.java   
public DischargeReportDetailVo getDischargeReportDetailsForCareContext( CareContextRefVo careContext) 
{
    if(careContext == null ||
            careContext.getID_CareContext() == null)
        throw new CodingRuntimeException("CareContext is null or id not provided for getDischargeDetailsForCareContext");   

    DomainFactory factory = getDomainFactory();
    List domainObjectList = factory.find("select drd from DischargeReportDetail as drd left join drd.careContext as cc where cc.id = :idCareContext", new String[]{"idCareContext"}, new Object[]{careContext.getID_CareContext()});
    DischargeReportDetailVoCollection reportDetail = DischargeReportDetailVoAssembler.createDischargeReportDetailVoCollectionFromDischargeReportDetail(domainObjectList);       

    return reportDetail != null && reportDetail.size() > 0 ? (reportDetail.get(0) != null ? reportDetail.get(0) : null) : null;
}
项目:openmaxims-linux    文件:EDischargeListImpl.java   
public DischargeReportDetailVo getDischargeReportDetailsForCareContext(CareContextRefVo careContext)    
{
    if(careContext == null ||
            careContext.getID_CareContext() == null)
        throw new CodingRuntimeException("CareContext is null or id not provided for getDischargeDetailsForCareContext");   

    DomainFactory factory = getDomainFactory();
    List<?> domainObjectList = factory.find("select drd from DischargeReportDetail as drd left join drd.careContext as cc where cc.id = :idCareContext", new String[]{"idCareContext"}, new Object[]{careContext.getID_CareContext()});
    DischargeReportDetailVoCollection reportDetail = DischargeReportDetailVoAssembler.createDischargeReportDetailVoCollectionFromDischargeReportDetail(domainObjectList);       

    return reportDetail != null && reportDetail.size() > 0 ? (reportDetail.get(0) != null ? reportDetail.get(0) : null) : null;
}
项目:openmaxims-linux    文件:EDischargeImpl.java   
public DischargeReportDetailVo getDischargeReportDetailsForCareContext( CareContextRefVo careContext) 
{
    if(careContext == null ||
            careContext.getID_CareContext() == null)
        throw new CodingRuntimeException("CareContext is null or id not provided for getDischargeDetailsForCareContext");   

    DomainFactory factory = getDomainFactory();
    List domainObjectList = factory.find("select drd from DischargeReportDetail as drd left join drd.careContext as cc where cc.id = :idCareContext", new String[]{"idCareContext"}, new Object[]{careContext.getID_CareContext()});
    DischargeReportDetailVoCollection reportDetail = DischargeReportDetailVoAssembler.createDischargeReportDetailVoCollectionFromDischargeReportDetail(domainObjectList);       

    return reportDetail != null && reportDetail.size() > 0 ? (reportDetail.get(0) != null ? reportDetail.get(0) : null) : null;
}
项目:openmaxims-linux    文件:SurgicalOPNotesPostOpInstructionsCCImpl.java   
public DischargeReportDetailVo getDischargeReportDetailsForCareContext(CareContextRefVo careContext) 
{
    if(careContext == null ||
            careContext.getID_CareContext() == null)
        throw new CodingRuntimeException("CareContext is null or id not provided for getDischargeDetailsForCareContext");   

    DomainFactory factory = getDomainFactory();
    List domainObjectList = factory.find("select drd from DischargeReportDetail as drd left join drd.careContext as cc where cc.id = :idCareContext", new String[]{"idCareContext"}, new Object[]{careContext.getID_CareContext()});
    DischargeReportDetailVoCollection reportDetail = DischargeReportDetailVoAssembler.createDischargeReportDetailVoCollectionFromDischargeReportDetail(domainObjectList);       

    return reportDetail != null && reportDetail.size() > 0 ? (reportDetail.get(0) != null ? reportDetail.get(0) : null) : null;

}
项目:openmaxims-linux    文件:EDischargePreViewComponentImpl.java   
public DischargeReportDetailVo getDischargeReportDetailsForCareContext(CareContextRefVo careContext)    
{
    if(careContext == null ||
            careContext.getID_CareContext() == null)
        throw new CodingRuntimeException("CareContext is null or id not provided for getDischargeDetailsForCareContext");   

    DomainFactory factory = getDomainFactory();
    List domainObjectList = factory.find("select drd from DischargeReportDetail as drd left join drd.careContext as cc where cc.id = :idCareContext", new String[]{"idCareContext"}, new Object[]{careContext.getID_CareContext()});
    DischargeReportDetailVoCollection reportDetail = DischargeReportDetailVoAssembler.createDischargeReportDetailVoCollectionFromDischargeReportDetail(domainObjectList);       

    return reportDetail != null && reportDetail.size() > 0 ? (reportDetail.get(0) != null ? reportDetail.get(0) : null) : null;
}
项目:openmaxims-linux    文件:EDischargeSTHKListImpl.java   
public DischargeReportDetailVo getDischargeReportDetailsForCareContext(CareContextRefVo careContext)    
{
    if(careContext == null ||
            careContext.getID_CareContext() == null)
        throw new CodingRuntimeException("CareContext is null or id not provided for getDischargeDetailsForCareContext");   

    DomainFactory factory = getDomainFactory();
    List<?> domainObjectList = factory.find("select drd from DischargeReportDetail as drd left join drd.careContext as cc where cc.id = :idCareContext", new String[]{"idCareContext"}, new Object[]{careContext.getID_CareContext()});
    DischargeReportDetailVoCollection reportDetail = DischargeReportDetailVoAssembler.createDischargeReportDetailVoCollectionFromDischargeReportDetail(domainObjectList);       

    return reportDetail != null && reportDetail.size() > 0 ? (reportDetail.get(0) != null ? reportDetail.get(0) : null) : null;
}
项目:AvoinApotti    文件:DischargeSummaryScheduleSTHKFormImpl.java   
public DischargeReportDetailVoCollection getPatientDocuments() 
{
    // TODO Auto-generated method stub
    return null;
}
项目:openMAXIMS    文件:DischargeSummaryScheduleImpl.java   
public DischargeReportDetailVoCollection getSuppPatientDocuments()
{
    List<CareContext> careContexts = new ArrayList<CareContext>();
    String careContextIDs = "";
    List domainObjectList = null;

    DomainFactory factory = getDomainFactory();
    StringBuffer hql = new StringBuffer(" select dd.careContext from DischargeDetails dd where "); 
    String andStr = " ";

    ArrayList<String> markers = new ArrayList<String>();
    ArrayList<Serializable> values = new ArrayList<Serializable>();

    hql.append(andStr + " dd.dischargeSupplementaryLetterStatus = :stat");
    markers.add("stat");
    values.add(getDomLookup(DischargeSupplementaryLetterStatus.REQUIRED));
    andStr = " and ";   

    List list = factory.find(hql.toString(), markers,values);
    if(list != null && !list.isEmpty())
    {
        for (Iterator iter = list.iterator(); iter.hasNext();) 
        {           
            CareContext careContext = (CareContext) iter.next();

            if (careContext != null)
            {
                if (careContextIDs != "")
                    careContextIDs += " , ";

                careContexts.add(careContext);
                careContextIDs += careContext.getId();
            }
        }
    }
    else
        return null;

    if (careContexts.size() > 0)
    {
        domainObjectList = factory.find("select drd from DischargeReportDetail as drd left join drd.careContext as cc where cc.id in ( " + careContextIDs + " )");
        return DischargeReportDetailVoAssembler.createDischargeReportDetailVoCollectionFromDischargeReportDetail(domainObjectList);
    }

    return null;
}
项目:openMAXIMS    文件:DischargeSummaryScheduleSTHKImpl.java   
public DischargeReportDetailVoCollection getPatientDocuments() 
{
    // TODO Auto-generated method stub
    return null;
}
项目:openMAXIMS    文件:DischargeSummaryScheduleSTHKFormImpl.java   
public DischargeReportDetailVoCollection getPatientDocuments() 
{
    // TODO Auto-generated method stub
    return null;
}
项目:openMAXIMS    文件:DischargeSummaryScheduleSTHKFormImpl.java   
public DischargeReportDetailVoCollection getPatientDocuments() 
{
    // TODO Auto-generated method stub
    return null;
}
项目:openmaxims-linux    文件:DischargeSummaryScheduleSTHKFormImpl.java   
public DischargeReportDetailVoCollection getPatientDocuments() 
{
    // TODO Auto-generated method stub
    return null;
}