Sha256: a962eb14a01edeb961d009c40639e00a4dff01751bd184e61fe8a0cda5b4885a
Contents?: true
Size: 912 Bytes
Versions: 15
Compression:
Stored size: 912 Bytes
Contents
# frozen_string_literal: true xml = builder observation = Renalware::Pathology::ObservationPresenter.new(observation) observation = Renalware::UKRDC::PathologyObservationPresenter.new(observation) xml.ResultItem do # xml.ResultType xml.EnteredOn observation.updated_at&.iso8601 xml.PrePost observation.pre_post(patient_is_on_hd: patient.current_modality_hd?) xml.ServiceId do if observation.description_loinc_code.present? xml.CodingStandard "PV" xml.Code observation.description_loinc_code else xml.CodingStandard "LOCAL" xml.Code observation.description_code end xml.Description observation.description_name end # xml.SubId xml.ResultValue observation.result xml.ResultValueUnits observation.measurement_unit_name # xml.AbnormalFlags # xml.Status xml.ObservationTime observation.observed_at&.iso8601 # xml.Comments # xml.ReferenceComment end
Version data entries
15 entries across 15 versions & 1 rubygems