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); } }