Bulk Data Access IG
4.0.0 - STU 4 International flag

Bulk Data Access IG, published by HL7 International / FHIR Infrastructure. This guide is not an authorized publication; it is the continuous build for version 4.0.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/bulk-data/ and changes regularly. See the Directory of published versions

OperationDefinition: Bulk Submit Operation Definition

Official URL: http://hl7.org/fhir/uv/bulkdata/OperationDefinition/bulk-submit Version: 4.0.0
Standards status: Trial-use Maturity Level: 2 Computable Name: BulkSubmit
Other Identifiers: OID:2.16.840.1.113883.4.642.40.74.33.4

FHIR Operation through which an authenticated and authorized Data Provider submits Bulk FHIR Data to a Data Consumer and receives status information regarding the Data Consumer's receipt and processing of the data. The Data Provider provides one or more manifest URLs pointing to pre-coordinated FHIR data sets, along with metadata needed for the Data Consumer to retrieve and process the files.

Language: en

URL: [base]/$bulk-submit

Parameters

UseNameScopeCardinalityTypeBindingDocumentation
INsubmitter1..1Identifier

The submitter SHALL match a system and value specified by the Data Consumer (coordinated out-of-band or in an implementation guide specific to a use case).

INsubmissionId1..1string

The value SHALL be unique for the submitter.

INsubmissionStatus0..1CodingSubmission Status Value Set (Required)

System of http://hl7.org/fhir/event-status, code of in-progress (default if parameter is omitted), completed or stopped. Once a request has been submitted with a submissionStatus of stopped or completed, additional requests SHALL NOT be submitted for that submitter and submissionId combination. At least one of the submissionStatus and manifestUrl parameters SHALL be populated.

INmanifestUrl0..1url

Url pointing to a Bulk Data Manifest with a pre-coordinated FHIR data set. Files in multiple submitted manifests with the same submitter and submissionId SHALL be treated by the Data Consumer as if they were submitted in a single manifest. This parameter MAY be omitted when the operation is being called to set the submissionStatus to completed or stopped, or to remove a previously submitted manifest using replacesManifestUrl. The value SHALL be unique for all manifests that share a submitter and submissionId combination. At least one of the submissionStatus and manifestUrl parameters SHALL be populated. When this parameter is populated, the fhirBaseUrl parameter SHALL also be populated.

INreplacesManifestUrl0..1url

The url of a previously submitted manifest that has the same submissionId and submitter as this request. When provided, the Data Consumer SHALL discard the data from the referenced manifest and, when manifestUrl is also populated, replace it with the data in that manifest. If the url is invalid or the Data Consumer is unable to replace the data, it SHALL return an error response as described in Response - Error.

INoutputFormat0..1string

The format for the Bulk Data files in the manifest. The MIME-type MAY include a MIME-type parameter of fhirVersion as described in the FHIR specification to indicate which version of FHIR the resources in the Bulk Data files are based on. A Data Consumer that does not support the indicated fhirVersion SHOULD reject the request with an HTTP 4XX status and an OperationOutcome. When outputFormat is omitted, it defaults to application/fhir+ndjson (Newline Delimited JSON). When the fhirVersion MIME-type parameter is omitted, the FHIR version SHALL be pre-coordinated between the Data Provider and Data Consumer. All of the resources in a submission SHALL use the same version of FHIR.

INfhirBaseUrl0..1url

Base URL to be used by the Data Consumer when resolving relative references in the submitted resources. The URL does not need to identify an operational FHIR REST endpoint or be dereferenceable by the Data Consumer. When the manifestUrl parameter is populated, this parameter SHALL be populated.

INfileRequestHeader0..*

HTTP headers that the Data Consumer SHALL use when requesting the OAuth metadata, the manifest(s), and the files they reference.

INfileRequestHeader.headerName1..1string
INfileRequestHeader.headerValue1..1string
INoauthMetadataUrl0..1url

Location that a Data Consumer can use to obtain the information needed to retrieve files protected using OAuth 2.0. The url SHALL be the path to a FHIR Authorization Endpoint and Capabilities Discovery file or another OAuth 2.0 Protected Resource Metadata file that is registered in the IANA Well-Known URIs Registry.

INmetadata0..*

Pre-coordinated data relevant to the submission, passed from the Data Provider to the Data Consumer. Each metadata parameter contains a parameterUrl part with an absolute URL identifying the metadata item and a parameterValue part with its value. This parameter MAY be repeated. Specific parameterUrl values are defined in implementation guides for particular use cases.

INmetadata.parameterUrl1..1uri

An absolute URL identifying this metadata parameter.

INmetadata.parameterValue1..1string

The value for this metadata parameter.

INimport0..*

Pre-coordinated options relevant to how the data will be processed, passed from the Data Provider to the Data Consumer. For example, a Data Consumer might allow the Data Provider to specify whether or not existing data should be replaced with the data in the submission. Each import parameter contains a parameterUrl part with an absolute URL identifying the option and a parameterValue part with its value. This parameter MAY be repeated. Specific parameterUrl values are defined in implementation guides for particular use cases.

INimport.parameterUrl1..1uri

An absolute URL identifying this import parameter.

INimport.parameterValue1..1string

The value for this import parameter.