Class: OpenEHR::RM::Composition::Content::Entry::Observation

Inherits:
CareEntry show all
Defined in:
lib/open_ehr/rm/composition/content/entry.rb

Instance Attribute Summary collapse

Attributes inherited from CareEntry

#guideline_id, #protocol

Attributes inherited from Entry

#encoding, #language, #other_participations, #provider, #subject, #workflow_id

Instance Method Summary collapse

Methods inherited from Entry

#subject_is_self?

Constructor Details

#initialize(args = { }) ⇒ Observation

Returns a new instance of Observation.



79
80
81
82
83
# File 'lib/open_ehr/rm/composition/content/entry.rb', line 79

def initialize(args = { })
  super(args)
  self.data = args[:data]
  self.state = args[:state]
end

Instance Attribute Details

#dataObject

Returns the value of attribute data.



76
77
78
# File 'lib/open_ehr/rm/composition/content/entry.rb', line 76

def data
  @data
end

#stateObject

Returns the value of attribute state.



77
78
79
# File 'lib/open_ehr/rm/composition/content/entry.rb', line 77

def state
  @state
end