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
Copy file name to clipboardExpand all lines: articles/healthcare-apis/iot/deploy-iot-connector-in-azure.md
+26-17Lines changed: 26 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,24 +5,33 @@ author: msjasteppe
5
5
ms.service: healthcare-apis
6
6
ms.subservice: fhir
7
7
ms.topic: quickstart
8
-
ms.date: 03/21/2022
8
+
ms.date: 04/07/2022
9
9
ms.author: jasteppe
10
10
ms.custom: mode-api
11
11
---
12
12
13
13
# Deploy MedTech service in the Azure portal
14
14
15
-
In this quickstart, you'll learn how to deploy MedTech service in the Azure portal. Configuring the MedTech service will enable you to ingest data from Internet of Things (IoT) into your Fast Healthcare Interoperability Resources (FHIR®) service using an Azure Event Hub for device messages.
15
+
In this quickstart, you'll learn how to deploy MedTech service in the Azure portal. The MedTech service will enable you to ingest data from Internet of Things (IoT) into your Fast Healthcare Interoperability Resources (FHIR®) service.
16
16
17
17
## Prerequisites
18
18
19
-
It's important that you have the following prerequisites completed before you begin the steps of creating an MedTech service instance in Azure Health Data Services.
19
+
It's important that you have the following prerequisites completed before you begin the steps of creating a MedTech service instance in Azure Health Data Services.
*[Resource group deployed in the Azure portal](../../azure-resource-manager/management/manage-resource-groups-portal.md)
23
-
*[Event Hubs namespace and Event Hub deployed in the Azure portal](../../event-hubs/event-hubs-create.md)
23
+
*[Event Hubs namespace and event hub deployed in the Azure portal](../../event-hubs/event-hubs-create.md)
24
24
*[Workspace deployed in Azure Health Data Services](../healthcare-apis-quickstart.md)
25
-
*[FHIR service deployed in Azure Health Data Services](../fhir/fhir-portal-quickstart.md)
25
+
*[FHIR service deployed in Azure Health Data Services](../fhir/fhir-portal-quickstart.md)
26
+
27
+
> [!IMPORTANT]
28
+
> If you're going to allow access from multiple services to the device message event hub, it is highly recommended that each service have its own event hub consumer group.
29
+
>
30
+
> Consumer groups enable multiple consuming applications to each have a separate view of the event stream, and to read the stream independently at their own pace and with their own offsets. For more information, see, [Consumer groups](../../event-hubs/event-hubs-features.md#consumer-groups).
31
+
>
32
+
> Examples:
33
+
>* Two MedTech services accessing the same device message event hub.
34
+
>* A MedTech service and a storage writer application accessing the same device message event hub.
26
35
27
36
## Deploy MedTech service
28
37
@@ -50,9 +59,9 @@ Under the **Basics** tab, complete the required fields under **Instance details*
50
59
51
60
2. Enter the **Event Hub name**.
52
61
53
-
The Event Hub name is the name of the **Event Hubs Instance** that you've deployed.
62
+
The event hub name is the name of the **Event Hubs Instance** that you've deployed.
54
63
55
-
For information about Azure Event Hubs, see [Quickstart: Create an Event Hub using Azure portal](../../event-hubs/event-hubs-create.md#create-an-event-hubs-namespace).
64
+
For information about Azure Event Hubs, see [Quickstart: Create an event hub using Azure portal](../../event-hubs/event-hubs-create.md#create-an-event-hubs-namespace).
56
65
57
66
3. Enter the **Consumer Group**.
58
67
@@ -112,11 +121,11 @@ Under the **Destination** tab, enter the destination properties associated with
112
121
113
122
**Create**
114
123
115
-
The MedTech service destination attempts to retrieve a device resource from the FHIR Server using the device identifier included in the Event Hub message. It also attempts to retrieve a patient resource from the FHIR Server using the patient identifier included in the Event Hub message. If either resource isn't found, new resources will be created (device, patient, or both) containing just the identifier contained in the Event Hub message. When you use the **Create** option, both a device identifier and a patient identifier can be configured in the device mapping. In other words, when the IoT Connector destination is in **Create** mode, it can function normally **without** adding device and patient resources to the FHIR Server.
124
+
The MedTech service destination attempts to retrieve a device resource from the FHIR Server using the device identifier included in the event hub message. It also attempts to retrieve a patient resource from the FHIR Server using the patient identifier included in the event hub message. If either resource isn't found, new resources will be created (device, patient, or both) containing just the identifier contained in the event hub message. When you use the **Create** option, both a device identifier and a patient identifier can be configured in the device mapping. In other words, when the IoT Connector destination is in **Create** mode, it can function normally **without** adding device and patient resources to the FHIR Server.
116
125
117
126
**Lookup**
118
127
119
-
The MedTech service destination attempts to retrieve a device resource from the FHIR Server using the device identifier included in the event hub message. If the device resource isn't found, this will cause an error, and the data won't be processed. For **Lookup** to function properly, a device resource with an identifier matching the device identifier included in the event hub message **must** exist and the device resource **must** have a reference to a patient resource that also exists. In other words, when the MedTech service destination is in the Lookup mode, device and patient resources **must** be added to the FHIR Server before data can be processed.
128
+
The MedTech service destination attempts to retrieve a device resource from the FHIR service using the device identifier included in the event hub message. If the device resource isn't found, an error will occur, and the data won't be processed. For **Lookup** to function properly, a device resource with an identifier matching the device identifier included in the event hub message **must** exist and the device resource **must** have a reference to a patient resource that also exists. In other words, when the MedTech service destination is in the Lookup mode, device and patient resources **must** be added to the FHIR Server before data can be processed.
120
129
121
130
For more information, see the open source documentation [FHIR destination mapping](https://github.com/microsoft/iomt-fhir/blob/master/docs/Configuration.md#fhir-mapping).
122
131
@@ -151,13 +160,13 @@ Under the **Tags** tab, enter the tag properties associated with the MedTech ser
151
160
152
161

153
162
154
-
Now that your MedTech service has been deployed, we're going to walk through the steps of assigning permissions to access the Event Hub and FHIR service.
163
+
Now that your MedTech service has been deployed, we're going to walk through the steps of assigning permissions to access the event hub and FHIR service.
155
164
156
165
## Granting MedTech service access
157
166
158
-
To ensure that your MedTech service works properly, it must have granted access permissions to the Event Hub and FHIR service.
167
+
To ensure that your MedTech service works properly, it must have granted access permissions to the event hub and FHIR service.
159
168
160
-
### Accessing the MedTech service from the Event Hub
169
+
### Accessing the MedTech service from the event hub
161
170
162
171
1. In the **Azure Resource group** list, select the name of your **Event Hubs Namespace**.
163
172
@@ -173,7 +182,7 @@ To ensure that your MedTech service works properly, it must have granted access
173
182
174
183

175
184
176
-
The Azure Event Hubs Data Receiver role allows the MedTech service that's being assigned this role to receive data from this Event Hub.
185
+
The Azure Event Hubs Data Receiver role allows the MedTech service that's being assigned this role to receive data from this event hub.
177
186
178
187
For more information about application roles, see [Authentication & Authorization for Azure Health Data Services](.././authentication-authorization.md).
179
188
@@ -183,11 +192,11 @@ To ensure that your MedTech service works properly, it must have granted access
183
192
184
193
`<your workspace name>/iotconnectors/<your MedTech service name>`
185
194
186
-
When you deploy an MedTech service, it creates a managed identity. The managed identify name is a concatenation of the workspace name, resource type (that's the MedTech service), and the name of the MedTech service.
195
+
When you deploy a MedTech service, it creates a managed identity. The managed identify name is a concatenation of the workspace name, resource type (that's the MedTech service), and the name of the MedTech service.
187
196
188
197
7. Select **Save**.
189
198
190
-
After the role assignment has been successfully added to the Event Hub, a notification will display a green check mark with the text "Add Role assignment." This message indicates that the MedTech service can now read from the Event Hub.
199
+
After the role assignment has been successfully added to the event hub, a notification will display a green check mark with the text "Add Role assignment." This message indicates that the MedTech service can now read from the event hub.
191
200
192
201

193
202
@@ -221,9 +230,9 @@ For more information about authoring access to Event Hubs resources, see [Author
221
230
222
231
## Next steps
223
232
224
-
In this article, you've learned how to deploy an MedTech service in the Azure portal. For an overview of MedTech service, see
233
+
In this article, you've learned how to deploy a MedTech service in the Azure portal. For an overview of MedTech service, see
225
234
226
235
>[!div class="nextstepaction"]
227
236
>[MedTech service overview](iot-connector-overview.md)
228
237
229
-
(FHIR®) is a registered trademark of [HL7](https://hl7.org/fhir/) and is used with the permission of HL7.
238
+
FHIR® is a registered trademark of [HL7](https://hl7.org/fhir/) and is used with the permission of HL7.
0 commit comments