A data platform for a multi-site infusion operator, fed from the workbooks the team already kept
OneDrive workbooks synced into a governed Postgres model with patient-level identity, treatment cadence, revenue projection, and role-hardened access.
- Client
- Multi-site infusion center operator
- Services
- Software DevelopmentSystems IntegrationDashboards and AnalyticsData Retention and Compliance
- Stack
- TypeScriptReactExpressDrizzleNeon PostgresRenderAzure ADOneDrive

Situation
Where things stood
The operator ran several infusion sites and managed scheduling, treatment cadence, and revenue expectations in a set of Excel workbooks maintained by site staff and shared through OneDrive. The workbooks were the real system of record.
Leadership needed to see the whole operation at once: which patients were due, which sites were behind, and what revenue the next months should produce. Assembling that picture by hand took days and was out of date the moment it was finished.
Constraints
What the build had to respect
- Protected health information throughout; every access path had to be provable
- Staff workflow could not change; the workbooks had to remain the input
- Identity lived in the organization's Microsoft tenant
- The first working environment had to be up quickly so the data could be reviewed against reality
What we built
The system, piece by piece
- 01
Workbook sync with a staging layer
A scheduled OneDrive connection picks up each site workbook, validates it, and stages every row with its source file and load time before anything reaches the governed tables. Ambiguous rows wait for review instead of being guessed.
- 02
Patient identity by medical record number
Patients appear across sites and workbooks with inconsistent naming. Identity is resolved on MRN in the ingest layer so cadence and revenue roll up to one person, with every source row retained.
- 03
Cadence and revenue projection
Treatment schedules become expected visits, and expected visits become projected revenue by site and month, alongside actuals, so leadership sees the gap early.
- 04
Authentication and role hardening
Sign-in through the organization's Azure AD, roles enforced in the API and the database, and a hardening pass before go-live covering sessions, cookies, proxy configuration, and schema search paths on the managed database.
Shipped
What went live
- Production deployment on Render with Neon Postgres, deploying from GitHub on every merge
- Scheduled OneDrive ingest with validation and a review queue
- Patient, cadence, and revenue projection dashboards by site and roll-up
- Role-based access tied to the organization's identity provider
- Environment inventory, runbook, and ongoing Technical Operations
What changed
For the people running the business
- The organization sees its entire operation in one place, refreshed on a schedule, without changing how site staff work
- Revenue expectations are projected from actual treatment cadence rather than estimated by hand
- Every figure traces back to a source row in a specific workbook
Operational and financial figures for this client are confidential and can be discussed under NDA on a discovery call.
More Studio work
- Pharmaceutical salesRep-scoped referral analytics with isolation enforced three layers deep
- Healthcare sales operationsA mobile-first expense app with compliance controls built into the categories
- Sales operations and ITEquipping a field sales team with a managed iPad fleet and the tools that run on it
Have something similar
Describe how the work happens today and we will tell you what we would build, in what order, and roughly what it costs.
Book a discovery call