Upload one batch item
/fhir2omop/batch/{job_id}/itemsStores one item: the body of one POST /fhir2omop/create request, with
vocab_version required.
Upload checks only that fhir_resources is a JSON object and that
vocab_version names a specific release. The FHIR content, and whether
the release exists, are checked when the item is processed: input that
POST /fhir2omop/create would reject with a 400 fails the item with
invalid_input and the same message.
Use request_id for every upload so retries replace the same item.
deduplicated is true only for an unchanged payload; a changed payload
overwrites the item and returns false.
Uploads return 409 after finalization or at the item limit, and 413
when the item is too large.
Path parameters
Body parameters
A FHIR R4 resource or Bundle, the same as fhir_resources on
POST /fhir2omop/create. Must contain at least one Patient
resource for the item to succeed.
OMOP vocabulary release the item maps against, the same setting as
vocab_version on POST /fhir2omop/create. Required here, and it
must name a specific release: an item has no default release.
Optional idempotency token (at most 256 UTF-8 bytes). Re-uploading under the same token overwrites the same item instead of adding a new one. The token is scoped to this job; the same token in another job is independent and creates a separate item.
Optional caller-supplied correlation label (at most 512 UTF-8 bytes), echoed back on status and result listings so you can match the server's item_id to your own record.
Item accepted
Response fields