Class: OpenEHR::RM::Composition::Content::Entry::Entry
- Inherits:
-
ContentItem
- Object
- Locatable
- ContentItem
- OpenEHR::RM::Composition::Content::Entry::Entry
- Defined in:
- lib/open_ehr/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.
15 16 17 18 19 20 21 22 23 |
# File 'lib/open_ehr/rm/composition/content/entry.rb', line 15 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.
13 14 15 |
# File 'lib/open_ehr/rm/composition/content/entry.rb', line 13 def encoding @encoding end |
#language ⇒ Object
Returns the value of attribute language.
13 14 15 |
# File 'lib/open_ehr/rm/composition/content/entry.rb', line 13 def language @language end |
#other_participations ⇒ Object
Returns the value of attribute other_participations.
14 15 16 |
# File 'lib/open_ehr/rm/composition/content/entry.rb', line 14 def other_participations @other_participations end |
#provider ⇒ Object
Returns the value of attribute provider.
14 15 16 |
# File 'lib/open_ehr/rm/composition/content/entry.rb', line 14 def provider @provider end |
#subject ⇒ Object
Returns the value of attribute subject.
13 14 15 |
# File 'lib/open_ehr/rm/composition/content/entry.rb', line 13 def subject @subject end |
#workflow_id ⇒ Object
Returns the value of attribute workflow_id.
14 15 16 |
# File 'lib/open_ehr/rm/composition/content/entry.rb', line 14 def workflow_id @workflow_id end |
Instance Method Details
#subject_is_self? ⇒ Boolean
40 41 42 |
# File 'lib/open_ehr/rm/composition/content/entry.rb', line 40 def subject_is_self? return @subject.instance_of? PartySelf end |