Cognovis FHIR Implementation Guides, packages and SDKs
HL7 FHIR R4 Implementation Guides, FHIR packages and TypeScript SDKs published by cognovis GmbH. Everything listed here is readable without a login. For agents: llms.txt. SDKs: /sdk/. Overview: fhir.cognovis.de.
Registry setup
Every package listed here is read anonymously, without an account or token, from the npm registry https://npm.cognovis.de
TypeScript SDKs: add the scope line to the project's .npmrc.
.npmrc@cognovis:registry=https://npm.cognovis.deFHIR packages are unscoped npm packages on the same registry, which also serves their HL7 FHIR dependencies:
npm install --registry https://npm.cognovis.de de.cognovis.fhir.praxis
SUSHI: declare the package as a dependency and point SUSHI's package loader at the registry. The version "latest" resolves to the current release; pin the exact version from the guide's version list for reproducible builds. The IG Publisher reads the same package cache (~/.fhir/packages) that SUSHI fills.
sushi-config.yamldependencies:
de.cognovis.fhir.praxis: latestFPL_REGISTRY=https://npm.cognovis.de sushi build .
Implementation Guides
-
German Practice Management Shared Semantics
FHIR R4 semantics for German practice management that remain necessary after standard-resource redesign.
- Package:
de.cognovis.fhir.praxis - Canonical:
https://fhir.cognovis.de/praxis - Versions: https://fhir.cognovis.de/praxis/package-list.json
- Registry: https://npm.cognovis.de/de.cognovis.fhir.praxis
- Package:
-
German Dental FHIR Profiles
FHIR R4 profiles for dental practice data in the German healthcare system.
- Package:
de.cognovis.fhir.dental - Canonical:
https://fhir.cognovis.de/dental - Versions: https://fhir.cognovis.de/dental/package-list.json
- Registry: https://npm.cognovis.de/de.cognovis.fhir.dental
- Third-party terminology: SNOMED CT, see License
- Package:
-
Dental Core FHIR Profiles
Country-neutral FHIR R4 clinical contracts for dental and odontogram exchange.
- Package:
de.cognovis.fhir.dental.core - Canonical:
https://fhir.cognovis.de/dental-core - Versions: https://fhir.cognovis.de/dental-core/package-list.json
- Registry: https://npm.cognovis.de/de.cognovis.fhir.dental.core
- Third-party terminology: SNOMED CT, see License
- Package:
-
De-Identification IG for German Practice Data
FHIR R4 Implementation Guide for de-identification of German ambulatory practice data.
- Package:
de.cognovis.fhir.deidentification - Canonical:
https://fhir.cognovis.de/de-identification - Versions: https://fhir.cognovis.de/de-identification/package-list.json
- Registry: https://npm.cognovis.de/de.cognovis.fhir.deidentification
- Third-party terminology: SNOMED CT, see License
- Package:
-
German Ambulatory Billing FHIR Contract
Profession-neutral native and official FHIR mappings, field-level gaps, billing regimes, declarative rules, and curated Ziffernketten.
- Package:
de.cognovis.fhir.billing - Canonical:
https://fhir.cognovis.de/billing - Versions: https://fhir.cognovis.de/billing/package-list.json
- Registry: https://npm.cognovis.de/de.cognovis.fhir.billing
- Package:
-
FHIR Billing Core
Jurisdiction-neutral FHIR R4 contracts for deterministic medical billing rules and their reference evaluator.
- Package:
de.cognovis.fhir.billing.core - Canonical:
https://fhir.cognovis.de/billing-core - Versions: https://fhir.cognovis.de/billing-core/package-list.json
- Registry: https://npm.cognovis.de/de.cognovis.fhir.billing.core
- Source: https://github.com/cognovis/fhir-billing-core
- Package:
SDKs
ES modules with TypeScript declarations. Each install line needs the .npmrc scope line from Registry setup.
Every SDK has a page with its current version, README, license, dependency and peer ranges, and an API reference generated from its declarations: https://fhir.cognovis.de/sdk/
-
Cognovis FHIR SDK (@cognovis/fhir-sdk)
Profile-bound TypeScript SDK for the Cognovis FHIR Implementation Guides with an authenticated Aidbox factory and a standard-FHIR transport seam.
- Version (npm dist-tag latest at render time):
0.35.0 - Package page: https://fhir.cognovis.de/sdk/fhir-sdk/
- API reference: https://fhir.cognovis.de/sdk/fhir-sdk/api/
- Entry points:
@cognovis/fhir-sdk,@cognovis/fhir-sdk/client,@cognovis/fhir-sdk/node,@cognovis/fhir-sdk/r4,@cognovis/fhir-sdk/dental,@cognovis/fhir-sdk/dental-core,@cognovis/fhir-sdk/terminology,@cognovis/fhir-sdk/canonicals,@cognovis/fhir-sdk/bootstrap,@cognovis/fhir-sdk/release-profiles,@cognovis/fhir-sdk/release-compatibility - README: https://npm.cognovis.de/-/verdaccio/data/package/readme/@cognovis/fhir-sdk
- Registry: https://npm.cognovis.de/@cognovis/fhir-sdk
npm install @cognovis/fhir-sdkWorked example: Build a profiled dental Condition offline
build-condition.mjsimport { buildDentalCondition } from '@cognovis/fhir-sdk/dental'; import { PatientProfile } from '@cognovis/fhir-sdk/r4'; // Builders and profile classes run offline; a FHIR server is only needed to // store the result (see createAidboxFhirClient in @cognovis/fhir-sdk/client). const patient = PatientProfile.createResource({ id: 'p-1', name: [{ family: 'Mustermann' }] }); const condition = buildDentalCondition({ code: { system: 'http://fhir.de/CodeSystem/bfarm/icd-10-gm', code: 'K02.1' }, subject: { reference: `Patient/${patient.id}` }, }); console.log(JSON.stringify(condition, null, 2));node build-condition.mjs - Version (npm dist-tag latest at render time):
-
FHIR De-Identification SDK (@cognovis/fhir-deidentification-sdk)
Profile-preserving FHIR R4 de-identification SDK generated from the De-Identification IG.
- Version (npm dist-tag latest at render time):
0.17.2 - Package page: https://fhir.cognovis.de/sdk/fhir-deidentification-sdk/
- API reference: https://fhir.cognovis.de/sdk/fhir-deidentification-sdk/api/
- Entry points:
@cognovis/fhir-deidentification-sdk - Registry: https://npm.cognovis.de/@cognovis/fhir-deidentification-sdk
npm install @cognovis/fhir-deidentification-sdkWorked example: Anonymize one Patient for export
deidentify.mjsimport { anonymousExport, createAnonymousExportContext, transform, } from '@cognovis/fhir-deidentification-sdk'; const patient = { resourceType: 'Patient', id: 'example', name: [{ family: 'Mustermann', given: ['Erika'] }], birthDate: '1964-08-12', address: [{ city: 'Berlin', postalCode: '10115' }], }; // The SDK validates the resource against the profile before and // after the transform. Plug in your FHIR validator here; this one // only checks the resource type. const validate = (resource) => ({ valid: resource.resourceType === 'Patient' }); const context = createAnonymousExportContext(); try { const result = transform(patient, anonymousExport(), { profile: 'http://hl7.org/fhir/StructureDefinition/Patient', validate, anonymousExportContext: context, }); console.log(result.classification, JSON.stringify(result.resource)); } finally { context.destroy(); }node deidentify.mjs - Version (npm dist-tag latest at render time):
-
FHIR Billing SDK (@cognovis/fhir-billing-sdk)
Evaluates FHIR billing Accounts and charges against admitted Billing Core rule sets through the Cognovis FHIR SDK.
- Version (npm dist-tag latest at render time):
0.51.0 - Package page: https://fhir.cognovis.de/sdk/fhir-billing-sdk/
- API reference: https://fhir.cognovis.de/sdk/fhir-billing-sdk/api/
- Entry points:
@cognovis/fhir-billing-sdk - Commands:
fhir-billing-check - README: https://npm.cognovis.de/-/verdaccio/data/package/readme/@cognovis/fhir-billing-sdk
- Registry: https://npm.cognovis.de/@cognovis/fhir-billing-sdk
npm install @cognovis/fhir-billing-sdkWorked example: Evaluate synthetic cases against one rule set
rule-set.json{ "schemaVersion": 2, "semanticMajor": 4, "id": "example-rules", "rules": [ { "id": "at-most-one-cleaning", "class": "quantity-limit", "mustUnderstand": true, "effect": "reject", "priority": 1, "parameters": { "selector": { "system": "https://example.invalid/CodeSystem/fee", "codes": ["CLEAN"] }, "maximum": 1 } } ] }cases.jsonl{"id":"one-cleaning","asOf":"2026-11-06","lines":[{"id":"l1","code":{"system":"https://example.invalid/CodeSystem/fee","code":"CLEAN"},"quantity":1,"unitPrice":{"value":"20.00","currency":"EUR"}}],"facts":{}} {"id":"two-cleanings","asOf":"2026-11-06","lines":[{"id":"l1","code":{"system":"https://example.invalid/CodeSystem/fee","code":"CLEAN"},"quantity":2,"unitPrice":{"value":"20.00","currency":"EUR"}}],"facts":{}}npx fhir-billing-check evaluate --rule-set rule-set.json --cases cases.jsonl - Version (npm dist-tag latest at render time):
-
FHIR Billing Engine (@cognovis/fhir-billing-engine)
Reference evaluator of FHIR Billing Core: compiles admitted rule sets and evaluates cases with exact-decimal precision. evaluateConformanceCases runs one rule set on synthetic cases without a FHIR server.
- Version (npm dist-tag latest at render time):
0.42.4 - Package page: https://fhir.cognovis.de/sdk/fhir-billing-engine/
- API reference: https://fhir.cognovis.de/sdk/fhir-billing-engine/api/
- Entry points:
@cognovis/fhir-billing-engine - README: https://github.com/cognovis/fhir-billing-core#standalone-evaluation-and-comparison
- Registry: https://npm.cognovis.de/@cognovis/fhir-billing-engine
- Source: https://github.com/cognovis/fhir-billing-core
npm install @cognovis/fhir-billing-engine - Version (npm dist-tag latest at render time):
-
FHIR Billing Rules (@cognovis/fhir-billing-rules)
Billing Core rule contract: rule classes, admission and digests of rule sets, and the JSON schema of a billing rule set.
- Version (npm dist-tag latest at render time):
0.42.4 - Package page: https://fhir.cognovis.de/sdk/fhir-billing-rules/
- API reference: https://fhir.cognovis.de/sdk/fhir-billing-rules/api/
- Entry points:
@cognovis/fhir-billing-rules - Registry: https://npm.cognovis.de/@cognovis/fhir-billing-rules
- Source: https://github.com/cognovis/fhir-billing-core
npm install @cognovis/fhir-billing-rules - Version (npm dist-tag latest at render time):
-
FHIR Billing Types (@cognovis/fhir-billing-types)
TypeScript types and constants of the Billing Core FHIR resources, rule payloads, cases, results and conformance records.
- Version (npm dist-tag latest at render time):
0.42.4 - Package page: https://fhir.cognovis.de/sdk/fhir-billing-types/
- API reference: https://fhir.cognovis.de/sdk/fhir-billing-types/api/
- Entry points:
@cognovis/fhir-billing-types - Registry: https://npm.cognovis.de/@cognovis/fhir-billing-types
- Source: https://github.com/cognovis/fhir-billing-core
npm install @cognovis/fhir-billing-types - Version (npm dist-tag latest at render time):
License
Cognovis-authored material in these guides, packages and SDKs is licensed under the Apache License, Version 2.0 (https://www.apache.org/licenses/LICENSE-2.0). Licensor: cognovis GmbH. Dependencies, the FHIR specification, terminologies and trademarks keep their own terms.
Third-party terminology: de.cognovis.fhir.dental, de.cognovis.fhir.dental.core, de.cognovis.fhir.deidentification reference SNOMED CT concepts. SNOMED CT is the intellectual property of SNOMED International. Using SNOMED CT requires a license from SNOMED International or from the National Release Centre of your country (in Germany: BfArM). The Apache-2.0 license of these packages does not cover SNOMED CT.