When to Use the Data Share
The data share is best for bulk ingestion and analytics workloads. Use it when you need to:- Load large volumes of historical or current data into your own warehouse
- Build dashboards, reports, or aggregate analytics across clinics
- Run ad-hoc queries against your full dataset without pagination
- Feed internal BI tools (Tableau, Looker, Power BI, etc.)
When to Use the API
The REST APIs are best for real-time and application-level integrations. Use them when you need to:- Read or write data in real time from partner applications
- Trigger actions based on individual record changes (e.g., new orders, updated patients)
- Integrate with third-party systems that require live data (EHRs, ERPs, pharmacy platforms)
- Access the latest state of a specific record on demand
PHD API (Connect)
REST API for Home Delivery and PIMS platform data
B2B API
REST API for procurement platform data
Summary
| Data Share | API | |
|---|---|---|
| Best for | Bulk ingestion, analytics, reporting | Real-time reads/writes, app integrations |
| Data freshness | Every 6 hours | Real-time |
| Access pattern | SQL queries over full dataset | Paginated REST endpoints |
| Typical consumers | BI tools, data warehouses, analysts | Partner applications, internal services |