private void populateScreenFromData() { form.grdNotes().getRows().clear(); MedicNotesVoCollection notes = domain.listMedicNotes(form.getLocalContext().getPatient(), form.getLocalContext().getEpisodeOfCare(), form.getLocalContext().getCareContext()); for(MedicNotesVo note : notes) { if(note == null) continue; addNoteRow(note); } }