Skip to content

Conversation

@johngrimes
Copy link
Member

@johngrimes johngrimes commented Jan 15, 2026

Implements the _until query parameter as specified in the Bulk Data Access v3 specification. This parameter filters resources to include only those modified before a specified timestamp, complementing the existing _since parameter.

Changes

  • Add _until field to BulkExportRequest with serialisation for GET (URL) and POST (Parameters body) requests
  • Add until field to BulkExportClient builder
  • Update README with v3 feature documentation and usage example
  • Fix flaky testExportFailsTimeOutInDownload test by adjusting timing margins

Implements the _until query parameter as specified in the Bulk Data
Access v3 specification. This parameter filters resources to include
only those modified before a specified timestamp, complementing the
existing _since parameter.
Increased file download delays from 2s to 10s and timeout from 3s to 5s.
This eliminates the race condition where downloads could complete before
the timeout check fired, causing intermittent test failures.
@johngrimes johngrimes changed the title Add _until parameter support for FHIR Bulk Data v3 Add _until parameter support Jan 15, 2026
@johngrimes johngrimes marked this pull request as ready for review January 15, 2026 21:02
@johngrimes johngrimes requested a review from piotrszul January 15, 2026 21:02
Copy link
Collaborator

@piotrszul piotrszul left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me!

@johngrimes johngrimes merged commit 844678d into main Jan 16, 2026
3 checks passed
@johngrimes johngrimes deleted the issue/until-parameter branch January 16, 2026 01:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants