https://github.com/ohcnetwork/care_analytics_sql
SQL questions used in metabase dashboards
https://github.com/ohcnetwork/care_analytics_sql
Last synced: 3 months ago
JSON representation
SQL questions used in metabase dashboards
- Host: GitHub
- URL: https://github.com/ohcnetwork/care_analytics_sql
- Owner: ohcnetwork
- Created: 2025-10-23T07:50:09.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2025-12-17T11:30:41.000Z (6 months ago)
- Last Synced: 2025-12-18T05:14:34.265Z (6 months ago)
- Size: 70.3 KB
- Stars: 0
- Watchers: 0
- Forks: 1
- Open Issues: 22
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Care Analytics
SQL queries used in Care analytics and Metabase dashboards.
## Structure
```
Care/
├── Accouting/ # Financial and billing queries
├── Clinical/ # Clinical data and outcomes
├── Encounter/ # Patient encounters and visits
├── Inventory/ # Stock and inventory management
├── Operations/ # Operational metrics
├── Organisation/ # Facility and org-level queries
├── Patient/ # Patient demographics and records
├── Scheduling/ # Appointments and scheduling
└── Services/ # Services and procedures
Care Apps/
└── Scribe/ # Scribe app queries
Internal/
├── Care HMIS Interview/
└── Leaderboard/
```
## Adding a New Query
Use the [QUERY_TEMPLATE.md](./TEMPLATE.md) as a starting point for new query files.
Each query file should include:
- **Name & Description** — What does it do?
- **Parameters** — Any variables to substitute
- **The SQL** — The actual query
- **Output** — What columns/data to expect
- **Notes** — Gotchas or context