Class: OpenEHR::RM::Common::Generic::PartyRelated

Inherits:
PartyIdentified show all
Defined in:
lib/openehr/rm/common/generic.rb

Instance Attribute Summary collapse

Attributes inherited from PartyIdentified

#identifier, #name

Attributes inherited from PartyProxy

#external_ref

Instance Method Summary collapse

Methods inherited from PartyIdentified

#external_ref=

Constructor Details

#initialize(args = { }) ⇒ PartyRelated

Returns a new instance of PartyRelated.



142
143
144
145
# File 'lib/openehr/rm/common/generic.rb', line 142

def initialize(args = { })
  super(args)
  self.relationship = args[:relationship]
end

Instance Attribute Details

#relationshipObject

Returns the value of attribute relationship.



141
142
143
# File 'lib/openehr/rm/common/generic.rb', line 141

def relationship
  @relationship
end