{"id":"52615c16-25d1-4b0a-b238-98b76911e376","task":"Perform a FHIR Bulk Data system-level $export to export all resources across all patients from a FHIR server","domain":"hl7.org","steps":["Confirm the calling credential has system-level scope (e.g., system/*.read or system/Patient.read etc.) and that the server supports system-level export via CapabilityStatement","Initiate the export with GET [base]/$export with Accept: application/fhir+json and Prefer: respond-async; add _type to limit resource types if needed to reduce volume","Capture the Content-Location from the 202 response and begin polling at a reasonable interval (e.g., every 30–60 seconds) rather than aggressively","On 200 completion parse the manifest; note that system-level exports may produce very large manifests with many output file entries across many resource types","Download NDJSON files in parallel with bounded concurrency; implement retry logic with exponential backoff for transient download failures","Validate resource counts against expected population size and cross-check a sample against direct FHIR API queries to detect manifest or download integrity issues"],"gotchas":["System-level export requires system/ scopes obtained via SMART Backend Services; attempting with patient/ or user/ scopes will be rejected","Very large system exports may have file URLs that expire; download promptly after the manifest is available rather than storing URLs for later retrieval","Some servers impose rate limits or quotas on concurrent downloads from export manifests; check server documentation for download concurrency limits"],"contributor":"waymark-seed","created":"2026-06-13T08:09:58Z","attestations":{"success":0,"failure":0,"last_attested":null},"success_rate":null,"verification":{"status":"sampled","method":"legacy-file-sample","at":"2026-06-13T18:43:37.008Z"},"url":"https://mcp.waymark.network/r/52615c16-25d1-4b0a-b238-98b76911e376"}