private void displayRecord(StatusWorkflowConfigVo currentSelection) { form.cmbStatus().setValue(currentSelection.getWorkflowStatus()); form.lblTrackingStatus().setValue(currentSelection.getWorkflowStatusIsNotNull() ? currentSelection.getWorkflowStatus().getText() : ""); form.GroupCCD().setValue(currentSelection.getCreatesClinicalDischargeIsNotNull() ? (currentSelection.getCreatesClinicalDischarge().booleanValue() ? GroupCCDEnumeration.rdoCCDYes : GroupCCDEnumeration.rdoCCDNo) : GroupCCDEnumeration.None); form.GroupRPA().setValue(currentSelection.getRequiresPreAdmissionIsNotNull() ? (currentSelection.getRequiresPreAdmission().booleanValue() ? GroupRPAEnumeration.rdoRPAYes : GroupRPAEnumeration.rdoRPANO) : GroupRPAEnumeration.None); form.GroupRED().setValue(currentSelection.getRecordEDDepartureIsNotNull() ? (currentSelection.getRecordEDDeparture().booleanValue() ? GroupREDEnumeration.rdoREDYes : GroupREDEnumeration.rdoREDNo) : GroupREDEnumeration.None); form.GroupCDT().setValue(currentSelection.getDepartureContinueToDisplayIsNotNull() ? (currentSelection.getDepartureContinueToDisplay().booleanValue() ? GroupCDTEnumeration.rdoCDTYes : GroupCDTEnumeration.rdoCDTNo) : GroupCDTEnumeration.None); form.GroupSCR().setValue(currentSelection.getDepartureSeperateContextRecordIsNotNull() ? (currentSelection.getDepartureSeperateContextRecord().booleanValue() ? GroupSCREnumeration.rdoSCRYes : GroupSCREnumeration.rdoSCRNo) : GroupSCREnumeration.None); form.cmbDefaultOutcome().setValue(currentSelection.getDepartureOutcomeDefault()); }