Class: OpenEHR::RM::Common::Generic::PartyRelated
- Inherits:
-
PartyIdentified
- Object
- PartyProxy
- PartyIdentified
- OpenEHR::RM::Common::Generic::PartyRelated
- Defined in:
- lib/openehr/rm/common/generic.rb
Instance Attribute Summary collapse
-
#relationship ⇒ Object
Returns the value of attribute relationship.
Attributes inherited from PartyIdentified
Attributes inherited from PartyProxy
Instance Method Summary collapse
-
#initialize(args = { }) ⇒ PartyRelated
constructor
A new instance of PartyRelated.
Methods inherited from PartyIdentified
#external_ref=, #identifier, #identifier=
Constructor Details
#initialize(args = { }) ⇒ PartyRelated
Returns a new instance of PartyRelated.
156 157 158 159 |
# File 'lib/openehr/rm/common/generic.rb', line 156 def initialize(args = { }) super(args) self.relationship = args[:relationship] end |
Instance Attribute Details
#relationship ⇒ Object
Returns the value of attribute relationship.
155 156 157 |
# File 'lib/openehr/rm/common/generic.rb', line 155 def relationship @relationship end |