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

Resource Profile: Dental Invoice outside the TI (DE)

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

Formal Views of Profile Content

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

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Invoice C 0..* Invoice Invoice containing ChargeItems from an Account
Constraints: dental-invoice-exemption-reason, dental-invoice-totals, dental-invoice-currency
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:taxExemptionReason 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
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... type SΣ 0..1 CodeableConcept Private, prosthetics own-share or additional-cost invoice; optional
Binding: Dental Invoice Type (preferred)
... subject SΣ 1..1 Reference(Patient) Recipient(s) of goods and services
... recipient SΣ 1..1 Reference(Organization | Patient | RelatedPerson) Invoice recipient; no KVNR required
... date SΣ 1..1 dateTime Invoice date
... issuer S 1..1 Reference(Organization) Issuing Organization of Invoice
... account S 1..1 Reference(Account) Billing case, cost plan or additional-cost agreement plan the invoice belongs to
... lineItem S 1..* BackboneElement Line items of this Invoice
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... sequence S 0..1 positiveInt Sequence number of line item
.... chargeItem[x] S 1..1 Reference(ChargeItem) Billing line of the invoice, such as a DentalBillingLineDE line
.... Slices for priceComponent 2..* BackboneElement Components of total line item price
Slice: Unordered, Open by value:type
..... priceComponent:All Slices Content/Rules for all slices
...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
...... type 1..1 code base | surcharge | deduction | discount | tax | informational
Binding: InvoicePriceComponentType (required): Codes indicating the kind of the price component.
..... priceComponent:base S 1..1 BackboneElement Net line amount; may carry the applied factor
...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
...... type 1..1 code base | surcharge | deduction | discount | tax | informational
Binding: InvoicePriceComponentType (required): Codes indicating the kind of the price component.
Required Pattern: base
...... amount S 1..1 Money Monetary amount associated with this component
....... value SΣ 1..1 decimal Numerical value (with implicit precision)
....... currency SΣ 1..1 code ISO 4217 Currency Code
Binding: Currencies (required): A code indicating the currency, taken from ISO 4217.
..... priceComponent:tax S 1..1 BackboneElement UN/CEFACT 5305 tax category and the tax added to the line
...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
...... type 1..1 code base | surcharge | deduction | discount | tax | informational
Binding: InvoicePriceComponentType (required): Codes indicating the kind of the price component.
Required Pattern: tax
...... code S 1..1 CodeableConcept Exactly one UN/CEFACT 5305 tax category for the line
Binding: German Private Invoice Tax Category (required)
....... coding SΣ 1..1 Coding Code defined by a terminology system
........ system SΣ 1..1 uri Identity of the terminology system
Fixed Value: urn:un:unece:uncefact:codelist:standard:5305
........ code SΣ 1..1 code Symbol in syntax defined by the system
...... amount S 1..1 Money Monetary amount associated with this component
....... value SΣ 1..1 decimal Numerical value (with implicit precision)
....... currency SΣ 1..1 code ISO 4217 Currency Code
Binding: Currencies (required): A code indicating the currency, taken from ISO 4217.
... Slices for totalPriceComponent 0..* See priceComponent (Invoice) Components of Invoice total
Slice: Unordered, Open by value:type, value:code.coding.system
.... totalPriceComponent:All Slices Content/Rules for all slices
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... type 1..1 code base | surcharge | deduction | discount | tax | informational
Binding: InvoicePriceComponentType (required): Codes indicating the kind of the price component.
.... totalPriceComponent:gematikDeduction S 0..* BackboneElement Standardized deduction stated beside the totals; not subtracted from totalNet or totalGross
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... type 1..1 code base | surcharge | deduction | discount | tax | informational
Binding: InvoicePriceComponentType (required): Codes indicating the kind of the price component.
Required Pattern: deduction
..... code 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)
...... coding SΣ 1..1 Coding Code defined by a terminology system
....... system SΣ 1..1 uri Identity of the terminology system
Fixed Value: https://gematik.de/fhir/dipag/CodeSystem/dipag-total-price-component-type-cs
....... code SΣ 1..1 code Symbol in syntax defined by the system
..... amount S 1..1 Money Monetary amount associated with this component
...... value SΣ 1..1 decimal Numerical value (with implicit precision)
...... currency SΣ 1..1 code ISO 4217 Currency Code
Binding: Currencies (required): A code indicating the currency, taken from ISO 4217.
... totalNet SΣ 1..1 Money Sum of the net base amounts, not reduced by a deduction
.... value SΣ 1..1 decimal Numerical value (with implicit precision)
.... currency SΣ 1..1 code ISO 4217 Currency Code
Binding: Currencies (required): A code indicating the currency, taken from ISO 4217.
... totalGross SΣ 1..1 Money Net total plus the tax of every line, not reduced by a deduction
.... value SΣ 1..1 decimal Numerical value (with implicit precision)
.... currency SΣ 1..1 code ISO 4217 Currency Code
Binding: Currencies (required): A code indicating the currency, taken from ISO 4217.

doco Documentation for this format

Terminology Bindings

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.

Constraints

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

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Invoice C 0..* Invoice Invoice containing ChargeItems from an Account
Constraints: dental-invoice-exemption-reason, dental-invoice-totals, dental-invoice-currency
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:taxExemptionReason 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
... status S 1..1 code draft | issued | balanced | cancelled | entered-in-error
... type S 0..1 CodeableConcept Private, prosthetics own-share or additional-cost invoice; optional
Binding: Dental Invoice Type (preferred)
... recipient S 1..1 Reference(Organization | Patient | RelatedPerson) Invoice recipient; no KVNR required
... date S 1..1 dateTime Invoice date
... issuer S 1..1 Reference(Organization) Issuing Organization of Invoice
... account S 1..1 Reference(Account) Billing case, cost plan or additional-cost agreement plan the invoice belongs to
... lineItem S 1..* BackboneElement Line items of this Invoice
.... sequence S 0..1 positiveInt Sequence number of line item
.... chargeItem[x] S 1..1 Reference(ChargeItem) Billing line of the invoice, such as a DentalBillingLineDE line
.... Slices for priceComponent 2..* BackboneElement Components of total line item price
Slice: Unordered, Open by value:type
..... priceComponent:base S 1..1 BackboneElement Net line amount; may carry the applied factor
...... type 1..1 code base | surcharge | deduction | discount | tax | informational
Required Pattern: base
...... amount S 1..1 Money Monetary amount associated with this component
....... value S 1..1 decimal Numerical value (with implicit precision)
....... currency S 1..1 code ISO 4217 Currency Code
..... priceComponent:tax S 1..1 BackboneElement UN/CEFACT 5305 tax category and the tax added to the line
...... type 1..1 code base | surcharge | deduction | discount | tax | informational
Required Pattern: tax
...... code S 1..1 CodeableConcept Exactly one UN/CEFACT 5305 tax category for the line
Binding: German Private Invoice Tax Category (required)
....... coding S 1..1 Coding Code defined by a terminology system
........ system S 1..1 uri Identity of the terminology system
Fixed Value: urn:un:unece:uncefact:codelist:standard:5305
........ code S 1..1 code Symbol in syntax defined by the system
...... amount S 1..1 Money Monetary amount associated with this component
....... value S 1..1 decimal Numerical value (with implicit precision)
....... currency S 1..1 code ISO 4217 Currency Code
... Slices for totalPriceComponent 0..* Components of Invoice total
Slice: Unordered, Open by value:type, value:code.coding.system
.... totalPriceComponent:gematikDeduction S 0..* BackboneElement Standardized deduction stated beside the totals; not subtracted from totalNet or totalGross
..... type 1..1 code base | surcharge | deduction | discount | tax | informational
Required Pattern: deduction
..... code 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)
...... coding S 1..1 Coding Code defined by a terminology system
....... system S 1..1 uri Identity of the terminology system
Fixed Value: https://gematik.de/fhir/dipag/CodeSystem/dipag-total-price-component-type-cs
....... code S 1..1 code Symbol in syntax defined by the system
..... factor 0..0 Factor used for calculating this component
..... amount S 1..1 Money Monetary amount associated with this component
...... value S 1..1 decimal Numerical value (with implicit precision)
...... currency S 1..1 code ISO 4217 Currency Code
... totalNet S 1..1 Money Sum of the net base amounts, not reduced by a deduction
.... value S 1..1 decimal Numerical value (with implicit precision)
.... currency S 1..1 code ISO 4217 Currency Code
... totalGross S 1..1 Money Net total plus the tax of every line, not reduced by a deduction
.... value S 1..1 decimal Numerical value (with implicit precision)
.... currency S 1..1 code ISO 4217 Currency Code

doco Documentation for this format

Terminology Bindings (Differential)

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

Constraints

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)
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Invoice C 0..* Invoice Invoice containing ChargeItems from an Account
Constraints: dental-invoice-exemption-reason, dental-invoice-totals, dental-invoice-currency
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... text 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
... contained 0..* Resource Contained, inline Resources
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:taxExemptionReason 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
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... identifier Σ 0..* Identifier Business Identifier for item
... status ?!SΣ 1..1 code draft | issued | balanced | cancelled | entered-in-error
Binding: InvoiceStatus (required): Codes identifying the lifecycle stage of an Invoice.
... cancelledReason 0..1 string Reason for cancellation of this Invoice
... type SΣ 0..1 CodeableConcept Private, prosthetics own-share or additional-cost invoice; optional
Binding: Dental Invoice Type (preferred)
... subject SΣ 1..1 Reference(Patient) Recipient(s) of goods and services
... recipient SΣ 1..1 Reference(Organization | Patient | RelatedPerson) Invoice recipient; no KVNR required
... date SΣ 1..1 dateTime Invoice date
... participant 0..* BackboneElement Participant in creation of this Invoice
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... role 0..1 CodeableConcept Type of involvement in creation of this Invoice
.... actor 1..1 Reference(Practitioner | Organization | Patient | PractitionerRole | Device | RelatedPerson) Individual who was involved
... issuer S 1..1 Reference(Organization) Issuing Organization of Invoice
... account S 1..1 Reference(Account) Billing case, cost plan or additional-cost agreement plan the invoice belongs to
... lineItem S 1..* BackboneElement Line items of this Invoice
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... sequence S 0..1 positiveInt Sequence number of line item
.... chargeItem[x] S 1..1 Reference(ChargeItem) Billing line of the invoice, such as a DentalBillingLineDE line
.... Slices for priceComponent 2..* BackboneElement Components of total line item price
Slice: Unordered, Open by value:type
..... priceComponent:All Slices Content/Rules for all slices
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
...... type 1..1 code base | surcharge | deduction | discount | tax | informational
Binding: InvoicePriceComponentType (required): Codes indicating the kind of the price component.
...... code 0..1 CodeableConcept Code identifying the specific component
...... factor 0..1 decimal Factor used for calculating this component
...... amount 0..1 Money Monetary amount associated with this component
..... priceComponent:base S 1..1 BackboneElement Net line amount; may carry the applied factor
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
...... type 1..1 code base | surcharge | deduction | discount | tax | informational
Binding: InvoicePriceComponentType (required): Codes indicating the kind of the price component.
Required Pattern: base
...... code 0..1 CodeableConcept Code identifying the specific component
...... factor 0..1 decimal Factor used for calculating this component
...... amount S 1..1 Money Monetary amount associated with this component
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
....... value SΣ 1..1 decimal Numerical value (with implicit precision)
....... currency SΣ 1..1 code ISO 4217 Currency Code
Binding: Currencies (required): A code indicating the currency, taken from ISO 4217.
..... priceComponent:tax S 1..1 BackboneElement UN/CEFACT 5305 tax category and the tax added to the line
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
...... type 1..1 code base | surcharge | deduction | discount | tax | informational
Binding: InvoicePriceComponentType (required): Codes indicating the kind of the price component.
Required Pattern: tax
...... code S 1..1 CodeableConcept Exactly one UN/CEFACT 5305 tax category for the line
Binding: German Private Invoice Tax Category (required)
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
....... coding SΣ 1..1 Coding Code defined by a terminology system
........ id 0..1 string Unique id for inter-element referencing
........ extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
........ system SΣ 1..1 uri Identity of the terminology system
Fixed Value: urn:un:unece:uncefact:codelist:standard:5305
........ version Σ 0..1 string Version of the system - if relevant
........ code SΣ 1..1 code Symbol in syntax defined by the system
........ display Σ 0..1 string Representation defined by the system
........ userSelected Σ 0..1 boolean If this coding was chosen directly by the user
....... text Σ 0..1 string Plain text representation of the concept
...... factor 0..1 decimal Factor used for calculating this component
...... amount S 1..1 Money Monetary amount associated with this component
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
....... value SΣ 1..1 decimal Numerical value (with implicit precision)
....... currency SΣ 1..1 code ISO 4217 Currency Code
Binding: Currencies (required): A code indicating the currency, taken from ISO 4217.
... Slices for totalPriceComponent 0..* See priceComponent (Invoice) Components of Invoice total
Slice: Unordered, Open by value:type, value:code.coding.system
.... totalPriceComponent:All Slices Content/Rules for all slices
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... type 1..1 code base | surcharge | deduction | discount | tax | informational
Binding: InvoicePriceComponentType (required): Codes indicating the kind of the price component.
..... code 0..1 CodeableConcept Code identifying the specific component
..... factor 0..1 decimal Factor used for calculating this component
..... amount 0..1 Money Monetary amount associated with this component
.... totalPriceComponent:gematikDeduction S 0..* BackboneElement Standardized deduction stated beside the totals; not subtracted from totalNet or totalGross
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... type 1..1 code base | surcharge | deduction | discount | tax | informational
Binding: InvoicePriceComponentType (required): Codes indicating the kind of the price component.
Required Pattern: deduction
..... code 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)
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... coding SΣ 1..1 Coding Code defined by a terminology system
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
....... system SΣ 1..1 uri Identity of the terminology system
Fixed Value: https://gematik.de/fhir/dipag/CodeSystem/dipag-total-price-component-type-cs
....... version Σ 0..1 string Version of the system - if relevant
....... code SΣ 1..1 code Symbol in syntax defined by the system
....... display Σ 0..1 string Representation defined by the system
....... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
...... text Σ 0..1 string Plain text representation of the concept
..... amount S 1..1 Money Monetary amount associated with this component
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... value SΣ 1..1 decimal Numerical value (with implicit precision)
...... currency SΣ 1..1 code ISO 4217 Currency Code
Binding: Currencies (required): A code indicating the currency, taken from ISO 4217.
... totalNet SΣ 1..1 Money Sum of the net base amounts, not reduced by a deduction
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... value SΣ 1..1 decimal Numerical value (with implicit precision)
.... currency SΣ 1..1 code ISO 4217 Currency Code
Binding: Currencies (required): A code indicating the currency, taken from ISO 4217.
... totalGross SΣ 1..1 Money Net total plus the tax of every line, not reduced by a deduction
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... value SΣ 1..1 decimal Numerical value (with implicit precision)
.... currency SΣ 1..1 code ISO 4217 Currency Code
Binding: Currencies (required): A code indicating the currency, taken from ISO 4217.
... paymentTerms 0..1 markdown Payment details
... note 0..* Annotation Comments made about the invoice

doco Documentation for this format

Terminology Bindings

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.

Constraints

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:

  • The element 1 is sliced based on the value of Invoice.lineItem.priceComponent
  • The element 2 is sliced based on the values of Invoice.totalPriceComponent

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Invoice C 0..* Invoice Invoice containing ChargeItems from an Account
Constraints: dental-invoice-exemption-reason, dental-invoice-totals, dental-invoice-currency
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:taxExemptionReason 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
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... type SΣ 0..1 CodeableConcept Private, prosthetics own-share or additional-cost invoice; optional
Binding: Dental Invoice Type (preferred)
... subject SΣ 1..1 Reference(Patient) Recipient(s) of goods and services
... recipient SΣ 1..1 Reference(Organization | Patient | RelatedPerson) Invoice recipient; no KVNR required
... date SΣ 1..1 dateTime Invoice date
... issuer S 1..1 Reference(Organization) Issuing Organization of Invoice
... account S 1..1 Reference(Account) Billing case, cost plan or additional-cost agreement plan the invoice belongs to
... lineItem S 1..* BackboneElement Line items of this Invoice
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... sequence S 0..1 positiveInt Sequence number of line item
.... chargeItem[x] S 1..1 Reference(ChargeItem) Billing line of the invoice, such as a DentalBillingLineDE line
.... Slices for priceComponent 2..* BackboneElement Components of total line item price
Slice: Unordered, Open by value:type
..... priceComponent:All Slices Content/Rules for all slices
...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
...... type 1..1 code base | surcharge | deduction | discount | tax | informational
Binding: InvoicePriceComponentType (required): Codes indicating the kind of the price component.
..... priceComponent:base S 1..1 BackboneElement Net line amount; may carry the applied factor
...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
...... type 1..1 code base | surcharge | deduction | discount | tax | informational
Binding: InvoicePriceComponentType (required): Codes indicating the kind of the price component.
Required Pattern: base
...... amount S 1..1 Money Monetary amount associated with this component
....... value SΣ 1..1 decimal Numerical value (with implicit precision)
....... currency SΣ 1..1 code ISO 4217 Currency Code
Binding: Currencies (required): A code indicating the currency, taken from ISO 4217.
..... priceComponent:tax S 1..1 BackboneElement UN/CEFACT 5305 tax category and the tax added to the line
...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
...... type 1..1 code base | surcharge | deduction | discount | tax | informational
Binding: InvoicePriceComponentType (required): Codes indicating the kind of the price component.
Required Pattern: tax
...... code S 1..1 CodeableConcept Exactly one UN/CEFACT 5305 tax category for the line
Binding: German Private Invoice Tax Category (required)
....... coding SΣ 1..1 Coding Code defined by a terminology system
........ system SΣ 1..1 uri Identity of the terminology system
Fixed Value: urn:un:unece:uncefact:codelist:standard:5305
........ code SΣ 1..1 code Symbol in syntax defined by the system
...... amount S 1..1 Money Monetary amount associated with this component
....... value SΣ 1..1 decimal Numerical value (with implicit precision)
....... currency SΣ 1..1 code ISO 4217 Currency Code
Binding: Currencies (required): A code indicating the currency, taken from ISO 4217.
... Slices for totalPriceComponent 0..* See priceComponent (Invoice) Components of Invoice total
Slice: Unordered, Open by value:type, value:code.coding.system
.... totalPriceComponent:All Slices Content/Rules for all slices
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... type 1..1 code base | surcharge | deduction | discount | tax | informational
Binding: InvoicePriceComponentType (required): Codes indicating the kind of the price component.
.... totalPriceComponent:gematikDeduction S 0..* BackboneElement Standardized deduction stated beside the totals; not subtracted from totalNet or totalGross
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... type 1..1 code base | surcharge | deduction | discount | tax | informational
Binding: InvoicePriceComponentType (required): Codes indicating the kind of the price component.
Required Pattern: deduction
..... code 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)
...... coding SΣ 1..1 Coding Code defined by a terminology system
....... system SΣ 1..1 uri Identity of the terminology system
Fixed Value: https://gematik.de/fhir/dipag/CodeSystem/dipag-total-price-component-type-cs
....... code SΣ 1..1 code Symbol in syntax defined by the system
..... amount S 1..1 Money Monetary amount associated with this component
...... value SΣ 1..1 decimal Numerical value (with implicit precision)
...... currency SΣ 1..1 code ISO 4217 Currency Code
Binding: Currencies (required): A code indicating the currency, taken from ISO 4217.
... totalNet SΣ 1..1 Money Sum of the net base amounts, not reduced by a deduction
.... value SΣ 1..1 decimal Numerical value (with implicit precision)
.... currency SΣ 1..1 code ISO 4217 Currency Code
Binding: Currencies (required): A code indicating the currency, taken from ISO 4217.
... totalGross SΣ 1..1 Money Net total plus the tax of every line, not reduced by a deduction
.... value SΣ 1..1 decimal Numerical value (with implicit precision)
.... currency SΣ 1..1 code ISO 4217 Currency Code
Binding: Currencies (required): A code indicating the currency, taken from ISO 4217.

doco Documentation for this format

Terminology Bindings

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.

Constraints

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

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Invoice C 0..* Invoice Invoice containing ChargeItems from an Account
Constraints: dental-invoice-exemption-reason, dental-invoice-totals, dental-invoice-currency
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:taxExemptionReason 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
... status S 1..1 code draft | issued | balanced | cancelled | entered-in-error
... type S 0..1 CodeableConcept Private, prosthetics own-share or additional-cost invoice; optional
Binding: Dental Invoice Type (preferred)
... recipient S 1..1 Reference(Organization | Patient | RelatedPerson) Invoice recipient; no KVNR required
... date S 1..1 dateTime Invoice date
... issuer S 1..1 Reference(Organization) Issuing Organization of Invoice
... account S 1..1 Reference(Account) Billing case, cost plan or additional-cost agreement plan the invoice belongs to
... lineItem S 1..* BackboneElement Line items of this Invoice
.... sequence S 0..1 positiveInt Sequence number of line item
.... chargeItem[x] S 1..1 Reference(ChargeItem) Billing line of the invoice, such as a DentalBillingLineDE line
.... Slices for priceComponent 2..* BackboneElement Components of total line item price
Slice: Unordered, Open by value:type
..... priceComponent:base S 1..1 BackboneElement Net line amount; may carry the applied factor
...... type 1..1 code base | surcharge | deduction | discount | tax | informational
Required Pattern: base
...... amount S 1..1 Money Monetary amount associated with this component
....... value S 1..1 decimal Numerical value (with implicit precision)
....... currency S 1..1 code ISO 4217 Currency Code
..... priceComponent:tax S 1..1 BackboneElement UN/CEFACT 5305 tax category and the tax added to the line
...... type 1..1 code base | surcharge | deduction | discount | tax | informational
Required Pattern: tax
...... code S 1..1 CodeableConcept Exactly one UN/CEFACT 5305 tax category for the line
Binding: German Private Invoice Tax Category (required)
....... coding S 1..1 Coding Code defined by a terminology system
........ system S 1..1 uri Identity of the terminology system
Fixed Value: urn:un:unece:uncefact:codelist:standard:5305
........ code S 1..1 code Symbol in syntax defined by the system
...... amount S 1..1 Money Monetary amount associated with this component
....... value S 1..1 decimal Numerical value (with implicit precision)
....... currency S 1..1 code ISO 4217 Currency Code
... Slices for totalPriceComponent 0..* Components of Invoice total
Slice: Unordered, Open by value:type, value:code.coding.system
.... totalPriceComponent:gematikDeduction S 0..* BackboneElement Standardized deduction stated beside the totals; not subtracted from totalNet or totalGross
..... type 1..1 code base | surcharge | deduction | discount | tax | informational
Required Pattern: deduction
..... code 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)
...... coding S 1..1 Coding Code defined by a terminology system
....... system S 1..1 uri Identity of the terminology system
Fixed Value: https://gematik.de/fhir/dipag/CodeSystem/dipag-total-price-component-type-cs
....... code S 1..1 code Symbol in syntax defined by the system
..... factor 0..0 Factor used for calculating this component
..... amount S 1..1 Money Monetary amount associated with this component
...... value S 1..1 decimal Numerical value (with implicit precision)
...... currency S 1..1 code ISO 4217 Currency Code
... totalNet S 1..1 Money Sum of the net base amounts, not reduced by a deduction
.... value S 1..1 decimal Numerical value (with implicit precision)
.... currency S 1..1 code ISO 4217 Currency Code
... totalGross S 1..1 Money Net total plus the tax of every line, not reduced by a deduction
.... value S 1..1 decimal Numerical value (with implicit precision)
.... currency S 1..1 code ISO 4217 Currency Code

doco Documentation for this format

Terminology Bindings (Differential)

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

Constraints

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

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Invoice C 0..* Invoice Invoice containing ChargeItems from an Account
Constraints: dental-invoice-exemption-reason, dental-invoice-totals, dental-invoice-currency
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... text 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
... contained 0..* Resource Contained, inline Resources
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:taxExemptionReason 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
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... identifier Σ 0..* Identifier Business Identifier for item
... status ?!SΣ 1..1 code draft | issued | balanced | cancelled | entered-in-error
Binding: InvoiceStatus (required): Codes identifying the lifecycle stage of an Invoice.
... cancelledReason 0..1 string Reason for cancellation of this Invoice
... type SΣ 0..1 CodeableConcept Private, prosthetics own-share or additional-cost invoice; optional
Binding: Dental Invoice Type (preferred)
... subject SΣ 1..1 Reference(Patient) Recipient(s) of goods and services
... recipient SΣ 1..1 Reference(Organization | Patient | RelatedPerson) Invoice recipient; no KVNR required
... date SΣ 1..1 dateTime Invoice date
... participant 0..* BackboneElement Participant in creation of this Invoice
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... role 0..1 CodeableConcept Type of involvement in creation of this Invoice
.... actor 1..1 Reference(Practitioner | Organization | Patient | PractitionerRole | Device | RelatedPerson) Individual who was involved
... issuer S 1..1 Reference(Organization) Issuing Organization of Invoice
... account S 1..1 Reference(Account) Billing case, cost plan or additional-cost agreement plan the invoice belongs to
... lineItem S 1..* BackboneElement Line items of this Invoice
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... sequence S 0..1 positiveInt Sequence number of line item
.... chargeItem[x] S 1..1 Reference(ChargeItem) Billing line of the invoice, such as a DentalBillingLineDE line
.... Slices for priceComponent 2..* BackboneElement Components of total line item price
Slice: Unordered, Open by value:type
..... priceComponent:All Slices Content/Rules for all slices
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
...... type 1..1 code base | surcharge | deduction | discount | tax | informational
Binding: InvoicePriceComponentType (required): Codes indicating the kind of the price component.
...... code 0..1 CodeableConcept Code identifying the specific component
...... factor 0..1 decimal Factor used for calculating this component
...... amount 0..1 Money Monetary amount associated with this component
..... priceComponent:base S 1..1 BackboneElement Net line amount; may carry the applied factor
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
...... type 1..1 code base | surcharge | deduction | discount | tax | informational
Binding: InvoicePriceComponentType (required): Codes indicating the kind of the price component.
Required Pattern: base
...... code 0..1 CodeableConcept Code identifying the specific component
...... factor 0..1 decimal Factor used for calculating this component
...... amount S 1..1 Money Monetary amount associated with this component
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
....... value SΣ 1..1 decimal Numerical value (with implicit precision)
....... currency SΣ 1..1 code ISO 4217 Currency Code
Binding: Currencies (required): A code indicating the currency, taken from ISO 4217.
..... priceComponent:tax S 1..1 BackboneElement UN/CEFACT 5305 tax category and the tax added to the line
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
...... type 1..1 code base | surcharge | deduction | discount | tax | informational
Binding: InvoicePriceComponentType (required): Codes indicating the kind of the price component.
Required Pattern: tax
...... code S 1..1 CodeableConcept Exactly one UN/CEFACT 5305 tax category for the line
Binding: German Private Invoice Tax Category (required)
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
....... coding SΣ 1..1 Coding Code defined by a terminology system
........ id 0..1 string Unique id for inter-element referencing
........ extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
........ system SΣ 1..1 uri Identity of the terminology system
Fixed Value: urn:un:unece:uncefact:codelist:standard:5305
........ version Σ 0..1 string Version of the system - if relevant
........ code SΣ 1..1 code Symbol in syntax defined by the system
........ display Σ 0..1 string Representation defined by the system
........ userSelected Σ 0..1 boolean If this coding was chosen directly by the user
....... text Σ 0..1 string Plain text representation of the concept
...... factor 0..1 decimal Factor used for calculating this component
...... amount S 1..1 Money Monetary amount associated with this component
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
....... value SΣ 1..1 decimal Numerical value (with implicit precision)
....... currency SΣ 1..1 code ISO 4217 Currency Code
Binding: Currencies (required): A code indicating the currency, taken from ISO 4217.
... Slices for totalPriceComponent 0..* See priceComponent (Invoice) Components of Invoice total
Slice: Unordered, Open by value:type, value:code.coding.system
.... totalPriceComponent:All Slices Content/Rules for all slices
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... type 1..1 code base | surcharge | deduction | discount | tax | informational
Binding: InvoicePriceComponentType (required): Codes indicating the kind of the price component.
..... code 0..1 CodeableConcept Code identifying the specific component
..... factor 0..1 decimal Factor used for calculating this component
..... amount 0..1 Money Monetary amount associated with this component
.... totalPriceComponent:gematikDeduction S 0..* BackboneElement Standardized deduction stated beside the totals; not subtracted from totalNet or totalGross
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... type 1..1 code base | surcharge | deduction | discount | tax | informational
Binding: InvoicePriceComponentType (required): Codes indicating the kind of the price component.
Required Pattern: deduction
..... code 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)
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... coding SΣ 1..1 Coding Code defined by a terminology system
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
....... system SΣ 1..1 uri Identity of the terminology system
Fixed Value: https://gematik.de/fhir/dipag/CodeSystem/dipag-total-price-component-type-cs
....... version Σ 0..1 string Version of the system - if relevant
....... code SΣ 1..1 code Symbol in syntax defined by the system
....... display Σ 0..1 string Representation defined by the system
....... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
...... text Σ 0..1 string Plain text representation of the concept
..... amount S 1..1 Money Monetary amount associated with this component
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... value SΣ 1..1 decimal Numerical value (with implicit precision)
...... currency SΣ 1..1 code ISO 4217 Currency Code
Binding: Currencies (required): A code indicating the currency, taken from ISO 4217.
... totalNet SΣ 1..1 Money Sum of the net base amounts, not reduced by a deduction
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... value SΣ 1..1 decimal Numerical value (with implicit precision)
.... currency SΣ 1..1 code ISO 4217 Currency Code
Binding: Currencies (required): A code indicating the currency, taken from ISO 4217.
... totalGross SΣ 1..1 Money Net total plus the tax of every line, not reduced by a deduction
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... value SΣ 1..1 decimal Numerical value (with implicit precision)
.... currency SΣ 1..1 code ISO 4217 Currency Code
Binding: Currencies (required): A code indicating the currency, taken from ISO 4217.
... paymentTerms 0..1 markdown Payment details
... note 0..* Annotation Comments made about the invoice

doco Documentation for this format

Terminology Bindings

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.

Constraints

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:

  • The element 1 is sliced based on the value of Invoice.lineItem.priceComponent
  • The element 2 is sliced based on the values of Invoice.totalPriceComponent

 

Other representations of profile: CSV, Excel, Schematron