JavaScript SDK API map
Find the package-root client, resource namespaces, React exports, and API reference.
- Stable unknown
- Release candidate since 0.4.49-rc.2
- Development since 0.4.49-dev.493+062a3db
Import the client and shared types from @ovok/core. The client groups operations by namespace:
import { Ovok } from '@ovok/core';
const ovok = new Ovok({ baseUrl: 'https://api.sandbox.ovok.com', tenantCode: 'your-tenant' });
const patient = await ovok.fhir.read('Patient', 'patient-id');
const health = await ovok.health.check();Each namespace has its own guide page; The Ovok client lists them all.
React entry
React exports use the separate @ovok/core/react entry:
import { OvokProvider, useSearch, useSession } from '@ovok/core/react';OvokProvider supplies one client to the component tree. Hooks expose session state, FHIR search and reads, and request or mutation primitives. See React integration.
Compatibility entries
@ovok/core/next and @ovok/core/next/react are deprecated aliases of @ovok/core and @ovok/core/react, kept for one release. Files under @ovok/core/dist/* are not part of the API.
See also
Browse the complete API reference for the exact exports, methods, parameters, and result types. The installed TypeScript declarations are authoritative for the package version in your application.
Last updated on