This page is part of the FHIR Specification (v1.4.0:
STU
3 Ballot 3). 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.
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..1 | Period |
|
|
Σ | 0..1 |
Reference
(
Patient
|
|
|
Σ | 0..1 | Reference ( Organization ) |
|
|
Σ | 0..1 | string |
|
Documentation for this format
|
||||
UML
Diagram
UML Diagram
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><!-- 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 --> <activePeriod><!-- 0..1 Period Valid from..to --></activePeriod> <currency><!-- 0..1 Coding Base currency in which balance is tracked
--></currency> <balance><!-- 0..1 Quantity(Money) How much is in account? --></balance> <coveragePeriod><!-- 0..1 Period Transaction window --></coveragePeriod> <subject><!-- 0..1 Reference(Patient|Device|Practitioner|Location| HealthcareService|Organization) What is account tied to? --></subject> <owner><!-- 0..1 Reference(Organization) Who is responsible? --></owner> <description value="[string]"/><!-- 0..1 Explanation of purpose/use --> </Account>
JSON
Template
JSON Template
{
"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
"activePeriod" : { Period }, // Valid from..to
"currency" : { Coding }, // Base currency in which balance is tracked
"balance" : { Quantity(Money) }, // How much is in 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
}
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..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><!-- 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 --> <activePeriod><!-- 0..1 Period Valid from..to --></activePeriod> <currency><!-- 0..1 Coding Base currency in which balance is tracked
--></currency> <balance><!-- 0..1 Quantity(Money) How much is in account? --></balance> <coveragePeriod><!-- 0..1 Period Transaction window --></coveragePeriod> <subject><!-- 0..1 Reference(Patient|Device|Practitioner|Location| HealthcareService|Organization) What is account tied to? --></subject> <owner><!-- 0..1 Reference(Organization) Who is responsible? --></owner> <description value="[string]"/><!-- 0..1 Explanation of purpose/use --> </Account>
JSON
Template
JSON Template
{
"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
"activePeriod" : { Period }, // Valid from..to
"currency" : { Coding }, // Base currency in which balance is tracked
"balance" : { Quantity(Money) }, // How much is in 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:
Alternate definitions:
Schema
/
Schematron
,
Resource
Profile
(
, Resource Profile (
XML
,
,
JSON
),
),
Questionnaire
| Path | Definition | Type | Reference |
|---|---|---|---|
|
|
|
Unknown |
|
|
|
|
Preferred | AccountStatus |
|
|
|
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
( Device |
| type | token |
|
Account.type |