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

PII Source Crosswalk

PII Source Crosswalk

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.

Sources and IP

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.

Absorbed in catalog 1.2.0

  • 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.
  • Organization, Communication, ImagingStudy, Invoice, Consent field sets for German practice emission.
  • Attachment title/url/data on DocumentReference; annotation notes on Condition and Observation; CarePlan title/description; Account.description; ChargeItem.overrideReason; DiagnosticReport.media.comment.

Added in catalog 1.2.1

  • Native non-GKV 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.

Added in catalog 1.2.2

  • Condition 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.

Added in catalog 1.3.0

  • The author-written 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.
  • MedicationStatement, DeviceUseStatement and Medication have no de-identification profile in this IG. Their entries are catalog-only, as for Organization, Communication, ImagingStudy, Invoice and Consent; this page and the manifest rationale document them.
  • Scrub-pattern Library 1.1.0 adds 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].
  • Scrub-pattern Library 1.1.0 narrows 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.

Added in catalog 1.4.1

  • MedicationStatement 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.

Rejected from the Microsoft sample

  • Redact every Extension โ€” this IG uses extensions as DE payload.
  • Redact every 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.
  • Keep Organization identifiers globally โ€” German BSNR/IK on Organization are hashed, not kept.
  • Resource types not used in German ambulatory FHIR (NutritionOrder, InsurancePlan, Contract, FamilyMemberHistory, and similar). They remain out of the catalog until this IG emits them.

Rebuild

python3 scripts/rebuild-pii-fields-manifest.py --apply
python3 scripts/rebuild-scrub-patterns.py --apply