LinuxForHealth / health-patterns

A collection of documentation and reference implementations that highlight how to combine various technologies into meaningful patterns for healthcare
https://alvearie.io/health-patterns/
Apache License 2.0
23 stars 22 forks source link

DEID bundle not enriched #323

Open rguderian opened 2 years ago

rguderian commented 2 years ago

This may be working as designed, and I should have noticed it earlier.

When I use data enrichment such as Terminology services along with requesting DEID, I notice that the submitted bundle is DEID without any data enrichment.

I am documenting this condition here so I do not forget about it over the long weekend.

ranum commented 2 years ago

Sorry to jump in where I'm not invited but I think this is working as designed. The enrichment steps are nlp, deid, term, and ascvd in that order. But the bundle that is deid'ed goes to the secondary fhir server and is persisted while the original bundle continues on to the next two steps. So, term and ascvd will never appear in the deid data.

ibmatc commented 2 years ago

As David mentioned, this is working as currently designed. The order of enhancement allows deid to process the fhir bundle before any other enhancements occur. The order can be adjusted by editing the nifi flow, but by default this will not allow deid to operate on ascvd/term/nlp insights/etc.

I will leave this open as a future possible consideration