# umashankar0257/caresync_adf_repo architecture

> Architecture diagram of the GitHub repository umashankar0257/caresync_adf_repo, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-14). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/umashankar0257/caresync_adf_repo
- Repository: https://github.com/umashankar0257/caresync_adf_repo

## Overview

CareSync is an Azure Data Factory configuration repository for coordinating healthcare-oriented data ingestion and processing. The documented target workflow runs from configured sources through ADF and ADLS to Databricks and curated analytical data; actual activities and integrations depend on deployment. Pipeline filenames indicate source-to-Silver and Silver-to-Gold stages, but their definitions were not excerpted, so their specific calls and dependencies cannot be verified. The graph uses README-documented relationships and marks inferred stage connections as unverified.

Main entry points: [`factory/adf-caresync0257.json`](https://github.com/umashankar0257/caresync_adf_repo/blob/main/factory/adf-caresync0257.json) (ADF factory), [`pipeline/PL_SOURCE_TO_SILVER_MAIN.json`](https://github.com/umashankar0257/caresync_adf_repo/blob/main/pipeline/PL_SOURCE_TO_SILVER_MAIN.json) (Source to Silver), [`trigger/TGR-CARESYNC.json`](https://github.com/umashankar0257/caresync_adf_repo/blob/main/trigger/TGR-CARESYNC.json) (CareSync trigger), [`pipeline/PL_MASTER.json`](https://github.com/umashankar0257/caresync_adf_repo/blob/main/pipeline/PL_MASTER.json) (Master pipeline)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_orchestration["ADF orchestration"]
  node_factory["ADF factory"]
  node_trigger["CareSync trigger<br/>[TGR-CARESYNC.json]"]
end

subgraph group_definitions["Pipeline definitions"]
  node_master["Master pipeline<br/>[PL_MASTER.json]"]
  node_source_main["Source to Silver"]
  node_source_inner["Ingestion inner pipeline"]
  node_silver_gold["Silver to Gold"]
  node_send_email["Email pipeline<br/>[PL_SEND_EMAIL.json]"]
  node_pipeline_other["Additional pipeline<br/>[pipeline1.json]"]
end

subgraph group_connectivity["Connections and datasets"]
  node_datasets["Dataset definitions"]
  node_linked_services["Linked services"]
end

subgraph group_processing["Storage and processing"]
  node_adls[("Data Lake Storage")]
  node_databricks["Databricks processing"]
  node_curated[("Curated analytics")]
end

node_source_data(("Source data"))

node_source_data -->|"supplies data"| node_factory
node_trigger -->|"initiates when enabled"| node_factory
node_factory -->|"coordinates ingestion"| node_adls
node_factory -->|"coordinates processing"| node_databricks
node_adls -->|"provides data"| node_databricks
node_databricks -->|"produces datasets"| node_curated
node_master -.->|"may orchestrate"| node_source_main
node_source_main -.->|"may invoke"| node_source_inner
node_silver_gold -.->|"may coordinate transformations"| node_databricks
node_factory -->|"uses definitions"| node_datasets
node_factory -->|"uses connections"| node_linked_services

click node_factory "https://github.com/umashankar0257/caresync_adf_repo/blob/main/factory/adf-caresync0257.json"
click node_trigger "https://github.com/umashankar0257/caresync_adf_repo/blob/main/trigger/TGR-CARESYNC.json"
click node_master "https://github.com/umashankar0257/caresync_adf_repo/blob/main/pipeline/PL_MASTER.json"
click node_source_main "https://github.com/umashankar0257/caresync_adf_repo/blob/main/pipeline/PL_SOURCE_TO_SILVER_MAIN.json"
click node_source_inner "https://github.com/umashankar0257/caresync_adf_repo/blob/main/pipeline/PL_SOURCE_TO_SILVER_INNER.json"
click node_silver_gold "https://github.com/umashankar0257/caresync_adf_repo/blob/main/pipeline/PL_SILVER_TO_GOLD.json"
click node_send_email "https://github.com/umashankar0257/caresync_adf_repo/blob/main/pipeline/PL_SEND_EMAIL.json"
click node_pipeline_other "https://github.com/umashankar0257/caresync_adf_repo/blob/main/pipeline/pipeline1.json"
click node_datasets "https://github.com/umashankar0257/caresync_adf_repo/tree/main/dataset"
click node_linked_services "https://github.com/umashankar0257/caresync_adf_repo/tree/main/linkedService"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_factory,node_trigger toneBlue
class node_master,node_source_main,node_source_inner,node_silver_gold,node_send_email,node_pipeline_other toneAmber
class node_datasets,node_linked_services toneMint
class node_adls,node_databricks,node_curated toneRose
class node_source_data toneIndigo
```

## Components

### ADF orchestration

- [ADF factory](https://github.com/umashankar0257/caresync_adf_repo/blob/main/factory/adf-caresync0257.json): `factory/adf-caresync0257.json`
- [CareSync trigger](https://github.com/umashankar0257/caresync_adf_repo/blob/main/trigger/TGR-CARESYNC.json): `trigger/TGR-CARESYNC.json`

### Pipeline definitions

- [Master pipeline](https://github.com/umashankar0257/caresync_adf_repo/blob/main/pipeline/PL_MASTER.json): `pipeline/PL_MASTER.json`
- [Source to Silver](https://github.com/umashankar0257/caresync_adf_repo/blob/main/pipeline/PL_SOURCE_TO_SILVER_MAIN.json): `pipeline/PL_SOURCE_TO_SILVER_MAIN.json`
- [Ingestion inner pipeline](https://github.com/umashankar0257/caresync_adf_repo/blob/main/pipeline/PL_SOURCE_TO_SILVER_INNER.json): `pipeline/PL_SOURCE_TO_SILVER_INNER.json`
- [Silver to Gold](https://github.com/umashankar0257/caresync_adf_repo/blob/main/pipeline/PL_SILVER_TO_GOLD.json): `pipeline/PL_SILVER_TO_GOLD.json`
- [Email pipeline](https://github.com/umashankar0257/caresync_adf_repo/blob/main/pipeline/PL_SEND_EMAIL.json): `pipeline/PL_SEND_EMAIL.json`
- [Additional pipeline](https://github.com/umashankar0257/caresync_adf_repo/blob/main/pipeline/pipeline1.json): `pipeline/pipeline1.json`

### Connections and datasets

- [Dataset definitions](https://github.com/umashankar0257/caresync_adf_repo/tree/main/dataset): `dataset`
- [Linked services](https://github.com/umashankar0257/caresync_adf_repo/tree/main/linkedService): `linkedService`

### Storage and processing

- **Data Lake Storage**
- **Databricks processing**
- **Curated analytics**

### Other components

- **Source data**

## Connections

- Source data → ADF factory: supplies data (evidence: `README.md`)
- CareSync trigger → ADF factory: initiates when enabled (evidence: `README.md`)
- ADF factory → Data Lake Storage: coordinates ingestion (evidence: `README.md`)
- ADF factory → Databricks processing: coordinates processing (evidence: `README.md`)
- Data Lake Storage → Databricks processing: provides data (evidence: `README.md`)
- Databricks processing → Curated analytics: produces datasets (evidence: `README.md`)
- Master pipeline → Source to Silver: may orchestrate
- Source to Silver → Ingestion inner pipeline: may invoke
- Silver to Gold → Databricks processing: may coordinate transformations
- ADF factory → Dataset definitions: uses definitions (evidence: `README.md`)
- ADF factory → Linked services: uses connections (evidence: `README.md`)
