Class: OpenEHR::RM::Common::Generic::PartyRelated
- Inherits:
-
PartyIdentified
- Object
- PartyProxy
- PartyIdentified
- OpenEHR::RM::Common::Generic::PartyRelated
- Defined in:
- lib/open_ehr/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
Constructor Details
#initialize(args = { }) ⇒ PartyRelated
Returns a new instance of PartyRelated.
144 145 146 147 |
# File 'lib/open_ehr/rm/common/generic.rb', line 144 def initialize(args = { }) super(args) self.relationship = args[:relationship] end |
Instance Attribute Details
#relationship ⇒ Object
Returns the value of attribute relationship.
143 144 145 |
# File 'lib/open_ehr/rm/common/generic.rb', line 143 def relationship @relationship end |