Class: OpenEHR::RM::Demographic::Party
- Inherits:
-
Locatable
- Object
- Locatable
- OpenEHR::RM::Demographic::Party
- Defined in:
- lib/open_ehr/rm/demographic.rb
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.
Instance Method Summary collapse
-
#initialize(args = { }) ⇒ Party
constructor
A new instance of Party.
- #parent=(parent) ⇒ Object
Constructor Details
#initialize(args = { }) ⇒ Party
Returns a new instance of Party.
15 16 17 18 19 20 21 22 23 24 |
# File 'lib/open_ehr/rm/demographic.rb', line 15 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.
10 11 12 |
# File 'lib/open_ehr/rm/demographic.rb', line 10 def contacts @contacts end |
#details ⇒ Object
Returns the value of attribute details.
12 13 14 |
# File 'lib/open_ehr/rm/demographic.rb', line 12 def details @details end |
#identities ⇒ Object
Returns the value of attribute identities.
10 11 12 |
# File 'lib/open_ehr/rm/demographic.rb', line 10 def identities @identities end |
#relationships ⇒ Object
Returns the value of attribute relationships.
10 11 12 |
# File 'lib/open_ehr/rm/demographic.rb', line 10 def relationships @relationships end |
#reverse_relationships ⇒ Object
Returns the value of attribute reverse_relationships.
10 11 12 |
# File 'lib/open_ehr/rm/demographic.rb', line 10 def reverse_relationships @reverse_relationships end |
#uid ⇒ Object
Returns the value of attribute uid.
10 11 12 |
# File 'lib/open_ehr/rm/demographic.rb', line 10 def uid @uid end |
Instance Method Details
#parent=(parent) ⇒ Object
45 46 47 |
# File 'lib/open_ehr/rm/demographic.rb', line 45 def parent=(parent) @parent = nil end |