Class: FHIR::Claim
- Defined in:
- lib/fhir_models/fhir/resources/Claim.rb
Defined Under Namespace
Classes: Accident, CareTeam, Diagnosis, Insurance, Item, Payee, Procedure, Related, SupportingInfo
Constant Summary collapse
- SEARCH_PARAMS =
['care-team', 'created', 'detail-udi', 'encounter', 'enterer', 'facility', 'identifier', 'insurer', 'item-udi', 'patient', 'payee', 'priority', 'procedure-udi', 'provider', 'status', 'subdetail-udi', 'use']
- METADATA =
{ 'id' => {'type'=>'id', 'path'=>'Claim.id', 'min'=>0, 'max'=>1}, 'meta' => {'type'=>'Meta', 'path'=>'Claim.meta', 'min'=>0, 'max'=>1}, 'implicitRules' => {'type'=>'uri', 'path'=>'Claim.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'=>'Claim.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'preferred', 'uri'=>'http://hl7.org/fhir/ValueSet/languages'}}, 'text' => {'type'=>'Narrative', 'path'=>'Claim.text', 'min'=>0, 'max'=>1}, 'contained' => {'type'=>'Resource', 'path'=>'Claim.contained', 'min'=>0, 'max'=>Float::INFINITY}, 'extension' => {'type'=>'Extension', 'path'=>'Claim.extension', 'min'=>0, 'max'=>Float::INFINITY}, 'modifierExtension' => {'type'=>'Extension', 'path'=>'Claim.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, 'identifier' => {'type'=>'Identifier', 'path'=>'Claim.identifier', 'min'=>0, 'max'=>Float::INFINITY}, 'status' => {'valid_codes'=>{'http://hl7.org/fhir/fm-status'=>['active', 'cancelled', 'draft', 'entered-in-error']}, 'type'=>'code', 'path'=>'Claim.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'=>'Claim.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'=>'Claim.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'=>'Claim.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'=>'Claim.patient', 'min'=>1, 'max'=>1}, 'billablePeriod' => {'type'=>'Period', 'path'=>'Claim.billablePeriod', 'min'=>0, 'max'=>1}, 'created' => {'type'=>'dateTime', 'path'=>'Claim.created', 'min'=>1, 'max'=>1}, 'enterer' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/Practitioner', 'http://hl7.org/fhir/StructureDefinition/PractitionerRole'], 'type'=>'Reference', 'path'=>'Claim.enterer', 'min'=>0, 'max'=>1}, 'insurer' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/Organization'], 'type'=>'Reference', 'path'=>'Claim.insurer', 'min'=>0, 'max'=>1}, 'provider' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/Practitioner', 'http://hl7.org/fhir/StructureDefinition/PractitionerRole', 'http://hl7.org/fhir/StructureDefinition/Organization'], 'type'=>'Reference', 'path'=>'Claim.provider', 'min'=>1, 'max'=>1}, 'priority' => {'valid_codes'=>{'http://terminology.hl7.org/CodeSystem/processpriority'=>['stat', 'normal', 'deferred']}, 'type'=>'CodeableConcept', 'path'=>'Claim.priority', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/process-priority'}}, 'fundsReserve' => {'valid_codes'=>{'http://terminology.hl7.org/CodeSystem/fundsreserve'=>['patient', 'provider', 'none']}, 'type'=>'CodeableConcept', 'path'=>'Claim.fundsReserve', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/fundsreserve'}}, 'related' => {'type'=>'Claim::Related', 'path'=>'Claim.related', 'min'=>0, 'max'=>Float::INFINITY}, 'prescription' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/DeviceRequest', 'http://hl7.org/fhir/StructureDefinition/MedicationRequest', 'http://hl7.org/fhir/StructureDefinition/VisionPrescription'], 'type'=>'Reference', 'path'=>'Claim.prescription', 'min'=>0, 'max'=>1}, 'originalPrescription' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/DeviceRequest', 'http://hl7.org/fhir/StructureDefinition/MedicationRequest', 'http://hl7.org/fhir/StructureDefinition/VisionPrescription'], 'type'=>'Reference', 'path'=>'Claim.originalPrescription', 'min'=>0, 'max'=>1}, 'payee' => {'type'=>'Claim::Payee', 'path'=>'Claim.payee', 'min'=>0, 'max'=>1}, 'referral' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/ServiceRequest'], 'type'=>'Reference', 'path'=>'Claim.referral', 'min'=>0, 'max'=>1}, 'facility' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/Location'], 'type'=>'Reference', 'path'=>'Claim.facility', 'min'=>0, 'max'=>1}, 'careTeam' => {'type'=>'Claim::CareTeam', 'path'=>'Claim.careTeam', 'min'=>0, 'max'=>Float::INFINITY}, 'supportingInfo' => {'type'=>'Claim::SupportingInfo', 'path'=>'Claim.supportingInfo', 'min'=>0, 'max'=>Float::INFINITY}, 'diagnosis' => {'type'=>'Claim::Diagnosis', 'path'=>'Claim.diagnosis', 'min'=>0, 'max'=>Float::INFINITY}, 'procedure' => {'type'=>'Claim::Procedure', 'path'=>'Claim.procedure', 'min'=>0, 'max'=>Float::INFINITY}, 'insurance' => {'type'=>'Claim::Insurance', 'path'=>'Claim.insurance', 'min'=>1, 'max'=>Float::INFINITY}, 'accident' => {'type'=>'Claim::Accident', 'path'=>'Claim.accident', 'min'=>0, 'max'=>1}, 'item' => {'type'=>'Claim::Item', 'path'=>'Claim.item', 'min'=>0, 'max'=>Float::INFINITY}, 'total' => {'type'=>'Money', 'path'=>'Claim.total', 'min'=>0, 'max'=>1} }
Instance Attribute Summary collapse
-
#accident ⇒ Object
0-1 Claim::Accident.
-
#billablePeriod ⇒ Object
0-1 Period.
-
#careTeam ⇒ Object
0-* [ Claim::CareTeam ].
-
#contained ⇒ Object
0-* [ Resource ].
-
#created ⇒ Object
1-1 dateTime.
-
#diagnosis ⇒ Object
0-* [ Claim::Diagnosis ].
-
#enterer ⇒ Object
0-1 Reference(Practitioner|PractitionerRole).
-
#extension ⇒ Object
0-* [ Extension ].
-
#facility ⇒ Object
0-1 Reference(Location).
-
#fundsReserve ⇒ Object
0-1 CodeableConcept.
-
#id ⇒ Object
0-1 id.
-
#identifier ⇒ Object
0-* [ Identifier ].
-
#implicitRules ⇒ Object
0-1 uri.
-
#insurance ⇒ Object
1-* [ Claim::Insurance ].
-
#insurer ⇒ Object
0-1 Reference(Organization).
-
#item ⇒ Object
0-* [ Claim::Item ].
-
#language ⇒ Object
0-1 code.
-
#meta ⇒ Object
0-1 Meta.
-
#modifierExtension ⇒ Object
0-* [ Extension ].
-
#originalPrescription ⇒ Object
0-1 Reference(DeviceRequest|MedicationRequest|VisionPrescription).
-
#patient ⇒ Object
1-1 Reference(Patient).
-
#payee ⇒ Object
0-1 Claim::Payee.
-
#prescription ⇒ Object
0-1 Reference(DeviceRequest|MedicationRequest|VisionPrescription).
-
#priority ⇒ Object
1-1 CodeableConcept.
-
#procedure ⇒ Object
0-* [ Claim::Procedure ].
-
#provider ⇒ Object
1-1 Reference(Practitioner|PractitionerRole|Organization).
-
#referral ⇒ Object
0-1 Reference(ServiceRequest).
-
#related ⇒ Object
0-* [ Claim::Related ].
-
#status ⇒ Object
1-1 code.
-
#subType ⇒ Object
0-1 CodeableConcept.
-
#supportingInfo ⇒ Object
0-* [ Claim::SupportingInfo ].
-
#text ⇒ Object
0-1 Narrative.
-
#total ⇒ Object
0-1 Money.
-
#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
#accident ⇒ Object
0-1 Claim::Accident
453 454 455 |
# File 'lib/fhir_models/fhir/resources/Claim.rb', line 453 def accident @accident end |
#billablePeriod ⇒ Object
0-1 Period
435 436 437 |
# File 'lib/fhir_models/fhir/resources/Claim.rb', line 435 def billablePeriod @billablePeriod end |
#careTeam ⇒ Object
0-* [ Claim::CareTeam ]
448 449 450 |
# File 'lib/fhir_models/fhir/resources/Claim.rb', line 448 def careTeam @careTeam end |
#contained ⇒ Object
0-* [ Resource ]
426 427 428 |
# File 'lib/fhir_models/fhir/resources/Claim.rb', line 426 def contained @contained end |
#created ⇒ Object
1-1 dateTime
436 437 438 |
# File 'lib/fhir_models/fhir/resources/Claim.rb', line 436 def created @created end |
#diagnosis ⇒ Object
0-* [ Claim::Diagnosis ]
450 451 452 |
# File 'lib/fhir_models/fhir/resources/Claim.rb', line 450 def diagnosis @diagnosis end |
#enterer ⇒ Object
0-1 Reference(Practitioner|PractitionerRole)
437 438 439 |
# File 'lib/fhir_models/fhir/resources/Claim.rb', line 437 def enterer @enterer end |
#extension ⇒ Object
0-* [ Extension ]
427 428 429 |
# File 'lib/fhir_models/fhir/resources/Claim.rb', line 427 def extension @extension end |
#facility ⇒ Object
0-1 Reference(Location)
447 448 449 |
# File 'lib/fhir_models/fhir/resources/Claim.rb', line 447 def facility @facility end |
#fundsReserve ⇒ Object
0-1 CodeableConcept
441 442 443 |
# File 'lib/fhir_models/fhir/resources/Claim.rb', line 441 def fundsReserve @fundsReserve end |
#id ⇒ Object
0-1 id
421 422 423 |
# File 'lib/fhir_models/fhir/resources/Claim.rb', line 421 def id @id end |
#identifier ⇒ Object
0-* [ Identifier ]
429 430 431 |
# File 'lib/fhir_models/fhir/resources/Claim.rb', line 429 def identifier @identifier end |
#implicitRules ⇒ Object
0-1 uri
423 424 425 |
# File 'lib/fhir_models/fhir/resources/Claim.rb', line 423 def implicitRules @implicitRules end |
#insurance ⇒ Object
1-* [ Claim::Insurance ]
452 453 454 |
# File 'lib/fhir_models/fhir/resources/Claim.rb', line 452 def insurance @insurance end |
#insurer ⇒ Object
0-1 Reference(Organization)
438 439 440 |
# File 'lib/fhir_models/fhir/resources/Claim.rb', line 438 def insurer @insurer end |
#item ⇒ Object
0-* [ Claim::Item ]
454 455 456 |
# File 'lib/fhir_models/fhir/resources/Claim.rb', line 454 def item @item end |
#language ⇒ Object
0-1 code
424 425 426 |
# File 'lib/fhir_models/fhir/resources/Claim.rb', line 424 def language @language end |
#meta ⇒ Object
0-1 Meta
422 423 424 |
# File 'lib/fhir_models/fhir/resources/Claim.rb', line 422 def @meta end |
#modifierExtension ⇒ Object
0-* [ Extension ]
428 429 430 |
# File 'lib/fhir_models/fhir/resources/Claim.rb', line 428 def modifierExtension @modifierExtension end |
#originalPrescription ⇒ Object
0-1 Reference(DeviceRequest|MedicationRequest|VisionPrescription)
444 445 446 |
# File 'lib/fhir_models/fhir/resources/Claim.rb', line 444 def originalPrescription @originalPrescription end |
#patient ⇒ Object
1-1 Reference(Patient)
434 435 436 |
# File 'lib/fhir_models/fhir/resources/Claim.rb', line 434 def patient @patient end |
#payee ⇒ Object
0-1 Claim::Payee
445 446 447 |
# File 'lib/fhir_models/fhir/resources/Claim.rb', line 445 def payee @payee end |
#prescription ⇒ Object
0-1 Reference(DeviceRequest|MedicationRequest|VisionPrescription)
443 444 445 |
# File 'lib/fhir_models/fhir/resources/Claim.rb', line 443 def prescription @prescription end |
#priority ⇒ Object
1-1 CodeableConcept
440 441 442 |
# File 'lib/fhir_models/fhir/resources/Claim.rb', line 440 def priority @priority end |
#procedure ⇒ Object
0-* [ Claim::Procedure ]
451 452 453 |
# File 'lib/fhir_models/fhir/resources/Claim.rb', line 451 def procedure @procedure end |
#provider ⇒ Object
1-1 Reference(Practitioner|PractitionerRole|Organization)
439 440 441 |
# File 'lib/fhir_models/fhir/resources/Claim.rb', line 439 def provider @provider end |
#referral ⇒ Object
0-1 Reference(ServiceRequest)
446 447 448 |
# File 'lib/fhir_models/fhir/resources/Claim.rb', line 446 def referral @referral end |
#related ⇒ Object
0-* [ Claim::Related ]
442 443 444 |
# File 'lib/fhir_models/fhir/resources/Claim.rb', line 442 def @related end |
#status ⇒ Object
1-1 code
430 431 432 |
# File 'lib/fhir_models/fhir/resources/Claim.rb', line 430 def status @status end |
#subType ⇒ Object
0-1 CodeableConcept
432 433 434 |
# File 'lib/fhir_models/fhir/resources/Claim.rb', line 432 def subType @subType end |
#supportingInfo ⇒ Object
0-* [ Claim::SupportingInfo ]
449 450 451 |
# File 'lib/fhir_models/fhir/resources/Claim.rb', line 449 def supportingInfo @supportingInfo end |
#text ⇒ Object
0-1 Narrative
425 426 427 |
# File 'lib/fhir_models/fhir/resources/Claim.rb', line 425 def text @text end |
#total ⇒ Object
0-1 Money
455 456 457 |
# File 'lib/fhir_models/fhir/resources/Claim.rb', line 455 def total @total end |
#type ⇒ Object
1-1 CodeableConcept
431 432 433 |
# File 'lib/fhir_models/fhir/resources/Claim.rb', line 431 def type @type end |
#use ⇒ Object
1-1 code
433 434 435 |
# File 'lib/fhir_models/fhir/resources/Claim.rb', line 433 def use @use end |
Instance Method Details
#resourceType ⇒ Object
457 458 459 |
# File 'lib/fhir_models/fhir/resources/Claim.rb', line 457 def resourceType 'Claim' end |