Class: OpenEHR::RM::Demographic::PartyIdentity

Inherits:
Locatable
  • Object
show all
Defined in:
lib/open_ehr/rm/demographic.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(args = { }) ⇒ PartyIdentity

Returns a new instance of PartyIdentity.



75
76
77
78
# File 'lib/open_ehr/rm/demographic.rb', line 75

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

Instance Attribute Details

#detailsObject

Returns the value of attribute details.



73
74
75
# File 'lib/open_ehr/rm/demographic.rb', line 73

def details
  @details
end

Instance Method Details

#purposeObject



87
88
89
# File 'lib/open_ehr/rm/demographic.rb', line 87

def purpose
  return @name
end