German Dental FHIR Profiles (R4)
0.65.0 - trial-use
Germany
German Dental FHIR Profiles (R4) - Downloaded Version null See the Directory of published versions
| Official URL: https://fhir.cognovis.de/dental/StructureDefinition/dental-invoice-de | Version: 0.65.0 | |||
| Active as of 2026-12-01 | Computable Name: DentalInvoiceDE | |||
Copyright/Legal: Copyright 2026+ cognovis GmbH. Cognovis-authored material is licensed under Apache-2.0; third-party material retains its own terms as documented in THIRD_PARTY_NOTICES.md. |
||||
Open dental invoice that is printed, sent as PDF or exchanged outside the gematik TI. It derives from the base R4 Invoice, requires no KVNR and follows the general private invoice contract of Billing DE: net base amounts and one tax component per line, totals that add them, one currency, and an exemption reason when, and only when, a line is exempt. Its lines reference any ChargeItem, such as DentalBillingLineDE lines of GOZ, GOÄ, BEMA or BEL II services, materials and expenses. Invoice.type may name the invoice type: a private invoice, a prosthetics own-share invoice or an additional-cost invoice under § 28 Abs. 2 SGB V. A deduction, such as the statutory insurer's fixed subsidy, is stated in totalPriceComponent beside totalNet and totalGross, which it does not reduce. An invoice sent through the TI Fachdienst uses GozInvoiceDE.
Usages:
You can also check for usages in the FHIR IG Statistics
Description of Profiles, Differentials, Snapshots and how the different presentations work.
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | Invoice | Invoice containing ChargeItems from an Account Constraints: dental-invoice-exemption-reason, dental-invoice-totals, dental-invoice-currency |
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
S | 0..1 | CodeableConcept | Legal reason for VAT exemption; required when, and only when, a line is exempt (tax category E) URL: https://fhir.cognovis.de/billing/StructureDefinition/billing-tax-exemption-reason |
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() |
?!SΣ | 1..1 | code | draft | issued | balanced | cancelled | entered-in-error Binding: InvoiceStatus (required): Codes identifying the lifecycle stage of an Invoice. |
![]() ![]() |
SΣ | 0..1 | CodeableConcept | Private, prosthetics own-share or additional-cost invoice; optional Binding: Dental Invoice Type (preferred) |
![]() ![]() |
SΣ | 1..1 | Reference(Patient) | Recipient(s) of goods and services |
![]() ![]() |
SΣ | 1..1 | Reference(Organization | Patient | RelatedPerson) | Invoice recipient; no KVNR required |
![]() ![]() |
SΣ | 1..1 | dateTime | Invoice date |
![]() ![]() |
S | 1..1 | Reference(Organization) | Issuing Organization of Invoice |
![]() ![]() |
S | 1..1 | Reference(Account) | Billing case, cost plan or additional-cost agreement plan the invoice belongs to |
![]() ![]() |
S | 1..* | BackboneElement | Line items of this Invoice |
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() |
S | 0..1 | positiveInt | Sequence number of line item |
![]() ![]() ![]() |
S | 1..1 | Reference(ChargeItem) | Billing line of the invoice, such as a DentalBillingLineDE line |
![]() ![]() ![]() |
2..* | BackboneElement | Components of total line item price Slice: Unordered, Open by value:type | |
![]() ![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() ![]() |
1..1 | code | base | surcharge | deduction | discount | tax | informational Binding: InvoicePriceComponentType (required): Codes indicating the kind of the price component. | |
![]() ![]() ![]() ![]() |
S | 1..1 | BackboneElement | Net line amount; may carry the applied factor |
![]() ![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() ![]() |
1..1 | code | base | surcharge | deduction | discount | tax | informational Binding: InvoicePriceComponentType (required): Codes indicating the kind of the price component. Required Pattern: base | |
![]() ![]() ![]() ![]() ![]() |
S | 1..1 | Money | Monetary amount associated with this component |
![]() ![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | decimal | Numerical value (with implicit precision) |
![]() ![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | code | ISO 4217 Currency Code Binding: Currencies (required): A code indicating the currency, taken from ISO 4217. |
![]() ![]() ![]() ![]() |
S | 1..1 | BackboneElement | UN/CEFACT 5305 tax category and the tax added to the line |
![]() ![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() ![]() |
1..1 | code | base | surcharge | deduction | discount | tax | informational Binding: InvoicePriceComponentType (required): Codes indicating the kind of the price component. Required Pattern: tax | |
![]() ![]() ![]() ![]() ![]() |
S | 1..1 | CodeableConcept | Exactly one UN/CEFACT 5305 tax category for the line Binding: German Private Invoice Tax Category (required) |
![]() ![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | Coding | Code defined by a terminology system |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | uri | Identity of the terminology system Fixed Value: urn:un:unece:uncefact:codelist:standard:5305 |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | code | Symbol in syntax defined by the system |
![]() ![]() ![]() ![]() ![]() |
S | 1..1 | Money | Monetary amount associated with this component |
![]() ![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | decimal | Numerical value (with implicit precision) |
![]() ![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | code | ISO 4217 Currency Code Binding: Currencies (required): A code indicating the currency, taken from ISO 4217. |
![]() ![]() |
0..* | See priceComponent (Invoice) | Components of Invoice total Slice: Unordered, Open by value:type, value:code.coding.system | |
![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() |
1..1 | code | base | surcharge | deduction | discount | tax | informational Binding: InvoicePriceComponentType (required): Codes indicating the kind of the price component. | |
![]() ![]() ![]() |
S | 0..* | BackboneElement | Standardized deduction stated beside the totals; not subtracted from totalNet or totalGross |
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() |
1..1 | code | base | surcharge | deduction | discount | tax | informational Binding: InvoicePriceComponentType (required): Codes indicating the kind of the price component. Required Pattern: deduction | |
![]() ![]() ![]() ![]() |
S | 1..1 | CodeableConcept | FestzuschussKasse (statutory fixed subsidy) or VorleistungKst (another payer's prior payment) Binding: Digitale Patientenrechnung Art des Abzugs von der Summe der gesamten Rechnungspositionen (required) |
![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | Coding | Code defined by a terminology system |
![]() ![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | uri | Identity of the terminology system Fixed Value: https://gematik.de/fhir/dipag/CodeSystem/dipag-total-price-component-type-cs |
![]() ![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | code | Symbol in syntax defined by the system |
![]() ![]() ![]() ![]() |
S | 1..1 | Money | Monetary amount associated with this component |
![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | decimal | Numerical value (with implicit precision) |
![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | code | ISO 4217 Currency Code Binding: Currencies (required): A code indicating the currency, taken from ISO 4217. |
![]() ![]() |
SΣ | 1..1 | Money | Sum of the net base amounts, not reduced by a deduction |
![]() ![]() ![]() |
SΣ | 1..1 | decimal | Numerical value (with implicit precision) |
![]() ![]() ![]() |
SΣ | 1..1 | code | ISO 4217 Currency Code Binding: Currencies (required): A code indicating the currency, taken from ISO 4217. |
![]() ![]() |
SΣ | 1..1 | Money | Net total plus the tax of every line, not reduced by a deduction |
![]() ![]() ![]() |
SΣ | 1..1 | decimal | Numerical value (with implicit precision) |
![]() ![]() ![]() |
SΣ | 1..1 | code | ISO 4217 Currency Code Binding: Currencies (required): A code indicating the currency, taken from ISO 4217. |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Invoice.status | Base | required | InvoiceStatus | 📍4.0.1 | FHIR Std. |
| Invoice.type | Base | preferred | Dental Invoice Type | 📦0.65.0 | This IG |
| Invoice.lineItem.priceComponent.type | Base | required | InvoicePriceComponentType | 📍4.0.1 | FHIR Std. |
| Invoice.lineItem.priceComponent:base.type | Base | required | InvoicePriceComponentType | 📍4.0.1 | FHIR Std. |
| Invoice.lineItem.priceComponent:base.amount.currency | Base | required | CurrencyCode | 📍4.0.1 | FHIR Std. |
| Invoice.lineItem.priceComponent:tax.type | Base | required | InvoicePriceComponentType | 📍4.0.1 | FHIR Std. |
| Invoice.lineItem.priceComponent:tax.code | Base | required | German Private Invoice Tax Category | 📦0.9.0 | German Ambulatory Billing FHIR Contract v0.9 |
| Invoice.lineItem.priceComponent:tax.amount.currency | Base | required | CurrencyCode | 📍4.0.1 | FHIR Std. |
| Invoice.totalPriceComponent.type | Base | required | InvoicePriceComponentType | 📍4.0.1 | FHIR Std. |
| Invoice.totalPriceComponent:gematikDeduction.type | Base | required | InvoicePriceComponentType | 📍4.0.1 | FHIR Std. |
| Invoice.totalPriceComponent:gematikDeduction.code | Base | required | Digitale Patientenrechnung Art des Abzugs von der Summe der gesamten Rechnungspositionen | 📦1.0.7 | de.gematik.dipag v1.4 |
| Invoice.totalPriceComponent:gematikDeduction.amount.currency | Base | required | CurrencyCode | 📍4.0.1 | FHIR Std. |
| Invoice.totalNet.currency | Base | required | CurrencyCode | 📍4.0.1 | FHIR Std. |
| Invoice.totalGross.currency | Base | required | CurrencyCode | 📍4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| dental-invoice-currency | error | Invoice | Every line amount and both totals share one currency, so the totals add amounts of the same currency. |
(totalNet.currency | totalGross.currency | lineItem.priceComponent.amount.currency).count() = 1
|
| dental-invoice-exemption-reason | error | Invoice | The invoice states a VAT exemption reason when, and only when, at least one line carries tax category E. A tax amount of zero alone does not show an exemption. |
lineItem.priceComponent.where(type = 'tax').code.coding.where(system = 'urn:un:unece:uncefact:codelist:standard:5305' and code = 'E').exists() = extension.where(url = 'https://fhir.cognovis.de/billing/StructureDefinition/billing-tax-exemption-reason').exists()
|
| dental-invoice-totals | error | Invoice | totalNet is the sum of the net base amounts of all lines, and totalGross is totalNet plus the tax amounts of all lines. A deduction in totalPriceComponent is not subtracted from either total. |
totalNet.value = lineItem.priceComponent.where(type = 'base').amount.value.aggregate($total + $this, 0) and totalGross.value = totalNet.value + lineItem.priceComponent.where(type = 'tax').amount.value.aggregate($total + $this, 0)
|
| dom-2 | error | Invoice | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | Invoice | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource |
contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
|
| dom-4 | error | Invoice | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated |
contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
|
| dom-5 | error | Invoice | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | Invoice | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
This structure is derived from Invoice
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | Invoice | Invoice containing ChargeItems from an Account Constraints: dental-invoice-exemption-reason, dental-invoice-totals, dental-invoice-currency |
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
S | 0..1 | CodeableConcept | Legal reason for VAT exemption; required when, and only when, a line is exempt (tax category E) URL: https://fhir.cognovis.de/billing/StructureDefinition/billing-tax-exemption-reason |
![]() ![]() |
S | 1..1 | code | draft | issued | balanced | cancelled | entered-in-error |
![]() ![]() |
S | 0..1 | CodeableConcept | Private, prosthetics own-share or additional-cost invoice; optional Binding: Dental Invoice Type (preferred) |
![]() ![]() |
S | 1..1 | Reference(Patient) | Recipient(s) of goods and services |
![]() ![]() |
S | 1..1 | Reference(Organization | Patient | RelatedPerson) | Invoice recipient; no KVNR required |
![]() ![]() |
S | 1..1 | dateTime | Invoice date |
![]() ![]() |
S | 1..1 | Reference(Organization) | Issuing Organization of Invoice |
![]() ![]() |
S | 1..1 | Reference(Account) | Billing case, cost plan or additional-cost agreement plan the invoice belongs to |
![]() ![]() |
S | 1..* | BackboneElement | Line items of this Invoice |
![]() ![]() ![]() |
S | 0..1 | positiveInt | Sequence number of line item |
![]() ![]() ![]() |
S | 1..1 | Reference(ChargeItem) | Billing line of the invoice, such as a DentalBillingLineDE line |
![]() ![]() ![]() |
2..* | BackboneElement | Components of total line item price Slice: Unordered, Open by value:type | |
![]() ![]() ![]() ![]() |
S | 1..1 | BackboneElement | Net line amount; may carry the applied factor |
![]() ![]() ![]() ![]() ![]() |
1..1 | code | base | surcharge | deduction | discount | tax | informational Required Pattern: base | |
![]() ![]() ![]() ![]() ![]() |
S | 1..1 | Money | Monetary amount associated with this component |
![]() ![]() ![]() ![]() ![]() ![]() |
S | 1..1 | decimal | Numerical value (with implicit precision) |
![]() ![]() ![]() ![]() ![]() ![]() |
S | 1..1 | code | ISO 4217 Currency Code |
![]() ![]() ![]() ![]() |
S | 1..1 | BackboneElement | UN/CEFACT 5305 tax category and the tax added to the line |
![]() ![]() ![]() ![]() ![]() |
1..1 | code | base | surcharge | deduction | discount | tax | informational Required Pattern: tax | |
![]() ![]() ![]() ![]() ![]() |
S | 1..1 | CodeableConcept | Exactly one UN/CEFACT 5305 tax category for the line Binding: German Private Invoice Tax Category (required) |
![]() ![]() ![]() ![]() ![]() ![]() |
S | 1..1 | Coding | Code defined by a terminology system |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
S | 1..1 | uri | Identity of the terminology system Fixed Value: urn:un:unece:uncefact:codelist:standard:5305 |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
S | 1..1 | code | Symbol in syntax defined by the system |
![]() ![]() ![]() ![]() ![]() |
S | 1..1 | Money | Monetary amount associated with this component |
![]() ![]() ![]() ![]() ![]() ![]() |
S | 1..1 | decimal | Numerical value (with implicit precision) |
![]() ![]() ![]() ![]() ![]() ![]() |
S | 1..1 | code | ISO 4217 Currency Code |
![]() ![]() |
0..* | Components of Invoice total Slice: Unordered, Open by value:type, value:code.coding.system | ||
![]() ![]() ![]() |
S | 0..* | BackboneElement | Standardized deduction stated beside the totals; not subtracted from totalNet or totalGross |
![]() ![]() ![]() ![]() |
1..1 | code | base | surcharge | deduction | discount | tax | informational Required Pattern: deduction | |
![]() ![]() ![]() ![]() |
S | 1..1 | CodeableConcept | FestzuschussKasse (statutory fixed subsidy) or VorleistungKst (another payer's prior payment) Binding: Digitale Patientenrechnung Art des Abzugs von der Summe der gesamten Rechnungspositionen (required) |
![]() ![]() ![]() ![]() ![]() |
S | 1..1 | Coding | Code defined by a terminology system |
![]() ![]() ![]() ![]() ![]() ![]() |
S | 1..1 | uri | Identity of the terminology system Fixed Value: https://gematik.de/fhir/dipag/CodeSystem/dipag-total-price-component-type-cs |
![]() ![]() ![]() ![]() ![]() ![]() |
S | 1..1 | code | Symbol in syntax defined by the system |
![]() ![]() ![]() ![]() |
0..0 | Factor used for calculating this component | ||
![]() ![]() ![]() ![]() |
S | 1..1 | Money | Monetary amount associated with this component |
![]() ![]() ![]() ![]() ![]() |
S | 1..1 | decimal | Numerical value (with implicit precision) |
![]() ![]() ![]() ![]() ![]() |
S | 1..1 | code | ISO 4217 Currency Code |
![]() ![]() |
S | 1..1 | Money | Sum of the net base amounts, not reduced by a deduction |
![]() ![]() ![]() |
S | 1..1 | decimal | Numerical value (with implicit precision) |
![]() ![]() ![]() |
S | 1..1 | code | ISO 4217 Currency Code |
![]() ![]() |
S | 1..1 | Money | Net total plus the tax of every line, not reduced by a deduction |
![]() ![]() ![]() |
S | 1..1 | decimal | Numerical value (with implicit precision) |
![]() ![]() ![]() |
S | 1..1 | code | ISO 4217 Currency Code |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Invoice.type | Base | preferred | Dental Invoice Type | 📦0.65.0 | This IG |
| Invoice.lineItem.priceComponent:tax.code | Base | required | German Private Invoice Tax Category | 📦0.9.0 | German Ambulatory Billing FHIR Contract v0.9 |
| Invoice.totalPriceComponent:gematikDeduction.code | Base | required | Digitale Patientenrechnung Art des Abzugs von der Summe der gesamten Rechnungspositionen | 📦1.0.7 | de.gematik.dipag v1.4 |
| Id | Grade | Path(s) | Description | Expression |
| dental-invoice-currency | error | Invoice | Every line amount and both totals share one currency, so the totals add amounts of the same currency. |
(totalNet.currency | totalGross.currency | lineItem.priceComponent.amount.currency).count() = 1
|
| dental-invoice-exemption-reason | error | Invoice | The invoice states a VAT exemption reason when, and only when, at least one line carries tax category E. A tax amount of zero alone does not show an exemption. |
lineItem.priceComponent.where(type = 'tax').code.coding.where(system = 'urn:un:unece:uncefact:codelist:standard:5305' and code = 'E').exists() = extension.where(url = 'https://fhir.cognovis.de/billing/StructureDefinition/billing-tax-exemption-reason').exists()
|
| dental-invoice-totals | error | Invoice | totalNet is the sum of the net base amounts of all lines, and totalGross is totalNet plus the tax amounts of all lines. A deduction in totalPriceComponent is not subtracted from either total. |
totalNet.value = lineItem.priceComponent.where(type = 'base').amount.value.aggregate($total + $this, 0) and totalGross.value = totalNet.value + lineItem.priceComponent.where(type = 'tax').amount.value.aggregate($total + $this, 0)
|
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
C | 0..* | Invoice | Invoice containing ChargeItems from an Account Constraints: dental-invoice-exemption-reason, dental-invoice-totals, dental-invoice-currency | ||||
![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact | ||||
![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource | ||||
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
![]() ![]() |
0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
| |||||
![]() ![]() |
0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements | |||||
![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
S | 0..1 | CodeableConcept | Legal reason for VAT exemption; required when, and only when, a line is exempt (tax category E) URL: https://fhir.cognovis.de/billing/StructureDefinition/billing-tax-exemption-reason | ||||
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() |
Σ | 0..* | Identifier | Business Identifier for item | ||||
![]() ![]() |
?!SΣ | 1..1 | code | draft | issued | balanced | cancelled | entered-in-error Binding: InvoiceStatus (required): Codes identifying the lifecycle stage of an Invoice. | ||||
![]() ![]() |
0..1 | string | Reason for cancellation of this Invoice | |||||
![]() ![]() |
SΣ | 0..1 | CodeableConcept | Private, prosthetics own-share or additional-cost invoice; optional Binding: Dental Invoice Type (preferred) | ||||
![]() ![]() |
SΣ | 1..1 | Reference(Patient) | Recipient(s) of goods and services | ||||
![]() ![]() |
SΣ | 1..1 | Reference(Organization | Patient | RelatedPerson) | Invoice recipient; no KVNR required | ||||
![]() ![]() |
SΣ | 1..1 | dateTime | Invoice date | ||||
![]() ![]() |
0..* | BackboneElement | Participant in creation of this Invoice | |||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() |
0..1 | CodeableConcept | Type of involvement in creation of this Invoice | |||||
![]() ![]() ![]() |
1..1 | Reference(Practitioner | Organization | Patient | PractitionerRole | Device | RelatedPerson) | Individual who was involved | |||||
![]() ![]() |
S | 1..1 | Reference(Organization) | Issuing Organization of Invoice | ||||
![]() ![]() |
S | 1..1 | Reference(Account) | Billing case, cost plan or additional-cost agreement plan the invoice belongs to | ||||
![]() ![]() |
S | 1..* | BackboneElement | Line items of this Invoice | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() |
S | 0..1 | positiveInt | Sequence number of line item | ||||
![]() ![]() ![]() |
S | 1..1 | Reference(ChargeItem) | Billing line of the invoice, such as a DentalBillingLineDE line | ||||
![]() ![]() ![]() |
2..* | BackboneElement | Components of total line item price Slice: Unordered, Open by value:type | |||||
![]() ![]() ![]() ![]() |
Content/Rules for all slices | |||||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() ![]() |
1..1 | code | base | surcharge | deduction | discount | tax | informational Binding: InvoicePriceComponentType (required): Codes indicating the kind of the price component. | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | Code identifying the specific component | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | decimal | Factor used for calculating this component | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | Money | Monetary amount associated with this component | |||||
![]() ![]() ![]() ![]() |
S | 1..1 | BackboneElement | Net line amount; may carry the applied factor | ||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() ![]() |
1..1 | code | base | surcharge | deduction | discount | tax | informational Binding: InvoicePriceComponentType (required): Codes indicating the kind of the price component. Required Pattern: base | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | Code identifying the specific component | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | decimal | Factor used for calculating this component | |||||
![]() ![]() ![]() ![]() ![]() |
S | 1..1 | Money | Monetary amount associated with this component | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | decimal | Numerical value (with implicit precision) | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | code | ISO 4217 Currency Code Binding: Currencies (required): A code indicating the currency, taken from ISO 4217. | ||||
![]() ![]() ![]() ![]() |
S | 1..1 | BackboneElement | UN/CEFACT 5305 tax category and the tax added to the line | ||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() ![]() |
1..1 | code | base | surcharge | deduction | discount | tax | informational Binding: InvoicePriceComponentType (required): Codes indicating the kind of the price component. Required Pattern: tax | |||||
![]() ![]() ![]() ![]() ![]() |
S | 1..1 | CodeableConcept | Exactly one UN/CEFACT 5305 tax category for the line Binding: German Private Invoice Tax Category (required) | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | Coding | Code defined by a terminology system | ||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | uri | Identity of the terminology system Fixed Value: urn:un:unece:uncefact:codelist:standard:5305 | ||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Version of the system - if relevant | ||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | code | Symbol in syntax defined by the system | ||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Representation defined by the system | ||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | boolean | If this coding was chosen directly by the user | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Plain text representation of the concept | ||||
![]() ![]() ![]() ![]() ![]() |
0..1 | decimal | Factor used for calculating this component | |||||
![]() ![]() ![]() ![]() ![]() |
S | 1..1 | Money | Monetary amount associated with this component | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | decimal | Numerical value (with implicit precision) | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | code | ISO 4217 Currency Code Binding: Currencies (required): A code indicating the currency, taken from ISO 4217. | ||||
![]() ![]() |
0..* | See priceComponent (Invoice) | Components of Invoice total Slice: Unordered, Open by value:type, value:code.coding.system | |||||
![]() ![]() ![]() |
Content/Rules for all slices | |||||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() |
1..1 | code | base | surcharge | deduction | discount | tax | informational Binding: InvoicePriceComponentType (required): Codes indicating the kind of the price component. | |||||
![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | Code identifying the specific component | |||||
![]() ![]() ![]() ![]() |
0..1 | decimal | Factor used for calculating this component | |||||
![]() ![]() ![]() ![]() |
0..1 | Money | Monetary amount associated with this component | |||||
![]() ![]() ![]() |
S | 0..* | BackboneElement | Standardized deduction stated beside the totals; not subtracted from totalNet or totalGross | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() |
1..1 | code | base | surcharge | deduction | discount | tax | informational Binding: InvoicePriceComponentType (required): Codes indicating the kind of the price component. Required Pattern: deduction | |||||
![]() ![]() ![]() ![]() |
S | 1..1 | CodeableConcept | FestzuschussKasse (statutory fixed subsidy) or VorleistungKst (another payer's prior payment) Binding: Digitale Patientenrechnung Art des Abzugs von der Summe der gesamten Rechnungspositionen (required) | ||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | Coding | Code defined by a terminology system | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | uri | Identity of the terminology system Fixed Value: https://gematik.de/fhir/dipag/CodeSystem/dipag-total-price-component-type-cs | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Version of the system - if relevant | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | code | Symbol in syntax defined by the system | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Representation defined by the system | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | boolean | If this coding was chosen directly by the user | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Plain text representation of the concept | ||||
![]() ![]() ![]() ![]() |
S | 1..1 | Money | Monetary amount associated with this component | ||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | decimal | Numerical value (with implicit precision) | ||||
![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | code | ISO 4217 Currency Code Binding: Currencies (required): A code indicating the currency, taken from ISO 4217. | ||||
![]() ![]() |
SΣ | 1..1 | Money | Sum of the net base amounts, not reduced by a deduction | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
SΣ | 1..1 | decimal | Numerical value (with implicit precision) | ||||
![]() ![]() ![]() |
SΣ | 1..1 | code | ISO 4217 Currency Code Binding: Currencies (required): A code indicating the currency, taken from ISO 4217. | ||||
![]() ![]() |
SΣ | 1..1 | Money | Net total plus the tax of every line, not reduced by a deduction | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
SΣ | 1..1 | decimal | Numerical value (with implicit precision) | ||||
![]() ![]() ![]() |
SΣ | 1..1 | code | ISO 4217 Currency Code Binding: Currencies (required): A code indicating the currency, taken from ISO 4217. | ||||
![]() ![]() |
0..1 | markdown | Payment details | |||||
![]() ![]() |
0..* | Annotation | Comments made about the invoice | |||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| Invoice.language | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std. |
| Invoice.status | Base | required | InvoiceStatus | 📍4.0.1 | FHIR Std. |
| Invoice.type | Base | preferred | Dental Invoice Type | 📦0.65.0 | This IG |
| Invoice.lineItem.priceComponent.type | Base | required | InvoicePriceComponentType | 📍4.0.1 | FHIR Std. |
| Invoice.lineItem.priceComponent:base.type | Base | required | InvoicePriceComponentType | 📍4.0.1 | FHIR Std. |
| Invoice.lineItem.priceComponent:base.amount.currency | Base | required | CurrencyCode | 📍4.0.1 | FHIR Std. |
| Invoice.lineItem.priceComponent:tax.type | Base | required | InvoicePriceComponentType | 📍4.0.1 | FHIR Std. |
| Invoice.lineItem.priceComponent:tax.code | Base | required | German Private Invoice Tax Category | 📦0.9.0 | German Ambulatory Billing FHIR Contract v0.9 |
| Invoice.lineItem.priceComponent:tax.amount.currency | Base | required | CurrencyCode | 📍4.0.1 | FHIR Std. |
| Invoice.totalPriceComponent.type | Base | required | InvoicePriceComponentType | 📍4.0.1 | FHIR Std. |
| Invoice.totalPriceComponent:gematikDeduction.type | Base | required | InvoicePriceComponentType | 📍4.0.1 | FHIR Std. |
| Invoice.totalPriceComponent:gematikDeduction.code | Base | required | Digitale Patientenrechnung Art des Abzugs von der Summe der gesamten Rechnungspositionen | 📦1.0.7 | de.gematik.dipag v1.4 |
| Invoice.totalPriceComponent:gematikDeduction.amount.currency | Base | required | CurrencyCode | 📍4.0.1 | FHIR Std. |
| Invoice.totalNet.currency | Base | required | CurrencyCode | 📍4.0.1 | FHIR Std. |
| Invoice.totalGross.currency | Base | required | CurrencyCode | 📍4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| dental-invoice-currency | error | Invoice | Every line amount and both totals share one currency, so the totals add amounts of the same currency. |
(totalNet.currency | totalGross.currency | lineItem.priceComponent.amount.currency).count() = 1
|
| dental-invoice-exemption-reason | error | Invoice | The invoice states a VAT exemption reason when, and only when, at least one line carries tax category E. A tax amount of zero alone does not show an exemption. |
lineItem.priceComponent.where(type = 'tax').code.coding.where(system = 'urn:un:unece:uncefact:codelist:standard:5305' and code = 'E').exists() = extension.where(url = 'https://fhir.cognovis.de/billing/StructureDefinition/billing-tax-exemption-reason').exists()
|
| dental-invoice-totals | error | Invoice | totalNet is the sum of the net base amounts of all lines, and totalGross is totalNet plus the tax amounts of all lines. A deduction in totalPriceComponent is not subtracted from either total. |
totalNet.value = lineItem.priceComponent.where(type = 'base').amount.value.aggregate($total + $this, 0) and totalGross.value = totalNet.value + lineItem.priceComponent.where(type = 'tax').amount.value.aggregate($total + $this, 0)
|
| dom-2 | error | Invoice | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | Invoice | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource |
contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
|
| dom-4 | error | Invoice | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated |
contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
|
| dom-5 | error | Invoice | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | Invoice | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
This structure is derived from Invoice
Summary
Mandatory: 24 elements(7 nested mandatory elements)
Must-Support: 37 elements
Fixed: 2 elements
Prohibited: 1 element
Extensions
This structure refers to these extensions:
Slices
This structure defines the following Slices:
Key Elements View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | Invoice | Invoice containing ChargeItems from an Account Constraints: dental-invoice-exemption-reason, dental-invoice-totals, dental-invoice-currency |
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
S | 0..1 | CodeableConcept | Legal reason for VAT exemption; required when, and only when, a line is exempt (tax category E) URL: https://fhir.cognovis.de/billing/StructureDefinition/billing-tax-exemption-reason |
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() |
?!SΣ | 1..1 | code | draft | issued | balanced | cancelled | entered-in-error Binding: InvoiceStatus (required): Codes identifying the lifecycle stage of an Invoice. |
![]() ![]() |
SΣ | 0..1 | CodeableConcept | Private, prosthetics own-share or additional-cost invoice; optional Binding: Dental Invoice Type (preferred) |
![]() ![]() |
SΣ | 1..1 | Reference(Patient) | Recipient(s) of goods and services |
![]() ![]() |
SΣ | 1..1 | Reference(Organization | Patient | RelatedPerson) | Invoice recipient; no KVNR required |
![]() ![]() |
SΣ | 1..1 | dateTime | Invoice date |
![]() ![]() |
S | 1..1 | Reference(Organization) | Issuing Organization of Invoice |
![]() ![]() |
S | 1..1 | Reference(Account) | Billing case, cost plan or additional-cost agreement plan the invoice belongs to |
![]() ![]() |
S | 1..* | BackboneElement | Line items of this Invoice |
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() |
S | 0..1 | positiveInt | Sequence number of line item |
![]() ![]() ![]() |
S | 1..1 | Reference(ChargeItem) | Billing line of the invoice, such as a DentalBillingLineDE line |
![]() ![]() ![]() |
2..* | BackboneElement | Components of total line item price Slice: Unordered, Open by value:type | |
![]() ![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() ![]() |
1..1 | code | base | surcharge | deduction | discount | tax | informational Binding: InvoicePriceComponentType (required): Codes indicating the kind of the price component. | |
![]() ![]() ![]() ![]() |
S | 1..1 | BackboneElement | Net line amount; may carry the applied factor |
![]() ![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() ![]() |
1..1 | code | base | surcharge | deduction | discount | tax | informational Binding: InvoicePriceComponentType (required): Codes indicating the kind of the price component. Required Pattern: base | |
![]() ![]() ![]() ![]() ![]() |
S | 1..1 | Money | Monetary amount associated with this component |
![]() ![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | decimal | Numerical value (with implicit precision) |
![]() ![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | code | ISO 4217 Currency Code Binding: Currencies (required): A code indicating the currency, taken from ISO 4217. |
![]() ![]() ![]() ![]() |
S | 1..1 | BackboneElement | UN/CEFACT 5305 tax category and the tax added to the line |
![]() ![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() ![]() |
1..1 | code | base | surcharge | deduction | discount | tax | informational Binding: InvoicePriceComponentType (required): Codes indicating the kind of the price component. Required Pattern: tax | |
![]() ![]() ![]() ![]() ![]() |
S | 1..1 | CodeableConcept | Exactly one UN/CEFACT 5305 tax category for the line Binding: German Private Invoice Tax Category (required) |
![]() ![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | Coding | Code defined by a terminology system |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | uri | Identity of the terminology system Fixed Value: urn:un:unece:uncefact:codelist:standard:5305 |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | code | Symbol in syntax defined by the system |
![]() ![]() ![]() ![]() ![]() |
S | 1..1 | Money | Monetary amount associated with this component |
![]() ![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | decimal | Numerical value (with implicit precision) |
![]() ![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | code | ISO 4217 Currency Code Binding: Currencies (required): A code indicating the currency, taken from ISO 4217. |
![]() ![]() |
0..* | See priceComponent (Invoice) | Components of Invoice total Slice: Unordered, Open by value:type, value:code.coding.system | |
![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() |
1..1 | code | base | surcharge | deduction | discount | tax | informational Binding: InvoicePriceComponentType (required): Codes indicating the kind of the price component. | |
![]() ![]() ![]() |
S | 0..* | BackboneElement | Standardized deduction stated beside the totals; not subtracted from totalNet or totalGross |
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() |
1..1 | code | base | surcharge | deduction | discount | tax | informational Binding: InvoicePriceComponentType (required): Codes indicating the kind of the price component. Required Pattern: deduction | |
![]() ![]() ![]() ![]() |
S | 1..1 | CodeableConcept | FestzuschussKasse (statutory fixed subsidy) or VorleistungKst (another payer's prior payment) Binding: Digitale Patientenrechnung Art des Abzugs von der Summe der gesamten Rechnungspositionen (required) |
![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | Coding | Code defined by a terminology system |
![]() ![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | uri | Identity of the terminology system Fixed Value: https://gematik.de/fhir/dipag/CodeSystem/dipag-total-price-component-type-cs |
![]() ![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | code | Symbol in syntax defined by the system |
![]() ![]() ![]() ![]() |
S | 1..1 | Money | Monetary amount associated with this component |
![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | decimal | Numerical value (with implicit precision) |
![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | code | ISO 4217 Currency Code Binding: Currencies (required): A code indicating the currency, taken from ISO 4217. |
![]() ![]() |
SΣ | 1..1 | Money | Sum of the net base amounts, not reduced by a deduction |
![]() ![]() ![]() |
SΣ | 1..1 | decimal | Numerical value (with implicit precision) |
![]() ![]() ![]() |
SΣ | 1..1 | code | ISO 4217 Currency Code Binding: Currencies (required): A code indicating the currency, taken from ISO 4217. |
![]() ![]() |
SΣ | 1..1 | Money | Net total plus the tax of every line, not reduced by a deduction |
![]() ![]() ![]() |
SΣ | 1..1 | decimal | Numerical value (with implicit precision) |
![]() ![]() ![]() |
SΣ | 1..1 | code | ISO 4217 Currency Code Binding: Currencies (required): A code indicating the currency, taken from ISO 4217. |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Invoice.status | Base | required | InvoiceStatus | 📍4.0.1 | FHIR Std. |
| Invoice.type | Base | preferred | Dental Invoice Type | 📦0.65.0 | This IG |
| Invoice.lineItem.priceComponent.type | Base | required | InvoicePriceComponentType | 📍4.0.1 | FHIR Std. |
| Invoice.lineItem.priceComponent:base.type | Base | required | InvoicePriceComponentType | 📍4.0.1 | FHIR Std. |
| Invoice.lineItem.priceComponent:base.amount.currency | Base | required | CurrencyCode | 📍4.0.1 | FHIR Std. |
| Invoice.lineItem.priceComponent:tax.type | Base | required | InvoicePriceComponentType | 📍4.0.1 | FHIR Std. |
| Invoice.lineItem.priceComponent:tax.code | Base | required | German Private Invoice Tax Category | 📦0.9.0 | German Ambulatory Billing FHIR Contract v0.9 |
| Invoice.lineItem.priceComponent:tax.amount.currency | Base | required | CurrencyCode | 📍4.0.1 | FHIR Std. |
| Invoice.totalPriceComponent.type | Base | required | InvoicePriceComponentType | 📍4.0.1 | FHIR Std. |
| Invoice.totalPriceComponent:gematikDeduction.type | Base | required | InvoicePriceComponentType | 📍4.0.1 | FHIR Std. |
| Invoice.totalPriceComponent:gematikDeduction.code | Base | required | Digitale Patientenrechnung Art des Abzugs von der Summe der gesamten Rechnungspositionen | 📦1.0.7 | de.gematik.dipag v1.4 |
| Invoice.totalPriceComponent:gematikDeduction.amount.currency | Base | required | CurrencyCode | 📍4.0.1 | FHIR Std. |
| Invoice.totalNet.currency | Base | required | CurrencyCode | 📍4.0.1 | FHIR Std. |
| Invoice.totalGross.currency | Base | required | CurrencyCode | 📍4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| dental-invoice-currency | error | Invoice | Every line amount and both totals share one currency, so the totals add amounts of the same currency. |
(totalNet.currency | totalGross.currency | lineItem.priceComponent.amount.currency).count() = 1
|
| dental-invoice-exemption-reason | error | Invoice | The invoice states a VAT exemption reason when, and only when, at least one line carries tax category E. A tax amount of zero alone does not show an exemption. |
lineItem.priceComponent.where(type = 'tax').code.coding.where(system = 'urn:un:unece:uncefact:codelist:standard:5305' and code = 'E').exists() = extension.where(url = 'https://fhir.cognovis.de/billing/StructureDefinition/billing-tax-exemption-reason').exists()
|
| dental-invoice-totals | error | Invoice | totalNet is the sum of the net base amounts of all lines, and totalGross is totalNet plus the tax amounts of all lines. A deduction in totalPriceComponent is not subtracted from either total. |
totalNet.value = lineItem.priceComponent.where(type = 'base').amount.value.aggregate($total + $this, 0) and totalGross.value = totalNet.value + lineItem.priceComponent.where(type = 'tax').amount.value.aggregate($total + $this, 0)
|
| dom-2 | error | Invoice | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | Invoice | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource |
contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
|
| dom-4 | error | Invoice | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated |
contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
|
| dom-5 | error | Invoice | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | Invoice | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
Differential View
This structure is derived from Invoice
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | Invoice | Invoice containing ChargeItems from an Account Constraints: dental-invoice-exemption-reason, dental-invoice-totals, dental-invoice-currency |
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
S | 0..1 | CodeableConcept | Legal reason for VAT exemption; required when, and only when, a line is exempt (tax category E) URL: https://fhir.cognovis.de/billing/StructureDefinition/billing-tax-exemption-reason |
![]() ![]() |
S | 1..1 | code | draft | issued | balanced | cancelled | entered-in-error |
![]() ![]() |
S | 0..1 | CodeableConcept | Private, prosthetics own-share or additional-cost invoice; optional Binding: Dental Invoice Type (preferred) |
![]() ![]() |
S | 1..1 | Reference(Patient) | Recipient(s) of goods and services |
![]() ![]() |
S | 1..1 | Reference(Organization | Patient | RelatedPerson) | Invoice recipient; no KVNR required |
![]() ![]() |
S | 1..1 | dateTime | Invoice date |
![]() ![]() |
S | 1..1 | Reference(Organization) | Issuing Organization of Invoice |
![]() ![]() |
S | 1..1 | Reference(Account) | Billing case, cost plan or additional-cost agreement plan the invoice belongs to |
![]() ![]() |
S | 1..* | BackboneElement | Line items of this Invoice |
![]() ![]() ![]() |
S | 0..1 | positiveInt | Sequence number of line item |
![]() ![]() ![]() |
S | 1..1 | Reference(ChargeItem) | Billing line of the invoice, such as a DentalBillingLineDE line |
![]() ![]() ![]() |
2..* | BackboneElement | Components of total line item price Slice: Unordered, Open by value:type | |
![]() ![]() ![]() ![]() |
S | 1..1 | BackboneElement | Net line amount; may carry the applied factor |
![]() ![]() ![]() ![]() ![]() |
1..1 | code | base | surcharge | deduction | discount | tax | informational Required Pattern: base | |
![]() ![]() ![]() ![]() ![]() |
S | 1..1 | Money | Monetary amount associated with this component |
![]() ![]() ![]() ![]() ![]() ![]() |
S | 1..1 | decimal | Numerical value (with implicit precision) |
![]() ![]() ![]() ![]() ![]() ![]() |
S | 1..1 | code | ISO 4217 Currency Code |
![]() ![]() ![]() ![]() |
S | 1..1 | BackboneElement | UN/CEFACT 5305 tax category and the tax added to the line |
![]() ![]() ![]() ![]() ![]() |
1..1 | code | base | surcharge | deduction | discount | tax | informational Required Pattern: tax | |
![]() ![]() ![]() ![]() ![]() |
S | 1..1 | CodeableConcept | Exactly one UN/CEFACT 5305 tax category for the line Binding: German Private Invoice Tax Category (required) |
![]() ![]() ![]() ![]() ![]() ![]() |
S | 1..1 | Coding | Code defined by a terminology system |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
S | 1..1 | uri | Identity of the terminology system Fixed Value: urn:un:unece:uncefact:codelist:standard:5305 |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
S | 1..1 | code | Symbol in syntax defined by the system |
![]() ![]() ![]() ![]() ![]() |
S | 1..1 | Money | Monetary amount associated with this component |
![]() ![]() ![]() ![]() ![]() ![]() |
S | 1..1 | decimal | Numerical value (with implicit precision) |
![]() ![]() ![]() ![]() ![]() ![]() |
S | 1..1 | code | ISO 4217 Currency Code |
![]() ![]() |
0..* | Components of Invoice total Slice: Unordered, Open by value:type, value:code.coding.system | ||
![]() ![]() ![]() |
S | 0..* | BackboneElement | Standardized deduction stated beside the totals; not subtracted from totalNet or totalGross |
![]() ![]() ![]() ![]() |
1..1 | code | base | surcharge | deduction | discount | tax | informational Required Pattern: deduction | |
![]() ![]() ![]() ![]() |
S | 1..1 | CodeableConcept | FestzuschussKasse (statutory fixed subsidy) or VorleistungKst (another payer's prior payment) Binding: Digitale Patientenrechnung Art des Abzugs von der Summe der gesamten Rechnungspositionen (required) |
![]() ![]() ![]() ![]() ![]() |
S | 1..1 | Coding | Code defined by a terminology system |
![]() ![]() ![]() ![]() ![]() ![]() |
S | 1..1 | uri | Identity of the terminology system Fixed Value: https://gematik.de/fhir/dipag/CodeSystem/dipag-total-price-component-type-cs |
![]() ![]() ![]() ![]() ![]() ![]() |
S | 1..1 | code | Symbol in syntax defined by the system |
![]() ![]() ![]() ![]() |
0..0 | Factor used for calculating this component | ||
![]() ![]() ![]() ![]() |
S | 1..1 | Money | Monetary amount associated with this component |
![]() ![]() ![]() ![]() ![]() |
S | 1..1 | decimal | Numerical value (with implicit precision) |
![]() ![]() ![]() ![]() ![]() |
S | 1..1 | code | ISO 4217 Currency Code |
![]() ![]() |
S | 1..1 | Money | Sum of the net base amounts, not reduced by a deduction |
![]() ![]() ![]() |
S | 1..1 | decimal | Numerical value (with implicit precision) |
![]() ![]() ![]() |
S | 1..1 | code | ISO 4217 Currency Code |
![]() ![]() |
S | 1..1 | Money | Net total plus the tax of every line, not reduced by a deduction |
![]() ![]() ![]() |
S | 1..1 | decimal | Numerical value (with implicit precision) |
![]() ![]() ![]() |
S | 1..1 | code | ISO 4217 Currency Code |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Invoice.type | Base | preferred | Dental Invoice Type | 📦0.65.0 | This IG |
| Invoice.lineItem.priceComponent:tax.code | Base | required | German Private Invoice Tax Category | 📦0.9.0 | German Ambulatory Billing FHIR Contract v0.9 |
| Invoice.totalPriceComponent:gematikDeduction.code | Base | required | Digitale Patientenrechnung Art des Abzugs von der Summe der gesamten Rechnungspositionen | 📦1.0.7 | de.gematik.dipag v1.4 |
| Id | Grade | Path(s) | Description | Expression |
| dental-invoice-currency | error | Invoice | Every line amount and both totals share one currency, so the totals add amounts of the same currency. |
(totalNet.currency | totalGross.currency | lineItem.priceComponent.amount.currency).count() = 1
|
| dental-invoice-exemption-reason | error | Invoice | The invoice states a VAT exemption reason when, and only when, at least one line carries tax category E. A tax amount of zero alone does not show an exemption. |
lineItem.priceComponent.where(type = 'tax').code.coding.where(system = 'urn:un:unece:uncefact:codelist:standard:5305' and code = 'E').exists() = extension.where(url = 'https://fhir.cognovis.de/billing/StructureDefinition/billing-tax-exemption-reason').exists()
|
| dental-invoice-totals | error | Invoice | totalNet is the sum of the net base amounts of all lines, and totalGross is totalNet plus the tax amounts of all lines. A deduction in totalPriceComponent is not subtracted from either total. |
totalNet.value = lineItem.priceComponent.where(type = 'base').amount.value.aggregate($total + $this, 0) and totalGross.value = totalNet.value + lineItem.priceComponent.where(type = 'tax').amount.value.aggregate($total + $this, 0)
|
Snapshot View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
C | 0..* | Invoice | Invoice containing ChargeItems from an Account Constraints: dental-invoice-exemption-reason, dental-invoice-totals, dental-invoice-currency | ||||
![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact | ||||
![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource | ||||
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
![]() ![]() |
0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
| |||||
![]() ![]() |
0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements | |||||
![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
S | 0..1 | CodeableConcept | Legal reason for VAT exemption; required when, and only when, a line is exempt (tax category E) URL: https://fhir.cognovis.de/billing/StructureDefinition/billing-tax-exemption-reason | ||||
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() |
Σ | 0..* | Identifier | Business Identifier for item | ||||
![]() ![]() |
?!SΣ | 1..1 | code | draft | issued | balanced | cancelled | entered-in-error Binding: InvoiceStatus (required): Codes identifying the lifecycle stage of an Invoice. | ||||
![]() ![]() |
0..1 | string | Reason for cancellation of this Invoice | |||||
![]() ![]() |
SΣ | 0..1 | CodeableConcept | Private, prosthetics own-share or additional-cost invoice; optional Binding: Dental Invoice Type (preferred) | ||||
![]() ![]() |
SΣ | 1..1 | Reference(Patient) | Recipient(s) of goods and services | ||||
![]() ![]() |
SΣ | 1..1 | Reference(Organization | Patient | RelatedPerson) | Invoice recipient; no KVNR required | ||||
![]() ![]() |
SΣ | 1..1 | dateTime | Invoice date | ||||
![]() ![]() |
0..* | BackboneElement | Participant in creation of this Invoice | |||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() |
0..1 | CodeableConcept | Type of involvement in creation of this Invoice | |||||
![]() ![]() ![]() |
1..1 | Reference(Practitioner | Organization | Patient | PractitionerRole | Device | RelatedPerson) | Individual who was involved | |||||
![]() ![]() |
S | 1..1 | Reference(Organization) | Issuing Organization of Invoice | ||||
![]() ![]() |
S | 1..1 | Reference(Account) | Billing case, cost plan or additional-cost agreement plan the invoice belongs to | ||||
![]() ![]() |
S | 1..* | BackboneElement | Line items of this Invoice | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() |
S | 0..1 | positiveInt | Sequence number of line item | ||||
![]() ![]() ![]() |
S | 1..1 | Reference(ChargeItem) | Billing line of the invoice, such as a DentalBillingLineDE line | ||||
![]() ![]() ![]() |
2..* | BackboneElement | Components of total line item price Slice: Unordered, Open by value:type | |||||
![]() ![]() ![]() ![]() |
Content/Rules for all slices | |||||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() ![]() |
1..1 | code | base | surcharge | deduction | discount | tax | informational Binding: InvoicePriceComponentType (required): Codes indicating the kind of the price component. | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | Code identifying the specific component | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | decimal | Factor used for calculating this component | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | Money | Monetary amount associated with this component | |||||
![]() ![]() ![]() ![]() |
S | 1..1 | BackboneElement | Net line amount; may carry the applied factor | ||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() ![]() |
1..1 | code | base | surcharge | deduction | discount | tax | informational Binding: InvoicePriceComponentType (required): Codes indicating the kind of the price component. Required Pattern: base | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | Code identifying the specific component | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | decimal | Factor used for calculating this component | |||||
![]() ![]() ![]() ![]() ![]() |
S | 1..1 | Money | Monetary amount associated with this component | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | decimal | Numerical value (with implicit precision) | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | code | ISO 4217 Currency Code Binding: Currencies (required): A code indicating the currency, taken from ISO 4217. | ||||
![]() ![]() ![]() ![]() |
S | 1..1 | BackboneElement | UN/CEFACT 5305 tax category and the tax added to the line | ||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() ![]() |
1..1 | code | base | surcharge | deduction | discount | tax | informational Binding: InvoicePriceComponentType (required): Codes indicating the kind of the price component. Required Pattern: tax | |||||
![]() ![]() ![]() ![]() ![]() |
S | 1..1 | CodeableConcept | Exactly one UN/CEFACT 5305 tax category for the line Binding: German Private Invoice Tax Category (required) | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | Coding | Code defined by a terminology system | ||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | uri | Identity of the terminology system Fixed Value: urn:un:unece:uncefact:codelist:standard:5305 | ||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Version of the system - if relevant | ||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | code | Symbol in syntax defined by the system | ||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Representation defined by the system | ||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | boolean | If this coding was chosen directly by the user | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Plain text representation of the concept | ||||
![]() ![]() ![]() ![]() ![]() |
0..1 | decimal | Factor used for calculating this component | |||||
![]() ![]() ![]() ![]() ![]() |
S | 1..1 | Money | Monetary amount associated with this component | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | decimal | Numerical value (with implicit precision) | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | code | ISO 4217 Currency Code Binding: Currencies (required): A code indicating the currency, taken from ISO 4217. | ||||
![]() ![]() |
0..* | See priceComponent (Invoice) | Components of Invoice total Slice: Unordered, Open by value:type, value:code.coding.system | |||||
![]() ![]() ![]() |
Content/Rules for all slices | |||||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() |
1..1 | code | base | surcharge | deduction | discount | tax | informational Binding: InvoicePriceComponentType (required): Codes indicating the kind of the price component. | |||||
![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | Code identifying the specific component | |||||
![]() ![]() ![]() ![]() |
0..1 | decimal | Factor used for calculating this component | |||||
![]() ![]() ![]() ![]() |
0..1 | Money | Monetary amount associated with this component | |||||
![]() ![]() ![]() |
S | 0..* | BackboneElement | Standardized deduction stated beside the totals; not subtracted from totalNet or totalGross | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() |
1..1 | code | base | surcharge | deduction | discount | tax | informational Binding: InvoicePriceComponentType (required): Codes indicating the kind of the price component. Required Pattern: deduction | |||||
![]() ![]() ![]() ![]() |
S | 1..1 | CodeableConcept | FestzuschussKasse (statutory fixed subsidy) or VorleistungKst (another payer's prior payment) Binding: Digitale Patientenrechnung Art des Abzugs von der Summe der gesamten Rechnungspositionen (required) | ||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | Coding | Code defined by a terminology system | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | uri | Identity of the terminology system Fixed Value: https://gematik.de/fhir/dipag/CodeSystem/dipag-total-price-component-type-cs | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Version of the system - if relevant | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | code | Symbol in syntax defined by the system | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Representation defined by the system | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | boolean | If this coding was chosen directly by the user | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Plain text representation of the concept | ||||
![]() ![]() ![]() ![]() |
S | 1..1 | Money | Monetary amount associated with this component | ||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | decimal | Numerical value (with implicit precision) | ||||
![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | code | ISO 4217 Currency Code Binding: Currencies (required): A code indicating the currency, taken from ISO 4217. | ||||
![]() ![]() |
SΣ | 1..1 | Money | Sum of the net base amounts, not reduced by a deduction | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
SΣ | 1..1 | decimal | Numerical value (with implicit precision) | ||||
![]() ![]() ![]() |
SΣ | 1..1 | code | ISO 4217 Currency Code Binding: Currencies (required): A code indicating the currency, taken from ISO 4217. | ||||
![]() ![]() |
SΣ | 1..1 | Money | Net total plus the tax of every line, not reduced by a deduction | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
SΣ | 1..1 | decimal | Numerical value (with implicit precision) | ||||
![]() ![]() ![]() |
SΣ | 1..1 | code | ISO 4217 Currency Code Binding: Currencies (required): A code indicating the currency, taken from ISO 4217. | ||||
![]() ![]() |
0..1 | markdown | Payment details | |||||
![]() ![]() |
0..* | Annotation | Comments made about the invoice | |||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| Invoice.language | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std. |
| Invoice.status | Base | required | InvoiceStatus | 📍4.0.1 | FHIR Std. |
| Invoice.type | Base | preferred | Dental Invoice Type | 📦0.65.0 | This IG |
| Invoice.lineItem.priceComponent.type | Base | required | InvoicePriceComponentType | 📍4.0.1 | FHIR Std. |
| Invoice.lineItem.priceComponent:base.type | Base | required | InvoicePriceComponentType | 📍4.0.1 | FHIR Std. |
| Invoice.lineItem.priceComponent:base.amount.currency | Base | required | CurrencyCode | 📍4.0.1 | FHIR Std. |
| Invoice.lineItem.priceComponent:tax.type | Base | required | InvoicePriceComponentType | 📍4.0.1 | FHIR Std. |
| Invoice.lineItem.priceComponent:tax.code | Base | required | German Private Invoice Tax Category | 📦0.9.0 | German Ambulatory Billing FHIR Contract v0.9 |
| Invoice.lineItem.priceComponent:tax.amount.currency | Base | required | CurrencyCode | 📍4.0.1 | FHIR Std. |
| Invoice.totalPriceComponent.type | Base | required | InvoicePriceComponentType | 📍4.0.1 | FHIR Std. |
| Invoice.totalPriceComponent:gematikDeduction.type | Base | required | InvoicePriceComponentType | 📍4.0.1 | FHIR Std. |
| Invoice.totalPriceComponent:gematikDeduction.code | Base | required | Digitale Patientenrechnung Art des Abzugs von der Summe der gesamten Rechnungspositionen | 📦1.0.7 | de.gematik.dipag v1.4 |
| Invoice.totalPriceComponent:gematikDeduction.amount.currency | Base | required | CurrencyCode | 📍4.0.1 | FHIR Std. |
| Invoice.totalNet.currency | Base | required | CurrencyCode | 📍4.0.1 | FHIR Std. |
| Invoice.totalGross.currency | Base | required | CurrencyCode | 📍4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| dental-invoice-currency | error | Invoice | Every line amount and both totals share one currency, so the totals add amounts of the same currency. |
(totalNet.currency | totalGross.currency | lineItem.priceComponent.amount.currency).count() = 1
|
| dental-invoice-exemption-reason | error | Invoice | The invoice states a VAT exemption reason when, and only when, at least one line carries tax category E. A tax amount of zero alone does not show an exemption. |
lineItem.priceComponent.where(type = 'tax').code.coding.where(system = 'urn:un:unece:uncefact:codelist:standard:5305' and code = 'E').exists() = extension.where(url = 'https://fhir.cognovis.de/billing/StructureDefinition/billing-tax-exemption-reason').exists()
|
| dental-invoice-totals | error | Invoice | totalNet is the sum of the net base amounts of all lines, and totalGross is totalNet plus the tax amounts of all lines. A deduction in totalPriceComponent is not subtracted from either total. |
totalNet.value = lineItem.priceComponent.where(type = 'base').amount.value.aggregate($total + $this, 0) and totalGross.value = totalNet.value + lineItem.priceComponent.where(type = 'tax').amount.value.aggregate($total + $this, 0)
|
| dom-2 | error | Invoice | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | Invoice | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource |
contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
|
| dom-4 | error | Invoice | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated |
contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
|
| dom-5 | error | Invoice | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | Invoice | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
This structure is derived from Invoice
Summary
Mandatory: 24 elements(7 nested mandatory elements)
Must-Support: 37 elements
Fixed: 2 elements
Prohibited: 1 element
Extensions
This structure refers to these extensions:
Slices
This structure defines the following Slices:
Other representations of profile: CSV, Excel, Schematron