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

Inherits:
Model
  • Object
show all
Includes:
Hashable, Json, Xml
Defined in:
lib/fhir_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://terminology.hl7.org/CodeSystem/adjudication'=>['submitted', 'copay', 'eligible', 'deductible', 'unallocdeduct', '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://terminology.hl7.org/CodeSystem/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, #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

#amountObject

0-1 Money



344
345
346
# File 'lib/fhir_models/fhir/resources/ExplanationOfBenefit.rb', line 344

def amount
  @amount
end

#categoryObject

1-1 CodeableConcept



342
343
344
# File 'lib/fhir_models/fhir/resources/ExplanationOfBenefit.rb', line 342

def category
  @category
end

#extensionObject

0-* [ Extension ]



340
341
342
# File 'lib/fhir_models/fhir/resources/ExplanationOfBenefit.rb', line 340

def extension
  @extension
end

#idObject

0-1 string



339
340
341
# File 'lib/fhir_models/fhir/resources/ExplanationOfBenefit.rb', line 339

def id
  @id
end

#modifierExtensionObject

0-* [ Extension ]



341
342
343
# File 'lib/fhir_models/fhir/resources/ExplanationOfBenefit.rb', line 341

def modifierExtension
  @modifierExtension
end

#reasonObject

0-1 CodeableConcept



343
344
345
# File 'lib/fhir_models/fhir/resources/ExplanationOfBenefit.rb', line 343

def reason
  @reason
end

#valueObject

0-1 decimal



345
346
347
# File 'lib/fhir_models/fhir/resources/ExplanationOfBenefit.rb', line 345

def value
  @value
end