Class: FHIR::STU3::Claim
- Defined in:
- lib/fhir_stu3_models/fhir/resources/Claim.rb
Defined Under Namespace
Classes: Accident, CareTeam, Diagnosis, Information, Insurance, Item, Payee, Procedure, Related
Constant Summary collapse
- SEARCH_PARAMS =
['care-team', 'created', 'encounter', 'enterer', 'facility', 'identifier', 'insurer', 'organization', 'patient', 'payee', 'priority', 'provider', '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', 'pt', 'pt-BR', 'ru', 'ru-RU', 'sr', 'sr-SP', 'sv', 'sv-SE', 'te', 'zh', 'zh-CN', 'zh-HK', 'zh-SG', 'zh-TW']}, 'type'=>'code', 'path'=>'Claim.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'extensible', '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'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/fm-status'}}, 'type' => {'valid_codes'=>{'http://hl7.org/fhir/ex-claimtype'=>['institutional', 'oral', 'pharmacy', 'professional', 'vision']}, 'type'=>'CodeableConcept', 'path'=>'Claim.type', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/claim-type'}}, 'subType' => {'valid_codes'=>{'http://hl7.org/fhir/ex-claimsubtype'=>['ortho', 'emergency']}, 'type'=>'CodeableConcept', 'path'=>'Claim.subType', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/claim-subtype'}}, 'use' => {'valid_codes'=>{'http://hl7.org/fhir/claim-use'=>['complete', 'proposed', 'exploratory', 'other']}, 'type'=>'code', 'path'=>'Claim.use', 'min'=>0, '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'=>'Claim.patient', 'min'=>0, 'max'=>1}, 'billablePeriod' => {'type'=>'Period', 'path'=>'Claim.billablePeriod', 'min'=>0, 'max'=>1}, 'created' => {'type'=>'dateTime', 'path'=>'Claim.created', 'min'=>0, 'max'=>1}, 'enterer' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/Practitioner'], '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'], 'type'=>'Reference', 'path'=>'Claim.provider', 'min'=>0, 'max'=>1}, 'organization' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/Organization'], 'type'=>'Reference', 'path'=>'Claim.organization', 'min'=>0, 'max'=>1}, 'priority' => {'valid_codes'=>{'http://hl7.org/fhir/processpriority'=>['stat', 'normal', 'deferred']}, 'type'=>'CodeableConcept', 'path'=>'Claim.priority', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/process-priority'}}, 'fundsReserve' => {'valid_codes'=>{'http://hl7.org/fhir/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/MedicationRequest', 'http://hl7.org/fhir/StructureDefinition/VisionPrescription'], 'type'=>'Reference', 'path'=>'Claim.prescription', 'min'=>0, 'max'=>1}, 'originalPrescription' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/MedicationRequest'], '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/ReferralRequest'], '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}, 'information' => {'type'=>'Claim::Information', 'path'=>'Claim.information', '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'=>0, 'max'=>Float::INFINITY}, 'accident' => {'type'=>'Claim::Accident', 'path'=>'Claim.accident', 'min'=>0, 'max'=>1}, 'employmentImpacted' => {'type'=>'Period', 'path'=>'Claim.employmentImpacted', 'min'=>0, 'max'=>1}, 'hospitalization' => {'type'=>'Period', 'path'=>'Claim.hospitalization', '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
0-1 dateTime.
-
#diagnosis ⇒ Object
0-* [ Claim::Diagnosis ].
-
#employmentImpacted ⇒ Object
0-1 Period.
-
#enterer ⇒ Object
0-1 Reference(Practitioner).
-
#extension ⇒ Object
0-* [ Extension ].
-
#facility ⇒ Object
0-1 Reference(Location).
-
#fundsReserve ⇒ Object
0-1 CodeableConcept.
-
#hospitalization ⇒ Object
0-1 Period.
-
#id ⇒ Object
0-1 id.
-
#identifier ⇒ Object
0-* [ Identifier ].
-
#implicitRules ⇒ Object
0-1 uri.
-
#information ⇒ Object
0-* [ Claim::Information ].
-
#insurance ⇒ Object
0-* [ 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 ].
-
#organization ⇒ Object
0-1 Reference(Organization).
-
#originalPrescription ⇒ Object
0-1 Reference(MedicationRequest).
-
#patient ⇒ Object
0-1 Reference(Patient).
-
#payee ⇒ Object
0-1 Claim::Payee.
-
#prescription ⇒ Object
0-1 Reference(MedicationRequest|VisionPrescription).
-
#priority ⇒ Object
0-1 CodeableConcept.
-
#procedure ⇒ Object
0-* [ Claim::Procedure ].
-
#provider ⇒ Object
0-1 Reference(Practitioner).
-
#referral ⇒ Object
0-1 Reference(ReferralRequest).
-
#related ⇒ Object
0-* [ Claim::Related ].
-
#status ⇒ Object
0-1 code.
-
#subType ⇒ Object
0-* [ CodeableConcept ].
-
#text ⇒ Object
0-1 Narrative.
-
#total ⇒ Object
0-1 Money.
-
#type ⇒ Object
0-1 CodeableConcept.
-
#use ⇒ Object
0-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::STU3::Model
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class FHIR::STU3::Model
Instance Attribute Details
#accident ⇒ Object
0-1 Claim::Accident
450 451 452 |
# File 'lib/fhir_stu3_models/fhir/resources/Claim.rb', line 450 def accident @accident end |
#billablePeriod ⇒ Object
0-1 Period
431 432 433 |
# File 'lib/fhir_stu3_models/fhir/resources/Claim.rb', line 431 def billablePeriod @billablePeriod end |
#careTeam ⇒ Object
0-* [ Claim::CareTeam ]
445 446 447 |
# File 'lib/fhir_stu3_models/fhir/resources/Claim.rb', line 445 def careTeam @careTeam end |
#contained ⇒ Object
0-* [ Resource ]
422 423 424 |
# File 'lib/fhir_stu3_models/fhir/resources/Claim.rb', line 422 def contained @contained end |
#created ⇒ Object
0-1 dateTime
432 433 434 |
# File 'lib/fhir_stu3_models/fhir/resources/Claim.rb', line 432 def created @created end |
#diagnosis ⇒ Object
0-* [ Claim::Diagnosis ]
447 448 449 |
# File 'lib/fhir_stu3_models/fhir/resources/Claim.rb', line 447 def diagnosis @diagnosis end |
#employmentImpacted ⇒ Object
0-1 Period
451 452 453 |
# File 'lib/fhir_stu3_models/fhir/resources/Claim.rb', line 451 def employmentImpacted @employmentImpacted end |
#enterer ⇒ Object
0-1 Reference(Practitioner)
433 434 435 |
# File 'lib/fhir_stu3_models/fhir/resources/Claim.rb', line 433 def enterer @enterer end |
#extension ⇒ Object
0-* [ Extension ]
423 424 425 |
# File 'lib/fhir_stu3_models/fhir/resources/Claim.rb', line 423 def extension @extension end |
#facility ⇒ Object
0-1 Reference(Location)
444 445 446 |
# File 'lib/fhir_stu3_models/fhir/resources/Claim.rb', line 444 def facility @facility end |
#fundsReserve ⇒ Object
0-1 CodeableConcept
438 439 440 |
# File 'lib/fhir_stu3_models/fhir/resources/Claim.rb', line 438 def fundsReserve @fundsReserve end |
#hospitalization ⇒ Object
0-1 Period
452 453 454 |
# File 'lib/fhir_stu3_models/fhir/resources/Claim.rb', line 452 def hospitalization @hospitalization end |
#id ⇒ Object
0-1 id
417 418 419 |
# File 'lib/fhir_stu3_models/fhir/resources/Claim.rb', line 417 def id @id end |
#identifier ⇒ Object
0-* [ Identifier ]
425 426 427 |
# File 'lib/fhir_stu3_models/fhir/resources/Claim.rb', line 425 def identifier @identifier end |
#implicitRules ⇒ Object
0-1 uri
419 420 421 |
# File 'lib/fhir_stu3_models/fhir/resources/Claim.rb', line 419 def implicitRules @implicitRules end |
#information ⇒ Object
0-* [ Claim::Information ]
446 447 448 |
# File 'lib/fhir_stu3_models/fhir/resources/Claim.rb', line 446 def information @information end |
#insurance ⇒ Object
0-* [ Claim::Insurance ]
449 450 451 |
# File 'lib/fhir_stu3_models/fhir/resources/Claim.rb', line 449 def insurance @insurance end |
#insurer ⇒ Object
0-1 Reference(Organization)
434 435 436 |
# File 'lib/fhir_stu3_models/fhir/resources/Claim.rb', line 434 def insurer @insurer end |
#item ⇒ Object
0-* [ Claim::Item ]
453 454 455 |
# File 'lib/fhir_stu3_models/fhir/resources/Claim.rb', line 453 def item @item end |
#language ⇒ Object
0-1 code
420 421 422 |
# File 'lib/fhir_stu3_models/fhir/resources/Claim.rb', line 420 def language @language end |
#meta ⇒ Object
0-1 Meta
418 419 420 |
# File 'lib/fhir_stu3_models/fhir/resources/Claim.rb', line 418 def @meta end |
#modifierExtension ⇒ Object
0-* [ Extension ]
424 425 426 |
# File 'lib/fhir_stu3_models/fhir/resources/Claim.rb', line 424 def modifierExtension @modifierExtension end |
#organization ⇒ Object
0-1 Reference(Organization)
436 437 438 |
# File 'lib/fhir_stu3_models/fhir/resources/Claim.rb', line 436 def organization @organization end |
#originalPrescription ⇒ Object
0-1 Reference(MedicationRequest)
441 442 443 |
# File 'lib/fhir_stu3_models/fhir/resources/Claim.rb', line 441 def originalPrescription @originalPrescription end |
#patient ⇒ Object
0-1 Reference(Patient)
430 431 432 |
# File 'lib/fhir_stu3_models/fhir/resources/Claim.rb', line 430 def patient @patient end |
#payee ⇒ Object
0-1 Claim::Payee
442 443 444 |
# File 'lib/fhir_stu3_models/fhir/resources/Claim.rb', line 442 def payee @payee end |
#prescription ⇒ Object
0-1 Reference(MedicationRequest|VisionPrescription)
440 441 442 |
# File 'lib/fhir_stu3_models/fhir/resources/Claim.rb', line 440 def prescription @prescription end |
#priority ⇒ Object
0-1 CodeableConcept
437 438 439 |
# File 'lib/fhir_stu3_models/fhir/resources/Claim.rb', line 437 def priority @priority end |
#procedure ⇒ Object
0-* [ Claim::Procedure ]
448 449 450 |
# File 'lib/fhir_stu3_models/fhir/resources/Claim.rb', line 448 def procedure @procedure end |
#provider ⇒ Object
0-1 Reference(Practitioner)
435 436 437 |
# File 'lib/fhir_stu3_models/fhir/resources/Claim.rb', line 435 def provider @provider end |
#referral ⇒ Object
0-1 Reference(ReferralRequest)
443 444 445 |
# File 'lib/fhir_stu3_models/fhir/resources/Claim.rb', line 443 def referral @referral end |
#related ⇒ Object
0-* [ Claim::Related ]
439 440 441 |
# File 'lib/fhir_stu3_models/fhir/resources/Claim.rb', line 439 def @related end |
#status ⇒ Object
0-1 code
426 427 428 |
# File 'lib/fhir_stu3_models/fhir/resources/Claim.rb', line 426 def status @status end |
#subType ⇒ Object
0-* [ CodeableConcept ]
428 429 430 |
# File 'lib/fhir_stu3_models/fhir/resources/Claim.rb', line 428 def subType @subType end |
#text ⇒ Object
0-1 Narrative
421 422 423 |
# File 'lib/fhir_stu3_models/fhir/resources/Claim.rb', line 421 def text @text end |
#total ⇒ Object
0-1 Money
454 455 456 |
# File 'lib/fhir_stu3_models/fhir/resources/Claim.rb', line 454 def total @total end |
#type ⇒ Object
0-1 CodeableConcept
427 428 429 |
# File 'lib/fhir_stu3_models/fhir/resources/Claim.rb', line 427 def type @type end |
#use ⇒ Object
0-1 code
429 430 431 |
# File 'lib/fhir_stu3_models/fhir/resources/Claim.rb', line 429 def use @use end |
Instance Method Details
#resourceType ⇒ Object
456 457 458 |
# File 'lib/fhir_stu3_models/fhir/resources/Claim.rb', line 456 def resourceType 'Claim' end |