Java 类ims.nursing.vo.PatientProperty 实例源码

项目:AvoinApotti    文件:Logic.java   
private void populateScreenFromData(NurAssessmentAccommodationPropertyVo voAccomProp) 
{
    if (voAccomProp.getIsComplete().booleanValue() == true)  // Complete
    {
        form.setMode(FormMode.VIEW);
        form.chkSectionComplete().setValue(true);
        form.chkSectionComplete().setEnabled(false);
    }
    form.chkCopy().setEnabled(false);
    if (voAccomProp.getCopy().booleanValue() == true)
    {
        form.chkCopy().setValue(true);  
    }


    PatientProperty voProperty = voAccomProp.getPatientProperty();
    if(voProperty != null)
    {
        form.ansPropertyBookCompleted().setValue(voProperty.getPropertyBookComplete());
        form.txtSerialNumber().setValue(voProperty.getSerialNumber());
        //wdev-13083
        if(form.getMode().equals(FormMode.EDIT))
        {
            if(YesNoUnknown.NO.equals(form.ansPropertyBookCompleted().getValue()))
            {
                form.txtSerialNumber().setEnabled(false);   
            }
            else
            {
                form.txtSerialNumber().setEnabled(true);
            }
        }
        //------------------
    }   

    AccommodationHousing voHousing = voAccomProp.getAccommodationHousing();
    if(voHousing != null)
    {
        form.cmbAccommodation().setValue(voHousing.getAccommodationType());
        form.cmbLivingArrangements().setValue(voHousing.getLivingArrangements());
        form.txtNotes().setValue(voHousing.getNotes());
    }
}
项目:openMAXIMS    文件:Logic.java   
private void populateScreenFromData(NurAssessmentAccommodationPropertyVo voAccomProp) 
{
    if (voAccomProp.getIsComplete().booleanValue() == true)  // Complete
    {
        form.setMode(FormMode.VIEW);
        form.chkSectionComplete().setValue(true);
        form.chkSectionComplete().setEnabled(false);
    }
    form.chkCopy().setEnabled(false);
    if (voAccomProp.getCopy().booleanValue() == true)
    {
        form.chkCopy().setValue(true);  
    }


    PatientProperty voProperty = voAccomProp.getPatientProperty();
    if(voProperty != null)
    {
        form.ansPropertyBookCompleted().setValue(voProperty.getPropertyBookComplete());
        form.txtSerialNumber().setValue(voProperty.getSerialNumber());
        //wdev-13083
        if(form.getMode().equals(FormMode.EDIT))
        {
            if(YesNoUnknown.NO.equals(form.ansPropertyBookCompleted().getValue()))
            {
                form.txtSerialNumber().setEnabled(false);   
            }
            else
            {
                form.txtSerialNumber().setEnabled(true);
            }
        }
        //------------------
    }   

    AccommodationHousing voHousing = voAccomProp.getAccommodationHousing();
    if(voHousing != null)
    {
        form.cmbAccommodation().setValue(voHousing.getAccommodationType());
        form.cmbLivingArrangements().setValue(voHousing.getLivingArrangements());
        form.txtNotes().setValue(voHousing.getNotes());
    }
}
项目:openMAXIMS    文件:Logic.java   
private void populateScreenFromData(NurAssessmentAccommodationPropertyVo voAccomProp) 
{
    if (voAccomProp.getIsComplete().booleanValue() == true)  // Complete
    {
        form.setMode(FormMode.VIEW);
        form.chkSectionComplete().setValue(true);
        form.chkSectionComplete().setEnabled(false);
    }
    form.chkCopy().setEnabled(false);
    if (voAccomProp.getCopy().booleanValue() == true)
    {
        form.chkCopy().setValue(true);  
    }


    PatientProperty voProperty = voAccomProp.getPatientProperty();
    if(voProperty != null)
    {
        form.ansPropertyBookCompleted().setValue(voProperty.getPropertyBookComplete());
        form.txtSerialNumber().setValue(voProperty.getSerialNumber());
        //wdev-13083
        if(form.getMode().equals(FormMode.EDIT))
        {
            if(YesNoUnknown.NO.equals(form.ansPropertyBookCompleted().getValue()))
            {
                form.txtSerialNumber().setEnabled(false);   
            }
            else
            {
                form.txtSerialNumber().setEnabled(true);
            }
        }
        //------------------
    }   

    AccommodationHousing voHousing = voAccomProp.getAccommodationHousing();
    if(voHousing != null)
    {
        form.cmbAccommodation().setValue(voHousing.getAccommodationType());
        form.cmbLivingArrangements().setValue(voHousing.getLivingArrangements());
        form.txtNotes().setValue(voHousing.getNotes());
    }
}
项目:openmaxims-linux    文件:Logic.java   
private void populateScreenFromData(NurAssessmentAccommodationPropertyVo voAccomProp) 
{
    if (voAccomProp.getIsComplete().booleanValue() == true)  // Complete
    {
        form.setMode(FormMode.VIEW);
        form.chkSectionComplete().setValue(true);
        form.chkSectionComplete().setEnabled(false);
    }
    form.chkCopy().setEnabled(false);
    if (voAccomProp.getCopy().booleanValue() == true)
    {
        form.chkCopy().setValue(true);  
    }


    PatientProperty voProperty = voAccomProp.getPatientProperty();
    if(voProperty != null)
    {
        form.ansPropertyBookCompleted().setValue(voProperty.getPropertyBookComplete());
        form.txtSerialNumber().setValue(voProperty.getSerialNumber());
        //wdev-13083
        if(form.getMode().equals(FormMode.EDIT))
        {
            if(YesNoUnknown.NO.equals(form.ansPropertyBookCompleted().getValue()))
            {
                form.txtSerialNumber().setEnabled(false);   
            }
            else
            {
                form.txtSerialNumber().setEnabled(true);
            }
        }
        //------------------
    }   

    AccommodationHousing voHousing = voAccomProp.getAccommodationHousing();
    if(voHousing != null)
    {
        form.cmbAccommodation().setValue(voHousing.getAccommodationType());
        form.cmbLivingArrangements().setValue(voHousing.getLivingArrangements());
        form.txtNotes().setValue(voHousing.getNotes());
    }
}