Sha256: 2328a396d2d40e8c5cbb86eac94a9a65750f2a93f4d1fc28e2ba6d774058c6b0
Contents?: true
Size: 881 Bytes
Versions: 38
Compression:
Stored size: 881 Bytes
Contents
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
38 entries across 38 versions & 1 rubygems