Kafka in hospitals: real-world event architecture for HIS, LIS and billing in a Venezuelan mid-size

Kafka in hospitals: real-world event architecture for HIS, LIS and billing in a Venezuelan mid-size

2 12
calendar_today agoschedule1 min read

Most Kafka “healthcare interoperability” examples are theoretical or focused on US/EU EHRs. I wanted to share a concrete case from a mid‑size hospital in Venezuela where we used Kafka as the event backbone between HIS, LIS and billing systems.

Context:

4–8 systems needed to know the same things in near real time: admissions, lab results, charges.

Point‑to‑point integrations had become a mess: custom scripts, duplicate records, fragile error handling.

The hospital knew it would keep adding systems (BI, SAP, new clinical modules) over the next few years.

What we ended up doing:

Defined topics by clinical domain (admissions, lab-results, orders, billing-events) instead of “one topic for everything”.

Partitioned by patient or encounter ID to preserve clinical event order per case.

Used replication factor 3 and min.insync.replicas=2 because losing a lab result is not just a business data issue.

Enabled idempotent + transactional producers (exactly-once semantics) for lab results and financial events, where duplicates are harmful.

The article goes into more detail on:

How we mapped HL7/FHIR messages to Kafka topics.

Trade‑offs in infra cost vs. resilience for a hospital context.

When Kafka was clearly the wrong tool (small clinics with only 2–3 systems and low event volume).

Link (in Spanish, but I’m happy to summarize or answer questions in English here):

Kafka in hospitals

3 Comments

0 votes
0 votes
0 votes
🔥 Join developers growing publicly
Share your knowledge, build in public, and grow your developer presence with a global community.

More Posts

I’m a Senior Dev and I’ve Forgotten How to Think Without a Prompt

Karol Modelskiverified - Mar 19

TypeScript Complexity Has Finally Reached the Point of Total Absurdity

Karol Modelskiverified - Apr 23

Your Tech Stack Isn’t Your Ceiling. Your Story Is

Karol Modelskiverified - Apr 9

From Delayed Data to Real-Time Decisions: Building an Event-Driven Pipeline on AWS

tuni56 - Mar 19

Why Are There Only 13 DNS Root Servers For The Whole World? Is that a problem

richarddjarbeng - May 7
chevron_left
1.3k Points14 Badges
Maracaibo - Venezuelacodebymelendez.com
7Posts
1Comments
6Connections
Ingeniero de software | Java · Spring Boot · Automatización
Sistemas a medida para empresas venezolanas con estándares europeos.

Related Jobs

Commenters (This Week)

1 comment
1 comment

Contribute meaningful comments to climb the leaderboard and earn badges!