Skip to content

flexpa/pshd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

PSHD — Patient-Shared Health Documents

A test harness for SMART Health Links (SHLinks). Demonstrates a patient sharing encrypted FHIR bundles with a provider via QR code or URL, using JWE (A256GCM) encryption.

How it works

  1. Patient side — Enter demographics, select which resources to include (medications, allergies, conditions, vitals, PDF summary), and generate an encrypted SHLink.
  2. Provider side — Scan the QR code or paste the shlink:/ URL to retrieve and decrypt the FHIR bundle. View demographics, PDF, and individual FHIR resources.

All data is encrypted client-side. The server only stores opaque JWE blobs and logs access audits.

Running

python3 server.py

Open http://localhost:3000 in your browser.

Requirements

  • Python 3.7+

No additional dependencies — the server uses only the Python standard library. Frontend libraries (QR code, jsPDF, html5-qrcode) are loaded from CDNs.

License

MIT — Copyright (c) 2026 Flexpa USA Inc

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors