Application source root.
index.tsx bootstraps the app:
- Creates TanStack Router with
basepath: "/u" - Creates TanStack QueryClient
- Renders provider tree:
StrictMode > QueryClientProvider > AidboxClientProvider > RouterProvider
Provides the Aidbox REST client via React context. Key exports:
AidboxClientProvider- Wraps app withAidboxClientusingBrowserAuthProvideruseAidboxClient()- Hook to access the client instanceAidboxClientR5- TypeScript type for the client (parameterized with R5 Bundle/OperationOutcome)
humanize.tsx- Utilities for rendering FHIR resource values in human-readable formatutils.ts- General utilities (search query formatting, HTTP request parsing, snapshot tree transformation)type-utils.ts- TypeScript utility typesindex.css- Global styles (Tailwind imports)routeTree.gen.ts- Auto-generated route tree (do not edit manually)