Java 类ims.core.vo.lookups.PatientAssessmentStatusReasonCollection 实例源码

项目:AvoinApotti    文件:Logic.java   
private void loadReasonCombo(PatientAssessmentStatusReason parent)
{
    form.lyrTabs().tabCurrent().cmbStatusReason().clear();
    if (parent == null)
        return;

    PatientAssessmentStatusReasonCollection lookupColl = LookupHelper.getPatientAssessmentStatusReason(domain.getLookupService());
    for (int i = 0; i < lookupColl.size(); i++)
    {
        PatientAssessmentStatusReason reasonLkp = lookupColl.get(i);
        if (reasonLkp.getParent() != null && reasonLkp.getParent().equals(parent))
        {
            form.lyrTabs().tabCurrent().cmbStatusReason().newRow(reasonLkp, reasonLkp.toString());
        }
    }
}
项目:AvoinApotti    文件:Logic.java   
private void prepopulateStatusCombo()
{
    form.lyrTabs().tabCurrent().cmbStatus().clear();
    if (isNewRecord() == false)
    {
        PatientAssessmentStatusReasonCollection lookupColl = LookupHelper.getPatientAssessmentStatusReason(domain.getLookupService());
        for (int i = 0; i < lookupColl.size(); i++)
        {
            PatientAssessmentStatusReason reasonLkp = lookupColl.get(i);
            if (reasonLkp.getParent() == null)
            {
                if (isNewRecord() == false && reasonLkp.equals(PatientAssessmentStatusReason.NOTCOMMENCED))
                    continue;

                form.lyrTabs().tabCurrent().cmbStatus().newRow(reasonLkp, reasonLkp.toString());
            }
        }
    }
}
项目:AvoinApotti    文件:Logic.java   
private void loadStatusCombo(boolean removeNonCommenced)
{
    //Status - has to load only parents
    form.cmbStatus().clear();
    PatientAssessmentStatusReasonCollection voColl = LookupHelper.getPatientAssessmentStatusReason(domain.getLookupService());
    for(int i = 0; voColl != null && i < voColl.size(); i++)
    {
        if(voColl.get(i).getParent() == null)
        {
            if(removeNonCommenced && voColl.get(i).equals(PatientAssessmentStatusReason.NOTCOMMENCED))
                continue;

            form.cmbStatus().newRow(voColl.get(i), voColl.get(i).toString());
        }
    }
}
项目:AvoinApotti    文件:Logic.java   
private void loadStatusCombo(boolean removeNonCommenced)
{
    //Status
    form.cmbStatus().clear();
    PatientAssessmentStatusReasonCollection voColl = LookupHelper.getPatientAssessmentStatusReason(domain.getLookupService());
    for (int i = 0; voColl != null && i < voColl.size(); i++)
    {
        if (voColl.get(i).getParent() == null)
        {
            if(removeNonCommenced && voColl.get(i).equals(PatientAssessmentStatusReason.NOTCOMMENCED))
                continue;

            form.cmbStatus().newRow(voColl.get(i), voColl.get(i).toString());
        }
    }
}
项目:AvoinApotti    文件:Logic.java   
private void loadStatusCombo(boolean removeNonCommenced)
{
    //Status - has to load only parents
    form.cmbStatus().clear();
    PatientAssessmentStatusReasonCollection voColl = LookupHelper.getPatientAssessmentStatusReason(domain.getLookupService());
    for(int i = 0; voColl != null && i < voColl.size(); i++)
    {
        if(voColl.get(i).getParent() == null)
        {
            //if(removeNonCommenced && voColl.get(i).equals(PatientAssessmentStatusReason.NOTCOMMENCED))
                //continue;

            form.cmbStatus().newRow(voColl.get(i), voColl.get(i).toString());
        }
    }
}
项目:AvoinApotti    文件:Logic.java   
private void loadStatusCombo(boolean removeNonCommenced)
{
    //Status - has to load only parents
    form.cmbStatus().clear();
    PatientAssessmentStatusReasonCollection voColl = LookupHelper.getPatientAssessmentStatusReason(domain.getLookupService());
    for(int i = 0; voColl != null && i < voColl.size(); i++)
    {
        if(voColl.get(i).getParent() == null)
        {
            if(removeNonCommenced && voColl.get(i).equals(PatientAssessmentStatusReason.NOTCOMMENCED))
                continue;

            form.cmbStatus().newRow(voColl.get(i), voColl.get(i).toString());
        }
    }
}
项目:openMAXIMS    文件:Logic.java   
private void loadReasonCombo(PatientAssessmentStatusReason parent)
{
    form.lyrTabs().tabCurrent().cmbStatusReason().clear();
    if (parent == null)
        return;

    PatientAssessmentStatusReasonCollection lookupColl = LookupHelper.getPatientAssessmentStatusReason(domain.getLookupService());
    for (int i = 0; i < lookupColl.size(); i++)
    {
        PatientAssessmentStatusReason reasonLkp = lookupColl.get(i);
        if (reasonLkp.getParent() != null && reasonLkp.getParent().equals(parent))
        {
            form.lyrTabs().tabCurrent().cmbStatusReason().newRow(reasonLkp, reasonLkp.toString());
        }
    }
}
项目:openMAXIMS    文件:Logic.java   
private void prepopulateStatusCombo()
{
    form.lyrTabs().tabCurrent().cmbStatus().clear();
    if (isNewRecord() == false)
    {
        PatientAssessmentStatusReasonCollection lookupColl = LookupHelper.getPatientAssessmentStatusReason(domain.getLookupService());
        for (int i = 0; i < lookupColl.size(); i++)
        {
            PatientAssessmentStatusReason reasonLkp = lookupColl.get(i);
            if (reasonLkp.getParent() == null)
            {
                if (isNewRecord() == false && reasonLkp.equals(PatientAssessmentStatusReason.NOTCOMMENCED))
                    continue;

                form.lyrTabs().tabCurrent().cmbStatus().newRow(reasonLkp, reasonLkp.toString());
            }
        }
    }
}
项目:openMAXIMS    文件:Logic.java   
private void loadStatusCombo(boolean removeNonCommenced)
{
    //Status - has to load only parents
    form.cmbStatus().clear();
    PatientAssessmentStatusReasonCollection voColl = LookupHelper.getPatientAssessmentStatusReason(domain.getLookupService());
    for(int i = 0; voColl != null && i < voColl.size(); i++)
    {
        if(voColl.get(i).getParent() == null)
        {
            if(removeNonCommenced && voColl.get(i).equals(PatientAssessmentStatusReason.NOTCOMMENCED))
                continue;

            form.cmbStatus().newRow(voColl.get(i), voColl.get(i).toString());
        }
    }
}
项目:openMAXIMS    文件:Logic.java   
private void loadStatusCombo(boolean removeNonCommenced)
{
    //Status
    form.cmbStatus().clear();
    PatientAssessmentStatusReasonCollection voColl = LookupHelper.getPatientAssessmentStatusReason(domain.getLookupService());
    for (int i = 0; voColl != null && i < voColl.size(); i++)
    {
        if (voColl.get(i).getParent() == null)
        {
            if(removeNonCommenced && voColl.get(i).equals(PatientAssessmentStatusReason.NOTCOMMENCED))
                continue;

            form.cmbStatus().newRow(voColl.get(i), voColl.get(i).toString());
        }
    }
}
项目:openMAXIMS    文件:Logic.java   
private void loadStatusCombo(boolean removeNonCommenced)
{
    //Status - has to load only parents
    form.cmbStatus().clear();
    PatientAssessmentStatusReasonCollection voColl = LookupHelper.getPatientAssessmentStatusReason(domain.getLookupService());
    for(int i = 0; voColl != null && i < voColl.size(); i++)
    {
        if(voColl.get(i).getParent() == null)
        {
            //if(removeNonCommenced && voColl.get(i).equals(PatientAssessmentStatusReason.NOTCOMMENCED))
                //continue;

            form.cmbStatus().newRow(voColl.get(i), voColl.get(i).toString());
        }
    }
}
项目:openMAXIMS    文件:Logic.java   
private void loadStatusCombo(boolean removeNonCommenced)
{
    //Status - has to load only parents
    form.cmbStatus().clear();
    PatientAssessmentStatusReasonCollection voColl = LookupHelper.getPatientAssessmentStatusReason(domain.getLookupService());
    for(int i = 0; voColl != null && i < voColl.size(); i++)
    {
        if(voColl.get(i).getParent() == null)
        {
            if(removeNonCommenced && voColl.get(i).equals(PatientAssessmentStatusReason.NOTCOMMENCED))
                continue;

            form.cmbStatus().newRow(voColl.get(i), voColl.get(i).toString());
        }
    }
}
项目:openMAXIMS    文件:Logic.java   
private void loadReasonCombo(PatientAssessmentStatusReason parent)
{
    form.lyrTabs().tabCurrent().cmbStatusReason().clear();
    if (parent == null)
        return;

    PatientAssessmentStatusReasonCollection lookupColl = LookupHelper.getPatientAssessmentStatusReason(domain.getLookupService());
    for (int i = 0; i < lookupColl.size(); i++)
    {
        PatientAssessmentStatusReason reasonLkp = lookupColl.get(i);
        if (reasonLkp.getParent() != null && reasonLkp.getParent().equals(parent))
        {
            form.lyrTabs().tabCurrent().cmbStatusReason().newRow(reasonLkp, reasonLkp.toString());
        }
    }
}
项目:openMAXIMS    文件:Logic.java   
private void prepopulateStatusCombo()
{
    form.lyrTabs().tabCurrent().cmbStatus().clear();
    if (isNewRecord() == false)
    {
        PatientAssessmentStatusReasonCollection lookupColl = LookupHelper.getPatientAssessmentStatusReason(domain.getLookupService());
        for (int i = 0; i < lookupColl.size(); i++)
        {
            PatientAssessmentStatusReason reasonLkp = lookupColl.get(i);
            if (reasonLkp.getParent() == null)
            {
                if (isNewRecord() == false && reasonLkp.equals(PatientAssessmentStatusReason.NOTCOMMENCED))
                    continue;

                form.lyrTabs().tabCurrent().cmbStatus().newRow(reasonLkp, reasonLkp.toString());
            }
        }
    }
}
项目:openMAXIMS    文件:Logic.java   
private void loadStatusCombo(boolean removeNonCommenced)
{
    //Status - has to load only parents
    form.cmbStatus().clear();
    PatientAssessmentStatusReasonCollection voColl = LookupHelper.getPatientAssessmentStatusReason(domain.getLookupService());
    for(int i = 0; voColl != null && i < voColl.size(); i++)
    {
        if(voColl.get(i).getParent() == null)
        {
            if(removeNonCommenced && voColl.get(i).equals(PatientAssessmentStatusReason.NOTCOMMENCED))
                continue;

            form.cmbStatus().newRow(voColl.get(i), voColl.get(i).toString());
        }
    }
}
项目:openMAXIMS    文件:Logic.java   
private void loadStatusCombo(boolean removeNonCommenced)
{
    //Status
    form.cmbStatus().clear();
    PatientAssessmentStatusReasonCollection voColl = LookupHelper.getPatientAssessmentStatusReason(domain.getLookupService());
    for (int i = 0; voColl != null && i < voColl.size(); i++)
    {
        if (voColl.get(i).getParent() == null)
        {
            if(removeNonCommenced && voColl.get(i).equals(PatientAssessmentStatusReason.NOTCOMMENCED))
                continue;

            form.cmbStatus().newRow(voColl.get(i), voColl.get(i).toString());
        }
    }
}
项目:openMAXIMS    文件:Logic.java   
private void loadStatusCombo(boolean removeNonCommenced)
{
    //Status - has to load only parents
    form.cmbStatus().clear();
    PatientAssessmentStatusReasonCollection voColl = LookupHelper.getPatientAssessmentStatusReason(domain.getLookupService());
    for(int i = 0; voColl != null && i < voColl.size(); i++)
    {
        if(voColl.get(i).getParent() == null)
        {
            //if(removeNonCommenced && voColl.get(i).equals(PatientAssessmentStatusReason.NOTCOMMENCED))
                //continue;

            form.cmbStatus().newRow(voColl.get(i), voColl.get(i).toString());
        }
    }
}
项目:openMAXIMS    文件:Logic.java   
private void loadStatusCombo(boolean removeNonCommenced)
{
    //Status - has to load only parents
    form.cmbStatus().clear();
    PatientAssessmentStatusReasonCollection voColl = LookupHelper.getPatientAssessmentStatusReason(domain.getLookupService());
    for(int i = 0; voColl != null && i < voColl.size(); i++)
    {
        if(voColl.get(i).getParent() == null)
        {
            if(removeNonCommenced && voColl.get(i).equals(PatientAssessmentStatusReason.NOTCOMMENCED))
                continue;

            form.cmbStatus().newRow(voColl.get(i), voColl.get(i).toString());
        }
    }
}
项目:openmaxims-linux    文件:Logic.java   
private void loadReasonCombo(PatientAssessmentStatusReason parent)
{
    form.lyrTabs().tabCurrent().cmbStatusReason().clear();
    if (parent == null)
        return;

    PatientAssessmentStatusReasonCollection lookupColl = LookupHelper.getPatientAssessmentStatusReason(domain.getLookupService());
    for (int i = 0; i < lookupColl.size(); i++)
    {
        PatientAssessmentStatusReason reasonLkp = lookupColl.get(i);
        if (reasonLkp.getParent() != null && reasonLkp.getParent().equals(parent))
        {
            form.lyrTabs().tabCurrent().cmbStatusReason().newRow(reasonLkp, reasonLkp.toString());
        }
    }
}
项目:openmaxims-linux    文件:Logic.java   
private void prepopulateStatusCombo()
{
    form.lyrTabs().tabCurrent().cmbStatus().clear();
    if (isNewRecord() == false)
    {
        PatientAssessmentStatusReasonCollection lookupColl = LookupHelper.getPatientAssessmentStatusReason(domain.getLookupService());
        for (int i = 0; i < lookupColl.size(); i++)
        {
            PatientAssessmentStatusReason reasonLkp = lookupColl.get(i);
            if (reasonLkp.getParent() == null)
            {
                if (isNewRecord() == false && reasonLkp.equals(PatientAssessmentStatusReason.NOTCOMMENCED))
                    continue;

                form.lyrTabs().tabCurrent().cmbStatus().newRow(reasonLkp, reasonLkp.toString());
            }
        }
    }
}
项目:openmaxims-linux    文件:Logic.java   
private void loadStatusCombo(boolean removeNonCommenced)
{
    //Status - has to load only parents
    form.cmbStatus().clear();
    PatientAssessmentStatusReasonCollection voColl = LookupHelper.getPatientAssessmentStatusReason(domain.getLookupService());
    for(int i = 0; voColl != null && i < voColl.size(); i++)
    {
        if(voColl.get(i).getParent() == null)
        {
            if(removeNonCommenced && voColl.get(i).equals(PatientAssessmentStatusReason.NOTCOMMENCED))
                continue;

            form.cmbStatus().newRow(voColl.get(i), voColl.get(i).toString());
        }
    }
}
项目:openmaxims-linux    文件:Logic.java   
private void loadStatusCombo(boolean removeNonCommenced)
{
    //Status
    form.cmbStatus().clear();
    PatientAssessmentStatusReasonCollection voColl = LookupHelper.getPatientAssessmentStatusReason(domain.getLookupService());
    for (int i = 0; voColl != null && i < voColl.size(); i++)
    {
        if (voColl.get(i).getParent() == null)
        {
            if(removeNonCommenced && voColl.get(i).equals(PatientAssessmentStatusReason.NOTCOMMENCED))
                continue;

            form.cmbStatus().newRow(voColl.get(i), voColl.get(i).toString());
        }
    }
}
项目:openmaxims-linux    文件:Logic.java   
private void loadStatusCombo(boolean removeNonCommenced)
{
    //Status - has to load only parents
    form.cmbStatus().clear();
    PatientAssessmentStatusReasonCollection voColl = LookupHelper.getPatientAssessmentStatusReason(domain.getLookupService());
    for(int i = 0; voColl != null && i < voColl.size(); i++)
    {
        if(voColl.get(i).getParent() == null)
        {
            //if(removeNonCommenced && voColl.get(i).equals(PatientAssessmentStatusReason.NOTCOMMENCED))
                //continue;

            form.cmbStatus().newRow(voColl.get(i), voColl.get(i).toString());
        }
    }
}
项目:openmaxims-linux    文件:Logic.java   
private void loadStatusCombo(boolean removeNonCommenced)
{
    //Status - has to load only parents
    form.cmbStatus().clear();
    PatientAssessmentStatusReasonCollection voColl = LookupHelper.getPatientAssessmentStatusReason(domain.getLookupService());
    for(int i = 0; voColl != null && i < voColl.size(); i++)
    {
        if(voColl.get(i).getParent() == null)
        {
            if(removeNonCommenced && voColl.get(i).equals(PatientAssessmentStatusReason.NOTCOMMENCED))
                continue;

            form.cmbStatus().newRow(voColl.get(i), voColl.get(i).toString());
        }
    }
}
项目:AvoinApotti    文件:Logic.java   
private void loadReasonCombo()
{
    PatientAssessmentStatusReason parentLkp = form.cmbStatus().getValue();
    PatientAssessmentStatusReasonCollection voColl = LookupHelper.getPatientAssessmentStatusReason(domain.getLookupService());
    for(int i = 0; voColl != null && i < voColl.size(); i++)
    {
        if(voColl.get(i).getParent() != null && voColl.get(i).getParent().equals(parentLkp))
            form.cmbReason().newRow(voColl.get(i), voColl.get(i).toString());
    }
}
项目:AvoinApotti    文件:Logic.java   
private void populateStatusCell(DynamicGridCell status_cell)
{
    status_cell.getItems().clear();
    PatientAssessmentStatusReasonCollection voColl = LookupHelper.getPatientAssessmentStatusReason(domain.getLookupService());
    for(int i = 0; voColl != null && i < voColl.size(); i++)
    {
        if(voColl.get(i).getParent() == null)
            status_cell.getItems().newItem(voColl.get(i));
    }
}
项目:AvoinApotti    文件:Logic.java   
private void populateReasonCell(DynamicGridCell reason_cell, PatientAssessmentStatusReason parent)
{
    reason_cell.getItems().clear();
    PatientAssessmentStatusReasonCollection voColl = LookupHelper.getPatientAssessmentStatusReason(domain.getLookupService());
    for(int i = 0; voColl != null && i < voColl.size(); i++)
    {
        if(voColl.get(i).getParent() != null && voColl.get(i).getParent().equals(parent))
            reason_cell.getItems().newItem(voColl.get(i));
    }           
}
项目:AvoinApotti    文件:Logic.java   
private void cmbStatusValueChanged()
{
    form.cmbReason().clear();
    PatientAssessmentStatusReason parentLkp = form.cmbStatus().getValue();
    PatientAssessmentStatusReasonCollection voColl = LookupHelper.getPatientAssessmentStatusReason(domain.getLookupService());
    for(int i = 0; voColl != null && i < voColl.size(); i++)
    {
        if(voColl.get(i).getParent() != null && voColl.get(i).getParent().equals(parentLkp))
            form.cmbReason().newRow(voColl.get(i), voColl.get(i).toString());
    }   
}
项目:AvoinApotti    文件:Logic.java   
private void loadLookups()
{
    //Status - has to load only parents
    form.cmbStatus().clear();
    PatientAssessmentStatusReasonCollection voColl = LookupHelper.getPatientAssessmentStatusReason(domain.getLookupService());
    for(int i = 0; voColl != null && i < voColl.size(); i++)
    {
        if(voColl.get(i).getParent() == null)
            form.cmbStatus().newRow(voColl.get(i), voColl.get(i).toString());
    }
}
项目:AvoinApotti    文件:Logic.java   
private void loadReasonCombo()
{
    PatientAssessmentStatusReason parentLkp = form.cmbStatus().getValue();
    PatientAssessmentStatusReasonCollection voColl = LookupHelper.getPatientAssessmentStatusReason(domain.getLookupService());
    for (int i = 0; voColl != null && i < voColl.size(); i++)
    {
        if (voColl.get(i).getParent() != null && voColl.get(i).getParent().equals(parentLkp))
            form.cmbReason().newRow(voColl.get(i), voColl.get(i).toString());
    }
}
项目:AvoinApotti    文件:Logic.java   
private void populateStatusCell(DynamicGridCell status_cell)
{
    status_cell.getItems().clear();
    PatientAssessmentStatusReasonCollection voColl = LookupHelper.getPatientAssessmentStatusReason(domain.getLookupService());
    for(int i = 0; voColl != null && i < voColl.size(); i++)
    {
        if(voColl.get(i).getParent() == null)
            status_cell.getItems().newItem(voColl.get(i));
    }
}
项目:AvoinApotti    文件:Logic.java   
private void populateReasonCell(DynamicGridCell reason_cell, PatientAssessmentStatusReason parent)
{
    reason_cell.getItems().clear();
    PatientAssessmentStatusReasonCollection voColl = LookupHelper.getPatientAssessmentStatusReason(domain.getLookupService());
    for(int i = 0; voColl != null && i < voColl.size(); i++)
    {
        if(voColl.get(i).getParent() != null && voColl.get(i).getParent().equals(parent))
            reason_cell.getItems().newItem(voColl.get(i));
    }           
}
项目:AvoinApotti    文件:Logic.java   
private void loadReasonCombo()
{
    PatientAssessmentStatusReason parentLkp = form.cmbStatus().getValue();
    PatientAssessmentStatusReasonCollection voColl = LookupHelper.getPatientAssessmentStatusReason(domain.getLookupService());
    for(int i = 0; voColl != null && i < voColl.size(); i++)
    {
        if(voColl.get(i).getParent() != null && voColl.get(i).getParent().equals(parentLkp))
            form.cmbReason().newRow(voColl.get(i), voColl.get(i).toString());
    }
}
项目:AvoinApotti    文件:Logic.java   
private void loadReasonCombo()
{
    PatientAssessmentStatusReason parentLkp = form.cmbStatus().getValue();
    PatientAssessmentStatusReasonCollection voColl = LookupHelper.getPatientAssessmentStatusReason(domain.getLookupService());
    for(int i = 0; voColl != null && i < voColl.size(); i++)
    {
        if(voColl.get(i).getParent() != null && voColl.get(i).getParent().equals(parentLkp))
            form.cmbReason().newRow(voColl.get(i), voColl.get(i).toString());
    }
}
项目:AvoinApotti    文件:Logic.java   
private void populateStatusCell(DynamicGridCell status_cell)
{
    status_cell.getItems().clear();
    PatientAssessmentStatusReasonCollection voColl = ims.core.vo.lookups.LookupHelper.getPatientAssessmentStatusReason(domain.getLookupService());
    for (int i = 0; voColl != null && i < voColl.size(); i++)
    {
        if (voColl.get(i).getParent() == null)
            status_cell.getItems().newItem(voColl.get(i));
    }
}
项目:AvoinApotti    文件:Logic.java   
private void populateReasonCell(DynamicGridCell reason_cell, PatientAssessmentStatusReason parent)
{
    reason_cell.getItems().clear();
    PatientAssessmentStatusReasonCollection voColl = ims.core.vo.lookups.LookupHelper.getPatientAssessmentStatusReason(domain.getLookupService());
    for (int i = 0; voColl != null && i < voColl.size(); i++)
    {
        if (voColl.get(i).getParent() != null && voColl.get(i).getParent().equals(parent))
            reason_cell.getItems().newItem(voColl.get(i));
    }
}
项目:openMAXIMS    文件:Logic.java   
private void loadReasonCombo()
{
    PatientAssessmentStatusReason parentLkp = form.cmbStatus().getValue();
    PatientAssessmentStatusReasonCollection voColl = LookupHelper.getPatientAssessmentStatusReason(domain.getLookupService());
    for(int i = 0; voColl != null && i < voColl.size(); i++)
    {
        if(voColl.get(i).getParent() != null && voColl.get(i).getParent().equals(parentLkp))
            form.cmbReason().newRow(voColl.get(i), voColl.get(i).toString());
    }
}
项目:openMAXIMS    文件:Logic.java   
private void populateStatusCell(DynamicGridCell status_cell)
{
    status_cell.getItems().clear();
    PatientAssessmentStatusReasonCollection voColl = LookupHelper.getPatientAssessmentStatusReason(domain.getLookupService());
    for(int i = 0; voColl != null && i < voColl.size(); i++)
    {
        if(voColl.get(i).getParent() == null)
            status_cell.getItems().newItem(voColl.get(i));
    }
}
项目:openMAXIMS    文件:Logic.java   
private void populateReasonCell(DynamicGridCell reason_cell, PatientAssessmentStatusReason parent)
{
    reason_cell.getItems().clear();
    PatientAssessmentStatusReasonCollection voColl = LookupHelper.getPatientAssessmentStatusReason(domain.getLookupService());
    for(int i = 0; voColl != null && i < voColl.size(); i++)
    {
        if(voColl.get(i).getParent() != null && voColl.get(i).getParent().equals(parent))
            reason_cell.getItems().newItem(voColl.get(i));
    }           
}
项目:openMAXIMS    文件:Logic.java   
private void cmbStatusValueChanged()
{
    form.cmbReason().clear();
    PatientAssessmentStatusReason parentLkp = form.cmbStatus().getValue();
    PatientAssessmentStatusReasonCollection voColl = LookupHelper.getPatientAssessmentStatusReason(domain.getLookupService());
    for(int i = 0; voColl != null && i < voColl.size(); i++)
    {
        if(voColl.get(i).getParent() != null && voColl.get(i).getParent().equals(parentLkp))
            form.cmbReason().newRow(voColl.get(i), voColl.get(i).toString());
    }   
}