{ "description": "FHIR Operation to export data from a FHIR server whether or not it is associated with a patient. This supports use cases like backing up a server, or exporting terminology data by restricting the resources returned using the _type parameter. The FHIR server SHALL support invocation of this operation using the [FHIR Asynchronous Request Pattern](http://hl7.org/fhir/R4/async.html)", "_filename": "profiles/Operation-BulkExport.json", "package_name": "ca.infoway.io.ca-csd", "date": null, "system": true, "publisher": "Canada Health Infoway", "instance": false, "name": "BulkDataExport", "type": "false", "experimental": null, "resourceType": "OperationDefinition", "title": "FHIR Bulk Data System Level Export", "package_version": "1.0.0-dft-ballot", "status": "draft", "id": "1b588c8f-cfbe-436f-a64f-82ee28622fa7", "kind": "operation", "url": "http://fhir.infoway-inforoute.ca/io/CA-CSD/OperationDefinition/bulk-export", "code": "export", "version": null, "contact": [ { "name": "Canada Health Infoway", "telecom": [ { "value": "interoperability@infoway-inforoute.ca", "system": "email" } ] } ], "parameter": [ { "max": "1", "min": 0, "use": "in", "name": "_outputFormat", "type": "string", "documentation": "Support is required for a server, optional for a client. The format for the requested Bulk Data files to be generated as per [FHIR Asynchronous Request Pattern](http://hl7.org/fhir/R4/async.html). Defaults to `application/fhir+ndjson`. The server SHALL support [Newline Delimited JSON](http://ndjson.org), but MAY choose to support additional output formats. The server SHALL accept the full content type of `application/fhir+ndjson` as well as the abbreviated representations `application/ndjson` and `ndjson`." }, { "max": "1", "min": 0, "use": "in", "name": "_since", "type": "instant", "documentation": "Support is required for a server, optional for a client. Resources will be included in the response if their state has changed after the supplied time (e.g., if `Resource.meta.lastUpdated` is later than the supplied `_since` time). For resources where the server does not maintain a last updated time, the server MAY include these resources in a response irrespective of the `_since` value supplied by a client." }, { "max": "*", "min": 0, "use": "in", "name": "_type", "type": "string", "documentation": "Support is optional for server and a client.\n\nA string of comma-delimited FHIR resource types.\n\nThe response SHALL be filtered to only include resources of the specified resource types(s).\n\nIf this parameter is omitted, the server SHALL return all supported resources within the scope of the client authorization, though implementations MAY limit the resources returned to specific subsets of FHIR.\n\nA server that is unable to support `_type` SHOULD return an error and FHIR `OperationOutcome` resource so the client can re-submit a request omitting the `_type` parameter. If the client explicitly asks for export of resources that the Bulk Data server doesn't support, or asks for only resource types that are outside the Patient Compartment, the server SHOULD return details via a FHIR `OperationOutcome` resource in an error response to the request. When a `Prefer: handling=lenient` header is included in the request, the server MAY process the request instead of returning an error.\n\nFor example `_type=Observation` could be used to filter a given export response to return only FHIR `Observation` resources." } ] }