This will ignore any encounter rows that haven't yet loaded all the resources we care about.
This completion tracking is opt-in and won't affect legacy data. We include any encounters which don't have a completion group registration.
In addition:
Add --load-ndjson-dir to the generate-sql command.
The core study now builds core__incomplete_encounters holding just the encounter IDs of ignored encounters that were deemed incomplete. This is not referenced by other tables - it's just a debugging tool.
This PR does not need to land until completion tracking in the ETL is done. (Though it's fully backwards-compatible and can land now. Any non-tracked encounters will be allowed through.)
I'm not adding any user docs in this PR - I feel like largely, the user instructions will be for the ETL side of things - how to load data in a way that will work for completion tracking. Seem right?
This will ignore any encounter rows that haven't yet loaded all the resources we care about.
This completion tracking is opt-in and won't affect legacy data. We include any encounters which don't have a completion group registration.
In addition:
This PR does not need to land until completion tracking in the ETL is done. (Though it's fully backwards-compatible and can land now. Any non-tracked encounters will be allowed through.)
I'm not adding any user docs in this PR - I feel like largely, the user instructions will be for the ETL side of things - how to load data in a way that will work for completion tracking. Seem right?
This PR is the main Library-side piece of https://github.com/smart-on-fhir/cumulus-etl/issues/296 (ETL-side here)
Checklist
docs/
) needs to be updated