Class: FHIR::SubstanceSpecification::Name::Official

Inherits:
Model
  • Object
show all
Includes:
Hashable, Json, Xml
Defined in:
lib/fhir_models/fhir/resources/SubstanceSpecification.rb

Constant Summary collapse

METADATA =
{
  'id' => {'type'=>'string', 'path'=>'Official.id', 'min'=>0, 'max'=>1},
  'extension' => {'type'=>'Extension', 'path'=>'Official.extension', 'min'=>0, 'max'=>Float::INFINITY},
  'modifierExtension' => {'type'=>'Extension', 'path'=>'Official.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
  'authority' => {'type'=>'CodeableConcept', 'path'=>'Official.authority', 'min'=>0, 'max'=>1},
  'status' => {'type'=>'CodeableConcept', 'path'=>'Official.status', 'min'=>0, 'max'=>1},
  'date' => {'type'=>'dateTime', 'path'=>'Official.date', 'min'=>0, 'max'=>1}
}

Instance Attribute Summary collapse

Method Summary

Methods included from Xml

from_xml, #to_xml, valid?, validate

Methods included from Deprecate

#deprecate

Methods included from Json

from_json, #to_json

Methods included from Hashable

#from_hash, #to_hash

Methods inherited from Model

#==, #attribute_mismatch, #compare_attribute, #equals?, #hash, #initialize, #method_missing, #mismatch, #primitive?, #to_reference, #valid?, #validate, #validate_profile

Constructor Details

This class inherits a constructor from FHIR::Model

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class FHIR::Model

Instance Attribute Details

#authorityObject

0-1 CodeableConcept



274
275
276
# File 'lib/fhir_models/fhir/resources/SubstanceSpecification.rb', line 274

def authority
  @authority
end

#dateObject

0-1 dateTime



276
277
278
# File 'lib/fhir_models/fhir/resources/SubstanceSpecification.rb', line 276

def date
  @date
end

#extensionObject

0-* [ Extension ]



272
273
274
# File 'lib/fhir_models/fhir/resources/SubstanceSpecification.rb', line 272

def extension
  @extension
end

#idObject

0-1 string



271
272
273
# File 'lib/fhir_models/fhir/resources/SubstanceSpecification.rb', line 271

def id
  @id
end

#modifierExtensionObject

0-* [ Extension ]



273
274
275
# File 'lib/fhir_models/fhir/resources/SubstanceSpecification.rb', line 273

def modifierExtension
  @modifierExtension
end

#statusObject

0-1 CodeableConcept



275
276
277
# File 'lib/fhir_models/fhir/resources/SubstanceSpecification.rb', line 275

def status
  @status
end