table.aki-alerts
  thead
    th.col-width-small
    th.col-width-large Patient
    th.col-width-reference-no Hosp. No.
    th.col-width-small.show-for-large-up
        = sort_link([:renalware, search], :patient_current_modality_description_name, "Modality")
    th.col-width-tiny Sex
    th.col-width-tiny Age
    th= sort_link(search, :action_name, "Action")
    th.col-width-medium Ward
    th= sort_link(search, :hotlist, "Hotlist")
    th= sort_link(search, :max_aki, "Max AKI")
    th.col-width-date= sort_link(search, :aki_date, "AKI Date")
    th Decided by
  tbody
    = render alerts

table.aki-alerts
  thead
    th.col-width-small
    th.col-width-large= sort_link(search, :patient_family_name, "Patient")
    th.col-width-reference-no Hosp. No.
    th.col-width-small.show-for-large-up
        = sort_link([:renalware, search], :patient_current_modality_description_name, "Modality")
    th.col-width-tiny Sex
    th.col-width-tiny Age
    th= sort_link(search, :action_name, "Action")
    th.col-width-medium Ward
    th= sort_link(search, :hotlist, "Hotlist")
    th= sort_link(search, :max_aki, "Max AKI")
    th.col-width-date= sort_link(search, :aki_date, "AKI Date")
    th Decided by
  tbody
    = render alerts

Sort AKI Alerts on patient
Sort AKI Alerts on patient

airslie/renalware-core,airslie/renalware-core,airslie/renalware-core,airslie/renalware-core