Class: OpenEHR::RM::Composition::Content::Entry::Observation
- Inherits:
-
CareEntry
- Object
- Locatable
- ContentItem
- Entry
- CareEntry
- OpenEHR::RM::Composition::Content::Entry::Observation
- Defined in:
- lib/open_ehr/rm/composition/content/entry.rb
Instance Attribute Summary collapse
-
#data ⇒ Object
Returns the value of attribute data.
-
#state ⇒ Object
Returns the value of attribute state.
Attributes inherited from CareEntry
Attributes inherited from Entry
#encoding, #language, #other_participations, #provider, #subject, #workflow_id
Instance Method Summary collapse
-
#initialize(args = { }) ⇒ Observation
constructor
A new instance of Observation.
Methods inherited from Entry
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
#data ⇒ Object
Returns the value of attribute data.
69 70 71 |
# File 'lib/open_ehr/rm/composition/content/entry.rb', line 69 def data @data end |
#state ⇒ Object
Returns the value of attribute state.
70 71 72 |
# File 'lib/open_ehr/rm/composition/content/entry.rb', line 70 def state @state end |