cognovis De-Identification IG for German Practice Data
0.17.2 - release
Germany
cognovis De-Identification IG for German Practice Data - Downloaded Version 0.17.2 See the Directory of published versions
The field catalog in Library/pii-fields-manifest is Cognovis-authored. Three
sources informed which FHIR paths are treated as identifiers. This page records
what may be used, what was absorbed, and what was rejected.
| Source | What it is | Licence / status | Use |
|---|---|---|---|
| German ambulatory emission inventory | Resource types and identifier systems this IG actually processes (KVNR, LANR, BSNR, KIM) | Cognovis | Normative catalog |
| HIPAA Safe Harbor 18 categories (45 CFR ยง164.514(b)(2)(i)) | Public US identifier classes; DE mapping is on HIPAA Safe Harbor DE-Mapping | US regulation, cited not copied as a product | Heuristic classes (names, dates, telecom, biometrics). N/A rows stay N/A for Germany |
Microsoft FHIR anonymizer sample configuration-sample.json |
~193 FHIRPath rules for HIPAA Safe Harbor on R4 | MIT, Copyright Microsoft Corporation | Harvested path heuristics. Sample file is not shipped in this package; MIT notice is in THIRD_PARTY_NOTICES |
| Health Samurai ViewDefinitions | 17 SQL-on-FHIR views | Health Samurai terms | Not copied. Resource-type coverage remains a Cognovis fixture |
IHE De-Identification Handbook labels (PSEUDED, ANONYED, data-absent-reason
masked) are HL7 terminology already in hl7.terminology.r4. They are not a field list.
masked maps only to the Masking Export Path: an omitted optional element, data-absent-reason#masked as the code of a required coded element, or the data-absent-reason extension with masked on a required non-coded element.
The executable TypeScript projection is documented on the TypeScript SDK Contract.
It applies the IHE labels as policy boundaries: development output is PSEUDED and may retain
only its typed authorized lookup identifier; anonymous export is ANONYED; its
ephemeral mapping is caller-owned and destroyed when the caller destroys that
export context. Neither label authorizes profile repair, R5 output, or
unrestricted free-text retention.
Resource.id hashed (cryptoHash / randomToken in LLM mode) on catalogued types, matching Microsoft Resource.id.text.div scrubbed on catalogued types besides Patient (already present), matching Microsoft nodesByType('Narrative') with DE scrubFreeText instead of blank redact.Coverage.subscriberId is an insurer-assigned direct
identifier. It is hashed in non-LLM modes and replaced with a caller-scoped
random token in llm-anonymized mode. The official German GKV Coverage
profile continues to prohibit this element.onset.ofType(Period).start, onset.ofType(Period).end,
abatement.ofType(Period).start, and abatement.ofType(Period).end are
clinical dates. They are date-shifted in all four modes, with the same
offset as the Condition onset and abatement dateTime values and
recordedDate, as Procedure performed.ofType(Period) already is.text of coded concepts, the text of dosages, and
Immunization protocolApplied.series are free text beside the codings. A
clinician may repeat a name, a phone number or an address there. They are
scrubbed with scrubFreeText in all four modes on Condition,
AllergyIntolerance, MedicationRequest, MedicationStatement, Medication,
Procedure, DeviceUseStatement, Immunization, Observation and Encounter. The
codings, including Coding.display, are code-system designations and stay
unchanged.de-street-address. It replaces a street
name ending in a common German street suffix with its house number, and an
optional following postal code and city, with [ADDRESS].phone-de: a phone number starts at
+49 or at a 0 directly followed by a digit, not preceded by a digit,
hyphen or slash, so dosage schemes such as 400 1-0-1 or 0-10-10-12 in
the newly scrubbed dosage text stay unchanged. de-street-address runs
before titled-name, and kim-mail scans in linear time with unchanged
matches.effective.ofType(dateTime),
effective.ofType(Period).start, effective.ofType(Period).end and
dateAsserted, DeviceUseStatement timing.ofType(dateTime),
timing.ofType(Period).start, timing.ofType(Period).end and recordedOn,
and Observation issued are clinical dates. They are date-shifted in all
four modes, as the Condition onset dateTime is. Before, a resource kept
these real dates beside shifted dates of the same patient, so the patient's
offset could be recovered. The MedicationStatement and DeviceUseStatement
entries stay catalog-only.Extension โ this IG uses extensions as DE payload.Coding.code / CodeableConcept.text โ would erase ICD, EBM, and other clinical codes. Catalog 1.3.0 scrubs CodeableConcept.text on listed paths instead, which keeps the clinical text and the codings.python3 scripts/rebuild-pii-fields-manifest.py --apply
python3 scripts/rebuild-scrub-patterns.py --apply