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.
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
#data ⇒ Object
Returns the value of attribute data.
76 77 78 |
# File 'lib/open_ehr/rm/composition/content/entry.rb', line 76 def data @data end |
#state ⇒ Object
Returns the value of attribute state.
77 78 79 |
# File 'lib/open_ehr/rm/composition/content/entry.rb', line 77 def state @state end |