diff --git a/specification/eventgrid/data-plane/Microsoft.HealthcareApis/stable/2018-01-01/HealthcareApis.json b/specification/eventgrid/data-plane/Microsoft.HealthcareApis/stable/2018-01-01/HealthcareApis.json index bb390c759724..0cee2c5ea41d 100644 --- a/specification/eventgrid/data-plane/Microsoft.HealthcareApis/stable/2018-01-01/HealthcareApis.json +++ b/specification/eventgrid/data-plane/Microsoft.HealthcareApis/stable/2018-01-01/HealthcareApis.json @@ -92,6 +92,10 @@ "description": "Schema of the Data property of an EventGridEvent for a Microsoft.HealthcareApis.DicomImageCreated event.", "type": "object", "properties": { + "partitionName": { + "description": "Data partition name", + "type": "string" + }, "imageStudyInstanceUid": { "description": "Unique identifier for the Study", "type": "string" @@ -123,10 +127,53 @@ } } }, + "HealthcareDicomImageUpdatedEventData": { + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.HealthcareApis.DicomImageUpdated event.", + "type": "object", + "properties": { + "partitionName": { + "description": "Data partition name", + "type": "string" + }, + "imageStudyInstanceUid": { + "description": "Unique identifier for the Study", + "type": "string" + }, + "imageSeriesInstanceUid": { + "description": "Unique identifier for the Series", + "type": "string" + }, + "imageSopInstanceUid": { + "description": "Unique identifier for the DICOM Image", + "type": "string" + }, + "serviceHostName": { + "description": "Domain name of the DICOM account for this image.", + "type": "string" + }, + "sequenceNumber": { + "description": "Sequence number of the DICOM Service within Azure Health Data Services. It is unique for every image creation, updation and deletion within the service.", + "type": "integer", + "format": "int64" + } + }, + "x-ms-examples": { + "DicomImageUpdatedCloudEventsSchema": { + "$ref": "./examples/cloud-events-schema/dicom_image_updated.json" + }, + "DicomImageUpdatedEventGridSchema": { + "$ref": "./examples/event-grid-schema/dicom_image_updated.json" + } + } + }, "HealthcareDicomImageDeletedEventData": { "description": "Schema of the Data property of an EventGridEvent for a Microsoft.HealthcareApis.DicomImageDeleted event.", "type": "object", "properties": { + "partitionName": { + "description": "Data partition name", + "type": "string" + }, "imageStudyInstanceUid": { "description": "Unique identifier for the Study", "type": "string" diff --git a/specification/eventgrid/data-plane/Microsoft.HealthcareApis/stable/2018-01-01/examples/cloud-events-schema/dicom_image_created.json b/specification/eventgrid/data-plane/Microsoft.HealthcareApis/stable/2018-01-01/examples/cloud-events-schema/dicom_image_created.json index 08e4c6bc2000..1f69f28c1218 100644 --- a/specification/eventgrid/data-plane/Microsoft.HealthcareApis/stable/2018-01-01/examples/cloud-events-schema/dicom_image_created.json +++ b/specification/eventgrid/data-plane/Microsoft.HealthcareApis/stable/2018-01-01/examples/cloud-events-schema/dicom_image_created.json @@ -1,10 +1,11 @@ { "source": "/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}/providers/Microsoft.HealthcareApis/workspaces/{workspace-name}", - "subject": "{dicom-account}.dicom.azurehealthcareapis.com/v1/studies/1.2.3.4.3/series/1.2.3.4.3.9423673/instances/1.3.6.1.4.1.45096.2.296485376.2210.1633373143.864442", + "subject": "{dicom-account}.dicom.azurehealthcareapis.com/v1/partitions/Microsoft.Default/studies/1.2.3.4.3/series/1.2.3.4.3.9423673/instances/1.3.6.1.4.1.45096.2.296485376.2210.1633373143.864442", "type": "Microsoft.HealthcareApis.DicomImageCreated", "time": "2022-09-15T01:14:04.5613214Z", "id": "d621839d-958b-4142-a638-bb966b4f7dfd", "data": { + "partitionName": "Microsoft.Default", "imageStudyInstanceUid": "1.2.3.4.3", "imageSeriesInstanceUid": "1.2.3.4.3.9423673", "imageSopInstanceUid": "1.3.6.1.4.1.45096.2.296485376.2210.1633373143.864442", diff --git a/specification/eventgrid/data-plane/Microsoft.HealthcareApis/stable/2018-01-01/examples/cloud-events-schema/dicom_image_deleted.json b/specification/eventgrid/data-plane/Microsoft.HealthcareApis/stable/2018-01-01/examples/cloud-events-schema/dicom_image_deleted.json index 3fbf68e70205..5fc2ab9ddce0 100644 --- a/specification/eventgrid/data-plane/Microsoft.HealthcareApis/stable/2018-01-01/examples/cloud-events-schema/dicom_image_deleted.json +++ b/specification/eventgrid/data-plane/Microsoft.HealthcareApis/stable/2018-01-01/examples/cloud-events-schema/dicom_image_deleted.json @@ -1,10 +1,11 @@ { "source": "/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}/providers/Microsoft.HealthcareApis/workspaces/{workspace-name}", - "subject": "{dicom-account}.dicom.azurehealthcareapis.com/v1/studies/1.2.3.4.3/series/1.2.3.4.3.9423673/instances/1.3.6.1.4.1.45096.2.296485376.2210.1633373143.864442", + "subject": "{dicom-account}.dicom.azurehealthcareapis.com/v1/partitions/Microsoft.Default/studies/1.2.3.4.3/series/1.2.3.4.3.9423673/instances/1.3.6.1.4.1.45096.2.296485376.2210.1633373143.864442", "type": "Microsoft.HealthcareApis.DicomImageDeleted", "time": "2022-09-15T01:14:04.5613214Z", "id": "eac1c1a0-ffa8-4b28-97cc-1d8b9a0a6021", "data": { + "partitionName": "Microsoft.Default", "imageStudyInstanceUid": "1.2.3.4.3", "imageSeriesInstanceUid": "1.2.3.4.3.9423673", "imageSopInstanceUid": "1.3.6.1.4.1.45096.2.296485376.2210.1633373143.864442", diff --git a/specification/eventgrid/data-plane/Microsoft.HealthcareApis/stable/2018-01-01/examples/cloud-events-schema/dicom_image_updated.json b/specification/eventgrid/data-plane/Microsoft.HealthcareApis/stable/2018-01-01/examples/cloud-events-schema/dicom_image_updated.json new file mode 100644 index 000000000000..112b7d49674f --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.HealthcareApis/stable/2018-01-01/examples/cloud-events-schema/dicom_image_updated.json @@ -0,0 +1,16 @@ +{ + "source": "/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}/providers/Microsoft.HealthcareApis/workspaces/{workspace-name}", + "subject": "{dicom-account}.dicom.azurehealthcareapis.com/v1/partitions/Microsoft.Default/studies/1.2.3.4.3/series/1.2.3.4.3.9423673/instances/1.3.6.1.4.1.45096.2.296485376.2210.1633373143.864442", + "type": "Microsoft.HealthcareApis.DicomImageUpdated", + "time": "2022-09-15T01:14:04.5613214Z", + "id": "7e8aca04-e815-4387-82a8-9fcf15a3114b", + "data": { + "partitionName": "Microsoft.Default", + "imageStudyInstanceUid": "1.2.3.4.3", + "imageSeriesInstanceUid": "1.2.3.4.3.9423673", + "imageSopInstanceUid": "1.3.6.1.4.1.45096.2.296485376.2210.1633373143.864442", + "serviceHostName": "{dicom-account}.dicom.azurehealthcareapis.com", + "sequenceNumber": 1 + }, + "specversion": "1.0" +} diff --git a/specification/eventgrid/data-plane/Microsoft.HealthcareApis/stable/2018-01-01/examples/event-grid-schema/dicom_image_created.json b/specification/eventgrid/data-plane/Microsoft.HealthcareApis/stable/2018-01-01/examples/event-grid-schema/dicom_image_created.json index 13506e42f4f3..99422ee7e7cb 100644 --- a/specification/eventgrid/data-plane/Microsoft.HealthcareApis/stable/2018-01-01/examples/event-grid-schema/dicom_image_created.json +++ b/specification/eventgrid/data-plane/Microsoft.HealthcareApis/stable/2018-01-01/examples/event-grid-schema/dicom_image_created.json @@ -1,8 +1,9 @@ { "id": "d621839d-958b-4142-a638-bb966b4f7dfd", "topic": "/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}/providers/Microsoft.HealthcareApis/workspaces/{workspace-name}", - "subject": "{dicom-account}.dicom.azurehealthcareapis.com/v1/studies/1.2.3.4.3/series/1.2.3.4.3.9423673/instances/1.3.6.1.4.1.45096.2.296485376.2210.1633373143.864442", + "subject": "{dicom-account}.dicom.azurehealthcareapis.com/v1/partitions/Microsoft.Default/studies/1.2.3.4.3/series/1.2.3.4.3.9423673/instances/1.3.6.1.4.1.45096.2.296485376.2210.1633373143.864442", "data": { + "partitionName": "Microsoft.Default", "imageStudyInstanceUid": "1.2.3.4.3", "imageSeriesInstanceUid": "1.2.3.4.3.9423673", "imageSopInstanceUid": "1.3.6.1.4.1.45096.2.296485376.2210.1633373143.864442", diff --git a/specification/eventgrid/data-plane/Microsoft.HealthcareApis/stable/2018-01-01/examples/event-grid-schema/dicom_image_deleted.json b/specification/eventgrid/data-plane/Microsoft.HealthcareApis/stable/2018-01-01/examples/event-grid-schema/dicom_image_deleted.json index ef0421e155e6..3e6590b57f48 100644 --- a/specification/eventgrid/data-plane/Microsoft.HealthcareApis/stable/2018-01-01/examples/event-grid-schema/dicom_image_deleted.json +++ b/specification/eventgrid/data-plane/Microsoft.HealthcareApis/stable/2018-01-01/examples/event-grid-schema/dicom_image_deleted.json @@ -1,8 +1,9 @@ { "id": "eac1c1a0-ffa8-4b28-97cc-1d8b9a0a6021", "topic": "/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}/providers/Microsoft.HealthcareApis/workspaces/{workspace-name}", - "subject": "{dicom-account}.dicom.azurehealthcareapis.com/v1/studies/1.2.3.4.3/series/1.2.3.4.3.9423673/instances/1.3.6.1.4.1.45096.2.296485376.2210.1633373143.864442", + "subject": "{dicom-account}.dicom.azurehealthcareapis.com/v1/partitions/Microsoft.Default/studies/1.2.3.4.3/series/1.2.3.4.3.9423673/instances/1.3.6.1.4.1.45096.2.296485376.2210.1633373143.864442", "data": { + "partitionName": "Microsoft.Default", "imageStudyInstanceUid": "1.2.3.4.3", "imageSeriesInstanceUid": "1.2.3.4.3.9423673", "imageSopInstanceUid": "1.3.6.1.4.1.45096.2.296485376.2210.1633373143.864442", diff --git a/specification/eventgrid/data-plane/Microsoft.HealthcareApis/stable/2018-01-01/examples/event-grid-schema/dicom_image_updated.json b/specification/eventgrid/data-plane/Microsoft.HealthcareApis/stable/2018-01-01/examples/event-grid-schema/dicom_image_updated.json new file mode 100644 index 000000000000..68678d63d2fb --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.HealthcareApis/stable/2018-01-01/examples/event-grid-schema/dicom_image_updated.json @@ -0,0 +1,17 @@ +{ + "id": "7e8aca04-e815-4387-82a8-9fcf15a3114b", + "topic": "/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}/providers/Microsoft.HealthcareApis/workspaces/{workspace-name}", + "subject": "{dicom-account}.dicom.azurehealthcareapis.com/v1/partitions/Microsoft.Default/studies/1.2.3.4.3/series/1.2.3.4.3.9423673/instances/1.3.6.1.4.1.45096.2.296485376.2210.1633373143.864442", + "data": { + "partitionName": "Microsoft.Default", + "imageStudyInstanceUid": "1.2.3.4.3", + "imageSeriesInstanceUid": "1.2.3.4.3.9423673", + "imageSopInstanceUid": "1.3.6.1.4.1.45096.2.296485376.2210.1633373143.864442", + "serviceHostName": "{dicom-account}.dicom.azurehealthcareapis.com", + "sequenceNumber": 1 + }, + "eventType": "Microsoft.HealthcareApis.DicomImageUpdated", + "dataVersion": "1", + "metadataVersion": "1", + "eventTime": "2022-09-15T01:14:04.5613214Z" +}