Class: FHIR::ExplanationOfBenefit::MissingTeeth

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

Constant Summary collapse

METADATA =
{
  'id' => {'type'=>'string', 'path'=>'MissingTeeth.id', 'min'=>0, 'max'=>1},
  'extension' => {'type'=>'Extension', 'path'=>'MissingTeeth.extension', 'min'=>0, 'max'=>Float::INFINITY},
  'modifierExtension' => {'type'=>'Extension', 'path'=>'MissingTeeth.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
  'tooth' => {'valid_codes'=>{'http://hl7.org/fhir/ex-fdi'=>['11', '12', '13', '14', '15', '16', '17', '18', '21', '22', '23', '24', '25', '26', '27', '28', '31', '32', '33', '34', '35', '36', '37', '38', '41', '42', '43', '44', '45', '46', '47', '48', '11', '12', '13', '14', '15', '16', '17', '18', '21', '22', '23', '24', '25', '26', '27', '28', '31', '32', '33', '34', '35', '36', '37', '38', '41', '42', '43', '44', '45', '46', '47', '48']}, 'type'=>'Coding', 'path'=>'MissingTeeth.tooth', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/teeth'}},
  'reason' => {'valid_codes'=>{'http://hl7.org/fhir/missingtoothreason'=>['e', 'c', 'u', 'o', 'e', 'c', 'u', 'o']}, 'type'=>'Coding', 'path'=>'MissingTeeth.reason', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/missing-tooth-reason'}},
  'extractionDate' => {'type'=>'date', 'path'=>'MissingTeeth.extractionDate', 'min'=>0, '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 ]



588
589
590
# File 'lib/fhir/resources/ExplanationOfBenefit.rb', line 588

def extension
  @extension
end

#extractionDateObject

0-1 date



592
593
594
# File 'lib/fhir/resources/ExplanationOfBenefit.rb', line 592

def extractionDate
  @extractionDate
end

#idObject

0-1 string



587
588
589
# File 'lib/fhir/resources/ExplanationOfBenefit.rb', line 587

def id
  @id
end

#modifierExtensionObject

0-* [ Extension ]



589
590
591
# File 'lib/fhir/resources/ExplanationOfBenefit.rb', line 589

def modifierExtension
  @modifierExtension
end

#reasonObject

0-1 Coding



591
592
593
# File 'lib/fhir/resources/ExplanationOfBenefit.rb', line 591

def reason
  @reason
end

#toothObject

1-1 Coding



590
591
592
# File 'lib/fhir/resources/ExplanationOfBenefit.rb', line 590

def tooth
  @tooth
end