Class: FHIR::ClaimResponse::Item::Adjudication

Inherits:
Model
  • Object
show all
Includes:
Hashable, Json, Xml
Defined in:
lib/fhir_models/fhir/resources/ClaimResponse.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



81
82
83
# File 'lib/fhir_models/fhir/resources/ClaimResponse.rb', line 81

def amount
  @amount
end

#categoryObject

1-1 CodeableConcept



79
80
81
# File 'lib/fhir_models/fhir/resources/ClaimResponse.rb', line 79

def category
  @category
end

#extensionObject

0-* [ Extension ]



77
78
79
# File 'lib/fhir_models/fhir/resources/ClaimResponse.rb', line 77

def extension
  @extension
end

#idObject

0-1 string



76
77
78
# File 'lib/fhir_models/fhir/resources/ClaimResponse.rb', line 76

def id
  @id
end

#modifierExtensionObject

0-* [ Extension ]



78
79
80
# File 'lib/fhir_models/fhir/resources/ClaimResponse.rb', line 78

def modifierExtension
  @modifierExtension
end

#reasonObject

0-1 CodeableConcept



80
81
82
# File 'lib/fhir_models/fhir/resources/ClaimResponse.rb', line 80

def reason
  @reason
end

#valueObject

0-1 decimal



82
83
84
# File 'lib/fhir_models/fhir/resources/ClaimResponse.rb', line 82

def value
  @value
end