Developer documentation

Widgets

Five widgets. One canonical pattern.

Embed Smart Health Network widgets via single <script> tag + custom element use. Web Components Custom Elements + LitElement + Shadow DOM encapsulation + CSS custom properties theming. CDN-hosted self-contained per-widget bundles.

  • <smart-prior-auth>June 9 LOAD-BEARING

    UC22 Federated Prior Auth canonical lead use case · Sprint 9 MVP

    Embed Federated Prior Auth in provider EHR + payer prior auth review + patient Smart Health Account contexts. Three-mode multi-audience (provider / payer / patient). Substrate routes payload-blind; provider's data layer evaluates against Council-published Use Authority template; records stay at provider.

  • <smart-patient-access>June 9 (pull-forward)

    §164.524 Federated Patient Access · Sprint 9-10 MVP

    Patient invokes access to their own records via substrate-fiduciary mediation. Records stay at provider. Two-views audit chain emission. Smart ID Option (c) Hybrid + 12-word recovery passphrase patient-side authentication.

  • <smart-eligibility>Deferred post-June-9

    270/271 Federated Eligibility Verification · Sprint 11 MVP

    Coverage eligibility check (270/271 X12 transaction shape). Payer-side authority evaluation per Federated Prior Auth canonical pattern. Administrative-baseline pattern; patient may not see UI directly.

  • <smart-quality>Deferred post-June-9

    HEDIS Federated Quality Measurement · Sprint 12 MVP

    Quality measure reporting (CMS quality measure shape). Provider-side reporting authority binding. Aggregate measure reporting; patient may not see UI directly.

  • <smart-public-health>Deferred post-June-9

    §164.512(b) Federated Public Health Reporting · Sprint 12 MVP

    Public health reporting (CDC + state DOH reporting shape). Institutional public-health authority binding. Public health surveillance; patient may not see UI directly.

Embed code example

<!-- Consumer page -->
<script type="module"
  src="https://widgets.smarthealthhub.net/smart-prior-auth/v0.1.0/smart-prior-auth.js"
></script>

<smart-prior-auth
  api-key="sandbox-..."
  patient-ppia-id="..."
  encounter-id="..."
  mode="provider"
></smart-prior-auth>

CDN delivery from widgets.smarthealthhub.net (Tier 2.5 substrate Hub subdomain; operational); documentation at developers.smarthealthnetwork.org/widgets (Tier 2 institutional anchor; this page) per Surface Architecture Brief v1.9 (developer surface architecture split + Smart MCP Server endpoint canonical absorbed). Sandbox API key issued at /sandbox-onboarding. Production deployment Q3 2026.