Java 类ims.ocrr.vo.InvestigationIndexLiteVo 实例源码

项目:AvoinApotti    文件:Logic.java   
private void prePopulateRadPrintItems()
{
    OrderInvestigationVoCollection voCollOrderInv = form.getGlobalContext().OCRR.getOrderInvestigationCollection();

    SelectItemVoCollection voCollItems = new SelectItemVoCollection();

    if (voCollOrderInv != null)
    {
        for (int i = 0; i < voCollOrderInv.size(); i++)
        {
            if (voCollOrderInv.get(i).getInvestigationIsNotNull() && voCollOrderInv.get(i).getInvestigation().getInvestigationIndexIsNotNull() && voCollOrderInv.get(i).getInvestigation().getInvestigationIndex().getCategoryIsNotNull() && voCollOrderInv.get(i).getInvestigation().getInvestigationIndex().getCategory().equals(Category.CLINICALIMAGING))
            {
                SelectItemVo voSelectItem = new SelectItemVo();
                voSelectItem.setItem(voCollOrderInv.get(i).getInvestigation().getInvestigationIndex());
                voSelectItem.setSelected(Boolean.FALSE);
                voCollItems.add(voSelectItem);
            }
        }
    }

    form.getGlobalContext().Core.setItems(voCollItems.size() > 0 ? voCollItems : null);

    InvestigationIndexRefVoCollection voCollInvIndex = new InvestigationIndexRefVoCollection();
    if (voCollItems != null)
    {
        for (int i = 0; i < voCollItems.size(); i++)
        {
            if (voCollItems.get(i).getItemIsNotNull())
            {
                if (voCollItems.get(i).getItem() instanceof InvestigationIndexLiteVo && voCollItems.get(i).getSelectedIsNotNull() && voCollItems.get(i).getSelected().equals(Boolean.FALSE))
                {
                    voCollInvIndex.add((InvestigationIndexRefVo) voCollItems.get(i).getItem());
                }
            }
        }
    }
    form.getGlobalContext().OCRR.PrintOrder.setNotLocalInvestigations(voCollInvIndex.size() > 0 ? voCollInvIndex : null);
}
项目:openMAXIMS    文件:Logic.java   
private void prePopulateRadPrintItems()
{
    OrderInvestigationVoCollection voCollOrderInv = form.getGlobalContext().OCRR.getOrderInvestigationCollection();

    SelectItemVoCollection voCollItems = new SelectItemVoCollection();

    if (voCollOrderInv != null)
    {
        for (int i = 0; i < voCollOrderInv.size(); i++)
        {
            if (voCollOrderInv.get(i).getInvestigationIsNotNull() && voCollOrderInv.get(i).getInvestigation().getInvestigationIndexIsNotNull() && voCollOrderInv.get(i).getInvestigation().getInvestigationIndex().getCategoryIsNotNull() && voCollOrderInv.get(i).getInvestigation().getInvestigationIndex().getCategory().equals(Category.CLINICALIMAGING))
            {
                SelectItemVo voSelectItem = new SelectItemVo();
                voSelectItem.setItem(voCollOrderInv.get(i).getInvestigation().getInvestigationIndex());
                voSelectItem.setSelected(Boolean.FALSE);
                voCollItems.add(voSelectItem);
            }
        }
    }

    form.getGlobalContext().Core.setItems(voCollItems.size() > 0 ? voCollItems : null);

    InvestigationIndexRefVoCollection voCollInvIndex = new InvestigationIndexRefVoCollection();
    if (voCollItems != null)
    {
        for (int i = 0; i < voCollItems.size(); i++)
        {
            if (voCollItems.get(i).getItemIsNotNull())
            {
                if (voCollItems.get(i).getItem() instanceof InvestigationIndexLiteVo && voCollItems.get(i).getSelectedIsNotNull() && voCollItems.get(i).getSelected().equals(Boolean.FALSE))
                {
                    voCollInvIndex.add((InvestigationIndexRefVo) voCollItems.get(i).getItem());
                }
            }
        }
    }
    form.getGlobalContext().OCRR.PrintOrder.setNotLocalInvestigations(voCollInvIndex.size() > 0 ? voCollInvIndex : null);
}
项目:openMAXIMS    文件:Logic.java   
private void prePopulateRadPrintItems()
{
    OrderInvestigationVoCollection voCollOrderInv = form.getGlobalContext().OCRR.getOrderInvestigationCollection();

    SelectItemVoCollection voCollItems = new SelectItemVoCollection();

    if (voCollOrderInv != null)
    {
        for (int i = 0; i < voCollOrderInv.size(); i++)
        {
            if (voCollOrderInv.get(i).getInvestigationIsNotNull() && voCollOrderInv.get(i).getInvestigation().getInvestigationIndexIsNotNull() && voCollOrderInv.get(i).getInvestigation().getInvestigationIndex().getCategoryIsNotNull() && voCollOrderInv.get(i).getInvestigation().getInvestigationIndex().getCategory().equals(Category.CLINICALIMAGING))
            {
                SelectItemVo voSelectItem = new SelectItemVo();
                voSelectItem.setItem(voCollOrderInv.get(i).getInvestigation().getInvestigationIndex());
                voSelectItem.setSelected(Boolean.FALSE);
                voCollItems.add(voSelectItem);
            }
        }
    }

    form.getGlobalContext().Core.setItems(voCollItems.size() > 0 ? voCollItems : null);

    InvestigationIndexRefVoCollection voCollInvIndex = new InvestigationIndexRefVoCollection();
    if (voCollItems != null)
    {
        for (int i = 0; i < voCollItems.size(); i++)
        {
            if (voCollItems.get(i).getItemIsNotNull())
            {
                if (voCollItems.get(i).getItem() instanceof InvestigationIndexLiteVo && voCollItems.get(i).getSelectedIsNotNull() && voCollItems.get(i).getSelected().equals(Boolean.FALSE))
                {
                    voCollInvIndex.add((InvestigationIndexRefVo) voCollItems.get(i).getItem());
                }
            }
        }
    }
    form.getGlobalContext().OCRR.PrintOrder.setNotLocalInvestigations(voCollInvIndex.size() > 0 ? voCollInvIndex : null);
}
项目:openmaxims-linux    文件:Logic.java   
private void prePopulateRadPrintItems()
{
    OrderInvestigationVoCollection voCollOrderInv = form.getGlobalContext().OCRR.getOrderInvestigationCollection();

    SelectItemVoCollection voCollItems = new SelectItemVoCollection();

    if (voCollOrderInv != null)
    {
        for (int i = 0; i < voCollOrderInv.size(); i++)
        {
            if (voCollOrderInv.get(i).getInvestigationIsNotNull() && voCollOrderInv.get(i).getInvestigation().getInvestigationIndexIsNotNull() && voCollOrderInv.get(i).getInvestigation().getInvestigationIndex().getCategoryIsNotNull() && voCollOrderInv.get(i).getInvestigation().getInvestigationIndex().getCategory().equals(Category.CLINICALIMAGING))
            {
                SelectItemVo voSelectItem = new SelectItemVo();
                voSelectItem.setItem(voCollOrderInv.get(i).getInvestigation().getInvestigationIndex());
                voSelectItem.setSelected(Boolean.FALSE);
                voCollItems.add(voSelectItem);
            }
        }
    }

    form.getGlobalContext().Core.setItems(voCollItems.size() > 0 ? voCollItems : null);

    InvestigationIndexRefVoCollection voCollInvIndex = new InvestigationIndexRefVoCollection();
    if (voCollItems != null)
    {
        for (int i = 0; i < voCollItems.size(); i++)
        {
            if (voCollItems.get(i).getItemIsNotNull())
            {
                if (voCollItems.get(i).getItem() instanceof InvestigationIndexLiteVo && voCollItems.get(i).getSelectedIsNotNull() && voCollItems.get(i).getSelected().equals(Boolean.FALSE))
                {
                    voCollInvIndex.add((InvestigationIndexRefVo) voCollItems.get(i).getItem());
                }
            }
        }
    }
    form.getGlobalContext().OCRR.PrintOrder.setNotLocalInvestigations(voCollInvIndex.size() > 0 ? voCollInvIndex : null);
}
项目:AvoinApotti    文件:Logic.java   
private void addInvestigationType(InvestigationIndexLiteVo investigation)
{
    if (investigation == null || investigation.getName() == null)
        return;
    form.lyrMain().tabSearch().qmbInvestigationType().newRow(investigation, investigation.getName());
}
项目:openMAXIMS    文件:Logic.java   
private void addInvestigationType(InvestigationIndexLiteVo investigation)
{
    if (investigation == null || investigation.getName() == null)
        return;
    form.lyrMain().tabSearch().qmbInvestigationType().newRow(investigation, investigation.getName());
}
项目:openMAXIMS    文件:Logic.java   
private void addInvestigationType(InvestigationIndexLiteVo investigation)
{
    if (investigation == null || investigation.getName() == null)
        return;
    form.lyrMain().tabSearch().qmbInvestigationType().newRow(investigation, investigation.getName());
}
项目:openmaxims-linux    文件:Logic.java   
private void addInvestigationType(InvestigationIndexLiteVo investigation)
{
    if (investigation == null || investigation.getName() == null)
        return;
    form.lyrMain().tabSearch().qmbInvestigationType().newRow(investigation, investigation.getName());
}