Class: OpenEHR::RM::Demographic::Address

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 = { }) ⇒ Address

Returns a new instance of Address.



117
118
119
120
# File 'lib/open_ehr/rm/demographic.rb', line 117

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

Instance Attribute Details

#detailsObject

Returns the value of attribute details.



115
116
117
# File 'lib/open_ehr/rm/demographic.rb', line 115

def details
  @details
end

Instance Method Details

#typeObject



129
130
131
# File 'lib/open_ehr/rm/demographic.rb', line 129

def type
  return @name
end