Skip to content

Sandbox and demo access

Build and test against synthetic data. How to get sandbox credentials, what the demo deployment offers, and how conformance works.

Synthetic data only

The sandbox and the demo deployments of OHN hold fictional (synthetic) data. They exist so that you can build and test without touching anyone’s health information. Never send real personal data to them, and never copy data from them into a real system.

Sandbox credentials

  1. Sign in to the developer workspace (your organisation’s administrator creates your account).
  2. Under My applications, register an application with the environment sandbox (OHN-33, POST /api/ohn/v1/developer/apps).
  3. Ask for sandbox credentials (POST /api/ohn/v1/platform/developer/sandbox-credentials with the application id and a reason). You receive:
    • client_id and client_secret (the secret is shown once),
    • device_attestation: send it as the X-Device-Attestation header when you introspect a token (sandbox sessions are bound to it),
    • the allowed scopes,
    • token_endpoint (/api/ohn/v1/oauth/token) and introspection_endpoint.
  4. Get tokens with the client credentials grant.

Sandbox credentials are issued for sandbox applications only and cannot reach production. You can rotate them from the workspace; the OHN-33 contract also exposes sandbox details, usage and examples (/api/ohn/v1/developer/sandbox, /developer/usage, /developer/examples; see the OHN-33 contract).

Demo deployments

Demo deployments come with synthetic demo people for each role (clinician, pharmacist, laboratory, patient, administrator and others) so you can see every workspace. On those deployments only, GET /api/ohn/v1/platform/demo-accounts lists them with the setup key of their authenticator. This endpoint answers 404 unless the deployment is explicitly configured for demo accounts, and always 404 in production.

Conformance (OHN-46)

Production access requires passing the conformance suites for the flows your application uses. From the developer workspace you can see the suites, start runs and follow assessments (/api/ohn/v1/conformance/suites, /runs, /assessments; see the OHN-46 contract). A reviewer approves the result; approval can be suspended if a later run fails.

Support

  • Check the service status first.
  • Quote the trace_id from the error body when you report a problem.
  • Never send personal or patient data in a support request.