Class: FHIR::DSTU2::ClaimResponse::Item::Detail::Adjudication

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

Constant Summary collapse

METADATA =
{
  'id' => { 'type' => 'id', '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 },
  'code' => { 'valid_codes' => { 'http://hl7.org/fhir/adjudication' => ['total', 'copay', 'eligible', 'deductible', 'eligpercent', 'tax', 'benefit'] }, 'type' => 'Coding', 'path' => 'Adjudication.code', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'extensible', 'uri' => 'http://hl7.org/fhir/ValueSet/adjudication' } },
  'amount' => { 'type' => 'Quantity', '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?, #respond_to_missing?, #to_reference, #valid?, #validate, #validate_profile

Constructor Details

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

Dynamic Method Handling

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

Instance Attribute Details

#amountObject

0-1 Quantity



115
116
117
# File 'lib/fhir_dstu2_models/fhir/resources/ClaimResponse.rb', line 115

def amount
  @amount
end

#codeObject

1-1 Coding



114
115
116
# File 'lib/fhir_dstu2_models/fhir/resources/ClaimResponse.rb', line 114

def code
  @code
end

#extensionObject

0-* [ Extension ]



112
113
114
# File 'lib/fhir_dstu2_models/fhir/resources/ClaimResponse.rb', line 112

def extension
  @extension
end

#idObject

0-1 id



111
112
113
# File 'lib/fhir_dstu2_models/fhir/resources/ClaimResponse.rb', line 111

def id
  @id
end

#modifierExtensionObject

0-* [ Extension ]



113
114
115
# File 'lib/fhir_dstu2_models/fhir/resources/ClaimResponse.rb', line 113

def modifierExtension
  @modifierExtension
end

#valueObject

0-1 decimal



116
117
118
# File 'lib/fhir_dstu2_models/fhir/resources/ClaimResponse.rb', line 116

def value
  @value
end