Java 类ims.clinical.vo.PatientAbsentDiagnosisVo 实例源码

项目:AvoinApotti    文件:Logic.java   
private void populateOtherDiagnosisControls(PatientAbsentDiagnosisVoCollection otherDiagnoses) 
{
    for (int i=0; i < otherDiagnoses.size(); i++)
    {
        PatientAbsentDiagnosisVo voPatientAbsentDiagnosis = otherDiagnoses.get(i);
        GenForm.grdChecklistRow row = form.grdChecklist().getRows().newRow();

        if (voPatientAbsentDiagnosis.getDiagnosisIsNotNull())
        {
            row.setColDiagnosis(voPatientAbsentDiagnosis.getDiagnosis().getDiagnosisName());
            row.setTooltipForColDiagnosis(voPatientAbsentDiagnosis.getDiagnosis().getDiagnosisName());
        }

        if(voPatientAbsentDiagnosis.getStatusIsNotNull())
            row.setColSelect(voPatientAbsentDiagnosis.getStatus());

        if(voPatientAbsentDiagnosis.getSourceofInformationIsNotNull())
            row.setColSource(voPatientAbsentDiagnosis.getSourceofInformation());

        row.setValue(voPatientAbsentDiagnosis);

        setGridUIForAbsent(row); 
    }       

}
项目:AvoinApotti    文件:Logic.java   
private PatientAbsentDiagnosisVo populateAbsentDiagnosisData(grdChecklistRow row) 
{
    PatientAbsentDiagnosisVo voPatientAbsentDiagnosis = new PatientAbsentDiagnosisVo();
    DiagLiteVo diagnosis = null;

    if (row.getValue() != null)
    {
        if (row.getValue() instanceof PatientDiagnosisVo)
        {
            diagnosis = (((PatientDiagnosisVo)row.getValue()).getDiagnosis());
        }
        else if (row.getValue() instanceof PatientAbsentDiagnosisVo)
        {
            diagnosis = (((PatientAbsentDiagnosisVo)row.getValue()).getDiagnosis());
        }
        else if (row.getValue() instanceof DiagLiteVo)
        {
            diagnosis =((DiagLiteVo) row.getValue());
        }
    }

    voPatientAbsentDiagnosis.setDiagnosis(diagnosis);
    voPatientAbsentDiagnosis.setStatus(row.getColSelect());
    voPatientAbsentDiagnosis.setSourceofInformation(row.getColSource());
    return voPatientAbsentDiagnosis;
}
项目:openMAXIMS    文件:Logic.java   
private void populateOtherDiagnosisControls(PatientAbsentDiagnosisVoCollection otherDiagnoses) 
{
    for (int i=0; i < otherDiagnoses.size(); i++)
    {
        PatientAbsentDiagnosisVo voPatientAbsentDiagnosis = otherDiagnoses.get(i);
        GenForm.grdChecklistRow row = form.grdChecklist().getRows().newRow();

        if (voPatientAbsentDiagnosis.getDiagnosisIsNotNull())
        {
            row.setColDiagnosis(voPatientAbsentDiagnosis.getDiagnosis().getDiagnosisName());
            row.setTooltipForColDiagnosis(voPatientAbsentDiagnosis.getDiagnosis().getDiagnosisName());
        }

        if(voPatientAbsentDiagnosis.getStatusIsNotNull())
            row.setColSelect(voPatientAbsentDiagnosis.getStatus());

        if(voPatientAbsentDiagnosis.getSourceofInformationIsNotNull())
            row.setColSource(voPatientAbsentDiagnosis.getSourceofInformation());

        row.setValue(voPatientAbsentDiagnosis);

        setGridUIForAbsent(row); 
    }       

}
项目:openMAXIMS    文件:Logic.java   
private PatientAbsentDiagnosisVo populateAbsentDiagnosisData(grdChecklistRow row) 
{
    PatientAbsentDiagnosisVo voPatientAbsentDiagnosis = new PatientAbsentDiagnosisVo();
    DiagLiteVo diagnosis = null;

    if (row.getValue() != null)
    {
        if (row.getValue() instanceof PatientDiagnosisVo)
        {
            diagnosis = (((PatientDiagnosisVo)row.getValue()).getDiagnosis());
        }
        else if (row.getValue() instanceof PatientAbsentDiagnosisVo)
        {
            diagnosis = (((PatientAbsentDiagnosisVo)row.getValue()).getDiagnosis());
        }
        else if (row.getValue() instanceof DiagLiteVo)
        {
            diagnosis =((DiagLiteVo) row.getValue());
        }
    }

    voPatientAbsentDiagnosis.setDiagnosis(diagnosis);
    voPatientAbsentDiagnosis.setStatus(row.getColSelect());
    voPatientAbsentDiagnosis.setSourceofInformation(row.getColSource());
    return voPatientAbsentDiagnosis;
}
项目:openMAXIMS    文件:Logic.java   
private void populateOtherDiagnosisControls(PatientAbsentDiagnosisVoCollection otherDiagnoses) 
{
    for (int i=0; i < otherDiagnoses.size(); i++)
    {
        PatientAbsentDiagnosisVo voPatientAbsentDiagnosis = otherDiagnoses.get(i);
        GenForm.grdChecklistRow row = form.grdChecklist().getRows().newRow();

        if (voPatientAbsentDiagnosis.getDiagnosisIsNotNull())
        {
            row.setColDiagnosis(voPatientAbsentDiagnosis.getDiagnosis().getDiagnosisName());
            row.setTooltipForColDiagnosis(voPatientAbsentDiagnosis.getDiagnosis().getDiagnosisName());
        }

        if(voPatientAbsentDiagnosis.getStatusIsNotNull())
            row.setColSelect(voPatientAbsentDiagnosis.getStatus());

        if(voPatientAbsentDiagnosis.getSourceofInformationIsNotNull())
            row.setColSource(voPatientAbsentDiagnosis.getSourceofInformation());

        row.setValue(voPatientAbsentDiagnosis);

        setGridUIForAbsent(row); 
    }       

}
项目:openMAXIMS    文件:Logic.java   
private PatientAbsentDiagnosisVo populateAbsentDiagnosisData(grdChecklistRow row) 
{
    PatientAbsentDiagnosisVo voPatientAbsentDiagnosis = new PatientAbsentDiagnosisVo();
    DiagLiteVo diagnosis = null;

    if (row.getValue() != null)
    {
        if (row.getValue() instanceof PatientDiagnosisVo)
        {
            diagnosis = (((PatientDiagnosisVo)row.getValue()).getDiagnosis());
        }
        else if (row.getValue() instanceof PatientAbsentDiagnosisVo)
        {
            diagnosis = (((PatientAbsentDiagnosisVo)row.getValue()).getDiagnosis());
        }
        else if (row.getValue() instanceof DiagLiteVo)
        {
            diagnosis =((DiagLiteVo) row.getValue());
        }
    }

    voPatientAbsentDiagnosis.setDiagnosis(diagnosis);
    voPatientAbsentDiagnosis.setStatus(row.getColSelect());
    voPatientAbsentDiagnosis.setSourceofInformation(row.getColSource());
    return voPatientAbsentDiagnosis;
}
项目:openmaxims-linux    文件:Logic.java   
private void populateOtherDiagnosisControls(PatientAbsentDiagnosisVoCollection otherDiagnoses) 
{
    for (int i=0; i < otherDiagnoses.size(); i++)
    {
        PatientAbsentDiagnosisVo voPatientAbsentDiagnosis = otherDiagnoses.get(i);
        GenForm.grdChecklistRow row = form.grdChecklist().getRows().newRow();

        if (voPatientAbsentDiagnosis.getDiagnosisIsNotNull())
        {
            row.setColDiagnosis(voPatientAbsentDiagnosis.getDiagnosis().getDiagnosisName());
            row.setTooltipForColDiagnosis(voPatientAbsentDiagnosis.getDiagnosis().getDiagnosisName());
        }

        if(voPatientAbsentDiagnosis.getStatusIsNotNull())
            row.setColSelect(voPatientAbsentDiagnosis.getStatus());

        if(voPatientAbsentDiagnosis.getSourceofInformationIsNotNull())
            row.setColSource(voPatientAbsentDiagnosis.getSourceofInformation());

        row.setValue(voPatientAbsentDiagnosis);

        setGridUIForAbsent(row); 
    }       

}
项目:openmaxims-linux    文件:Logic.java   
private PatientAbsentDiagnosisVo populateAbsentDiagnosisData(grdChecklistRow row) 
{
    PatientAbsentDiagnosisVo voPatientAbsentDiagnosis = new PatientAbsentDiagnosisVo();
    DiagLiteVo diagnosis = null;

    if (row.getValue() != null)
    {
        if (row.getValue() instanceof PatientDiagnosisVo)
        {
            diagnosis = (((PatientDiagnosisVo)row.getValue()).getDiagnosis());
        }
        else if (row.getValue() instanceof PatientAbsentDiagnosisVo)
        {
            diagnosis = (((PatientAbsentDiagnosisVo)row.getValue()).getDiagnosis());
        }
        else if (row.getValue() instanceof DiagLiteVo)
        {
            diagnosis =((DiagLiteVo) row.getValue());
        }
    }

    voPatientAbsentDiagnosis.setDiagnosis(diagnosis);
    voPatientAbsentDiagnosis.setStatus(row.getColSelect());
    voPatientAbsentDiagnosis.setSourceofInformation(row.getColSource());
    return voPatientAbsentDiagnosis;
}