Sha256: c342a330adc8cead6c07de30b5cdcb6d8cb092eef9ef9f956a2cff99ecc53d8f

Contents?: true

Size: 1.15 KB

Versions: 72

Compression:

Stored size: 1.15 KB

Contents

table.mdm.prescriptions
  thead
    tr
      th.col-width-medium= t(".drug_name")
      - if local_assigns[:show_drug_types]
        th.col-width-small= t(".drug_type")
      th.col-width-small= t(".dose")
      th.col-width-tiny= t(".frequency")
      th.col-width-tiny= t(".route")
      - if local_assigns[:show_administer_on_hd]
        th.col-width-small= t(".administer_on_hd")
      th.col-width-tiny=t(".provider")
      th.col-width-date= t(".started_on")
      - if local_assigns[:show_terminated_on]
        th.col-width-date= t(".terminated_on")
  tbody
    - prescriptions.each do |prescription|
      tr class="drug-#{drug_types_colour_tag(prescription.drug_types)}"
        td= prescription.drug.name
        - if local_assigns[:show_drug_types]
          td= prescription.drug_type_names
        td= prescription.dose
        td= prescription.frequency
        td= prescription.route_code
        - if local_assigns[:show_administer_on_hd]
          td= prescription.administer_on_hd?
        td= prescription.provider
        td= I18n.l prescription.prescribed_on
        - if local_assigns[:show_terminated_on]
          td= l(prescription.terminated_on)

Version data entries

72 entries across 72 versions & 1 rubygems

Version Path
renalware-core-2.0.153 app/views/renalware/mdm/prescriptions/_table.html.slim
renalware-core-2.0.152 app/views/renalware/mdm/prescriptions/_table.html.slim
renalware-core-2.0.151 app/views/renalware/mdm/prescriptions/_table.html.slim
renalware-core-2.0.149 app/views/renalware/mdm/prescriptions/_table.html.slim
renalware-core-2.0.148 app/views/renalware/mdm/prescriptions/_table.html.slim
renalware-core-2.0.147 app/views/renalware/mdm/prescriptions/_table.html.slim
renalware-core-2.0.146 app/views/renalware/mdm/prescriptions/_table.html.slim
renalware-core-2.0.145 app/views/renalware/mdm/prescriptions/_table.html.slim
renalware-core-2.0.144 app/views/renalware/mdm/prescriptions/_table.html.slim
renalware-core-2.0.143 app/views/renalware/mdm/prescriptions/_table.html.slim
renalware-core-2.0.142 app/views/renalware/mdm/prescriptions/_table.html.slim
renalware-core-2.0.141 app/views/renalware/mdm/prescriptions/_table.html.slim
renalware-core-2.0.140 app/views/renalware/mdm/prescriptions/_table.html.slim
renalware-core-2.0.139 app/views/renalware/mdm/prescriptions/_table.html.slim
renalware-core-2.0.138 app/views/renalware/mdm/prescriptions/_table.html.slim
renalware-core-2.0.137 app/views/renalware/mdm/prescriptions/_table.html.slim
renalware-core-2.0.136 app/views/renalware/mdm/prescriptions/_table.html.slim
renalware-core-2.0.135 app/views/renalware/mdm/prescriptions/_table.html.slim
renalware-core-2.0.134 app/views/renalware/mdm/prescriptions/_table.html.slim
renalware-core-2.0.133 app/views/renalware/mdm/prescriptions/_table.html.slim