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
This page tells a producer how to map the billing records of a practice
management system to FHIR: line versions, what a billing document billed,
invoice totals and tax, settlement bookings, the prosthetics billing case and
the additional-cost filling. It states the rules of
ADR-009
Decisions 7 and 8, each with a synthetic example. Every example on this page
validates offline with HL7 Validator 7.0.6 and -tx n/a, as the
Offline Validation page describes.
The resources are the open profiles of this guide and base R4:
| Fact | Resource |
|---|---|
| A billing line | ChargeItem, DentalBillingLineDE |
| An invoice outside the TI | Invoice, DentalInvoiceDE |
| An invoice through the TI | Invoice, GozInvoiceDE (DiPag); once cancelled, base R4 Invoice |
| A claim to an insurer | Claim |
| A settlement booking | PaymentReconciliation, with the billing case Account the invoice names |
| An open receivable | Observation receivable-outstanding-balance on the billing case Account (Billing DE open balance) |
A source often keeps several versions of one billing line: a replaced version keeps its amount and names its predecessor. All versions of one line form a lineage.
ChargeItem per lineage. A replacing source version updates
that resource; it never becomes a second resource, so a line is never counted
twice. ChargeItem.identifier carries the lineage identifier.vread, _history) to know
what was billed: many servers store a version-specific reference as a plain
URI that reference search never matches, and bulk loads do not keep versions.ChargeItem with status
entered-in-error, unless a TI invoice has cited that resource (see
below).Examples: ExampleLineageGozLine (the
lineage L-2026-0401 after its line was corrected from factor 2.3 to 1.8) and
ExampleLineageDeletedLine (a
deleted line, entered-in-error).
What a billing document billed travels with the document, never through a
version of the ChargeItem.
A Claim.item carries what was billed in its own elements: productOrService
(the code), quantity, factor where the fee schedule has one, unitPrice
and net. This also covers a billing case that lists line versions that have
since been replaced.
Example: ExampleBilledClaimQuarter, a quarterly claim whose second item carries quantity 2, unit price 12.00 EUR and net 24.00 EUR.
An Invoice.lineItem carries only the charge and its price components; it has
no quantity, and chargeItem[x] is either a reference or a code. So an invoice
outside the TI cites each billed line as a contained copy of the ChargeItem
as billed. The copy is immutable with the invoice. It carries the lineage
identifier where the lineage has one, and its partOf names the lineage's
ChargeItem (by reference, by the lineage identifier, or both).
A change after invoicing cancels the invoice; the correction is a new invoice with a copy of the replacing version:
| ExampleSnapshotInvoiceCancelled | ExampleSnapshotInvoiceCorrected | |
|---|---|---|
status |
cancelled, with cancelledReason |
issued |
Contained copy of L-2026-0401 |
factor 2.3, 98.00 EUR | factor 1.8, 76.70 EUR |
partOf of the copy |
ChargeItem/ExampleLineageGozLine and L-2026-0401 |
the same |
The logical ChargeItem shows the current version (factor 1.8); the cancelled
invoice still shows what it billed (factor 2.3).
A TI invoice (GozInvoiceDE on DiPag dipag-rechnung) must cite each line by
a chargeItemReference to a ChargeItem resource, so it freezes the resource
it cites:
ChargeItem, that resource is never
changed again, also after the invoice is cancelled, so the cancelled invoice
still shows what it billed.ChargeItem with the same lineage identifier, which the corrected
invoice cites. A line that did not change keeps its frozen ChargeItem, and
the corrected invoice cites it again.billed (not entered-in-error), no new
ChargeItem is made, and the corrected invoice, if any, leaves the line out.cancelled, like any other invoice.
DiPag fixes Invoice.status of dipag-rechnung to issued, so the
cancelled invoice no longer claims GozInvoiceDE: it stays the same
Invoice (same identifier, lines, totals and VAT exemption reason, still
citing its frozen ChargeItem resources) as a base R4 Invoice with status
cancelled and cancelledReason, with or without a correction. A corrected TI invoice also names the invoice it replaces
in the DiPag extension Korrekturrechnung (DiPagInvoiceReplaces).Example: the source corrected one line (L-2026-0501, factor 2.3 to 1.8) and
deleted another (L-2026-0502) after invoicing.
| Resource | Status | Cited by |
|---|---|---|
ExampleTiLineChangedFrozen (L-2026-0501, factor 2.3) |
billed, frozen |
replaced invoice |
ExampleTiLineDeletedFrozen (L-2026-0502) |
billed, frozen |
replaced invoice |
ExampleTiLineChangedReplacement (L-2026-0501, factor 1.8) |
billed |
corrected invoice |
| ExampleTiInvoiceReplaced | cancelled, base R4 Invoice |
ExampleTiInvoiceCorrected in Korrekturrechnung |
Invoice.type names the invoice type from the Dental invoice types: a private
invoice (private), a prosthetics own-share invoice (prosthetics-own-share)
or an additional-cost invoice under § 28 Abs. 2 SGB V (additional-cost). The
binding is preferred and the element is optional, so an invoice without a type
stays valid. A source invoice type outside these three is not decoded: the
producer leaves Invoice.type out rather than guessing one. An internal
collective invoice of the practice's own laboratory is no claim against a
patient and is never emitted as an Invoice.
DentalInvoiceDE), totalNet is the sum of
the line base amounts, which are net, and totalGross adds the line tax
amounts. When the source's stored components add up to the invoice amount,
totalNet is that amount less the tax and totalGross is the invoice
amount.GozInvoiceDE) follows DiPag instead: the line amount
BruttoBetrag is gross and its Steuern component is the tax it already
contains, so totalGross is the sum of the line amounts, totalNet is that
sum less the line taxes, and the tax is not added again.totalNet or totalGross.cancelled, also through the TI (see
above). A correction is a new Invoice.Tax stays per line: one tax price component per line, as the
Dental Invoice page and the Billing DE general private
invoice contract require. A source that stores tax only per invoice (the total
tax amount, the reduced and the standard rate, and the parts taxed at each
rate) still emits one invoice line per billed line, so each line keeps its own
billed snapshot. Lines are never merged per rate. The stored total tax is
authoritative and is never re-derived.
The producer reconciles the stored total tax per rate group:
A line the source does not tax carries a tax component of 0 with the category
of the producer's tax decision for that line: its configuration or the line's
own data, for example S for a requested service, E with the exemption
reason for a medically indicated treatment. No category and no exemption is
inferred from the kind of line. A line whose category requires tax that the
source did not charge is reported, not emitted.
Reduced rate 7 % (AA), standard rate 19 % (S). Each example is an invoice
whose lines cite their own contained billed copies.
Mixed rates (ExampleTaxInvoiceMixedRates): four lines of 10.08 EUR at 7 % and one line of 10.00 EUR at 19 %; stored taxed parts 40.32 EUR and 10.00 EUR, stored total tax 4.72 EUR.
| Step | Arithmetic | Result |
|---|---|---|
| Reduced group tax | 7 % × 40.32 = 2.8224 | 2.82 EUR |
| Standard group tax | 4.72 − 2.82 | 1.90 EUR |
| Reduced lines 2 to 4 | 7 % × 10.08 = 0.7056 | 0.71 EUR each |
| Reduced line 1 (largest, first of equal nets) | 2.82 − 3 × 0.71 | 0.69 EUR; off by 0.02 EUR ≤ 4 × 0.01 EUR |
| Standard line (sole line) | 1.90; own rounded tax 19 % × 10.00 = 1.90 | 1.90 EUR |
| Sum | 0.69 + 3 × 0.71 + 1.90 | 4.72 EUR, accepted |
Totals: totalNet 50.32 EUR, totalGross 55.04 EUR.
The single-line fallback would give the standard-rate line 4.72 − 4 × 0.71 = 1.88 EUR, off by 0.02 EUR against a tolerance of one cent for its one line, and would report this valid invoice. That is why a source with per-rate taxed parts reconciles per rate group.
Reduced rate only (ExampleTaxInvoiceReducedOnly): four lines of 10.08 EUR at 7 %; stored taxed parts 40.32 EUR and 0.00 EUR (the standard-rate group is untaxed), stored total tax 2.82 EUR. The sole group takes 2.82 EUR: three lines 0.71 EUR, the first 2.82 − 3 × 0.71 = 0.69 EUR (off by 0.02 EUR ≤ 0.04 EUR); 0.69 + 3 × 0.71 = 2.82 EUR. Totals 40.32 EUR net, 43.14 EUR gross.
Standard rate only (ExampleTaxInvoiceStandardOnly): three lines of 10.03 EUR at 19 %; stored taxed part 30.09 EUR, stored total tax 5.72 EUR. The sole group takes 5.72 EUR: two lines 19 % × 10.03 = 1.9057 → 1.91 EUR, the first 5.72 − 2 × 1.91 = 1.90 EUR (off by 0.01 EUR ≤ 0.03 EUR); 1.90 + 2 × 1.91 = 5.72 EUR. Totals 30.09 EUR net, 35.81 EUR gross.
The single-line fallback gives the same line taxes for both single-rate examples.
A source keeps paid, open, dunning-fee and cancelled amounts on the invoice, but
they follow from a journal of bookings. The bookings map to the Billing DE
settlement contract: base PaymentReconciliation and Account, no wrapper
profile. The source amount of a booking carries no sign; the booking kind gives
the direction.
| Booking | Mapping | Example |
|---|---|---|
| Invoice issued | The Invoice with status issued |
ExampleGuideInvoiceAdditionalCost |
| Payment received | A PaymentReconciliation.detail of type payment for the invoice, positive amount |
ExamplePaymentReceived |
| Payment taken back | A detail of type adjustment for the same invoice, negative amount, predecessor naming the payment it takes back |
ExamplePaymentTakenBack |
| Transfer between two invoices | A pair of adjustment details, minus on the one and plus on the other invoice; paymentAmount 0, because a transfer is not money received |
ExamplePaymentTransfer |
| Cancellation | The Invoice status cancelled with cancelledReason; a correction is a new Invoice |
ExampleSnapshotInvoiceCancelled, ExampleTiInvoiceReplaced |
None of these bookings changes totalNet or totalGross of an invoice.
Invoice (type prosthetics-own-share) carries the plan's
lines, so totalNet and totalGross are the unreduced plan totals, the sum
of those lines. The fund's share stands beside them as the deduction
FestzuschussKasse in totalPriceComponent; it never reduces the totals.totalNet or totalGross. It is a settlement amount, the open
receivable of the billing case. With standard care it equals the plan total
less the fund's share; with equal-type or different-type care it is often
higher, which the source does not explain. The producer emits the receivable
as stored and changes no line, total or deduction to make the two agree. It
is the Billing DE open balance: a final Observation coded
billing-financial-metric#receivable-outstanding-balance whose focus is
the billing case Account, with
the amount and ISO 4217 currency in valueQuantity, the source's
measurement time in effectiveDateTime, the practice as performer, and a
Provenance naming the source record that targets the Observation and
the Account. Billing DE reads the version-specific form: focus is
Account/{id}/_history/{version}, and the Provenance targets the exact
Observation and Account versions. The example cites version 1 of each,
which both declare in meta.versionId.billing-service-points and the count in quantity.Examples: ExampleGuideInvoiceOwnShare
(three lines, each citing its contained billed copy; totals 714.60 EUR net and
716.32 EUR gross, deduction FestzuschussKasse 420.00 EUR beside them), its
receivable ExampleGuideOwnShareReceivable
(318.50 EUR as stored, higher than 716.32 − 420.00 = 296.32 EUR, with
ExampleGuideOwnShareReceivableProvenance)
and
ExampleBemaLineTwoRenderings
(stored point sum 20, count 2: 10 points per rendering).
An additional-cost filling is two lines on the same day and tooth: a BEMA line
for the fund's share and a GOZ line for the additional cost. Each line carries
the marker mehrkosten-28-2 (fund-share, additional-cost), set from the
pair, never from the fee code. The zero-amount offset row of the pair is not
emitted.
The additional-cost invoice (type additional-cost) carries the GOZ line. Its
account is the plan the source names, and no plan is made up:
DentalCostPlanDE of type mkv) where
one exists;Examples: ExampleMehrkostenGozAdditionalCostWithPlan,
ExampleMehrkostenBemaFundShareWithPlan
and their invoice
ExampleGuideInvoiceAdditionalCost,
whose account is the mkv plan and whose line cites a contained copy of the
GOZ line as billed, marker included; the copy's partOf references
ExampleMehrkostenGozAdditionalCostWithPlan.
No Dental or Billing DE carrier exists for the following source facts. They stay open: a producer does not emit them, and this guide defines no extension for them.
billing-dunning-block.)