Sha256: 1cb6bc0b63a945098a98d1b0f4193633eaff6f1614562d8b067c9c7caef654a3
Contents?: true
Size: 616 Bytes
Versions: 17
Compression:
Stored size: 616 Bytes
Contents
- profile = Renalware::Virology.cast_patient(patient).profile - document = profile&.document || Renalware::NullObject.instance - positive_results_only = local_assigns.fetch(:positive_results_only, false) article header h2 Virology ul li= link_to "Edit", edit_patient_virology_profile_path(patient), class: "button" dl.dl-horizontal.medium - %i(hiv hepatitis_b hepatitis_c).each do |attr_name| - status = document.public_send(attr_name).status - next if positive_results_only && !status&.yes? dt= attr_name(document, attr_name) dd= document.public_send(attr_name).to_s
Version data entries
17 entries across 17 versions & 1 rubygems