HealthImaging での Amazon EventBridge の使用 - AWS HealthImaging

翻訳は機械翻訳により提供されています。提供された翻訳内容と英語版の間で齟齬、不一致または矛盾がある場合、英語版が優先します。

HealthImaging での Amazon EventBridge の使用

Amazon EventBridge は、イベントを使用してアプリケーションコンポーネント同士を接続するサーバーレスサービスです。これにより、スケーラブルなイベント駆動型アプリケーションを簡単に構築できます。EventBridge の基礎は、イベントターゲットにルーティングするルールを作成することです。AWS HealthImaging はEventBridge に状態変更を永続的に配信します。詳細については、「Amazon EventBridge ユーザーガイド」の「Amazon EventBridge とは」を参照してください。

EventBridge に送信される HealthImaging イベント EventBridge

次の表に、処理のために EventBridge に送信されたすべての HealthImaging イベントを示します。

HealthImaging イベントタイプ State
データストアイベント
     データストアの作成 CREATING
     データストアの作成に失敗しました CREATE_FAILED
     作成されたデータストア ACTIVE
     データストアの削除 DELETING
     データストアの削除 DELETED

     詳細については、AWS HealthImaging API リファレンスのdatastoreStatus」を参照してください。 HealthImaging

ジョブイベントをインポートする
     インポートジョブが送信されました SUBMITTED
     インポート中のジョブ IN_PROGRESS
     インポートジョブが完了しました COMPLETED
     ジョブのインポートに失敗しました FAILED

     詳細については、AWS HealthImaging API リファレンスの jobStatus を参照してください。 HealthImaging

イメージセットイベント
     イメージセットが作成されました CREATED
     イメージセットのコピー COPYING
     読み取り専用アクセスによるイメージセットのコピー COPYING_WITH_READ_ONLY_ACCESS
     コピーされたイメージセット COPIED
     イメージセットのコピーに失敗しました COPY_FAILED
     イメージセットの更新 UPDATING
     イメージセットが更新されました UPDATED
     イメージセットの更新に失敗しました UPDATE_FAILED
     イメージセットの削除 DELETING
     削除されたイメージセット DELETED

     詳細については、AWS HealthImaging API リファレンスのImageSetWorkflowStatus」を参照してください。 HealthImaging

HealthImaging イベント構造と例

HealthImaging イベントは、メタデータの詳細を含む JSON 構造を持つオブジェクトです。メタデータを入力として使用して、イベントを再作成するか、詳細情報を確認できます。関連するすべてのメタデータフィールドは、次のメニューのコード例の下の表に一覧表示されます。詳細については、「Amazon EventBridge ユーザーガイド」の「イベント構造リファレンス」を参照してください。

注記

HealthImaging イベント構造のsource属性は ですaws.medical-imaging

Data Store Creating

状態 - CREATING

{ "version": "0", "id": "7cf0fb1c-8720-4d48-baa3-6eb97b35a10e", "detail-type": "Data Store Creating", "source": "aws.medical-imaging", "account": "111122223333", "time": "2024-03-14T00:01:00Z", "region": "us-west-2", "resources": ["arn:aws:medical-imaging:us-west-2:111122223333:datastore/bbc4f3cccbae4095a34170fddc19b13d"], "detail": { "imagingVersion": "1.0", "datastoreId" : "bbc4f3cccbae4095a34170fddc19b13d", "datastoreName": "test", "datastoreStatus": "CREATING" } }
Data Store Creation Failed

状態 - CREATE_FAILED

{ "version": "0", "id": "7cf0fb1c-8720-4d48-baa3-6eb97b35a10e", "detail-type": "Data Store Creation Failed", "source": "aws.medical-imaging", "account": "111122223333", "time": "2024-03-14T00:01:00Z", "region": "us-west-2", "resources": ["arn:aws:medical-imaging:us-west-2:111122223333:datastore/bbc4f3cccbae4095a34170fddc19b13d"], "detail": { "imagingVersion": "1.0", "datastoreId" : "bbc4f3cccbae4095a34170fddc19b13d", "datastoreName": "test", "datastoreStatus": "CREATE_FAILED" } }
Data Store Created

状態 - ACTIVE

{ "version": "0", "id": "7cf0fb1c-8720-4d48-baa3-6eb97b35a10e", "detail-type": "Data Store Created", "source": "aws.medical-imaging", "account": "111122223333", "time": "2024-03-14T00:01:00Z", "region": "us-west-2", "resources": ["arn:aws:medical-imaging:us-west-2:111122223333:datastore/bbc4f3cccbae4095a34170fddc19b13d"], "detail": { "imagingVersion": "1.0", "datastoreId" : "bbc4f3cccbae4095a34170fddc19b13d", "datastoreName": "test", "datastoreStatus": "ACTIVE" } }
Data Store Deleting

状態 - DELETING

{ "version": "0", "id": "7cf0fb1c-8720-4d48-baa3-6eb97b35a10e", "detail-type": "Data Store Deleting", "source": "aws.medical-imaging", "account": "111122223333", "time": "2024-03-14T00:01:00Z", "region": "us-west-2", "resources": ["arn:aws:medical-imaging:us-west-2:111122223333:datastore/bbc4f3cccbae4095a34170fddc19b13d"], "detail": { "imagingVersion": "1.0", "datastoreId" : "bbc4f3cccbae4095a34170fddc19b13d", "datastoreName": "test", "datastoreStatus": "DELETING" } }
Data Store Deleted

状態 - DELETED

{ "version": "0", "id": "7cf0fb1c-8720-4d48-baa3-6eb97b35a10e", "detail-type": "Data Store Deleted", "source": "aws.medical-imaging", "account": "111122223333", "time": "2024-03-14T00:01:00Z", "region": "us-west-2", "resources": ["arn:aws:medical-imaging:us-west-2:111122223333:datastore/bbc4f3cccbae4095a34170fddc19b13d"], "detail": { "imagingVersion": "1.0", "datastoreId" : "bbc4f3cccbae4095a34170fddc19b13d", "datastoreName": "test", "datastoreStatus": "DELETED" } }
データストアイベント - メタデータの説明
名前 説明
version string EventBridge イベントスキーマのバージョン。
id string イベントごとに生成されたバージョン 4 UUID。
detail-type string 送信されるイベントのタイプ。
source string イベントを発生させたサービスを識別します。
account string データストア所有者の 12 桁の AWS アカウント ID。
time string イベントが発生した時刻。
region string データストアの AWS リージョンを識別します。
resources 配列 (文字列) データストアの ARN を含む JSON 配列。
detail オブジェクト イベントに関する情報を含む JSON オブジェクト。
detail.imagingVersion string HealthImaging のイベント詳細スキーマへの変更を追跡するバージョン ID。
detail.datastoreId string ステータス変更イベントに関連付けられたデータストア ID。
detail.datastoreName string データストア名。
detail.datastoreStatus string 現在のデータストアのステータス。
Import Job Submitted

状態 - SUBMITTED

{ "version": "0", "id": "7cf0fb1c-8720-4d48-baa3-6eb97b35a10e", "detail-type": "Import Job Submitted", "source": "aws.medical-imaging", "account": "111122223333", "time": "2024-03-14T00:01:00Z", "region": "us-west-2", "resources": ["arn:aws:medical-imaging:us-west-2:111122223333:datastore/bbc4f3cccbae4095a34170fddc19b13d"], "detail": { "imagingVersion": "1.0", "datastoreId" : "bbc4f3cccbae4095a34170fddc19b13d", "jobId": "a6a1d220f152e7aab6d8925d995d8b76", "jobName": "test_only_1", "jobStatus": "SUBMITTED", "inputS3Uri": "s3://healthimaging-test-bucket/input/", "outputS3Uri": "s3://healthimaging-test-bucket/output/" } }
Import Job In Progress

状態 - IN_PROGRESS

{ "version": "0", "id": "7cf0fb1c-8720-4d48-baa3-6eb97b35a10e", "detail-type": "Import Job In Progress", "source": "aws.medical-imaging", "account": "111122223333", "time": "2024-03-14T00:01:00Z", "region": "us-west-2", "resources": ["arn:aws:medical-imaging:us-west-2:111122223333:datastore/bbc4f3cccbae4095a34170fddc19b13d"], "detail": { "imagingVersion": "1.0", "datastoreId" : "bbc4f3cccbae4095a34170fddc19b13d", "jobId": "a6a1d220f152e7aab6d8925d995d8b76", "jobName": "test_only_1", "jobStatus": "IN_PROGRESS", "inputS3Uri": "s3://healthimaging-test-bucket/input/", "outputS3Uri": "s3://healthimaging-test-bucket/output/" } }
Import Job Completed

状態 - COMPLETED

{ "version": "0", "id": "7cf0fb1c-8720-4d48-baa3-6eb97b35a10e", "detail-type": "Import Job Completed", "source": "aws.medical-imaging", "account": "111122223333", "time": "2024-03-14T00:01:00Z", "region": "us-west-2", "resources": ["arn:aws:medical-imaging:us-west-2:111122223333:datastore/bbc4f3cccbae4095a34170fddc19b13d"], "detail": { "imagingVersion": "1.0", "datastoreId" : "bbc4f3cccbae4095a34170fddc19b13d", "jobId": "a6a1d220f152e7aab6d8925d995d8b76", "jobName": "test_only_1", "jobStatus": "COMPLETED", "inputS3Uri": "s3://healthimaging-test-bucket/input/", "outputS3Uri": "s3://healthimaging-test-bucket/output/" } }
Import Job Failed

状態 - FAILED

{ "version": "0", "id": "7cf0fb1c-8720-4d48-baa3-6eb97b35a10e", "detail-type": "Import Job Failed", "source": "aws.medical-imaging", "account": "111122223333", "time": "2024-03-14T00:01:00Z", "region": "us-west-2", "resources": ["arn:aws:medical-imaging:us-west-2:111122223333:datastore/bbc4f3cccbae4095a34170fddc19b13d"], "detail": { "imagingVersion": "1.0", "datastoreId" : "bbc4f3cccbae4095a34170fddc19b13d", "jobId": "a6a1d220f152e7aab6d8925d995d8b76", "jobName": "test_only_1", "jobStatus": "FAILED", "inputS3Uri": "s3://healthimaging-test-bucket/input/", "outputS3Uri": "s3://healthimaging-test-bucket/output/" } }
ジョブイベントのインポート - メタデータの説明
名前 説明
version string EventBridge イベントスキーマのバージョン。
id string イベントごとに生成されたバージョン 4 UUID。
detail-type string 送信されるイベントのタイプ。
source string イベントを発生させたサービスを識別します。
account string データストア所有者の 12 桁の AWS アカウント ID。
time string イベントが発生した時刻。
region string データストアの AWS リージョンを識別します。
resources 配列 (文字列) データストアの ARN を含む JSON 配列。
detail オブジェクト イベントに関する情報を含む JSON オブジェクト。
detail.imagingVersion string HealthImaging のイベント詳細スキーマへの変更を追跡するバージョン ID。
detail.datastoreId string ステータス変更イベントを生成したデータストア。
detail.jobId string ステータス変更イベントに関連付けられたインポートジョブ ID。
detail.jobName string インポートジョブ名。
detail.jobStatus string 現在のジョブステータス。
detail.inputS3Uri string インポートする DICOM ファイルを含む S3 バケットの入力プレフィックスパス。
detail.outputS3Uri string DICOM インポートジョブの結果をアップロードする S3 バケットの出力プレフィックス。
Image Set Created

状態 - CREATED

{ "version": "0", "id": "7cf0fb1c-8720-4d48-baa3-6eb97b35a10e", "detail-type": "Image Set Created", "source": "aws.medical-imaging", "account": "111122223333", "time": "2024-03-14T00:01:00Z", "region": "us-west-2", "resources": ["arn:aws:medical-imaging:us-west-2:846006145877:datastore/bbc4f3cccbae4095a34170fddc19b13d/imageset/207284eef860ac01c4b2a8de27a6fc11"], "detail": { "imagingVersion": "1.0", "isPrimary": true, "imageSetVersion": "1", "datastoreId": "bbc4f3cccbae4095a34170fddc19b13d", "imagesetId": "5b3a711878c34d40e888253319388649", "imageSetState": "ACTIVE", "imageSetWorkflowStatus": "CREATED" } }
Image Set Copying

状態 - COPYING

{ "version": "0", "id": "7cf0fb1c-8720-4d48-baa3-6eb97b35a10e", "detail-type": "Image Set Copying", "source": "aws.medical-imaging", "account": "111122223333", "time": "2024-03-14T00:01:00Z", "region": "us-west-2", "resources": ["arn:aws:medical-imaging:us-west-2:846006145877:datastore/bbc4f3cccbae4095a34170fddc19b13d/imageset/207284eef860ac01c4b2a8de27a6fc11"], "detail": { "imagingVersion": "1.0", "isPrimary": true, "imageSetVersion": "1", "datastoreId": "bbc4f3cccbae4095a34170fddc19b13d", "imagesetId": "5b3a711878c34d40e888253319388649", "imageSetState": "LOCKED", "imageSetWorkflowStatus": "COPYING", "sourceImageSetArn": "arn:aws:medical-imaging:us-west-2:147997158357:datastore/c381ee9b9ef34902a45b476dd7be068b/imageset/0309de3674fd551fa7ddd2880b21f990" } }
Image Set Copying With Read Only Access

状態 - COPYING_WITH_READ_ONLY_ACCESS

{ "version": "0", "id": "7cf0fb1c-8720-4d48-baa3-6eb97b35a10e", "detail-type": "Image Set Copying With Read Only Access", "source": "aws.medical-imaging", "account": "111122223333", "time": "2024-03-14T00:01:00Z", "region": "us-west-2", "resources": ["arn:aws:medical-imaging:us-west-2:846006145877:datastore/bbc4f3cccbae4095a34170fddc19b13d/imageset/207284eef860ac01c4b2a8de27a6fc11"], "detail": { "imagingVersion": "1.0", "isPrimary": true, "imageSetVersion": "1", "datastoreId": "bbc4f3cccbae4095a34170fddc19b13d", "imagesetId": "5b3a711878c34d40e888253319388649", "imageSetState": "LOCKED", "imageSetWorkflowStatus": "COPYING_WITH_READ_ONLY_ACCESS" } }
Image Set Copied

状態 - COPIED

{ "version": "0", "id": "7cf0fb1c-8720-4d48-baa3-6eb97b35a10e", "detail-type": "Image Set Copied", "source": "aws.medical-imaging", "account": "111122223333", "time": "2024-03-14T00:01:00Z", "region": "us-west-2", "resources": ["arn:aws:medical-imaging:us-west-2:846006145877:datastore/bbc4f3cccbae4095a34170fddc19b13d/imageset/207284eef860ac01c4b2a8de27a6fc11"], "detail": { "imagingVersion": "1.0", "isPrimary": true, "imageSetVersion": "1", "datastoreId": "bbc4f3cccbae4095a34170fddc19b13d", "imagesetId": "5b3a711878c34d40e888253319388649", "imageSetState": "ACTIVE", "imageSetWorkflowStatus": "COPIED" } }
Image Set Copy Failed

状態 - COPY_FAILED

{ "version": "0", "id": "7cf0fb1c-8720-4d48-baa3-6eb97b35a10e", "detail-type": "Image Set Copy Failed", "source": "aws.medical-imaging", "account": "111122223333", "time": "2024-03-14T00:01:00Z", "region": "us-west-2", "resources": ["arn:aws:medical-imaging:us-west-2:846006145877:datastore/bbc4f3cccbae4095a34170fddc19b13d/imageset/207284eef860ac01c4b2a8de27a6fc11"], "detail": { "imagingVersion": "1.0", "isPrimary": true, "imageSetVersion": "1", "datastoreId": "bbc4f3cccbae4095a34170fddc19b13d", "imagesetId": "5b3a711878c34d40e888253319388649", "imageSetState": "ACTIVE", "imageSetWorkflowStatus": "COPY_FAILED" } }
Image Set Updating

状態 - UPDATING

{ "version": "0", "id": "7cf0fb1c-8720-4d48-baa3-6eb97b35a10e", "detail-type": "Image Set Updating", "source": "aws.medical-imaging", "account": "111122223333", "time": "2024-03-14T00:01:00Z", "region": "us-west-2", "resources": ["arn:aws:medical-imaging:us-west-2:846006145877:datastore/bbc4f3cccbae4095a34170fddc19b13d/imageset/207284eef860ac01c4b2a8de27a6fc11"], "detail": { "imagingVersion": "1.0", "isPrimary": true, "imageSetVersion": "1", "datastoreId": "bbc4f3cccbae4095a34170fddc19b13d", "imagesetId": "5b3a711878c34d40e888253319388649", "imageSetState": "LOCKED", "imageSetWorkflowStatus": "UPDATING" } }
Image Set Updated

状態 - UPDATED

{ "version": "0", "id": "7cf0fb1c-8720-4d48-baa3-6eb97b35a10e", "detail-type": "Image Set Updated", "source": "aws.medical-imaging", "account": "111122223333", "time": "2024-03-14T00:01:00Z", "region": "us-west-2", "resources": ["arn:aws:medical-imaging:us-west-2:846006145877:datastore/bbc4f3cccbae4095a34170fddc19b13d/imageset/207284eef860ac01c4b2a8de27a6fc11"], "detail": { "imagingVersion": "1.0", "isPrimary": true, "imageSetVersion": "1", "datastoreId": "bbc4f3cccbae4095a34170fddc19b13d", "imagesetId": "5b3a711878c34d40e888253319388649", "imageSetState": "ACTIVE", "imageSetWorkflowStatus": "UPDATED" } }
Image Set Update Failed

状態 - UPDATE_FAILED

{ "version": "0", "id": "7cf0fb1c-8720-4d48-baa3-6eb97b35a10e", "detail-type": "Image Set Update Failed", "source": "aws.medical-imaging", "account": "111122223333", "time": "2024-03-14T00:01:00Z", "region": "us-west-2", "resources": ["arn:aws:medical-imaging:us-west-2:846006145877:datastore/bbc4f3cccbae4095a34170fddc19b13d/imageset/207284eef860ac01c4b2a8de27a6fc11"], "detail": { "imagingVersion": "1.0", "isPrimary": true, "imageSetVersion": "1", "datastoreId": "bbc4f3cccbae4095a34170fddc19b13d", "imagesetId": "5b3a711878c34d40e888253319388649", "imageSetState": "ACTIVE", "imageSetWorkflowStatus": "UPDATE_FAILED" } }
Image Set Deleting

状態 - DELETING

{ "version": "0", "id": "7cf0fb1c-8720-4d48-baa3-6eb97b35a10e", "detail-type": "Image Set Deleting", "source": "aws.medical-imaging", "account": "111122223333", "time": "2024-03-14T00:01:00Z", "region": "us-west-2", "resources": ["arn:aws:medical-imaging:us-west-2:846006145877:datastore/bbc4f3cccbae4095a34170fddc19b13d/imageset/207284eef860ac01c4b2a8de27a6fc11"], "detail": { "imagingVersion": "1.0", "isPrimary": true, "imageSetVersion": "1", "datastoreId": "bbc4f3cccbae4095a34170fddc19b13d", "imagesetId": "5b3a711878c34d40e888253319388649", "imageSetState": "LOCKED", "imageSetWorkflowStatus": "DELETING" } }
Image Set Deleted

状態 - DELETED

{ "version": "0", "id": "7cf0fb1c-8720-4d48-baa3-6eb97b35a10e", "detail-type": "Image Set Deleted", "source": "aws.medical-imaging", "account": "111122223333", "time": "2024-03-14T00:01:00Z", "region": "us-west-2", "resources": ["arn:aws:medical-imaging:us-west-2:846006145877:datastore/bbc4f3cccbae4095a34170fddc19b13d/imageset/207284eef860ac01c4b2a8de27a6fc11"], "detail": { "imagingVersion": "1.0", "isPrimary": true, "imageSetVersion": "1", "datastoreId": "bbc4f3cccbae4095a34170fddc19b13d", "imagesetId": "5b3a711878c34d40e888253319388649", "imageSetState": "DELETED", "imageSetWorkflowStatus": "DELETED" } }
画像セットイベント - メタデータの説明
名前 説明
version string EventBridge イベントスキーマのバージョン。
id string イベントごとに生成されたバージョン 4 UUID。
detail-type string 送信されるイベントのタイプ。
source string イベントを発生させたサービスを識別します。
account string データストア所有者の 12 桁の AWS アカウント ID。
time string イベントが発生した時刻。
region string データストアの AWS リージョンを識別します。
resources 配列 (文字列) イメージセットの ARN を含む JSON 配列。
detail オブジェクト イベントに関する情報を含む JSON オブジェクト。
detail.imagingVersion string HealthImaging のイベント詳細スキーマへの変更を追跡するバージョン ID。
detail.isPrimary boolean インポートされたデータがマネージド階層に正常に整理されたかどうか、または解決する必要があるメタデータの競合があるかどうかを示します。
detail.imageSetVersion string イメージセットのバージョンは、インスタンスが複数回インポートされると増加します。最新バージョンは、プライマリイメージセットに保存されている古いバージョンを上書きします。
detail.datastoreId string ステータス変更イベントを生成したデータストア ID。
detail.imagesetId string ステータス変更イベントに関連付けられたイメージセット ID。
detail.imageSetState string 現在のイメージセットの状態。
detail.imageSetWorkflowStatus string 現在のイメージセットのワークフローステータス。