# From ePA 2.6 to 3.0 : Healthcare Data Integration for Electronic Patient Records at HelloBetter

DevFeed: [From ePA 2.6 to 3.0 : Healthcare Data Integration for Electronic Patient Records at HelloBetter](<https://devfeed.tech/articles/from-epa-2-6-to-3-0-healthcare-data-integration-for-electronic-patient-records-at-hellobetter-26533.md>)

Original publisher: [Read original article](<https://annajmcdougall.medium.com/from-epa-2-6-to-3-0-healthcare-data-integration-for-electronic-patient-records-at-hellobetter-f60a7e63c0f5?source=rss-51f15275ef3a------2>)

Author: Anna J McDougall

Published: 2025-05-20T09:27:30Z

Content type: article

Language: en

Sources: [Anna J McDougall](<https://devfeed.tech/sources/anna-j-mcdougall.md>)

Topics: [implementation](<https://devfeed.tech/topics/implementation.md>), [Data pipelines](<https://devfeed.tech/topics/data-pipelines.md>), [Data serialization](<https://devfeed.tech/topics/data-serialization.md>)

Tags: [authentication](<https://devfeed.tech/tags/authentication.md>), [backend](<https://devfeed.tech/tags/backend.md>), [data-integration](<https://devfeed.tech/tags/data-integration.md>), [digital-health](<https://devfeed.tech/tags/digital-health.md>), [electronic-patient-record](<https://devfeed.tech/tags/electronic-patient-record.md>), [engineering-management](<https://devfeed.tech/tags/engineering-management.md>), [export](<https://devfeed.tech/tags/export.md>), [frontend](<https://devfeed.tech/tags/frontend.md>), [germany](<https://devfeed.tech/tags/germany.md>), [healthcare](<https://devfeed.tech/tags/healthcare.md>), [healthtech](<https://devfeed.tech/tags/healthtech.md>), [insurance](<https://devfeed.tech/tags/insurance.md>), [pipeline](<https://devfeed.tech/tags/pipeline.md>), [software-architecture](<https://devfeed.tech/tags/software-architecture.md>), [staging](<https://devfeed.tech/tags/staging.md>)

## AI overview

HelloBetter reports completing its ePA 3.0 implementation, with BfArm approval still pending and the feature limited to selective staging use behind a flag. Its HealthID login flow remained stable: users authenticate through their insurer's app, then return with attributes from the IDP Federation. For ePA 2.6, a Berlin card terminal and RISE connector enabled uploads. Version 3.0 adds VAU channel setup and IDP authentication before data can be sent. The team used Gematik's VAU library for key negotiation and the VAU-CID, then authenticated through the IDP to obtain a VAU-NP. Uploads use SOAP requests, encryption and response-decryption interceptors, and required identifiers; accepted formats include PDF/A variants, plain text, FHIR XML, and JSON. The migration's main challenges were establishing the VAU connection and manually building DiGA MIO-compliant SOAP data with exact field names and conventions. The authors describe the relevant documentation as difficult to navigate and unavailable in English. Approval requires an implementation explanation, screen recordings, and logs showing successful ePA writes.

## Source excerpt

From ePA 2.6 to 3.0: A Technical Journey in Healthcare Data Integration for Electronic Patient Records...so far Germany has a bad reputation for digitalisation, so the government's push to implement an electronic patient record ("elektronische Patientenakte" or ePA) for its citizens and residents is a step in the right direction. As an official digital health application ("digitale Gesundheitsapplikation" or "DiGA"), we are obligated to shift to the ePA 3.0 implementation. The government rollout has been plagued with technical difficulties and delays, but we're now at a point where we have completed our implementation successfully, pending BfArm approval. In this post, I want to cover the exact steps we and had to take to achieve this. I want to thank Senior Product Manager Tanja Lembcke and Senior Backend Engineer Chaythanya Sivakumar for their contributions to this piece. The Challenge: Connecting Patient Data Across Systems The electronic patient record (ePA) and HealthID integration project had a clear mission: we wanted to give our patients the ability to log into the HelloBetter platform using their HealthID (which they access through their insurance company) and export their HelloBetter data into their ePA. A successful implementation would mean that both doctors and patients can electronically access therapeutic data whenever they need it. To make this happen for the patient data at HelloBetter, we partnered with two key players: RISE for ePA system access and Azuma for HealthID system access. Our journey began in 2024 when our backend team laid the groundwork for ePA 2.6, setting up the pipeline and data export in our staging environment. We successfully implemented both PDF and XML document writing capabilities, along with the frontend and backend integrations for HealthID login. How It All Works: The Architectural SideHealthID Authentication The first piece of the puzzle is connecting to and authorising the user's HealthID. This part of the system has remai