Class: FHIR::R4::ClaimResponse

Inherits:
Model show all
Includes:
Hashable, Json, Xml
Defined in:
lib/fhir_models/r4/generated/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'}},
  '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'}},
  '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'}},
  '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}
}

Constants included from FHIR::R4

PRIMITIVES, RESOURCES, TYPES

Constants included from FHIR

Account, ActivityDefinition, Address, AdverseEvent, Age, AllergyIntolerance, Annotation, Appointment, AppointmentResponse, Attachment, AuditEvent, BackboneElement, Basic, Binary, BiologicallyDerivedProduct, BodyStructure, Bundle, CapabilityStatement, CarePlan, CareTeam, CatalogEntry, ChargeItem, ChargeItemDefinition, Claim, ClaimResponse, ClinicalImpression, CodeSystem, CodeableConcept, Coding, Communication, CommunicationRequest, CompartmentDefinition, Composition, ConceptMap, Condition, Consent, ContactDetail, ContactPoint, Contract, Contributor, Count, Coverage, CoverageEligibilityRequest, CoverageEligibilityResponse, DataRequirement, Definitions, DetectedIssue, Device, DeviceDefinition, DeviceMetric, DeviceRequest, DeviceUseStatement, DiagnosticReport, Distance, DocumentManifest, DocumentReference, DomainResource, Dosage, Duration, EffectEvidenceSynthesis, Element, ElementDefinition, Encounter, Endpoint, EnrollmentRequest, EnrollmentResponse, EpisodeOfCare, EventDefinition, Evidence, EvidenceVariable, ExampleScenario, ExplanationOfBenefit, Expression, Extension, FamilyMemberHistory, Flag, Goal, GraphDefinition, Group, GuidanceResponse, HealthcareService, HumanName, Identifier, ImagingStudy, Immunization, ImmunizationEvaluation, ImmunizationRecommendation, ImplementationGuide, InsurancePlan, Invoice, Library, Linkage, List, Location, MarketingStatus, Measure, MeasureReport, Media, Medication, MedicationAdministration, MedicationDispense, MedicationKnowledge, MedicationRequest, MedicationStatement, MedicinalProduct, MedicinalProductAuthorization, MedicinalProductContraindication, MedicinalProductIndication, MedicinalProductIngredient, MedicinalProductInteraction, MedicinalProductManufactured, MedicinalProductPackaged, MedicinalProductPharmaceutical, MedicinalProductUndesirableEffect, MessageDefinition, MessageHeader, Meta, MolecularSequence, Money, NamingSystem, Narrative, NutritionOrder, Observation, ObservationDefinition, OperationDefinition, OperationOutcome, Organization, OrganizationAffiliation, PRIMITIVES, ParameterDefinition, Parameters, Patient, PaymentNotice, PaymentReconciliation, Period, Person, PlanDefinition, Population, Practitioner, PractitionerRole, Procedure, ProdCharacteristic, ProductShelfLife, Provenance, Quantity, Questionnaire, QuestionnaireResponse, FHIR::RESOURCES, FHIR::Range, FHIR::Ratio, FHIR::Reference, FHIR::RelatedArtifact, FHIR::RelatedPerson, FHIR::RequestGroup, FHIR::ResearchDefinition, FHIR::ResearchElementDefinition, FHIR::ResearchStudy, FHIR::ResearchSubject, FHIR::Resource, FHIR::RiskAssessment, FHIR::RiskEvidenceSynthesis, SampledData, Schedule, SearchParameter, ServiceRequest, Signature, Slot, Specimen, SpecimenDefinition, StructureDefinition, StructureDefinitionCompare, StructureMap, Subscription, Substance, SubstanceAmount, SubstanceNucleicAcid, SubstancePolymer, SubstanceProtein, SubstanceReferenceInformation, SubstanceSourceMaterial, SubstanceSpecification, SupplyDelivery, SupplyRequest, TYPES, Task, TerminologyCapabilities, TestReport, TestScript, Timing, TriggerDefinition, UsageContext, ValueSet, VerificationResult, VisionPrescription

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from FHIR::R4

#fhir_version_string, #versioned_fhir_module

Methods included from FHIR

default_logger, fhir_version_string, logger, logger=, primitive?, versioned_fhir_module

Methods included from ClassMethods

#from_contents

Methods included from ClassXml

#from_xml, #valid?, #validate, #xml_node_to_hash

Methods included from InstanceXml

#hash_to_xml_node, #to_xml

Methods included from ClassJson

#from_json

Methods included from InstanceJson

#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?, #respond_to_missing?, #to_reference, #valid?, #validate, #validate_profile

Methods included from Deprecate

#deprecate

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 ]



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

def addItem
  @addItem
end

#adjudicationObject

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



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

def adjudication
  @adjudication
end

#communicationRequestObject

0-* [ Reference(CommunicationRequest) ]



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

def communicationRequest
  @communicationRequest
end

#containedObject

0-* [ Resource ]



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

def contained
  @contained
end

#createdObject

1-1 dateTime



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

def created
  @created
end

#dispositionObject

0-1 string



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

def disposition
  @disposition
end

#errorObject

0-* [ ClaimResponse::Error ]



425
426
427
# File 'lib/fhir_models/r4/generated/resources/ClaimResponse.rb', line 425

def error
  @error
end

#extensionObject

0-* [ Extension ]



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

def extension
  @extension
end

#formObject

0-1 Attachment



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

def form
  @form
end

#formCodeObject

0-1 CodeableConcept



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

def formCode
  @formCode
end

#fundsReserveObject

0-1 CodeableConcept



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

def fundsReserve
  @fundsReserve
end

#idObject

0-1 id



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

def id
  @id
end

#identifierObject

0-* [ Identifier ]



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

def identifier
  @identifier
end

#implicitRulesObject

0-1 uri



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

def implicitRules
  @implicitRules
end

#insuranceObject

0-* [ ClaimResponse::Insurance ]



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

def insurance
  @insurance
end

#insurerObject

1-1 Reference(Organization)



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

def insurer
  @insurer
end

#itemObject

0-* [ ClaimResponse::Item ]



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

def item
  @item
end

#languageObject

0-1 code



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

def language
  @language
end

#metaObject

0-1 Meta



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

def meta
  @meta
end

#modifierExtensionObject

0-* [ Extension ]



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

def modifierExtension
  @modifierExtension
end

#outcomeObject

1-1 code



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

def outcome
  @outcome
end

#patientObject

1-1 Reference(Patient)



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

def patient
  @patient
end

#payeeTypeObject

0-1 CodeableConcept



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

def payeeType
  @payeeType
end

#paymentObject

0-1 ClaimResponse::Payment



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

def payment
  @payment
end

#preAuthPeriodObject

0-1 Period



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

def preAuthPeriod
  @preAuthPeriod
end

#preAuthRefObject

0-1 string



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

def preAuthRef
  @preAuthRef
end

#processNoteObject

0-* [ ClaimResponse::ProcessNote ]



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

def processNote
  @processNote
end

#requestObject

0-1 Reference(Claim)



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

def request
  @request
end

#requestorObject

0-1 Reference(Practitioner|PractitionerRole|Organization)



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

def requestor
  @requestor
end

#statusObject

1-1 code



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

def status
  @status
end

#subTypeObject

0-1 CodeableConcept



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

def subType
  @subType
end

#textObject

0-1 Narrative



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

def text
  @text
end

#totalObject

0-* [ ClaimResponse::Total ]



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

def total
  @total
end

#typeObject

1-1 CodeableConcept



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

def type
  @type
end

#useObject

1-1 code



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

def use
  @use
end

Instance Method Details

#resourceTypeObject



427
428
429
# File 'lib/fhir_models/r4/generated/resources/ClaimResponse.rb', line 427

def resourceType
  'ClaimResponse'
end