Bridging the gap between real-world clinical data and research-ready datasets, fragment processing plays a pivotal role in converting FHIR resources into the OMOP Common Data Model (CDM). At Mindbowser, we’ve architected a robust transformation pipeline that dissects massive FHIR exports—like patient records, procedures, observations, and medications—into structured fragments.
These fragments are enriched with standardized terminology, deduplicated, and efficiently bulk‑loaded into OMOP tables. This “fragment‑processing” approach solves key challenges of scale, data integrity, and performance, enabling healthcare organizations to transform raw EHR data into analytics-ready repositories with speed, accuracy, and compliance.
Healthcare systems often struggle with fragmented data across EHR systems, making efficient, high-quality transformation of millions of complex medical records a major challenge. Traditional row-by-row processing becomes a bottleneck when dealing with Epic’s bulk exports containing hundreds of thousands of patient encounters.
The answer lies in fragment-based processing—a sophisticated approach that breaks complex transformations into parallelizable components.
Fragment processing operates on a simple but powerful principle: instead of trying to transform complete FHIR resources into final OMOP records in a single step, break the process into manageable pieces (fragments) that can be processed independently and then intelligently assembled.
This approach enables massive parallelization while maintaining data integrity and clinical context.
The fragment generation stage is where the magic happens. A single FHIR Encounter resource might generate multiple fragments destined for different OMOP tables:
Input FHIR Encounter:
{
"resourceType": "Encounter",
"id": "encounter-12345",
"type": [{
"coding": [
{"code": "185349003", "system": "snomed", "display": "Checkup"},
{"code": "38341003", "system": "snomed", "display": "Hypertension"},
{"code": "71620000", "system": "snomed", "display": "Dialysis"}
]
}],
"subject": {"reference": "Patient/patient-67890"},
"period": {
"start": "2023-12-15T10:00:00Z",
"end": "2023-12-15T11:00:00Z"
}
}
Generated Fragments:
🔹 Fragment 1 (Visit Domain):
visit_occurrence encounter-12345 patient-67890 4024660 2023-12-15 2023-12-15T10:00:00 2023-12-15 2023-12-15T11:00:00 44818518 …
Fragment 2 (Condition Domain):
condition_occurrence encounter-12345 patient-67890 320128 2023-12-15 2023-12-15T10:00:00 2023-12-15 2023-12-15T11:00:00 32817 …
Fragment 3 (Procedure Domain):
procedure_occurrence encounter-12345 patient-67890 4301351 2023-12-15 2023-12-15T10:00:00 2023-12-15 2023-12-15T11:00:00 32817 …
Each fragment follows a consistent structure:
This structure enables efficient downstream processing while maintaining full data integrity.
Parallel processing helps overcome the challenges of fragmented data by enabling the simultaneous transformation of independently structured FHIR resources.
Fragment generation enables massive parallelization:
The fragment reducer is where individual fragments are consolidated into final OMOP tables. This stage handles the complex logic of merging related data while resolving conflicts and maintaining referential integrity.
The reduction stage consolidates fragmented data generated across different domains, resolving conflicts and creating unified OMOP-compliant records.
When multiple fragments contribute to the same OMOP record, intelligent conflict resolution ensures data quality:
Fragment A: person_id=123, gender_concept_id=8507, birth_year=NULL
Fragment B: person_id=123, gender_concept_id=NULL, birth_year=1975
Result: person_id=123, gender_concept_id=8507, birth_year=1975
Fragment A: person_id=123, gender_concept_id=8507
Fragment B: person_id=123, gender_concept_id=8532
Result: ERROR – Gender conflict for person 123
All fragments maintain source_value fields for traceability:
condition_source_value=”38341003″ // Original SNOMED code
Fragment processing delivers exceptional performance metrics:
Fragment processing includes comprehensive quality controls:
Production fragment processing requires comprehensive monitoring:
Fragment processing systems require proactive issue management:
Production implementations benefit from advanced optimizations:
Fragment processing continues to evolve:
Fragment processing represents a fundamental advancement in healthcare data transformation, enabling the scale and performance required for modern Epic-to-OMOP pipelines while maintaining the data quality essential for research excellence.
By turning fragmented data from bulk FHIR exports into high-integrity OMOP records, fragment processing lays the foundation for scalable and trustworthy real-world evidence generation.
Fragment processing techniques build upon distributed computing principles adapted for healthcare data, with recognition to Carl Anderson and the FHIR Analytics community for pioneering scalable approaches to clinical data transformation.
Fragment processing is a technique that breaks down complex FHIR resources into smaller, manageable units (fragments), which are independently processed and later merged into OMOP-compliant records. This enables parallelization and high-speed transformation.
Epic bulk exports can contain millions of records. Traditional sequential processing becomes a bottleneck at this scale. Fragment processing allows simultaneous handling of different parts of the data, achieving speeds of over 2000 records/second.
It includes built-in validation checks at each stage—schema compliance, concept validation, conflict resolution, and referential integrity. Errors and inconsistencies are logged and managed intelligently during reduction.
Join Us for Your 24/7 Clinical Knowledge Partner – The AI Companions Webinar on Thursday, 10th July 2025 at 11:00 AM EDT
Register NowWe worked with Mindbowser on a design sprint, and their team did an awesome job. They really helped us shape the look and feel of our web app and gave us a clean, thoughtful design that our build team could...
The team at Mindbowser was highly professional, patient, and collaborative throughout our engagement. They struck the right balance between offering guidance and taking direction, which made the development process smooth. Although our project wasn’t related to healthcare, we clearly benefited...
Founder, Texas Ranch Security
Mindbowser played a crucial role in helping us bring everything together into a unified, cohesive product. Their commitment to industry-standard coding practices made an enormous difference, allowing developers to seamlessly transition in and out of the project without any confusion....
CEO, MarketsAI
I'm thrilled to be partnering with Mindbowser on our journey with TravelRite. The collaboration has been exceptional, and I’m truly grateful for the dedication and expertise the team has brought to the development process. Their commitment to our mission is...
Founder & CEO, TravelRite
The Mindbowser team's professionalism consistently impressed me. Their commitment to quality shone through in every aspect of the project. They truly went the extra mile, ensuring they understood our needs perfectly and were always willing to invest the time to...
CTO, New Day Therapeutics
I collaborated with Mindbowser for several years on a complex SaaS platform project. They took over a partially completed project and successfully transformed it into a fully functional and robust platform. Throughout the entire process, the quality of their work...
President, E.B. Carlson
Mindbowser and team are professional, talented and very responsive. They got us through a challenging situation with our IOT product successfully. They will be our go to dev team going forward.
Founder, Cascada
Amazing team to work with. Very responsive and very skilled in both front and backend engineering. Looking forward to our next project together.
Co-Founder, Emerge
The team is great to work with. Very professional, on task, and efficient.
Founder, PeriopMD
I can not express enough how pleased we are with the whole team. From the first call and meeting, they took our vision and ran with it. Communication was easy and everyone was flexible to our schedule. I’m excited to...
Founder, Seeke
We had very close go live timeline and Mindbowser team got us live a month before.
CEO, BuyNow WorldWide
If you want a team of great developers, I recommend them for the next project.
Founder, Teach Reach
Mindbowser built both iOS and Android apps for Mindworks, that have stood the test of time. 5 years later they still function quite beautifully. Their team always met their objectives and I'm very happy with the end result. Thank you!
Founder, Mindworks
Mindbowser has delivered a much better quality product than our previous tech vendors. Our product is stable and passed Well Architected Framework Review from AWS.
CEO, PurpleAnt
I am happy to share that we got USD 10k in cloud credits courtesy of our friends at Mindbowser. Thank you Pravin and Ayush, this means a lot to us.
CTO, Shortlist
Mindbowser is one of the reasons that our app is successful. These guys have been a great team.
Founder & CEO, MangoMirror
Kudos for all your hard work and diligence on the Telehealth platform project. You made it possible.
CEO, ThriveHealth
Mindbowser helped us build an awesome iOS app to bring balance to people’s lives.
CEO, SMILINGMIND
They were a very responsive team! Extremely easy to communicate and work with!
Founder & CEO, TotTech
We’ve had very little-to-no hiccups at all—it’s been a really pleasurable experience.
Co-Founder, TEAM8s
Mindbowser was very helpful with explaining the development process and started quickly on the project.
Executive Director of Product Development, Innovation Lab
The greatest benefit we got from Mindbowser is the expertise. Their team has developed apps in all different industries with all types of social proofs.
Co-Founder, Vesica
Mindbowser is professional, efficient and thorough.
Consultant, XPRIZE
Very committed, they create beautiful apps and are very benevolent. They have brilliant Ideas.
Founder, S.T.A.R.S of Wellness
Mindbowser was great; they listened to us a lot and helped us hone in on the actual idea of the app. They had put together fantastic wireframes for us.
Co-Founder, Flat Earth
Ayush was responsive and paired me with the best team member possible, to complete my complex vision and project. Could not be happier.
Founder, Child Life On Call
The team from Mindbowser stayed on task, asked the right questions, and completed the required tasks in a timely fashion! Strong work team!
CEO, SDOH2Health LLC
Mindbowser was easy to work with and hit the ground running, immediately feeling like part of our team.
CEO, Stealth Startup
Mindbowser was an excellent partner in developing my fitness app. They were patient, attentive, & understood my business needs. The end product exceeded my expectations. Thrilled to share it globally.
Owner, Phalanx
Mindbowser's expertise in tech, process & mobile development made them our choice for our app. The team was dedicated to the process & delivered high-quality features on time. They also gave valuable industry advice. Highly recommend them for app development...
Co-Founder, Fox&Fork