protected void onFormOpen() throws ims.framework.exceptions.FormOpenException { if (form.getGlobalContext().Nursing.getAssessmentInfo() != null) { ims.nursing.vo.AssessmentInfoCollection record = form.getGlobalContext().Nursing.getAssessmentInfo().sort(SortOrder.ASCENDING); for(int x = 0; x < record.size(); x++) { GenForm.gridInfoRow row = form.gridInfo().getRows().newRow(); row.setColDate(record.get(x).getDateTime().toString()); if (record.get(x).getHCP() != null) row.setColHCP(record.get(x).getHCP().toString()); row.setColStatus(record.get(x).getStatus().getText()); } } }