← Security & Audit

US-OPS-AUDIT

Responding to a Health Board audit request

The Estonian Health Board (Terviseamet) opens a complaint investigation into a patient's care. They request the audit trail for that patient across the past twelve months from one of the customer organisations. The hospital's quality officer opens the audit surface, scopes the query, and exports a cryptographically anchored report within an hour. The investigator can verify everything she receives against the platform's external attestations. No PHI beyond the named patient leaks in the process.

The scene

10:00 Thursday morning. The quality officer at a regional hospital in northern Estonia, Tiina, receives a formal letter from Terviseamet. The letter references a complaint filed by a patient's family member about the management of an inpatient admission in February. The Health Board requests the audit trail for this patient's care over the twelve months preceding the complaint, and specifically for the in-hospital encounters during the February admission.

The request specifies:

  • Patient: by national ID, named in the letter.
  • Time window: 2025-02-04 to 2026-02-04.
  • Specific encounters: the inpatient admission from 2026-02-01 to 2026-02-07.
  • Scope: all access events to the patient's record, all modifications, all AI-generated content with provenance, the identity of every clinician who interacted with the record.
  • Format: signed export, with cryptographic verification chain.

Tiina has seen this kind of request before. Pre-Jengu, fulfilling it took weeks — the hospital's prior EHR system logged access events but in a form that required IT support to extract; AI- generated content (a recent addition before the complaint) had its provenance only loosely tracked; identifying every clinician who touched the record involved cross-referencing several systems.

She opens the audit response surface in the hospital's customer organisation.

The query

AUDIT RESPONSE — Health Board investigation
══════════════════════════════════════════════════════════════════
PATIENT
  National ID:   xxxxxxxxxxx
  In customer organisation:     hospital-id

TIME WINDOW
  From:  2025-02-04 00:00 (12 months back)
  To:    2026-02-04 00:00 (date of complaint)

SCOPE
  ☑ All access events to this patient's record
  ☑ All modifications (clinical, administrative)
  ☑ All AI-generated content with full provenance
  ☑ All clinicians and roles who interacted with the record
  ☑ Every data flow crossing to another customer (in or out)
  ☑ Consent events and any consent changes
  ☑ Patient-initiated actions (portal usage, corrections, etc.)
  ☐ Audio recordings (separate consent + privacy review;
     reserved for explicit Health Board request)

FORMAT
  ☑ Signed PDF report (human-readable, ~30-50 pages)
  ☑ Structured JSON export (FHIR + audit-extension format)
  ☑ Cryptographic verification chain
  ☑ External attestation receipts (independent verification)

[Generate audit package]    [Save query]

She fills in the patient's national ID (from the letter). The time window auto-derives from the complaint date. The scope is the standard Health Board scope, with audio recordings held back pending explicit request (audio is privacy-sensitive and not typically requested unless specifically relevant).

She clicks Generate.

What gets generated

The audit package is built. It takes about four minutes.

The structured JSON export contains:

  • Access events. Every time anyone read this patient's record. Each entry: who (clinician + role), when (down to the second), what (which fields or which resources), context (which encounter or which administrative action it was associated with).
  • Modifications. Every change to the record. Each entry: who, when, what (before/after diff), reason (where captured). This includes the change nobody at the hospital made: when a platform release brought the hospital's stored records up to a newer shape — something each hospital switches on in its own configuration, after reading a dry-run report — the rewritten record carries a provenance entry naming what converted it, when, and from which version. "Why does this order say what it says" has the same answerable shape whether a clinician or an upgrade wrote it.
  • AI-generated content. Every AI summary, draft order, smart- action suggestion, with full provenance: which model, which inputs, which prompts (templated), which version, who reviewed and accepted (or rejected).
  • Cross-customer organisation flows. Lab results in (from the partner lab), prescriptions out (to the national health information system), dispense events in (from the national health information system), any referrals.
  • Consent events. Initial consent at registration, any updates, the per-encounter consent flags.
  • Patient-initiated actions. Patient portal logins, corrections, requests.

The signed PDF report is human-readable: 47 pages of structured narrative organised by encounter, with a summary section up-front and full detail in the back. Every entry has its internal reference ID for cross-checking against the JSON export.

The cryptographic verification chain is the most investigator-visible part:

AUDIT PACKAGE — Cryptographic Verification
══════════════════════════════════════════════════════════════════
This audit package was generated on 2026-04-25 10:14 EET by:
  Quality Officer Tiina M. (signed: Mobiil-ID)
  At customer organisation: hospital-id
  Against patient: (national ID), time window above.

Package SHA-256:    e4f23a...8c91
Tenant signature:   (Hospital's FHIR storage project signing key)
Platform signature: (Jengu cloud signing key, scoped to this customer organisation)

INDEPENDENT ATTESTATION RECEIPTS
─────────────────────────────────
Anchor 1: external timestamping service A
   Receipt ID:    TS-A-2026-04-25-09:14:23-...
   Anchor SHA:    e4f23a...
   Confirms package existed and content was unchanged as of
   2026-04-25 10:14:23 EET.

Anchor 2: external timestamping service B
   Receipt ID:    TS-B-2026-04-25-09:14:24-...
   Anchor SHA:    e4f23a...
   (Independent confirmation by a second timestamping service.)

VERIFICATION
─────────────
The Health Board investigator can:
1. Compute SHA-256 of the JSON export and confirm it matches.
2. Verify the customer organisation + platform signatures against the published
   public keys (linked below).
3. Verify the timestamping receipts against the two timestamping
   services' published verification endpoints.
4. Confirm that the audit-internal sequence numbers form an
   unbroken chain (no missing entries, no insertions after-the-
   fact).

Verification documentation: https://jengu.cloud/audit/verify

The package is downloaded as a single ZIP. Tiina cover-letters it and sends it to the Health Board via the registered secure-mail channel.

She has spent about 75 minutes total. Of that, the audit-surface work was 12 minutes; the rest was reading the letter, internal discussion with the medical director, writing the cover letter.

What the investigator does

Linda, the Terviseamet investigator, receives the package later that morning. She opens it. The PDF is well-organised; she reads the summary section, identifies which encounter she wants to dig into first (the February admission's day 3, where the family member's complaint centres).

She turns to the structured JSON and pulls up the day-3 events. She sees:

  • Morning ward round at 09:20 with three named clinicians (signed digital signatures).
  • An AI-generated patient summary at 10:05; reviewer's accept signature at 10:11.
  • A medication change at 10:23: dose reduced; reason field captures the clinician's voice transcript "patient developed bradycardia, reducing dose".
  • The bradycardia event itself logged at 09:45 (vitals monitor capture; reviewed and acknowledged).

This is what the family member was unsure about — the medication change wasn't explained to them at the time, and they thought it indicated something had gone wrong. The audit trail shows the sequence: the bradycardia was noted, the dose was reduced as a response, the change was discussed on the round (with the clinician's voice captured). The clinical management was documented in real-time, not reconstructed afterward.

She also verifies the cryptographic chain. The SHA matches; the customer organisation + platform signatures verify; the two timestamping receipts both confirm the package was anchored at the stated time.

This matters because in a complaint case, the question "could this audit trail have been edited after the fact?" is always implicit. The cryptographic anchoring answers it: anything in the package existed in the form shown, at or before the timestamp on the receipts. Any post-hoc modification would require breaking both timestamping services and forging two external signatures, which is not feasible.

Linda spends the next several days reviewing the package, asks one follow-up question (a clarification on a specific nurse-handover note), and ultimately concludes that the clinical management was appropriate. The complaint is closed without further action.

What's NOT in the package

Two things are deliberately not in the package:

1. Audio recordings. Voice recordings of the ward rounds, the consultations, and the team discussions are not in the package. They were captured and retained, but they require a separate Health Board request that includes specific justification and a privacy review. The patient consent for recording does not extend to "any future investigator can listen". This is intentional: audio is the highest-fidelity record of clinical conversation, but also the most privacy- sensitive.

2. Records of other patients. Even when other patients were discussed in the same ward round or were in the same bay, their records are not in the package. The audit surface scopes strictly to the patient named in the request. Cross-references (e.g., "discussed in bed 4 round") are anonymised in the package.

This scoping is enforced at generation time; it can't be bypassed even by the Tiina-as-quality-officer role. To get beyond it requires a different scope of Health Board request, explicitly authorising the broader access.

Why this matters

Healthcare investigations are inevitable. The question is whether the audit trail makes them easier or harder, more trustworthy or more contested. In most healthcare systems today, audit trails exist but are:

  • Fragmentary. Different sub-systems log differently; pulling them together is manual.
  • Not provenance-aware for AI content. AI-generated summaries and drafts are produced by clinical-AI tools but the provenance (which model, which inputs, what prompt) is usually not captured in a way the audit can show.
  • Vulnerable to post-hoc editing. Audit logs without cryptographic anchoring can be edited; in some scandals they have been.
  • Time-consuming to extract. A week of IT-and-quality- officer work for a single request is not unusual.
  • Over-scoped or under-scoped. Either too much PHI is shared (because scoping is imprecise) or too little (because the system can't extract specific things).

A platform-native audit surface with cryptographic anchoring, AI-provenance capture, precise scoping, and one-click generation collapses the timeline from weeks to hours and makes the audit trail more trustworthy at the same time. The hospital's reputation, the patient's family's understanding, and the regulator's investigation all benefit.

The pattern matters culturally too. Clinicians sometimes worry that a high-fidelity audit trail will be used against them in complaint cases. The structural reality is the opposite: when clinical decisions are well-documented and provenance-traced, the audit trail typically defends the clinician by showing the decision was reasonable in the context known at the time. It is missing audit that makes clinicians vulnerable to claims they cannot rebut.

What it rests on
0 / 1 passing
  • gap: not yet stated US OPS-AUDIT: what it rests on is not yet stated here as promises. US-GAP-406d3fb7