検索

記事
· 2025年11月20日 5m read

OMOP Odyssey - Vibing Synthea Modules for OMOP

Vibe the Module, Not the Data


While working with the FHIR to OMOP Service, I've seen good FHIR synthetic data being created using commercial LLM's etc, custom tailored for ConditionOnset with the typical amazement on return, but witnessed some questionable trust first hand on a call.  This approach also falls short generating gigantic payloads so I can go back to my interests on the backend and ensure smooth data transition.

So imposters syndrome quickly surfaced after a couple day hiatus at the 2025 OHDSI Collaborator Showcase out in New Brunswick last October, so a new approach to generating data was in order for any possibility to being invited to cocktail parties with these folks, so I leaned into the work of the pros over at Mitre Corporation that brought us Synthea.

I Immediately noticed a module for the complex Sickle Cell Disease did not exist in the modules folder in the Synthea Repo, but have always known I was afforded the opportunity to write one, but this task would be definitely need da ifferent brain that the OHDSI community seems to have in abundance, but I do not.

The Vibe

Not a huge fan of this term, but it fits the distraction for sure with lack of another term... so given that Synthea Modules generate data based on a "ConditionOnset" lets create a Sickle Cell Disease module and generate a 1m population FHIR Bulk Export from it.

{
  "type": "ConditionOnset",
  "target_condition": "sickle cell disease"
}

Prompt #1 - Do My Job for Me

 
Quick Disease Profile for a first-pass SCD module
 
Synthea Module Design

Prompt #2 - Sure

 
Things that May be Weak, Race Incidence and Chronic Complications

The SCD Module

LGTM! The module that was created cited sources from the CDC almost exclusively, but here it is if you want to take a look at it, also visualized with the synthea visualization utility.

🔗 https://github.com/sween/synthea/blob/43325b191185301a668062ed0bb75a2cf1... 


Run

Lets grab the generator, some associated cheat codes, load up our module, and rip the Synthetic Bulk FHIR Export to a zip file.

git clone https://github.com/synthetichealth/synthea
cd synthea

Now, lets steal @Dmitry Zasypkin 's ndjson fixer utility from his repo.  This patches the generated ndjson references for processing.

https://raw.githubusercontent.com/dmitry-zasypkin/synthea-ndjson/refs/heads/main/patch-synthea-ndjsons.sh

Enable bulk fhir in the synthea.properties file.

Also helpful to only care about FHIR Resources relevant to the OMOP CDM

Then drop the generated SCD module in the modules folder.


Now run a -p 1m population synthetic generation for the State of Michigan for SCD

Somewhere in all the terminal noise and cpu fans, you should see that your module was loaded and then off to generate the ndjsons

In just under an hour, we are now run the patch-synthea-ndjsons.sh across the generated data...

And zip it all up to bulk fhir export format...

And here is what it looks like on disk if curious on the sizes

Load

Upload the bulk fhir payload to the S3 bucket

Let the OMOP service do its thing...

Attestation

Although this is generally hand waving to validate the data, lets just see if after transformation if SCD concepts are present in the data.

Now lets see if anybody has Sickle Cell Diseases in the synthetic data.

FAQ

Did you use AI for any of this?

I used my computer.

 Is the data accurate?

Its synthetic.

 Will you get invited to any cocktail parties at the next OHDSI Symposium?

Probably not, this is an oversimplification of complicated observational dataset, but not meant to be offensive.

 Any closing statements?

Just vibing this module, even with the 3 prompts, I gained even further appreciation for the complex challenges the OHDSI community solves with this observational data.

ディスカッション (0)1
続けるにはログインするか新規登録を行ってください
お知らせ
· 2025年11月20日

We Want to Hear Your Feedback on the Latest InterSystems IRIS Release!

Hi Community,

With the General Availability of the 2025.3 release of InterSystems IRIS® data platform, InterSystems IRIS® for Health™, and HealthShare® Health Connect, we are now collecting your ideas for improvement. 

If the new release inspired you or highlighted opportunities to enhance the developer experience, please share your suggestions on the InterSystems Ideas Portal - every idea is reviewed by our product teams and can influence future releases.

💡 Have an idea for improvement?

Submit it to the Ideas Portal - we’d love to hear your thoughts.

🐞 Think you’ve found a bug?

If what you discovered looks more like a defect than an idea, please report them via our standard bug-reporting channels so our teams can investigate it promptly:


Thank you for helping us make our products better with every release. Your feedback truly drives innovation!

ディスカッション (0)1
続けるにはログインするか新規登録を行ってください
お知らせ
· 2025年11月20日

[Video] Documentation Templates and Rules

Hi, Community!

If you need to help providers meet a payer's documentation requirements, see how the Documentation Templates and Rules (DTR) module of the InterSystems Payer Services ePrior Authorization solution can help:

Documentation Templates and Rules

https://www.youtube.com/embed/SKZ_pz6GkUY?utm_source=youtube&utm_medium=social&utm_campaign=SKZ_pz6GkUY
[これは埋め込みリンクですが、あなたはサイト上の埋め込みコンテンツへのアクセスに必要な Cookie を拒否しているため、それを直接表示することはできません。埋め込みコンテンツを表示するには、Cookie 設定ですべての Cookie を受け入れる必要があります。]

ディスカッション (0)1
続けるにはログインするか新規登録を行ってください
お知らせ
· 2025年11月20日

¡Una semana para el webinar! Smart Supply Chain 360: Ver, Decidir, Actuar

¡TAN SOLO UNA SEMANA PARA EL ÚLTIMO WEBINAR DEL AÑO! 🥂

 

Un webinar donde Pierre nos enseñará cómo InterSystems Supply Chain Orchestrator actúa como conector entre sistemas ERP, WMS y TMS sin necesidad de "Rip and Replace". Todo acompañado de un ejemplo práctico en el que un chatbot tiene acceso a todos los datos de supply chain y actúa como asistente a la hora de tomar decisiones. 

Recordamos el link de registro para los despistados.

¡Nos vemos allí!

ディスカッション (0)1
続けるにはログインするか新規登録を行ってください
お知らせ
· 2025年11月20日

Black Friday Week on Global Masters — double points & new fun journey!

Hi Community!

Black Friday is here and this year, it’s all about discovering the best deals on Global Masters! Complete a short set of fun challenges, learn a few new things and collect extra points along the way.

From November 20 to November 30, join our Black Friday adventure: Find your deal on Global Masters.

 
🎯 During this period only:

  • All asks which have a black cover will award double points during this period
  • Inviting new Developer Community members through the Referral Program will also give 2× points when the invitee registers on DC.
  • Everyone who completes the Black Friday journey will enter the raffle for a special prize - Prixton 1080P Matisse Mini Projector! 🎁

Don’t miss your chance! The Black Friday hunt ends November 30.

👉 Join the Black Friday Journey on Global Masters

Not a Global Masters member yet? Join now using your InterSystems SSO credentials (same credentials you use on DC). 
Read more about Global Masters gamification program for developers here.

ディスカッション (0)1
続けるにはログインするか新規登録を行ってください