Java 类ims.therapies.vo.PowerchairSkillsAssessmentVo 实例源码

项目:AvoinApotti    文件:Logic.java   
private void populateWheelchairAssessment(WheelchairAssessmentVo voWheelchairAssessment)
{
    if(voWheelchairAssessment == null || voWheelchairAssessment.getPowerchairSkillsAssess() == null)
        return;

    boolean lkupFound;
    GenForm.grdPowechairRow rowPowerchair;
    if(voWheelchairAssessment.getPowerchairSkillsAssessIsNotNull())
        for (int i = 0; i< voWheelchairAssessment.getPowerchairSkillsAssess().size(); i++)
        {
            PowerchairSkillsAssessmentVo voPowerchairSkills = voWheelchairAssessment.getPowerchairSkillsAssess().get(i);

            lkupFound = false;
            for(int j=0; j<form.grdPowechair().getRows().size(); j++){
                rowPowerchair = form.grdPowechair().getRows().get(j);
                if(rowPowerchair.getColPowerchairskills().equals(voPowerchairSkills.getPowerchairSkill())){
                    if(voPowerchairSkills.getPowerchairSkillAssLevelIsNotNull()){
                     if(voPowerchairSkills.getPowerchairSkillAssLevel().equals(PowerchairSkillAssessedLevel.INDEPENDENT))
                        rowPowerchair.setColIndependent(true);
                     else if(voPowerchairSkills.getPowerchairSkillAssLevel().equals(PowerchairSkillAssessedLevel.SUPERVISION))
                        rowPowerchair.setColSupervision(true);
                     else if(voPowerchairSkills.getPowerchairSkillAssLevel().equals(PowerchairSkillAssessedLevel.SAFE))
                        rowPowerchair.setColUnsafe(true);
                    }
                    lkupFound = true;
                }
            }
            if(!lkupFound){             
                rowPowerchair = form.grdPowechair().getRows().newRow();
                rowPowerchair.setColPowerchairskills(voPowerchairSkills.getPowerchairSkill());
                if(voPowerchairSkills.getPowerchairSkillAssLevelIsNotNull()){
                     if(voPowerchairSkills.getPowerchairSkillAssLevel().equals(PowerchairSkillAssessedLevel.INDEPENDENT))
                        rowPowerchair.setColIndependent(true);
                     else if(voPowerchairSkills.getPowerchairSkillAssLevel().equals(PowerchairSkillAssessedLevel.SUPERVISION))
                        rowPowerchair.setColSupervision(true);
                     else if(voPowerchairSkills.getPowerchairSkillAssLevel().equals(PowerchairSkillAssessedLevel.SAFE))
                        rowPowerchair.setColUnsafe(true);
                    }
            }

        }
}
项目:AvoinApotti    文件:Logic.java   
private WheelchairAssessmentVo populateDataFromScreem(WheelchairAssessmentVo voWheelchairAssessment) {

    if(voWheelchairAssessment.getClinicalContact()==null)
        voWheelchairAssessment.setClinicalContact(form.getGlobalContext().Core.getCurrentClinicalContact());

    voWheelchairAssessment.setAuthoringCP(form.qmbHCP().getValue());
    if(form.dtimRecording().getValue() == null || form.dtimRecording().getValue().getDate()==null){
        engine.showMessage("Please enter Date and Time.");
        return null;
    }
    if(form.dtimRecording().getValue().getTime()==null){
        engine.showMessage("Please enter Time.");
        return null;
    }
    voWheelchairAssessment.setAuthoringDateTime(form.dtimRecording().getValue());

    voWheelchairAssessment.setChairType(form.cmbChairType().getValue());

    WheelchairSurfaceDistanceVoCollection collSurfaceDistance = new WheelchairSurfaceDistanceVoCollection();
    GenForm.grdSurfaceRow rowSurface = null;
    for (int i = 0; i< form.grdSurface().getRows().size(); i++)
    {
        rowSurface = form.grdSurface().getRows().get(i);
        WheelchairSurfaceDistanceVo voSurfaceDistance = new WheelchairSurfaceDistanceVo();  

        voSurfaceDistance.setSurface(rowSurface.getColSurface());
        voSurfaceDistance.setDistance(rowSurface.getColDistance());

        collSurfaceDistance.add(voSurfaceDistance);
    }
    voWheelchairAssessment.setSurfaceDistance(collSurfaceDistance);

    PowerchairSkillsAssessmentVoCollection collPowerchairSkillsAssess = new PowerchairSkillsAssessmentVoCollection();
    GenForm.grdPowechairRow rowPowerchair = null;
    for (int i = 0; i< form.grdPowechair().getRows().size(); i++)
    {
        rowPowerchair = form.grdPowechair().getRows().get(i);
        PowerchairSkillsAssessmentVo voPowerchairSkills = new PowerchairSkillsAssessmentVo();   

        voPowerchairSkills.setPowerchairSkill(rowPowerchair.getColPowerchairskills());
        if(rowPowerchair.getColIndependent())
            voPowerchairSkills.setPowerchairSkillAssLevel(PowerchairSkillAssessedLevel.INDEPENDENT);
        else if(rowPowerchair.getColSupervision())
            voPowerchairSkills.setPowerchairSkillAssLevel(PowerchairSkillAssessedLevel.SUPERVISION);
        else if(rowPowerchair.getColUnsafe())
            voPowerchairSkills.setPowerchairSkillAssLevel(PowerchairSkillAssessedLevel.SAFE);

        collPowerchairSkillsAssess.add(voPowerchairSkills);
    }
    voWheelchairAssessment.setPowerchairSkillsAssess(collPowerchairSkillsAssess);

    WheelchairSkillsAssessmentVoCollection collWheelchairSkills = new WheelchairSkillsAssessmentVoCollection();
    GenForm.grdSkillsRow rowSkills = null;
    for (int i = 0; i< form.grdSkills().getRows().size(); i++)
    {
        rowSkills = form.grdSkills().getRows().get(i);
        WheelchairSkillsAssessmentVo voWheelchairSkills = new WheelchairSkillsAssessmentVo();   

        voWheelchairSkills.setWheelchairSkill(rowSkills.getColWheelchairSkills());
        if(rowSkills.getColContgood())
            voWheelchairSkills.setWheelchairSkillAssLevel(WheelchairSkillAssessedLevel.CONTINUOUSLYGOOD);
        else if(rowSkills.getColPoor())
            voWheelchairSkills.setWheelchairSkillAssLevel(WheelchairSkillAssessedLevel.POOR);
        else if(rowSkills.getColFair())
            voWheelchairSkills.setWheelchairSkillAssLevel(WheelchairSkillAssessedLevel.FAIR);

        collWheelchairSkills.add(voWheelchairSkills);
    }
    voWheelchairAssessment.setWheelchairSkillsAssess(collWheelchairSkills);

    return voWheelchairAssessment;
}
项目:openMAXIMS    文件:Logic.java   
private void populateWheelchairAssessment(WheelchairAssessmentVo voWheelchairAssessment)
{
    if(voWheelchairAssessment == null || voWheelchairAssessment.getPowerchairSkillsAssess() == null)
        return;

    boolean lkupFound;
    GenForm.grdPowechairRow rowPowerchair;
    if(voWheelchairAssessment.getPowerchairSkillsAssessIsNotNull())
        for (int i = 0; i< voWheelchairAssessment.getPowerchairSkillsAssess().size(); i++)
        {
            PowerchairSkillsAssessmentVo voPowerchairSkills = voWheelchairAssessment.getPowerchairSkillsAssess().get(i);

            lkupFound = false;
            for(int j=0; j<form.grdPowechair().getRows().size(); j++){
                rowPowerchair = form.grdPowechair().getRows().get(j);
                if(rowPowerchair.getColPowerchairskills().equals(voPowerchairSkills.getPowerchairSkill())){
                    if(voPowerchairSkills.getPowerchairSkillAssLevelIsNotNull()){
                     if(voPowerchairSkills.getPowerchairSkillAssLevel().equals(PowerchairSkillAssessedLevel.INDEPENDENT))
                        rowPowerchair.setColIndependent(true);
                     else if(voPowerchairSkills.getPowerchairSkillAssLevel().equals(PowerchairSkillAssessedLevel.SUPERVISION))
                        rowPowerchair.setColSupervision(true);
                     else if(voPowerchairSkills.getPowerchairSkillAssLevel().equals(PowerchairSkillAssessedLevel.SAFE))
                        rowPowerchair.setColUnsafe(true);
                    }
                    lkupFound = true;
                }
            }
            if(!lkupFound){             
                rowPowerchair = form.grdPowechair().getRows().newRow();
                rowPowerchair.setColPowerchairskills(voPowerchairSkills.getPowerchairSkill());
                if(voPowerchairSkills.getPowerchairSkillAssLevelIsNotNull()){
                     if(voPowerchairSkills.getPowerchairSkillAssLevel().equals(PowerchairSkillAssessedLevel.INDEPENDENT))
                        rowPowerchair.setColIndependent(true);
                     else if(voPowerchairSkills.getPowerchairSkillAssLevel().equals(PowerchairSkillAssessedLevel.SUPERVISION))
                        rowPowerchair.setColSupervision(true);
                     else if(voPowerchairSkills.getPowerchairSkillAssLevel().equals(PowerchairSkillAssessedLevel.SAFE))
                        rowPowerchair.setColUnsafe(true);
                    }
            }

        }
}
项目:openMAXIMS    文件:Logic.java   
private WheelchairAssessmentVo populateDataFromScreem(WheelchairAssessmentVo voWheelchairAssessment) {

    if(voWheelchairAssessment.getClinicalContact()==null)
        voWheelchairAssessment.setClinicalContact(form.getGlobalContext().Core.getCurrentClinicalContact());

    voWheelchairAssessment.setAuthoringCP(form.qmbHCP().getValue());
    if(form.dtimRecording().getValue() == null || form.dtimRecording().getValue().getDate()==null){
        engine.showMessage("Please enter Date and Time.");
        return null;
    }
    if(form.dtimRecording().getValue().getTime()==null){
        engine.showMessage("Please enter Time.");
        return null;
    }
    voWheelchairAssessment.setAuthoringDateTime(form.dtimRecording().getValue());

    voWheelchairAssessment.setChairType(form.cmbChairType().getValue());

    WheelchairSurfaceDistanceVoCollection collSurfaceDistance = new WheelchairSurfaceDistanceVoCollection();
    GenForm.grdSurfaceRow rowSurface = null;
    for (int i = 0; i< form.grdSurface().getRows().size(); i++)
    {
        rowSurface = form.grdSurface().getRows().get(i);
        WheelchairSurfaceDistanceVo voSurfaceDistance = new WheelchairSurfaceDistanceVo();  

        voSurfaceDistance.setSurface(rowSurface.getColSurface());
        voSurfaceDistance.setDistance(rowSurface.getColDistance());

        collSurfaceDistance.add(voSurfaceDistance);
    }
    voWheelchairAssessment.setSurfaceDistance(collSurfaceDistance);

    PowerchairSkillsAssessmentVoCollection collPowerchairSkillsAssess = new PowerchairSkillsAssessmentVoCollection();
    GenForm.grdPowechairRow rowPowerchair = null;
    for (int i = 0; i< form.grdPowechair().getRows().size(); i++)
    {
        rowPowerchair = form.grdPowechair().getRows().get(i);
        PowerchairSkillsAssessmentVo voPowerchairSkills = new PowerchairSkillsAssessmentVo();   

        voPowerchairSkills.setPowerchairSkill(rowPowerchair.getColPowerchairskills());
        if(rowPowerchair.getColIndependent())
            voPowerchairSkills.setPowerchairSkillAssLevel(PowerchairSkillAssessedLevel.INDEPENDENT);
        else if(rowPowerchair.getColSupervision())
            voPowerchairSkills.setPowerchairSkillAssLevel(PowerchairSkillAssessedLevel.SUPERVISION);
        else if(rowPowerchair.getColUnsafe())
            voPowerchairSkills.setPowerchairSkillAssLevel(PowerchairSkillAssessedLevel.SAFE);

        collPowerchairSkillsAssess.add(voPowerchairSkills);
    }
    voWheelchairAssessment.setPowerchairSkillsAssess(collPowerchairSkillsAssess);

    WheelchairSkillsAssessmentVoCollection collWheelchairSkills = new WheelchairSkillsAssessmentVoCollection();
    GenForm.grdSkillsRow rowSkills = null;
    for (int i = 0; i< form.grdSkills().getRows().size(); i++)
    {
        rowSkills = form.grdSkills().getRows().get(i);
        WheelchairSkillsAssessmentVo voWheelchairSkills = new WheelchairSkillsAssessmentVo();   

        voWheelchairSkills.setWheelchairSkill(rowSkills.getColWheelchairSkills());
        if(rowSkills.getColContgood())
            voWheelchairSkills.setWheelchairSkillAssLevel(WheelchairSkillAssessedLevel.CONTINUOUSLYGOOD);
        else if(rowSkills.getColPoor())
            voWheelchairSkills.setWheelchairSkillAssLevel(WheelchairSkillAssessedLevel.POOR);
        else if(rowSkills.getColFair())
            voWheelchairSkills.setWheelchairSkillAssLevel(WheelchairSkillAssessedLevel.FAIR);

        collWheelchairSkills.add(voWheelchairSkills);
    }
    voWheelchairAssessment.setWheelchairSkillsAssess(collWheelchairSkills);

    return voWheelchairAssessment;
}
项目:openMAXIMS    文件:Logic.java   
private void populateWheelchairAssessment(WheelchairAssessmentVo voWheelchairAssessment)
{
    if(voWheelchairAssessment == null || voWheelchairAssessment.getPowerchairSkillsAssess() == null)
        return;

    boolean lkupFound;
    GenForm.grdPowechairRow rowPowerchair;
    if(voWheelchairAssessment.getPowerchairSkillsAssessIsNotNull())
        for (int i = 0; i< voWheelchairAssessment.getPowerchairSkillsAssess().size(); i++)
        {
            PowerchairSkillsAssessmentVo voPowerchairSkills = voWheelchairAssessment.getPowerchairSkillsAssess().get(i);

            lkupFound = false;
            for(int j=0; j<form.grdPowechair().getRows().size(); j++){
                rowPowerchair = form.grdPowechair().getRows().get(j);
                if(rowPowerchair.getColPowerchairskills().equals(voPowerchairSkills.getPowerchairSkill())){
                    if(voPowerchairSkills.getPowerchairSkillAssLevelIsNotNull()){
                     if(voPowerchairSkills.getPowerchairSkillAssLevel().equals(PowerchairSkillAssessedLevel.INDEPENDENT))
                        rowPowerchair.setColIndependent(true);
                     else if(voPowerchairSkills.getPowerchairSkillAssLevel().equals(PowerchairSkillAssessedLevel.SUPERVISION))
                        rowPowerchair.setColSupervision(true);
                     else if(voPowerchairSkills.getPowerchairSkillAssLevel().equals(PowerchairSkillAssessedLevel.SAFE))
                        rowPowerchair.setColUnsafe(true);
                    }
                    lkupFound = true;
                }
            }
            if(!lkupFound){             
                rowPowerchair = form.grdPowechair().getRows().newRow();
                rowPowerchair.setColPowerchairskills(voPowerchairSkills.getPowerchairSkill());
                if(voPowerchairSkills.getPowerchairSkillAssLevelIsNotNull()){
                     if(voPowerchairSkills.getPowerchairSkillAssLevel().equals(PowerchairSkillAssessedLevel.INDEPENDENT))
                        rowPowerchair.setColIndependent(true);
                     else if(voPowerchairSkills.getPowerchairSkillAssLevel().equals(PowerchairSkillAssessedLevel.SUPERVISION))
                        rowPowerchair.setColSupervision(true);
                     else if(voPowerchairSkills.getPowerchairSkillAssLevel().equals(PowerchairSkillAssessedLevel.SAFE))
                        rowPowerchair.setColUnsafe(true);
                    }
            }

        }
}
项目:openMAXIMS    文件:Logic.java   
private WheelchairAssessmentVo populateDataFromScreem(WheelchairAssessmentVo voWheelchairAssessment) {

    if(voWheelchairAssessment.getClinicalContact()==null)
        voWheelchairAssessment.setClinicalContact(form.getGlobalContext().Core.getCurrentClinicalContact());

    voWheelchairAssessment.setAuthoringCP(form.qmbHCP().getValue());
    if(form.dtimRecording().getValue() == null || form.dtimRecording().getValue().getDate()==null){
        engine.showMessage("Please enter Date and Time.");
        return null;
    }
    if(form.dtimRecording().getValue().getTime()==null){
        engine.showMessage("Please enter Time.");
        return null;
    }
    voWheelchairAssessment.setAuthoringDateTime(form.dtimRecording().getValue());

    voWheelchairAssessment.setChairType(form.cmbChairType().getValue());

    WheelchairSurfaceDistanceVoCollection collSurfaceDistance = new WheelchairSurfaceDistanceVoCollection();
    GenForm.grdSurfaceRow rowSurface = null;
    for (int i = 0; i< form.grdSurface().getRows().size(); i++)
    {
        rowSurface = form.grdSurface().getRows().get(i);
        WheelchairSurfaceDistanceVo voSurfaceDistance = new WheelchairSurfaceDistanceVo();  

        voSurfaceDistance.setSurface(rowSurface.getColSurface());
        voSurfaceDistance.setDistance(rowSurface.getColDistance());

        collSurfaceDistance.add(voSurfaceDistance);
    }
    voWheelchairAssessment.setSurfaceDistance(collSurfaceDistance);

    PowerchairSkillsAssessmentVoCollection collPowerchairSkillsAssess = new PowerchairSkillsAssessmentVoCollection();
    GenForm.grdPowechairRow rowPowerchair = null;
    for (int i = 0; i< form.grdPowechair().getRows().size(); i++)
    {
        rowPowerchair = form.grdPowechair().getRows().get(i);
        PowerchairSkillsAssessmentVo voPowerchairSkills = new PowerchairSkillsAssessmentVo();   

        voPowerchairSkills.setPowerchairSkill(rowPowerchair.getColPowerchairskills());
        if(rowPowerchair.getColIndependent())
            voPowerchairSkills.setPowerchairSkillAssLevel(PowerchairSkillAssessedLevel.INDEPENDENT);
        else if(rowPowerchair.getColSupervision())
            voPowerchairSkills.setPowerchairSkillAssLevel(PowerchairSkillAssessedLevel.SUPERVISION);
        else if(rowPowerchair.getColUnsafe())
            voPowerchairSkills.setPowerchairSkillAssLevel(PowerchairSkillAssessedLevel.SAFE);

        collPowerchairSkillsAssess.add(voPowerchairSkills);
    }
    voWheelchairAssessment.setPowerchairSkillsAssess(collPowerchairSkillsAssess);

    WheelchairSkillsAssessmentVoCollection collWheelchairSkills = new WheelchairSkillsAssessmentVoCollection();
    GenForm.grdSkillsRow rowSkills = null;
    for (int i = 0; i< form.grdSkills().getRows().size(); i++)
    {
        rowSkills = form.grdSkills().getRows().get(i);
        WheelchairSkillsAssessmentVo voWheelchairSkills = new WheelchairSkillsAssessmentVo();   

        voWheelchairSkills.setWheelchairSkill(rowSkills.getColWheelchairSkills());
        if(rowSkills.getColContgood())
            voWheelchairSkills.setWheelchairSkillAssLevel(WheelchairSkillAssessedLevel.CONTINUOUSLYGOOD);
        else if(rowSkills.getColPoor())
            voWheelchairSkills.setWheelchairSkillAssLevel(WheelchairSkillAssessedLevel.POOR);
        else if(rowSkills.getColFair())
            voWheelchairSkills.setWheelchairSkillAssLevel(WheelchairSkillAssessedLevel.FAIR);

        collWheelchairSkills.add(voWheelchairSkills);
    }
    voWheelchairAssessment.setWheelchairSkillsAssess(collWheelchairSkills);

    return voWheelchairAssessment;
}
项目:openmaxims-linux    文件:Logic.java   
private void populateWheelchairAssessment(WheelchairAssessmentVo voWheelchairAssessment)
{
    if(voWheelchairAssessment == null || voWheelchairAssessment.getPowerchairSkillsAssess() == null)
        return;

    boolean lkupFound;
    GenForm.grdPowechairRow rowPowerchair;
    if(voWheelchairAssessment.getPowerchairSkillsAssessIsNotNull())
        for (int i = 0; i< voWheelchairAssessment.getPowerchairSkillsAssess().size(); i++)
        {
            PowerchairSkillsAssessmentVo voPowerchairSkills = voWheelchairAssessment.getPowerchairSkillsAssess().get(i);

            lkupFound = false;
            for(int j=0; j<form.grdPowechair().getRows().size(); j++){
                rowPowerchair = form.grdPowechair().getRows().get(j);
                if(rowPowerchair.getColPowerchairskills().equals(voPowerchairSkills.getPowerchairSkill())){
                    if(voPowerchairSkills.getPowerchairSkillAssLevelIsNotNull()){
                     if(voPowerchairSkills.getPowerchairSkillAssLevel().equals(PowerchairSkillAssessedLevel.INDEPENDENT))
                        rowPowerchair.setColIndependent(true);
                     else if(voPowerchairSkills.getPowerchairSkillAssLevel().equals(PowerchairSkillAssessedLevel.SUPERVISION))
                        rowPowerchair.setColSupervision(true);
                     else if(voPowerchairSkills.getPowerchairSkillAssLevel().equals(PowerchairSkillAssessedLevel.SAFE))
                        rowPowerchair.setColUnsafe(true);
                    }
                    lkupFound = true;
                }
            }
            if(!lkupFound){             
                rowPowerchair = form.grdPowechair().getRows().newRow();
                rowPowerchair.setColPowerchairskills(voPowerchairSkills.getPowerchairSkill());
                if(voPowerchairSkills.getPowerchairSkillAssLevelIsNotNull()){
                     if(voPowerchairSkills.getPowerchairSkillAssLevel().equals(PowerchairSkillAssessedLevel.INDEPENDENT))
                        rowPowerchair.setColIndependent(true);
                     else if(voPowerchairSkills.getPowerchairSkillAssLevel().equals(PowerchairSkillAssessedLevel.SUPERVISION))
                        rowPowerchair.setColSupervision(true);
                     else if(voPowerchairSkills.getPowerchairSkillAssLevel().equals(PowerchairSkillAssessedLevel.SAFE))
                        rowPowerchair.setColUnsafe(true);
                    }
            }

        }
}
项目:openmaxims-linux    文件:Logic.java   
private WheelchairAssessmentVo populateDataFromScreem(WheelchairAssessmentVo voWheelchairAssessment) {

    if(voWheelchairAssessment.getClinicalContact()==null)
        voWheelchairAssessment.setClinicalContact(form.getGlobalContext().Core.getCurrentClinicalContact());

    voWheelchairAssessment.setAuthoringCP(form.qmbHCP().getValue());
    if(form.dtimRecording().getValue() == null || form.dtimRecording().getValue().getDate()==null){
        engine.showMessage("Please enter Date and Time.");
        return null;
    }
    if(form.dtimRecording().getValue().getTime()==null){
        engine.showMessage("Please enter Time.");
        return null;
    }
    voWheelchairAssessment.setAuthoringDateTime(form.dtimRecording().getValue());

    voWheelchairAssessment.setChairType(form.cmbChairType().getValue());

    WheelchairSurfaceDistanceVoCollection collSurfaceDistance = new WheelchairSurfaceDistanceVoCollection();
    GenForm.grdSurfaceRow rowSurface = null;
    for (int i = 0; i< form.grdSurface().getRows().size(); i++)
    {
        rowSurface = form.grdSurface().getRows().get(i);
        WheelchairSurfaceDistanceVo voSurfaceDistance = new WheelchairSurfaceDistanceVo();  

        voSurfaceDistance.setSurface(rowSurface.getColSurface());
        voSurfaceDistance.setDistance(rowSurface.getColDistance());

        collSurfaceDistance.add(voSurfaceDistance);
    }
    voWheelchairAssessment.setSurfaceDistance(collSurfaceDistance);

    PowerchairSkillsAssessmentVoCollection collPowerchairSkillsAssess = new PowerchairSkillsAssessmentVoCollection();
    GenForm.grdPowechairRow rowPowerchair = null;
    for (int i = 0; i< form.grdPowechair().getRows().size(); i++)
    {
        rowPowerchair = form.grdPowechair().getRows().get(i);
        PowerchairSkillsAssessmentVo voPowerchairSkills = new PowerchairSkillsAssessmentVo();   

        voPowerchairSkills.setPowerchairSkill(rowPowerchair.getColPowerchairskills());
        if(rowPowerchair.getColIndependent())
            voPowerchairSkills.setPowerchairSkillAssLevel(PowerchairSkillAssessedLevel.INDEPENDENT);
        else if(rowPowerchair.getColSupervision())
            voPowerchairSkills.setPowerchairSkillAssLevel(PowerchairSkillAssessedLevel.SUPERVISION);
        else if(rowPowerchair.getColUnsafe())
            voPowerchairSkills.setPowerchairSkillAssLevel(PowerchairSkillAssessedLevel.SAFE);

        collPowerchairSkillsAssess.add(voPowerchairSkills);
    }
    voWheelchairAssessment.setPowerchairSkillsAssess(collPowerchairSkillsAssess);

    WheelchairSkillsAssessmentVoCollection collWheelchairSkills = new WheelchairSkillsAssessmentVoCollection();
    GenForm.grdSkillsRow rowSkills = null;
    for (int i = 0; i< form.grdSkills().getRows().size(); i++)
    {
        rowSkills = form.grdSkills().getRows().get(i);
        WheelchairSkillsAssessmentVo voWheelchairSkills = new WheelchairSkillsAssessmentVo();   

        voWheelchairSkills.setWheelchairSkill(rowSkills.getColWheelchairSkills());
        if(rowSkills.getColContgood())
            voWheelchairSkills.setWheelchairSkillAssLevel(WheelchairSkillAssessedLevel.CONTINUOUSLYGOOD);
        else if(rowSkills.getColPoor())
            voWheelchairSkills.setWheelchairSkillAssLevel(WheelchairSkillAssessedLevel.POOR);
        else if(rowSkills.getColFair())
            voWheelchairSkills.setWheelchairSkillAssLevel(WheelchairSkillAssessedLevel.FAIR);

        collWheelchairSkills.add(voWheelchairSkills);
    }
    voWheelchairAssessment.setWheelchairSkillsAssess(collWheelchairSkills);

    return voWheelchairAssessment;
}