§170.315(b)(10) Electronic Health Information Export
HealthVision's EHI export produces a ZIP archive of per-domain JSON files — one file per clinical data domain, not a single monolithic export. This page describes the format, not the actual EHI content of any specific export.
Two export scopes are available:
| Scope | Contents |
|---|---|
| Single patient | One patient's full record, as the domain files described in §3 |
| All patients | Every patient in the practice, each under their own patients/<PRN>/ folder, same per-domain file set repeated per patient |
Every export is a single .zip file containing:
manifest.json — export metadata: scope, patient count, generation timestamp, format identifier ("JSON (one file per clinical data domain)"), and an integrity object with a SHA-256 digest and size for every other file in the archive (see section 6.1).README.txt — a human-readable copy of this format summary, generated fresh into every export.patients/<PRN>/.export.zip
├── manifest.json
├── README.txt
├── patient.json
├── encounters.json
├── allergies.json
├── immunizations.json
├── prescriptions.json
├── risk-scores.json
├── advance-directives.json
├── implantable-devices.json
├── goals.json
└── family-history.json
# All-patients export nests the same files per patient:
export.zip
├── manifest.json
├── README.txt
└── patients/
├── <PRN-1>/patient.json, encounters.json, ...
└── <PRN-2>/patient.json, encounters.json, ...
| File | Contents |
|---|---|
patient.json | Demographics, address history, contact info, insurance, care team, next of kin, race/ethnicity. (Encrypted SSN ciphertext is stripped before export — it is not reversible outside the application and is not EHI in a usable sense.) |
encounters.json | Every encounter, each composed inline with its diagnoses, medications, orders, vitals recorded during that encounter, and the clinical note content (subject to the specialty's own confidentiality rules — a specialty under a confidentiality hold contributes nothing for that encounter rather than this export overriding it). |
allergies.json | All recorded patient allergies. |
immunizations.json | All recorded immunizations. |
prescriptions.json | All prescriptions on file. |
risk-scores.json | Recorded patient risk scores. |
advance-directives.json | Advance directive records. |
implantable-devices.json | Implantable device records, including Unique Device Identifiers. |
goals.json | Patient goals. |
family-history.json | Family relatives and their associated diagnoses. |
Each file is standard JSON (UTF-8, indented), one array of records (or one object, for patient.json) per file — field names match the application's own record shape for that domain.
Authorized users request an export (single patient or all patients) from within the application. Generation is asynchronous — exports typically become available within a timely window after being requested, not instantaneously, since the archive is built and uploaded to storage in the background. Once ready, the export is downloaded via an authorized API endpoint that returns a short-lived, signed URL to the archive — the archive itself is never placed at a public or guessable location.
The files are intended to be processed programmatically: parse each domain's JSON file independently, or reassemble a patient's full record by loading every file under that patient's folder. No proprietary tooling is required — any standard JSON parser is sufficient.
The integrity object in manifest.json has three fields:
algorithm — always "SHA-256".covers — always "every other file in this archive".files — one entry for each file in the archive except manifest.json, which cannot list its own digest. Each entry has:
path — the file's path inside the ZIP, with / as the separator (for example patients/PRN-123/encounters.json).bytes — the size of the file's contents in bytes.sha256 — the digest of the file's contents, as 64 lowercase hexadecimal characters.The digest is calculated on the file after extraction, not on the ZIP file, so the digest of the archive itself will not match any entry. In an all-patients export, each patient's folder name is the patient's PRN (or internal patient ID when no PRN is set) with every character other than a letter, a digit, a hyphen or an underscore replaced by a hyphen. The folder can therefore differ from the printed PRN; use the path value to find the file.
To check a file, extract the archive, compute the file's SHA-256, and compare it with the entry whose path matches:
Windows (PowerShell): (Get-FileHash -Algorithm SHA256 .\encounters.json).Hash macOS: shasum -a 256 encounters.json Linux: sha256sum encounters.json
PowerShell prints the digest in uppercase and the manifest uses lowercase, so compare without regard to case. The file's size should equal its bytes value.
What a match shows. If a file's digest matches its entry, the file is identical to the file the manifest was written with. Changing one byte changes the digest.
What a match does not show. The manifest is not signed. Anyone who can change a file can also recalculate its digest and rewrite manifest.json, so a matching manifest shows that the archive is internally consistent, not who produced it. If you need that assurance, compare the digests with copies obtained through a separate, trusted channel. The digests also do not cover the ZIP container itself, and they do not show that the export is complete or correct.