Sha256: c5de606b66418c0a0bd6bc3f0e30880eaac986ed81037a01166342d19c733e20

Contents?: true

Size: 1.78 KB

Versions: 90

Compression:

Stored size: 1.78 KB

Contents

article
  header
    h2 Recipient Operations

    ul
      li = link_to "Add",
                   new_patient_transplants_recipient_operation_path(patient),
                   class: "button"

  table
    thead
      th
      th.col-width-date Op Date
      th Type
      th Recip Age
      th Donor Type
      th Donor Age
      th Recip CMV
      th Donor CMV
      th HLA Mismatch
      th Failure Date
      th Failure Cause
      th Followup
    tbody
      - recipient_operations.each do |operation|
        tr
          td= link_to "Edit",
                      edit_patient_transplants_recipient_operation_path(patient, operation)
          td= link_to patient_transplants_recipient_operation_path(patient, operation) do
              = l operation.performed_on
          td= operation.operation_type.text
          td= operation.recipient_age_at_operation
          td= operation.document.donor.type.try(:text)
          td= operation.document.donor.age
          td= operation.document.recipient.cmv_status.try(:text)
          td= operation.document.donor.cmv_status.try(:text)
          td= operation.document.donor.hla_mismatch
          - if operation.followup
            td= l operation.followup.transplant_failed_on
            td= operation.followup.transplant_failure_cause_description
            td
              = link_to "View",
                        patient_transplants_recipient_operation_followup_path(patient, operation)
              = pipe_separator
              = link_to "Update",
                        edit_patient_transplants_recipient_operation_followup_path(patient, operation)
          - else
            td
            td
            td
              - url = new_patient_transplants_recipient_operation_followup_path(patient, operation)
              = link_to "Enter details", url

Version data entries

90 entries across 90 versions & 1 rubygems

Version Path
renalware-core-2.0.83 app/views/renalware/transplants/recipient_operations/_list.html.slim
renalware-core-2.0.82 app/views/renalware/transplants/recipient_operations/_list.html.slim
renalware-core-2.0.81 app/views/renalware/transplants/recipient_operations/_list.html.slim
renalware-core-2.0.80 app/views/renalware/transplants/recipient_operations/_list.html.slim
renalware-core-2.0.79 app/views/renalware/transplants/recipient_operations/_list.html.slim
renalware-core-2.0.78 app/views/renalware/transplants/recipient_operations/_list.html.slim
renalware-core-2.0.77 app/views/renalware/transplants/recipient_operations/_list.html.slim
renalware-core-2.0.76 app/views/renalware/transplants/recipient_operations/_list.html.slim
renalware-core-2.0.75 app/views/renalware/transplants/recipient_operations/_list.html.slim
renalware-core-2.0.74 app/views/renalware/transplants/recipient_operations/_list.html.slim
renalware-core-2.0.73 app/views/renalware/transplants/recipient_operations/_list.html.slim
renalware-core-2.0.72 app/views/renalware/transplants/recipient_operations/_list.html.slim
renalware-core-2.0.71 app/views/renalware/transplants/recipient_operations/_list.html.slim
renalware-core-2.0.70 app/views/renalware/transplants/recipient_operations/_list.html.slim
renalware-core-2.0.69 app/views/renalware/transplants/recipient_operations/_list.html.slim
renalware-core-2.0.68 app/views/renalware/transplants/recipient_operations/_list.html.slim
renalware-core-2.0.67 app/views/renalware/transplants/recipient_operations/_list.html.slim
renalware-core-2.0.64 app/views/renalware/transplants/recipient_operations/_list.html.slim
renalware-core-2.0.63 app/views/renalware/transplants/recipient_operations/_list.html.slim
renalware-core-2.0.62 app/views/renalware/transplants/recipient_operations/_list.html.slim