-
Notifications
You must be signed in to change notification settings - Fork 157
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Patient Export Results in duplicate data included in the Write. #2058
Comments
- Empty DTOs cause the write to skip - PatientResourceHandler has confusing logic, and skips the resource write. References in Patient Export are not honored #2059 - We extract IDs, and should use the relative reference when searching. Signed-off-by: Paul Bastide <pbastide@us.ibm.com>
Added Integration Test to verify that only a single resource type is written to a file. Signed-off-by: Paul Bastide <pbastide@us.ibm.com>
I wonder if its worth opening a separate issue for generating a better query for this one. For example, we might be able to get rid of this code in
One thing that might make this difficult is that, under normal operation, a patient compartment search is only ever scoped to a single patient (whereas here we have a list of patients). A couple ideas: If we're able to do B, this would also help us to support |
verified this is now working correctly on the export. |
Describe the bug
Patient Export Results in duplicate data included in the Write.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
From https://hl7.org/fhir/uv/bulkdata/export/index.html#response---complete-status:
Each file SHALL contain resources of only one type, but a server MAY create more than one file for each resource type returned.
Our intent is to include only the Resources in the file. Except Attachments and DocumentReferences.
Additional context
n/a
The text was updated successfully, but these errors were encountered: