Class: FHIR::ElementDefinition::Mapping

Inherits:
Model
  • Object
show all
Includes:
Hashable, Json, Xml
Defined in:
lib/fhir/types/ElementDefinition.rb

Constant Summary collapse

METADATA =
{
  'id' => {'type'=>'string', 'path'=>'Mapping.id', 'min'=>0, 'max'=>1},
  'extension' => {'type'=>'Extension', 'path'=>'Mapping.extension', 'min'=>0, 'max'=>Float::INFINITY},
  'identity' => {'type'=>'id', 'path'=>'Mapping.identity', 'min'=>1, 'max'=>1},
  'language' => {'type'=>'code', 'path'=>'Mapping.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://www.rfc-editor.org/bcp/bcp13.txt'}},
  'map' => {'type'=>'string', 'path'=>'Mapping.map', 'min'=>1, 'max'=>1}
}

Instance Attribute Summary collapse

Method Summary

Methods included from Xml

from_xml, is_valid?, #to_xml, validate

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?, #initialize, #is_valid?, #method_missing, #mismatch, #to_reference, #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

#extensionObject

0-* [ Extension ]



347
348
349
# File 'lib/fhir/types/ElementDefinition.rb', line 347

def extension
  @extension
end

#idObject

0-1 string



346
347
348
# File 'lib/fhir/types/ElementDefinition.rb', line 346

def id
  @id
end

#identityObject

1-1 id



348
349
350
# File 'lib/fhir/types/ElementDefinition.rb', line 348

def identity
  @identity
end

#languageObject

0-1 code



349
350
351
# File 'lib/fhir/types/ElementDefinition.rb', line 349

def language
  @language
end

#mapObject

1-1 string



350
351
352
# File 'lib/fhir/types/ElementDefinition.rb', line 350

def map
  @map
end