Nueva publicación

Encontrar

Artículo
· 13 hr atrás Lectura de 7 min

OMOP Odyssey - GCP Healthcare API Real Time FHIR® to OMOP Transformation ( RealTymus )

Real Time FHIR® to OMOP Transformation

This part of the OMOP Journey,  we reflect before attempting to challenge Scylla on how fortunate we are that InterSystems OMOP transform is built on the Bulk FHIR Export as the source payload.  This opens up hands off interoperability with the InterSystems OMOP transform across several FHIR® vendors, this time with the Google Cloud Healthcare API.

Google Cloud Healthcare API FHIR® Export

GCP FHIR® Datastores support bulk fhir import/export from the cli or api, the premise is simple and the docs are over exhaustive, we'll save a model the trouble of training on it again and link it if interested.  The more valuable thing to understand of the heading of this paragraph is the implementation of the bulk fhir export standard itself.

Important differentiators with Google's implementation of the FHIR® Export are namely, Resource Change Notification via Pub/Sub and the ability to specify incremental exports.

Real Time? ⏲

Yes! Ill die on this sword I guess.  Its not only my rap handle, but the mechanics are definitely there to back a good technical argument to be able to say...

"As a new Organization gets created to FHIR, we transform it, and add it to the InterSystems OMOP CDM in the same stroke as a care_site/location."

Walkthrough

Trying to make this short and to the point and encapsulates how a pub/sub notification coupled with a cloud function can glue these two solutions together and automate your OMOP ingestion at a granular level.

Step One: Wire Up InterSystems OMOP to AWS Bucket

This step is becoming a repetitive in posts in this community, so I will go warp speed through the steps.

  • Procure AWS S3 Bucket
  • Launch InterSystems OMOP, Add Bucket Configuration
  • Eject Policy from InterSystems OMOP Deployment
  • Apply Policy to the AWS S3 Bucket

 

I dunno, the steps and image seemed to work out better in my head, but maybe not.  Here are the docs and here is a more in depth way to get this taken care of in this series with better examples.

Step Two: Add Pub/Sub Target in Google Cloud Healthcare API

As mentioned previous, a foundational piece to making this work is the super great feature that notifies on Resource changes in the data store.  You will find this option on setup in the dialog and is also available post configuration.  I typically like to check both options to have as much data in the notification as possible to play with.  For instance with Deletes, you can include the deleted resource in the notification as well, really great for EMPI solutions.

 

Step Three: Cloud Function ⭐

The cloud function puts in the work, and the SOW for that looks a little bit like this.

Listen for FHIR resource change pub/sub notifications of type Organization on the create method, and export the data store incrementally from the time the event fired.  Since the export function only supports a GCS target, read in the created export and create fhir export zip file that zips the ndjson files into the root of the zip file and push the created zip file to an aws bucket. 

Re-stating the second feature that makes this especially great, is the ability to export from an specific date and time, meaning we do not need to export the entire dataset.  For this we will use the time we received the event, tack a minute or so on it, in hopes the export, import and transform steps will be smaller and of course, more timely.

 
realtimefhir2omop.py

Step Four: What is Happening right now? 🔥

To split what is going on, lets inspect the real time processing with some screenshots at each point.

FHIR Organization Created

Pub/Sub Event is Published

 
Pub/Sub FHIR Event

Cloud Function Receives Resource Event from Subscription

Cloud Function Exports the FHIR Store GCS

Cloud Function Creates ZIP from GCS and Pushes to AWS

InterSystems OMOP Transforms FHIR to OMOP

Organization Available as Care Site in CDM

When did that FHIR Resource get transformed to the CDM ?

YARN | Now. You're looking at now. Everything that happens now is happening  now. | Spaceballs (1987) | Video gifs by quotes | 1606b976 | 紗

Step Four: Validation Fun ✔

Fun with OBS and Not so Much fun with Audio


 

In Conclusion
 

Did something similar last year at MIT Grand Hack, using the same design pattern, but with Questionairre/Response resource and Gemini in the middle of things.

Gemini FHIR Agent MIT Grand Hack

Comentarios (0)1
Inicie sesión o regístrese para continuar
Anuncio
· 16 hr atrás

L'examen InterSystems IRIS Development Professional est désormais disponible !

Bonjour à tous,

L'équipe Certification d'InterSystems Learning Services est heureuse d'annoncer la sortie de notre nouvel examen InterSystems IRIS Development Professional. Il est désormais disponible à l'achat et à la réservation dans le catalogue d'examens InterSystems. Les candidats potentiels peuvent consulter les sujets d'examen et les questions d'entraînement pour se familiariser avec les approches et le contenu de l'examen. Les candidats ayant réussi l'examen recevront un badge de certification numérique à partager sur les réseaux sociaux comme LinkedIn. Si vous débutez avec la certification InterSystems, veuillez consulter les pages de notre programme qui incluent des informations sur les examens, les règles d'examen, la FAQ et bien plus encore.

Si vous avez des idées pour créer de nouvelles certifications susceptibles de vous aider à faire progresser votre carrière, l'équipe Certification d'InterSystems Learning Services est toujours à l'écoute de vos suggestions. N'hésitez pas à nous contacter à l'adresse certification@intersystems.com pour nous faire part de vos idées.

Au plaisir de célébrer votre réussite,
@Celeste Canzano - Spécialiste des opérations de certification, InterSystems

Comentarios (0)1
Inicie sesión o regístrese para continuar
Artículo
· 18 hr atrás Lectura de 9 min

DB.Changelog: SQL トリガーと CodeMode = objectgenerator を使ってデータベースの変更を追跡する

お客様のプロジェクトにおいて、どのようにすればいつ何時に誰がデータベースを変更したかを追跡できるか問われました。 SQL とオブジェクトへの両方のアクセスで Insert、Update、および Delete を追跡することが目的です。

以下は、変更ログを維持するために作成したテーブルです。

Comentarios (0)1
Inicie sesión o regístrese para continuar
Comentarios (2)2
Inicie sesión o regístrese para continuar
Pregunta
· 13 mayo, 2025

KEYCHEINX CRYPTO / BITCOIN RECOVERY IS REAL!!!

KeycheinX cryptocurrency recovery, is the company for the job!!

This man is dedicated to his work and you can trust him more than yourself. I contacted him December last year 2024 and he didn’t succeed. when i got ripped of $491,000 worth of bitcoins by scammers, I tried several recovery programs with no success too. I kept on. And now after so much time KeycheinX recovery company contacted me February 18th this year 2025 with a success, and the reward he took was small because obviously he is doing this because he wants to help idiots like me who fell for crypto scam, and I love his job. Of course he could have taken all the coins and not tell me, I was not syncing this wallet for 2 good months, but he didn’t. He is the MAN guys, He is! If you have been a victim of crypto scam you can trust KEYCHEINX 1,000000%. I thought there were no such good genuine guys anymore on earth, but KeycheinX brought my trust to humanity again. Thank you sir…you can reach him via email or Telegram.

Mail: KeycheinX@mail.com

Telegram: + 1(415)727-9880

Comentarios (0)1
Inicie sesión o regístrese para continuar