Sha256: 8415450ff06a94d3c59b962481c7bc30e2af3527f2905579ec170d12cf0f7d3f

Contents?: true

Size: 1.44 KB

Versions: 8

Compression:

Stored size: 1.44 KB

Contents

table#drug-type-prescriptions
  thead
    tr
      th.hosp_no= sort_link([:renalware, search], :patient_local_patient_id, t(".patient_local_patient_id"))
      th.patient_name= sort_link([:renalware, search], "patient_family_name", t(".patient_name"))
      th.patient_age= sort_link([:renalware, search], "patient_born_on", t(".patient_age"))
      th.patient_sex= t(".patient_sex")
      th.modality= t(".modality")
      th.col-width-date= sort_link([:renalware, search], "prescribed_on", t(".prescribed_on"))
      th.col-width-date.hide-for-small-only
        = sort_link([:renalware, search], "terminated_on", t(".terminated_on"))
      th.drug_name= sort_link([:renalware, search], "drug_name", t(".drug_name"))
      th.dose= t(".dose")
      th.route_code= t(".route_code")
      th.frequency= t(".frequency")
      th.weekly_units= t(".weekly_units")
  tbody
    - prescriptions.each do |prescription|
      tr
        td= link_to(prescription.patient_local_patient_id, patient_path(prescription.patient_id))
        td= prescription.patient_name
        td= prescription.patient_age
        td= prescription.patient_sex
        td= prescription.patient_current_modality_name
        td= l(prescription.prescribed_on)
        td= prescription.terminated_on && l(prescription.terminated_on)
        td= prescription.drug_name
        td= prescription.dose
        td= prescription.route_code
        td= prescription.frequency
        td=

= paginate prescriptions

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
renalware-core-2.0.0.pre.beta11 app/views/renalware/medications/drug_types/prescriptions/_table.html.slim
renalware-core-2.0.0.pre.beta10 app/views/renalware/medications/drug_types/prescriptions/_table.html.slim
renalware-core-2.0.0.pre.beta9 app/views/renalware/medications/drug_types/prescriptions/_table.html.slim
renalware-core-2.0.0.pre.beta8 app/views/renalware/medications/drug_types/prescriptions/_table.html.slim
renalware-core-2.0.0.pre.beta7 app/views/renalware/medications/drug_types/prescriptions/_table.html.slim
renalware-core-2.0.0.pre.beta6 app/views/renalware/medications/drug_types/prescriptions/_table.html.slim
renalware-core-2.0.0.pre.beta5 app/views/renalware/medications/drug_types/prescriptions/_table.html.slim
renalware-core-2.0.0.pre.beta4 app/views/renalware/medications/drug_types/prescriptions/_table.html.slim