Class: FHIR::STU3::ExplanationOfBenefit::Item::Adjudication

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

Constant Summary collapse

METADATA =
{
  'id' => {'type'=>'string', 'path'=>'Adjudication.id', 'min'=>0, 'max'=>1},
  'extension' => {'type'=>'Extension', 'path'=>'Adjudication.extension', 'min'=>0, 'max'=>Float::INFINITY},
  'modifierExtension' => {'type'=>'Extension', 'path'=>'Adjudication.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
  'category' => {'valid_codes'=>{'http://hl7.org/fhir/adjudication'=>['total', 'copay', 'eligible', 'deductible', 'eligpercent', 'tax', 'benefit']}, 'type'=>'CodeableConcept', 'path'=>'Adjudication.category', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/adjudication'}},
  'reason' => {'valid_codes'=>{'http://hl7.org/fhir/adjudication-reason'=>['ar001', 'ar002']}, 'type'=>'CodeableConcept', 'path'=>'Adjudication.reason', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/adjudication-reason'}},
  'amount' => {'type'=>'Money', 'path'=>'Adjudication.amount', 'min'=>0, 'max'=>1},
  'value' => {'type'=>'decimal', 'path'=>'Adjudication.value', '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, #each_element, #equals?, #hash, #initialize, #method_missing, #mismatch, #primitive?, #to_reference, #valid?, #validate, #validate_profile

Constructor Details

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

Dynamic Method Handling

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

Instance Attribute Details

#amountObject

0-1 Money



333
334
335
# File 'lib/fhir_stu3_models/fhir/resources/ExplanationOfBenefit.rb', line 333

def amount
  @amount
end

#categoryObject

1-1 CodeableConcept



331
332
333
# File 'lib/fhir_stu3_models/fhir/resources/ExplanationOfBenefit.rb', line 331

def category
  @category
end

#extensionObject

0-* [ Extension ]



329
330
331
# File 'lib/fhir_stu3_models/fhir/resources/ExplanationOfBenefit.rb', line 329

def extension
  @extension
end

#idObject

0-1 string



328
329
330
# File 'lib/fhir_stu3_models/fhir/resources/ExplanationOfBenefit.rb', line 328

def id
  @id
end

#modifierExtensionObject

0-* [ Extension ]



330
331
332
# File 'lib/fhir_stu3_models/fhir/resources/ExplanationOfBenefit.rb', line 330

def modifierExtension
  @modifierExtension
end

#reasonObject

0-1 CodeableConcept



332
333
334
# File 'lib/fhir_stu3_models/fhir/resources/ExplanationOfBenefit.rb', line 332

def reason
  @reason
end

#valueObject

0-1 decimal



334
335
336
# File 'lib/fhir_stu3_models/fhir/resources/ExplanationOfBenefit.rb', line 334

def value
  @value
end