Skip to main content
Docs/Architecture Samples and Use Cases
On this page ⌄
Concept

Architecture Samples and Use Cases

Reference architectures and real-world deployment patterns built on Open Health Stack components.

UPDATED

Modular components for real-world health architectures​

Open Health Stack components can be used individually or combined to form the foundation of an end-to-end digital health platform. The modularity of the ecosystem enables engineering teams to solve specific integration challenges, modernize legacy environments, or launch complete clinical solutions.

Five Open Health Stack solution samples. Sample 1, offline multiplatform apps powered by the KMP FHIR SDK across Android, iOS, desktop, and web. Sample 2, privacy and sync proxy, Info Gateway with SMART-on-FHIR. Sample 3, analytics pipelines, scalable SQL-on-FHIR pipelines. Sample 4, end-to-end platform, a complete client-to-analytics stack. Sample 5, hybrid and non-FHIR coexistence architectures, data harmonization pipelines and non-FHIR backend integration adapters.

Sample 1 for offline-first FHIR client applications​

Using the KMP FHIR SDK, developers can build FHIR-native applications for Android, iOS, desktop, and web browsers from a single codebase for frontline healthcare workers operating in low-connectivity settings.

  • Data collection using Kotlin FHIR Data Capture to render validated FHIR Questionnaires across platforms
  • Offline operation using Kotlin FHIR Engine for local SQLite-backed storage (including browser OPFS) and typed search
  • Clinical decision support using Kotlin FHIR Workflow to apply PlanDefinition resources with FHIRPath conditions and optional custom evaluators (while on-device CQL evaluation ships in the Maintenance-mode Android FHIR SDK)

Architecture diagram of an offline FHIR application. The multiplatform app contains Structured Data Capture for UI forms, FHIR Engine for local SQLite storage, and Workflow for FHIRPath clinical decision support and care plans. The engine synchronizes with a remote FHIR Server over REST APIs.

Sample 2 for privacy-preserving access proxy and sync​

Deploying Info Gateway as a reverse proxy in front of health data endpoints provides fine-grained access control and SMART-on-FHIR support.

  • Restricted sync boundaries limiting the scope of patient data downloaded to frontline devices based on practitioner assignments or health catchment area
  • SMART-on-FHIR application integration enabling third-party clinical applications to access FHIR APIs securely without direct database access
  • Audit logging and policy enforcement applying organizational access rules before requests touch underlying data stores

Architecture diagram of privacy and sync control. Frontline client devices and SMART on FHIR applications connect through the FHIR Info Gateway reverse proxy, which enforces access policies and sync rules before routing requests to the FHIR Server and authentication providers.

Sample 3 for large-scale FHIR analytics pipelines​

Heavily nested JSON structures in FHIR resources can make direct analytical queries challenging. Deploying FHIR Data Pipes transforms hierarchical FHIR data into tabular SQL-on-FHIR structures.

  • Batch and streaming extraction pulling resources from transactional FHIR stores without impacting clinical operations
  • Relational transformations converting nested resources into standardized SQL-on-FHIR tables in PostgreSQL, BigQuery, or ClickHouse
  • Aggregate indicators and dashboards powering epidemiological tracking, national reporting, and programme management in tools like Apache Superset

Architecture diagram of FHIR analytics. Transactional data from a FHIR Server is processed by FHIR Data Pipes using SQL-on-FHIR view definitions, outputting tabular data into analytical data warehouses for SQL queries and BI dashboards.

Sample 4 for end-to-end digital health platform​

Combining all foundational components provides a complete foundation for health service delivery, coordination, and reporting.

  • Frontline care delivery via offline-first multiplatform clients collecting data through standard questionnaires
  • Secure data exchange via Info Gateway managing authentication, sync filtering, and role-based access
  • Interoperable persistence with standard FHIR servers preserving longitudinal patient records
  • Automated analytics via FHIR Data Pipes generating programme indicators and population health insights

Architecture diagram of an end-to-end digital health solution. Frontline clients sync with Info Gateway, which mediates requests to the central FHIR Server. FHIR Data Pipes streams data from the FHIR Server into an analytical data warehouse powering indicator dashboards.

Sample 5 for hybrid architectures and non-FHIR coexistence​

Because Open Health Stack is modular, organisations can modernize specific parts of their architecture while preserving existing legacy platforms.

  1. Non-FHIR data collection to FHIR-based analytics where data collected through legacy systems is harmonized into FHIR resources (using tools like OpenFn or custom pipelines) to leverage FHIR Data Pipes for standard SQL-on-FHIR aggregate reporting.
  2. FHIR-native client app to non-FHIR backends where frontline workers use FHIR-native multiplatform applications for offline care delivery. Data synchronizes to a FHIR server, where backend adapters route transactions into legacy hospital databases and national registries.

Architecture diagram of hybrid architectures. Shows two patterns. First, non-FHIR data collectors transform data into FHIR for analytics with FHIR Data Pipes. Second, FHIR-native KMP apps sync to a FHIR server, with integration adapters connecting into non-FHIR enterprise systems.

Where to go next​