Architecture
Healthcare Data Architecture from Source Systems to Analytics and AI
Clinical data has to be correct where care happens and useful where decisions are made, and those two goals pull in opposite directions. We design data architectures that keep them apart on purpose and connect them through governed, traceable pipelines.
At a glance
- Standards & integrations
- EHR reporting databases and CDC feedsHL7 v2 and FHIR interfacesFHIR Bulk Data exportsX12 claims and remittance (837/835)Lab and imaging systemsTerminology services (LOINC, SNOMED CT, RxNorm, ICD-10)
- Typical deliverables
Data domain map with authoritative sources and consumers
Target data architecture and zone contracts
Model selection rationale (FHIR, OMOP, dimensional)
Ingestion pipelines with lineage and quality tests
Healthcare data architecture: overview
Healthcare organizations typically hold the same patient's data in a dozen places: the EHR, a lab system, a revenue cycle platform, an imaging archive, a care management tool, and several spreadsheets someone exported last year. A data architecture decides which of those is authoritative for each fact, how data moves between them, which models it takes along the way, and who can see it at each stage. Getting those decisions right matters more than the choice of warehouse.
We draw a firm line between operational and analytical data. Operational stores support live clinical and administrative workflows, so they need strong consistency, low latency, and tight access control. Analytical platforms favor breadth, history, and flexible querying, and can tolerate minutes or hours of lag. Mixing them, for example by running population health queries against the production EHR database, hurts both. Change data capture, event streams, and Bulk FHIR exports move data across that line in a controlled way.
Models matter. FHIR works well for exchange and for application-facing repositories. OMOP CDM suits observational research and standardized analytics. Dimensional models still serve finance and operations reporting best. We help you pick deliberately per use, and design the mappings, terminology services, and lineage so a number on a quality dashboard can be traced back to the source encounter that produced it.
Engineering challenges in healthcare data architecture
01No clear source of truth
Allergies live in the EHR, a pharmacy system, and a patient app, each slightly different. Without declared authority per data element, downstream systems pick whichever copy they saw last.
02Analytics on production databases
Reporting queries run against operational databases because it was quick. Month-end reports then slow clinical workflows, and schema changes break dashboards unexpectedly.
03Terminology drift
Local lab codes, outdated ICD mappings, and free-text medications make cross-site analytics unreliable. Mappings maintained in spreadsheets fall behind with every code set release.
04PHI copied everywhere
Each new analytics project gets its own full extract. Over time, nobody can say how many copies of identifiable data exist, who has access, or when they should be deleted.
05Untraceable metrics
A quality measure changes after a pipeline update and nobody can explain why. Without lineage, data teams spend days reverse-engineering their own transformations.
Technical capabilities
What our healthcare data architecture work covers
Data domain and authority mapping
We document each core data domain, its authoritative source, its consumers, and the latency each consumer actually needs. This becomes the basis for integration and governance decisions.
Operational and FHIR data stores
We design transactional schemas and FHIR repositories for application use, including indexing strategy for common search parameters and partitioning for high-volume resources such as Observation.
Lakehouse and warehouse design
Raw, standardized, and curated zones with clear contracts between them, implemented on platforms such as Databricks, Snowflake, BigQuery, or Microsoft Fabric. Raw zones are immutable so pipelines can be rerun.
Common data models
We map source data into FHIR, OMOP CDM, or dimensional models depending on use, with vocabulary handled by a terminology service rather than hard-coded mappings.
Change data capture and streaming ingestion
CDC and event streams replace nightly batch extracts where freshness matters, while preserving full history for audit and replay.
De-identification and data minimization
Pipelines that produce de-identified or limited datasets under defined methods, with tokenization for record linkage and documented re-identification risk controls.
Lineage, quality, and catalog
Column-level lineage, automated data quality tests, and a catalog that records owners, sensitivity labels, and approved uses for each dataset.
Software architecture
Reference architecture for healthcare data architecture
Source systems feed a governed platform through controlled ingestion, with separate paths for operational use, analytics, and research.
- Sources
- EHR and ancillary systems
- Claims and eligibility
- Devices and RPM
- Patient-reported data
- Ingestion
- CDC connectors
- HL7 / FHIR adapters
- Bulk FHIR export
- Batch file intake
- Storage zones
- Raw (immutable)
- Standardized (FHIR / OMOP)
- Curated data products
- De-identified sandbox
- Serving
- BI semantic layer
- Feature store
- FHIR API
- Research workbench
- Governance
- Catalog and lineage
- Terminology service
- Access policies
- Quality monitoring
Technology stack for healthcare data architecture
- Platforms
- DatabricksSnowflakeGoogle BigQueryMicrosoft FabricAmazon Redshift
- Ingestion
- DebeziumFivetranApache KafkaAzure Data FactoryAWS Glue
- Transformation
- dbtApache SparkDelta LakeApache Iceberg
- Healthcare models
- FHIR R4OMOP CDMOHDSI toolsSynthea for test data
- Governance
- Unity CatalogMicrosoft PurviewOpenLineageGreat Expectations
Security & compliance
Security and compliance considerations for healthcare data architecture
What regulations require
- HIPAA defines two methods for de-identification at 45 CFR 164.514(b): the Safe Harbor method, which removes 18 specified identifiers, and Expert Determination, in which a qualified expert concludes the re-identification risk is very small.
- The minimum necessary standard (45 CFR 164.502(b) and 164.514(d)) requires covered entities to limit PHI used or disclosed to the minimum needed for the purpose, which applies to analytics extracts and data products.
- Records of substance use disorder treatment from federally assisted programs are governed by 42 CFR Part 2, which was revised by a final rule in February 2024 to align more closely with HIPAA but still imposes specific consent and segmentation requirements.
Recommended engineering practices
- Attribute-based access control on datasets and columns, driven by sensitivity labels in the catalog.
- Tokenization of identifiers for record linkage, with the token vault separated from analytical environments.
- Immutable raw zones with object lock or versioning to support audit and recovery.
- Automated scanning for PHI in datasets labeled as de-identified.
- Retention schedules enforced by the platform rather than by manual cleanup.
Regulatory summaries are educational, not legal advice. HIPAA compliance is an organizational program; software can support safeguards but cannot by itself make an organization compliant. Systems that handle PHI need their own risk analysis, vendor evaluation, and Business Associate Agreements before deployment.
Integration capabilities
Integrations we engineer for healthcare data architecture
- EHR reporting databases and CDC feeds
- HL7 v2 and FHIR interfaces
- FHIR Bulk Data exports
- X12 claims and remittance (837/835)
- Lab and imaging systems
- Terminology services (LOINC, SNOMED CT, RxNorm, ICD-10)
- BI tools (Power BI, Tableau, Looker)
- ML platforms and feature stores
Engineering methodology
How we approach healthcare data architecture
- 1
Map domains and consumers
We catalog data domains, authoritative sources, consumers, freshness needs, and sensitivity, and identify where copies already exist.
- 2
Define target models and zones
We select data models per use and define zone contracts, naming conventions, and quality expectations.
- 3
Build governed ingestion
Ingestion pipelines for priority sources are built with lineage, quality checks, and sensitivity labeling from day one.
- 4
Deliver first data products
One or two high-value data products, such as a readmission dataset or a capacity dashboard, prove the architecture end to end.
- 5
Scale and retire copies
Additional sources and products are added, and legacy extracts and shadow databases are decommissioned on a schedule.
Business use cases
Where healthcare data architecture delivers value
Replacing nightly batch with CDC
A nightly extract that delays morning operations dashboards is replaced by change data capture, giving near-real-time capacity data without touching the EHR's production workload.
Multi-site research data model
Data from several facilities is mapped to OMOP CDM so researchers can run standardized cohort queries on de-identified data.
Value-based care analytics
Claims, clinical, and attribution data are combined into curated products for quality measures and care-gap reporting, with lineage to source encounters.
AI feature pipelines
Clinical features for a predictive model are computed once in a governed feature store, with point-in-time correctness to avoid training on future data.
Technical comparison
| Model | Strongest use | Weakness | Typical consumer |
|---|---|---|---|
| FHIR R4 | Exchange and app-facing APIs | Awkward for large analytical joins | Apps, partners, EHR integrations |
| OMOP CDM | Observational research, standardized analytics | Mapping effort; loses some source detail | Researchers, data scientists |
| Dimensional (star schema) | Operational and financial reporting | Rigid for new questions | BI analysts, finance |
| Raw source schemas | Full fidelity and reprocessing | Hard to query; vendor-specific | Data engineers |
| Data vault | Auditable history across many sources | Complex; needs a serving layer | Enterprise data teams |
Typical deliverables
What a healthcare data architecture engagement produces
- Data domain map with authoritative sources and consumers
- Target data architecture and zone contracts
- Model selection rationale (FHIR, OMOP, dimensional)
- Ingestion pipelines with lineage and quality tests
- De-identification and tokenization design
- Data catalog with sensitivity labels and owners
- Retention and access policy implementation
Data architecture health check
- Every core data element has a declared authoritative source
- No analytical workloads run directly against production clinical databases
- Terminology mappings are versioned and managed in a service
- Each dataset has an owner, sensitivity label, and retention rule
- Column-level lineage exists for regulatory and quality measures
- De-identified datasets are scanned for residual identifiers
Cost and timeline factors
What shapes healthcare data architecture cost and timeline
- Number and heterogeneity of source systems
- Freshness requirements (batch, near-real-time, streaming)
- Terminology mapping effort for local codes
- Research or de-identification requirements
- Existing platform investments and licenses
- Volume of legacy extracts and shadow databases to retire
Typical timeline
A data architecture assessment and target design usually takes several weeks. First governed data products typically arrive within one to two quarters, with broader source coverage built out over subsequent quarters.
Read the cost guideHealthcare data architecture FAQs
Should we use FHIR or OMOP for analytics?
It depends on the question. FHIR is designed for exchange and application access; it can support analytics through flattened views such as SQL on FHIR, but large joins can be awkward. OMOP CDM is built for observational research with standardized vocabularies. Many organizations ingest FHIR and map to OMOP or dimensional models for analytics, keeping each model where it is strongest.
How do you balance consistency and availability for clinical data?
By deciding per data flow. Writes to medication orders, allergies, and results need strong consistency in the operational system, even at the cost of rejecting a write during a partition. Analytical copies, census dashboards, and patient-facing summaries can be eventually consistent if they show data freshness. Making that choice explicit avoids clinicians acting on stale data without knowing it.
What is the difference between a data lake and a lakehouse in healthcare?
A data lake stores raw files cheaply but often lacks transactions, schema enforcement, and fine-grained access control. A lakehouse adds table formats such as Delta Lake or Iceberg, giving ACID transactions, time travel, and governance on the same storage. For PHI, those features matter because they support auditability, controlled access, and reproducible analytics.
Does de-identified data fall outside HIPAA?
Health information de-identified under 45 CFR 164.514(b), using either the Safe Harbor method or Expert Determination, is no longer PHI under HIPAA. The process must actually meet the standard, and linking de-identified data with other sources can raise re-identification risk. State laws and contracts may impose their own restrictions, so governance should continue after de-identification.
Related engineering topics
- Healthcare Data EngineeringPipelines, models, and governance that turn HL7, FHIR, claims, and device data into trustworthy datasets for analytics, operations, and AI.Read more
- Healthcare Data PlatformsEngineering healthcare data platforms that ingest HL7, FHIR, claims, and device data into governed, reusable products for analytics, AI, and operations.Read more
- Healthcare Analytics PlatformsEngineering healthcare analytics platforms with governed metrics, quality measures, de-identification, and self-service reporting on trustworthy clinical and claims data.Read more
- Healthcare Data InteroperabilitySemantic interoperability engineering: terminology mapping, USCDI alignment, C-CDA and FHIR conversion, identity matching, and IHE-based exchange.Read more
- Healthcare Data Engineering GuideIngesting HL7, FHIR, X12, and CSV data; lakehouse design; OMOP vs FHIR for analytics; identity resolution; de-identification; data quality; and lineage.Read more
- Event-Driven ArchitectureBrokers, event contracts, ordering, and idempotency for HL7 v2 and FHIR event streams, so out-of-order and duplicate clinical messages are handled by design.Read more
Discuss your healthcare engineering project
Tell us about the system, the integrations it depends on, and the constraints you are working within. A senior engineer will review it and reply with questions, not a sales script.