Class: OpenEHR::RM::Demographic::Capability

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

Returns a new instance of Capability.



214
215
216
217
218
# File 'lib/open_ehr/rm/demographic.rb', line 214

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

Instance Attribute Details

#credentialsObject

Returns the value of attribute credentials.



211
212
213
# File 'lib/open_ehr/rm/demographic.rb', line 211

def credentials
  @credentials
end

#time_validityObject

Returns the value of attribute time_validity.



212
213
214
# File 'lib/open_ehr/rm/demographic.rb', line 212

def time_validity
  @time_validity
end