We think the argument over which HL7v2 fields matter belongs after the data has landed, and Funke lets it wait until then. Databricks announced the open-source library on 8 October 2026. It parses HL7v2 into native Spark types inside the lakehouse and keeps every segment, field, repetition, component and subcomponent addressable. So the choice of fields moves out of a vendor's mapping config and into the gold tables, where the people who know the clinical meaning build them.
That is the order we already build reporting in on Databricks. When we embedded a client's reporting on Databricks, its dashboards read two Unity Catalog views, so when the data moved from Lakehouse Federation to Delta we changed what sat under the views and left the widgets alone. A new plant's leadership reporting runs the same way, through 12 bronze, 15 silver and 10 gold tables built and tested on sample data before go-live. We haven't run Funke on a real feed.
For a health system or a healthcare software company whose admissions and lab results already travel as HL7v2, the change is cost and control. Those messages can reach analytics without a flattening engine or a FHIR conversion in between. The interface engine it runs today stays where it is, and the decision about what each field means stays with its own people.
What it replaces, and what it leaves alone
HL7v2 is the delimiter-encoded standard that carries routine clinical traffic between systems: a patient admitted, an order placed, a result back. The specification is loose enough that two sending systems produce different messages for the same event, which is why the data usually reaches a data team already flattened by somebody else's idea of which fields matter. Teams take one of two detours to get it into analytics. They convert everything to FHIR first, or they pay a third-party engine to flatten messages into wide tables outside the platform.
Funke removes both for analytics. It doesn't replace an interface engine. It doesn't listen on MLLP, acknowledge messages, route them or retry to a sending system, so a hospital running Mirth, Rhapsody or Cloverleaf keeps it and points a copy of the feed at a Unity Catalog volume. It also interprets nothing. Mapping a segment and field to a business concept is still a decision made with clinical knowledge, and FHIR-first estates get nothing from it, since it reads HL7v2 only. Organisations whose clinical data arrives as flat extracts from a vendor's reporting database have a different problem, closer to getting ERP and CRM data into Databricks.
Where we'd put it in a pipeline
Funke's own pipeline stops at silver. Auto Loader picks up the HL7 files from a Unity Catalog volume into raw_messages, and the parser adds one hl7 column in parsed_messages. Gold is left to the team, and that's the layer we'd spend a project on, with no FHIR conversion or vendor flattening in front of it.
We'd keep every report reading views rather than the parsed table, as the dashboards in that client project did. We'd expect HL7 extractions to change often, because a new sending system can fill a field its own way, and a view of the same shape lets the extraction change without breaking the reports above it.
The first things we'd check
We'd start with the messages themselves. We'd expect variation between sending systems to be where an HL7 project gets hard, and a query over parsed_messages grouped by sending facility (MSH-4) and message type (MSH-9) says more about a feed than a schema meeting does. The test messages in the repository come from HL7's v2-to-fhir project, so they are clean, and a real feed won't be.
Next we'd decide, table by table, what can be restated. Under Spark Declarative Pipelines the bronze and silver tables are streaming tables, and a streaming table processes each row once. Change the extraction later and old rows stay as they were until a full refresh. A clinical history table should know before go-live whether it is append-only or expected to be rebuilt.
Then we'd make the extractions readable. Raw addressing is positional, as in the repository's own SQL example:
SELECT
md5Hash AS messageId,
hl7.MSH[0].fields[9][0][1][1] AS messageType,
hl7.PID[0].fields[5][0][1][1] AS patientLastName,
hl7.PV1[0].fields[2][0][1][1] AS patientClass
FROM silver_table
That is precise and unreadable six months later. Funke ships accessor helpers in funke.utils, get_value among them, and we'd use them everywhere except throwaway exploration, with a comment beside each extraction naming the field in standard notation. An integration analyst can check PID-5.1, and nobody can check fields[5][0][1][1]. The same extraction works in PySpark and Spark SQL, so an analyst who writes SQL can build a gold view without waiting for a column to be added to a mapping file.
What it costs to run
The source is published under the Databricks License, so there's no licence fee, and a team pays for Databricks compute and storage, billed per second with no up-front cost. HL7 feeds run to many small messages, so file discovery in Auto Loader is what we'd watch more than data volume. The bigger cost is ownership. The repository says the code is provided for exploration, without a Databricks support agreement, so a hospital that runs it under a clinical workload operates it the way it would any open-source library, with its own tests on every upgrade.
Frequently asked questions
What is Funke?
Funke is an open-source Databricks library that parses HL7v2 messages into native Spark types on the lakehouse, preserving the full segment, field, component and subcomponent hierarchy. It succeeds Smolder, rebuilt in Python and PySpark around Unity Catalog, bundles and Spark Declarative Pipelines, and ships with a runnable demo.
Can Funke parse a message outside the pipeline?
Yes. Installed from the repository with pip install ., the library parses a single message in plain Python with HL7v2Msg(raw), and parse_hl7v2_msg(HL7v2Schema()) gives a Spark UDF for any DataFrame column, which is the same call the pipeline makes between bronze and silver. That's useful for testing extractions against a handful of messages before they go into a pipeline.
Is Funke supported by Databricks?
Not under a support agreement. The repository says the code is provided for exploration, without SLAs, and asks for issues on GitHub rather than support tickets. A team running it under a clinical workload owns its operation, the way it would any open-source library.
Do I still need to convert HL7v2 to FHIR?
For analytics on the lakehouse, no, you don't. With Funke you can skip the FHIR translation layer, which adds a conversion step and can drop detail that has no clean FHIR equivalent. You will still need FHIR for interoperability with systems that require it.