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

项目:AvoinApotti    文件:PresentingProblemsImpl.java   
public PresentAbsentHistoryProblemsVo getHistoryProblems(
        CareContextRefVo careContextRef)    
{
    DomainFactory factory = getDomainFactory(); 
    String strHQL = "from PresentAbsentHistoryProblems p where p.careContext.id = " + careContextRef.getID_CareContext();               
    List probs = factory.find(strHQL);
    PresentAbsentHistoryProblemsVoCollection vocollProblems = PresentAbsentHistoryProblemsVoAssembler.createPresentAbsentHistoryProblemsVoCollectionFromPresentAbsentHistoryProblems(probs); 

    if (vocollProblems != null && vocollProblems.size() > 0)
        return vocollProblems.get(0);
    else
        return null;
}
项目:openMAXIMS    文件:PresentingProblemsImpl.java   
public PresentAbsentHistoryProblemsVo getHistoryProblems(
        CareContextRefVo careContextRef)    
{
    DomainFactory factory = getDomainFactory(); 
    String strHQL = "from PresentAbsentHistoryProblems p where p.careContext.id = " + careContextRef.getID_CareContext();               
    List probs = factory.find(strHQL);
    PresentAbsentHistoryProblemsVoCollection vocollProblems = PresentAbsentHistoryProblemsVoAssembler.createPresentAbsentHistoryProblemsVoCollectionFromPresentAbsentHistoryProblems(probs); 

    if (vocollProblems != null && vocollProblems.size() > 0)
        return vocollProblems.get(0);
    else
        return null;
}
项目:openMAXIMS    文件:PresentingProblemsImpl.java   
public PresentAbsentHistoryProblemsVo getHistoryProblems(
        CareContextRefVo careContextRef)    
{
    DomainFactory factory = getDomainFactory(); 
    String strHQL = "from PresentAbsentHistoryProblems p where p.careContext.id = " + careContextRef.getID_CareContext();               
    List probs = factory.find(strHQL);
    PresentAbsentHistoryProblemsVoCollection vocollProblems = PresentAbsentHistoryProblemsVoAssembler.createPresentAbsentHistoryProblemsVoCollectionFromPresentAbsentHistoryProblems(probs); 

    if (vocollProblems != null && vocollProblems.size() > 0)
        return vocollProblems.get(0);
    else
        return null;
}
项目:openmaxims-linux    文件:PresentingProblemsImpl.java   
public PresentAbsentHistoryProblemsVo getHistoryProblems(
        CareContextRefVo careContextRef)    
{
    DomainFactory factory = getDomainFactory(); 
    String strHQL = "from PresentAbsentHistoryProblems p where p.careContext.id = " + careContextRef.getID_CareContext();               
    List probs = factory.find(strHQL);
    PresentAbsentHistoryProblemsVoCollection vocollProblems = PresentAbsentHistoryProblemsVoAssembler.createPresentAbsentHistoryProblemsVoCollectionFromPresentAbsentHistoryProblems(probs); 

    if (vocollProblems != null && vocollProblems.size() > 0)
        return vocollProblems.get(0);
    else
        return null;
}