Java 类ims.core.vo.PatientDetailsComponentVo 实例源码

项目:AvoinApotti    文件:Logic.java   
public PatientDetailsComponentVo getPatientDetails() 
{
    PatientDetailsComponentVo tempVo = new PatientDetailsComponentVo();
    tempVo.setTitle(form.cmbTitle().getValue());
    tempVo.setForename(form.txtForename().getValue());
    tempVo.setMiddleName(form.txtMiddleName().getValue());
    tempVo.setSurname(form.txtSurname().getValue());

    tempVo.setSex(form.cmbSex().getValue());
    tempVo.setDob(form.pdtDOB().getValue());
    tempVo.setDod(form.dteDod().getValue());
    tempVo.setMaritalStatus(form.cmbMarital().getValue());
    tempVo.setOccupation(form.cmbOccupation().getValue());
    tempVo.setReligion(form.cmbReligion().getValue());
    tempVo.setEthnicOrigin(form.cmbEthnic().getValue());

    return tempVo;
}
项目:openMAXIMS    文件:Logic.java   
/**
 * WDEV-22135
 * In the PDS environment you cannot rollback on Date of Death
 * @param errors
 * @return
 */
private boolean validateDateOfDeath(ArrayList<String> errors) 
{
    // TODO Auto-generated method stub
    if(!isPds())
    {
        return true;
    }

    // Get the current version of the Patient
    Date prevDeathDetails = form.getLocalContext().getprevDateOfDeath();
    if (prevDeathDetails != null)
    {
        PatientDetailsComponentVo det = form.lyrDetails().tabPatientDetails().ccDetails().getPatientDetails();
        if (det != null && !det.getDodIsNotNull())
        {
            errors.add("Date of Death cannot be rolled back");
            return false;
        }
    }
    return true;

}
项目:openMAXIMS    文件:Logic.java   
public PatientDetailsComponentVo getPatientDetails() 
{
    PatientDetailsComponentVo tempVo = new PatientDetailsComponentVo();
    tempVo.setTitle(form.cmbTitle().getValue());
    tempVo.setForename(form.txtForename().getValue());
    tempVo.setMiddleName(form.txtMiddleName().getValue());
    tempVo.setSurname(form.txtSurname().getValue());

    tempVo.setSex(form.cmbSex().getValue());
    tempVo.setDob(form.pdtDOB().getValue());
    tempVo.setDod(form.dteDod().getValue());
    tempVo.setTimeOfDeath(form.timTod().getValue());
    tempVo.setMaritalStatus(form.cmbMarital().getValue());
    tempVo.setOccupation(form.qmbOccupation().getValue());
    tempVo.setReligion(form.cmbReligion().getValue());
    tempVo.setEthnicOrigin(form.cmbEthnic().getValue());

    return tempVo;
}
项目:openMAXIMS    文件:Logic.java   
public PatientDetailsComponentVo getPatientDetails() 
{
    PatientDetailsComponentVo tempVo = new PatientDetailsComponentVo();
    tempVo.setTitle(form.cmbTitle().getValue());
    tempVo.setForename(form.txtForename().getValue());
    tempVo.setMiddleName(form.txtMiddleName().getValue());
    tempVo.setSurname(form.txtSurname().getValue());

    tempVo.setSex(form.cmbSex().getValue());
    tempVo.setDob(form.pdtDOB().getValue());
    tempVo.setDod(form.dteDod().getValue());
    tempVo.setMaritalStatus(form.cmbMarital().getValue());
    tempVo.setOccupation(form.cmbOccupation().getValue());
    tempVo.setReligion(form.cmbReligion().getValue());
    tempVo.setEthnicOrigin(form.cmbEthnic().getValue());

    return tempVo;
}
项目:openmaxims-linux    文件:Logic.java   
public PatientDetailsComponentVo getPatientDetails() 
{
    PatientDetailsComponentVo tempVo = new PatientDetailsComponentVo();
    tempVo.setTitle(form.cmbTitle().getValue());
    tempVo.setForename(form.txtForename().getValue());
    tempVo.setMiddleName(form.txtMiddleName().getValue());
    tempVo.setSurname(form.txtSurname().getValue());

    tempVo.setSex(form.cmbSex().getValue());
    tempVo.setDob(form.pdtDOB().getValue());
    tempVo.setDod(form.dteDod().getValue());
    tempVo.setMaritalStatus(form.cmbMarital().getValue());
    tempVo.setOccupation(form.cmbOccupation().getValue());
    tempVo.setReligion(form.cmbReligion().getValue());
    tempVo.setEthnicOrigin(form.cmbEthnic().getValue());

    return tempVo;
}
项目:openMAXIMS    文件:Logic.java   
public PatientDetailsComponentVo getPatientDetails() 
{
    PatientDetailsComponentVo tempVo = new PatientDetailsComponentVo();
    tempVo.setTitle(form.cmbTitle().getValue());
    tempVo.setForename(form.txtForename().getValue());
    tempVo.setMiddleName(form.txtMiddleName().getValue());
    tempVo.setSurname(form.txtSurname().getValue());

    tempVo.setSex(form.cmbSex().getValue());
    tempVo.setDob(form.pdtDOB().getValue());
    tempVo.setDod(form.dteDod().getValue());
    tempVo.setTimeOfDeath(form.timTod().getValue());

    return tempVo;
}