```ruby
module Renalware
  class ClinicalSummariesController < BaseController

    skip_after_action :verify_authorized

    before_action :load_patient

    def show
      @events = Events::Event.for_patient(@patient)
      @problems = @patient.problems.ordered
      @medications = @patient.medications.ordered
    end
  end
end
```

Use the medications scope for clinical summary
user
```ruby
module Renalware
  class ClinicalSummariesController < BaseController

    skip_after_action :verify_authorized

    before_action :load_patient

    def show
      @events = Events::Event.for_patient(@patient)
      @problems = @patient.problems.ordered
      @medications = @patient.medications.current.ordered
    end
  end
end
```
assistant