Sha256: ee2e7f2b5785e06bea9e126c1bff3b338efa26159c4a5303375c529bff241678
Contents?: true
Size: 800 Bytes
Versions: 13
Compression:
Stored size: 800 Bytes
Contents
# frozen_string_literal: true xml = builder observation = Renalware::Pathology::ObservationPresenter.new(observation) observation = Renalware::UKRDC::PathologyObservationPresenter.new(observation) xml.ResultItem do 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.ResultValue observation.result xml.ResultValueUnits observation.measurement_unit_name xml.ObservationTime observation.observed_at&.iso8601 end
Version data entries
13 entries across 13 versions & 1 rubygems