A Microsoft Fabric pipeline that brings client, enrollment and service records from a CRM and an HMIS into one warehouse, links the people who appear in both, and keeps full history so reports count each person once.
- Setting
- Agencies with a CRM and an HMIS but no shared client ID
- My role
- Designed and built the pipeline, warehouse, matching and tests
- Status
- Demo run end to end on invented data
- Tools
- Microsoft Fabric, PySpark, Delta Lake, T-SQL, Splink, DuckDB
The situation
The same person can be a contact in a CRM and a client in an HMIS. Without a shared ID, funder outcome measures count them more than once, and nobody can see a person's full history across programs.
What I built
- Bronze, Silver, Warehouse: every export kept exactly as it arrived, then standardized, then loaded into a persistent warehouse that keeps each client's history.
- Quality gates: a stale, partial or shrunken export stops before anything downstream changes, and records that can't load go to a plain-language correction list for staff.
- Record linkage with a reviewer: exact rules plus a probabilistic model suggest matches, and a person decides the uncertain ones.
- Link, never merge: source records stay as each system sent them, so a wrong link is undone with one decision.
- Privacy by design: sensitive IDs live in one restricted table, matching uses throwaway tokens, and sensitive columns are masked from report users.
Results from the demo run
947people found in 1,002 profiles
55/55suggested links correct, 55 of 58 true pairs found
255key checks, 0 problems
A second week of exports with edits, exits, deletions and a source-system merge loads cleanly, and rerunning a week changes nothing. Matching is tuned to miss a link rather than make a wrong one, on purpose: a missed link waits for a reviewer, but a wrong link would merge two people's records.
The demo uses invented people, programs and IDs.