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-iotjsonpathcontent-mappings.md
+24-21Lines changed: 24 additions & 21 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,39 +1,42 @@
1
1
---
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.
2
+
title: How to use IotJsonPathContent mappings in the MedTech service device mappings - Azure Health Data Services
3
+
description: This article describes how to use IotJsonPathContent 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: 02/02/2023
8
+
ms.date: 04/13/2023
9
9
ms.author: jasteppe
10
10
---
11
11
12
-
# How to use IotJsonPathContentTemplate mappings
12
+
# How to use IotJsonPathContent mappings
13
13
14
-
This article describes how to use IoTJsonPathContentTemplate mappings with the MedTech service [device mappings](how-to-configure-device-mappings.md).
14
+
> [!NOTE]
15
+
> [Fast Healthcare Interoperability Resources (FHIR®)](https://www.hl7.org/fhir/) is an open healthcare specification.
16
+
17
+
This article describes how to use IoTJsonPathContent mappings with the MedTech service [device mappings](overview-of-device-mapping.md).
15
18
16
-
## IotJsonPathContentTemplate
19
+
## IotJsonPathContent
17
20
18
-
The IotJsonPathContentTemplate is similar to the JsonPathContentTemplate except the `DeviceIdExpression` and `TimestampExpression` aren't required.
21
+
The IotJsonPathContent is similar to the JsonPathContent except the `DeviceIdExpression` and `TimestampExpression` aren't required.
19
22
20
23
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
24
22
25
When you're using these SDKs, the device identity and the timestamp of the message are known.
23
26
24
27
> [!IMPORTANT]
25
-
> Make sure that you're using a device identifier from Azure Iot Hub or Azure IoT Central that is registered as an identifier for a device resource on the destination Fast Healthcare Interoperability Resource (FHIR®) service.
28
+
> Make sure that you're using a device identifier from Azure Iot Hub or Azure IoT Central that is registered as an identifier for a device resource on the destination FHIR service.
26
29
27
30
If you're using Azure IoT Hub Device SDKs, you can still use the JsonPathContentTemplate, assuming that you're using custom properties in the message body for the device identity or measurement timestamp.
28
31
29
32
> [!NOTE]
30
-
> When using `IotJsonPathContentTemplate`, the `TypeMatchExpression` should resolve to the entire message as a JToken. For more information, see the following examples:
33
+
> When using `IotJsonPathContent`, the `TypeMatchExpression` should resolve to the entire message as a JToken. For more information, see the following examples:
31
34
32
35
### Examples
33
36
34
37
With each of these examples, you're provided with:
35
38
* A valid device message.
36
-
* An example of what the device message will look like after being received and processed by the IoT hub.
39
+
* An example of what the device message will look like after IoT hub receiving and processing.
37
40
* Conforming and valid MedTech service device mappings for normalizing the device message after IoT hub processing.
38
41
* An example of what the MedTech service device message will look like after normalization.
39
42
@@ -76,7 +79,7 @@ With each of these examples, you're provided with:
76
79
77
80
```
78
81
79
-
**Conforming and valid MedTech service device mappings for normalizing device message data after IoT Hub processing.**
82
+
**Conforming and valid MedTech service device mappings for normalizing device data after IoT Hub processing.**
80
83
81
84
```json
82
85
@@ -103,7 +106,7 @@ With each of these examples, you're provided with:
103
106
104
107
```
105
108
106
-
**An example of what the MedTech service device message will look like after the normalization process.**
109
+
**An example of what the MedTech service device data will look like after the normalization process.**
107
110
108
111
```json
109
112
@@ -158,7 +161,7 @@ With each of these examples, you're provided with:
158
161
159
162
```
160
163
161
-
**Conforming and valid MedTech service device mappings for normalizing the device message after IoT hub processing.**
164
+
**Conforming and valid MedTech service device mappings for normalizing the device data after IoT hub processing.**
162
165
163
166
```json
164
167
@@ -190,7 +193,7 @@ With each of these examples, you're provided with:
190
193
191
194
```
192
195
193
-
**An example of what the MedTech service device message will look like after the normalization process.**
196
+
**An example of what the MedTech service device data will look like after the normalization process.**
194
197
195
198
```json
196
199
@@ -213,19 +216,19 @@ With each of these examples, you're provided with:
213
216
```
214
217
215
218
> [!TIP]
216
-
> The IotJsonPathContentTemplate device mapping examples provided in this article may be combined into a single MedTech service device mappings as shown.
219
+
> The IotJsonPathContent device mapping examples provided in this article may be combined into a single MedTech service device mappings as shown.
217
220
>
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.
221
+
> Additionally, the IotJasonPathContent can also be combined with with other template types such as [JsonPathContent mappings](how-to-use-jsonpath-content-mappings.md) to further expand your MedTech service device mapping.
219
222
220
-
**Combined heart rate and blood pressure MedTech service device mappings example.**
223
+
**Combined heart rate and blood pressure MedTech service device mapping example.**
221
224
222
225
```json
223
226
224
227
{
225
228
"templateType": "CollectionContent",
226
229
"template": [
227
230
{
228
-
"templateType": "IotJsonPathContentTemplate",
231
+
"templateType": "IotJsonPathContent",
229
232
"template": {
230
233
"typeName": "heartRate",
231
234
"typeMatchExpression": "$..[?(@Body.heartRate)]",
@@ -240,7 +243,7 @@ With each of these examples, you're provided with:
Copy file name to clipboardExpand all lines: articles/healthcare-apis/iot/overview-of-device-mapping.md
+3-3Lines changed: 3 additions & 3 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: overview
8
-
ms.date: 04/03/2023
8
+
ms.date: 04/13/2023
9
9
ms.author: jasteppe
10
10
---
11
11
@@ -66,7 +66,7 @@ You can use these template types within CollectionContent depending on your use
66
66
67
67
and/or
68
68
69
-
-[IotJsonPathContent](how-to-use-iotjsonpathcontenttemplate-mappings.md) for device messages being routed through [Azure IoT Hub](/azure/iot-hub/iot-concepts-and-iot-hub) to your MedTech service event hub. IotJsonPathContent supports [JSONPath](https://goessner.net/articles/JsonPath/).
69
+
-[IotJsonPathContent](how-to-use-iotjsonpathcontent-mappings.md) for device messages being routed through [Azure IoT Hub](/azure/iot-hub/iot-concepts-and-iot-hub) to your MedTech service event hub. IotJsonPathContent supports [JSONPath](https://goessner.net/articles/JsonPath/).
0 commit comments