Class: FHIR::R5::PaymentReconciliation

Inherits:
Model
  • Object
show all
Includes:
Hashable, Json, Xml
Defined in:
lib/fhir_models/r5/generated/resources/PaymentReconciliation.rb

Defined Under Namespace

Classes: Allocation, ProcessNote

Constant Summary collapse

SEARCH_PARAMS =
['allocation-account', 'allocation-encounter', 'created', 'disposition', 'identifier', 'outcome', 'payment-issuer', 'request', 'requestor', 'status']
METADATA =
{
  'id' => {'type'=>'id', 'path'=>'PaymentReconciliation.id', 'min'=>0, 'max'=>1},
  'meta' => {'type'=>'Meta', 'path'=>'PaymentReconciliation.meta', 'min'=>0, 'max'=>1},
  'implicitRules' => {'type'=>'uri', 'path'=>'PaymentReconciliation.implicitRules', 'min'=>0, 'max'=>1},
  'language' => {'type'=>'code', 'path'=>'PaymentReconciliation.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'=>'PaymentReconciliation.text', 'min'=>0, 'max'=>1},
  'contained' => {'type'=>'Resource', 'path'=>'PaymentReconciliation.contained', 'min'=>0, 'max'=>Float::INFINITY},
  'extension' => {'type'=>'Extension', 'path'=>'PaymentReconciliation.extension', 'min'=>0, 'max'=>Float::INFINITY},
  'modifierExtension' => {'type'=>'Extension', 'path'=>'PaymentReconciliation.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
  'identifier' => {'type'=>'Identifier', 'path'=>'PaymentReconciliation.identifier', 'min'=>0, 'max'=>Float::INFINITY},
  'type' => {'valid_codes'=>{'http://terminology.hl7.org/CodeSystem/payment-type'=>['payment', 'adjustment', 'advance']}, 'type'=>'CodeableConcept', 'path'=>'PaymentReconciliation.type', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'extensible', 'uri'=>'http://hl7.org/fhir/ValueSet/payment-type'}},
  'status' => {'valid_codes'=>{'http://hl7.org/fhir/fm-status'=>['active', 'cancelled', 'draft', 'entered-in-error']}, 'type'=>'code', 'path'=>'PaymentReconciliation.status', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/fm-status'}},
  'kind' => {'valid_codes'=>{'http://hl7.org/fhir/payment-kind'=>['deposit', 'periodic-payment', 'online', 'kiosk']}, 'type'=>'CodeableConcept', 'path'=>'PaymentReconciliation.kind', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'extensible', 'uri'=>'http://hl7.org/fhir/ValueSet/payment-kind'}},
  'period' => {'type'=>'Period', 'path'=>'PaymentReconciliation.period', 'min'=>0, 'max'=>1},
  'created' => {'type'=>'dateTime', 'path'=>'PaymentReconciliation.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/Organization'], 'type'=>'Reference', 'path'=>'PaymentReconciliation.enterer', 'min'=>0, 'max'=>1},
  'issuerType' => {'valid_codes'=>{'http://hl7.org/fhir/payment-issuertype'=>['patient', 'insurance']}, 'type'=>'CodeableConcept', 'path'=>'PaymentReconciliation.issuerType', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'extensible', 'uri'=>'http://hl7.org/fhir/ValueSet/payment-issuertype'}},
  'paymentIssuer' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/Organization', 'http://hl7.org/fhir/StructureDefinition/Patient', 'http://hl7.org/fhir/StructureDefinition/RelatedPerson'], 'type'=>'Reference', 'path'=>'PaymentReconciliation.paymentIssuer', 'min'=>0, 'max'=>1},
  'request' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/Task'], 'type'=>'Reference', 'path'=>'PaymentReconciliation.request', 'min'=>0, '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'=>'PaymentReconciliation.requestor', 'min'=>0, 'max'=>1},
  'outcome' => {'valid_codes'=>{'http://hl7.org/fhir/payment-outcome'=>['queued', 'complete', 'error', 'partial']}, 'type'=>'code', 'path'=>'PaymentReconciliation.outcome', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/payment-outcome'}},
  'disposition' => {'type'=>'string', 'path'=>'PaymentReconciliation.disposition', 'min'=>0, 'max'=>1},
  'date' => {'type'=>'date', 'path'=>'PaymentReconciliation.date', 'min'=>1, 'max'=>1},
  'location' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/Location'], 'type'=>'Reference', 'path'=>'PaymentReconciliation.location', 'min'=>0, 'max'=>1},
  'method' => {'local_name'=>'local_method', 'valid_codes'=>{'http://terminology.hl7.org/CodeSystem/v2-0570'=>['CASH', 'CCCA', 'CCHK', 'CDAC', 'CHCK', 'DDPO', 'DEBC', 'SWFT', 'TRAC', 'VISN']}, 'type'=>'CodeableConcept', 'path'=>'PaymentReconciliation.method', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'extensible', 'uri'=>'http://terminology.hl7.org/ValueSet/v2-0570'}},
  'cardBrand' => {'type'=>'string', 'path'=>'PaymentReconciliation.cardBrand', 'min'=>0, 'max'=>1},
  'accountNumber' => {'type'=>'string', 'path'=>'PaymentReconciliation.accountNumber', 'min'=>0, 'max'=>1},
  'expirationDate' => {'type'=>'date', 'path'=>'PaymentReconciliation.expirationDate', 'min'=>0, 'max'=>1},
  'processor' => {'type'=>'string', 'path'=>'PaymentReconciliation.processor', 'min'=>0, 'max'=>1},
  'referenceNumber' => {'type'=>'string', 'path'=>'PaymentReconciliation.referenceNumber', 'min'=>0, 'max'=>1},
  'authorization' => {'type'=>'string', 'path'=>'PaymentReconciliation.authorization', 'min'=>0, 'max'=>1},
  'tenderedAmount' => {'type'=>'Money', 'path'=>'PaymentReconciliation.tenderedAmount', 'min'=>0, 'max'=>1},
  'returnedAmount' => {'type'=>'Money', 'path'=>'PaymentReconciliation.returnedAmount', 'min'=>0, 'max'=>1},
  'amount' => {'type'=>'Money', 'path'=>'PaymentReconciliation.amount', 'min'=>1, 'max'=>1},
  'paymentIdentifier' => {'type'=>'Identifier', 'path'=>'PaymentReconciliation.paymentIdentifier', 'min'=>0, 'max'=>1},
  'allocation' => {'type'=>'PaymentReconciliation::Allocation', 'path'=>'PaymentReconciliation.allocation', 'min'=>0, 'max'=>Float::INFINITY},
  'formCode' => {'valid_codes'=>{'http://terminology.hl7.org/CodeSystem/forms-codes'=>['1', '2']}, 'type'=>'CodeableConcept', 'path'=>'PaymentReconciliation.formCode', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/forms'}},
  'processNote' => {'type'=>'PaymentReconciliation::ProcessNote', 'path'=>'PaymentReconciliation.processNote', 'min'=>0, 'max'=>Float::INFINITY}
}

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

PRIMITIVES, RESOURCES, TYPES

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 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

#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

#accountNumberObject

0-1 string



143
144
145
# File 'lib/fhir_models/r5/generated/resources/PaymentReconciliation.rb', line 143

def accountNumber
  @accountNumber
end

#allocationObject

0-* [ PaymentReconciliation::Allocation ]



152
153
154
# File 'lib/fhir_models/r5/generated/resources/PaymentReconciliation.rb', line 152

def allocation
  @allocation
end

#amountObject

1-1 Money



150
151
152
# File 'lib/fhir_models/r5/generated/resources/PaymentReconciliation.rb', line 150

def amount
  @amount
end

#authorizationObject

0-1 string



147
148
149
# File 'lib/fhir_models/r5/generated/resources/PaymentReconciliation.rb', line 147

def authorization
  @authorization
end

#cardBrandObject

0-1 string



142
143
144
# File 'lib/fhir_models/r5/generated/resources/PaymentReconciliation.rb', line 142

def cardBrand
  @cardBrand
end

#containedObject

0-* [ Resource ]



123
124
125
# File 'lib/fhir_models/r5/generated/resources/PaymentReconciliation.rb', line 123

def contained
  @contained
end

#createdObject

1-1 dateTime



131
132
133
# File 'lib/fhir_models/r5/generated/resources/PaymentReconciliation.rb', line 131

def created
  @created
end

#dateObject

1-1 date



139
140
141
# File 'lib/fhir_models/r5/generated/resources/PaymentReconciliation.rb', line 139

def date
  @date
end

#dispositionObject

0-1 string



138
139
140
# File 'lib/fhir_models/r5/generated/resources/PaymentReconciliation.rb', line 138

def disposition
  @disposition
end

#entererObject

0-1 Reference(Practitioner|PractitionerRole|Organization)



132
133
134
# File 'lib/fhir_models/r5/generated/resources/PaymentReconciliation.rb', line 132

def enterer
  @enterer
end

#expirationDateObject

0-1 date



144
145
146
# File 'lib/fhir_models/r5/generated/resources/PaymentReconciliation.rb', line 144

def expirationDate
  @expirationDate
end

#extensionObject

0-* [ Extension ]



124
125
126
# File 'lib/fhir_models/r5/generated/resources/PaymentReconciliation.rb', line 124

def extension
  @extension
end

#formCodeObject

0-1 CodeableConcept



153
154
155
# File 'lib/fhir_models/r5/generated/resources/PaymentReconciliation.rb', line 153

def formCode
  @formCode
end

#idObject

0-1 id



118
119
120
# File 'lib/fhir_models/r5/generated/resources/PaymentReconciliation.rb', line 118

def id
  @id
end

#identifierObject

0-* [ Identifier ]



126
127
128
# File 'lib/fhir_models/r5/generated/resources/PaymentReconciliation.rb', line 126

def identifier
  @identifier
end

#implicitRulesObject

0-1 uri



120
121
122
# File 'lib/fhir_models/r5/generated/resources/PaymentReconciliation.rb', line 120

def implicitRules
  @implicitRules
end

#issuerTypeObject

0-1 CodeableConcept



133
134
135
# File 'lib/fhir_models/r5/generated/resources/PaymentReconciliation.rb', line 133

def issuerType
  @issuerType
end

#kindObject

0-1 CodeableConcept



129
130
131
# File 'lib/fhir_models/r5/generated/resources/PaymentReconciliation.rb', line 129

def kind
  @kind
end

#languageObject

0-1 code



121
122
123
# File 'lib/fhir_models/r5/generated/resources/PaymentReconciliation.rb', line 121

def language
  @language
end

#local_methodObject

0-1 CodeableConcept



141
142
143
# File 'lib/fhir_models/r5/generated/resources/PaymentReconciliation.rb', line 141

def local_method
  @local_method
end

#locationObject

0-1 Reference(Location)



140
141
142
# File 'lib/fhir_models/r5/generated/resources/PaymentReconciliation.rb', line 140

def location
  @location
end

#metaObject

0-1 Meta



119
120
121
# File 'lib/fhir_models/r5/generated/resources/PaymentReconciliation.rb', line 119

def meta
  @meta
end

#modifierExtensionObject

0-* [ Extension ]



125
126
127
# File 'lib/fhir_models/r5/generated/resources/PaymentReconciliation.rb', line 125

def modifierExtension
  @modifierExtension
end

#outcomeObject

0-1 code



137
138
139
# File 'lib/fhir_models/r5/generated/resources/PaymentReconciliation.rb', line 137

def outcome
  @outcome
end

#paymentIdentifierObject

0-1 Identifier



151
152
153
# File 'lib/fhir_models/r5/generated/resources/PaymentReconciliation.rb', line 151

def paymentIdentifier
  @paymentIdentifier
end

#paymentIssuerObject

0-1 Reference(Organization|Patient|RelatedPerson)



134
135
136
# File 'lib/fhir_models/r5/generated/resources/PaymentReconciliation.rb', line 134

def paymentIssuer
  @paymentIssuer
end

#periodObject

0-1 Period



130
131
132
# File 'lib/fhir_models/r5/generated/resources/PaymentReconciliation.rb', line 130

def period
  @period
end

#processNoteObject

0-* [ PaymentReconciliation::ProcessNote ]



154
155
156
# File 'lib/fhir_models/r5/generated/resources/PaymentReconciliation.rb', line 154

def processNote
  @processNote
end

#processorObject

0-1 string



145
146
147
# File 'lib/fhir_models/r5/generated/resources/PaymentReconciliation.rb', line 145

def processor
  @processor
end

#referenceNumberObject

0-1 string



146
147
148
# File 'lib/fhir_models/r5/generated/resources/PaymentReconciliation.rb', line 146

def referenceNumber
  @referenceNumber
end

#requestObject

0-1 Reference(Task)



135
136
137
# File 'lib/fhir_models/r5/generated/resources/PaymentReconciliation.rb', line 135

def request
  @request
end

#requestorObject

0-1 Reference(Practitioner|PractitionerRole|Organization)



136
137
138
# File 'lib/fhir_models/r5/generated/resources/PaymentReconciliation.rb', line 136

def requestor
  @requestor
end

#returnedAmountObject

0-1 Money



149
150
151
# File 'lib/fhir_models/r5/generated/resources/PaymentReconciliation.rb', line 149

def returnedAmount
  @returnedAmount
end

#statusObject

1-1 code



128
129
130
# File 'lib/fhir_models/r5/generated/resources/PaymentReconciliation.rb', line 128

def status
  @status
end

#tenderedAmountObject

0-1 Money



148
149
150
# File 'lib/fhir_models/r5/generated/resources/PaymentReconciliation.rb', line 148

def tenderedAmount
  @tenderedAmount
end

#textObject

0-1 Narrative



122
123
124
# File 'lib/fhir_models/r5/generated/resources/PaymentReconciliation.rb', line 122

def text
  @text
end

#typeObject

1-1 CodeableConcept



127
128
129
# File 'lib/fhir_models/r5/generated/resources/PaymentReconciliation.rb', line 127

def type
  @type
end

Instance Method Details

#resourceTypeObject



156
157
158
# File 'lib/fhir_models/r5/generated/resources/PaymentReconciliation.rb', line 156

def resourceType
  'PaymentReconciliation'
end