透過 Google Cloud 控制台儲存 DICOM 醫療保健資料
本頁說明如何使用 Cloud Healthcare API 和 Google Cloud 控制台完成下列工作:
- 建立 Cloud Healthcare API 資料集。
- 在資料集內建立數位醫學影像和通訊 (DICOM) 儲存庫。
- 在 DICOM 儲存庫中儲存 DICOM 執行個體。
- 清除所用資源,以免產生帳單費用。
如要直接在 Google Cloud 控制台中,按照這項工作的逐步指南操作,請按一下「Guide me」(逐步引導):
事前準備
- 登入 Google Cloud 帳戶。如果您是 Google Cloud新手,歡迎 建立帳戶,親自評估產品在實際工作環境中的成效。新客戶還能獲得價值 $300 美元的免費抵免額,可用於執行、測試及部署工作負載。
-
In the Google Cloud console, on the project selector page, select or create a Google Cloud project.
Roles required to select or create a project
- Select a project: Selecting a project doesn't require a specific IAM role—you can select any project that you've been granted a role on.
-
Create a project: To create a project, you need the Project Creator role
(
roles/resourcemanager.projectCreator), which contains theresourcemanager.projects.createpermission. Learn how to grant roles.
-
Verify that billing is enabled for your Google Cloud project.
-
In the Google Cloud console, on the project selector page, select or create a Google Cloud project.
Roles required to select or create a project
- Select a project: Selecting a project doesn't require a specific IAM role—you can select any project that you've been granted a role on.
-
Create a project: To create a project, you need the Project Creator role
(
roles/resourcemanager.projectCreator), which contains theresourcemanager.projects.createpermission. Learn how to grant roles.
-
Verify that billing is enabled for your Google Cloud project.
如果尚未啟用,請啟用 Cloud Healthcare API。
啟用 API 時所需的角色
如要啟用 API,您必須具備
serviceusage.services.enable權限。如果您建立了專案,可能已透過「擁有者」角色 (roles/owner) 取得這項權限。否則,您可以透過「服務使用情形管理員」角色 (roles/serviceusage.serviceUsageAdmin) 取得這項權限。瞭解如何授予角色。
建立資料集
「資料集」包含資料儲存庫,以及含有醫療照護資料的資料儲存庫。 如要使用 Cloud Healthcare API,您至少須建立一個資料集。
按一下 Google Cloud 控制台的「Healthcare」(醫療照護),即可前往「Datasets」(資料集) 頁面。
按一下
「Create dataset」(建立資料集) 。在
「Name」(名稱) 欄位中輸入my-dataset。選取
「Region」(區域) 欄位中的「us-central1」,然後按一下「Create」(建立) 。
新的資料集會出現在瀏覽器中的資料集清單內。
儲存 DICOM 執行個體
本節說明如何完成下列工作:
- 建立 DICOM 儲存庫。
- 將 DICOM 執行個體匯入 DICOM 儲存庫。
Cloud Healthcare API 會導入 DICOMweb 標準,用於儲存及存取醫療造影資料。 Google Cloud 控制台不支援 DICOMweb 交易,例如檢視或擷取執行個體。
建立 DICOM 儲存庫
前往 Google Cloud 控制台的 Cloud Healthcare API「Browser」(瀏覽器) 頁面:
按一下「
my-dataset」資料集。按一下
「Create data store」(建立資料儲存庫) 。在
「Type」(類型) 選單中,選取「DICOM」。在
「ID」 欄位中,輸入my-dicom-store。按一下
「Create」(建立) 。
DICOM 儲存庫「my-dicom-store」會顯示於「my-dataset」資料集的「Data stores」(資料儲存庫) 頁面中。
匯入 DICOM 執行個體
您可以在 Cloud Storage bucket「gs://gcs-public-data--healthcare-nih-chest-xray」中找到範例 DICOM 資料。
在資料集內的資料儲存庫清單中,找到 DICOM 儲存庫「
my-dicom-store」,然後選取「Actions」(動作) 選單。選取「Import」(匯入)。
選取「Import to DICOM store」(匯入 DICOM 儲存庫) 頁面中的「Advanced options」(進階選項) 選單,然後選取
「Override Cloud Storage path」(覆寫 Cloud Storage 路徑) 。在「Advanced options」(進階選項) 選單下方的
「Location」(位置) 欄位中,輸入下列待匯入 DICOM 執行個體的位置:gs://gcs-public-data--healthcare-nih-chest-xray/dicom/00000001_000.dcm按一下
「Import」(匯入) 。如要查看匯入狀態,請按一下
「Operations」(作業) 分頁標籤。如果發生任何錯誤,請按一下
「Actions」(動作) ,然後點選「View details in Cloud Logging」(在 Cloud Logging 中查看詳細資料)。
您已在 Cloud Healthcare API 中儲存 DICOM 執行個體,現在可以清理在這個快速入門導覽課程中建立的資源,或繼續參閱「後續步驟」一節,瞭解後續步驟,例如如何搜尋或擷取 DICOM 圖片。
清除所用資源
為了避免系統向您的 Google Cloud 帳戶收取本頁面所用資源的費用,請按照下列步驟操作。
如果不再需要這個快速入門導覽課程中建立的資料集和 DICOM 儲存庫,您可以刪除資料集。如果刪除資料集,該資料集及其中所含的所有 DICOM 儲存庫都會永久刪除。
如要刪除資料集,請完成下列步驟:
- 按一下
「Browser」(瀏覽器) 來前往「Datasets」(資料集) 頁面。 - 按一下資料集旁的
「Actions」(動作) ,然後按一下「Delete」(刪除)。 - 確認刪除資料集。
或者,您也可以刪除先前建立的專案。
後續步驟
繼續前往 DICOM 指南閱讀以下主題文章:
要瞭解 Cloud Healthcare API 如何導入 DICOMweb 標準,請參閱 DICOM 符合聲明。