Class: FHIR::ClaimResponse

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

Defined Under Namespace

Classes: AddItem, Error, Insurance, Item, Payment, ProcessNote, Total

Constant Summary collapse

SEARCH_PARAMS =
['created', 'disposition', 'identifier', 'insurer', 'outcome', 'patient', 'payment-date', 'request', 'requestor', 'status', 'use']
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' => {'valid_codes'=>{'urn:ietf:bcp:47'=>['ar', 'bn', 'cs', 'da', 'de', 'de-AT', 'de-CH', 'de-DE', 'el', 'en', 'en-AU', 'en-CA', 'en-GB', 'en-IN', 'en-NZ', 'en-SG', 'en-US', 'es', 'es-AR', 'es-ES', 'es-UY', 'fi', 'fr', 'fr-BE', 'fr-CH', 'fr-FR', 'fy', 'fy-NL', 'hi', 'hr', 'it', 'it-CH', 'it-IT', 'ja', 'ko', 'nl', 'nl-BE', 'nl-NL', 'no', 'no-NO', 'pa', 'pl', 'pt', 'pt-BR', 'ru', 'ru-RU', 'sr', 'sr-RS', 'sv', 'sv-SE', 'te', 'zh', 'zh-CN', 'zh-HK', 'zh-SG', 'zh-TW']}, 'type'=>'code', 'path'=>'ClaimResponse.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'preferred', 'uri'=>'http://hl7.org/fhir/ValueSet/languages'}},
  '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},
  'status' => {'valid_codes'=>{'http://hl7.org/fhir/fm-status'=>['active', 'cancelled', 'draft', 'entered-in-error']}, 'type'=>'code', 'path'=>'ClaimResponse.status', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/fm-status|4.0.0'}},
  'type' => {'valid_codes'=>{'http://terminology.hl7.org/CodeSystem/claim-type'=>['institutional', 'oral', 'pharmacy', 'professional', 'vision']}, 'type'=>'CodeableConcept', 'path'=>'ClaimResponse.type', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'extensible', 'uri'=>'http://hl7.org/fhir/ValueSet/claim-type'}},
  'subType' => {'valid_codes'=>{'http://terminology.hl7.org/CodeSystem/ex-claimsubtype'=>['ortho', 'emergency']}, 'type'=>'CodeableConcept', 'path'=>'ClaimResponse.subType', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/claim-subtype'}},
  'use' => {'valid_codes'=>{'http://hl7.org/fhir/claim-use'=>['claim', 'preauthorization', 'predetermination']}, 'type'=>'code', 'path'=>'ClaimResponse.use', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/claim-use|4.0.0'}},
  'patient' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/Patient'], 'type'=>'Reference', 'path'=>'ClaimResponse.patient', 'min'=>1, 'max'=>1},
  'created' => {'type'=>'dateTime', 'path'=>'ClaimResponse.created', 'min'=>1, 'max'=>1},
  'insurer' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/Organization'], 'type'=>'Reference', 'path'=>'ClaimResponse.insurer', 'min'=>1, 'max'=>1},
  'requestor' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/Practitioner', 'http://hl7.org/fhir/StructureDefinition/PractitionerRole', 'http://hl7.org/fhir/StructureDefinition/Organization'], 'type'=>'Reference', 'path'=>'ClaimResponse.requestor', 'min'=>0, 'max'=>1},
  'request' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/Claim'], 'type'=>'Reference', 'path'=>'ClaimResponse.request', 'min'=>0, 'max'=>1},
  'outcome' => {'valid_codes'=>{'http://hl7.org/fhir/remittance-outcome'=>['queued', 'complete', 'error', 'partial']}, 'type'=>'code', 'path'=>'ClaimResponse.outcome', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/remittance-outcome|4.0.0'}},
  'disposition' => {'type'=>'string', 'path'=>'ClaimResponse.disposition', 'min'=>0, 'max'=>1},
  'preAuthRef' => {'type'=>'string', 'path'=>'ClaimResponse.preAuthRef', 'min'=>0, 'max'=>1},
  'preAuthPeriod' => {'type'=>'Period', 'path'=>'ClaimResponse.preAuthPeriod', 'min'=>0, 'max'=>1},
  'payeeType' => {'valid_codes'=>{'http://terminology.hl7.org/CodeSystem/payeetype'=>['subscriber', 'provider', 'other']}, 'type'=>'CodeableConcept', '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},
  'adjudication' => {'type'=>'ClaimResponse::Item::Adjudication', 'path'=>'ClaimResponse.adjudication', 'min'=>0, 'max'=>Float::INFINITY},
  'total' => {'type'=>'ClaimResponse::Total', 'path'=>'ClaimResponse.total', 'min'=>0, 'max'=>Float::INFINITY},
  'payment' => {'type'=>'ClaimResponse::Payment', 'path'=>'ClaimResponse.payment', 'min'=>0, 'max'=>1},
  'fundsReserve' => {'valid_codes'=>{'http://terminology.hl7.org/CodeSystem/fundsreserve'=>['patient', 'provider', 'none']}, 'type'=>'CodeableConcept', 'path'=>'ClaimResponse.fundsReserve', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/fundsreserve'}},
  'formCode' => {'valid_codes'=>{'http://terminology.hl7.org/CodeSystem/forms-codes'=>['1', '2']}, 'type'=>'CodeableConcept', 'path'=>'ClaimResponse.formCode', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/forms'}},
  'form' => {'type'=>'Attachment', 'path'=>'ClaimResponse.form', 'min'=>0, 'max'=>1},
  'processNote' => {'type'=>'ClaimResponse::ProcessNote', 'path'=>'ClaimResponse.processNote', 'min'=>0, 'max'=>Float::INFINITY},
  'communicationRequest' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/CommunicationRequest'], 'type'=>'Reference', 'path'=>'ClaimResponse.communicationRequest', 'min'=>0, 'max'=>Float::INFINITY},
  'insurance' => {'type'=>'ClaimResponse::Insurance', 'path'=>'ClaimResponse.insurance', 'min'=>0, 'max'=>Float::INFINITY},
  'error' => {'type'=>'ClaimResponse::Error', 'path'=>'ClaimResponse.error', '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, #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

#addItemObject

0-* [ ClaimResponse::AddItem ]



414
415
416
# File 'lib/fhir_models/fhir/resources/ClaimResponse.rb', line 414

def addItem
  @addItem
end

#adjudicationObject

0-* [ ClaimResponse::Item::Adjudication ]



415
416
417
# File 'lib/fhir_models/fhir/resources/ClaimResponse.rb', line 415

def adjudication
  @adjudication
end

#communicationRequestObject

0-* [ Reference(CommunicationRequest) ]



422
423
424
# File 'lib/fhir_models/fhir/resources/ClaimResponse.rb', line 422

def communicationRequest
  @communicationRequest
end

#containedObject

0-* [ Resource ]



395
396
397
# File 'lib/fhir_models/fhir/resources/ClaimResponse.rb', line 395

def contained
  @contained
end

#createdObject

1-1 dateTime



404
405
406
# File 'lib/fhir_models/fhir/resources/ClaimResponse.rb', line 404

def created
  @created
end

#dispositionObject

0-1 string



409
410
411
# File 'lib/fhir_models/fhir/resources/ClaimResponse.rb', line 409

def disposition
  @disposition
end

#errorObject

0-* [ ClaimResponse::Error ]



424
425
426
# File 'lib/fhir_models/fhir/resources/ClaimResponse.rb', line 424

def error
  @error
end

#extensionObject

0-* [ Extension ]



396
397
398
# File 'lib/fhir_models/fhir/resources/ClaimResponse.rb', line 396

def extension
  @extension
end

#formObject

0-1 Attachment



420
421
422
# File 'lib/fhir_models/fhir/resources/ClaimResponse.rb', line 420

def form
  @form
end

#formCodeObject

0-1 CodeableConcept



419
420
421
# File 'lib/fhir_models/fhir/resources/ClaimResponse.rb', line 419

def formCode
  @formCode
end

#fundsReserveObject

0-1 CodeableConcept



418
419
420
# File 'lib/fhir_models/fhir/resources/ClaimResponse.rb', line 418

def fundsReserve
  @fundsReserve
end

#idObject

0-1 id



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

def id
  @id
end

#identifierObject

0-* [ Identifier ]



398
399
400
# File 'lib/fhir_models/fhir/resources/ClaimResponse.rb', line 398

def identifier
  @identifier
end

#implicitRulesObject

0-1 uri



392
393
394
# File 'lib/fhir_models/fhir/resources/ClaimResponse.rb', line 392

def implicitRules
  @implicitRules
end

#insuranceObject

0-* [ ClaimResponse::Insurance ]



423
424
425
# File 'lib/fhir_models/fhir/resources/ClaimResponse.rb', line 423

def insurance
  @insurance
end

#insurerObject

1-1 Reference(Organization)



405
406
407
# File 'lib/fhir_models/fhir/resources/ClaimResponse.rb', line 405

def insurer
  @insurer
end

#itemObject

0-* [ ClaimResponse::Item ]



413
414
415
# File 'lib/fhir_models/fhir/resources/ClaimResponse.rb', line 413

def item
  @item
end

#languageObject

0-1 code



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

def language
  @language
end

#metaObject

0-1 Meta



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

def meta
  @meta
end

#modifierExtensionObject

0-* [ Extension ]



397
398
399
# File 'lib/fhir_models/fhir/resources/ClaimResponse.rb', line 397

def modifierExtension
  @modifierExtension
end

#outcomeObject

1-1 code



408
409
410
# File 'lib/fhir_models/fhir/resources/ClaimResponse.rb', line 408

def outcome
  @outcome
end

#patientObject

1-1 Reference(Patient)



403
404
405
# File 'lib/fhir_models/fhir/resources/ClaimResponse.rb', line 403

def patient
  @patient
end

#payeeTypeObject

0-1 CodeableConcept



412
413
414
# File 'lib/fhir_models/fhir/resources/ClaimResponse.rb', line 412

def payeeType
  @payeeType
end

#paymentObject

0-1 ClaimResponse::Payment



417
418
419
# File 'lib/fhir_models/fhir/resources/ClaimResponse.rb', line 417

def payment
  @payment
end

#preAuthPeriodObject

0-1 Period



411
412
413
# File 'lib/fhir_models/fhir/resources/ClaimResponse.rb', line 411

def preAuthPeriod
  @preAuthPeriod
end

#preAuthRefObject

0-1 string



410
411
412
# File 'lib/fhir_models/fhir/resources/ClaimResponse.rb', line 410

def preAuthRef
  @preAuthRef
end

#processNoteObject

0-* [ ClaimResponse::ProcessNote ]



421
422
423
# File 'lib/fhir_models/fhir/resources/ClaimResponse.rb', line 421

def processNote
  @processNote
end

#requestObject

0-1 Reference(Claim)



407
408
409
# File 'lib/fhir_models/fhir/resources/ClaimResponse.rb', line 407

def request
  @request
end

#requestorObject

0-1 Reference(Practitioner|PractitionerRole|Organization)



406
407
408
# File 'lib/fhir_models/fhir/resources/ClaimResponse.rb', line 406

def requestor
  @requestor
end

#statusObject

1-1 code



399
400
401
# File 'lib/fhir_models/fhir/resources/ClaimResponse.rb', line 399

def status
  @status
end

#subTypeObject

0-1 CodeableConcept



401
402
403
# File 'lib/fhir_models/fhir/resources/ClaimResponse.rb', line 401

def subType
  @subType
end

#textObject

0-1 Narrative



394
395
396
# File 'lib/fhir_models/fhir/resources/ClaimResponse.rb', line 394

def text
  @text
end

#totalObject

0-* [ ClaimResponse::Total ]



416
417
418
# File 'lib/fhir_models/fhir/resources/ClaimResponse.rb', line 416

def total
  @total
end

#typeObject

1-1 CodeableConcept



400
401
402
# File 'lib/fhir_models/fhir/resources/ClaimResponse.rb', line 400

def type
  @type
end

#useObject

1-1 code



402
403
404
# File 'lib/fhir_models/fhir/resources/ClaimResponse.rb', line 402

def use
  @use
end

Instance Method Details

#resourceTypeObject



426
427
428
# File 'lib/fhir_models/fhir/resources/ClaimResponse.rb', line 426

def resourceType
  'ClaimResponse'
end