Class: FHIR::ClaimResponse::Payment

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

Constant Summary collapse

METADATA =
{
  'id' => {'type'=>'string', 'path'=>'Payment.id', 'min'=>0, 'max'=>1},
  'extension' => {'type'=>'Extension', 'path'=>'Payment.extension', 'min'=>0, 'max'=>Float::INFINITY},
  'modifierExtension' => {'type'=>'Extension', 'path'=>'Payment.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
  'type' => {'valid_codes'=>{'http://hl7.org/fhir/ex-paymenttype'=>['complete', 'partial', 'complete', 'partial']}, 'type'=>'Coding', 'path'=>'Payment.type', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/ex-paymenttype'}},
  'adjustment' => {'type'=>'Money', 'path'=>'Payment.adjustment', 'min'=>0, 'max'=>1},
  'adjustmentReason' => {'valid_codes'=>{'http://hl7.org/fhir/payment-adjustment-reason'=>['a001', 'a002', 'a001', 'a002']}, 'type'=>'Coding', 'path'=>'Payment.adjustmentReason', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'extensible', 'uri'=>'http://hl7.org/fhir/ValueSet/payment-adjustment-reason'}},
  'date' => {'type'=>'date', 'path'=>'Payment.date', 'min'=>0, 'max'=>1},
  'amount' => {'type'=>'Money', 'path'=>'Payment.amount', 'min'=>0, 'max'=>1},
  'identifier' => {'type'=>'Identifier', 'path'=>'Payment.identifier', '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, #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

#adjustmentObject

0-1 Money



255
256
257
# File 'lib/fhir/resources/ClaimResponse.rb', line 255

def adjustment
  @adjustment
end

#adjustmentReasonObject

0-1 Coding



256
257
258
# File 'lib/fhir/resources/ClaimResponse.rb', line 256

def adjustmentReason
  @adjustmentReason
end

#amountObject

0-1 Money



258
259
260
# File 'lib/fhir/resources/ClaimResponse.rb', line 258

def amount
  @amount
end

#dateObject

0-1 date



257
258
259
# File 'lib/fhir/resources/ClaimResponse.rb', line 257

def date
  @date
end

#extensionObject

0-* [ Extension ]



252
253
254
# File 'lib/fhir/resources/ClaimResponse.rb', line 252

def extension
  @extension
end

#idObject

0-1 string



251
252
253
# File 'lib/fhir/resources/ClaimResponse.rb', line 251

def id
  @id
end

#identifierObject

0-1 Identifier



259
260
261
# File 'lib/fhir/resources/ClaimResponse.rb', line 259

def identifier
  @identifier
end

#modifierExtensionObject

0-* [ Extension ]



253
254
255
# File 'lib/fhir/resources/ClaimResponse.rb', line 253

def modifierExtension
  @modifierExtension
end

#typeObject

0-1 Coding



254
255
256
# File 'lib/fhir/resources/ClaimResponse.rb', line 254

def type
  @type
end