5 Learnings From a Cross-Border EHR Integration

I spent months connecting patient records across two different countries. I worked with a Lead Business Analyst with ten years of clinical experience. Her approach changed how I view healthcare software.

Here are five lessons from that project.

  1. Terminology mapping is harder than data mapping

Engineers often treat integration as a schema problem. You map field A to field B and finish. In healthcare, this fails.

One system used ICD-10 and the other used ICD-11. They do not map cleanly. One system used LOINC for labs while the other used old internal codes.

Our BA built a concept crosswalk before we wrote code. She mapped local codes to a standard set like SNOMED CT. Without this, we would have corrupted clinical meaning.

Broken field mapping creates wrong values. Broken terminology mapping creates plausible but clinically wrong values. The latter is much more dangerous.

  1. Data laws shape architecture early

I thought we would design the data model first and handle compliance later. I was wrong.

Patient data crossing borders hits multiple laws like HIPAA or GDPR. Some countries forbid health data from leaving their borders.

Our BA worked with legal teams early. She decided which fields could replicate and which needed de-identification.

This changed our architecture. We built a federated query layer instead of a single replicated database. We added data classification tags directly into our schema.

Get compliance experts and a BA into the room before you design your data model.

  1. Standards are not enough

Both systems supported HL7. However, one used HL7 v2 and the other used FHIR R4. They could not talk without a translation layer.

Even within FHIR, we hit profile mismatches. Both systems claimed compliance but used different implementation guides.

Do not assume integration is easy just because a system supports a standard. Always ask about the specific version and profile. Budget time for an adapter layer.

  1. Workflow diagrams catch hidden edge cases

I used to view workflow diagrams as extra documentation. I was wrong.

Our BA mapped patient transfers in detail. She looked at what happens when a patient moves mid-treatment or when a lab result arrives after discharge.

These are not edge cases in a hospital. They happen every day.

These diagrams changed our data model. We added a care episode concept to track continuous care across both systems.

  1. Build a shared glossary early

Words like encounter or discharge mean different things in different systems. We wasted time because teams interpreted terms differently.

Our BA built a shared glossary. Every stakeholder reviewed and agreed to these definitions. We referenced this document in every requirement.

Assume every domain term is ambiguous. Define it in a document that both sides sign.

Summary

A strong BA does more than write tickets. They act as architects for regulatory constraints and clinical meaning. If you build complex software, do not view this role as overhead. It prevents technical success from becoming a clinical failure.

Source: https://dev.to/arpit_mishra1/5-things-i-learned-working-with-a-lead-ba-on-a-cross-border-ehr-system-5545

Optional learning community: https://t.me/GyaanSetuAi