Open josephjclark opened 4 weeks ago
CC @aleksa-krolls - I've almost finished the first step
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
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
tools
to create a generic fhir geneation servicefhr-ndr-et
with the new tooling. There should be no diffs insrc
(there will be diffs tobuild
(which goes) andpackage.json
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:
const result = builders.patient('patient', {}); expect(result).to.be.truthy