Class: FHIR::ElementDefinition::Mapping

Inherits:
Model
  • Object
show all
Includes:
Hashable, Json, Xml
Defined in:
lib/fhir_models/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://hl7.org/fhir/ValueSet/mimetypes|4.0.0'}},
  'map' => {'type'=>'string', 'path'=>'Mapping.map', 'min'=>1, 'max'=>1},
  'comment' => {'type'=>'string', 'path'=>'Mapping.comment', '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

#commentObject

0-1 string



483
484
485
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 483

def comment
  @comment
end

#extensionObject

0-* [ Extension ]



479
480
481
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 479

def extension
  @extension
end

#idObject

0-1 string



478
479
480
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 478

def id
  @id
end

#identityObject

1-1 id



480
481
482
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 480

def identity
  @identity
end

#languageObject

0-1 code



481
482
483
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 481

def language
  @language
end

#mapObject

1-1 string



482
483
484
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 482

def map
  @map
end