Class: OpenEHR::RM::Composition::Content::Entry::Instruction
- Inherits:
-
CareEntry
- Object
- OpenEHR::RM::Common::Archetyped::Pathable
- OpenEHR::RM::Common::Archetyped::Locatable
- ContentItem
- Entry
- CareEntry
- OpenEHR::RM::Composition::Content::Entry::Instruction
- Defined in:
- lib/openehr/rm/composition/content/entry.rb
Constant Summary
Constants included from OpenEHR::RM::Common::Archetyped::LocaterConstants
OpenEHR::RM::Common::Archetyped::LocaterConstants::CONTENT_PATH_SEPARATOR, OpenEHR::RM::Common::Archetyped::LocaterConstants::CURRENT_TRANSACTION_ID, OpenEHR::RM::Common::Archetyped::LocaterConstants::FRAGMENT_SEPARATOR, OpenEHR::RM::Common::Archetyped::LocaterConstants::MULTIPART_ID_DELIMITER, OpenEHR::RM::Common::Archetyped::LocaterConstants::ORGANIZER_PATH_SEPARATOR
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
Attributes inherited from OpenEHR::RM::Common::Archetyped::Locatable
#archetype_details, #archetype_node_id, #feeder_audit, #links, #name, #uid
Attributes inherited from OpenEHR::RM::Common::Archetyped::Pathable
Instance Method Summary collapse
-
#initialize(args = { }) ⇒ Instruction
constructor
A new instance of Instruction.
Methods inherited from Entry
Methods inherited from OpenEHR::RM::Common::Archetyped::Locatable
Methods inherited from OpenEHR::RM::Common::Archetyped::Pathable
#item_at_path, #items_at_path, #path_exists?, #path_of_item, #path_unique?
Constructor Details
#initialize(args = { }) ⇒ Instruction
Returns a new instance of Instruction.
112 113 114 115 116 117 118 |
# File 'lib/openehr/rm/composition/content/entry.rb', line 112 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.
109 110 111 |
# File 'lib/openehr/rm/composition/content/entry.rb', line 109 def activities @activities end |
#expiry_time ⇒ Object
Returns the value of attribute expiry_time.
110 111 112 |
# File 'lib/openehr/rm/composition/content/entry.rb', line 110 def expiry_time @expiry_time end |
#narrative ⇒ Object
Returns the value of attribute narrative.
109 110 111 |
# File 'lib/openehr/rm/composition/content/entry.rb', line 109 def narrative @narrative end |
#wf_definition ⇒ Object
Returns the value of attribute wf_definition.
110 111 112 |
# File 'lib/openehr/rm/composition/content/entry.rb', line 110 def wf_definition @wf_definition end |