cognovis De-Identification IG for German Practice Data
0.17.1 - release
Germany
cognovis De-Identification IG for German Practice Data - Downloaded Version 0.17.1 See the Directory of published versions
A de-identified export withholds some values. This IG has one way to show that a value was withheld. It is the missing-data pattern of HL7 Europe Base and Core, applied without change:
| Artifact | Value |
|---|---|
| Package | hl7.fhir.eu.base |
| Version | 2.0.1 (STU 2, FHIR R4) |
| Canonical | http://hl7.eu/fhir/base/ImplementationGuide/hl7.fhir.eu.base |
| Rule | Handling Missing Data |
The rule uses only artifacts that this IG already depends on: the core
extension http://hl7.org/fhir/StructureDefinition/data-absent-reason and the
code http://terminology.hl7.org/CodeSystem/data-absent-reason#masked from
hl7.terminology.r4. This IG does not add a dependency on
hl7.fhir.eu.base and does not define a second privacy CodeSystem.
The Praxis IG (de.cognovis.fhir.praxis) uses the same path for its missing
data. The path applies until the German FHIR community standardises another
one.
0..1, 0..*): omit it. The export does not contain
the element. It does not contain an empty value, a placeholder such as
[REDACTED], or a data-absent-reason.1..1, 1..*): use an exceptional code as the
value. A CodeableConcept with an example, preferred or
extensible binding takes the exceptional code of its binding value set
that means the value was withheld, when the value set has one. Otherwise
its only Coding is
http://terminology.hl7.org/CodeSystem/data-absent-reason#masked, and it
has no text. A required Coding element takes the same Coding. A code
or CodeableConcept with a required binding takes the exceptional code
of its binding value set that means the value was withheld. When that value
set has no such code, the export does not mask the element. It never
substitutes a code with another meaning: Observation.status is not masked
as unknown, because unknown states that the source does not know the
status.1..1, 1..*, any other datatype): put the
data-absent-reason extension on the element. The element has no value and
no other content. Its extension
http://hl7.org/fhir/StructureDefinition/data-absent-reason has
valueCode masked. A primitive such as a dateTime carries the extension
on its _element sibling in JSON. A complex datatype such as a Reference
or a Period carries it in its own extension list.The path does not distinguish data that was never collected from data that
was collected and withheld on export. A withheld value uses masked. Data the
source did not have follows the same three rules with the code that states
why, for example unknown.
Observation.code is the single Coding data-absent-reason#masked.occurrenceDateTime has no value and carries the data-absent-reason
extension with masked.Both examples omit their optional elements that the export withholds.
These shapes are not part of the path. An export does not produce them.
An emptied Coding with the extension on its parts:
"code": {
"coding": [{
"_system": { "extension": [{ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", "valueCode": "masked" }] },
"_code": { "extension": [{ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", "valueCode": "masked" }] }
}]
}
The required code is "code": { "coding": [{ "system": "http://terminology.hl7.org/CodeSystem/data-absent-reason", "code": "masked" }] } instead.
A placeholder or an emptied value, alone or together with a masked code or
extension:
"name": [{ "text": "[REDACTED]" }],
"_birthDate": { "extension": [{ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", "valueCode": "masked" }] }
Patient.name and Patient.birthDate are optional, so the export omits both.
Two paths, one for data that was never collected and one for data withheld on export, are also rejected.
The TypeScript SDK does not follow this path yet.
It writes [REDACTED] placeholders into withheld values. Its alignment with
this path is tracked in
cognovis/fhir-deidentification-de#40.