Skip to main content

dicom_stores

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

Overview

Namedicom_stores
TypeResource
Idgoogle.healthcare.dicom_stores

Fields

The following fields are returned by SELECT queries:

Successful response

NameDatatypeDescription
namestringIdentifier. Resource name of the DICOM store, of the form projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}.
labelsobjectUser-supplied key-value pairs used to organize DICOM stores. Label keys must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, and must conform to the following PCRE regular expression: \p{Ll}\p{Lo}{0,62} Label values are optional, must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, and must conform to the following PCRE regular expression: [\p{Ll}\p{Lo}\p{N}_-]{0,63} No more than 64 labels can be associated with a given store.
notificationConfigobjectOptional. Notification destination for new DICOM instances. Supplied by the client. (id: NotificationConfig)
notificationConfigsarrayOptional. Specifies where and whether to send notifications upon changes to a DICOM store.
streamConfigsarrayOptional. A list of streaming configs used to configure the destination of streaming exports for every DICOM instance insertion in this DICOM store. After a new config is added to stream_configs, DICOM instance insertions are streamed to the new destination. When a config is removed from stream_configs, the server stops streaming to that destination. Each config must contain a unique destination.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectprojectsId, locationsId, datasetsId, dicomStoresIdGets the specified DICOM store.
listselectprojectsId, locationsId, datasetsIdpageSize, pageToken, filterLists the DICOM stores in the given dataset.
createinsertprojectsId, locationsId, datasetsIddicomStoreIdCreates a new DICOM store within the parent dataset.
patchupdateprojectsId, locationsId, datasetsId, dicomStoresIdupdateMaskUpdates the specified DICOM store.
deletedeleteprojectsId, locationsId, datasetsId, dicomStoresIdDeletes the specified DICOM store and removes all images that are contained within it.
deidentifyexecprojectsId, locationsId, datasetsId, dicomStoresIdDe-identifies data from the source store and writes it to the destination store. The metadata field type is OperationMetadata. If the request is successful, the response field type is DeidentifyDicomStoreSummary. If errors occur, error is set. The LRO result may still be successful if de-identification fails for some DICOM instances. The output DICOM store will not contain these failed resources. Failed resource totals are tracked in Operation.metadata. Error details are also logged to Cloud Logging (see Viewing error logs in Cloud Logging).
set_blob_storage_settingsexecprojectsId, locationsId, datasetsId, dicomStoresIdSetBlobStorageSettings sets the blob storage settings of the specified resources.
importexecprojectsId, locationsId, datasetsId, dicomStoresIdImports data into the DICOM store by copying it from the specified source. Errors are logged to Cloud Logging. For more information, see Viewing error logs in Cloud Logging. The metadata field type is OperationMetadata.
exportexecprojectsId, locationsId, datasetsId, dicomStoresIdExports data to the specified destination by copying it from the DICOM store. Errors are also logged to Cloud Logging. For more information, see Viewing error logs in Cloud Logging. The metadata field type is OperationMetadata.
search_for_studiesexecprojectsId, locationsId, datasetsId, dicomStoresIdSearchForStudies returns a list of matching studies. See [Search Transaction] (http://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.6). For details on the implementation of SearchForStudies, see Search transaction in the Cloud Healthcare API conformance statement. For samples that show how to call SearchForStudies, see Search for DICOM data.
store_instancesexecprojectsId, locationsId, datasetsId, dicomStoresIdStoreInstances stores DICOM instances associated with study instance unique identifiers (SUID). See [Store Transaction] (http://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.5). For details on the implementation of StoreInstances, see Store transaction in the Cloud Healthcare API conformance statement. For samples that show how to call StoreInstances, see Store DICOM data.
search_for_seriesexecprojectsId, locationsId, datasetsId, dicomStoresIdSearchForSeries returns a list of matching series. See [Search Transaction] (http://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.6). For details on the implementation of SearchForSeries, see Search transaction in the Cloud Healthcare API conformance statement. For samples that show how to call SearchForSeries, see Search for DICOM data.
search_for_instancesexecprojectsId, locationsId, datasetsId, dicomStoresIdSearchForInstances returns a list of matching instances. See [Search Transaction] (http://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.6). For details on the implementation of SearchForInstances, see Search transaction in the Cloud Healthcare API conformance statement. For samples that show how to call SearchForInstances, see Search for DICOM data.
retrieve_framesexecprojectsId, locationsId, datasetsId, dicomStoresId, studiesId, seriesId, instancesId, framesIdRetrieveFrames returns instances associated with the given study, series, SOP Instance UID and frame numbers. See [RetrieveTransaction] (http://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.4}. For details on the implementation of RetrieveFrames, see DICOM frames in the Cloud Healthcare API conformance statement. For samples that show how to call RetrieveFrames, see Retrieve DICOM data.
retrieve_renderedexecprojectsId, locationsId, datasetsId, dicomStoresId, studiesId, seriesId, instancesId, framesIdviewportRetrieveRenderedFrames returns instances associated with the given study, series, SOP Instance UID and frame numbers in an acceptable Rendered Media Type. See [RetrieveTransaction] (http://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.4). For details on the implementation of RetrieveRenderedFrames, see Rendered resources in the Cloud Healthcare API conformance statement. For samples that show how to call RetrieveRenderedFrames, see Retrieve consumer image formats.
retrieve_bulkdataexecprojectsId, locationsId, datasetsId, dicomStoresId, studiesId, seriesId, instancesId, bulkdataId, bulkdataId1Returns uncompressed, unencoded bytes representing the referenced bulkdata tag from an instance. See Retrieve Transaction. For details on the implementation of RetrieveBulkdata, see Bulkdata resources in the Cloud Healthcare API conformance statement. For samples that show how to call RetrieveBulkdata, see Retrieve bulkdata.

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
bulkdataIdstring
bulkdataId1string
datasetsIdstring
dicomStoresIdstring
framesIdstring
instancesIdstring
locationsIdstring
projectsIdstring
seriesIdstring
studiesIdstring
dicomStoreIdstring
filterstring
pageSizeinteger (int32)
pageTokenstring
updateMaskstring (google-fieldmask)
viewportstring

SELECT examples

Gets the specified DICOM store.

SELECT
name,
labels,
notificationConfig,
notificationConfigs,
streamConfigs
FROM google.healthcare.dicom_stores
WHERE projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
AND datasetsId = '{{ datasetsId }}' -- required
AND dicomStoresId = '{{ dicomStoresId }}' -- required;

INSERT examples

Creates a new DICOM store within the parent dataset.

INSERT INTO google.healthcare.dicom_stores (
data__name,
data__notificationConfig,
data__labels,
data__streamConfigs,
data__notificationConfigs,
projectsId,
locationsId,
datasetsId,
dicomStoreId
)
SELECT
'{{ name }}',
'{{ notificationConfig }}',
'{{ labels }}',
'{{ streamConfigs }}',
'{{ notificationConfigs }}',
'{{ projectsId }}',
'{{ locationsId }}',
'{{ datasetsId }}',
'{{ dicomStoreId }}'
RETURNING
name,
labels,
notificationConfig,
notificationConfigs,
streamConfigs
;

UPDATE examples

Updates the specified DICOM store.

UPDATE google.healthcare.dicom_stores
SET
data__name = '{{ name }}',
data__notificationConfig = '{{ notificationConfig }}',
data__labels = '{{ labels }}',
data__streamConfigs = '{{ streamConfigs }}',
data__notificationConfigs = '{{ notificationConfigs }}'
WHERE
projectsId = '{{ projectsId }}' --required
AND locationsId = '{{ locationsId }}' --required
AND datasetsId = '{{ datasetsId }}' --required
AND dicomStoresId = '{{ dicomStoresId }}' --required
AND updateMask = '{{ updateMask}}'
RETURNING
name,
labels,
notificationConfig,
notificationConfigs,
streamConfigs;

DELETE examples

Deletes the specified DICOM store and removes all images that are contained within it.

DELETE FROM google.healthcare.dicom_stores
WHERE projectsId = '{{ projectsId }}' --required
AND locationsId = '{{ locationsId }}' --required
AND datasetsId = '{{ datasetsId }}' --required
AND dicomStoresId = '{{ dicomStoresId }}' --required;

Lifecycle Methods

De-identifies data from the source store and writes it to the destination store. The metadata field type is OperationMetadata. If the request is successful, the response field type is DeidentifyDicomStoreSummary. If errors occur, error is set. The LRO result may still be successful if de-identification fails for some DICOM instances. The output DICOM store will not contain these failed resources. Failed resource totals are tracked in Operation.metadata. Error details are also logged to Cloud Logging (see Viewing error logs in Cloud Logging).

EXEC google.healthcare.dicom_stores.deidentify 
@projectsId='{{ projectsId }}' --required,
@locationsId='{{ locationsId }}' --required,
@datasetsId='{{ datasetsId }}' --required,
@dicomStoresId='{{ dicomStoresId }}' --required
@@json=
'{
"destinationStore": "{{ destinationStore }}",
"config": "{{ config }}",
"gcsConfigUri": "{{ gcsConfigUri }}",
"filterConfig": "{{ filterConfig }}"
}';