FoundationThis is the Continuous Integration Build of FHIR (will be incorrect/inconsistent at times).
See the Directory of published versions
| Responsible Owner: Financial Management Work Group | Standards Status: Informative | Compartments: Practitioner |
ShEx statement for paymentreconciliation
PREFIX fhir: <http://hl7.org/fhir/>
PREFIX fhirvs: <http://hl7.org/fhir/ValueSet/>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
# ShEx Version 2.2
IMPORT <Code.shex>
IMPORT <Task.shex>
IMPORT <Date.shex>
IMPORT <Money.shex>
IMPORT <Claim.shex>
IMPORT <String.shex>
IMPORT <Period.shex>
IMPORT <Patient.shex>
IMPORT <Account.shex>
IMPORT <Invoice.shex>
IMPORT <DateTime.shex>
IMPORT <Location.shex>
IMPORT <Markdown.shex>
IMPORT <Contract.shex>
IMPORT <Reference.shex>
IMPORT <Encounter.shex>
IMPORT <Identifier.shex>
IMPORT <PositiveInt.shex>
IMPORT <Organization.shex>
IMPORT <Practitioner.shex>
IMPORT <RelatedPerson.shex>
IMPORT <ClaimResponse.shex>
IMPORT <DomainResource.shex>
IMPORT <CodeableConcept.shex>
IMPORT <BackboneElement.shex>
IMPORT <PractitionerRole.shex>
start=@<PaymentReconciliation> AND {fhir:nodeRole [fhir:treeRoot]}
# PaymentReconciliation resource
<PaymentReconciliation> EXTENDS @<DomainResource> CLOSED {
a [fhir:PaymentReconciliation]?;fhir:nodeRole [fhir:treeRoot]?;
fhir:identifier @<OneOrMore_Identifier>?; # Business Identifier for a payment
# reconciliation
fhir:type @<CodeableConcept>; # Category of payment
fhir:status @<Code> AND
{fhir:v @fhirvs:fm-status}; # active | cancelled | draft |
# entered-in-error
fhir:statusReason @<String>?; # Reason for status change
fhir:kind @<CodeableConcept>?; # Workflow originating payment
fhir:period @<Period>?; # Period covered
fhir:created @<DateTime>; # Creation date
fhir:enterer @<Reference> AND {fhir:l
@<Organization> OR
@<Practitioner> OR
@<PractitionerRole> ? }?; # Who entered the payment
fhir:issuerType @<CodeableConcept>?; # Nature of the source
fhir:paymentIssuer @<Reference> AND {fhir:l
@<Organization> OR
@<Patient> OR
@<RelatedPerson> ? }?; # Party generating payment
fhir:request @<Reference> AND {fhir:l
@<Task> ? }?; # Reference to requesting resource
fhir:requestor @<Reference> AND {fhir:l
@<Organization> OR
@<Practitioner> OR
@<PractitionerRole> ? }?; # Responsible practitioner
fhir:outcome @<Code> AND
{fhir:v @fhirvs:payment-outcome}?; # queued | complete | error | partial
fhir:disposition @<String>?; # Disposition message
fhir:date @<Date>; # When payment issued
fhir:location @<Reference> AND {fhir:l
@<Location> ? }?; # Where payment collected
fhir:method @<CodeableConcept>?; # Payment instrument
fhir:cardBrand @<String>?; # Type of card
fhir:accountNumber @<String>?; # Digits for verification
fhir:expirationDate @<Date>?; # Expiration year-month
fhir:processor @<String>?; # Processor name
fhir:referenceNumber @<String>?; # Check number or payment reference
fhir:authorization @<String>?; # Authorization number
fhir:tenderedAmount @<Money>?; # Amount offered by the issuer
fhir:returnedAmount @<Money>?; # Amount returned by the receiver
fhir:amount @<Money>?; # Total amount of Payment
fhir:paymentIdentifier @<Identifier>?; # Business identifier for the payment
fhir:allocation @<OneOrMore_PaymentReconciliation.allocation>?; # Settlement particulars
fhir:formCode @<CodeableConcept>?; # Printed form identifier
fhir:processNote @<OneOrMore_PaymentReconciliation.processNote>?; # Note concerning processing
}
# Note concerning processing
<PaymentReconciliation.processNote> EXTENDS @<BackboneElement> CLOSED {
fhir:class @<CodeableConcept>?; # Business kind of note
fhir:number @<PositiveInt>?; # Note instance identifier
fhir:type @<Code> AND
{fhir:v @fhirvs:note-type}?; # display | print | printoper
fhir:text @<Markdown>?; # Note explanatory text
}
# Settlement particulars
<PaymentReconciliation.allocation> EXTENDS @<BackboneElement> CLOSED {
fhir:identifier @<Identifier>?; # Business identifier of the payment
# detail
fhir:predecessor @<Identifier>?; # Business identifier of the prior
# payment detail
fhir:target @<Reference> AND {fhir:l
@<Account> OR
@<Claim> OR
@<Contract> OR
@<Encounter> OR
@<Invoice> ? }?; # Subject of the payment
fhir:targetItem @<String> OR
@<Identifier> OR
@<PositiveInt> ?; # Sub-element of the subject
fhir:encounter @<Reference> AND {fhir:l
@<Encounter> ? }?; # Applied-to encounter
fhir:account @<Reference> AND {fhir:l
@<Account> ? }?; # Applied-to account
fhir:type @<CodeableConcept>?; # Category of payment
fhir:submitter @<Reference> AND {fhir:l
@<Organization> OR
@<Practitioner> OR
@<PractitionerRole> ? }?; # Submitter of the request
fhir:response @<Reference> AND {fhir:l
@<ClaimResponse> ? }?; # Response committing to a payment
fhir:date @<Date>?; # Date of commitment to pay
fhir:responsible @<Reference> AND {fhir:l
@<PractitionerRole> ? }?; # Contact for the response
fhir:payee @<Reference> AND {fhir:l
@<Organization> OR
@<Practitioner> OR
@<PractitionerRole> ? }?; # Recipient of the payment
fhir:amount @<Money>?; # Amount allocated to this payable
fhir:noteNumber @<OneOrMore_PositiveInt>?; # Applicable note numbers
}
#---------------------- Cardinality Types (OneOrMore) -------------------
<OneOrMore_Identifier> CLOSED {
rdf:first @<Identifier> ;
rdf:rest [rdf:nil] OR @<OneOrMore_Identifier>
}
<OneOrMore_PaymentReconciliation.allocation> CLOSED {
rdf:first @<PaymentReconciliation.allocation> ;
rdf:rest [rdf:nil] OR @<OneOrMore_PaymentReconciliation.allocation>
}
<OneOrMore_PaymentReconciliation.processNote> CLOSED {
rdf:first @<PaymentReconciliation.processNote> ;
rdf:rest [rdf:nil] OR @<OneOrMore_PaymentReconciliation.processNote>
}
<OneOrMore_PositiveInt> CLOSED {
rdf:first @<PositiveInt> ;
rdf:rest [rdf:nil] OR @<OneOrMore_PositiveInt>
}
#---------------------- Value Sets ------------------------
# This value set includes Status codes.
fhirvs:fm-status ["active" "cancelled" "draft" "entered-in-error"]
# The presentation types of notes.
fhirvs:note-type ["display" "print" "printoper"]
# The outcome of the processing.
fhirvs:payment-outcome ["queued" "complete" "error" "partial"]
Usage note: every effort has been made to ensure that the ShEx files are correct and useful, but they are not a normative part of the specification.
FHIR ®© HL7.org 2011+. FHIR R6 hl7.fhir.core#6.0.0-ballot3 generated on Mon, Nov 10, 2025 15:23+0000.
Links: Search |
Version History |
Contents |
Glossary |
QA |
Compare to R4 |
Compare to R5 |
Compare to Last Ballot |
|
Propose a change