protected override void LoadFormData() { var treatment = _treatmentRepository.GetByRequestHeader(RequestHeader.Id); if (treatment != null) { WorkflowInstance.Treatment = treatment; WorkflowInstance.Prescriptions = _prescriptionRepository.GetByTreatmentId(WorkflowInstance.Treatment.Id); WorkflowInstance.UnfitToWorks = _unfitToWorkRepository.GetByRequestHeader(RequestHeader.Id); } }