Skip to main content

fhir_operation_status

Creates, updates, deletes, gets or lists a fhir_operation_status resource.

Overview​

Namefhir_operation_status
TypeResource
Idgoogle.healthcare.fhir_operation_status

Fields​

The following fields are returned by SELECT queries:

NameDatatypeDescription
contentTypestringThe HTTP Content-Type header value specifying the content type of the body.
datastring (byte)The HTTP request/response body as raw binary.
extensionsarrayApplication specific response metadata. Must be set in the first response for streaming APIs.

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get-fhir-operation-statusselectprojectsId, locationsId, datasetsId, fhirStoresId, operationsIdGets the status of operations as defined in the FHIR specification. Implements the FHIR implementation guide bulk data status request. Operations can have one of these states: * in-progress: response status code is 202 and X-Progress header is set to in progress. * complete: response status code is 200 and the body is a JSON-encoded operation response as defined by the spec. For a bulk export, this response is defined in https://build.fhir.org/ig/HL7/bulk-data/export.html#response---complete-status. * error: response status code is 5XX, and the body is a JSON-encoded OperationOutcome resource describing the reason for the error.

Parameters​

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
datasetsIdstring
fhirStoresIdstring
locationsIdstring
operationsIdstring
projectsIdstring

SELECT examples​

Gets the status of operations as defined in the FHIR specification. Implements the FHIR implementation guide bulk data status request. Operations can have one of these states: * in-progress: response status code is 202 and X-Progress header is set to in progress. * complete: response status code is 200 and the body is a JSON-encoded operation response as defined by the spec. For a bulk export, this response is defined in https://build.fhir.org/ig/HL7/bulk-data/export.html#response---complete-status. * error: response status code is 5XX, and the body is a JSON-encoded OperationOutcome resource describing the reason for the error.

SELECT
contentType,
data,
extensions
FROM google.healthcare.fhir_operation_status
WHERE projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
AND datasetsId = '{{ datasetsId }}' -- required
AND fhirStoresId = '{{ fhirStoresId }}' -- required
AND operationsId = '{{ operationsId }}' -- required
;