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-new-choose.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ author: msjasteppe
5
5
ms.service: healthcare-apis
6
6
ms.subservice: fhir
7
7
ms.topic: quickstart
8
-
ms.date: 1/10/2023
8
+
ms.date: 1/18/2023
9
9
ms.author: jasteppe
10
10
---
11
11
@@ -27,7 +27,7 @@ In this quickstart, you'll learn about these deployment methods:
27
27
28
28
[](https://portal.azure.com/#create/Microsoft.Template/uri/https%3A%2F%2Fraw.githubusercontent.com%2FAzure%2Fazure-quickstart-templates%2Fmaster%2Fquickstarts%2Fmicrosoft.healthcareapis%2Fworkspaces%2Fiotconnectors-with-iothub%2Fazuredeploy.json)
29
29
30
-
To learn more about deploying the MedTech service including an Azure IoT Hub using an ARM template and the **Deploy to Azure** button, see [Receive device messages through Azure IoT Hub](device-data-through-iot-hub.md).
30
+
To learn more about deploying the MedTech service including an Azure IoT Hub using an ARM template and the **Deploy to Azure** button, see [Receive device messages through Azure IoT Hub](device-messages-through-iot-hub.md).
Copy file name to clipboardExpand all lines: articles/healthcare-apis/iot/device-messages-through-iot-hub.md
+14-14Lines changed: 14 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,15 +6,15 @@ author: msjasteppe
6
6
ms.service: healthcare-apis
7
7
ms.subservice: iomt
8
8
ms.topic: tutorial
9
-
ms.date: 12/27/2022
9
+
ms.date: 1/18/2023
10
10
ms.author: jasteppe
11
11
---
12
12
13
13
# Tutorial: Receive device messages through Azure IoT Hub
14
14
15
15
For enhanced workflows and ease of use, you can use the MedTech service to receive messages from devices you create and manage through an IoT hub in [Azure IoT Hub](../../iot-hub/iot-concepts-and-iot-hub.md). This tutorial uses an Azure Resource Manager template (ARM template) and a **Deploy to Azure** button to deploy a MedTech service. The template creates an IoT hub to create and manage devices, and then routes device messages to an event hub in Azure Event Hubs for the MedTech service to pick up.
16
16
17
-
:::image type="content" source="media\device-data-through-iot-hub\data-flow-diagram.png" border="false" alt-text="Diagram of the IoT message data flow through an IoT hub and event hub, and then into the MedTech service." lightbox="media\device-data-through-iot-hub\data-flow-diagram.png":::
17
+
:::image type="content" source="media\device-messages-through-iot-hub\data-flow-diagram.png" border="false" alt-text="Diagram of the IoT message data flow through an IoT hub and event hub, and then into the MedTech service." lightbox="media\device-messages-through-iot-hub\data-flow-diagram.png":::
18
18
19
19
> [!TIP]
20
20
> To learn more about how the MedTech service transforms and persists device messages into the Fast Healthcare Interoperability Resources (FHIR®) service as FHIR Observations, see [The MedTech service data flow](data-flow.md).
@@ -82,23 +82,23 @@ To begin deployment in the Azure portal, select the **Deploy to Azure** button:
82
82
83
83
-**Destination Mapping**: Don't change the default values for this tutorial. The mappings are set in the template to send a device message to your IoT hub later in the tutorial.
84
84
85
-
:::image type="content" source="media\device-data-through-iot-hub\deploy-template-options.png" alt-text="Screenshot that shows deployment options for the MedTech service for Health Data Services in the Azure portal." lightbox="media\device-data-through-iot-hub\deploy-template-options.png":::
85
+
:::image type="content" source="media\device-messages-through-iot-hub\deploy-template-options.png" alt-text="Screenshot that shows deployment options for the MedTech service for Health Data Services in the Azure portal." lightbox="media\device-messages-through-iot-hub\deploy-template-options.png":::
86
86
87
87
2. To validate your configuration, select **Review + create**.
88
88
89
-
:::image type="content" source="media\device-data-through-iot-hub\review-and-create-button.png" alt-text="Screenshot that shows the Review + create button selected in the Azure portal.":::
89
+
:::image type="content" source="media\device-messages-through-iot-hub\review-and-create-button.png" alt-text="Screenshot that shows the Review + create button selected in the Azure portal.":::
90
90
91
91
3. In **Review + create**, check the template validation status. If validation is successful, the template displays **Validation Passed**. If validation fails, fix the detail that's indicated in the error message, and then select **Review + create** again.
92
92
93
-
:::image type="content" source="media\device-data-through-iot-hub\validation-complete.png" alt-text="Screenshot that shows the Review + create pane displaying the Validation Passed message.":::
93
+
:::image type="content" source="media\device-messages-through-iot-hub\validation-complete.png" alt-text="Screenshot that shows the Review + create pane displaying the Validation Passed message.":::
94
94
95
95
4. After a successful validation, to begin the deployment, select **Create**.
96
96
97
-
:::image type="content" source="media\device-data-through-iot-hub\create-button.png" alt-text="Screenshot that shows the highlighted Create button.":::
97
+
:::image type="content" source="media\device-messages-through-iot-hub\create-button.png" alt-text="Screenshot that shows the highlighted Create button.":::
98
98
99
99
5. In a few minutes, the Azure portal displays the message that your deployment is completed.
100
100
101
-
:::image type="content" source="media\device-data-through-iot-hub\deployment-complete-banner.png" alt-text="Screenshot that shows a green checkmark and the message Your deployment is complete.":::
101
+
:::image type="content" source="media\device-messages-through-iot-hub\deployment-complete-banner.png" alt-text="Screenshot that shows a green checkmark and the message Your deployment is complete.":::
102
102
103
103
> [!IMPORTANT]
104
104
> If you're going to allow access from multiple services to the device message event hub, it is highly recommended that each service has its own event hub consumer group.
@@ -156,22 +156,22 @@ You complete the steps by using Visual Studio Code with the Azure IoT Hub extens
156
156
157
157
2. In Explorer, in **Azure IoT Hub**, select **…** and choose **Select IoT Hub**.
158
158
159
-
:::image type="content" source="media\device-data-through-iot-hub\select-iot-hub.png" alt-text="Screenshot of Visual Studio Code with the Azure IoT Hub extension with the deployed IoT hub selected." lightbox="media\device-data-through-iot-hub\select-iot-hub.png":::
159
+
:::image type="content" source="media\device-messages-through-iot-hub\select-iot-hub.png" alt-text="Screenshot of Visual Studio Code with the Azure IoT Hub extension with the deployed IoT hub selected." lightbox="media\device-messages-through-iot-hub\select-iot-hub.png":::
160
160
161
161
3. Select the Azure subscription where your IoT hub was provisioned.
162
162
163
163
4. Select your IoT hub. The name of your IoT hub is the *basename* you provided when you provisioned the resources prefixed with **ih-**. An example hub name is *ih-azuredocsdemo*.
164
164
165
165
5. In Explorer, in **Azure IoT Hub**, select **…** and choose **Create Device**. An example device name is *iot-001*.
166
166
167
-
:::image type="content" source="media\device-data-through-iot-hub\create-device.png" alt-text="Screenshot that shows Visual Studio Code with the Azure IoT Hub extension with Create device selected." lightbox="media\device-data-through-iot-hub\create-device.png":::
167
+
:::image type="content" source="media\device-messages-through-iot-hub\create-device.png" alt-text="Screenshot that shows Visual Studio Code with the Azure IoT Hub extension with Create device selected." lightbox="media\device-messages-through-iot-hub\create-device.png":::
168
168
169
169
6. To send a test message from the device to your IoT hub, right-click the device and select **Send D2C Message to IoT Hub**.
170
170
171
171
> [!NOTE]
172
172
> In this device-to-cloud (D2C) example, *cloud* is the IoT hub in the Azure IoT Hub that receives the device message. Azure IoT Hub supports two-way communications. To set up a cloud-to-device (C2D) scenario, select **Send C2D Message to Device Cloud**.
173
173
174
-
:::image type="content" source="media\device-data-through-iot-hub\select-device-to-cloud-message.png" alt-text="Screenshot that shows Visual Studio Code with the Azure IoT Hub extension and the Send D2C Message to IoT Hub option selected." lightbox="media\device-data-through-iot-hub\select-device-to-cloud-message.png":::
174
+
:::image type="content" source="media\device-messages-through-iot-hub\select-device-to-cloud-message.png" alt-text="Screenshot that shows Visual Studio Code with the Azure IoT Hub extension and the Send D2C Message to IoT Hub option selected." lightbox="media\device-messages-through-iot-hub\select-device-to-cloud-message.png":::
175
175
176
176
7. In **Send D2C Messages**, select or enter the following values:
177
177
@@ -203,7 +203,7 @@ You complete the steps by using Visual Studio Code with the Azure IoT Hub extens
203
203
204
204
8. To begin the process of sending a test message to your IoT hub, select **Send**.
205
205
206
-
:::image type="content" source="media\device-data-through-iot-hub\select-device-to-cloud-message-options.png" alt-text="Screenshot that shows Visual Studio code with the Azure IoT Hub extension with the device message options selected." lightbox="media\device-data-through-iot-hub\select-device-to-cloud-message-options.png":::
206
+
:::image type="content" source="media\device-messages-through-iot-hub\select-device-to-cloud-message-options.png" alt-text="Screenshot that shows Visual Studio code with the Azure IoT Hub extension with the device message options selected." lightbox="media\device-messages-through-iot-hub\select-device-to-cloud-message-options.png":::
207
207
208
208
After you select **Send**, it might take up to five minutes for the FHIR resources to be available in the FHIR service.
209
209
@@ -221,9 +221,9 @@ For your MedTech service metrics, you can see that your MedTech service complete
221
221
- **Number of Measurements**: Created five measurements.
222
222
- **Number of FHIR resources**: Created five FHIR resources that are persisted in your FHIR service.
223
223
224
-
:::image type="content" source="media\device-data-through-iot-hub\metrics-tile-one.png" alt-text="Screenshot that shows a MedTech service metrics tile and test data metrics." lightbox="media\device-data-through-iot-hub\metrics-tile-one.png":::
224
+
:::image type="content" source="media\device-messages-through-iot-hub\metrics-tile-one.png" alt-text="Screenshot that shows a MedTech service metrics tile and test data metrics." lightbox="media\device-messages-through-iot-hub\metrics-tile-one.png":::
225
225
226
-
:::image type="content" source="media\device-data-through-iot-hub\metrics-tile-two.png" alt-text="Screenshot that shows a second MedTech service metrics tile and test data metrics." lightbox="media\device-data-through-iot-hub\metrics-tile-two.png":::
226
+
:::image type="content" source="media\device-messages-through-iot-hub\metrics-tile-two.png" alt-text="Screenshot that shows a second MedTech service metrics tile and test data metrics." lightbox="media\device-messages-through-iot-hub\metrics-tile-two.png":::
227
227
228
228
## View test data in the FHIR service
229
229
@@ -240,4 +240,4 @@ To learn about other methods for deploying the MedTech service, see
240
240
> [!div class="nextstepaction"]
241
241
> [Choose a deployment method for the MedTech service](deploy-new-choose.md)
242
242
243
-
FHIR® is a registered trademark of Health Level Seven International, registered in the U.S. Trademark Office and is used with their permission.
243
+
FHIR® is a registered trademark of Health Level Seven International, registered in the U.S. Trademark Office and is used with their permission.
0 commit comments