你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
作为事件网格源的 Azure 健康状况数据服务
本文提供了 Azure Health Data Services 事件的属性和架构。 有关事件架构的简介,请参阅 Azure 事件网格事件架构。
可用事件类型
Azure Health Data Services REST API 的事件列表
通过调用 FHIR 服务 REST API 创建、更新或删除快速医疗保健互操作性资源 (FHIR®) 观测时,将触发这些事件。
事件名称 | 说明 |
---|---|
FhirResourceCreated | 成功创建 FHIR 观测资源后发出的事件。 |
FhirResourceUpdated | 成功更新 FHIR 观测资源后发出的事件。 |
FhirResourceDeleted | 成功软删除 FHIR 观测资源后发出的事件。 |
通过调用 DICOM 服务 REST API 创建或删除 DICOM 映像时,将会触发这些事件。
事件名称 | 说明 |
---|---|
DicomImageCreated | 成功创建 DICOM 映像后发出的事件。 |
DicomImageDeleted | 成功删除 DICOM 映像后发出的事件。 |
DicomImageUpdated | 成功更新 DICOM 映像后发出的事件。 |
示例事件
本部分包含每个 FHIR 观测和 DICOM 映像事件的 Azure Health Data Services 事件消息数据的示例。
FhirResourceCreated 事件
{
"id": "d674b9b7-7d1c-9b0a-8c48-139f3eb86c48",
"source": "/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}/providers/Microsoft.HealthcareApis/workspaces/{workspace-name}",
"specversion": "1.0",
"type": "Microsoft.HealthcareApis.FhirResourceCreated",
"dataschema": "#1",
"subject": "{fhir-account}.fhir.azurehealthcareapis.com/Patient/e87ef649-abe1-485c-8c09-549d85dfe30b",
"time": "2022-02-03T16:48:09.6223354Z",
"data": {
"resourceType": "Patient",
"resourceFhirAccount": "{fhir-account}.fhir.azurehealthcareapis.com",
"resourceFhirId": "e87ef649-abe1-485c-8c09-549d85dfe30b",
"resourceVersionId": 1
}
}
FhirResourceUpdated 事件
{
"id": "5e45229e-c663-ea98-72d2-833428f48ad0",
"source": "/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}/providers/Microsoft.HealthcareApis/workspaces/{workspace-name}",
"specversion": "1.0",
"type": "Microsoft.HealthcareApis.FhirResourceUpdated",
"dataschema": "#2",
"subject": "{fhir-account}.fhir.azurehealthcareapis.com/Patient/e87ef649-abe1-485c-8c09-549d85dfe30b",
"time": "2022-02-03T16:48:33.5147352Z",
"data": {
"resourceType": "Patient",
"resourceFhirAccount": "{fhir-account}.fhir.azurehealthcareapis.com",
"resourceFhirId": "e87ef649-abe1-485c-8c09-549d85dfe30b",
"resourceVersionId": 2
}
}
FhirResourceDeleted 事件
{
"id": "14648a6e-d978-950e-ee9c-f84c70dba8d3",
"source": "/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}/providers/Microsoft.HealthcareApis/workspaces/{workspace-name}",
"specversion": "1.0",
"type": "Microsoft.HealthcareApis.FhirResourceDeleted",
"dataschema": "#3",
"subject": "{fhir-account}.fhir.azurehealthcareapis.com/Patient/e87ef649-abe1-485c-8c09-549d85dfe30b",
"time": "2022-02-03T16:48:38.7338799Z",
"data": {
"resourceType": "Patient",
"resourceFhirAccount": "{fhir-account}.fhir.azurehealthcareapis.com",
"resourceFhirId": "e87ef649-abe1-485c-8c09-549d85dfe30b",
"resourceVersionId": 3
}
}
DicomImageCreated
{
"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",
"type": "Microsoft.HealthcareApis.DicomImageCreated",
"time": "2022-09-15T01:14:04.5613214Z",
"id": "d621839d-958b-4142-a638-bb966b4f7dfd",
"data": {
"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"
}
DicomImageDeleted
{
"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",
"type": "Microsoft.HealthcareApis.DicomImageDeleted",
"time": "2022-09-15T01:14:04.5613214Z",
"id": "eac1c1a0-ffa8-4b28-97cc-1d8b9a0a6021",
"data": {
"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": 2
},
"specVersion": "1.0"
}
DicomImageUpdated
{
"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"
}
后续步骤
- 有关 Azure Health Data Services 事件功能的概述,请参阅什么是事件?。
- 若要了解如何在 Azure 门户中部署 Azure Health Data Services 事件功能,请参阅使用 Azure 门户部署事件。
FHIR® 是 Health Level Seven International 的注册商标,在美国商标局注册,经其许可使用。