Skip to main content

SDK surface

Import public APIs from @ovok/core. The main entry point exports the client, hooks, types, observation utilities, capability requirements, and error helpers.

AreaExamples
ClientOvokClient, getCapabilityStatement(), getPublicApiEndpoints()
Authenticationlogin, registration, social login, MFA, password recovery, session management
FHIR and observationsobservation builders, measurement services, latest-observation helpers, transaction writes
Questionnairespopulate, extract, and submit response workflows
OfflineOfflineMeasurementQueueOptions, OfflineMeasurementFlushResult, flushOfflineMeasurementQueue()
Platformproject settings and features, memberships, locales, localization
Patient APIsprofile, dashboard, measurements, devices, notifications, care plans, scheduling
Slimpatient, device, telemetry, notification, alarm, and history workflows
Signalsenrollment, thresholds, alert episodes, raw alerts, notes, settings
Application APIsCMS, email templates, consent, documents, invitations, video calls, AI, and bots
ConformanceOVOK_CORE_REQUIREMENTS, OVOK_CORE_API_REQUIREMENTS
ErrorsOvok API errors, rate limits, sign-in-required, Signals errors

Types are the source of truth for parameters and return values. Use IDE autocomplete or the declarations shipped in dist when a method's complete signature matters. The backend route contract and prerequisites belong to the Ovok docs.

Check compatibility​

The SDK exports FHIR capability and ordinary HTTP API requirements separately. A FHIR CapabilityStatement does not describe every non-FHIR endpoint. Compare the connected server's advertised capability with the SDK workflow you plan to use; roll out the backend release before depending on new routes.

Not included​

The package intentionally does not define a billing contract. Avoid assuming that a nearby console feature implies a corresponding SDK method.