SMART Health Cards & Links
VCI-compliant health credential verification, SMART Health Link generation, and secure sharing
SMART Health Cards (SHC)
Verifiable Clinical Information (VCI) compliant digital health credentials. Supports vaccination records, lab results, insurance cards, and clinical summaries.
Verification Pipeline
JWS Validation
Parse compact JWS, validate header (alg: ES256, zip: DEF)
Signature Verification
Fetch issuer JWKS, verify ES256 signature against public key
Issuer Whitelisting
Validate issuer against approved VCI Directory entries
Timing Validation
Check exp (expiration) and nbf (not-before) claims
Payload Extraction
Decompress DEFLATE payload, parse FHIR Bundle
Resource Validation
Validate FHIR resources against SHC profiles
Deterministic Storage
Store verification outcome with audit trail
SMART Health Links (SHL)
Shareable, privacy-preserving links to health credentials. Recipients can access shared health data via URL or QR code.
SHL Features
Create SMART Health Link
POST /api/smart-health-links/create
Authorization: Bearer {token}
Content-Type: application/json
{
"verification_ids": ["shc_v_abc123"],
"label": "My Vaccination Records",
"expiration": "2026-12-31T23:59:59Z",
"passcode_required": true,
"single_use": false
}Response
{
"shl_id": "shl_xyz789",
"url": "https://api.parkerapex.com/shl/xyz789",
"qr_code_data": "shlink:/eyJhbGciOiJIUzI1...",
"expires_at": "2026-12-31T23:59:59Z",
"passcode_required": true,
"single_use": false,
"created_at": "2026-04-09T12:00:00Z"
}Verification Modes
strictProductionProduction — Rejects all invalid/expired cards. Required for clinical use.
warnDevelopment — Accepts cards with warnings. Logs verification failures.
disabledTesting — Skips all verification. For local development only.
SMART Health API Endpoints
All endpoints return 200 — production operational
/api/smart-health-cards/ingestBearerVerify & Ingest SMART Health Card
/api/smart-health-cards/verificationBearerGet Verification Status
/api/smart-health-links/createBearerCreate SMART Health Link
/api/smart-health-links/{shl_id}Resolve SMART Health Link
Integration Example
Ingest & Verify SMART Health Card
// Submit a SMART Health Card for verification const response = await fetch('https://api.parkerapex.com/api/smart-health-cards/ingest', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer ${token}' }, body: JSON.stringify({ jws: 'eyJ0eXAiOiJKV1QiLCJhbGciOiJFUzI1NiIs...', note: 'COVID-19 vaccination record' }) }) const result = await response.json() // { accepted: true, status: "accepted", verification_id: "shc_v_abc123", ... }