You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
title: Deploy DICOM service using the Azure portal - Azure Health Data Services
3
-
description: This article describes how to deploy DICOM service in the Azure portal.
2
+
title: Deploy the DICOM service by using the Azure portal - Azure Health Data Services
3
+
description: This article describes how to deploy the DICOM service in the Azure portal.
4
4
author: mmitrik
5
5
ms.service: healthcare-apis
6
6
ms.topic: how-to
@@ -11,54 +11,49 @@ ms.custom: mode-api
11
11
12
12
# Deploy the DICOM service
13
13
14
-
In this quickstart, you'll learn how to deploy the DICOM® service using the Azure portal.
14
+
In this quickstart, you learn how to deploy the DICOM® service by using the Azure portal.
15
15
16
-
Once deployment is complete, you can use the Azure portal to navigate to the newly created DICOM service to see the details including your service URL. The service URL to access your DICOM service will be: ```https://<workspacename-dicomservicename>.dicom.azurehealthcareapis.com```. Make sure to specify the version as part of the url when making requests. More information can be found in the [API Versioning for DICOM service documentation](api-versioning-dicom-service.md).
16
+
After deployment is finished, you can use the Azure portal to go to the newly created DICOM service to see the details, including your service URL. The service URL to access your DICOM service is ```https://<workspacename-dicomservicename>.dicom.azurehealthcareapis.com```. Make sure to specify the version as part of the URL when you make requests. For more information, see [API versioning for the DICOM service](api-versioning-dicom-service.md).
17
17
18
18
## Prerequisites
19
19
20
20
To deploy the DICOM service, you need a workspace created in the Azure portal. For more information, see [Deploy a workspace in the Azure portal](../healthcare-apis-quickstart.md).
21
21
22
-
## Deploying DICOM service
22
+
## Deploy the DICOM service
23
23
24
24
1. On the **Resource group** page of the Azure portal, select the name of your **Azure Health Data Services workspace**.
25
25
26
-
[](media/select-workspace-resource-group.png#lightbox)
26
+
[](media/select-workspace-resource-group.png#lightbox)
27
27
28
-
2. Select **Deploy DICOM service**.
28
+
1. Select **Deploy DICOM service**.
29
29
30
-
[](media/workspace-deploy-dicom-services.png#lightbox)
30
+
[](media/workspace-deploy-dicom-services.png#lightbox)
31
31
32
+
1. Select **Add DICOM service**.
32
33
33
-
3. Select **Add DICOM service**.
34
+
[](media/add-dicom-service.png#lightbox)
34
35
35
-
[](media/add-dicom-service.png#lightbox)
36
+
1. Enter a name for the DICOM service, and then select **Review + create**.
36
37
38
+
[](media/enter-dicom-service-name.png#lightbox)
37
39
38
-
4. Enter a name for DICOM service, and then select **Review + create**.
40
+
1. (Optional) Select **Next: Tags**.
39
41
40
-
[](media/enter-dicom-service-name.png#lightbox)
42
+
Tags are name/value pairs used for categorizing resources. For more information about tags, see [Use tags to organize your Azure resources and management hierarchy](../../azure-resource-manager/management/tag-resources.md).
41
43
44
+
1. When you notice the green validation check mark, select **Create** to deploy the DICOM service.
42
45
43
-
(**Optional**) Select **Next: Tags >**.
46
+
1. After the deployment process is finished, select **Go to resource**.
44
47
45
-
Tags are name/value pairs used for categorizing resources. For information about tags, see [Use tags to organize your Azure resources and management hierarchy](../../azure-resource-manager/management/tag-resources.md).
48
+
[](media/go-to-resource.png#lightbox)
46
49
47
-
5. When you notice the green validation check mark, select **Create** to deploy DICOM service.
48
-
49
-
6. When the deployment process completes, select **Go to resource**.
50
-
51
-
[](media/go-to-resource.png#lightbox)
52
-
53
-
The result of the newly deployed DICOM service is shown below.
54
-
55
-
[](media/results-deployed-dicom-service.png#lightbox)
50
+
The result of the newly deployed DICOM service is shown here.
56
51
52
+
[](media/results-deployed-dicom-service.png#lightbox)
57
53
58
54
## Next steps
59
55
60
-
[Assign roles for the DICOM service](../configure-azure-rbac.md#assign-roles-for-the-dicom-service)
61
-
62
-
[Use DICOMweb Standard APIs with DICOM services](dicomweb-standard-apis-with-dicom-services.md)
56
+
*[Assign roles for the DICOM service](../configure-azure-rbac.md#assign-roles-for-the-dicom-service)
57
+
*[Use DICOMweb Standard APIs with DICOM services](dicomweb-standard-apis-with-dicom-services.md)
Copy file name to clipboardExpand all lines: articles/healthcare-apis/dicom/export-dicom-files.md
+45-41Lines changed: 45 additions & 41 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
---
2
-
title: Export DICOM files using the export API of the DICOM service
3
-
description: This how-to guide explains how to export DICOM files to an Azure Blob Storage account
2
+
title: Export DICOM files by using the export API of the DICOM service
3
+
description: This how-to guide explains how to export DICOM files to an Azure Blob Storage account.
4
4
author: mmitrik
5
5
ms.service: healthcare-apis
6
6
ms.subservice: fhir
@@ -9,63 +9,63 @@ ms.date: 10/14/2022
9
9
ms.author: mmitrik
10
10
---
11
11
12
-
# Export DICOM Files
12
+
# Export DICOM files
13
13
14
-
The DICOM service provides the ability to easily export DICOM data in a file format, simplifying the process of using medical imaging in external workflows, such as AI and machine learning. DICOM studies, series, and instances can be exported in bulk to an [Azure Blob Storage account](../../storage/blobs/storage-blobs-introduction.md) using the export API. DICOM data that is exported to a storage account will be exported as a `.dcm` file in a folder structure that organizes instances by `StudyInstanceID` and `SeriesInstanceID`.
14
+
The DICOM® service provides the ability to easily export DICOM data in a file format. The service simplifies the process of using medical imaging in external workflows, such as AI and machine learning. You can use the export API to export DICOM studies, series, and instances in bulk to an [Azure Blob Storage account](../../storage/blobs/storage-blobs-introduction.md). DICOM data that's exported to a storage account is exported as a `.dcm` file in a folder structure that organizes instances by `StudyInstanceID` and `SeriesInstanceID`.
15
15
16
-
There are three steps to exporting data from the DICOM service:
16
+
There are three steps to exporting data from the DICOM service:
17
17
18
-
- Enable a systemassigned managed identity for the DICOM service.
19
-
- Configure a new or existing storage account and give permission to the system managed identity.
18
+
- Enable a system-assigned managed identity for the DICOM service.
19
+
- Configure a new or existing storage account and give permission to the system-assigned managed identity.
20
20
- Use the export API to create a new export job to export the data.
21
21
22
22
## Enable managed identity for the DICOM service
23
23
24
-
The first step to export data from the DICOM service is to enable a system managed identity. This managed identity is used to authenticate the DICOM service and give permission to the storage account used as the destination for export. For more information about managed identities in Azure, see [About managed identities for Azure resources](../../active-directory/managed-identities-azure-resources/overview.md).
24
+
The first step to export data from the DICOM service is to enable a system-assigned managed identity. This managed identity is used to authenticate the DICOM service and give permission to the storage account used as the destination for export. For more information about managed identities in Azure, see [About managed identities for Azure resources](../../active-directory/managed-identities-azure-resources/overview.md).
25
25
26
26
1. In the Azure portal, browse to the DICOM service that you want to export from and select **Identity**.
27
27
28
-
:::image type="content" source="media/dicom-export-identity.png" alt-text="Screenshot showing selection of Identity view." lightbox="media/dicom-export-identity.png":::
28
+
:::image type="content" source="media/dicom-export-identity.png" alt-text="Screenshot that shows selection of Identity view." lightbox="media/dicom-export-identity.png":::
29
29
30
-
2. Set the **Status** option to **On**, and then select **Save**.
30
+
1. Set the **Status** option to **On**, and then select **Save**.
31
31
32
-
:::image type="content" source="media/dicom-export-enable-system-identity.png" alt-text="Screenshot of system assigned identity toggle." lightbox="media/dicom-export-enable-system-identity.png":::
32
+
:::image type="content" source="media/dicom-export-enable-system-identity.png" alt-text="Screenshot that shows the system-assigned identity toggle." lightbox="media/dicom-export-enable-system-identity.png":::
33
33
34
-
3. Select **Yes** in the confirmation dialog that appears.
34
+
1. Select **Yes** in the confirmation dialog that appears.
35
35
36
-
:::image type="content" source="media/dicom-export-confirm-enable.png" alt-text="Screenshot of dialog confirming enabling system identity." lightbox="media/dicom-export-confirm-enable.png":::
36
+
:::image type="content" source="media/dicom-export-confirm-enable.png" alt-text="Screenshot that shows the dialog confirming enabling system identity." lightbox="media/dicom-export-confirm-enable.png":::
37
37
38
-
It will take a few minutes to create the system managed identity. When the system identity has been enabled, an **Object (principal) ID**will be displayed.
38
+
It takes a few minutes to create the system-assigned managed identity. After the system identity is enabled, an **Object (principal) ID**appears.
39
39
40
-
## Give storage account permissions to the system managed identity
40
+
## Give storage account permissions to the system-assigned managed identity
41
41
42
-
The system managed identity will need **Storage Blob Data Contributor** permission to write data to the destination storage account.
42
+
The system-assigned managed identity needs **Storage Blob Data Contributor** permission to write data to the destination storage account.
43
43
44
-
1. Under **Permissions** select **Azure role assignments**.
44
+
1. Under **Permissions**, select **Azure role assignments**.
45
45
46
-
:::image type="content" source="media/dicom-export-azure-role-assignments.png" alt-text="Screenshot of Azure role assignments button on Identity view." lightbox="media/dicom-export-azure-role-assignments.png":::
46
+
:::image type="content" source="media/dicom-export-azure-role-assignments.png" alt-text="Screenshot that shows the Azure role assignments button on the Identity view." lightbox="media/dicom-export-azure-role-assignments.png":::
47
47
48
+
1. Select **Add role assignment**. On the **Add role assignment** pane, make the following selections:
48
49
49
-
2. Select **Add role assignment**. On the **Add role assignment** panel, make the following selections:
50
50
* Under **Scope**, select **Storage**.
51
-
* Under **Resource**, select the destination storage account for the export operation.
52
-
* Under **Role**, select **Storage Blob Data Contributor**.
51
+
* Under **Resource**, select the destination storage account for the export operation.
52
+
* Under **Role**, select **Storage Blob Data Contributor**.
53
53
54
-
:::image type="content" source="media/dicom-export-add-role-assignment.png" alt-text="Screenshot of Add Role Assignment panel." lightbox="media/dicom-export-add-role-assignment.png":::
54
+
:::image type="content" source="media/dicom-export-add-role-assignment.png" alt-text="Screenshot that shows the Add role assignment pane." lightbox="media/dicom-export-add-role-assignment.png":::
55
55
56
-
3. Select **Save** to add the permission to the system managed identity.
56
+
1. Select **Save** to add the permission to the system-assigned managed identity.
57
57
58
58
## Use the export API
59
59
60
-
The export API exposes one `POST` endpoint for exporting data.
60
+
The export API exposes one `POST` endpoint for exporting data.
61
61
62
62
```
63
63
POST <dicom-service-url>/<version>/export
64
64
```
65
65
66
-
Given a *source*, the set of data to be exported, and a *destination*, the location to which data will be exported, the endpoint returns a reference to a new, long-running export operation. The duration of this operation depends on the volume of data to be exported. See [Operation Status](#operation-status) below for more details about monitoring progress of export operations.
66
+
Given a *source*, the set of data to be exported, and a *destination*, the location to which data will be exported, the endpoint returns a reference to a new, long-running export operation. The duration of this operation depends on the volume of data to be exported. For more information about monitoring progress of export operations, see the [Operation status](#operation-status) section.
67
67
68
-
Any errors encountered while attempting to export will be recorded in an error log. See [Errors](#errors)below for details.
68
+
Any errors encountered while you attempt to export are recorded in an error log. For more information, see the [Errors](#errors)section.
69
69
70
70
## Request
71
71
@@ -96,23 +96,24 @@ The only setting is the list of identifiers to export.
96
96
97
97
| Property | Required | Default | Description |
98
98
| :------- | :------- | :------ | :---------- |
99
-
|`Values`| Yes || A list of one or more DICOM studies, series, and/or SOP instances identifiers in the format of `"<StudyInstanceUID>[/<SeriesInstanceUID>[/<SOPInstanceUID>]]"`.|
99
+
|`Values`| Yes || A list of one or more DICOM studies, series, and/or SOP instance identifiers in the format of `"<StudyInstanceUID>[/<SeriesInstanceUID>[/<SOPInstanceUID>]]"`|
100
100
101
101
### Destination settings
102
102
103
-
The connection to the Azure Blob storage account is specified with a `BlobContainerUri`.
103
+
The connection to the Blob Storage account is specified with `BlobContainerUri`.
|`BlobContainerUri`| No |`""`| The complete URI for the blob container.|
108
-
|`UseManagedIdentity`| Yes |`false`| A required flag indicating whether managed identity should be used to authenticate to the blob container.|
107
+
|`BlobContainerUri`| No |`""`| The complete URI for the blob container |
108
+
|`UseManagedIdentity`| Yes |`false`| A required flag that indicates whether managed identity should be used to authenticate to the blob container |
109
109
110
110
### Example
111
111
112
-
The below example requests the export of the following DICOM resources to the blob container named `export` in the storage account named `dicomexport`:
113
-
- All instances within the study whose `StudyInstanceUID` is `1.2.3`.
114
-
- All instances within the series whose `StudyInstanceUID` is `12.3` and `SeriesInstanceUID` is `4.5.678`.
115
-
- The instance whose `StudyInstanceUID` is `123.456`, `SeriesInstanceUID` is `7.8`, and `SOPInstanceUID` is `9.1011.12`.
112
+
The following example requests the export of the following DICOM resources to the blob container named `export` in the storage account named `dicomexport`:
113
+
114
+
- All instances within the study whose `StudyInstanceUID` is `1.2.3`
115
+
- All instances within the series whose `StudyInstanceUID` is `12.3` and `SeriesInstanceUID` is `4.5.678`
116
+
- The instance whose `StudyInstanceUID` is `123.456`, `SeriesInstanceUID` is `7.8`, and `SOPInstanceUID` is `9.1011.12`
The export API returns a `202` status code when an export operation is started successfully. The body of the response contains a reference to the operation, while the value of the `Location` header is the URL for the export operation's status (the same as `href` in the body).
145
146
146
-
Inside of the destination container, the DCM files can be found with the following path format:`<operation id>/results/<study>/<series>/<sop instance>.dcm`
147
+
Inside the destination container, use the path format `<operation id>/results/<study>/<series>/<sop instance>.dcm` to find the DCM files.
The above `href` URL can be polled for the current status of the export operation until completion. Once the job has reached a terminal state, the API will return a 200 status code instead of 202, and the value of its status property will be updated accordingly.
159
+
160
+
Poll the preceding `href` URL for the current status of the export operation until completion. After the job has reached a terminal state, the API returns a 200 status code instead of 202. The value of its status property is updated accordingly.
If there are any user errors when exporting a DICOM file, then the file is skipped and its corresponding error is logged. This error log is also exported alongside the DICOM files and can be reviewed by the caller. The error log can be found at `<export blob container uri>/<operation ID>/errors.log`.
181
+
If there are any user errors when you export a DICOM file, the file is skipped and its corresponding error is logged. This error log is also exported alongside the DICOM files and the caller can review it. You can find the error log at `<export blob container uri>/<operation ID>/errors.log`.
180
182
181
183
### Format
182
184
183
-
Each line of the error log is a JSON object with the following properties. A given error identifier may appear multiple times in the log as each update to the log is processed *at least once*.
185
+
Each line of the error log is a JSON object with the following properties. A given error identifier might appear multiple times in the log as each update to the log is processed *at least once*.
184
186
185
187
| Property | Description |
186
188
| ------------ | ----------- |
187
-
|`Timestamp`| The date and time when the error occurred.|
188
-
|`Identifier`| The identifier for the DICOM study, series, or SOP instance in the format of `"<study instance UID>[/<series instance UID>[/<SOP instance UID>]]"`.|
189
-
|`Error`| The detailed error message.|
189
+
|`Timestamp`| The date and time when the error occurred |
190
+
|`Identifier`| The identifier for the DICOM study, series, or SOP instance in the format of `"<study instance UID>[/<series instance UID>[/<SOP instance UID>]]"`|
191
+
|`Error`| The detailed error message |
190
192
191
193
## Next steps
192
194
193
195
>[!div class="nextstepaction"]
194
196
>[Overview of the DICOM service](dicom-services-overview.md)
0 commit comments