private void LoadCombos() { form.ctnDetails().cmbOutcome().clear(); GoalPlanningOutcomeCollection outcomeLookupCollection = ims.clinical.vo.lookups.LookupHelper.getGoalPlanningOutcome(domain.getLookupService()); for(int x = 0; x < outcomeLookupCollection.size(); x++) { if(outcomeLookupCollection.get(x).getParent()==null) form.ctnDetails().cmbOutcome().newRow(outcomeLookupCollection.get(x), outcomeLookupCollection.get(x).getText(), outcomeLookupCollection.get(x).getImage(), outcomeLookupCollection.get(x).getTextColor()); } form.ctnDetails().cmbCancReason().clear(); GoalPlanningCancellationReasonCollection cancelLookupCollection = ims.clinical.vo.lookups.LookupHelper.getGoalPlanningCancellationReason(domain.getLookupService()); for(int x = 0; x < cancelLookupCollection.size(); x++) form.ctnDetails().cmbCancReason().newRow(cancelLookupCollection.get(x), cancelLookupCollection.get(x).getText(), cancelLookupCollection.get(x).getImage(), cancelLookupCollection.get(x).getTextColor()); }