Free 30-minute AI & automation audit with a senior engineer. You keep the notes. Book yours

FHIR Facade & Wrapper

FHIR Facade Development: A Standard FHIR API on Top of Your Existing System

A FHIR facade, sometimes called a FHIR wrapper, is a service that answers FHIR R4 requests by translating them into queries against an existing database or API, so a legacy EMR, lab system or hospital system can offer a standard FHIR interface without being replaced or migrated. MultiGenesys designs and builds FHIR facades with profile-conformant resources, FHIR search, SMART on FHIR authorization and full audit logging, so partners, apps and national exchanges can connect while your core system keeps running.

Clinician reviewing patient health data on a tablet in a clinic

Outcomes

What you get

A FHIR API without a rewrite

Your existing system stays the source of truth, and partners get a standards-based API in months instead of waiting for a platform replacement.

Partners onboard faster

Apps, payers and exchanges that already speak FHIR connect with less custom work, because they read Patient, Observation and Encounter the way they expect.

Access you can control and prove

Every request is authorized by scope and patient context, and every read and write is recorded, so security reviews and audits have evidence.

A path to modernization

Once consumers use the facade, the system behind it can be replaced module by module without breaking them.

What’s included

FHIR Facade Development, end to end

Facade architecture

A choice between pure on-demand translation, a facade with a read cache, or a synchronized FHIR repository, based on load, latency and how much the legacy database can bear.

Resource mapping

Mappings from your tables and APIs to FHIR R4 resources such as Patient, Practitioner, Encounter, Condition, Observation, DiagnosticReport, MedicationRequest and DocumentReference.

Search and paging

FHIR search parameters, _include and _revinclude, sorting and paging translated into efficient queries, with indexes added where the legacy schema needs them.

Profiles and CapabilityStatement

Resources that conform to the profiles your partners require, such as AU Core, US Core, the International Patient Summary or NRCeS profiles, and an accurate CapabilityStatement.

SMART on FHIR authorization

An OAuth 2.0 authorization server with SMART App Launch, scopes such as patient/Observation.rs, launch context, PKCE for public apps, and backend services with signed JWT client authentication.

Write operations

Create and update support where the business allows it, with validation, business-rule checks and conflict handling before data reaches the legacy system.

Audit and provenance

AuditEvent records for every access, Provenance for writes, and logs streamed to your security tooling.

Bulk export

FHIR Bulk Data $export for population-level extracts to analytics and registries, run off-peak so it does not affect clinical users.

Process

How a FHIR Facade Development engagement runs

Clear stages, working software at every step, and the same team from first workshop to production support.

  1. 01

    Step 1

    Consumer first

    We start from who will call the API and what they need, which sets the resources, profiles and search parameters to build.

  2. 02

    Step 2

    Data mapping

    We map each resource to the legacy schema, list gaps and decide how to fill them, for example code translation or derived fields.

  3. 03

    Step 3

    Build and harden

    We build the facade, the authorization server and audit, then load-test against a copy of production to protect the legacy system.

  4. 04

    Step 4

    Conformance testing

    We validate resources against their profiles and run conformance test suites and partner test scripts before opening the API.

  5. 05

    Step 5

    Operate

    We monitor latency, errors and usage per client, manage client registrations and extend the API as new consumers arrive.

Why MultiGenesys for FHIR Facade Development

The first question on a facade project is not which library to use. It is how much load the legacy database can take, and how fresh the data must be. A pure facade gives real-time data and duplicates nothing, but every FHIR search becomes a query against a production clinical database. A synchronized repository fed by change data capture moves that load away but adds delay and a second copy to secure. We measure both before choosing, and often combine them: on-demand reads for patient-level queries, a repository for bulk and analytics.

Translating meaning, not just fields

Legacy systems store codes their own way. A facade that returns a local lab code in Observation.code is technically FHIR but useless to a partner. We add terminology translation to LOINC, SNOMED CT or ICD-10 at the facade layer, backed by governed ConceptMaps, so consumers get codes they can use and your source system stays unchanged. The same mapping work is reusable if you later migrate to FHIR.

Authorization done properly

SMART on FHIR is where many facades cut corners. We run a real authorization server, enforce scopes on every request, filter results by patient context, support token refresh and revocation, and record each access as an AuditEvent. For machine clients we use SMART backend services with asymmetric keys rather than shared secrets. This is the part of the system security reviewers read first, and the part our API development and healthcare compliance practices review together.

Where it fits

A facade is one piece of an interoperability program. Our HL7 and FHIR integration practice covers the wider architecture, our EHR development and integration service builds the apps that call the API, and our legacy modernization team replaces the system behind it when the time comes. See our healthcare industry page for the full practice, or book a 30-min call to review your legacy schema.

Technologies we use

  • HL7 FHIR R4
  • HAPI FHIR plain server
  • SMART App Launch / OAuth 2.0 / OpenID Connect
  • Keycloak
  • Java / Spring Boot
  • Node.js / TypeScript
  • PostgreSQL / SQL Server / Oracle
  • Redis
  • Apache Kafka (change data capture)
  • HL7 FHIR Validator / Inferno
  • AWS / Azure
  • Prometheus / Grafana / Loki

Engagement models

Work with us the way that suits you

How we work

Dedicated product team

A stable, cross-functional team — engineers, design, QA, DevOps — that owns your roadmap quarter after quarter.

Fixed-scope delivery

A defined build with milestones, demos and a hard definition of done.

Embedded engineers

Senior engineers inside your team, in your tools and your stand-ups, with no hand-over boundary.

Working standards

What you can expect on every project

Engineering standards

Reviewed, version-controlled code

Every change goes through pull requests and peer review in your repository, with a clean history you own.

Automated testing in CI/CD

Unit, integration and API tests run in the pipeline on every change, so regressions are caught before release.

Security by default

Least-privilege access, secrets management, OWASP-aligned checks and environment separation from day one.

Production-ready by default

Idempotent APIs, audit trails, monitoring, alerting, backups and documented runbooks ship with every platform.

Frequently asked questions

Still unsure? Ask us directly — we reply within one business day.

What is the difference between a FHIR facade and a FHIR server?

A FHIR server stores resources in its own database. A FHIR facade stores nothing of its own and translates each request into a query against your existing system. A facade is faster to introduce and avoids duplicating data, while a server gives more search flexibility and takes load off the legacy database.

Will a FHIR facade slow down our legacy system?

It can if built naively. We profile the queries each search generates, add indexes or read replicas, cache reference data, rate-limit clients and run bulk exports off-peak. Load tests against a production copy happen before go-live.

Do we need SMART on FHIR?

If third-party apps will access patient data on behalf of users, yes in most markets, because SMART on FHIR is the standard way to authorize them. For system-to-system feeds, SMART backend services provides the same model with signed client credentials.

Can the facade also accept writes?

Yes, for resources where the business allows it. We validate incoming resources against their profiles and your business rules, translate them to the legacy model and return clear OperationOutcome errors when something is rejected.

Should we build a facade or migrate to FHIR?

Build a facade when the legacy system will stay in service. Choose FHIR migration when you are retiring it. A facade first, migration later is a common and low-risk sequence.

Can a facade connect us to a national health exchange?

Often, yes, when the exchange uses FHIR, as India's ABDM and Saudi Arabia's NPHIES do. Exchanges that still require HL7 v2 messages need an interface feed alongside the facade.

Tell us what you’re building. We’ll show you how we’d ship it.

Share a few lines about your project. A senior engineer — not a salesperson — replies within one business day.

Free AI audit Book a call