Class: FHIR::ClaimResponse
- 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
-
#addItem ⇒ Object
0-* [ ClaimResponse::AddItem ].
-
#adjudication ⇒ Object
0-* [ ClaimResponse::Item::Adjudication ].
-
#communicationRequest ⇒ Object
0-* [ Reference(CommunicationRequest) ].
-
#contained ⇒ Object
0-* [ Resource ].
-
#created ⇒ Object
1-1 dateTime.
-
#disposition ⇒ Object
0-1 string.
-
#error ⇒ Object
0-* [ ClaimResponse::Error ].
-
#extension ⇒ Object
0-* [ Extension ].
-
#form ⇒ Object
0-1 Attachment.
-
#formCode ⇒ Object
0-1 CodeableConcept.
-
#fundsReserve ⇒ Object
0-1 CodeableConcept.
-
#id ⇒ Object
0-1 id.
-
#identifier ⇒ Object
0-* [ Identifier ].
-
#implicitRules ⇒ Object
0-1 uri.
-
#insurance ⇒ Object
0-* [ ClaimResponse::Insurance ].
-
#insurer ⇒ Object
1-1 Reference(Organization).
-
#item ⇒ Object
0-* [ ClaimResponse::Item ].
-
#language ⇒ Object
0-1 code.
-
#meta ⇒ Object
0-1 Meta.
-
#modifierExtension ⇒ Object
0-* [ Extension ].
-
#outcome ⇒ Object
1-1 code.
-
#patient ⇒ Object
1-1 Reference(Patient).
-
#payeeType ⇒ Object
0-1 CodeableConcept.
-
#payment ⇒ Object
0-1 ClaimResponse::Payment.
-
#preAuthPeriod ⇒ Object
0-1 Period.
-
#preAuthRef ⇒ Object
0-1 string.
-
#processNote ⇒ Object
0-* [ ClaimResponse::ProcessNote ].
-
#request ⇒ Object
0-1 Reference(Claim).
-
#requestor ⇒ Object
0-1 Reference(Practitioner|PractitionerRole|Organization).
-
#status ⇒ Object
1-1 code.
-
#subType ⇒ Object
0-1 CodeableConcept.
-
#text ⇒ Object
0-1 Narrative.
-
#total ⇒ Object
0-* [ ClaimResponse::Total ].
-
#type ⇒ Object
1-1 CodeableConcept.
-
#use ⇒ Object
1-1 code.
Instance Method Summary collapse
Methods included from Xml
from_xml, #to_xml, valid?, validate
Methods included from Deprecate
Methods included from Json
Methods included from Hashable
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
#addItem ⇒ Object
0-* [ ClaimResponse::AddItem ]
414 415 416 |
# File 'lib/fhir_models/fhir/resources/ClaimResponse.rb', line 414 def addItem @addItem end |
#adjudication ⇒ Object
0-* [ ClaimResponse::Item::Adjudication ]
415 416 417 |
# File 'lib/fhir_models/fhir/resources/ClaimResponse.rb', line 415 def adjudication @adjudication end |
#communicationRequest ⇒ Object
0-* [ Reference(CommunicationRequest) ]
422 423 424 |
# File 'lib/fhir_models/fhir/resources/ClaimResponse.rb', line 422 def communicationRequest @communicationRequest end |
#contained ⇒ Object
0-* [ Resource ]
395 396 397 |
# File 'lib/fhir_models/fhir/resources/ClaimResponse.rb', line 395 def contained @contained end |
#created ⇒ Object
1-1 dateTime
404 405 406 |
# File 'lib/fhir_models/fhir/resources/ClaimResponse.rb', line 404 def created @created end |
#disposition ⇒ Object
0-1 string
409 410 411 |
# File 'lib/fhir_models/fhir/resources/ClaimResponse.rb', line 409 def disposition @disposition end |
#error ⇒ Object
0-* [ ClaimResponse::Error ]
424 425 426 |
# File 'lib/fhir_models/fhir/resources/ClaimResponse.rb', line 424 def error @error end |
#extension ⇒ Object
0-* [ Extension ]
396 397 398 |
# File 'lib/fhir_models/fhir/resources/ClaimResponse.rb', line 396 def extension @extension end |
#form ⇒ Object
0-1 Attachment
420 421 422 |
# File 'lib/fhir_models/fhir/resources/ClaimResponse.rb', line 420 def form @form end |
#formCode ⇒ Object
0-1 CodeableConcept
419 420 421 |
# File 'lib/fhir_models/fhir/resources/ClaimResponse.rb', line 419 def formCode @formCode end |
#fundsReserve ⇒ Object
0-1 CodeableConcept
418 419 420 |
# File 'lib/fhir_models/fhir/resources/ClaimResponse.rb', line 418 def fundsReserve @fundsReserve end |
#id ⇒ Object
0-1 id
390 391 392 |
# File 'lib/fhir_models/fhir/resources/ClaimResponse.rb', line 390 def id @id end |
#identifier ⇒ Object
0-* [ Identifier ]
398 399 400 |
# File 'lib/fhir_models/fhir/resources/ClaimResponse.rb', line 398 def identifier @identifier end |
#implicitRules ⇒ Object
0-1 uri
392 393 394 |
# File 'lib/fhir_models/fhir/resources/ClaimResponse.rb', line 392 def implicitRules @implicitRules end |
#insurance ⇒ Object
0-* [ ClaimResponse::Insurance ]
423 424 425 |
# File 'lib/fhir_models/fhir/resources/ClaimResponse.rb', line 423 def insurance @insurance end |
#insurer ⇒ Object
1-1 Reference(Organization)
405 406 407 |
# File 'lib/fhir_models/fhir/resources/ClaimResponse.rb', line 405 def insurer @insurer end |
#item ⇒ Object
0-* [ ClaimResponse::Item ]
413 414 415 |
# File 'lib/fhir_models/fhir/resources/ClaimResponse.rb', line 413 def item @item end |
#language ⇒ Object
0-1 code
393 394 395 |
# File 'lib/fhir_models/fhir/resources/ClaimResponse.rb', line 393 def language @language end |
#meta ⇒ Object
0-1 Meta
391 392 393 |
# File 'lib/fhir_models/fhir/resources/ClaimResponse.rb', line 391 def @meta end |
#modifierExtension ⇒ Object
0-* [ Extension ]
397 398 399 |
# File 'lib/fhir_models/fhir/resources/ClaimResponse.rb', line 397 def modifierExtension @modifierExtension end |
#outcome ⇒ Object
1-1 code
408 409 410 |
# File 'lib/fhir_models/fhir/resources/ClaimResponse.rb', line 408 def outcome @outcome end |
#patient ⇒ Object
1-1 Reference(Patient)
403 404 405 |
# File 'lib/fhir_models/fhir/resources/ClaimResponse.rb', line 403 def patient @patient end |
#payeeType ⇒ Object
0-1 CodeableConcept
412 413 414 |
# File 'lib/fhir_models/fhir/resources/ClaimResponse.rb', line 412 def payeeType @payeeType end |
#payment ⇒ Object
0-1 ClaimResponse::Payment
417 418 419 |
# File 'lib/fhir_models/fhir/resources/ClaimResponse.rb', line 417 def payment @payment end |
#preAuthPeriod ⇒ Object
0-1 Period
411 412 413 |
# File 'lib/fhir_models/fhir/resources/ClaimResponse.rb', line 411 def preAuthPeriod @preAuthPeriod end |
#preAuthRef ⇒ Object
0-1 string
410 411 412 |
# File 'lib/fhir_models/fhir/resources/ClaimResponse.rb', line 410 def preAuthRef @preAuthRef end |
#processNote ⇒ Object
0-* [ ClaimResponse::ProcessNote ]
421 422 423 |
# File 'lib/fhir_models/fhir/resources/ClaimResponse.rb', line 421 def processNote @processNote end |
#request ⇒ Object
0-1 Reference(Claim)
407 408 409 |
# File 'lib/fhir_models/fhir/resources/ClaimResponse.rb', line 407 def request @request end |
#requestor ⇒ Object
0-1 Reference(Practitioner|PractitionerRole|Organization)
406 407 408 |
# File 'lib/fhir_models/fhir/resources/ClaimResponse.rb', line 406 def requestor @requestor end |
#status ⇒ Object
1-1 code
399 400 401 |
# File 'lib/fhir_models/fhir/resources/ClaimResponse.rb', line 399 def status @status end |
#subType ⇒ Object
0-1 CodeableConcept
401 402 403 |
# File 'lib/fhir_models/fhir/resources/ClaimResponse.rb', line 401 def subType @subType end |
#text ⇒ Object
0-1 Narrative
394 395 396 |
# File 'lib/fhir_models/fhir/resources/ClaimResponse.rb', line 394 def text @text end |
#total ⇒ Object
0-* [ ClaimResponse::Total ]
416 417 418 |
# File 'lib/fhir_models/fhir/resources/ClaimResponse.rb', line 416 def total @total end |
#type ⇒ Object
1-1 CodeableConcept
400 401 402 |
# File 'lib/fhir_models/fhir/resources/ClaimResponse.rb', line 400 def type @type end |
#use ⇒ Object
1-1 code
402 403 404 |
# File 'lib/fhir_models/fhir/resources/ClaimResponse.rb', line 402 def use @use end |
Instance Method Details
#resourceType ⇒ Object
426 427 428 |
# File 'lib/fhir_models/fhir/resources/ClaimResponse.rb', line 426 def resourceType 'ClaimResponse' end |