Skip to content
View NHID-Clinical's full-sized avatar
🎯
Focusing
🎯
Focusing

Block or report NHID-Clinical

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. Markdown is supported. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
NHID-Clinical/README.md

NHID-Clinical

A voluntary behavioral baseline for AI voice agents in B2B healthcare payer–provider calls β€” with an open cryptographic authorization layer (v2) in reference implementation.

Built by a former payer operations associate who saw the problem firsthand on live calls. Not a standard. Not a certification. An open, testable reference.

CI Tests Version License: CC BY 4.0 NIST Discord

Website Β· Simulator Β· Spec Β· v2 Identity Layer Β· Discord

Live API β€” Try It Now

The conformance API is live. No signup, no key required for the demo and vendor adapter routes.

# Test a non-compliant VAPI call (PHI requested before identity disclosure β†’ IDG-01 + PDX-01 FAIL)
curl -s -X POST https://dc2ipcqs7k.execute-api.us-east-2.amazonaws.com/prod/v1/adapters/vapi/check \
  -H "Content-Type: application/json" \
  -d @tests/demo_scenarios/vapi_noncompliant.json | python3 -m json.tool
{
  "conformant": false,
  "action": "DENY_DATA",
  "violations": [
    { "rule_id": "IDG-01", "severity": "critical" },
    { "rule_id": "PDX-01", "severity": "critical" }
  ]
}
Endpoint Auth Purpose
POST /v1/demo/check none Raw NHID event β†’ conformance result
POST /v1/adapters/vapi/check none Native VAPI payload β†’ conformance result
POST /v1/adapters/twilio/check none Native Twilio payload β†’ conformance result
POST /v1/conformance/check x-api-key Production conformance check

The Four Controls

Control Name Requirement
IDG-01 Identity Disclosure Gate AI agent must identify itself as automated before any PHI exchange
PDX-01 PHI Data Exchange Gate No protected data until identity is disclosed
DBC-01 Deceptive Behavior Check No synthetic voice artifacts designed to impersonate a human
EIT-01 Escalation & Intervention Human escalation path must be communicated and available

5 deterministic CTS tests Β· same inputs β†’ identical trace output Β· 285 passing across the Python test suite (219) and TypeScript middleware (66)


Five-Layer Trust Stack

Layer Standard Role
0 NPI Gap The problem β€” no existing diagram addresses cross-org NPI authorization
1 STIR/SHAKEN (RFC 8224) Carrier number authentication β€” A/B/C attestation
2 NHID-Clinical v1.3 Behavioral disclosure baseline β€” 4 controls, 5 CTS tests
3 NHID-Auth v2 Cryptographic authorization layer β€” reference implementation live (CC BY 4.0)
4 FHIR AuditEvent R4 / IHE BALP Healthcare-native audit logging
5 OpenTelemetry spans SIEM / enterprise observability export

Full technical architecture β†’


Meet Beacon

Beacon is the NHID-Clinical reference voice agent β€” an outbound AI administrative caller operating under the v1.3 behavioral baseline and NHID-Auth v2 authorization layer.

Beacon calls insurance offices on behalf of provider organizations to check claim status. Before any PHI is exchanged, Beacon discloses that it is an automated AI system and obtains consent. Every call produces a machine-readable audit trace.

Property Value
Agent ID agent_4001krn32nmwe5t8mqzgee0w84rj
Voice Eryn (ElevenLabs)
LLM Gemini 2.5 Flash
Canonical prompt agents/beacon_system_prompt.md

Beacon is a reference implementation, not a product or commercial offering.


Regulatory Alignment

Regulatory Driver Specific Requirement NHID-Clinical Control
CMS-0057-F FHIR API, 72hr turnaround, 5yr retention FHIR AuditEvent + ATR-01
MACPAC May 2026 AI transparency, human review EIT-01 + ATR-01
DOJ FCA 2026 Explainability + audit trail LOG + CTS evidence
State AI Laws Inspectable, auditable AI decisions IDG-01 + DBC-01
NIST CAISI 2026 Cross-org agent identity NHID-Auth v2

Full regulatory alignment matrix β†’


Repository Structure

NHID-Clinical/
β”œβ”€β”€ schema/          # Canonical event schema (JSON Schema Draft 2020-12)
β”œβ”€β”€ src/             # Policy engine + cryptographic identity layer (pure Python)
β”œβ”€β”€ tests/           # Conformance suite (YAML) + failure harness (pytest) + trace generator
β”‚   └── demo_scenarios/  # Pre-built VAPI + Twilio test payloads
β”œβ”€β”€ traces/          # 10 pre-generated failure traces
β”œβ”€β”€ adapters/        # Vendor adapters β€” VAPI, Twilio (native payload β†’ NHID event)
β”œβ”€β”€ functions/       # AWS Lambda handler
β”œβ”€β”€ NHIDClinical.psm1  # PowerShell module for payer teams
101	└── specs/           # PDF artifacts β€” Core Specification + Operational Blueprint

Quick Start

git clone https://github.com/NHID-Clinical/NHID-Clinical.git
cd NHID-Clinical
pip install -r requirements.txt
python -m pytest tests/ -v

Expected output: 219 passing in ~1.4s (requires cryptography package for identity tests; ~6 skip when no server is running).


NHID-Auth v2 β€” Cryptographic Agent Identity

v1.3 verifies disclosure behavior. v2 verifies authorization: provider-signed agent credentials with NPI binding, scoped delegation chains (max 3 hops), per-agent revocation, and call-SID nonce binding. Reference implementation in src/agent_identity.py (42 tests). Released June 2026 under CC BY 4.0.

python -m pytest tests/test_identity.py -v
python examples/issue_and_verify.py

Details β†’


Contributing & Pilot Partners

We are actively seeking payer and provider organizations to run a 90-day shadow evaluation β€” no vendor changes required.

Become a Pilot Partner β†’

Community Β· Discord Β· contact@nhid-clinical.org


CC BY 4.0 Β· Brianna Baynard Β· NIST-2025-0035-0026 Β· nhid-clinical.org

Popular repositories Loading

  1. NHID-Clinical NHID-Clinical Public

    Observations on AI voice agents calling payers β€” a voluntary reference implementation for B2B healthcare voice transparency.

    HTML 7