Sha256: e43ade1ed86275685008dc8f6314b38065a18621e030ec48b4f7396d3a70f208

Contents?: true

Size: 617 Bytes

Versions: 5

Compression:

Stored size: 617 Bytes

Contents

xml = builder
observation = Renalware::Pathology::ObservationPresenter.new(observation)
observation = Renalware::UKRDC::PathologyObservationPresenter.new(observation)

xml.ResultItem do
  xml.EnteredOn observation.updated_at&.iso8601
  xml.ObservationTime observation.observed_at&.iso8601
  xml.PrePost observation.pre_post(patient_is_on_hd: patient.current_modality_hd?)
  xml.ResultValue observation.result
  xml.ResultValueUnits observation.measurement_unit_name
  xml.ServiceId do
    xml.Code observation.description_code
    xml.CodingStandard "LOCAL"
    xml.Description observation.description_name
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
renalware-core-2.0.0.pre.rc5 app/views/renalware/api/ukrdc/patients/lab_orders/_result_item.xml.builder
renalware-core-2.0.0.pre.rc4 app/views/renalware/api/ukrdc/patients/lab_orders/_result_item.xml.builder
renalware-core-2.0.0.pre.rc3 app/views/renalware/api/ukrdc/patients/lab_orders/_result_item.xml.builder
renalware-core-2.0.0.pre.rc1 app/views/renalware/api/ukrdc/patients/lab_orders/_result_item.xml.builder
renalware-core-2.0.0.pre.beta12 app/views/renalware/api/ukrdc/patients/lab_orders/_result_item.xml.builder