06.13

Način za pacijenta i upute nakon zahvata

Sažetak

Način za pacijenta prikazuje točno jedan objavljeni sadržaj i ništa drugo, a upute nakon zahvata stižu jednokratnom poveznicom. Pacijent ni na koji način ne može doći do ičega što mu nije pokazano.

Tehnička specifikacija vodi se na engleskom jeziku; naslovi i sažeci poglavlja prevedeni su na hrvatski.

Overview

  • ProductionOperate · Patient Mode and aftercare
    Share information with patients without an account and without any path into the clinical application.

Pipeline

  1. The clinician releases a specific artifact version to Patient Mode; containment binds that artifact and version, not the patient (PM-01).
  2. Every disclosure is recorded as evidence before it is shown (PM-04).
  3. Exiting requires the clinician to authenticate, and survives anything that destroys client state (PM-05/07).
  4. Aftercare: performed work produces directives; a single-use QR link with a 192-bit token, of which only a SHA-256 hash is stored, delivers them.

Data owned

  • Patient Mode sessions and disclosures
    Holds
    What was shown, to whom, when
  • Aftercare hand-offs
    Holds
    Token hashes and the directives they carry

Models and engines

This module makes no model calls. Everything it computes is deterministic code.

Guardrails

  • Only one source of content is renderable in Patient Mode (PM-08).
  • Tokens are stored as hashes and are single-use.
  • Aftercare is derived from performed work only, never from plans or drafts.

Rollout and status

  • ProductionAftercare links
    Public route outside the application
  • PilotPatient Mode
    Enabled per clinic

Interfaces

  • Consumes
    What
    Signed clinical documents
  • Consumes
    What
    Performed work
  • Emits
    What
    Disclosure evidence

Invariants

  • PM-01…08

Known limits

  • Summative human-factors validation of Patient Mode is an open item in its invariant document.
SOURCE OF TRUTH
  • server/services/patientMode/
  • server/services/clinical/PatientAftercareHandoffService.ts
  • docs/clinical-invariants/patient-mode.md
Svaki broj u ovoj specifikaciji generira se iz repozitorija i provjerava u CI-ju.