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
- Sign in to the developer workspace (your organisation’s administrator creates your account).
- Under My applications, register an application with the environment
sandbox(OHN-33,POST /api/ohn/v1/developer/apps). - Ask for sandbox credentials (
POST /api/ohn/v1/platform/developer/sandbox-credentialswith the application id and a reason). You receive:client_idandclient_secret(the secret is shown once),device_attestation: send it as theX-Device-Attestationheader when you introspect a token (sandbox sessions are bound to it),- the allowed
scopes, token_endpoint(/api/ohn/v1/oauth/token) andintrospection_endpoint.
- 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_idfrom the error body when you report a problem. - Never send personal or patient data in a support request.