class HL7::Exporter::Observation
Attributes
obr[RW]
Public Class Methods
new(obr)
click to toggle source
# File lib/hl7/exporter/observation.rb, line 5 def initialize(obr) @obr = obr end
Public Instance Methods
flags()
click to toggle source
# File lib/hl7/exporter/observation.rb, line 21 def flags obr.abnormal_flags end
name()
click to toggle source
# File lib/hl7/exporter/observation.rb, line 9 def name obr.observation_id.split('^')[1].sub(",","") end
reference_range()
click to toggle source
# File lib/hl7/exporter/observation.rb, line 25 def reference_range obr.references_range end
result()
click to toggle source
# File lib/hl7/exporter/observation.rb, line 13 def result obr.observation_value end
units()
click to toggle source
# File lib/hl7/exporter/observation.rb, line 17 def units obr.units end