Class: FHIR::ClaimResponse::Additem::Detail::Adjudication

Inherits:
Model
  • Object
show all
Includes:
Hashable, Json, Xml
Defined in:
lib/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},
  'category' => {'valid_codes'=>{'http://hl7.org/fhir/adjudication'=>['total', 'copay', 'eligible', 'deductible', 'eligpercent', 'tax', 'benefit']}, 'type'=>'Coding', 'path'=>'Adjudication.category', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'extensible', 'uri'=>'http://hl7.org/fhir/ValueSet/adjudication'}},
  'reason' => {'valid_codes'=>{'http://hl7.org/fhir/adjudication-reason'=>['ar001', 'ar002']}, 'type'=>'Coding', 'path'=>'Adjudication.reason', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'extensible', 'uri'=>'http://hl7.org/fhir/ValueSet/adjudication-reason'}},
  '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, 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

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 Quantity



276
277
278
# File 'lib/fhir/resources/ClaimResponse.rb', line 276

def amount
  @amount
end

#categoryObject

1-1 Coding



274
275
276
# File 'lib/fhir/resources/ClaimResponse.rb', line 274

def category
  @category
end

#extensionObject

0-* [ Extension ]



272
273
274
# File 'lib/fhir/resources/ClaimResponse.rb', line 272

def extension
  @extension
end

#idObject

0-1 id



271
272
273
# File 'lib/fhir/resources/ClaimResponse.rb', line 271

def id
  @id
end

#modifierExtensionObject

0-* [ Extension ]



273
274
275
# File 'lib/fhir/resources/ClaimResponse.rb', line 273

def modifierExtension
  @modifierExtension
end

#reasonObject

0-1 Coding



275
276
277
# File 'lib/fhir/resources/ClaimResponse.rb', line 275

def reason
  @reason
end

#valueObject

0-1 decimal



277
278
279
# File 'lib/fhir/resources/ClaimResponse.rb', line 277

def value
  @value
end