This page is part of the FHIR Specification (v1.6.0:
STU
3 Ballot 4). The current version which supercedes this version is
5.0.0
.
For
a
full
list
of
available
versions,
see
the
Directory
of
published
versions
. For a full list of available versions, see the
Directory of published versions
.
Page
versions:
. Page versions:
R5
R4B
R4
R3
R2
|
|
Compartments
|
A financial tool for tracking value accrued for a particular purpose. In the healthcare field, used to track charges for a patient, cost centres, etc.
This resource is referenced by Encounter and EpisodeOfCare
Structure
| Name | Flags | Card. | Type |
|
|---|---|---|---|---|
|
Σ | DomainResource | ||
|
Σ | 0..* | Identifier |
|
|
Σ | 0..1 | string |
|
|
Σ | 0..1 | CodeableConcept |
|
|
?! Σ | 0..1 | code |
AccountStatus |
|
Σ | 0..1 | Period |
|
|
Σ | 0..1 | Coding |
|
|
Σ | 0..1 | Money |
|
|
Σ | 0..* | Reference ( Coverage ) | The party(s) that are responsible for covering the payment of this account |
![]() ![]() |
Σ | 0..1 | Period |
|
|
Σ | 0..1 |
Reference
(
Patient
|
|
|
Σ | 0..1 | Reference ( Organization ) |
|
|
Σ | 0..1 | string |
|
Documentation for this format
|
||||
UML
Diagram
UML Diagram
(
Legend
)
XML
Template
XML Template
<
<Account xmlns="http://hl7.org/fhir"><!-- from Resource: id, meta, implicitRules, and language --> <!-- from DomainResource: text, contained, extension, and modifierExtension -->
<</identifier> < <</type> < <</activePeriod> <</currency> <</balance> <</coveragePeriod> <|<identifier><!-- 0..* Identifier Account number --></identifier> <name value="[string]"/><!-- 0..1 Human-readable label --> <type><!-- 0..1 CodeableConcept E.g. patient, expense, depreciation --></type> <status value="[code]"/><!-- 0..1 active | inactive | entered-in-error --> <active><!-- 0..1 Period Time window that transactions may be posted to this account --></active> <currency><!-- 0..1 Coding Base currency in which balance is tracked--></currency> <balance><!-- 0..1 Money How much is in account? --></balance> <coverage><!-- 0..* Reference(Coverage) The party(s) that are responsible for covering the payment of this account --></coverage> <coveragePeriod><!-- 0..1 Period Transaction window --></coveragePeriod> <subject><!-- 0..1 Reference(Patient|Device|Practitioner|Location| HealthcareService|Organization) What is account tied to? --></subject>
<</owner> <<owner><!-- 0..1 Reference(Organization) Who is responsible? --></owner> <description value="[string]"/><!-- 0..1 Explanation of purpose/use --> </Account>
JSON
Template
JSON Template
{
"resourceType" : "",
{
"resourceType" : "Account",
// from Resource: id, meta, implicitRules, and language
// from DomainResource: text, contained, extension, and modifierExtension
"
"
"
"
"
"
"
"
"|
"identifier" : [{ Identifier }], // Account number
"name" : "<string>", // Human-readable label
"type" : { CodeableConcept }, // E.g. patient, expense, depreciation
"status" : "<code>", // active | inactive | entered-in-error
"active" : { Period }, // Time window that transactions may be posted to this account
"currency" : { Coding }, // Base currency in which balance is tracked
"balance" : { Money }, // How much is in account?
"coverage" : [{ Reference(Coverage) }], // The party(s) that are responsible for covering the payment of this account
"coveragePeriod" : { Period }, // Transaction window
"subject" : { Reference(Patient|Device|Practitioner|Location|
HealthcareService|Organization) }, // What is account tied to?
"
"
"owner" : { Reference(Organization) }, // Who is responsible?
"description" : "<string>" // Explanation of purpose/use
}
Turtle Template
@prefix fhir: <http://hl7.org/fhir/> .[ a fhir:Account; fhir:nodeRole fhir:treeRoot; # if this is the parser root # from Resource: .id, .meta, .implicitRules, and .language # from DomainResource: .text, .contained, .extension, and .modifierExtension fhir:Account.identifier [ Identifier ], ... ; # 0..* Account number fhir:Account.name [ string ]; # 0..1 Human-readable label fhir:Account.type [ CodeableConcept ]; # 0..1 E.g. patient, expense, depreciation fhir:Account.status [ code ]; # 0..1 active | inactive | entered-in-error fhir:Account.active [ Period ]; # 0..1 Time window that transactions may be posted to this account fhir:Account.currency [ Coding ]; # 0..1 Base currency in which balance is tracked fhir:Account.balance [ Money ]; # 0..1 How much is in account? fhir:Account.coverage [ Reference(Coverage) ], ... ; # 0..* The party(s) that are responsible for covering the payment of this account fhir:Account.coveragePeriod [ Period ]; # 0..1 Transaction window fhir:Account.subject [ Reference(Patient|Device|Practitioner|Location|HealthcareService|Organization) ]; # 0..1 What is account tied to? fhir:Account.owner [ Reference(Organization) ]; # 0..1 Who is responsible? fhir:Account.description [ string ]; # 0..1 Explanation of purpose/use ]
Changes since DSTU2
| Account | |
| Account.status | Add Binding http://hl7.org/fhir/ValueSet/account-status (required) |
| Account.active | Renamed from activePeriod to active |
| Account.balance | Type changed from Quantity{http://hl7.org/fhir/StructureDefinition/Money} to Money |
| Account.coverage | added |
See the Full Difference for further information
Structure
| Name | Flags | Card. | Type |
|
|---|---|---|---|---|
|
Σ | DomainResource | ||
|
Σ | 0..* | Identifier |
|
|
Σ | 0..1 | string |
|
|
Σ | 0..1 | CodeableConcept |
|
|
?! Σ | 0..1 | code |
AccountStatus |
|
Σ | 0..1 | Period |
|
|
Σ | 0..1 | Coding |
|
|
Σ | 0..1 | Money |
|
|
Σ | 0..* | Reference ( Coverage ) | The party(s) that are responsible for covering the payment of this account |
![]() ![]() |
Σ | 0..1 | Period |
|
|
Σ | 0..1 |
Reference
(
Patient
|
|
|
Σ | 0..1 | Reference ( Organization ) |
|
|
Σ | 0..1 | string |
|
Documentation for this format
|
||||
XML
Template
XML Template
<
<Account xmlns="http://hl7.org/fhir"><!-- from Resource: id, meta, implicitRules, and language --> <!-- from DomainResource: text, contained, extension, and modifierExtension -->
<</identifier> < <</type> < <</activePeriod> <</currency> <</balance> <</coveragePeriod> <|<identifier><!-- 0..* Identifier Account number --></identifier> <name value="[string]"/><!-- 0..1 Human-readable label --> <type><!-- 0..1 CodeableConcept E.g. patient, expense, depreciation --></type> <status value="[code]"/><!-- 0..1 active | inactive | entered-in-error --> <active><!-- 0..1 Period Time window that transactions may be posted to this account --></active> <currency><!-- 0..1 Coding Base currency in which balance is tracked--></currency> <balance><!-- 0..1 Money How much is in account? --></balance> <coverage><!-- 0..* Reference(Coverage) The party(s) that are responsible for covering the payment of this account --></coverage> <coveragePeriod><!-- 0..1 Period Transaction window --></coveragePeriod> <subject><!-- 0..1 Reference(Patient|Device|Practitioner|Location| HealthcareService|Organization) What is account tied to? --></subject>
<</owner> <<owner><!-- 0..1 Reference(Organization) Who is responsible? --></owner> <description value="[string]"/><!-- 0..1 Explanation of purpose/use --> </Account>
JSON
Template
JSON Template
{
"resourceType" : "",
{
"resourceType" : "Account",
// from Resource: id, meta, implicitRules, and language
// from DomainResource: text, contained, extension, and modifierExtension
"
"
"
"
"
"
"
"
"|
"identifier" : [{ Identifier }], // Account number
"name" : "<string>", // Human-readable label
"type" : { CodeableConcept }, // E.g. patient, expense, depreciation
"status" : "<code>", // active | inactive | entered-in-error
"active" : { Period }, // Time window that transactions may be posted to this account
"currency" : { Coding }, // Base currency in which balance is tracked
"balance" : { Money }, // How much is in account?
"coverage" : [{ Reference(Coverage) }], // The party(s) that are responsible for covering the payment of this account
"coveragePeriod" : { Period }, // Transaction window
"subject" : { Reference(Patient|Device|Practitioner|Location|
HealthcareService|Organization) }, // What is account tied to?
"
"
"owner" : { Reference(Organization) }, // Who is responsible?
"description" : "<string>" // Explanation of purpose/use
}
Alternate
definitions:
Turtle Template
@prefix fhir: <http://hl7.org/fhir/> .[ a fhir:Account; fhir:nodeRole fhir:treeRoot; # if this is the parser root # from Resource: .id, .meta, .implicitRules, and .language # from DomainResource: .text, .contained, .extension, and .modifierExtension fhir:Account.identifier [ Identifier ], ... ; # 0..* Account number fhir:Account.name [ string ]; # 0..1 Human-readable label fhir:Account.type [ CodeableConcept ]; # 0..1 E.g. patient, expense, depreciation fhir:Account.status [ code ]; # 0..1 active | inactive | entered-in-error fhir:Account.active [ Period ]; # 0..1 Time window that transactions may be posted to this account fhir:Account.currency [ Coding ]; # 0..1 Base currency in which balance is tracked fhir:Account.balance [ Money ]; # 0..1 How much is in account? fhir:Account.coverage [ Reference(Coverage) ], ... ; # 0..* The party(s) that are responsible for covering the payment of this account fhir:Account.coveragePeriod [ Period ]; # 0..1 Transaction window fhir:Account.subject [ Reference(Patient|Device|Practitioner|Location|HealthcareService|Organization) ]; # 0..1 What is account tied to? fhir:Account.owner [ Reference(Organization) ]; # 0..1 Who is responsible? fhir:Account.description [ string ]; # 0..1 Explanation of purpose/use ]
Changes since DSTU2
| Account | |
| Account.status | Add Binding http://hl7.org/fhir/ValueSet/account-status (required) |
| Account.active | Renamed from activePeriod to active |
| Account.balance | Type changed from Quantity{http://hl7.org/fhir/StructureDefinition/Money} to Money |
| Account.coverage | added |
See the Full Difference for further information
Alternate definitions: Master Definition (
XML
,
JSON
),
XML
Schema
/
Schematron
,
Resource
Profile
(
XML
,
(for ) +
JSON
Schema
,
ShEx
(for
Turtle
),
Questionnaire
)
| Path | Definition | Type | Reference |
|---|---|---|---|
| Account.type |
|
Unknown |
|
| Account.status |
|
|
AccountStatus |
| Account.currency |
|
Example |
|
Search parameters for this resource. The
common parameters
also apply. See
Searching
for
more
information
about
searching
in
REST,
messaging,
and
services.
for more information about searching in REST, messaging, and services.
| Name | Type | Description | Paths |
| balance | quantity |
|
Account.balance |
| identifier | token |
|
Account.identifier |
| name | string |
|
Account.name |
| owner | reference |
|
Account.owner
( Organization ) |
| patient | reference |
|
Account.subject
( Patient ) |
| period | date |
|
Account.coveragePeriod |
| status | token |
|
Account.status |
| subject | reference |
|
Account.subject
( |
| type | token |
|
Account.type |