Class: FHIR::DSTU2::ElementDefinition::Mapping

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

Constant Summary collapse

METADATA =
{
  'id' => {'type'=>'id', '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, #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, #each_element, #equals?, #hash, #initialize, #method_missing, #mismatch, #primitive?, #to_reference, #valid?, #validate, #validate_profile

Constructor Details

This class inherits a constructor from FHIR::DSTU2::Model

Dynamic Method Handling

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

Instance Attribute Details

#extensionObject

0-* [ Extension ]



370
371
372
# File 'lib/fhir_dstu2_models/fhir/types/ElementDefinition.rb', line 370

def extension
  @extension
end

#idObject

0-1 id



369
370
371
# File 'lib/fhir_dstu2_models/fhir/types/ElementDefinition.rb', line 369

def id
  @id
end

#identityObject

1-1 id



371
372
373
# File 'lib/fhir_dstu2_models/fhir/types/ElementDefinition.rb', line 371

def identity
  @identity
end

#languageObject

0-1 code



372
373
374
# File 'lib/fhir_dstu2_models/fhir/types/ElementDefinition.rb', line 372

def language
  @language
end

#mapObject

1-1 string



373
374
375
# File 'lib/fhir_dstu2_models/fhir/types/ElementDefinition.rb', line 373

def map
  @map
end