Class: OpenEHR::RM::Composition::Content::Entry::Entry
- Inherits:
-
ContentItem
- Object
- Locatable
- ContentItem
- OpenEHR::RM::Composition::Content::Entry::Entry
- Defined in:
- lib/openehr/rm/composition/content/entry.rb
Direct Known Subclasses
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.
Instance Method Summary collapse
-
#initialize(args = { }) ⇒ Entry
constructor
A new instance of Entry.
- #subject_is_self? ⇒ Boolean
Constructor Details
#initialize(args = { }) ⇒ Entry
Returns a new instance of Entry.
16 17 18 19 20 21 22 23 24 |
# File 'lib/openehr/rm/composition/content/entry.rb', line 16 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.
14 15 16 |
# File 'lib/openehr/rm/composition/content/entry.rb', line 14 def encoding @encoding end |
#language ⇒ Object
Returns the value of attribute language.
14 15 16 |
# File 'lib/openehr/rm/composition/content/entry.rb', line 14 def language @language end |
#other_participations ⇒ Object
Returns the value of attribute other_participations.
15 16 17 |
# File 'lib/openehr/rm/composition/content/entry.rb', line 15 def other_participations @other_participations end |
#provider ⇒ Object
Returns the value of attribute provider.
15 16 17 |
# File 'lib/openehr/rm/composition/content/entry.rb', line 15 def provider @provider end |
#subject ⇒ Object
Returns the value of attribute subject.
14 15 16 |
# File 'lib/openehr/rm/composition/content/entry.rb', line 14 def subject @subject end |
#workflow_id ⇒ Object
Returns the value of attribute workflow_id.
15 16 17 |
# File 'lib/openehr/rm/composition/content/entry.rb', line 15 def workflow_id @workflow_id end |
Instance Method Details
#subject_is_self? ⇒ Boolean
47 48 49 |
# File 'lib/openehr/rm/composition/content/entry.rb', line 47 def subject_is_self? return @subject.instance_of? PartySelf end |