Class: OpenEHR::RM::Demographic::Party
- Inherits:
-
Common::Archetyped::Locatable
- Object
- Common::Archetyped::Pathable
- Common::Archetyped::Locatable
- OpenEHR::RM::Demographic::Party
- 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
-
#contacts ⇒ Object
Returns the value of attribute contacts.
-
#details ⇒ Object
Returns the value of attribute details.
-
#identities ⇒ Object
Returns the value of attribute identities.
-
#relationships ⇒ Object
Returns the value of attribute relationships.
-
#reverse_relationships ⇒ Object
Returns the value of attribute reverse_relationships.
-
#uid ⇒ Object
Returns the value of attribute uid.
Attributes inherited from Common::Archetyped::Locatable
#archetype_details, #archetype_node_id, #feeder_audit, #links, #name
Attributes inherited from Common::Archetyped::Pathable
Instance Method Summary collapse
-
#initialize(args = { }) ⇒ Party
constructor
A new instance of Party.
- #parent=(parent) ⇒ Object
Methods inherited from Common::Archetyped::Locatable
Methods inherited from Common::Archetyped::Pathable
#item_at_path, #items_at_path, normalize_path, path_attribute, path_attributes, #path_children, #path_exists?, #path_of_item, #path_unique?, select_by_predicate
Constructor Details
#initialize(args = { }) ⇒ Party
Returns a new instance of Party.
16 17 18 19 20 21 22 23 24 25 |
# File 'lib/openehr/rm/demographic.rb', line 16 def initialize(args = { }) super(args) self.uid = args[:uid] self.identities = args[:identities] self.contacts = args[:contacts] self.relationships = args[:relationships] self.reverse_relationships = args[:reverse_relationships] self.details = args[:details] end |
Instance Attribute Details
#contacts ⇒ Object
Returns the value of attribute contacts.
11 12 13 |
# File 'lib/openehr/rm/demographic.rb', line 11 def contacts @contacts end |
#details ⇒ Object
Returns the value of attribute details.
13 14 15 |
# File 'lib/openehr/rm/demographic.rb', line 13 def details @details end |
#identities ⇒ Object
Returns the value of attribute identities.
11 12 13 |
# File 'lib/openehr/rm/demographic.rb', line 11 def identities @identities end |
#relationships ⇒ Object
Returns the value of attribute relationships.
11 12 13 |
# File 'lib/openehr/rm/demographic.rb', line 11 def relationships @relationships end |
#reverse_relationships ⇒ Object
Returns the value of attribute reverse_relationships.
11 12 13 |
# File 'lib/openehr/rm/demographic.rb', line 11 def reverse_relationships @reverse_relationships end |
#uid ⇒ Object
Returns the value of attribute uid.
11 12 13 |
# File 'lib/openehr/rm/demographic.rb', line 11 def uid @uid end |
Instance Method Details
#parent=(parent) ⇒ Object
46 47 48 |
# File 'lib/openehr/rm/demographic.rb', line 46 def parent=(parent) @parent = nil end |