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

项目:AvoinApotti    文件:Logic.java   
/**
 * Function used to bind HCP Discipline with combo-box
 * <br>It will only bind root values
 */
protected void initializeDisciplinesComboBox()
{
    // Clear combo-box
    form.cmbDiscipline().clear();

    // Get HCP Discipline values
    HcpDisTypeCollection disciplines = LookupHelper.getHcpDisType(domain.getLookupService());

    if (disciplines == null)
        return;

    // Populate combo box with root disciplines
    for  (int i = 0; i < disciplines.size(); i++)
    {
        HcpDisType discipline = disciplines.get(i);

        // If discipline is a root discipline then add it to the combo box
        if (discipline != null && discipline.getParent() == null)
        {
            form.cmbDiscipline().newRow(discipline, discipline.getText(), discipline.getImage());
        }
    }
}
项目:AvoinApotti    文件:Logic.java   
/**
 * Function used to initialize the ICP Action Discipline combobox Will only
 * permit selection of top level ICP Action discipline
 */
private void initializeICPActionDisciplineComboBox()
{
    // Clear disciplines from check list
    form.ctnConfiguration().lyrICPTabs().Action().chklistActionDiscipline().clear();

    // Get all the values for ICP Action discipline
    HcpDisTypeCollection disciplines = LookupHelper.getHcpDisType(domain.getLookupService());

    if (disciplines == null)
        return;

    // Populate the check list with discipline
    for (int i = 0; i < disciplines.size(); i++)
    {
        HcpDisType discipline = disciplines.get(i);

        // Skip null disciplines or disciplines that are not root nodes
        if (discipline == null || discipline.getParent() != null)
            continue;

        form.ctnConfiguration().lyrICPTabs().Action().chklistActionDiscipline().newRow(discipline);
    }
}
项目:AvoinApotti    文件:Logic.java   
private void initializeDisciplineCombobox()
{
    // Clear disciplines from combo-box list
    form.lyrMain().tabPageActions().cmbDiscipline().clear();

    // Get all the values for ICP Action discipline
    HcpDisTypeCollection disciplines = LookupHelper.getHcpDisType(domain.getLookupService());

    if (disciplines == null)
        return;

    // Populate the check list with discipline
    for (int i = 0; i < disciplines.size(); i++)
    {
        HcpDisType discipline = disciplines.get(i);

        // Skip null disciplines or disciplines that are not root nodes
        if (discipline == null || discipline.getParent() != null)
            continue;

        form.lyrMain().tabPageActions().cmbDiscipline().newRow(discipline, discipline.getText());
    }
}
项目:AvoinApotti    文件:PatientICPImpl.java   
private PatientICPActionViewVo assemblePatientICPActionView(PatientICPAction action)
{
    PatientICPActionViewVo actionVo = new PatientICPActionViewVo(action.getId(),action.getVersion());
    actionVo.setIsRIE(action.getIsRIE());
    actionVo.setCurrentStatus(PatientICPActionStatusVoAssembler.create(action.getCurrentStatus()));
    actionVo.setRequiresCounterSigning(action.isRequiresCounterSigning());

    actionVo.setAction(new ICPActionViewVo(action.getAction().getId(), action.getAction().getVersion()));
    if (action.getAction().getDiscipline() != null)
    {
        actionVo.getAction().setDiscipline(new HcpDisTypeCollection());
        for (int i = 0 ; i < action.getAction().getDiscipline().size() ; i++)
        {
            actionVo.getAction().getDiscipline().add(ims.core.vo.lookups.LookupHelper.getHcpDisTypeInstance(getLookupService(), ((LookupInstance)action.getAction().getDiscipline().get(i)).getId()));
        }
    }

    actionVo.getAction().setHelpURL(action.getAction().getHelpURL());
    actionVo.getAction().setLinkedType(ims.core.vo.lookups.LookupHelper.getICPCompLinkedTypeInstance(getLookupService(), action.getAction().getLinkedType().getId()));
    actionVo.getAction().setName(action.getAction().getName());
    actionVo.getAction().setRequiresCounterSignature(action.getAction().isRequiresCounterSignature());
    actionVo.getAction().setSequence(action.getAction().getSequence());
    actionVo.getAction().setIsRIE(action.getAction().getIsRIE());
    return actionVo;
}
项目:AvoinApotti    文件:Logic.java   
private void initialiseScreenControls() 
{
    //WDEV-15382
    form.txtNotes().setVisible(false); 
    form.txtNotes().setEnabled(false);
    form.richNotes().setVisible(true);
    form.richNotes().setEnabled(false);

    form.customControlReviewed().ignoreComponentReadonlyFlag(Boolean.TRUE);
    form.chkForReview().setVisible(true);
    form.cmbDiscipline().setVisible(true);
    form.lblDiscipline().setVisible(true);
    form.setcustomControlReviewedVisible(false);
    form.chkMarkAsReviewed().setVisible(false);
    form.customControlAuthoring().setIsRequiredPropertyToControls(true);
    form.cmbDiscipline().clear();
    HcpDisTypeCollection hcpDisTypeColl = (ims.core.vo.lookups.LookupHelper.getHcpDisType(domain.getLookupService()));
    for( int i = 0;i < hcpDisTypeColl.size();i++)
    {
        if(hcpDisTypeColl.get(i).getParent() == null)
            form.cmbDiscipline().newRow(hcpDisTypeColl.get(i), hcpDisTypeColl.get(i).getIItemText(),hcpDisTypeColl.get(i).getImage());

    }
}
项目:openMAXIMS    文件:Logic.java   
/**
 * Function used to bind HCP Discipline with combo-box
 * <br>It will only bind root values
 */
protected void initializeDisciplinesComboBox()
{
    // Clear combo-box
    form.cmbDiscipline().clear();

    // Get HCP Discipline values
    HcpDisTypeCollection disciplines = LookupHelper.getHcpDisType(domain.getLookupService());

    if (disciplines == null)
        return;

    // Populate combo box with root disciplines
    for  (int i = 0; i < disciplines.size(); i++)
    {
        HcpDisType discipline = disciplines.get(i);

        // If discipline is a root discipline then add it to the combo box
        if (discipline != null && discipline.getParent() == null)
        {
            form.cmbDiscipline().newRow(discipline, discipline.getText(), discipline.getImage());
        }
    }
}
项目:openMAXIMS    文件:Logic.java   
/**
 * Function used to initialize the ICP Action Discipline combobox Will only
 * permit selection of top level ICP Action discipline
 */
private void initializeICPActionDisciplineComboBox()
{
    // Clear disciplines from check list
    form.ctnConfiguration().lyrICPTabs().Action().chklistActionDiscipline().clear();

    // Get all the values for ICP Action discipline
    HcpDisTypeCollection disciplines = LookupHelper.getHcpDisType(domain.getLookupService());

    if (disciplines == null)
        return;

    // Populate the check list with discipline
    for (int i = 0; i < disciplines.size(); i++)
    {
        HcpDisType discipline = disciplines.get(i);

        // Skip null disciplines or disciplines that are not root nodes
        if (discipline == null || discipline.getParent() != null)
            continue;

        form.ctnConfiguration().lyrICPTabs().Action().chklistActionDiscipline().newRow(discipline);
    }
}
项目:openMAXIMS    文件:Logic.java   
private void initializeDisciplineCombobox()
{
    // Clear disciplines from combo-box list
    form.lyrMain().tabPageActions().cmbDiscipline().clear();

    // Get all the values for ICP Action discipline
    HcpDisTypeCollection disciplines = LookupHelper.getHcpDisType(domain.getLookupService());

    if (disciplines == null)
        return;

    // Populate the check list with discipline
    for (int i = 0; i < disciplines.size(); i++)
    {
        HcpDisType discipline = disciplines.get(i);

        // Skip null disciplines or disciplines that are not root nodes
        if (discipline == null || discipline.getParent() != null)
            continue;

        form.lyrMain().tabPageActions().cmbDiscipline().newRow(discipline, discipline.getText());
    }
}
项目:openMAXIMS    文件:PatientICPImpl.java   
private PatientICPActionViewVo assemblePatientICPActionView(PatientICPAction action)
{
    PatientICPActionViewVo actionVo = new PatientICPActionViewVo(action.getId(),action.getVersion());
    actionVo.setIsRIE(action.getIsRIE());
    actionVo.setCurrentStatus(PatientICPActionStatusVoAssembler.create(action.getCurrentStatus()));
    actionVo.setRequiresCounterSigning(action.isRequiresCounterSigning());

    actionVo.setAction(new ICPActionViewVo(action.getAction().getId(), action.getAction().getVersion()));
    if (action.getAction().getDiscipline() != null)
    {
        actionVo.getAction().setDiscipline(new HcpDisTypeCollection());
        for (int i = 0 ; i < action.getAction().getDiscipline().size() ; i++)
        {
            actionVo.getAction().getDiscipline().add(ims.core.vo.lookups.LookupHelper.getHcpDisTypeInstance(getLookupService(), ((LookupInstance)action.getAction().getDiscipline().get(i)).getId()));
        }
    }

    actionVo.getAction().setHelpURL(action.getAction().getHelpURL());
    actionVo.getAction().setLinkedType(ims.core.vo.lookups.LookupHelper.getICPCompLinkedTypeInstance(getLookupService(), action.getAction().getLinkedType().getId()));
    actionVo.getAction().setName(action.getAction().getName());
    actionVo.getAction().setRequiresCounterSignature(action.getAction().isRequiresCounterSignature());
    actionVo.getAction().setSequence(action.getAction().getSequence());
    actionVo.getAction().setIsRIE(action.getAction().getIsRIE());
    return actionVo;
}
项目:openMAXIMS    文件:Logic.java   
private void loadDisciplines()
{
    form.lyrContact().tabContactSummary().cmbSearchDisipline().clear();
    form.lyrContact().tabContactDetails().cmbDiscipline().clear();

    HcpDisTypeCollection lookupCollection = LookupHelper.getHcpDisType(domain.getLookupService());

    for (int x = 0; x < lookupCollection.size(); x++)
    {
        if (lookupCollection.get(x).getParent() != null)
        {
            form.lyrContact().tabContactSummary().cmbSearchDisipline().newRow(lookupCollection.get(x), lookupCollection.get(x).getText(), lookupCollection.get(x).getImage(), lookupCollection.get(x).getTextColor());
            form.lyrContact().tabContactDetails().cmbDiscipline().newRow(lookupCollection.get(x), lookupCollection.get(x).getText(), lookupCollection.get(x).getImage(), lookupCollection.get(x).getTextColor());
        }
    }
}
项目:openMAXIMS    文件:Logic.java   
private void initialiseScreenControls() 
{
    //WDEV-15382
    form.txtNotes().setVisible(false); 
    form.txtNotes().setEnabled(false);
    form.richNotes().setVisible(true);
    form.richNotes().setEnabled(false);

    form.customControlReviewed().ignoreComponentReadonlyFlag(Boolean.TRUE);
    form.chkForReview().setVisible(true);
    form.cmbDiscipline().setVisible(true);
    form.lblDiscipline().setVisible(true);
    form.setcustomControlReviewedVisible(false);
    form.chkMarkAsReviewed().setVisible(false);
    form.customControlAuthoring().setIsRequiredPropertyToControls(true);
    form.cmbDiscipline().clear();
    HcpDisTypeCollection hcpDisTypeColl = (ims.core.vo.lookups.LookupHelper.getHcpDisType(domain.getLookupService()));
    for( int i = 0;i < hcpDisTypeColl.size();i++)
    {
        if(hcpDisTypeColl.get(i).getParent() == null)
            form.cmbDiscipline().newRow(hcpDisTypeColl.get(i), hcpDisTypeColl.get(i).getIItemText(),hcpDisTypeColl.get(i).getImage());

    }
}
项目:openMAXIMS    文件:Logic.java   
/**
 * Function used to bind HCP Discipline with combo-box
 * <br>It will only bind root values
 */
protected void initializeDisciplinesComboBox()
{
    // Clear combo-box
    form.cmbDiscipline().clear();

    // Get HCP Discipline values
    HcpDisTypeCollection disciplines = LookupHelper.getHcpDisType(domain.getLookupService());

    if (disciplines == null)
        return;

    // Populate combo box with root disciplines
    for  (int i = 0; i < disciplines.size(); i++)
    {
        HcpDisType discipline = disciplines.get(i);

        // If discipline is a root discipline then add it to the combo box
        if (discipline != null && discipline.getParent() == null)
        {
            form.cmbDiscipline().newRow(discipline, discipline.getText(), discipline.getImage());
        }
    }
}
项目:openMAXIMS    文件:Logic.java   
/**
 * Function used to initialize the ICP Action Discipline combobox Will only
 * permit selection of top level ICP Action discipline
 */
private void initializeICPActionDisciplineComboBox()
{
    // Clear disciplines from check list
    form.ctnConfiguration().lyrICPTabs().Action().chklistActionDiscipline().clear();

    // Get all the values for ICP Action discipline
    HcpDisTypeCollection disciplines = LookupHelper.getHcpDisType(domain.getLookupService());

    if (disciplines == null)
        return;

    // Populate the check list with discipline
    for (int i = 0; i < disciplines.size(); i++)
    {
        HcpDisType discipline = disciplines.get(i);

        // Skip null disciplines or disciplines that are not root nodes
        if (discipline == null || discipline.getParent() != null)
            continue;

        form.ctnConfiguration().lyrICPTabs().Action().chklistActionDiscipline().newRow(discipline);
    }
}
项目:openMAXIMS    文件:Logic.java   
private void initializeDisciplineCombobox()
{
    // Clear disciplines from combo-box list
    form.lyrMain().tabPageActions().cmbDiscipline().clear();

    // Get all the values for ICP Action discipline
    HcpDisTypeCollection disciplines = LookupHelper.getHcpDisType(domain.getLookupService());

    if (disciplines == null)
        return;

    // Populate the check list with discipline
    for (int i = 0; i < disciplines.size(); i++)
    {
        HcpDisType discipline = disciplines.get(i);

        // Skip null disciplines or disciplines that are not root nodes
        if (discipline == null || discipline.getParent() != null)
            continue;

        form.lyrMain().tabPageActions().cmbDiscipline().newRow(discipline, discipline.getText());
    }
}
项目:openMAXIMS    文件:PatientICPImpl.java   
private PatientICPActionViewVo assemblePatientICPActionView(PatientICPAction action)
{
    PatientICPActionViewVo actionVo = new PatientICPActionViewVo(action.getId(),action.getVersion());
    actionVo.setIsRIE(action.getIsRIE());
    actionVo.setCurrentStatus(PatientICPActionStatusVoAssembler.create(action.getCurrentStatus()));
    actionVo.setRequiresCounterSigning(action.isRequiresCounterSigning());

    actionVo.setAction(new ICPActionViewVo(action.getAction().getId(), action.getAction().getVersion()));
    if (action.getAction().getDiscipline() != null)
    {
        actionVo.getAction().setDiscipline(new HcpDisTypeCollection());
        for (int i = 0 ; i < action.getAction().getDiscipline().size() ; i++)
        {
            actionVo.getAction().getDiscipline().add(ims.core.vo.lookups.LookupHelper.getHcpDisTypeInstance(getLookupService(), ((LookupInstance)action.getAction().getDiscipline().get(i)).getId()));
        }
    }

    actionVo.getAction().setHelpURL(action.getAction().getHelpURL());
    actionVo.getAction().setLinkedType(ims.core.vo.lookups.LookupHelper.getICPCompLinkedTypeInstance(getLookupService(), action.getAction().getLinkedType().getId()));
    actionVo.getAction().setName(action.getAction().getName());
    actionVo.getAction().setRequiresCounterSignature(action.getAction().isRequiresCounterSignature());
    actionVo.getAction().setSequence(action.getAction().getSequence());
    actionVo.getAction().setIsRIE(action.getAction().getIsRIE());
    return actionVo;
}
项目:openMAXIMS    文件:Logic.java   
private void initialiseScreenControls() 
{
    //WDEV-15382
    form.txtNotes().setVisible(false); 
    form.txtNotes().setEnabled(false);
    form.richNotes().setVisible(true);
    form.richNotes().setEnabled(false);

    form.customControlReviewed().ignoreComponentReadonlyFlag(Boolean.TRUE);
    form.chkForReview().setVisible(true);
    form.cmbDiscipline().setVisible(true);
    form.lblDiscipline().setVisible(true);
    form.setcustomControlReviewedVisible(false);
    form.chkMarkAsReviewed().setVisible(false);
    form.customControlAuthoring().setIsRequiredPropertyToControls(true);
    form.cmbDiscipline().clear();
    HcpDisTypeCollection hcpDisTypeColl = (ims.core.vo.lookups.LookupHelper.getHcpDisType(domain.getLookupService()));
    for( int i = 0;i < hcpDisTypeColl.size();i++)
    {
        if(hcpDisTypeColl.get(i).getParent() == null)
            form.cmbDiscipline().newRow(hcpDisTypeColl.get(i), hcpDisTypeColl.get(i).getIItemText(),hcpDisTypeColl.get(i).getImage());

    }
}
项目:openmaxims-linux    文件:Logic.java   
/**
 * Function used to bind HCP Discipline with combo-box
 * <br>It will only bind root values
 */
protected void initializeDisciplinesComboBox()
{
    // Clear combo-box
    form.cmbDiscipline().clear();

    // Get HCP Discipline values
    HcpDisTypeCollection disciplines = LookupHelper.getHcpDisType(domain.getLookupService());

    if (disciplines == null)
        return;

    // Populate combo box with root disciplines
    for  (int i = 0; i < disciplines.size(); i++)
    {
        HcpDisType discipline = disciplines.get(i);

        // If discipline is a root discipline then add it to the combo box
        if (discipline != null && discipline.getParent() == null)
        {
            form.cmbDiscipline().newRow(discipline, discipline.getText(), discipline.getImage());
        }
    }
}
项目:openmaxims-linux    文件:Logic.java   
/**
 * Function used to initialize the ICP Action Discipline combobox Will only
 * permit selection of top level ICP Action discipline
 */
private void initializeICPActionDisciplineComboBox()
{
    // Clear disciplines from check list
    form.ctnConfiguration().lyrICPTabs().Action().chklistActionDiscipline().clear();

    // Get all the values for ICP Action discipline
    HcpDisTypeCollection disciplines = LookupHelper.getHcpDisType(domain.getLookupService());

    if (disciplines == null)
        return;

    // Populate the check list with discipline
    for (int i = 0; i < disciplines.size(); i++)
    {
        HcpDisType discipline = disciplines.get(i);

        // Skip null disciplines or disciplines that are not root nodes
        if (discipline == null || discipline.getParent() != null)
            continue;

        form.ctnConfiguration().lyrICPTabs().Action().chklistActionDiscipline().newRow(discipline);
    }
}
项目:openmaxims-linux    文件:Logic.java   
private void initializeDisciplineCombobox()
{
    // Clear disciplines from combo-box list
    form.lyrMain().tabPageActions().cmbDiscipline().clear();

    // Get all the values for ICP Action discipline
    HcpDisTypeCollection disciplines = LookupHelper.getHcpDisType(domain.getLookupService());

    if (disciplines == null)
        return;

    // Populate the check list with discipline
    for (int i = 0; i < disciplines.size(); i++)
    {
        HcpDisType discipline = disciplines.get(i);

        // Skip null disciplines or disciplines that are not root nodes
        if (discipline == null || discipline.getParent() != null)
            continue;

        form.lyrMain().tabPageActions().cmbDiscipline().newRow(discipline, discipline.getText());
    }
}
项目:openmaxims-linux    文件:PatientICPImpl.java   
private PatientICPActionViewVo assemblePatientICPActionView(PatientICPAction action)
{
    PatientICPActionViewVo actionVo = new PatientICPActionViewVo(action.getId(),action.getVersion());
    actionVo.setIsRIE(action.getIsRIE());
    actionVo.setCurrentStatus(PatientICPActionStatusVoAssembler.create(action.getCurrentStatus()));
    actionVo.setRequiresCounterSigning(action.isRequiresCounterSigning());

    actionVo.setAction(new ICPActionViewVo(action.getAction().getId(), action.getAction().getVersion()));
    if (action.getAction().getDiscipline() != null)
    {
        actionVo.getAction().setDiscipline(new HcpDisTypeCollection());
        for (int i = 0 ; i < action.getAction().getDiscipline().size() ; i++)
        {
            actionVo.getAction().getDiscipline().add(ims.core.vo.lookups.LookupHelper.getHcpDisTypeInstance(getLookupService(), ((LookupInstance)action.getAction().getDiscipline().get(i)).getId()));
        }
    }

    actionVo.getAction().setHelpURL(action.getAction().getHelpURL());
    actionVo.getAction().setLinkedType(ims.core.vo.lookups.LookupHelper.getICPCompLinkedTypeInstance(getLookupService(), action.getAction().getLinkedType().getId()));
    actionVo.getAction().setName(action.getAction().getName());
    actionVo.getAction().setRequiresCounterSignature(action.getAction().isRequiresCounterSignature());
    actionVo.getAction().setSequence(action.getAction().getSequence());
    actionVo.getAction().setIsRIE(action.getAction().getIsRIE());
    return actionVo;
}
项目:openmaxims-linux    文件:Logic.java   
private void initialiseScreenControls() 
{
    //WDEV-15382
    form.txtNotes().setVisible(false); 
    form.txtNotes().setEnabled(false);
    form.richNotes().setVisible(true);
    form.richNotes().setEnabled(false);

    form.customControlReviewed().ignoreComponentReadonlyFlag(Boolean.TRUE);
    form.chkForReview().setVisible(true);
    form.cmbDiscipline().setVisible(true);
    form.lblDiscipline().setVisible(true);
    form.setcustomControlReviewedVisible(false);
    form.chkMarkAsReviewed().setVisible(false);
    form.customControlAuthoring().setIsRequiredPropertyToControls(true);
    form.cmbDiscipline().clear();
    HcpDisTypeCollection hcpDisTypeColl = (ims.core.vo.lookups.LookupHelper.getHcpDisType(domain.getLookupService()));
    for( int i = 0;i < hcpDisTypeColl.size();i++)
    {
        if(hcpDisTypeColl.get(i).getParent() == null)
            form.cmbDiscipline().newRow(hcpDisTypeColl.get(i), hcpDisTypeColl.get(i).getIItemText(),hcpDisTypeColl.get(i).getImage());

    }
}
项目:AvoinApotti    文件:Logic.java   
private void loadHcpTypes() 
{
    form.cmbAllocToTeam().clear();
    form.cmbIdByTeam().clear();

    HcpDisTypeCollection coll = LookupHelper.getHcpDisType(domain.getLookupService());
    TreeNode[] rootNodes = coll.getRootNodes();
    for (int i = 0; i < rootNodes.length; i++)
    {
        HcpDisType lk = (HcpDisType)rootNodes[i];   
        form.cmbAllocToTeam().newRow(lk, lk.getText());
        form.cmbIdByTeam().newRow(lk, lk.getText());
    }       
}
项目:AvoinApotti    文件:Logic.java   
private void initialize()
{
    form.chkActiveOnly().setValue(true);
    form.btnNoteCorrection().setEnabled(false); 

    //RootNodes are the Discipline instances
    HcpDisTypeCollection coll = LookupHelper.getHcpDisType(domain.getLookupService());
    TreeNode[] rootNodes = coll.getRootNodes();
    for (int i = 0; i < rootNodes.length; i++)
    {
        HcpDisType lk = (HcpDisType)rootNodes[i];
        if (!lk.equals(HcpDisType.NURSING))
            form.cmbDiscipline().newRow(lk,lk.getText());
    }
    //wdev-10791
    if(form.getGlobalContext().Nursing.getContactFilterIsNotNull())
    {
        ContactFilterVo tempVo = form.getGlobalContext().Nursing.getContactFilter();
        form.cmbDiscipline().setValue(tempVo != null ? tempVo.getDiscipline():null);
        if(tempVo.getHcp() != null && tempVo.getHcp().getName() != null)
        {
            form.qcbHCP().newRow(tempVo.getHcp(), tempVo.getHcp().getName().toString());            
            form.qcbHCP().setValue(tempVo.getHcp());
        }
        if(Boolean.TRUE.equals(tempVo.getActive()))
            form.chkActiveOnly().setValue(Boolean.TRUE);
        else
            form.chkActiveOnly().setValue(Boolean.FALSE);
    }
    //---------

    form.qcbHCP().setEnabled(form.cmbDiscipline().getValue()!=null);
    form.btnOk().setEnabled(form.cmbDiscipline().getValue()!=null);
    form.getLocalContext().setselectedRecord(null);         //wdev-10799

}
项目:AvoinApotti    文件:Logic.java   
private void loadProfessionCombo()
{
    HcpDisTypeCollection coll = LookupHelper.getHcpDisType(domain.getLookupService());
    TreeNode[] rootNodes = coll.getRootNodes();
    if (rootNodes != null)
    {
        for (int i = 0; i < rootNodes.length; i++)
        {
            HcpDisType lkParent = (HcpDisType) rootNodes[i];
            if (lkParent.isActive() == true)
                form.lyrProServices().tabProfessional().cmbProfessional().newRow(lkParent, lkParent.getText());
        }
    }
}
项目:AvoinApotti    文件:Logic.java   
private void loadProfessionCombo()
{
    HcpDisTypeCollection coll = LookupHelper.getHcpDisType(domain.getLookupService());
    TreeNode[] rootNodes = coll.getRootNodes();
    if (rootNodes != null)
    {
        for (int i = 0; i < rootNodes.length; i++)
        {
            HcpDisType lkParent = (HcpDisType) rootNodes[i];
            if (lkParent.isActive() == true)
                form.lyrSupportServices().tabPageProf().cmbProfessional().newRow(lkParent, lkParent.getText());
        }
    }
}
项目:AvoinApotti    文件:Logic.java   
private void loadHCPDiciplines()
{
    HcpDisTypeCollection coll = LookupHelper.getHcpDisType(domain.getLookupService());
    ims.framework.cn.data.TreeNode[] rootNodes = coll.getRootNodes();

    for (int i = 0; i < rootNodes.length; i++)
    {
        HcpDisType hcpDis = (HcpDisType) rootNodes[i];
        form.cmbHcpTypeFilter().newRow(hcpDis, hcpDis.getText());
    }
}
项目:AvoinApotti    文件:Logic.java   
private void initialise()
{
    initializeDynamicGrid();
    form.getLocalContext().setClinicalContactErr(true);
    form.cmbDiscipline().clear();
    HcpDisTypeCollection hcpDisTypeColl = (ims.core.vo.lookups.LookupHelper.getHcpDisType(domain.getLookupService()));
    for( int i = 0;i < hcpDisTypeColl.size();i++)
    {
        if(hcpDisTypeColl.get(i).getParent() == null)
            form.cmbDiscipline().newRow(hcpDisTypeColl.get(i), hcpDisTypeColl.get(i).getIItemText(),hcpDisTypeColl.get(i).getImage());
    }
    form.getLocalContext().setSelectedClinicalNote(null);   //wdev-14296
}
项目:openMAXIMS    文件:Logic.java   
private void loadHcpTypes() 
{
    form.cmbAllocToTeam().clear();
    form.cmbIdByTeam().clear();

    HcpDisTypeCollection coll = LookupHelper.getHcpDisType(domain.getLookupService());
    TreeNode[] rootNodes = coll.getRootNodes();
    for (int i = 0; i < rootNodes.length; i++)
    {
        HcpDisType lk = (HcpDisType)rootNodes[i];   
        form.cmbAllocToTeam().newRow(lk, lk.getText());
        form.cmbIdByTeam().newRow(lk, lk.getText());
    }       
}
项目:openMAXIMS    文件:Logic.java   
private void initialize()
{
    form.chkActiveOnly().setValue(true);
    form.btnNoteCorrection().setEnabled(false); 

    //RootNodes are the Discipline instances
    HcpDisTypeCollection coll = LookupHelper.getHcpDisType(domain.getLookupService());
    TreeNode[] rootNodes = coll.getRootNodes();
    for (int i = 0; i < rootNodes.length; i++)
    {
        HcpDisType lk = (HcpDisType)rootNodes[i];
        if (!lk.equals(HcpDisType.NURSING))
            form.cmbDiscipline().newRow(lk,lk.getText());
    }
    //wdev-10791
    if(form.getGlobalContext().Nursing.getContactFilterIsNotNull())
    {
        ContactFilterVo tempVo = form.getGlobalContext().Nursing.getContactFilter();
        form.cmbDiscipline().setValue(tempVo != null ? tempVo.getDiscipline():null);
        if(tempVo.getHcp() != null && tempVo.getHcp().getName() != null)
        {
            form.qcbHCP().newRow(tempVo.getHcp(), tempVo.getHcp().getName().toString());            
            form.qcbHCP().setValue(tempVo.getHcp());
        }
        if(Boolean.TRUE.equals(tempVo.getActive()))
            form.chkActiveOnly().setValue(Boolean.TRUE);
        else
            form.chkActiveOnly().setValue(Boolean.FALSE);
    }
    //---------

    form.qcbHCP().setEnabled(form.cmbDiscipline().getValue()!=null);
    form.btnOk().setEnabled(form.cmbDiscipline().getValue()!=null);
    form.getLocalContext().setselectedRecord(null);         //wdev-10799

}
项目:openMAXIMS    文件:Logic.java   
private void loadProfessionCombo()
{
    HcpDisTypeCollection coll = LookupHelper.getHcpDisType(domain.getLookupService());
    TreeNode[] rootNodes = coll.getRootNodes();
    if (rootNodes != null)
    {
        for (int i = 0; i < rootNodes.length; i++)
        {
            HcpDisType lkParent = (HcpDisType) rootNodes[i];
            if (lkParent.isActive() == true)
                form.lyrProServices().tabProfessional().cmbProfessional().newRow(lkParent, lkParent.getText());
        }
    }
}
项目:openMAXIMS    文件:Logic.java   
private void loadProfessionCombo()
{
    HcpDisTypeCollection coll = LookupHelper.getHcpDisType(domain.getLookupService());
    TreeNode[] rootNodes = coll.getRootNodes();
    if (rootNodes != null)
    {
        for (int i = 0; i < rootNodes.length; i++)
        {
            HcpDisType lkParent = (HcpDisType) rootNodes[i];
            if (lkParent.isActive() == true)
                form.lyrSupportServices().tabPageProf().cmbProfessional().newRow(lkParent, lkParent.getText());
        }
    }
}
项目:openMAXIMS    文件:Logic.java   
private void loadHCPDiciplines()
{
    HcpDisTypeCollection coll = LookupHelper.getHcpDisType(domain.getLookupService());
    ims.framework.cn.data.TreeNode[] rootNodes = coll.getRootNodes();

    for (int i = 0; i < rootNodes.length; i++)
    {
        HcpDisType hcpDis = (HcpDisType) rootNodes[i];
        form.cmbHcpTypeFilter().newRow(hcpDis, hcpDis.getText());
    }
}
项目:openMAXIMS    文件:Logic.java   
private void loadDisciplines()
{
    form.cmbDiscipline().clear();
    HcpDisTypeCollection hcpDisTypeColl = (ims.core.vo.lookups.LookupHelper.getHcpDisType(domain.getLookupService()));
    for( int i = 0;i < hcpDisTypeColl.size();i++)
    {
        if(hcpDisTypeColl.get(i).getParent() == null)
            form.cmbDiscipline().newRow(hcpDisTypeColl.get(i), hcpDisTypeColl.get(i).getIItemText(),hcpDisTypeColl.get(i).getImage());

    }
}
项目:openMAXIMS    文件:Logic.java   
private void initialise()
{
    initializeDynamicGrid();
    form.getLocalContext().setClinicalContactErr(true);
    form.cmbDiscipline().clear();
    HcpDisTypeCollection hcpDisTypeColl = (ims.core.vo.lookups.LookupHelper.getHcpDisType(domain.getLookupService()));
    for( int i = 0;i < hcpDisTypeColl.size();i++)
    {
        if(hcpDisTypeColl.get(i).getParent() == null)
            form.cmbDiscipline().newRow(hcpDisTypeColl.get(i), hcpDisTypeColl.get(i).getIItemText(),hcpDisTypeColl.get(i).getImage());
    }
    form.getLocalContext().setSelectedClinicalNote(null);   //wdev-14296
}
项目:openMAXIMS    文件:Logic.java   
private void loadHcpTypes() 
{
    form.cmbAllocToTeam().clear();
    form.cmbIdByTeam().clear();

    HcpDisTypeCollection coll = LookupHelper.getHcpDisType(domain.getLookupService());
    TreeNode[] rootNodes = coll.getRootNodes();
    for (int i = 0; i < rootNodes.length; i++)
    {
        HcpDisType lk = (HcpDisType)rootNodes[i];   
        form.cmbAllocToTeam().newRow(lk, lk.getText());
        form.cmbIdByTeam().newRow(lk, lk.getText());
    }       
}
项目:openMAXIMS    文件:Logic.java   
private void initialize()
{
    form.chkActiveOnly().setValue(true);
    form.btnNoteCorrection().setEnabled(false); 

    //RootNodes are the Discipline instances
    HcpDisTypeCollection coll = LookupHelper.getHcpDisType(domain.getLookupService());
    TreeNode[] rootNodes = coll.getRootNodes();
    for (int i = 0; i < rootNodes.length; i++)
    {
        HcpDisType lk = (HcpDisType)rootNodes[i];
        if (!lk.equals(HcpDisType.NURSING))
            form.cmbDiscipline().newRow(lk,lk.getText());
    }
    //wdev-10791
    if(form.getGlobalContext().Nursing.getContactFilterIsNotNull())
    {
        ContactFilterVo tempVo = form.getGlobalContext().Nursing.getContactFilter();
        form.cmbDiscipline().setValue(tempVo != null ? tempVo.getDiscipline():null);
        if(tempVo.getHcp() != null && tempVo.getHcp().getName() != null)
        {
            form.qcbHCP().newRow(tempVo.getHcp(), tempVo.getHcp().getName().toString());            
            form.qcbHCP().setValue(tempVo.getHcp());
        }
        if(Boolean.TRUE.equals(tempVo.getActive()))
            form.chkActiveOnly().setValue(Boolean.TRUE);
        else
            form.chkActiveOnly().setValue(Boolean.FALSE);
    }
    //---------

    form.qcbHCP().setEnabled(form.cmbDiscipline().getValue()!=null);
    form.btnOk().setEnabled(form.cmbDiscipline().getValue()!=null);
    form.getLocalContext().setselectedRecord(null);         //wdev-10799

}
项目:openMAXIMS    文件:Logic.java   
private void loadProfessionCombo()
{
    HcpDisTypeCollection coll = LookupHelper.getHcpDisType(domain.getLookupService());
    TreeNode[] rootNodes = coll.getRootNodes();
    if (rootNodes != null)
    {
        for (int i = 0; i < rootNodes.length; i++)
        {
            HcpDisType lkParent = (HcpDisType) rootNodes[i];
            if (lkParent.isActive() == true)
                form.lyrProServices().tabProfessional().cmbProfessional().newRow(lkParent, lkParent.getText());
        }
    }
}
项目:openMAXIMS    文件:Logic.java   
private void loadProfessionCombo()
{
    HcpDisTypeCollection coll = LookupHelper.getHcpDisType(domain.getLookupService());
    TreeNode[] rootNodes = coll.getRootNodes();
    if (rootNodes != null)
    {
        for (int i = 0; i < rootNodes.length; i++)
        {
            HcpDisType lkParent = (HcpDisType) rootNodes[i];
            if (lkParent.isActive() == true)
                form.lyrSupportServices().tabPageProf().cmbProfessional().newRow(lkParent, lkParent.getText());
        }
    }
}
项目:openMAXIMS    文件:Logic.java   
private void loadHCPDiciplines()
{
    HcpDisTypeCollection coll = LookupHelper.getHcpDisType(domain.getLookupService());
    ims.framework.cn.data.TreeNode[] rootNodes = coll.getRootNodes();

    for (int i = 0; i < rootNodes.length; i++)
    {
        HcpDisType hcpDis = (HcpDisType) rootNodes[i];
        form.cmbHcpTypeFilter().newRow(hcpDis, hcpDis.getText());
    }
}
项目:openMAXIMS    文件:Logic.java   
private void initialise()
{
    initializeDynamicGrid();
    form.getLocalContext().setClinicalContactErr(true);
    form.cmbDiscipline().clear();
    HcpDisTypeCollection hcpDisTypeColl = (ims.core.vo.lookups.LookupHelper.getHcpDisType(domain.getLookupService()));
    for( int i = 0;i < hcpDisTypeColl.size();i++)
    {
        if(hcpDisTypeColl.get(i).getParent() == null)
            form.cmbDiscipline().newRow(hcpDisTypeColl.get(i), hcpDisTypeColl.get(i).getIItemText(),hcpDisTypeColl.get(i).getImage());
    }
    form.getLocalContext().setSelectedClinicalNote(null);   //wdev-14296
}