OpenFn / adaptors

The new home for OpenFn adaptors; re-usable connectors for the most common DPGs and DPI building blocks.
GNU General Public License v3.0
7 stars 8 forks source link

Epic: Fhir Adaptor Generation #798

Open josephjclark opened 4 weeks ago

josephjclark commented 4 weeks ago

I may or may not break this down into smaller issues, but here's what needs to be done with the fhir adaptor auto-generation

At this point we have a generic fhir adaptor generation command which can work from any spec bundle (the thing linked from the jembi IG - I'm not sure yet precisely what this bundle is called).

Next steps then are all about improving this generation for better quality, more flexible adaptor generation, from more input sources

These steps I expect to spin out into separate issues:

josephjclark commented 4 weeks ago

CC @aleksa-krolls - I've almost finished the first step

josephjclark commented 4 weeks ago

One annoying thing here is that the order of generated code is changing as a result of these changes. Simply because we iterate through the generated spec in a slightly different way.

I think I'll raise small PR against main which sorts keys in fhir-jembi-et but otherwise makes no changes, and release a patch. This shouldn't affect anything in our proof of concept (worth testing!), but will allow me to make a better diff against the generated source.

EDIT: This is done in #802