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.



72
73
74
75
76
# File 'lib/open_ehr/rm/composition/content/entry.rb', line 72

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

Instance Attribute Details

#dataObject

Returns the value of attribute data.



69
70
71
# File 'lib/open_ehr/rm/composition/content/entry.rb', line 69

def data
  @data
end

#stateObject

Returns the value of attribute state.



70
71
72
# File 'lib/open_ehr/rm/composition/content/entry.rb', line 70

def state
  @state
end