Sha256: 12e483eec36195598edff1c0e7b926475e192bd2497a5b4e62740bb09685c803
Contents?: true
Size: 1.8 KB
Versions: 78
Compression:
Stored size: 1.8 KB
Contents
article.recipient-operations 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
78 entries across 78 versions & 1 rubygems