dicom_stores
Creates, updates, deletes, gets or lists a dicom_stores
resource.
Overview
Name | dicom_stores |
Type | Resource |
Id | google.healthcare.dicom_stores |
Fields
Name | Datatype | Description |
---|---|---|
name | string | Identifier. Resource name of the DICOM store, of the form projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id} . |
labels | object | User-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. |
notificationConfig | object | Specifies where to send notifications upon changes to a data store. |
streamConfigs | array | Optional. 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
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | datasetsId, dicomStoresId, locationsId, projectsId | Gets the specified DICOM store. |
list | SELECT | datasetsId, locationsId, projectsId | Lists the DICOM stores in the given dataset. |
create | INSERT | datasetsId, locationsId, projectsId | Creates a new DICOM store within the parent dataset. |
delete | DELETE | datasetsId, dicomStoresId, locationsId, projectsId | Deletes the specified DICOM store and removes all images that are contained within it. |
patch | UPDATE | datasetsId, dicomStoresId, locationsId, projectsId | Updates the specified DICOM store. |
deidentify | EXEC | datasetsId, dicomStoresId, locationsId, projectsId | 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). |
export | EXEC | datasetsId, dicomStoresId, locationsId, projectsId | Exports 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. |
import | EXEC | datasetsId, dicomStoresId, locationsId, projectsId | Imports 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. |
search_for_instances | EXEC | datasetsId, dicomStoresId, locationsId, projectsId | SearchForInstances 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. |
search_for_series | EXEC | datasetsId, dicomStoresId, locationsId, projectsId | SearchForSeries 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_studies | EXEC | datasetsId, dicomStoresId, locationsId, projectsId | SearchForStudies 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. |
set_blob_storage_settings | EXEC | datasetsId, dicomStoresId, locationsId, projectsId | SetBlobStorageSettings sets the blob storage settings of the specified resources. |
store_instances | EXEC | datasetsId, dicomStoresId, locationsId, projectsId | StoreInstances 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. |
SELECT
examples
Lists the DICOM stores in the given dataset.
SELECT
name,
labels,
notificationConfig,
streamConfigs
FROM google.healthcare.dicom_stores
WHERE datasetsId = '{{ datasetsId }}'
AND locationsId = '{{ locationsId }}'
AND projectsId = '{{ projectsId }}';
INSERT
example
Use the following StackQL query and manifest file to create a new dicom_stores
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO google.healthcare.dicom_stores (
datasetsId,
locationsId,
projectsId,
name,
notificationConfig,
labels,
streamConfigs
)
SELECT
'{{ datasetsId }}',
'{{ locationsId }}',
'{{ projectsId }}',
'{{ name }}',
'{{ notificationConfig }}',
'{{ labels }}',
'{{ streamConfigs }}'
;
- name: your_resource_model_name
props:
- name: name
value: string
- name: notificationConfig
value:
- name: pubsubTopic
value: string
- name: sendForBulkImport
value: boolean
- name: labels
value: object
- name: streamConfigs
value:
- - name: bigqueryDestination
value:
- name: tableUri
value: string
- name: force
value: boolean
- name: writeDisposition
value: string
UPDATE
example
Updates a dicom_stores
resource.
/*+ update */
UPDATE google.healthcare.dicom_stores
SET
name = '{{ name }}',
notificationConfig = '{{ notificationConfig }}',
labels = '{{ labels }}',
streamConfigs = '{{ streamConfigs }}'
WHERE
datasetsId = '{{ datasetsId }}'
AND dicomStoresId = '{{ dicomStoresId }}'
AND locationsId = '{{ locationsId }}'
AND projectsId = '{{ projectsId }}';
DELETE
example
Deletes the specified dicom_stores
resource.
/*+ delete */
DELETE FROM google.healthcare.dicom_stores
WHERE datasetsId = '{{ datasetsId }}'
AND dicomStoresId = '{{ dicomStoresId }}'
AND locationsId = '{{ locationsId }}'
AND projectsId = '{{ projectsId }}';