Class: OpenEHR::RM::Demographic::Role
- Inherits:
-
Party
- Object
- Common::Archetyped::Pathable
- Common::Archetyped::Locatable
- Party
- OpenEHR::RM::Demographic::Role
- Defined in:
- lib/openehr/rm/demographic.rb
Constant Summary
Constants included from Common::Archetyped::LocaterConstants
Common::Archetyped::LocaterConstants::CONTENT_PATH_SEPARATOR, Common::Archetyped::LocaterConstants::CURRENT_TRANSACTION_ID, Common::Archetyped::LocaterConstants::FRAGMENT_SEPARATOR, Common::Archetyped::LocaterConstants::MULTIPART_ID_DELIMITER, Common::Archetyped::LocaterConstants::ORGANIZER_PATH_SEPARATOR
Instance Attribute Summary collapse
-
#capabilities ⇒ Object
Returns the value of attribute capabilities.
-
#performer ⇒ Object
Returns the value of attribute performer.
-
#time_validity ⇒ Object
Returns the value of attribute time_validity.
Attributes inherited from Party
#contacts, #details, #identities, #relationships, #reverse_relationships, #uid
Attributes inherited from Common::Archetyped::Locatable
#archetype_details, #archetype_node_id, #feeder_audit, #links, #name, #uid
Attributes inherited from Common::Archetyped::Pathable
Instance Method Summary collapse
-
#initialize(args = { }) ⇒ Role
constructor
A new instance of Role.
Methods inherited from Party
Methods inherited from Common::Archetyped::Locatable
Methods inherited from Common::Archetyped::Pathable
#item_at_path, #items_at_path, #path_exists?, #path_of_item, #path_unique?
Constructor Details
#initialize(args = { }) ⇒ Role
Returns a new instance of Role.
188 189 190 191 192 193 |
# File 'lib/openehr/rm/demographic.rb', line 188 def initialize(args = { }) super(args) self.performer = args[:performer] self.capabilities = args[:capabilities] self.time_validity = args[:time_validity] end |
Instance Attribute Details
#capabilities ⇒ Object
Returns the value of attribute capabilities.
185 186 187 |
# File 'lib/openehr/rm/demographic.rb', line 185 def capabilities @capabilities end |
#performer ⇒ Object
Returns the value of attribute performer.
185 186 187 |
# File 'lib/openehr/rm/demographic.rb', line 185 def performer @performer end |
#time_validity ⇒ Object
Returns the value of attribute time_validity.
186 187 188 |
# File 'lib/openehr/rm/demographic.rb', line 186 def time_validity @time_validity end |