private StructuredAssessmentsHelper getHelper(DynamicGrid dynGrid, UserAssessmentVo voUserAssessment) { int gridType = StructuredAssessmentsHelper.DPP_GRID; int viewMode = getViewMode(voUserAssessment); Image imageQuestion = form.getImages().Core.QuestionSmall; PreActiveActiveInactiveStatusCollection activeColl = LookupHelper.getPreActiveActiveInactiveStatus(domain.getLookupService()); PlanOfCareGroupingsCollection groupColl = ims.clinical.vo.lookups.LookupHelper.getPlanOfCareGroupings(domain.getLookupService()); boolean displayActive = false;//form.chkDisplayActive().getValue(); AssessmentQuestionGroupVoCollection contextHiddenGroups = null;//form.getLocalContext().getHiddenGroups(); return new StructuredAssessmentsHelper(dynGrid, engine, viewMode, gridType, imageQuestion, activeColl, groupColl, displayActive, contextHiddenGroups); }
public StructuredAssessmentsHelper(DynamicGrid dynGrid, UIEngine engine, int viewMode, int gridType, Image imgQuestionSmall, PreActiveActiveInactiveStatusCollection activeColl, PlanOfCareGroupingsCollection groupsColl, boolean displayActive, AssessmentQuestionGroupVoCollection contextHiddenGroups) { this.dynGrid = dynGrid; this.engine = engine; this.viewMode = viewMode; this.gridType = gridType; this.imgQuestion = imgQuestionSmall; this.activeColl = activeColl; this.groupsColl = groupsColl; this.displayActive = displayActive; this.contextHiddenGroups = contextHiddenGroups; }