Inspiration
Healthcare data breaches cost $10.93M average (2023 IBM study). But the real killer isn't malware — it's compliance failures. Every day, EHRs process thousands of data access requests. A clinician asks for a patient's medication list. An insurer requests lab results.
The question every healthcare system asks: "Is this data access legally permissible?"
Today, they rely on manual compliance checks, outdated rule books, and expensive compliance officers. Result: buried in 45 CFR citations, inconsistent decisions, and regulatory violations costing $100K–$1M each.
We built HealthGuard — an LLM-powered compliance intelligence agent that answers this question in 2 seconds flat.
What It Does
HealthGuard is an AI agent that orchestrates 5 specialized compliance tools in an intelligent pipeline:
- Information Blocking Check (ONC §171.302–309)
- HIPAA Minimum Necessary (§164.502)
- Patient Consent Validation (FHIR Consent)
- Audit Event Generation (SHA-256 tamper-proof)
- Regulatory Lookup (HIPAA + state laws)
Key Innovation: We don't hard-code every scenario. Instead, we use Claude (LLM-as-compiler) to parse natural language intent, reason about regulatory conflicts, generate compliance decisions with CFR citations, and create tamper-proof FHIR audit events.
The AI Factor
Most healthcare compliance tools are rule-based: "If treatment + HIPAA then permit." Rigid. Breaks when edge cases arise.
HealthGuard uses agentic AI reasoning:
- Parallel orchestration: Runs information blocking + regulation lookup simultaneously
- Sequential reasoning: Chains minimum necessary → consent → audit trail
- Regulatory synthesis: Cites applicable CFR sections based on scenario
- Tamper-proof evidence: Generates FHIR-compliant audit events with SHA-256 hashing
The LLM doesn't hallucinate because we use fixed enumerations, authoritative CFR data, structured JSON output, and FHIR validation.
Impact
- Speed: 2 seconds vs 2-4 hours manual review
- Accuracy: Every decision cites applicable CFR sections
- Scale: Cost per decision approaches zero
- Defensibility: Tamper-proof FHIR AuditEvent for every decision
Technical Details
- Agent Protocol: A2A (Agent-to-Agent) — discoverable on Prompt Opinion
- Tool Integration: MCP (Model Context Protocol) — 5 tools auto-discoverable
- FHIR Integration: SHARP context support
- Cloud: GCP Cloud Run (HIPAA-eligible)
- Privacy: Zero PHI storage
All AuditEvents pass validator.fhir.org at 0 errors, 0 warnings.
Feasibility
✅ HIPAA-eligible cloud environment ✅ No PHI storage (decisions only) ✅ Open source (MIT license) ✅ Live on production Cloud Run ✅ Published on Prompt Opinion marketplace ✅ $2.5B healthcare compliance market opportunity
Built With
- a2a-protocol
- express.js
- fhir-r4
- gcp-cloud-run
- google-gemini-2.0-flash
- hapi-fhir-server
- mcp-(model-context-protocol)
- node.js
- typescript
- validator.fhir.org

Log in or sign up for Devpost to join the conversation.