mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-12 22:26:13 +00:00
The clinician-facing export failed SOFT on an undecryptable allergy reaction (→ null, rendered as a bare '—' indistinguishable from 'no reaction recorded') while a sibling dose-change note fails CLOSED. Extract a pure decryptAllergyReaction helper that keeps 'unreadable' distinct from 'unset', log the swallowed decrypt, and render an honest localized marker in the PDF so a clinician is never shown a silent blank where an unreadable reaction exists. Read-path only — the fail-closed write posture is untouched.