private void populateGrdDPP(PlanOfCareHistoryVoCollection list) { if (list != null) { NursingSummaryHelper helper = new NursingSummaryHelper(null, null, null, null,null, list); helper.sortDesc(); ims.nursing.forms.planofcare.GenForm.lyrPOCLayer.tabPocDetailsContainer.grdDPPRow row = null; for(int i=0; i< list.size(); i++) { PlanOfCareHistoryVo voHistoryItem = list.get(i); row = form.lyrPOC().tabPocDetails().grdDPP().getRows().newRow(); if (voHistoryItem.getAuthoringInformation().getAuthoringDateTimeIsNotNull()) row.setColDateTime(voHistoryItem.getAuthoringInformation().getAuthoringDateTime().toString()); if (voHistoryItem.getAuthoringInformation().getAuthoringHcpIsNotNull()) row.setColHcps(voHistoryItem.getAuthoringInformation().getAuthoringHcp().toString()); if (voHistoryItem.getAnswerTextIsNotNull()) row.setColDPP(voHistoryItem.getAnswerText()); row.setBackColor(voHistoryItem.getLevelOfIntervention()); row.setValue(voHistoryItem); } } }