}

Under the hood: post-discharge care w/ Mendix, openEHR, FHIR

Discover how Mendix, openEHR and FHIR work together to securely share healthcare data and support professionals.
November 5, 2026
Employee Maarten Bongers
Geschreven door
Maarten

The conversations around the table lead to clear agreements: which data is relevant to whom, when is it needed and what happens when something falls outside the expected range? Technology follows these agreements, with the patient record as its foundation, a digitally supported process and secure data exchange across the care chain.

This is part 2 of a two-part series. Part 1 (People and processes first) explained that data sharing starts with clear agreements: who needs to know what and when? This article is aimed at IT and information managers and explores how technology can support those agreements.

‍

The use case

The same patient from part 1 returns home after being admitted to hospital with heart failure. The community care team weighs the patient daily and measures their blood pressure. They use a single app to plan visits and record measurements on location. The planner can see who needs a visit that day, while the community nurse records the patient's measurements directly on their phone or tablet. The app supports the process; the healthcare data itself is stored in a CDR (Clinical Data Repository), which stores healthcare information independently of any particular software vendor, using openEHR.

‍

The CDR and the app are hosted within the healthcare organization's IT environment or regional infrastructure, not by the application developer. They also fall under the organization's information security policy (NEN 7510).

‍

The patient record remains the leading system

The electronic patient record (EPR) in the hospital and the electronic client record (ECR) in community care form the core of every healthcare organization. The app complements these records. The community nurse opens it from within their own ECR, with the correct patient already selected, preferably using SMART App Launch. The measurement can be viewed from the ECR and is also recorded there if the ECR supports this.

‍

Alerts go directly to healthcare professionals

Every time a measurement is recorded, the app checks it against the agreed thresholds. If the patient gains two kilos in three days, the designated healthcare professional receives an alert in the system they already work with: the GP in their practice information system and the heart failure nurse in the hospital's EPR.

‍

This can be done using the notified pull principle: the recipient receives an alert and retrieves the measurement via FHIR when they open it. Data is only shared with another care provider in the chain if the patient has given consent.

‍

For the patient, this means one measurement, recorded once, with the information reaching the right healthcare professionals.

‍

The care providers themselves determine which thresholds apply and who receives the alert.

No items found.
Martijn van Kuijk
Can we help you?
Contact Martijn!

How it works in the demo

Squad Apps has turned this concept into a working demo using Mendix. It shows step by step how Mendix, openEHR and FHIR work together:

  1. Find the patient. The app looks up the patient in the CDR. In the demo, the CDR runs on EHRbase, an open-source openEHR implementation.
  2. Record measurements using the standard. Weight and blood pressure are stored in the CDR via the standard openEHR REST API, using international archetypes.
  3. Retrieve measurement history. The app retrieves previous measurements using AQL, the query language for openEHR, giving the community nurse an immediate overview of the patient's progress.
  4. Trigger an alert when a threshold is exceeded. If the patient gains weight faster than agreed, the app creates an alert for the designated healthcare professional.
  5. Share data via FHIR. The same measurement is made available via FHIR, following the nl-core profile. Another care provider in the chain can access it without needing any knowledge of openEHR.
  6. No healthcare data stored in the app. Mendix only stores a reference to the patient's record; the actual measurement remains in the CDR.

‍

The integration is generic: it uses the standard openEHR REST API and contains no built-in knowledge of specific templates. The templates and fields used for each measurement are configured per application. This means the same integration also works with other CDRs that support these standard APIs, without requiring a new integration for every additional measurement.

‍

Let's start the conversation

Does this sound familiar in your organization or region? Get in touch. A coffee is all it takes to explore whether this approach could work for you too.

‍

Squad Apps builds Mendix applications that support healthcare professionals: designed around their workflows, based on open standards such as openEHR and FHIR, and hosted within the healthcare organization's own IT environment.

From Low-Code to Agentic Enterprise
Close icon
Mendix AI Agentic Enterprise Platform
squad logo mark
Agentic Enterprise Platform