Foundation
This
page
is
part
of
the
Continuous
Integration
Build
of
FHIR
Specification
(v5.0.0:
R5
-
STU
).
This
is
the
current
published
version
in
it's
permanent
home
(it
will
always
(will
be
available
incorrect/inconsistent
at
this
URL).
For
a
full
list
of
available
versions,
see
times).
See
the
Directory
of
published
versions
.
Page
versions:
R5
R4B
R4
R3
| Responsible Owner: Patient Administration Work Group | Standards Status : Informative | Compartments : Device , Patient , Practitioner |
ShEx statement for account
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#>IMPORT <code.shex># ShEx Version 2.2 IMPORT <Code.shex> IMPORT <Money.shex>IMPORT <string.shex>IMPORT <String.shex> IMPORT <Period.shex> IMPORT <Device.shex>IMPORT <instant.shex> IMPORT <boolean.shex>IMPORT <Instant.shex> IMPORT <Boolean.shex> IMPORT <Patient.shex>IMPORT <markdown.shex> IMPORT <dateTime.shex>IMPORT <Markdown.shex> IMPORT <DateTime.shex> IMPORT <Quantity.shex> IMPORT <Coverage.shex> IMPORT <Location.shex> IMPORT <Reference.shex> IMPORT <Encounter.shex> IMPORT <Identifier.shex>IMPORT <positiveInt.shex>IMPORT <PositiveInt.shex> IMPORT <Organization.shex> IMPORT <Practitioner.shex> IMPORT <RelatedPerson.shex> IMPORT <EpisodeOfCare.shex> IMPORT <DomainResource.shex> IMPORT <CodeableConcept.shex> IMPORT <BackboneElement.shex> IMPORT <PractitionerRole.shex> IMPORT <CodeableReference.shex> IMPORT <HealthcareService.shex> start=@<Account> AND {fhir:nodeRole [fhir:treeRoot]} # Tracks balance, charges, for patient or cost center <Account> EXTENDS @<DomainResource> CLOSED {a [fhir:Account]?; fhir:nodeRole [fhir:treeRoot]?;a [fhir:Account]?;fhir:nodeRole [fhir:treeRoot]?; fhir:identifier @<OneOrMore_Identifier>?; # Account numberfhir:status @<code> ANDfhir:status @<Code> AND {fhir:v @fhirvs:account-status}; # active | inactive | # entered-in-error | on-hold | # unknown fhir:billingStatus @<CodeableConcept>?; # Tracks the lifecycle of the # account through the billing # process fhir:type @<CodeableConcept>?; # E.g. patient, expense, depreciationfhir:name @<string>?; # Human-readable labelfhir:name @<String>?; # Human-readable label fhir:subject @<OneOrMore_Reference_Device_OR_HealthcareService_OR_Location_OR_Organization_OR_Patient_OR_Practitioner_OR_PractitionerRole>?; # The entity that caused the expenses fhir:servicePeriod @<Period>?; # Transaction window fhir:covers @<OneOrMore_Reference_Encounter_OR_EpisodeOfCare>?; # Episodic account covering these # encounters/episodes of care fhir:coverage @<OneOrMore_Account.coverage>?; # The party(s) that are responsible # for covering the payment of this # account, and what order should # they be applied to the accountfhir:owner @<Reference> AND {fhir:linkfhir:owner @<Reference> AND {fhir:l @<Organization> ? }?; # Entity managing the Accountfhir:description @<markdown>?; # Explanation of purpose/usefhir:description @<Markdown>?; # Explanation of purpose/use fhir:guarantor @<OneOrMore_Account.guarantor>?; # The parties ultimately responsible # for balancing the Account fhir:diagnosis @<OneOrMore_Account.diagnosis>?; # The list of diagnoses relevant to # this account fhir:procedure @<OneOrMore_Account.procedure>?; # The list of procedures relevant to # this accountfhir:relatedAccount @<OneOrMore_Account.relatedAccount>?; # Other associated accounts related # to this accountfhir:parent @<Reference> AND {fhir:l @<Account> ? }?; # Reference to an associated parent # Account fhir:currency @<CodeableConcept>?; # The base or default currency fhir:balance @<OneOrMore_Account.balance>?; # Calculated account balance(s)fhir:calculatedAt @<instant>?; # Time the balance amount wasfhir:calculatedAt @<Instant>?; # Time the balance amount was # calculated }# The list of diagnoses relevant to this account <Account.diagnosis> EXTENDS @<BackboneElement> CLOSED { fhir:sequence @<positiveInt>?; # Ranking of the diagnosis (for each # type) fhir:condition @<CodeableReference>; # The diagnosis relevant to the # account fhir:dateOfDiagnosis @<dateTime>?; # Date of the diagnosis (when coded # diagnosis) fhir:type @<OneOrMore_CodeableConcept>?; # Type that this diagnosis has # relevant to the account (e.g. # admission, billing, discharge …) fhir:onAdmission @<boolean>?; # Diagnosis present on Admission fhir:packageCode @<OneOrMore_CodeableConcept>?; # Package Code specific for billing } # The party(s) that are responsible for covering the payment of this account, and what order should they be applied to the account <Account.coverage> EXTENDS @<BackboneElement> CLOSED { fhir:coverage @<Reference> AND {fhir:link @<Coverage> ? }; # The party(s), such as insurances, # that may contribute to the payment # of this account fhir:priority @<positiveInt>?; # The priority of the coverage in # the context of this account } # The parties ultimately responsible for balancing the Account <Account.guarantor> EXTENDS @<BackboneElement> CLOSED { fhir:party @<Reference> AND {fhir:link @<Organization> OR @<Patient> OR @<RelatedPerson> ? }; # Responsible entity fhir:onHold @<boolean>?; # Credit or other hold applied fhir:period @<Period>?; # Guarantee account during }# Calculated account balance(s) <Account.balance> EXTENDS @<BackboneElement> CLOSED { fhir:aggregate @<CodeableConcept>?; # Who is expected to pay this part # of the balance fhir:term @<CodeableConcept>?; # current | 30 | 60 | 90 | 120fhir:estimate @<boolean>?; # Estimated balancefhir:estimate @<Boolean>?; # Estimated balance fhir:amount @<Money>; # Calculated amount }# Other associated accounts related to this account <Account.relatedAccount> EXTENDS @<BackboneElement> CLOSED { fhir:relationship @<CodeableConcept>?; # Relationship of the associated # Account fhir:account @<Reference> AND {fhir:link @<Account> ? }; # Reference to an associated Account }# The list of procedures relevant to this account <Account.procedure> EXTENDS @<BackboneElement> CLOSED {fhir:sequence @<positiveInt>?; # Ranking of the procedure (for eachfhir:sequence @<PositiveInt>?; # Ranking of the procedure (for each # type) fhir:code @<CodeableReference>; # The procedure relevant to the # accountfhir:dateOfService @<dateTime>?; # Date of the procedure (when codedfhir:dateOfService @<DateTime>?; # Date of the procedure (when coded # procedure) fhir:type @<OneOrMore_CodeableConcept>?; # How this procedure value should be # used in charging the account fhir:packageCode @<OneOrMore_CodeableConcept>?; # Package Code specific for billing fhir:device @<OneOrMore_Reference_Device>?; # Any devices that were associated # with the procedure }#---------------------- Cardinality Types (OneOrMore) -------------------# The parties ultimately responsible for balancing the Account <Account.guarantor> EXTENDS @<BackboneElement> CLOSED { fhir:party @<Reference> AND {fhir:l @<Organization> OR @<Patient> OR @<RelatedPerson> ? }?; # Responsible entity fhir:onHold @<Boolean>?; # Credit or other hold applied fhir:period @<Period>?; # Guarantee account during fhir:account @<Reference> AND {fhir:l @<Account> ? }?; # A specific Account for the # guarantor fhir:responsibility @<Quantity>?; # Responsible %'age of charges fhir:limit @<Money>?; # Responsible financial limit fhir:rank @<PositiveInt>?; # Rank order of guarator } # The party(s) that are responsible for covering the payment of this account, and what order should they be applied to the account <Account.coverage> EXTENDS @<BackboneElement> CLOSED { fhir:coverage @<Reference> AND {fhir:l @<Coverage> ? }; # The party(s), such as insurances, # that may contribute to the payment # of this account fhir:priority @<PositiveInt>?; # The priority of the coverage in # the context of this account } # The list of diagnoses relevant to this account <Account.diagnosis> EXTENDS @<BackboneElement> CLOSED { fhir:sequence @<PositiveInt>?; # Ranking of the diagnosis (for each # type) fhir:condition @<CodeableReference>; # The diagnosis relevant to the # account fhir:dateOfDiagnosis @<DateTime>?; # Date of the diagnosis (when coded # diagnosis) fhir:type @<OneOrMore_CodeableConcept>?; # Type that this diagnosis has # relevant to the account (e.g. # admission, billing, discharge …) fhir:onAdmission @<Boolean>?; # Diagnosis present on Admission fhir:packageCode @<OneOrMore_CodeableConcept>?; # Package Code specific for billing } #---------------------- Cardinality Types (OneOrMore) ------------------- <OneOrMore_Identifier> CLOSED { rdf:first @<Identifier> ; rdf:rest [rdf:nil] OR @<OneOrMore_Identifier> } <OneOrMore_Reference_Device_OR_HealthcareService_OR_Location_OR_Organization_OR_Patient_OR_Practitioner_OR_PractitionerRole> CLOSED {rdf:first @<Reference> AND {fhir:linkrdf:first @<Reference> AND {fhir:l @<Device> OR @<HealthcareService> OR @<Location> OR @<Organization> OR @<Patient> OR @<Practitioner> OR @<PractitionerRole> } ; rdf:rest [rdf:nil] OR @<OneOrMore_Reference_Device_OR_HealthcareService_OR_Location_OR_Organization_OR_Patient_OR_Practitioner_OR_PractitionerRole> } <OneOrMore_Reference_Encounter_OR_EpisodeOfCare> CLOSED { rdf:first @<Reference> AND {fhir:l @<Encounter> OR @<EpisodeOfCare> } ; rdf:rest [rdf:nil] OR @<OneOrMore_Reference_Encounter_OR_EpisodeOfCare> } <OneOrMore_Account.coverage> CLOSED { rdf:first @<Account.coverage> ; rdf:rest [rdf:nil] OR @<OneOrMore_Account.coverage> } <OneOrMore_Account.guarantor> CLOSED { rdf:first @<Account.guarantor> ; rdf:rest [rdf:nil] OR @<OneOrMore_Account.guarantor> } <OneOrMore_Account.diagnosis> CLOSED { rdf:first @<Account.diagnosis> ; rdf:rest [rdf:nil] OR @<OneOrMore_Account.diagnosis> } <OneOrMore_Account.procedure> CLOSED { rdf:first @<Account.procedure> ; rdf:rest [rdf:nil] OR @<OneOrMore_Account.procedure> }<OneOrMore_Account.relatedAccount> CLOSED { rdf:first @<Account.relatedAccount> ; rdf:rest [rdf:nil] OR @<OneOrMore_Account.relatedAccount> }<OneOrMore_Account.balance> CLOSED { rdf:first @<Account.balance> ; rdf:rest [rdf:nil] OR @<OneOrMore_Account.balance> } <OneOrMore_CodeableConcept> CLOSED { rdf:first @<CodeableConcept> ; rdf:rest [rdf:nil] OR @<OneOrMore_CodeableConcept> } <OneOrMore_Reference_Device> CLOSED {rdf:first @<Reference> AND {fhir:linkrdf:first @<Reference> AND {fhir:l @<Device> } ; rdf:rest [rdf:nil] OR @<OneOrMore_Reference_Device> } #---------------------- Value Sets ------------------------ # Indicates whether the account is available to be used. fhirvs:account-status ["active" "inactive" "entered-in-error" "on-hold" "unknown"]
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
R5
hl7.fhir.core#5.0.0
R6
hl7.fhir.core#6.0.0-ballot3
generated
on
Sun,
Mar
26,
2023
15:24+1100.
Mon,
Nov
24,
2025
20:50+0000.
Links:
Search
|
Version
History
|
Contents
|
Glossary
|
QA
|
Compare
to
R4
|
Compare
to
R4B
R5
|
Compare
to
Last
Ballot
|
|
Propose
a
change