Sha256: 332d3e235084e061910e2f25491e3532c39a8cd42b4b1d7a25dd8364c6271ac8

Contents?: true

Size: 1.58 KB

Versions: 2

Compression:

Stored size: 1.58 KB

Contents

= content_for(:actions) do
  = link_to t("btn.edit"),
            edit_patient_transplants_recipient_workup_path(patient),
            class: "button"

= within_patient_layout(title: "Recipient Workup",
                        breadcrumbs: recipient_summary_breadcrumb(patient)) do

  .edit_timestamp= render "renalware/shared/last_update", record: workup

  .document-view
   .mgrid
     .row
        - ["Historicals", "Scores"].each do |group|
          = render "renalware/shared/documents/attributes_group",
              group: workup.document.public_send(group.parameterize(separator: "_")),
              legend: group, destination: group.parameterize(separator: "_")

        - unless patient.sex.code.M?
          = render "renalware/shared/attributes_group",
            legend: "Obstetrics/Gynaecology History", destination: "obstetrics_and_gynaecology",
            models: { workup.document.obstetrics_and_gynaecology => [:pregnancies_count],
                      workup.document.obstetrics_and_gynaecology.cervical_smear => [:result,
                                                                                   :recorded_on] }

        - ["Examination", "Education", "Consent", "Marginal Consent", "NHB Consent"].each do |group|
          = render "renalware/shared/documents/attributes_group",
              group: workup.document.public_send(group.parameterize(separator: "_")),
              legend: group, destination: group.parameterize(separator: "_")

        .columns.medium-6
          article
            header
              h2 HLA Data
            = simple_format workup.document.hla_data

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
renalware-core-2.1.1 app/views/renalware/transplants/recipient_workups/show.html.slim
renalware-core-2.1.0 app/views/renalware/transplants/recipient_workups/show.html.slim