Class: OpenEHR::RM::Composition::Content::Entry::Entry
- Inherits:
-
ContentItem
- Object
- OpenEHR::RM::Common::Archetyped::Pathable
- OpenEHR::RM::Common::Archetyped::Locatable
- ContentItem
- OpenEHR::RM::Composition::Content::Entry::Entry
- Defined in:
- lib/openehr/rm/composition/content/entry.rb
Direct Known Subclasses
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
-
#encoding ⇒ Object
Returns the value of attribute encoding.
-
#language ⇒ Object
Returns the value of attribute language.
-
#other_participations ⇒ Object
Returns the value of attribute other_participations.
-
#provider ⇒ Object
Returns the value of attribute provider.
-
#subject ⇒ Object
Returns the value of attribute subject.
-
#workflow_id ⇒ Object
Returns the value of attribute 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 = { }) ⇒ Entry
constructor
A new instance of Entry.
- #subject_is_self? ⇒ Boolean
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 = { }) ⇒ Entry
Returns a new instance of Entry.
19 20 21 22 23 24 25 26 27 |
# File 'lib/openehr/rm/composition/content/entry.rb', line 19 def initialize(args = { }) super(args) self.language = args[:language] self.encoding = args[:encoding] self.subject = args[:subject] self.provider = args[:provider] self.other_participations = args[:other_participations] self.workflow_id = args[:workflow_id] end |
Instance Attribute Details
#encoding ⇒ Object
Returns the value of attribute encoding.
16 17 18 |
# File 'lib/openehr/rm/composition/content/entry.rb', line 16 def encoding @encoding end |
#language ⇒ Object
Returns the value of attribute language.
16 17 18 |
# File 'lib/openehr/rm/composition/content/entry.rb', line 16 def language @language end |
#other_participations ⇒ Object
Returns the value of attribute other_participations.
17 18 19 |
# File 'lib/openehr/rm/composition/content/entry.rb', line 17 def other_participations @other_participations end |
#provider ⇒ Object
Returns the value of attribute provider.
17 18 19 |
# File 'lib/openehr/rm/composition/content/entry.rb', line 17 def provider @provider end |
#subject ⇒ Object
Returns the value of attribute subject.
16 17 18 |
# File 'lib/openehr/rm/composition/content/entry.rb', line 16 def subject @subject end |
#workflow_id ⇒ Object
Returns the value of attribute workflow_id.
17 18 19 |
# File 'lib/openehr/rm/composition/content/entry.rb', line 17 def workflow_id @workflow_id end |
Instance Method Details
#subject_is_self? ⇒ Boolean
50 51 52 |
# File 'lib/openehr/rm/composition/content/entry.rb', line 50 def subject_is_self? return @subject.instance_of? PartySelf end |