Class: FHIR::DSTU2::ClaimResponse

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

Defined Under Namespace

Classes: AddItem, Coverage, Error, Item, Note

Constant Summary collapse

SEARCH_PARAMS =
['identifier']
METADATA =
{
  'id' => {'type'=>'id', 'path'=>'ClaimResponse.id', 'min'=>0, 'max'=>1},
  'meta' => {'type'=>'Meta', 'path'=>'ClaimResponse.meta', 'min'=>0, 'max'=>1},
  'implicitRules' => {'type'=>'uri', 'path'=>'ClaimResponse.implicitRules', 'min'=>0, 'max'=>1},
  'language' => {'type'=>'code', 'path'=>'ClaimResponse.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://tools.ietf.org/html/bcp47'}},
  'text' => {'type'=>'Narrative', 'path'=>'ClaimResponse.text', 'min'=>0, 'max'=>1},
  'contained' => {'type'=>'Resource', 'path'=>'ClaimResponse.contained', 'min'=>0, 'max'=>Float::INFINITY},
  'extension' => {'type'=>'Extension', 'path'=>'ClaimResponse.extension', 'min'=>0, 'max'=>Float::INFINITY},
  'modifierExtension' => {'type'=>'Extension', 'path'=>'ClaimResponse.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
  'identifier' => {'type'=>'Identifier', 'path'=>'ClaimResponse.identifier', 'min'=>0, 'max'=>Float::INFINITY},
  'request' => {'type'=>'Reference', 'path'=>'ClaimResponse.request', 'min'=>0, 'max'=>1},
  'ruleset' => {'valid_codes'=>{'http://hl7.org/fhir/ruleset'=>['x12-4010', 'x12-5010', 'x12-7010', 'cdanet-v2', 'cdanet-v4', 'cpha-3']}, 'type'=>'Coding', 'path'=>'ClaimResponse.ruleset', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/ruleset'}},
  'originalRuleset' => {'valid_codes'=>{'http://hl7.org/fhir/ruleset'=>['x12-4010', 'x12-5010', 'x12-7010', 'cdanet-v2', 'cdanet-v4', 'cpha-3']}, 'type'=>'Coding', 'path'=>'ClaimResponse.originalRuleset', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/ruleset'}},
  'created' => {'type'=>'dateTime', 'path'=>'ClaimResponse.created', 'min'=>0, 'max'=>1},
  'organization' => {'type'=>'Reference', 'path'=>'ClaimResponse.organization', 'min'=>0, 'max'=>1},
  'requestProvider' => {'type'=>'Reference', 'path'=>'ClaimResponse.requestProvider', 'min'=>0, 'max'=>1},
  'requestOrganization' => {'type'=>'Reference', 'path'=>'ClaimResponse.requestOrganization', 'min'=>0, 'max'=>1},
  'outcome' => {'valid_codes'=>{'http://hl7.org/fhir/remittance-outcome'=>['complete', 'error']}, 'type'=>'code', 'path'=>'ClaimResponse.outcome', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/remittance-outcome'}},
  'disposition' => {'type'=>'string', 'path'=>'ClaimResponse.disposition', 'min'=>0, 'max'=>1},
  'payeeType' => {'valid_codes'=>{'http://hl7.org/fhir/payeetype'=>['subscriber', 'provider', 'other']}, 'type'=>'Coding', 'path'=>'ClaimResponse.payeeType', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/payeetype'}},
  'item' => {'type'=>'ClaimResponse::Item', 'path'=>'ClaimResponse.item', 'min'=>0, 'max'=>Float::INFINITY},
  'addItem' => {'type'=>'ClaimResponse::AddItem', 'path'=>'ClaimResponse.addItem', 'min'=>0, 'max'=>Float::INFINITY},
  'error' => {'type'=>'ClaimResponse::Error', 'path'=>'ClaimResponse.error', 'min'=>0, 'max'=>Float::INFINITY},
  'totalCost' => {'type'=>'Quantity', 'path'=>'ClaimResponse.totalCost', 'min'=>0, 'max'=>1},
  'unallocDeductable' => {'type'=>'Quantity', 'path'=>'ClaimResponse.unallocDeductable', 'min'=>0, 'max'=>1},
  'totalBenefit' => {'type'=>'Quantity', 'path'=>'ClaimResponse.totalBenefit', 'min'=>0, 'max'=>1},
  'paymentAdjustment' => {'type'=>'Quantity', 'path'=>'ClaimResponse.paymentAdjustment', 'min'=>0, 'max'=>1},
  'paymentAdjustmentReason' => {'valid_codes'=>{'http://hl7.org/fhir/adjustment-reason'=>['A001', 'A002']}, 'type'=>'Coding', 'path'=>'ClaimResponse.paymentAdjustmentReason', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'extensible', 'uri'=>'http://hl7.org/fhir/ValueSet/adjustment-reason'}},
  'paymentDate' => {'type'=>'date', 'path'=>'ClaimResponse.paymentDate', 'min'=>0, 'max'=>1},
  'paymentAmount' => {'type'=>'Quantity', 'path'=>'ClaimResponse.paymentAmount', 'min'=>0, 'max'=>1},
  'paymentRef' => {'type'=>'Identifier', 'path'=>'ClaimResponse.paymentRef', 'min'=>0, 'max'=>1},
  'reserved' => {'valid_codes'=>{'http://hl7.org/fhir/fundsreserve'=>['patient', 'provider', 'none']}, 'type'=>'Coding', 'path'=>'ClaimResponse.reserved', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/fundsreserve'}},
  'form' => {'valid_codes'=>{'http://hl7.org/fhir/forms-codes'=>['1', '2']}, 'type'=>'Coding', 'path'=>'ClaimResponse.form', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/forms'}},
  'note' => {'type'=>'ClaimResponse::Note', 'path'=>'ClaimResponse.note', 'min'=>0, 'max'=>Float::INFINITY},
  'coverage' => {'type'=>'ClaimResponse::Coverage', 'path'=>'ClaimResponse.coverage', 'min'=>0, 'max'=>Float::INFINITY}
}

Instance Attribute Summary collapse

Instance Method Summary collapse

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?, #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

#addItemObject

0-* [ ClaimResponse::AddItem ]



378
379
380
# File 'lib/fhir_dstu2_models/fhir/resources/ClaimResponse.rb', line 378

def addItem
  @addItem
end

#containedObject

0-* [ Resource ]



363
364
365
# File 'lib/fhir_dstu2_models/fhir/resources/ClaimResponse.rb', line 363

def contained
  @contained
end

#coverageObject

0-* [ ClaimResponse::Coverage ]



391
392
393
# File 'lib/fhir_dstu2_models/fhir/resources/ClaimResponse.rb', line 391

def coverage
  @coverage
end

#createdObject

0-1 dateTime



370
371
372
# File 'lib/fhir_dstu2_models/fhir/resources/ClaimResponse.rb', line 370

def created
  @created
end

#dispositionObject

0-1 string



375
376
377
# File 'lib/fhir_dstu2_models/fhir/resources/ClaimResponse.rb', line 375

def disposition
  @disposition
end

#errorObject

0-* [ ClaimResponse::Error ]



379
380
381
# File 'lib/fhir_dstu2_models/fhir/resources/ClaimResponse.rb', line 379

def error
  @error
end

#extensionObject

0-* [ Extension ]



364
365
366
# File 'lib/fhir_dstu2_models/fhir/resources/ClaimResponse.rb', line 364

def extension
  @extension
end

#formObject

0-1 Coding



389
390
391
# File 'lib/fhir_dstu2_models/fhir/resources/ClaimResponse.rb', line 389

def form
  @form
end

#idObject

0-1 id



358
359
360
# File 'lib/fhir_dstu2_models/fhir/resources/ClaimResponse.rb', line 358

def id
  @id
end

#identifierObject

0-* [ Identifier ]



366
367
368
# File 'lib/fhir_dstu2_models/fhir/resources/ClaimResponse.rb', line 366

def identifier
  @identifier
end

#implicitRulesObject

0-1 uri



360
361
362
# File 'lib/fhir_dstu2_models/fhir/resources/ClaimResponse.rb', line 360

def implicitRules
  @implicitRules
end

#itemObject

0-* [ ClaimResponse::Item ]



377
378
379
# File 'lib/fhir_dstu2_models/fhir/resources/ClaimResponse.rb', line 377

def item
  @item
end

#languageObject

0-1 code



361
362
363
# File 'lib/fhir_dstu2_models/fhir/resources/ClaimResponse.rb', line 361

def language
  @language
end

#metaObject

0-1 Meta



359
360
361
# File 'lib/fhir_dstu2_models/fhir/resources/ClaimResponse.rb', line 359

def meta
  @meta
end

#modifierExtensionObject

0-* [ Extension ]



365
366
367
# File 'lib/fhir_dstu2_models/fhir/resources/ClaimResponse.rb', line 365

def modifierExtension
  @modifierExtension
end

#noteObject

0-* [ ClaimResponse::Note ]



390
391
392
# File 'lib/fhir_dstu2_models/fhir/resources/ClaimResponse.rb', line 390

def note
  @note
end

#organizationObject

0-1 Reference()



371
372
373
# File 'lib/fhir_dstu2_models/fhir/resources/ClaimResponse.rb', line 371

def organization
  @organization
end

#originalRulesetObject

0-1 Coding



369
370
371
# File 'lib/fhir_dstu2_models/fhir/resources/ClaimResponse.rb', line 369

def originalRuleset
  @originalRuleset
end

#outcomeObject

0-1 code



374
375
376
# File 'lib/fhir_dstu2_models/fhir/resources/ClaimResponse.rb', line 374

def outcome
  @outcome
end

#payeeTypeObject

0-1 Coding



376
377
378
# File 'lib/fhir_dstu2_models/fhir/resources/ClaimResponse.rb', line 376

def payeeType
  @payeeType
end

#paymentAdjustmentObject

0-1 Quantity



383
384
385
# File 'lib/fhir_dstu2_models/fhir/resources/ClaimResponse.rb', line 383

def paymentAdjustment
  @paymentAdjustment
end

#paymentAdjustmentReasonObject

0-1 Coding



384
385
386
# File 'lib/fhir_dstu2_models/fhir/resources/ClaimResponse.rb', line 384

def paymentAdjustmentReason
  @paymentAdjustmentReason
end

#paymentAmountObject

0-1 Quantity



386
387
388
# File 'lib/fhir_dstu2_models/fhir/resources/ClaimResponse.rb', line 386

def paymentAmount
  @paymentAmount
end

#paymentDateObject

0-1 date



385
386
387
# File 'lib/fhir_dstu2_models/fhir/resources/ClaimResponse.rb', line 385

def paymentDate
  @paymentDate
end

#paymentRefObject

0-1 Identifier



387
388
389
# File 'lib/fhir_dstu2_models/fhir/resources/ClaimResponse.rb', line 387

def paymentRef
  @paymentRef
end

#requestObject

0-1 Reference()



367
368
369
# File 'lib/fhir_dstu2_models/fhir/resources/ClaimResponse.rb', line 367

def request
  @request
end

#requestOrganizationObject

0-1 Reference()



373
374
375
# File 'lib/fhir_dstu2_models/fhir/resources/ClaimResponse.rb', line 373

def requestOrganization
  @requestOrganization
end

#requestProviderObject

0-1 Reference()



372
373
374
# File 'lib/fhir_dstu2_models/fhir/resources/ClaimResponse.rb', line 372

def requestProvider
  @requestProvider
end

#reservedObject

0-1 Coding



388
389
390
# File 'lib/fhir_dstu2_models/fhir/resources/ClaimResponse.rb', line 388

def reserved
  @reserved
end

#rulesetObject

0-1 Coding



368
369
370
# File 'lib/fhir_dstu2_models/fhir/resources/ClaimResponse.rb', line 368

def ruleset
  @ruleset
end

#textObject

0-1 Narrative



362
363
364
# File 'lib/fhir_dstu2_models/fhir/resources/ClaimResponse.rb', line 362

def text
  @text
end

#totalBenefitObject

0-1 Quantity



382
383
384
# File 'lib/fhir_dstu2_models/fhir/resources/ClaimResponse.rb', line 382

def totalBenefit
  @totalBenefit
end

#totalCostObject

0-1 Quantity



380
381
382
# File 'lib/fhir_dstu2_models/fhir/resources/ClaimResponse.rb', line 380

def totalCost
  @totalCost
end

#unallocDeductableObject

0-1 Quantity



381
382
383
# File 'lib/fhir_dstu2_models/fhir/resources/ClaimResponse.rb', line 381

def unallocDeductable
  @unallocDeductable
end

Instance Method Details

#resourceTypeObject



393
394
395
# File 'lib/fhir_dstu2_models/fhir/resources/ClaimResponse.rb', line 393

def resourceType
  'ClaimResponse'
end