MediVault: An AI-Powered Privacy-Preserving Medical History Black Box with Consent-Based Selective Disclosure
Most Electronic Health Record (EHR) systems give a healthcare provider all-or-nothing access to a patient's full medical history. This conflicts with data minimization and gives patients little practical control over their own data. We present MediVault, a full-stack system in which patients own their records and can grant or revoke consent to individual doctors, limited by record category and by time. Records are encrypted at rest with AES-256-GCM. Access is governed by a JWT-based role model with Patient, Doctor, and Hospital Admin roles, and every access attempt, permitted or denied, is written to a SHA-256 hash-chained audit log that makes tampering detectable. In an emergency, a QR-code token reveals only critical fields at once, or starts a dual-admin "break-glass" approval workflow for full access in which an admin cannot approve their own request. A separate AI microservice summarizes consented records for doctors with a large language model and flags unusual access behavior with an Isolation Forest. On a held-out synthetic evaluation set the Isolation Forest reached 68.2% precision, 71.7% recall, and an F1-score of 69.9%. We also describe the architecture and consent model, compare MediVault with existing EHR access-control approaches, and discuss ethical, privacy, and practical deployment considerations.
Authors
- K Neha
- K S Bande Nawaz Ahamed
- K Druvi
- Ismail I
Publication Details
- Journal
- IJARCCE
- Published
- 2026-11-30
- DOI
- https://doi.org/10.17148/ijarcce.2026.1511254
- Primary Topic
- Blockchain Technology Applications and Security
- Type
- article
- Field-Weighted Citation Impact
- 0.00