Use cases · Healthcare
Every patient system.One warehouse.
Clinical, lab and claims data arrive in different shapes. Your team shouldn't hand-build every load.
Healthcare data has five hard problems.
A healthcare warehouse joins three worlds: clinical data (encounters, orders, lab results, medications), financial data (charges, claims, remittances, eligibility) and operations (scheduling, staffing, supply). Each arrives from a different system, on a different schedule, and every load has to handle the same five problems the same way.
The patterns are well known: record sources in every key, satellites split by sensitivity, insert-only history, delete detection, counted and restartable loads. What hurts is hand-coding them for every table of every system, a little differently each time. BimlFlex generates them from one model.
Colliding identifiers
The hospital, the clinic, the lab and billing each number patients, encounters and providers their own way. Patient 10045 in one system is a stranger in the next. Join on raw IDs and two people quietly become one.
Sensitive by default
Privacy rules (HIPAA, in the US) push for the minimum necessary: identifying details kept apart from clinical ones, some source columns never copied at all, nothing sensitive in logs, the data on infrastructure you control.
History is evidence
Addresses, coverage and primary care providers change. Audits ask what was true then, not now. A record voided in the source has to show as voided, not vanish.
A fixed cadence
Nightly loads feed the daily dashboards, monthly quality measures, payer and regulatory submissions and month-end finance. A failed night has to resume without redoing what already finished.
New sources, constantly
An acquired clinic, a new lab system, another payer file feed as delimited or fixed-width files over SFTP. Each one is another round of staging, history and vault loads.
Same number. Two patients.
Each source connection in BimlFlex carries a Record Source code, such as ehr for the clinical system and bill for billing. By default, BimlFlex puts that code first in every integration key it builds, so PatientID 10045 from the clinical system becomes ehr~10045 and the same number from billing becomes bill~10045. Two systems, two keys, two hub rows. Nobody has to remember.
It is a setting, on by default because retrofitting it later changes every key. Turn it off only where keys are meant to integrate across systems by design. When you decide two records are the same person, a Same-As Link is a built-in object type for recording it. The matching rules stay yours.
- On by default, for each source
- Two systems never share a key
- Same-As Links when you decide
Identifying details in their own satellite.
In a Data Vault, a hub holds the key and satellites hold everything said about it. Keep contact details in their own satellite and you can permission them on their own, apart from the clinical attributes everyone else needs. In the Data Vault Accelerator, select the columns, right-click, choose Split Satellite and name the new one. BimlFlex draws the second satellite on the same hub.
Publish, build, and both satellites get their own tables and loads, each with the same key, load date, audit ID and row hash. A split can come later, too: with persistent staging switched on for the source, the new satellite reloads from the history you already have.
- Select, right-click, Split Satellite
- Two tables, one hub
- Reload from persistent staging
Some columns never leave the source.
Every column carries a change type, and two of them decide how far it travels. Ignore keeps a column out of everything: it does not appear in the object or in any pipeline built from it. Exclude DV takes a column into staging and persistent staging but never into the Data Vault.
Free-text notes you never need can stay home. A portal user name can reach staging for a support check without ever reaching the vault. Change the type, rebuild, and every table and load that carried the column changes with it. The same grid sets Multi Active Row for data that is many at once, like a patient's several contact numbers or active diagnoses, so each value keeps its own row and its own history.
- Ignore: in no table, in no pipeline
- Exclude DV: staging only
- Multi-active for many-at-once data
Voided at the source. Still on the record.
Satellites are insert-only. A load writes a new row only when the hash of the tracked columns changes, and the old row stays as it was, with its load date, source and audit ID. So the warehouse can always answer what it knew about an encounter, and when.
A row hard-deleted in the source simply stops arriving. Turn on delete detection for the object, and each cycle BimlFlex extracts the full key set, compares it with persistent staging and writes every missing key as a new row with change type D, in persistent staging, the vault or both. Nothing is removed. On Data Factory, it is its own generated pipeline, logged like every other.
- A new row only when something changed
- Deletes arrive as D rows
- The record's whole life, kept
Every night, counted. Every failure, resumed.
Every generated load logs to BimlCatalog, a database on your own SQL Server, Azure SQL Database or Managed Instance. On Data Factory, every copy is followed by a logging step that writes its row count against the run, and every hub and satellite row carries that run's ID as its audit ID.
When a load fails at 2 a.m., fix the cause and rerun the batch. Each load asks BimlCatalog first. Loads that already succeeded in that batch are skipped and logged as skipped. The failed one runs again. Incremental windows live in the catalog too: each table keeps its last load date, and every run records the value it replaced.
- A row count for every copy
- Rerun skips what already succeeded
- Load windows kept in the catalog
Kept on your side.
BimlFlex generates code; your platforms run it. No Varigence-hosted service sits in your data path. The metadata and BimlCatalog databases live on your own SQL Server, Azure SQL Database or Managed Instance.
On Data Factory, connection secrets can live in Azure Key Vault, and two settings keep a copy activity's input and output out of Data Factory's own logging. Databricks activities have the same pair. Set it once and every generated pipeline carries it. In SSIS, passwords can go in as sensitive project parameters.
- No Varigence service in the data path
- Metadata and run logs on your server
- Secrets and copy output out of the logs
Pick the tool for the team you have.
All three run on Biml. BimlFlex generates the whole warehouse from one model, keyed per source with full history, for SSIS, Data Factory or Databricks, loading SQL Server, Azure SQL Database, Synapse, Snowflake or Databricks. Every BimlFlex subscription includes BimlStudio. BimlExpress is the free add-in for Visual Studio 2012 to 2019: one BimlScript template turns every table of a new source into its own SSIS package. BimlStudio is the full IDE for teams with years of hand-built SSIS: bring packages in as Biml, keep them in source control, and build from the command line in CI.
If youNeed the whole warehouse: every system keyed apart, full history, deletes, counted runs
If youMust stage a newly acquired clinic's tables in SSIS this sprint
If youRun years of hand-built SSIS interfaces that need review, diffs and CI builds