Class: OpenEHR::RM::Composition::Content::Entry::Instruction
- Inherits:
-
CareEntry
- Object
- Locatable
- ContentItem
- Entry
- CareEntry
- OpenEHR::RM::Composition::Content::Entry::Instruction
- Defined in:
- lib/open_ehr/rm/composition/content/entry.rb
Instance Attribute Summary collapse
-
#activities ⇒ Object
Returns the value of attribute activities.
-
#expiry_time ⇒ Object
Returns the value of attribute expiry_time.
-
#narrative ⇒ Object
Returns the value of attribute narrative.
-
#wf_definition ⇒ Object
Returns the value of attribute wf_definition.
Attributes inherited from CareEntry
Attributes inherited from Entry
#encoding, #language, #other_participations, #provider, #subject, #workflow_id
Instance Method Summary collapse
-
#initialize(args = { }) ⇒ Instruction
constructor
A new instance of Instruction.
Methods inherited from Entry
Constructor Details
#initialize(args = { }) ⇒ Instruction
Returns a new instance of Instruction.
109 110 111 112 113 114 115 |
# File 'lib/open_ehr/rm/composition/content/entry.rb', line 109 def initialize(args = { }) super(args) self.narrative = args[:narrative] self.activities = args[:activities] self.expiry_time = args[:expiry_time] self.wf_definition = args[:wf_definition] end |
Instance Attribute Details
#activities ⇒ Object
Returns the value of attribute activities.
106 107 108 |
# File 'lib/open_ehr/rm/composition/content/entry.rb', line 106 def activities @activities end |
#expiry_time ⇒ Object
Returns the value of attribute expiry_time.
107 108 109 |
# File 'lib/open_ehr/rm/composition/content/entry.rb', line 107 def expiry_time @expiry_time end |
#narrative ⇒ Object
Returns the value of attribute narrative.
106 107 108 |
# File 'lib/open_ehr/rm/composition/content/entry.rb', line 106 def narrative @narrative end |
#wf_definition ⇒ Object
Returns the value of attribute wf_definition.
107 108 109 |
# File 'lib/open_ehr/rm/composition/content/entry.rb', line 107 def wf_definition @wf_definition end |