Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Data protection impact assessment

GDPR Art. 35 makes a data protection impact assessment mandatory before large-scale processing of health data. That assessment belongs to the controller, and it is about a deployment: its purposes, its users, its network, its organisation. What this page supplies is the half a supplier can supply, which is the technical description the assessment builds on.

FerroEHR is software. It is not a controller, not a processor and not a certified organisation, so nothing here says a deployment is compliant with anything. It says what the software does with personal data, which controls it ships, and what those controls do not reach.

How to use this page

Copy the sections you need into your own assessment and replace what is yours. Sections 1 to 5 describe the software and are the same for every deployment. The risk register in section 6 lists the risks the product’s own design creates and the control it ships against each; your assessment adds the risks your deployment creates. Section 7 maps shipped controls to the legal source each was built for.

Read it alongside the threat model, which states the residual risk at each boundary, and the shared responsibility page, which says which duties the software cannot carry.

1. The processing this software performs

A FerroEHR deployment stores and serves an openEHR clinical data repository. Seven activities carry personal data, and they are described one by one, with the Art. 30 fields, in Records of processing:

  1. Storage of clinical content as versioned objects.
  2. Versioning and change control: every write commits a contribution and an audit entry in the same transaction, and no version is overwritten.
  3. Query over stored content, in AQL.
  4. Identity and linkage: parties, protected national identifiers, and the resolution of a party or a subject to the EHRs whose EHR_STATUS names it.
  5. Access logging: one record per access, in DICOM PS3.15 and FHIR AuditEvent renderings.
  6. Change-event feed: a PHI-free envelope per commit, served to the readers the read_change_feed grants in the CDR name.
  7. Workforce identity: the professionals’ PERSONs, their groups and their professional ROLEs, provisioned through SCIM or created at a first login, which each version’s committer and each access record name.

Everything else the server does (templates, terminology lookup, conformance reporting) operates on definitions rather than on people.

2. Data categories, by schema

The database is split so that no single runtime credential holds both the clinical record and the identities. Each schema is a separate category of data with its own role.

SchemaPersonal data it holdsGDPR category
clinicalClinical content: compositions, EHR status, folders, contributions, attestations, item tags. The subject appears as EHR_STATUS.subject.external_ref, which is an opaque pseudonym once [privacy] subject_namespaces is declaredArt. 9 special-category health data
partyParties: persons, organisations, groups, agents, roles and their relationships, with names, addresses and contacts as the operational template defines them. Protected national identifiers live in national_identifier, sealed under a per-domain key with a keyed digest beside themArt. 4(1) personal data; a national identifier is Art. 87 national identification number
auditOne record per access: who, from which organisation, under which roles, what they read or wrote, the declared purpose, the outcome and the timeArt. 4(1) personal data about both the subject and the accessing person
extNo personal data. Helper functions, the runtime roles and the deployment posture—

3. Roles and the credentials that serve them

Four runtime database roles, each holding one domain and revoked from the others in both directions, plus a migration credential used for one boot step. The full grant-by-grant table, and what a backup artefact per schema is worth to a holder, is the threat model.

At the API, an access decision runs through authentication, the openEHR EHR_ACCESS gateway, RBAC, optional ABAC and optional SMART scopes, each stage only able to narrow the previous one. That layering is Security.

4. The pseudonymisation domain

flowchart LR
    subject(["The person"])
    subgraph dom ["The pseudonymisation domain"]
        clin[("clinical<br/>clinical record,<br/>keyed by an opaque pseudonym")]
        demo[("party<br/>the person, and sealed<br/>national identifiers")]
    end
    aud[("audit<br/>who reached what, when")]
    subject -.-> demo
    clin -. barred .- demo
    clin -->|"application-level crossing,<br/>two pools, recorded"| aud

Read one domain and you hold a clinical record whose subject is an opaque identifier, or a set of people with no records attached. Only the two together re-identify anything.

A cohort and the AQL demographic join cross the boundary. Each selects parties on the demographic pool, then finds the EHRs whose EHR_STATUS.subject names those parties on the clinical pool. The two hops are two connections in the application, so no statement performs the join and no credential could issue one. Every crossing writes an access record naming the actor, the declared purpose and whether anything matched.

5. Retention

FerroEHR expires almost nothing on its own, which is deliberate: an openEHR record is indelible by design, and deciding when a record stops being needed is the controller’s judgement rather than a default.

DataWhat the software doesKey
Clinical content and its versionsKept until an administrator deletes it. Archiving moves a record to the cold tier without expiring itthe admin API
Demographic partiesThe samethe admin API
Access recordsKept forever by default; reaped hourly when a retention is set[audit.store] retention
Change-event envelopesPruned seven days after their commit by default, once every active reader has acknowledged them[record.change_feed] retention

The access log carries a jurisdictional floor. Where one of the active identifier-scan rules names a jurisdiction with a registered retention floor, a shorter audit.store.retention is a boot error naming the floor rather than a silent trim. The Netherlands is the one registered floor today: five years from the moment the entry is written, under the Besluit vaststelling bewaartermijn logging, expressed as 1830 days because five calendar years never exceed that. Adding a jurisdiction is a code change, not a configuration one, so a deployment elsewhere sets its own floor by hand and records why.

6. Risk register

Each row is a risk the product’s own design creates or leaves. “Shipped control” is what the software does about it today; “what remains” is what your assessment has to size.

#RiskShipped controlWhat remains
R1A clinical record and the identity of its subject are held together, so one credential re-identifies everyoneTwo schemas, four NOINHERIT roles, explicit revokes in both directions, and a boot self-check that refuses to serve when a role can read acrossWith every [database.<domain>] url unset, all three pools use one credential and the split is a schema split. A superuser and a cluster-wide restore span everything
R2A national identifier is written into clinical contentThe identifier scanner over every string leaf of every clinical write, strict by default, with all eight shipped rules active; the subject rule; the refusal of identifying party proxies; and a database trigger on ehr once the namespaces are declaredA rule matches a checksummed number, not a name, an address or a local record number. subject_namespaces is empty by default, which leaves the subject rule and the trigger out of force
R3A national identifier is readable in the party store, in a backup or on a replicaAES-256-GCM per record with the scheme bound in, a keyed HMAC-SHA-256 digest for lookup, per-domain subkeys, and a SECURITY DEFINER resolve function only the party role may executeProtection is off by default. An identifier whose scheme is not configured stays in the versioned body. The root key held beside a dump defeats all of it
R4Someone re-identifies a record and nobody can tell afterwardsEvery resolution of a party or a subject to its EHRs writes a linkage-domain access record naming the actor, purpose and outcome, including a missRecording is not prevention. An actor entitled to the crossing re-identifies by design
R5Content identifies a person without carrying an identifierSmall-cell suppression on the cohort query: a result serving fewer distinct EHRs than privacy.cohort.small_cell_threshold (default 5) withholds its rows and says soA rare diagnosis with a date and a place identifies without any identifier field. The threshold covers the cohort query alone; an ordinary AQL execution takes none
R6One organisation reads another’s rowsOne instance per organisation: its own database, its own domain roles, and no relation, policy or session setting that two organisations could share. openEHR puts multi-tenancy at the layer hosting several systems rather than inside one (BASE architecture_overview master06-design_of_the_ehr.adoc §The EHR System)The separation is now a deployment property, so two organisations pointed at one instance share everything and nothing in the software will catch it
R7Access records are altered or lostRecords are hash-chained and audit.verify_audit_chain() names any that changed; the runtime role can insert and stamp delivery and nothing more; syslog and FHIR-feed forwarding put copies off the boxThe chain is evidence, not prevention. A local repository shares the blast radius of the database it audits, and a read made straight against the database appears nowhere
R8A backup carries what the grants withheldOne dump per domain, each under its own read-only role and its own claim, and the chart refuses to render when two domains name the same claimEach dump is plaintext of its own domain. Two of them together rebuild the join. Nothing prunes old dumps
R9A deployment has made none of the separations and looks like one that hasdeployment.profile = "production" refuses to start while a separation is open and not accepted by name; sandbox names every open one on the banner, in the log and on GET /management/statusThe default is sandbox, so an operator who sets nothing gets the loud version rather than the enforced one
R11A professional’s data are copied from the identity provider beyond what attribution needs, or a login reaches another person’s PERSONSCIM and just-in-time creation write only the attributes the party mapping names; just-in-time creation writes the key, the userName and the name only, and contacts are unmapped by default; the binding key is the identity provider’s immutable user id, never an email, a name or a upn, and never changes once set; a professional’s PERSON is writable only by its SCIM client or an administrator (Who is the committer)The lawful basis for each mapped attribute, the Art. 14 information to the professionals, the retention of the attribution minimum (in the Netherlands the BW 7:454(3) horizon), and the identity provider’s own controls over who may change a user
R10Anyone with a database connection is past every API controlLeast-privilege roles revoked from each other’s domains, and a version table that is appended to rather than overwrittenThis is inherent. Authorization is enforced at the API, so protecting the credentials and the network path is yours

Each control below is a closed tracker issue, so the claim is checkable against the pull request that delivered it. The complete list, generated from the tracker and re-checked by a CI job, is the control matrix; these are the ones a pseudonymisation assessment usually asks for.

A cell carries a mapping only where the delivering issue declares it, which is what the generated matrix reads, or where the source code itself cites the standard. An empty cell means no such declaration exists, never that the control is irrelevant to that source.

ControlIssueGDPREDPB 01/2025EHDSNEN
Demographic parties in their own schema under a non-overlapping runtime role#3153Art. 4(5), Art. 32(1)(a)pseudonymisation domain——
The clinical side refuses identifying data; the subject reference is constrained to a pseudonym namespace#3154Art. 4(5), Art. 25(2)———
National identifiers sealed, with a keyed digest that keeps a value live for one party at a time#3155Art. 32(1)(a)——NEN 7510-2 cryptographic controls
Per-domain access logging for reads and queries#3156——Art. 9NEN 7513 event content
Separate encryption keys and per-schema backup handling#3157Art. 4(5), Art. 32(1)(c)———
The declared deployment profile: production refuses what it cannot prove#3226Art. 32(1)———
The subject pseudonym is opt-in: FerroEHR mints none, and a declared namespace constrains every subject reference#3232Art. 4(5)———
A jurisdictional floor under access-log retention#3242Art. 5(1)(e)——NEN 7513 retention
The accessing organisation on every access record#3204——Annex II 3.2(a)—
The actor’s roles on every access record#3239———NEN 7513 actor role

The legal sources, each cited to its publisher: GDPR, EHDS, EDPB Guidelines 01/2025 on pseudonymisation, NEN 7510, NEN 7513. NEN 7510-2 is the control set of that standard; the entries above name the control family a measure belongs to rather than quoting a clause, because the standard’s text is not free to redistribute and the linked publisher is the authority.

8. What this software cannot do for your assessment

  • It cannot decide your lawful basis, your purposes or your retention. Those are the assessment’s own findings.
  • It cannot tell you who your processors are, including whichever managed PostgreSQL, object store, broker or terminology server the deployment uses.
  • It cannot serve a data subject’s rights on its own. Which requests the software can answer and which the organisation must is shared responsibility.
  • It cannot certify anything. No conformity assessment has been carried out and no EU declaration of conformity exists; see EHDS readiness.

Next