Sandbox and test data
The Connect sandbox and running SunCharts EHR locally with synthetic records.
Connect sandbox Partners
- Base address:
https://sandbox-api.suncharts.app. - Data is simulated. Sandbox apps can read clinical data but cannot write it.
- The sandbox resets every night at 03:15 Central Time. Your partner account, apps and keys are kept.
- Each partner gets a test clinic with an owner and a clinician account. It is created again after every reset.
-
The sandbox can run a different release from production. Check its own
/openapi.jsonif an operation is missing.
SunCharts EHR on your machine
There is no hosted EHR sandbox. Run the open-source EHR locally. You need Rust 1.89 or newer and PostgreSQL 16 or newer.
createdb suncharts_ehr_dev
export ENGINE_DATABASE_URL=postgres://localhost/suncharts_ehr_dev
export ENGINE_BIND=127.0.0.1:8090
export ENGINE_PUBLIC_URL=http://127.0.0.1:8090
export [email protected]
export ENGINE_BOOTSTRAP_TENANT_ID="$(uuidgen)"
export ENGINE_BOOTSTRAP_CLINICIAN_ID="$(uuidgen)"
export ENGINE_BOOTSTRAP_PASSWORD="<a development password, 14+ characters>"
cargo run --locked
-
Open
http://127.0.0.1:8090/and sign in with the email and password you set. That account is the practice owner. - There is no demo data set. Create synthetic patients yourself.
-
ENGINE_PUBLIC_URLis also the OAuth issuer, so registerhttp://127.0.0.1callbacks against it.
Full instructions are in the repository README ↗.
One rule
Never put real patient information in a sandbox, a local installation, a bug report or a support request.