German Ambulatory Billing FHIR Contract (R4)
0.9.0 - release
German Ambulatory Billing FHIR Contract (R4) - Downloaded Version null See the Directory of published versions
Billing Core 0.42.3 is the published contract for native rule carriers, supported algorithms, admission, outcomes, reasons, and reference evaluation. Billing DE does not publish a second evaluator contract. Publication follows the central guarded release procedure.
Billing DE carries no billing rule instances or rule values for runtime use. Billing Core and Billing DE contain the rule engine, the rule classes, and the German mappings; actual rules and their values are imported from outside the package. The customer-local reference-data-adapter writes them at runtime, or an external rule-set author supplies them (product-owner decision of 2026-10-07, https://github.com/cognovis/fhir-billing-de/issues/15). This page defines the carrier contract such rules use. The example rule set and the example catalog edition, the only Libraries the package ships, are non-normative examples of the carrier format and test fixtures; they are not a source of rules or values for any consumer and not the definition of any regime. The seven retired German configured-rule Libraries were removed from the package (https://github.com/cognovis/fhir-billing-de/issues/16).
Catalog Acquisition and Conversion shows how an external implementer or rule-set author obtains the official catalogs and builds and verifies these carriers.
A configured rule is a profile-free native R4 Library resource. It has one
library-type#logic-library type, one artifact-kind|configured-rule
identifier, one canonical JSON attachment with content type
application/json, and exactly one relatedArtifact depends-on link to a
catalog edition as canonical|version. The attachment is the Core
BillingConfiguredRulePayloadV2 shape: schemaVersion: 2, semanticMajor: 4,
and one typed BillingRule.
Catalog editions are native Library resources of type
library-type#asset-collection. Their
application/json manifest is discriminated by the
artifact-kind|catalog-edition identifier and keeps source URI, source version,
digest, retrieval instant, producer
version, and completeness separate from Library.publisher. Exact edition
membership uses non-empty composed-of canonical-version links. Aggregate
rule sets use the same MIME type, the artifact-kind|rule-set identifier, and
the closed Core payload-v2 contract.
The German regimes are BMV-Ae/EBM, BMV-Z/BEMA, GOAE, GOZ, private, BG, and
selective contract, each a regime Contract. EBM, BEMA, BG, and
selective-contract content remains runtime-only unless a separate source
decision admits it. GOAE and GOZ examples contain reproducibility metadata, not
copied catalog rows. Synthetic private examples are explicitly marked as such.
Rule carriers carry configuration only. They contain no executable expression,
custom carrier extension, or local meta.profile; the only exception is the
two HZV contract catalog-edition extensions described below. Acquisition, protected
catalog rows, entitlement, decoding, and executable evaluator code remain
outside this package. Evaluation fails closed for missing, partial,
unentitled, expired, incompatible, or digest-mismatched editions.
Legacy ChargeItemDefinition and extension readers remain in Billing Core for
historical input only. New writes use the native Library contract. Consumer
cutover mappings are recorded in migration/authored-ig-migration.json; the
Core payload and reason maps remain the authority for historical conversion.
A catalog edition of an HZV contract (hausarztzentrierte Versorgung) may carry two Library-level extensions. Each occurs at most once on an edition and carries one value. Billing Core evaluation does not read either of them, and neither changes the edition's attachment or its digest.
| Extension | Value | Meaning |
|---|---|---|
https://fhir.cognovis.de/billing/StructureDefinition/billing-hzv-publication-order |
valueInteger |
The edition's place among the publications of its contract. A higher number is a later publication; a republication keeps its number. |
https://fhir.cognovis.de/billing/StructureDefinition/billing-hzv-ziffernkranz-membership |
valueAttachment with contentType application/json and base64 data |
The Ziffernkranz membership of the edition's generation for its contract: a sorted JSON array of { code, from, to }. A code ending in * is a stem wildcard; from and to are ISO dates or null. |
No standard Library element carries these facts. Library.content is the one
billing payload attachment, and Library.version, date and effectivePeriod
give the edition's own version and validity. A republication has a later date
and a new version but keeps its place among the publications, and composed-of
links list members without the dates on which a code joined or left the
Ziffernkranz.
The example rule set german-ambulatory-rule-set-example is active and
carries two rules inline in priority order, the GOAE multiplier rule
german-rule-30 and the GOZ multiplier rule german-rule-40; it contains no
other rule. Billing SDK 0.9.0 evaluates only active rule-set,
catalog-edition and catalog definition carriers and refuses any other status
with SNAPSHOT_STALE. The example rule set is a non-normative example of the
rule-set carrier; a customer's runtime rule set comes from the customer-local
writer or an external rule-set author. The per-code GOAE and GOZ factor rules a
customer evaluates come from the reference-data-adapter at runtime (since
reference-data-adapter PR #97) or from an external rule-set author, not from
this package.
Billing Core 0.7.1 evaluates the selector code "*" as "every code". A
selector without system therefore selects every line of every regime, so each
example rule names the code system of its regime and keeps codes: ["*"]:
http://fhir.de/CodeSystem/bäk/goä for GOAE and
http://fhir.de/CodeSystem/bzaek/goz for GOZ. A composed rule selects only
lines of its own regime system.
Both rules are bounded-multiplier rules with effect reject, scoped to
their regime system with codes: ["*"], and carry minimum 1,
standardThreshold 2.3, aboveThresholdEffect reject and
justificationWaivesThreshold true. They carry no maximum and no
agreementOverride. Through the Billing SDK a prospective GOAE or GOZ
ChargeItem evaluates as follows:
| ChargeItem | SDK decision | Reason code |
|---|---|---|
factorOverride 1 to 2.3 |
allow |
none |
factorOverride above 2.3, including above 3.5, with a justification |
allow |
none |
factorOverride above 2.3, including above 3.5, without a justification |
block, blockedBy: 'rule' |
MULTIPLIER_JUSTIFICATION_REQUIRED |
factorOverride below 1 |
block, blockedBy: 'rule' |
MULTIPLIER_OUT_OF_BOUNDS |
no factorOverride |
unavailable |
ACTUAL_MULTIPLIER_UNAVAILABLE |
A justification is enough for a factor above 3.5. The check decides whether a line is legal under the rule; it does not check whether a payer accepts or reimburses the factor, and it returns no payer verdict (product decision of 2026-10-06).
The multiplier is the R4 ChargeItem.factorOverride. The justification
(Begruendung under section 12 GOAE or section 10 GOZ) is one
ChargeItem.reason entry that carries non-blank text and no coding, the
successor of the former goae-begruendung extension in
migration/authored-ig-migration.json. ChargeItem.note does not count as a
justification, and a coded reason entry does not either.
These rules need Billing Core 0.9.0 or later, which accepts a
bounded-multiplier rule without maximum. Billing Core 0.8.x rejects rules
30 and 40 with BillingInputError (requires parameter maximum); through the
Billing SDK 0.8.x every evaluation with the Billing DE 0.3.7 example rule set
fails closed as unavailable with SNAPSHOT_MALFORMED. Billing SDK 0.7.x
projects neither the multiplier nor the justification.
A written fee agreement under section 2 GOAE or GOZ (abweichende
Vereinbarung) is not a check condition: neither rule requires or reads one.
The product decision of 2026-10-06 superseded and closed
cognovis/fhir-billing-de#8, which had planned an agreementOverride for a
factor above 3.5.
The example payloads do not model the lower GOAE section ranges of section 5 paragraphs 3 and 4; they check those sections only against the threshold 2.3 and the minimum 1. The product owner closed cognovis/fhir-billing-de#7, which had planned those ranges in this package, on 2026-10-07: they are rule values, and rule values come from outside the package.
Pair Billing SDK 0.9.0 or later with Billing DE 0.4.0. Billing DE 0.3.4 must not be combined with Billing Core 0.7.1 or later npm units.