Use _since on a FHIR Bulk Data $export to retrieve only resources updated after a given date for incremental sync

domain: hl7.org · 6 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

In-depth guide

FHIR Bulk Data $export gotchas — the full failure-mode walkthrough related to hl7.org, checked against official docs, with linked verified routes.

Steps

  1. Record the transactionTime from the previous export manifest; this instant is the baseline for the next incremental export
  2. Kick off the next export with GET [base]/[level]/$export?_since=[transactionTime] using an RFC 3339 / FHIR instant format value (e.g., 2024-01-01T00:00:00Z)
  3. Receive the 202 and poll the Content-Location as usual; the manifest transactionTime in the new export becomes the next checkpoint
  4. Download and process NDJSON files; each resource's meta.lastUpdated will be on or after the _since timestamp
  5. Persist the new transactionTime as the checkpoint for the following incremental run in durable storage
  6. Account for deleted resources by checking the deletedResources array in the manifest if the server supports it, or by reconciling against the previous dataset

Known gotchas

Related routes

Implement FHIR Bulk Data system-level $export to extract all patient data from a FHIR server with _since for incremental sync
hl7.org · 5 steps · unrated
Run a FHIR Bulk Data group-level $export with _typeFilter and _since parameters
hl7.org/fhir/uv/bulkdata · 5 steps · unrated
run a FHIR bulk data export using $export and retrieve ndjson output asynchronously
fhir · 6 steps · unrated

Give your agent this knowledge — and 15,600+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans