Documentation

Everything developers need to integrate with the MediBridgeX platform.

Sandbox

Safely develop and validate healthcare integrations before connecting production systems.

Sandbox v1

Overview

The Sandbox provides an isolated environment for testing integrations without affecting production healthcare systems. It utilizes simulated data and mocks external downstream responses.

Developer
Sandbox
FHIR Gateway
Mock Resources
& Responses

Why Use the Sandbox

Safe Development

Experiment freely without risking production databases.

Test Integrations

Build and verify your system connections locally.

Validate Requests

Ensure your FHIR and HL7 payloads are formatted correctly.

Explore APIs

Discover available endpoints hands-on.

Debug Responses

Trigger complex edge cases and error states.

Practice Authentication

Test Bearer token generation and expiry loops.

What's Available

AVAILABLE

Sandbox API Keys

Dedicated testing credentials.

AVAILABLE

Mock Organizations

Simulated tenant structures.

AVAILABLE

Mock Projects

Isolated sandbox environments.

AVAILABLE

Mock FHIR Resources

Synthetic clinical data.

PLANNED

Sample Messages

Pre-loaded HL7 v2 payloads.

PLANNED

Monitoring

Basic request metrics.

COMING SOON

Audit Events

Simulated HIPAA access logs.

AVAILABLE

Example Responses

Static successful outputs.

Sandbox Workflow

1
Create Account
2
Create Organization
3
Create Project
4
Generate Sandbox API Key
5
Call APIs
6
Validate Responses
7
Deploy to Production

Test Data

The Sandbox contains representative sample data only. Do not ingest production healthcare information or real patient data.

Patients
Organizations
Observations
Encounters
Practitioners
Appointments

Limitations

No Production Data

Never send PHI or real patient data to the Sandbox.

Rate Limits Apply

Sandbox requests are strictly rate-limited to 10 req/sec.

Environment Resets

Sandbox data is purged on a rotating 30-day schedule.

Testing Only

SLAs and uptime guarantees do not apply to the Sandbox.

No Production Integrations

Sandbox cannot trigger live webhooks or external systems.

Example Request

GET/sandbox/fhir/Patient
// Headers
Authorization: Bearer SANDBOX_API_KEY
Accept: application/fhir+json

Example Response

200 OKapplication/fhir+json
{
"resourceType": "Bundle",
"type": "searchset",
"total": 1,
"entry": [
{
"resource": {
"resourceType": "Patient",
"id": "sandbox-patient-1",
"name": [
{ "family": "Doe", "given": ["Jane"] }
]
}
}
]
}

Promotion to Production

Sandbox and Production are completely isolated environments. Production credentials are intentionally distinct from Sandbox keys.

Validate
Review
Production Credentials
Production Environment
Go Live

Best Practices

Never expose API Keys

Keep sandbox keys out of source control just like production keys.

Test Before Production

Always verify logic in the Sandbox before promoting code.

Validate Responses

Ensure your app gracefully handles simulated error states.

Rotate Credentials

Practice your key rotation strategy using Sandbox keys.

Monitor Integrations

Check your Sandbox logs to ensure requests are routing correctly.

Review Audit Logs

Verify your platform generates the expected access trails.

Ready for Production?