Sha256: 7a8d44d469a0b493d4775a41f938e1b0be6f30d448990fe0e749f382fe949589
Contents?: true
Size: 525 Bytes
Versions: 34
Compression:
Stored size: 525 Bytes
Contents
# frozen_string_literal: true xml = builder i18n_key ||= method xml.Observation do xml.ObservationTime visit.datetime xml.ObservationCode do # xml.CodingStandard "2.16.840.1.113883.4.642.2.115" xml.CodingStandard "PV" xml.Code I18n.t("loinc.#{i18n_key}.code") xml.Description I18n.t("loinc.#{i18n_key}.description") end xml.ObservationValue visit.public_send(method) xml.ObservationUnits I18n.t("loinc.#{i18n_key}.units") xml.Clinician do xml.Description visit.updated_by&.to_s end end
Version data entries
34 entries across 34 versions & 1 rubygems