How databeli/caresync_azure_project works
CareSync is a metadata-driven healthcare data platform. Hospital PostgreSQL tables and partner CSV feeds are ingested through Azure Data Factory, transformed in Databricks across Bronze, Silver, and Gold, then exposed through reporting tables and consumption tools. SQL control and audit tables support orchestration and run tracking; the README also documents email alerting and governed storage access. The repository includes the Gold notebooks and their Silver inputs, but the ADF and ingestion notebook implementations were not sampled, so those links rely on README-level documentation.
Main entry points: PL_MASTER.json Master Pipeline · Gold Gold Reporting Tables · Bronze_to_Silver.ipynb Silver Tables · PL_SOURCE_TO_SILVER_MAIN.json Source-to-Silver Pipelines
Components 19
Source Systems
- Hospital PostgreSQL
01_Sources Data/01_postgres/create_source_tables.sql - Partner CSV Feeds
01_Sources Data/02_adls_csv
Ingestion & Governance
- Master Pipeline
04_Azure Data Factory Repository/pipeline/PL_MASTER.json - Source-to-Silver Pipelines
04_Azure Data Factory Repository/pipeline/PL_SOURCE_TO_SILVER_MAIN.json - Control & Audit Tables
02_Metadata Table Queries/create_control_tables.sql - Azure Data Lake
04_Azure Data Factory Repository/linkedService/LS_ADLS.json - Azure Key Vault
04_Azure Data Factory Repository/linkedService/LS_AzureKeyVault.json - Email Notifications
04_Azure Data Factory Repository/pipeline/PL_SEND_EMAIL.json
Databricks Transformations
- Landing to Bronze
05_Databricks_Repository/Landing_to_Bronze.ipynb - Bronze to Silver
05_Databricks_Repository/Bronze_to_Silver.ipynb - Calendar Dimension
05_Databricks_Repository/Prepare calendar table.ipynb - Silver Tables
05_Databricks_Repository/Bronze_to_Silver.ipynb
Gold & Consumption
- Patient 360
05_Databricks_Repository/Gold/NB_patient_360.py - Hospital Daily Summary
05_Databricks_Repository/Gold/NB_hospital_daily_summary.py - Lab Test Trends
05_Databricks_Repository/Gold/NB_lab_test_trends.py - Gold Reporting Tables
05_Databricks_Repository/Gold - Databricks Dashboards
- Genie Interfaces
Other components
- Azure Logic Apps
Connections 21
- Master Pipeline → Control & Audit Tables: reads metadata
README.md - Master Pipeline → Source-to-Silver Pipelines: orchestrates ingestion
README.md - Source-to-Silver Pipelines → Hospital PostgreSQL: ingests relational data
README.md - Source-to-Silver Pipelines → Partner CSV Feeds: ingests file feeds
README.md - Source-to-Silver Pipelines → Azure Data Lake: lands data
README.md - Master Pipeline → Control & Audit Tables: audits runs
README.md - Master Pipeline → Email Notifications: triggers reporting
README.md - Email Notifications → Azure Logic Apps: sends status email
README.md - Master Pipeline → Azure Key Vault: uses credentials
README.md - Landing to Bronze → Azure Data Lake: reads landed data
README.md - Landing to Bronze → Bronze to Silver: feeds transformation
README.md - Bronze to Silver → Silver Tables: writes standardized data
README.md - Calendar Dimension → Silver Tables: builds calendar dimension
README.md - Patient 360 → Silver Tables: reads Silver tables
05_Databricks_Repository/Gold/NB_patient_360.py - Hospital Daily Summary → Silver Tables: reads lab, hospital, calendar
05_Databricks_Repository/Gold/NB_hospital_daily_summary.py - Lab Test Trends → Silver Tables: reads lab and calendar
05_Databricks_Repository/Gold/NB_lab_test_trends.py - Patient 360 → Gold Reporting Tables: writes patient view
05_Databricks_Repository/Gold/NB_patient_360.py - Hospital Daily Summary → Gold Reporting Tables: writes daily summary
05_Databricks_Repository/Gold/NB_hospital_daily_summary.py - Lab Test Trends → Gold Reporting Tables: writes trend table
05_Databricks_Repository/Gold/NB_lab_test_trends.py - Gold Reporting Tables → Databricks Dashboards: supports reporting
README.md - Gold Reporting Tables → Genie Interfaces: supports queries
README.md