← Platform Foundation

FEAT-DATA-HANDLING-RULES

Data Handling Rules

The platform knows what each kind of information is, and treats it accordingly. A record of who did what can never be altered, not even by us. A hospital's copy of a shared vocabulary cannot be edited locally and quietly diverge. A machine's "I am here" is a passing fact, not a piece of history to be kept and restored.

Why this matters

A hospital's system holds several kinds of information that look alike and behave nothing alike. A patient's record and a device's heartbeat are both data. One must be kept for decades, moved intact, and never lost. The other is true for thirty seconds and misleading afterwards.

Systems that treat them the same fail in ways that are hard to see. Restore last night's backup and the machine unplugged a week ago is "online" again, because a momentary fact was saved as though it were history. Restore the same backup and everyone who was notified on Monday is notified again on Tuesday, because the system's memory of what it had already sent came back with everything else. Both restores report success. Someone finds out later.

The rules that prevent this are usually written as instructions to whoever builds the next feature: don't delete audit records, don't edit the shared terminology, don't back up the heartbeats. That works for exactly as long as everybody remembers. The person who forgets is never the person who wrote the instruction down.

So the platform states what each kind of information is — who is allowed to change it, whether it can be changed at all, whether it is kept, and whether it may leave the building — and then enforces those answers itself, in the one place all the data passes through. A rule that lives in the store cannot be forgotten by a new feature, an administrator, an import, or us.

Three promises a customer can hold us to.

What the system recorded about who did what, stays what it recorded. Audit entries cannot be edited or removed by anyone, including the vendor. This is not a permission that could be granted in an emergency — the capability to alter them does not exist.

A shared vocabulary stays shared. Where terminology is published by a national body or a regional authority, a hospital receives it and reads it, and cannot quietly amend its own copy. Two hospitals reading the same code always mean the same thing by it.

A restore brings back the record, not the moment. After recovery, the system reports which devices are actually present and sends nobody a notification twice. Recovering the past does not mean re-enacting it.

Some information is shared between what an organisation declares and what a person chooses — a clinician's qualifications belong to the organisation's records, while the language they read the interface in belongs to them. The platform keeps both, with each detail owned by exactly one side, so correcting a qualification never erases a personal choice and a personal choice can never overwrite an official fact.

What this is not

It is not an access-control system. Who may see information is a separate question, answered elsewhere. This is about what may be done with information by anyone permitted to reach it at all — and some of these rules bind every actor, including the ones with every permission.

It is not a retention policy. How long information is kept, and the floors and ceilings a jurisdiction imposes, are decided per zone. This capability decides whether a kind of information is the sort that is kept at all.

What it rests on
0 / 8 passing 5 without a result yet
  • kept by its basis its basis has no result Nothing in the trail can be changed or deleted; only the agreed retention period removes entries. REQ-AUD-NOTHING-IS-CHANGED-OR-DELETED
    Based on 1 promise
    • not cited Audit entries are exempt from the tenant's write discipline: no update, no tombstone under any policy; retention's sweep is the only removal. REQ-DBO-POL-AUDIT-UNCONDITIONALLY-APPEND-ONLY
  • kept by its basis its basis has no result Audit recorded at one site reaches its counterpart as it was recorded there — the original person, the original time, and the site named — exactly once, and nobody can write into the trail directly. REQ-DHR-AUDIT-ARRIVES-AS-IT-WAS-RECORDED
    Based on 1 promise
    • not cited A replica's audit entries reach its peer as that replica recorded them — original actor, original time, and the replica named — and the arrival writes no second trail. Direct writes to the audit type stay refused for every caller; the replication lane is admitted through one narrow port that can express no other write, and a re-delivered entry lands exactly once under the source's own identity. REQ-DBO-PROC-AUDIT-REPLICATES-AS-RECORDED
  • kept by its basis its basis has no result How closely an organisation's data is audited, and whether its records may be removed or only corrected, is declared in its configuration and published in its API description. REQ-DHR-THE-RULES-ARE-DECLARED-PER-ORGANISATION
    Based on 1 promise
    • not cited Audit level and write discipline are declared in the tenant's configuration next to its FHIR version, validated at registration, and visible in the capability statement. REQ-DBO-POL-DECLARED-AT-CONFIGURATION
  • kept by its basis its basis has no result Where an organisation keeps its records permanently, a mistake is corrected by a new version or marked as entered in error, never removed. REQ-DHR-CORRECTED-NEVER-REMOVED
    Based on 1 promise
    • not cited Under append-only discipline the engine rejects tombstones (and per-type in-place updates where declared); correction is supersession or entered-in-error, never removal. REQ-DBO-POL-APPEND-ONLY-DISCIPLINE
  • kept by its basis its basis has no result Shared content received from above is read-only, names its origin and version, and is updated and retired only by its origin; the organisation's own records of the same kind stay its own to change, and one standing in for a received copy does so openly. REQ-DHR-SHARED-CONTENT-IS-NOT-EDITED-LOCALLY
    Based on 2 promises
    • not cited Streamed copies are read-only and provenance-tagged with source tenant and version; updates and retirements propagate through the same stream. REQ-DBO-SYNC-PROVENANCE-COPIES
    • not cited A tenant may take a type from its upstream and author records of it too: what decides whether a write is accepted is whose the record is, not the type's handling. A copy streamed from upstream is read-only to everything but the stream that delivered it — an update or a delete is refused naming the read-only-here rule — while the tenant's own records of the type are its own to create, change and delete. Writing a record that claims a copy's identity shadows it, explicitly: the copy is set aside behind it, the stream keeps it current, and it comes back when the tenant's record goes. A search can ask for the upstream's copies — from one dependency, or any — or for the tenant's own. REQ-DBO-SYNC-A-TYPE-IS-RECEIVED-AND-AUTHORED-RECORD-BY-RECORD
  • gap: not yet stated A restore brings back the record, not the moment: devices report their real presence, and nobody is notified twice. FEAT-GAP-2ef08901
  • gap: not yet stated Whether each kind of information may leave is declared, and the platform enforces it. FEAT-GAP-9c7fef83
  • gap: not yet stated A fact both an organisation and a person contribute to keeps each detail owned by exactly one side. FEAT-GAP-f5f13375