smart-on-fhir / cumulus-library

https://docs.smarthealthit.org/cumulus/library/
Apache License 2.0
2 stars 0 forks source link

Support a flat ndjson dir layout as well as a hierarchical one #244

Closed mikix closed 1 month ago

mikix commented 1 month ago

Previously, --load-ndjson-dir would only look for an ETL output-style format like this:

dir/condition/*.ndjson dir/patient/*.ndjson

But now it will also look for flat files as well (i.e. ETL input-style format) like this:

dir/1.Patient.ndjson dir/Patient.october.ndjson dir/Patient.ndjson

This will make it nicer to use the --load-ndjson-dir flow when you are working on ndjson files directly, without going through Cumulus ETL first.

Checklist

mikix commented 1 month ago

I think this needs some documentation tweaks for the public site

Added a new commit to update that page (the only doc page that mentioned --load-ndjson-dir) to basically drop the ETL step entirely.