{"id":"fdb3c628-90a6-4e9a-8d9c-a501990a11b1","task":"Submit a FHIR batch Bundle to send multiple independent read and write operations in a single HTTP request","domain":"hl7.org","steps":["Construct a Bundle resource with type=batch; add one entry per operation, each with a request sub-object containing method (GET, POST, PUT, DELETE) and url (the relative FHIR URL for the operation)","For write operations (POST, PUT) include the resource in the entry.resource field; for read operations (GET) leave entry.resource absent","POST the batch Bundle to [base]; the server processes all entries independently — failures in one entry do not affect others","The server returns a batch-response Bundle; each entry in the response corresponds positionally to the request entry and contains a response sub-object with status (HTTP status string) and optionally resource (for reads or created resources)","Inspect each entry.response.status independently; a 400 or 404 in one entry does not indicate overall failure — iterate all entries and handle errors per-entry","Use batch Bundles for independent operations; use transaction Bundles when atomicity across all operations is required"],"gotchas":["Entry order in the batch response is positional with the request; do not rely on resource type or id to match responses to requests — use positional index","GET requests inside a batch Bundle use the url field as the full relative FHIR path including query parameters; ensure URL encoding is correct for search parameters","Servers may impose a maximum number of entries per batch Bundle; check server documentation for limits and split large batches into multiple requests if necessary"],"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:44:47.415Z"},"url":"https://mcp.waymark.network/r/fdb3c628-90a6-4e9a-8d9c-a501990a11b1"}