Sha256: 6523c8b3da194e57fc49c6e79615c13f3348d3f2d1f174fe6200e64c805ef727

Contents?: true

Size: 1.14 KB

Versions: 45

Compression:

Stored size: 1.14 KB

Contents

article
  header
    h2= t(".title")
    .supplemental
      span= "#{mdm.current_prescriptions.length} of #{mdm.patient.summary.prescriptions_count}"
      = link_to t(".view_all"),
                patient_prescriptions_path(mdm.patient),
                class: "button secondary"

      = link_to "Toggle",
                "#prescriptions",
                class: "button secondary",
                data: { behaviour: "css-toggler" }

  #prescriptions.expandable
    - if local_assigns[:with_esa] == true

      ul.tab-strip(data-tab)
        li.tab-title.active= link_to "Current", "#current"
        li.tab-title= link_to "EPO History", "#epo-history"

      .tabs-content
        #current.content.active
          = render "renalware/mdm/prescriptions/table",
                   prescriptions: mdm.current_prescriptions,
                   show_administer_on_hd: true
        #epo-history.content
          = render "renalware/mdm/prescriptions/table",
                   prescriptions: mdm.esa_prescriptions,
                   show_terminated_on: true,
                   show_administer_on_hd: true
    - else
      = render "current_prescriptions", mdm: mdm

Version data entries

45 entries across 45 versions & 1 rubygems

Version Path
renalware-core-2.0.21 app/views/renalware/mdm/_prescriptions.html.slim
renalware-core-2.0.20 app/views/renalware/mdm/_prescriptions.html.slim
renalware-core-2.0.18 app/views/renalware/mdm/_prescriptions.html.slim
renalware-core-2.0.17 app/views/renalware/mdm/_prescriptions.html.slim
renalware-core-2.0.16 app/views/renalware/mdm/_prescriptions.html.slim