Extensions for Using Data Elements from FHIR R5 in FHIR R4
0.1.0 - STU International flag

Extensions for Using Data Elements from FHIR R5 in FHIR R4 - Downloaded Version null See the Directory of published versions

Extension: ExtensionAccount_Balance

Official URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-Account.balance Version: 0.1.0
Standards status: Trial-use Maturity Level: 0 Computable Name: ExtensionAccount_Balance

R5: Account.balance (new:BackboneElement)

This extension is part of the cross-version definitions generated to enable use of the element Account.balance as defined in FHIR R5 in FHIR R4.

The source element is defined as: Account.balance 0..* BackboneElement

Across FHIR versions, the element set has been mapped as:

  • R5: Account.balance 0..* BackboneElement

Following are the generation technical comments: Element Account.balance has a context of Account based on following the parent source element upwards and mapping to Account. Element Account.balance has no mapping targets in FHIR R4. Typically, this is because the element has been added (is a new element).

Context of Use

    This extension may be used on the following element(s)

    This extension is allowed for use with FHIR versions R4 to R4 .

Usage info

Usages:

You can also check for usages in the FHIR IG Statistics

Formal Views of Extension Content

Description of Profiles, Differentials, Snapshots, and how the XML and JSON presentations work.

This structure is derived from Extension

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Extension 0..* Extension(4.0.1) R5: Calculated account balance(s) (new)
... Slices for extension 1..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:aggregate 0..1 Extension R5: Who is expected to pay this part of the balance (new)
..... url 1..1 uri "aggregate"
..... value[x] 0..1 CodeableConcept Who is expected to pay this part of the balance
Binding: R5AccountAggregateForR4 (0.1.0) (extensible): Indicates the balance was outstanding at the given age.
.... extension:term 0..1 Extension R5: current | 30 | 60 | 90 | 120 (new)
..... url 1..1 uri "term"
..... value[x] 0..1 CodeableConcept current | 30 | 60 | 90 | 120
Binding: R5AccountBalanceTermForR4 (0.1.0) (extensible): Indicates the balance was outstanding at the given age.
.... extension:estimate 0..1 Extension R5: Estimated balance (new)
..... url 1..1 uri "estimate"
..... value[x] 0..1 boolean Estimated balance
.... extension:amount 1..1 Extension R5: Calculated amount (new)
..... url 1..1 uri "amount"
..... value[x] 1..1 Money Calculated amount
... url 1..1 uri "http://hl7.org/fhir/5.0/StructureDefinition/extension-Account.balance"
... value[x] 0..0 Value of extension

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Extension 0..* Extension(4.0.1) R5: Calculated account balance(s) (new)
Constraints: ext-1
... id 0..1 string Unique id for inter-element referencing
... Slices for extension 1..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
.... extension:aggregate 0..1 Extension R5: Who is expected to pay this part of the balance (new)
Constraints: ext-1
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Constraints: ext-1
..... url 1..1 uri "aggregate"
..... value[x] 0..1 CodeableConcept Who is expected to pay this part of the balance
Binding: R5AccountAggregateForR4 (0.1.0) (extensible): Indicates the balance was outstanding at the given age.
.... extension:term 0..1 Extension R5: current | 30 | 60 | 90 | 120 (new)
Constraints: ext-1
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Constraints: ext-1
..... url 1..1 uri "term"
..... value[x] 0..1 CodeableConcept current | 30 | 60 | 90 | 120
Binding: R5AccountBalanceTermForR4 (0.1.0) (extensible): Indicates the balance was outstanding at the given age.
.... extension:estimate 0..1 Extension R5: Estimated balance (new)
Constraints: ext-1
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Constraints: ext-1
..... url 1..1 uri "estimate"
..... value[x] 0..1 boolean Estimated balance
.... extension:amount 1..1 Extension R5: Calculated amount (new)
Constraints: ext-1
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Constraints: ext-1
..... url 1..1 uri "amount"
..... value[x] 1..1 Money Calculated amount
... url 1..1 uri "http://hl7.org/fhir/5.0/StructureDefinition/extension-Account.balance"

doco Documentation for this format

This structure is derived from Extension

Summary

Complex Extension: R5: Account.balance (new:BackboneElement)

  • aggregate: CodeableConcept: R5: Account.balance.aggregate (new:CodeableConcept)
  • term: CodeableConcept: R5: Account.balance.term (new:CodeableConcept)
  • estimate: boolean: R5: Account.balance.estimate (new:boolean)
  • amount: Money: R5: Account.balance.amount (new:Money)

Maturity: 0

Differential View

This structure is derived from Extension

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Extension 0..* Extension(4.0.1) R5: Calculated account balance(s) (new)
... Slices for extension 1..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:aggregate 0..1 Extension R5: Who is expected to pay this part of the balance (new)
..... url 1..1 uri "aggregate"
..... value[x] 0..1 CodeableConcept Who is expected to pay this part of the balance
Binding: R5AccountAggregateForR4 (0.1.0) (extensible): Indicates the balance was outstanding at the given age.
.... extension:term 0..1 Extension R5: current | 30 | 60 | 90 | 120 (new)
..... url 1..1 uri "term"
..... value[x] 0..1 CodeableConcept current | 30 | 60 | 90 | 120
Binding: R5AccountBalanceTermForR4 (0.1.0) (extensible): Indicates the balance was outstanding at the given age.
.... extension:estimate 0..1 Extension R5: Estimated balance (new)
..... url 1..1 uri "estimate"
..... value[x] 0..1 boolean Estimated balance
.... extension:amount 1..1 Extension R5: Calculated amount (new)
..... url 1..1 uri "amount"
..... value[x] 1..1 Money Calculated amount
... url 1..1 uri "http://hl7.org/fhir/5.0/StructureDefinition/extension-Account.balance"
... value[x] 0..0 Value of extension

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Extension 0..* Extension(4.0.1) R5: Calculated account balance(s) (new)
Constraints: ext-1
... id 0..1 string Unique id for inter-element referencing
... Slices for extension 1..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
.... extension:aggregate 0..1 Extension R5: Who is expected to pay this part of the balance (new)
Constraints: ext-1
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Constraints: ext-1
..... url 1..1 uri "aggregate"
..... value[x] 0..1 CodeableConcept Who is expected to pay this part of the balance
Binding: R5AccountAggregateForR4 (0.1.0) (extensible): Indicates the balance was outstanding at the given age.
.... extension:term 0..1 Extension R5: current | 30 | 60 | 90 | 120 (new)
Constraints: ext-1
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Constraints: ext-1
..... url 1..1 uri "term"
..... value[x] 0..1 CodeableConcept current | 30 | 60 | 90 | 120
Binding: R5AccountBalanceTermForR4 (0.1.0) (extensible): Indicates the balance was outstanding at the given age.
.... extension:estimate 0..1 Extension R5: Estimated balance (new)
Constraints: ext-1
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Constraints: ext-1
..... url 1..1 uri "estimate"
..... value[x] 0..1 boolean Estimated balance
.... extension:amount 1..1 Extension R5: Calculated amount (new)
Constraints: ext-1
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Constraints: ext-1
..... url 1..1 uri "amount"
..... value[x] 1..1 Money Calculated amount
... url 1..1 uri "http://hl7.org/fhir/5.0/StructureDefinition/extension-Account.balance"

doco Documentation for this format

This structure is derived from Extension

Summary

Complex Extension: R5: Account.balance (new:BackboneElement)

  • aggregate: CodeableConcept: R5: Account.balance.aggregate (new:CodeableConcept)
  • term: CodeableConcept: R5: Account.balance.term (new:CodeableConcept)
  • estimate: boolean: R5: Account.balance.estimate (new:boolean)
  • amount: Money: R5: Account.balance.amount (new:Money)

Maturity: 0

 

Other representations of profile: CSV, Excel, Schematron

Terminology Bindings

Path Status Usage ValueSet Version Source
Extension.extension:aggregate.​value[x] Base extensible Cross-version ValueSet R5.AccountAggregate for use in FHIR R4 📍0.1.0 This IG
Extension.extension:term.​value[x] Base extensible Cross-version ValueSet R5.AccountBalanceTerm for use in FHIR R4 📍0.1.0 This IG

Constraints

Id Grade Path(s) Description Expression
ele-1 error Extension, Extension.extension, Extension.extension:aggregate, Extension.extension:aggregate.extension, Extension.extension:aggregate.value[x], Extension.extension:term, Extension.extension:term.extension, Extension.extension:term.value[x], Extension.extension:estimate, Extension.extension:estimate.extension, Extension.extension:estimate.value[x], Extension.extension:amount, Extension.extension:amount.extension, Extension.extension:amount.value[x] All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error Extension, Extension.extension, Extension.extension:aggregate, Extension.extension:aggregate.extension, Extension.extension:term, Extension.extension:term.extension, Extension.extension:estimate, Extension.extension:estimate.extension, Extension.extension:amount, Extension.extension:amount.extension Must have either extensions or value[x], not both extension.exists() != value.exists()