Sha256: bf004fe54564f5f2821bcac25815068a0703300e27fcef85bced6ed3eca5a5be
Contents?: true
Size: 891 Bytes
Versions: 39
Compression:
Stored size: 891 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 xml.CodingStandard observation.coding_standard xml.Code observation.code xml.Description observation.description_name end # If the rrr_type of the observation_descriptions is interpretation (ie an interpretted result # like POS NEG) if observation.rr_type_interpretation? xml.InterpretationCodes observation.interpretation_code else xml.ResultValue observation.result xml.ResultValueUnits observation.measurement_unit_name end xml.ObservationTime observation.observed_at&.iso8601 end
Version data entries
39 entries across 39 versions & 1 rubygems