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

Inherits:
PartyIdentified show all
Defined in:
lib/open_ehr/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.



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

#relationshipObject

Returns the value of attribute relationship.



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

def relationship
  @relationship
end