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/how-to-use-iotjsonpathcontenttemplate-mappings.md
+18-18Lines changed: 18 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,23 +1,23 @@
1
1
---
2
-
title: How to use IotJsonPathContentTemplate mappings in the MedTech service device mapping - Azure Health Data Services
3
-
description: This article describes how to use IotJsonPathContentTemplate mappings with the MedTech service device mapping.
2
+
title: How to use IotJsonPathContentTemplate mappings in the MedTech service device mappings - Azure Health Data Services
3
+
description: This article describes how to use IotJsonPathContentTemplate mappings with the MedTech service device mappings.
4
4
author: msjasteppe
5
5
ms.service: healthcare-apis
6
6
ms.subservice: fhir
7
7
ms.topic: how-to
8
-
ms.date: 1/12/2023
8
+
ms.date: 02/02/2023
9
9
ms.author: jasteppe
10
10
---
11
11
12
12
# How to use IotJsonPathContentTemplate mappings
13
13
14
-
This article describes how to use IoTJsonPathContentTemplate mappings with the MedTech service [device mapping](how-to-configure-device-mappings.md).
14
+
This article describes how to use IoTJsonPathContentTemplate mappings with the MedTech service [device mappings](how-to-configure-device-mappings.md).
15
15
16
16
## IotJsonPathContentTemplate
17
17
18
18
The IotJsonPathContentTemplate is similar to the JsonPathContentTemplate except the `DeviceIdExpression` and `TimestampExpression` aren't required.
19
19
20
-
The assumption, when using this template, is the messages being evaluated were sent using the [Azure IoT Hub Device SDKs](../../iot-hub/iot-hub-devguide-sdks.md#azure-iot-hub-device-sdks) or [Export Data (legacy)](../../iot-central/core/howto-export-data-legacy.md) feature of [Azure IoT Central](../../iot-central/core/overview-iot-central.md).
20
+
The assumption, when using this template, is the device messages being evaluated were sent using the [Azure IoT Hub Device SDKs](../../iot-hub/iot-hub-devguide-sdks.md#azure-iot-hub-device-sdks) or [Export Data (legacy)](../../iot-central/core/howto-export-data-legacy.md) feature of [Azure IoT Central](../../iot-central/core/overview-iot-central.md).
21
21
22
22
When you're using these SDKs, the device identity and the timestamp of the message are known.
23
23
@@ -32,9 +32,9 @@ If you're using Azure IoT Hub Device SDKs, you can still use the JsonPathContent
32
32
### Examples
33
33
34
34
With each of these examples, you're provided with:
35
-
* A valid IoT device message.
36
-
* An example of what the IoT device message will look like after being received and processed by the IoT Hub.
37
-
*A valid MedTech service device mapping for normalizing the IoT device message after IoT Hub processing.
35
+
* A valid device message.
36
+
* An example of what the device message will look like after being received and processed by the IoT hub.
37
+
*Conforming and valid MedTech service device mappings for normalizing the device message after IoT hub processing.
38
38
* An example of what the MedTech service device message will look like after normalization.
39
39
40
40
> [!IMPORTANT]
@@ -45,15 +45,15 @@ With each of these examples, you're provided with:
45
45
46
46
**Heart rate**
47
47
48
-
**A valid IoT device message to send to your IoT Hub.**
48
+
**A valid device message to send to your IoT hub.**
49
49
50
50
```json
51
51
52
52
{“heartRate” : “78”}
53
53
54
54
```
55
55
56
-
**An example of what the IoT device message will look like after being received and processed by the IoT Hub.**
56
+
**An example of what the device message will look like after being received and processed by the IoT hub.**
57
57
58
58
> [!NOTE]
59
59
> The IoT Hub enriches the device message before sending it to the MedTech service device event hub with all properties starting with `iothub`. For example: `iothub-creation-time-utc`.
@@ -76,7 +76,7 @@ With each of these examples, you're provided with:
76
76
77
77
```
78
78
79
-
**A valid MedTech service device mapping for normalizing the IoT device message after IoT Hub processing.**
79
+
**Conforming and valid MedTech service device mappings for normalizing device message data after IoT Hub processing.**
80
80
81
81
```json
82
82
@@ -123,7 +123,7 @@ With each of these examples, you're provided with:
123
123
124
124
**Blood pressure**
125
125
126
-
**A valid IoT device message to send to your IoT Hub.**
126
+
**A valid IoT device message to send to your IoT hub.**
127
127
128
128
```json
129
129
@@ -134,10 +134,10 @@ With each of these examples, you're provided with:
134
134
135
135
```
136
136
137
-
**An example of what the IoT device message will look like after being received and processed by the IoT Hub.**
137
+
**An example of what the device message will look like after being received and processed by the IoT hub.**
138
138
139
139
> [!NOTE]
140
-
> The IoT Hub enriches the device message before sending it to the MedTech service device event hub with all properties starting with `iothub`. For example: `iothub-creation-time-utc`.
140
+
> The IoT hyub enriches the device message before sending it to the MedTech service device event hub with all properties starting with `iothub`. For example: `iothub-creation-time-utc`.
141
141
>
142
142
> `patientIdExpression` is only required for MedTech services in the **Create** mode, however, if **Lookup** is being used, a Device resource with a matching Device Identifier must exist in the FHIR service. These examples assume your MedTech service is in a **Create** mode. For more information on the **Create** and **Lookup****Destination properties**, see [Configure Destination properties](deploy-05-new-config.md#destination-properties).
143
143
@@ -158,7 +158,7 @@ With each of these examples, you're provided with:
158
158
159
159
```
160
160
161
-
**A valid MedTech service device mapping for normalizing the IoT device message after IoT Hub processing.**
161
+
**Conforming and valid MedTech service device mappings for normalizing the device message after IoT hub processing.**
162
162
163
163
```json
164
164
@@ -213,11 +213,11 @@ With each of these examples, you're provided with:
213
213
```
214
214
215
215
> [!TIP]
216
-
> The IotJsonPathTemplate device mapping examples provided in this article may be combined into a single MedTech service device mapping as shown below.
216
+
> The IotJsonPathContentTemplate device mapping examples provided in this article may be combined into a single MedTech service device mappings as shown.
217
217
>
218
-
> Additionally, the IotJasonPathTemplates can also be combined with with other template types such as [JasonPathContentTemplate mappings](how-to-use-jsonpath-content-mappings.md) to further expand your MedTech service device mapping.
218
+
> Additionally, the IotJasonPathContentTemplate can also be combined with with other template types such as [JsonPathContentTemplate mappings](how-to-use-jsonpath-content-mappings.md) to further expand your MedTech service device mapping.
219
219
220
-
**Combined heart rate and blood pressure MedTech service device mapping example.**
220
+
**Combined heart rate and blood pressure MedTech service device mappings example.**
0 commit comments