Class: FHIR::R5::Claim
- Defined in:
- lib/fhir_models/r5/generated/resources/Claim.rb
Defined Under Namespace
Classes: Accident, CareTeam, Diagnosis, Event, 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' => {'type'=>'code', 'path'=>'Claim.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'additional'=>[{'purpose'=>'starter', 'valueSet'=>'http://hl7.org/fhir/ValueSet/languages'}], 'uri'=>'http://hl7.org/fhir/ValueSet/all-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}, 'traceNumber' => {'type'=>'Identifier', 'path'=>'Claim.traceNumber', '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'}}, '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'}}, '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', 'http://hl7.org/fhir/StructureDefinition/Patient', 'http://hl7.org/fhir/StructureDefinition/RelatedPerson'], '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'=>0, 'max'=>1}, 'priority' => {'valid_codes'=>{'http://terminology.hl7.org/CodeSystem/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://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}, 'encounter' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/Encounter'], 'type'=>'Reference', 'path'=>'Claim.encounter', 'min'=>0, 'max'=>Float::INFINITY}, 'facility' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/Location', 'http://hl7.org/fhir/StructureDefinition/Organization'], 'type'=>'Reference', 'path'=>'Claim.facility', 'min'=>0, 'max'=>1}, 'diagnosisRelatedGroup' => {'valid_codes'=>{'http://terminology.hl7.org/CodeSystem/ex-diagnosisrelatedgroup'=>['100', '101', '300', '400']}, 'type'=>'CodeableConcept', 'path'=>'Claim.diagnosisRelatedGroup', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/ex-diagnosisrelatedgroup'}}, 'event' => {'type'=>'Claim::Event', 'path'=>'Claim.event', 'min'=>0, 'max'=>Float::INFINITY}, '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'=>0, 'max'=>Float::INFINITY}, 'accident' => {'type'=>'Claim::Accident', 'path'=>'Claim.accident', 'min'=>0, 'max'=>1}, 'patientPaid' => {'type'=>'Money', 'path'=>'Claim.patientPaid', '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} }
Constants included from FHIR::R4
FHIR::R4::PRIMITIVES, FHIR::R4::RESOURCES, FHIR::R4::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
Constants included from FHIR::R5
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 ].
-
#diagnosisRelatedGroup ⇒ Object
0-1 CodeableConcept.
-
#encounter ⇒ Object
0-* [ Reference(Encounter) ].
-
#enterer ⇒ Object
0-1 Reference(Practitioner|PractitionerRole|Patient|RelatedPerson).
-
#event ⇒ Object
0-* [ Claim::Event ].
-
#extension ⇒ Object
0-* [ Extension ].
-
#facility ⇒ Object
0-1 Reference(Location|Organization).
-
#fundsReserve ⇒ Object
0-1 CodeableConcept.
-
#id ⇒ Object
0-1 id.
-
#identifier ⇒ Object
0-* [ Identifier ].
-
#implicitRules ⇒ Object
0-1 uri.
-
#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 ].
-
#originalPrescription ⇒ Object
0-1 Reference(DeviceRequest|MedicationRequest|VisionPrescription).
-
#patient ⇒ Object
1-1 Reference(Patient).
-
#patientPaid ⇒ Object
0-1 Money.
-
#payee ⇒ Object
0-1 Claim::Payee.
-
#prescription ⇒ Object
0-1 Reference(DeviceRequest|MedicationRequest|VisionPrescription).
-
#priority ⇒ Object
0-1 CodeableConcept.
-
#procedure ⇒ Object
0-* [ Claim::Procedure ].
-
#provider ⇒ Object
0-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.
-
#traceNumber ⇒ Object
0-* [ Identifier ].
-
#type ⇒ Object
1-1 CodeableConcept.
-
#use ⇒ Object
1-1 code.
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
Methods included from ClassXml
#from_xml, #valid?, #validate, #xml_node_to_hash
Methods included from InstanceXml
Methods included from ClassJson
Methods included from InstanceJson
Methods included from Hashable
Methods included from FHIR::R5
#fhir_version_string, #versioned_fhir_module
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
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
532 533 534 |
# File 'lib/fhir_models/r5/generated/resources/Claim.rb', line 532 def accident @accident end |
#billablePeriod ⇒ Object
0-1 Period
511 512 513 |
# File 'lib/fhir_models/r5/generated/resources/Claim.rb', line 511 def billablePeriod @billablePeriod end |
#careTeam ⇒ Object
0-* [ Claim::CareTeam ]
527 528 529 |
# File 'lib/fhir_models/r5/generated/resources/Claim.rb', line 527 def careTeam @careTeam end |
#contained ⇒ Object
0-* [ Resource ]
501 502 503 |
# File 'lib/fhir_models/r5/generated/resources/Claim.rb', line 501 def contained @contained end |
#created ⇒ Object
1-1 dateTime
512 513 514 |
# File 'lib/fhir_models/r5/generated/resources/Claim.rb', line 512 def created @created end |
#diagnosis ⇒ Object
0-* [ Claim::Diagnosis ]
529 530 531 |
# File 'lib/fhir_models/r5/generated/resources/Claim.rb', line 529 def diagnosis @diagnosis end |
#diagnosisRelatedGroup ⇒ Object
0-1 CodeableConcept
525 526 527 |
# File 'lib/fhir_models/r5/generated/resources/Claim.rb', line 525 def @diagnosisRelatedGroup end |
#encounter ⇒ Object
0-* [ Reference(Encounter) ]
523 524 525 |
# File 'lib/fhir_models/r5/generated/resources/Claim.rb', line 523 def encounter @encounter end |
#enterer ⇒ Object
0-1 Reference(Practitioner|PractitionerRole|Patient|RelatedPerson)
513 514 515 |
# File 'lib/fhir_models/r5/generated/resources/Claim.rb', line 513 def enterer @enterer end |
#event ⇒ Object
0-* [ Claim::Event ]
526 527 528 |
# File 'lib/fhir_models/r5/generated/resources/Claim.rb', line 526 def event @event end |
#extension ⇒ Object
0-* [ Extension ]
502 503 504 |
# File 'lib/fhir_models/r5/generated/resources/Claim.rb', line 502 def extension @extension end |
#facility ⇒ Object
0-1 Reference(Location|Organization)
524 525 526 |
# File 'lib/fhir_models/r5/generated/resources/Claim.rb', line 524 def facility @facility end |
#fundsReserve ⇒ Object
0-1 CodeableConcept
517 518 519 |
# File 'lib/fhir_models/r5/generated/resources/Claim.rb', line 517 def fundsReserve @fundsReserve end |
#id ⇒ Object
0-1 id
496 497 498 |
# File 'lib/fhir_models/r5/generated/resources/Claim.rb', line 496 def id @id end |
#identifier ⇒ Object
0-* [ Identifier ]
504 505 506 |
# File 'lib/fhir_models/r5/generated/resources/Claim.rb', line 504 def identifier @identifier end |
#implicitRules ⇒ Object
0-1 uri
498 499 500 |
# File 'lib/fhir_models/r5/generated/resources/Claim.rb', line 498 def implicitRules @implicitRules end |
#insurance ⇒ Object
0-* [ Claim::Insurance ]
531 532 533 |
# File 'lib/fhir_models/r5/generated/resources/Claim.rb', line 531 def insurance @insurance end |
#insurer ⇒ Object
0-1 Reference(Organization)
514 515 516 |
# File 'lib/fhir_models/r5/generated/resources/Claim.rb', line 514 def insurer @insurer end |
#item ⇒ Object
0-* [ Claim::Item ]
534 535 536 |
# File 'lib/fhir_models/r5/generated/resources/Claim.rb', line 534 def item @item end |
#language ⇒ Object
0-1 code
499 500 501 |
# File 'lib/fhir_models/r5/generated/resources/Claim.rb', line 499 def language @language end |
#meta ⇒ Object
0-1 Meta
497 498 499 |
# File 'lib/fhir_models/r5/generated/resources/Claim.rb', line 497 def @meta end |
#modifierExtension ⇒ Object
0-* [ Extension ]
503 504 505 |
# File 'lib/fhir_models/r5/generated/resources/Claim.rb', line 503 def modifierExtension @modifierExtension end |
#originalPrescription ⇒ Object
0-1 Reference(DeviceRequest|MedicationRequest|VisionPrescription)
520 521 522 |
# File 'lib/fhir_models/r5/generated/resources/Claim.rb', line 520 def originalPrescription @originalPrescription end |
#patient ⇒ Object
1-1 Reference(Patient)
510 511 512 |
# File 'lib/fhir_models/r5/generated/resources/Claim.rb', line 510 def patient @patient end |
#patientPaid ⇒ Object
0-1 Money
533 534 535 |
# File 'lib/fhir_models/r5/generated/resources/Claim.rb', line 533 def patientPaid @patientPaid end |
#payee ⇒ Object
0-1 Claim::Payee
521 522 523 |
# File 'lib/fhir_models/r5/generated/resources/Claim.rb', line 521 def payee @payee end |
#prescription ⇒ Object
0-1 Reference(DeviceRequest|MedicationRequest|VisionPrescription)
519 520 521 |
# File 'lib/fhir_models/r5/generated/resources/Claim.rb', line 519 def prescription @prescription end |
#priority ⇒ Object
0-1 CodeableConcept
516 517 518 |
# File 'lib/fhir_models/r5/generated/resources/Claim.rb', line 516 def priority @priority end |
#procedure ⇒ Object
0-* [ Claim::Procedure ]
530 531 532 |
# File 'lib/fhir_models/r5/generated/resources/Claim.rb', line 530 def procedure @procedure end |
#provider ⇒ Object
0-1 Reference(Practitioner|PractitionerRole|Organization)
515 516 517 |
# File 'lib/fhir_models/r5/generated/resources/Claim.rb', line 515 def provider @provider end |
#referral ⇒ Object
0-1 Reference(ServiceRequest)
522 523 524 |
# File 'lib/fhir_models/r5/generated/resources/Claim.rb', line 522 def referral @referral end |
#related ⇒ Object
0-* [ Claim::Related ]
518 519 520 |
# File 'lib/fhir_models/r5/generated/resources/Claim.rb', line 518 def @related end |
#status ⇒ Object
1-1 code
506 507 508 |
# File 'lib/fhir_models/r5/generated/resources/Claim.rb', line 506 def status @status end |
#subType ⇒ Object
0-1 CodeableConcept
508 509 510 |
# File 'lib/fhir_models/r5/generated/resources/Claim.rb', line 508 def subType @subType end |
#supportingInfo ⇒ Object
0-* [ Claim::SupportingInfo ]
528 529 530 |
# File 'lib/fhir_models/r5/generated/resources/Claim.rb', line 528 def supportingInfo @supportingInfo end |
#text ⇒ Object
0-1 Narrative
500 501 502 |
# File 'lib/fhir_models/r5/generated/resources/Claim.rb', line 500 def text @text end |
#total ⇒ Object
0-1 Money
535 536 537 |
# File 'lib/fhir_models/r5/generated/resources/Claim.rb', line 535 def total @total end |
#traceNumber ⇒ Object
0-* [ Identifier ]
505 506 507 |
# File 'lib/fhir_models/r5/generated/resources/Claim.rb', line 505 def traceNumber @traceNumber end |
#type ⇒ Object
1-1 CodeableConcept
507 508 509 |
# File 'lib/fhir_models/r5/generated/resources/Claim.rb', line 507 def type @type end |
#use ⇒ Object
1-1 code
509 510 511 |
# File 'lib/fhir_models/r5/generated/resources/Claim.rb', line 509 def use @use end |
Instance Method Details
#resourceType ⇒ Object
537 538 539 |
# File 'lib/fhir_models/r5/generated/resources/Claim.rb', line 537 def resourceType 'Claim' end |