Written and maintained by CASRAI Editorial Board
Published · Last updated
On this page
Blockchain in healthcare refers to the use of permissioned, enterprise distributed ledger technology (DLT) and cryptographic hash chains to maintain tamper-evident, multi-institutional audit logs, data provenance proofs, and supply chain verification records across organizations that do not share a single centralized database administrator. As formalized in the National Institute of Standards and Technology overview (NISTIR 8202, Blockchain Technology Overview) and Office of the National Coordinator for Health IT (ONC) interoperability workshops, healthcare implementations rely exclusively on permissioned consortium ledgers (such as Hyperledger Fabric or enterprise Quorum networks) governed by vetted healthcare entities—never public, unpermissioned networks.
In biomedical informatics, pharmaceutical operations, and clinical research data management, the most critical architectural rule of healthcare distributed ledgers is strict separation between on-chain cryptographic metadata (SHA-256 document digests, Merkle tree roots, and timestamped consent state transitions) and off-chain clinical data storage (where electronic Protected Health Information [ePHI] resides inside HIPAA-compliant databases and HL7 FHIR servers).
What Is Blockchain in Healthcare? On-Chain Hash Pointers vs. Off-Chain ePHI Architecture
A distributed ledger is an append-only sequence of data blocks in which each block contains a cryptographic hash of the preceding block’s header alongside the root hash of a Merkle tree summarizing the transactions committed during that interval. In healthcare systems regulated by the HIPAA Security Rule (45 CFR § 164.312), raw clinical payloads—such as patient names, diagnoses, HL7 FHIR bundles, C-CDA XML documents, or DICOM imaging studies—must never be written directly onto a blockchain ledger, even in encrypted form.
Instead, healthcare systems implement a two-tier On-Chain Hash Pointer / Off-Chain Repository Architecture:
| Architectural Layer | What Is Stored | Cryptographic & Access Controls | Regulatory Purpose |
|---|---|---|---|
| Off-Chain Clinical Data Layer | Raw ePHI: HL7 FHIR R4 resources, C-CDA notes, DICOM studies, signed clinical trial eConsent PDFs, and electronic Case Report Form (eCRF) tables | AES-256 encryption at rest, TLS 1.3 in transit, role-based / attribute-based access control (RBAC/ABAC), and physical media sanitization | Preserves HIPAA minimum-necessary access, supports high-throughput clinical queries, and enables statutory record amendment or deletion |
| On-Chain Permissioned Ledger Layer | Zero ePHI: SHA-256 / SHA-3 cryptographic hashes of off-chain records, immutable timestamps, organization digital signatures (X.509 PKI), and consent policy pointers | Permissioned Membership Service Provider (MSP) identity verification, Raft / PBFT crash- or Byzantine-fault-tolerant consensus | Provides non-repudiable, cross-institution proof that a specific clinical document or consent version existed at time T and has not been altered since |
How Is Blockchain Used in Healthcare and Clinical Research? Four Production Use Cases
While many early proposals to replace hospital electronic health records with distributed ledgers failed due to latency and privacy constraints, permissioned ledgers have demonstrated operational utility in four multi-party healthcare coordination problems where no single participant is trusted to host the master database alone:
1. Pharmaceutical Supply Chain Verification Under the FDA DSCSA
Under the federal Drug Supply Chain Security Act (DSCSA, Title II of the Drug Quality and Security Act, P.L. 113-54), pharmaceutical manufacturers, wholesale distributors, repackagers, and hospital dispensers must exchange interoperable, package-level electronic tracing data (Global Trade Item Numbers [GTIN], serial numbers, lot numbers, and expiration dates via GS1 EPCIS events) and verify saleable returned prescription drug packages. As documented in the FDA DSCSA Pilot Project Program Final Report (2023) and detailed in our guide to blockchain in the pharmaceutical supply chain, permissioned networks such as the MediLedger Network enable instant lookup of manufacturer-assigned product identifiers and verification routing without exposing proprietary commercial transaction volumes between competitors.
How Can Blockchain Be Used in Clinical Trials and Provider Credentialing?
1. Clinical Trial eConsent, Protocol Provenance, and 21 CFR Part 11 / ALCOA+ Audit Trails
In multi-site interventional clinical trials involving sponsors, Contract Research Organizations (CROs), Institutional Review Boards (IRBs), and clinical investigator sites, regulators frequently cite deficiencies in informed consent version control (such as a participant signing an outdated IRB protocol consent version) and retrospective source data modification. By anchoring the SHA-256 hash of each IRB-approved protocol version, each participant’s signed eConsent artifact, and each batch of locked Electronic Data Capture (EDC) eCRF records onto a permissioned consortium ledger, sponsors create an independent, tamper-evident verification layer supporting FDA 21 CFR § 11.10(e) audit trail requirements and ICH E6(R3) ALCOA+ data integrity principles (Attributable, Legible, Contemporaneous, Original, Accurate, and Complete).
2. Multi-Payer Provider Credentialing and Directory Synchronization
Healthcare providers and health plans spend substantial administrative overhead repeatedly verifying the same primary-source physician credentials (state medical licenses, DEA registrations, board certifications, and hospital privileges) and reconciling conflicting provider directories. Consortium initiatives—such as the Synaptic Health Alliance and ProCredEx—use permissioned distributed ledgers so participating health plans and health systems can share cryptographically attested primary-source credentialing verifications and update provider directory endpoints in real time.
3. Dynamic Research Consent and Patient-Mediated Record Locator Pointers
In longitudinal biobanks and multi-center observational registries, participants may grant, restrict, or revoke permission for secondary research use of their biospecimens and linked EHR data over time. Permissioned ledger access-control rules record an immutable, timestamped log of every consent grant or revocation event, which off-chain FHIR resource servers query before releasing data under an OAuth 2.0 / SMART on FHIR request.
How MedRec shares records: the three-contract pattern
The best-documented reference design for a blockchain-based record locator is MedRec, built by Azaria, Ekblaw, Vieira and Lippman at the MIT Media Lab and published in 2016. It runs on Ethereum smart contracts and keeps the clinical data in the providers’ own databases. The blockchain carries data pointers, viewing permissions and a cryptographic hash of each record to guard against tampering. The design uses three contract types:
- Registrar Contract (RC). A global contract that maps participant identification strings to Ethereum address identities (equivalent to a public key), and to the address of that participant’s Summary Contract. Policies coded into it can restrict identity registration to certified institutions.
- Patient-Provider Relationship Contract (PPR). Issued between two nodes when one stores and manages medical records for the other. It holds data pointers, each a query string that the provider’s database executes to return a subset of the patient’s data, together with the hash of that returned subset, the location of the provider’s database, and a mapping from viewers’ addresses to further query strings that define what a third party may see.
- Summary Contract (SC). A bread-crumb trail that lists references to all of a participant’s PPRs, so a patient can locate their record history across providers. A status variable on each relationship lets providers flag a new relationship or a pending update, while only the patient can accept, reject or delete one.
Each provider node also runs a Database Gatekeeper, an off-chain server that receives a query string with a reference to the on-chain PPR, checks the blockchain permissions and the requester’s signature, and only then runs the query on the local database. The prototype therefore exercises the pattern described earlier in this guide: the ledger decides who may ask and proves the answer was not altered, while the database holds and releases the data.
Anchoring FHIR Provenance and handling amendments
For research data management and clinical trial source data, the natural unit to anchor is a version of a FHIR resource together with its Provenance record. In HL7 FHIR R4, Provenance.target references the resource, usually version-specific; Provenance.recorded is the instant the activity was recorded; Provenance.activity states what happened; Provenance.agent identifies who or what participated; and Provenance.signature can carry a digital signature on the target. Hashing the canonical form of that resource version and committing the digest to the ledger lets an inspector confirm that the stored version matches what existed at the recorded time.
Immutability does not collide with the HIPAA right to amend when only hashes are on-chain. Under HIPAA 45 CFR § 164.526(c)(1), a covered entity that accepts an amendment must amend the record in the designated record set by identifying the affected records and appending, or linking to the location of, the amendment. In a hybrid design the off-chain resource moves to a new version, and a new transaction records the new version’s hash and pointer, so the ledger shows that one version was superseded by another through an authorized amendment. Patient-controlled identity layers such as self-sovereign identity in healthcare and permissioned platforms such as Hyperledger Besu are commonly paired with this pattern.
Can a blockchain be HIPAA compliant? Design requirements
HIPAA compliance is a property of how a covered entity or business associate meets the Privacy and Security Rules in 45 CFR Parts 160 and 164, not of a ledger technology as such. The Security Rule requires administrative (§ 164.308), physical (§ 164.310) and technical (§ 164.312) safeguards, and a ledger that touches ePHI has to be evaluated against them like any other system. A public, permissionless network, where anyone can join, replicate the full state and read transaction payloads, is a poor fit for ePHI for that reason. A permissioned design that meets the three requirements below is the practical route:
- Permissioned consortium topology. Network access is limited, through X.509 certificates and membership services, to authenticated healthcare institutions, research sponsors and contracted cloud operators.
- Off-chain ePHI storage. Clinical payloads, such as FHIR resources, DICOM images, genomic files and identifiable demographics, stay in HIPAA-governed databases or encrypted cloud repositories.
- Hashes, pointers and logs on-chain only. The ledger holds fixed-length one-way digests such as SHA-256, non-identifying pointers, timestamped audit events and consent states.
HIPAA provisions that on-chain ePHI would collide with
| Requirement | Regulation | Why on-chain ePHI is a problem |
|---|---|---|
| Minimum necessary | 45 CFR § 164.502(b) | A covered entity or business associate must make reasonable efforts to limit PHI to the minimum necessary for the purpose. Full ledger replication copies every transaction to every participating node, including organizations with no relationship to the patient. |
| Return or destruction at contract end | 45 CFR § 164.504(e)(2)(ii)(J); § 164.310(d)(2)(i) | A business associate contract must provide for returning or destroying PHI at termination if feasible, and the Security Rule requires policies for the final disposition of ePHI and the media holding it. Replicated append-only blocks cannot be removed from every node. |
| Right to amend | 45 CFR § 164.526 | An accepted amendment must be made in the designated record set and appended or linked. With off-chain storage the active record is updated and a new version hash is appended on-chain. |
One further trap is the hash itself. Under 45 CFR § 164.514(c)(1), a code used to re-identify de-identified information must not be derived from or related to information about the individual. A digest computed directly from a patient identifier, such as a medical record number or Social Security number, is derived from that identifier and low-entropy identifiers can be guessed and re-hashed by anyone holding the ledger. Anchor hashes of salted content payloads or randomly generated identifiers, not of raw patient identifiers.
Business associate agreements and audit controls on a permissioned ledger
Under 45 CFR § 160.103, a business associate is a person who, on behalf of a covered entity and other than as a member of its workforce, creates, receives, maintains or transmits protected health information for a regulated function or activity, or who provides specified services that involve disclosure of PHI to it. Whether a node operator, cloud host or consortium operator falls within that definition depends on whether PHI actually reaches it, so governance for a permissioned healthcare ledger should settle three points before go-live:
- Agreements. Any non-covered-entity organization that operates a peer node, ordering service or hosting environment that creates, receives, maintains or transmits ePHI or re-identifiable metadata needs a business associate agreement under § 164.504(e), or a multi-party consortium equivalent.
- Scope control. If only salted digests and opaque identifiers cross the consensus layer, and ePHI moves point-to-point between authorized entities over mutually authenticated TLS and FHIR APIs, ledger validators do not receive ePHI, which narrows the set of parties to whom the definition applies. Counsel should confirm the position for the specific network.
- Audit controls. Section 164.312(b) requires hardware, software or procedural mechanisms that record and examine activity in systems containing or using ePHI. An on-chain log of who queried, changed or consented to share an off-chain record is one way to evidence that control, alongside the logs of the off-chain systems themselves.
What Are the Limitations of Blockchain in Healthcare?
Health system architects and research compliance officers must evaluate five major technical and legal limitations before adopting a distributed ledger where a conventional relational database with cryptographic audit logging (or a federated query network) would suffice:
- Conflict Between Ledger Immutability and Privacy Laws (HIPAA § 164.526 & GDPR Article 17): Under the HIPAA Privacy Rule (
45 CFR § 164.526), patients have a legal right to request an amendment to inaccurate PHI in a Designated Record Set, and under the European Union General Data Protection Regulation (GDPR Article 17), data subjects hold a “Right to Erasure” (right to be forgotten). Furthermore, even encrypted ePHI placed on an immutable ledger is vulnerable to future quantum or algorithmic cryptanalysis because ciphertext cannot be deleted once replicated across consortium nodes. This makes storing any ePHI—plaintext or encrypted—on-chain a compliance defect. - Throughput, Storage Bloat, and Query Latency: High-resolution clinical datasets (multi-gigabyte whole-slide pathology images, genomic BAM/VCF files, and continuous ICU waveform telemetry) cannot be replicated across distributed peer nodes without prohibitive storage bloat and consensus latency compared to cloud object stores and relational databases.
- The “Garbage In, Garbage Out” (Oracle) Problem: A cryptographic hash chain proves only that a record has not been modified since it was hashed and committed; it does not verify that the underlying clinical observation or laboratory value entered by a human user was clinically accurate at the moment of entry.
- Standards Interoperability Overhead: Healthcare interoperability in the United States is federally mandated around HL7 FHIR R4, USCDI, C-CDA, and the Trusted Exchange Framework and Common Agreement (TEFCA)—none of which require a distributed ledger to exchange clinical data securely over mutual TLS (mTLS).
- Consortium Governance and Key Management Complexity: Operating a multi-institution permissioned network requires complex legal consortium agreements, PKI certificate lifecycle management, and coordinated node software upgrades across participating hospitals.
Frequently asked questions
How are medical records stored on a blockchain?
They are not stored on it in readable form. In hybrid designs such as MedRec, the records stay in the provider’s own database, and the blockchain holds pointers, access permissions and a cryptographic hash of each record, so that any later alteration of the off-chain data is detectable.
Can blockchain secure patient medical records?
It can secure their integrity and the audit trail of who was permitted to access them, because a changed record no longer matches its on-chain hash and the gatekeeper checks permissions before releasing data. It does not replace the safeguards required for the off-chain database under the HIPAA Security Rule, such as access control and audit controls.
How does decentralized medical record sharing work?
In MedRec, a patient’s Summary Contract points to the Patient-Provider Relationship contracts at each provider. A third party that the patient has authorized sends a query to the provider’s Database Gatekeeper, which verifies the permission on the blockchain, runs the query on the local database and returns the data, which can be checked against the hash stored in the PPR.
Can a blockchain be HIPAA compliant?
It can be designed to meet HIPAA requirements when it is permissioned, when participants who create, receive, maintain or transmit ePHI are bound by business associate agreements under 45 CFR § 164.504(e), and when no ePHI is written to the immutable ledger. The compliance burden stays with the off-chain systems that hold the records.
Why must ePHI never be stored directly on a blockchain ledger?
Replication to every node conflicts with the minimum necessary standard in 45 CFR § 164.502(b), append-only storage cannot support return or destruction of ePHI at the end of a business associate contract or final media disposal, and a leaked key or weakened cipher would expose historical data on every replica.
Do the nodes of a healthcare blockchain need business associate agreements?
Operators whose nodes create, receive, maintain or transmit ePHI on behalf of a covered entity meet the business associate definition in 45 CFR § 160.103 and need an agreement. Isolating the ledger so that only salted hashes and opaque identifiers reach validators limits who is in that position.
Sources
- Azaria A, Ekblaw A, Vieira T, Lippman A. MedRec: Using Blockchain for Medical Data Access and Permission Management. 2016 2nd International Conference on Open and Big Data (OBD). https://sites.pitt.edu/~babay/courses/cs3551/papers/MedRec.pdf (checked 2026-11-14)
- HL7 FHIR R4, Provenance resource: https://hl7.org/fhir/R4/provenance.html (checked 2026-11-14)
- 45 CFR § 164.526, Amendment of protected health information: https://www.ecfr.gov/current/title-45/subtitle-A/subchapter-C/part-164/subpart-E/section-164.526 (checked 2026-11-14)
- 45 CFR Part 160 and Part 164 (§§ 160.103, 164.310, 164.312, 164.502, 164.504, 164.514), Electronic Code of Federal Regulations: https://www.ecfr.gov/current/title-45/subtitle-A/subchapter-C/part-164 (checked 2026-11-14)
CASRAI runs an examined credential on this subject: Clinical Research Quality Assurance & Audit certification, Professional level (other levels are listed on its page).







