Java 类ims.core.vo.EpisodeOfCareHistVoCollection 实例源码

项目:AvoinApotti    文件:Logic.java   
protected void onFormOpen(Object[] args) throws ims.framework.exceptions.PresentationLogicException
{
    form.grdEpisodeOfCareHistory().getRows().clear();
    EpisodeOfCareSmallVo tempVo = form.getGlobalContext().Clinical.getEpisodeOfCareWithHistory();
    if(tempVo != null && tempVo.getEpisodeOfCareHistoryIsNotNull() && tempVo.getEpisodeOfCareHistory().size() > 0)
    {
        EpisodeOfCareHistVoCollection tempColl = tempVo.getEpisodeOfCareHistory();
        tempColl.sort(new CreationDateComparator(SortOrder.ASCENDING));
        for(int i = 0;i < tempColl.size();i++)
        {
            EpisodeOfCareHistVo voHist = tempColl.get(i);
            if(voHist != null)
                populateChildGrid(voHist);
        }
    }
}
项目:openMAXIMS    文件:Logic.java   
protected void onFormOpen(Object[] args) throws ims.framework.exceptions.PresentationLogicException
{
    form.grdEpisodeOfCareHistory().getRows().clear();
    EpisodeOfCareSmallVo tempVo = form.getGlobalContext().Clinical.getEpisodeOfCareWithHistory();
    if(tempVo != null && tempVo.getEpisodeOfCareHistoryIsNotNull() && tempVo.getEpisodeOfCareHistory().size() > 0)
    {
        EpisodeOfCareHistVoCollection tempColl = tempVo.getEpisodeOfCareHistory();
        tempColl.sort(new CreationDateComparator(SortOrder.ASCENDING));
        for(int i = 0;i < tempColl.size();i++)
        {
            EpisodeOfCareHistVo voHist = tempColl.get(i);
            if(voHist != null)
                populateChildGrid(voHist);
        }
    }
}
项目:openMAXIMS    文件:Logic.java   
protected void onFormOpen(Object[] args) throws ims.framework.exceptions.PresentationLogicException
{
    form.grdEpisodeOfCareHistory().getRows().clear();
    EpisodeOfCareSmallVo tempVo = form.getGlobalContext().Clinical.getEpisodeOfCareWithHistory();
    if(tempVo != null && tempVo.getEpisodeOfCareHistoryIsNotNull() && tempVo.getEpisodeOfCareHistory().size() > 0)
    {
        EpisodeOfCareHistVoCollection tempColl = tempVo.getEpisodeOfCareHistory();
        tempColl.sort(new CreationDateComparator(SortOrder.ASCENDING));
        for(int i = 0;i < tempColl.size();i++)
        {
            EpisodeOfCareHistVo voHist = tempColl.get(i);
            if(voHist != null)
                populateChildGrid(voHist);
        }
    }
}
项目:openmaxims-linux    文件:Logic.java   
protected void onFormOpen(Object[] args) throws ims.framework.exceptions.PresentationLogicException
{
    form.grdEpisodeOfCareHistory().getRows().clear();
    EpisodeOfCareSmallVo tempVo = form.getGlobalContext().Clinical.getEpisodeOfCareWithHistory();
    if(tempVo != null && tempVo.getEpisodeOfCareHistoryIsNotNull() && tempVo.getEpisodeOfCareHistory().size() > 0)
    {
        EpisodeOfCareHistVoCollection tempColl = tempVo.getEpisodeOfCareHistory();
        tempColl.sort(new CreationDateComparator(SortOrder.ASCENDING));
        for(int i = 0;i < tempColl.size();i++)
        {
            EpisodeOfCareHistVo voHist = tempColl.get(i);
            if(voHist != null)
                populateChildGrid(voHist);
        }
    }
}