Skip to content

Commit 19fa4ae

Browse files
authored
Merge pull request #234468 from msjasteppe/quick-edits
Updating based on team discussion
2 parents c465c66 + 91baffa commit 19fa4ae

File tree

4 files changed

+33
-26
lines changed

4 files changed

+33
-26
lines changed

.openpublishing.redirection.healthcare-apis.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -654,7 +654,11 @@
654654
"redirect_document_id": false
655655
},
656656
{ "source_path_from_root": "/articles/healthcare-apis/iot/how-to-use-iot-jsonpath-content-mappings.md",
657-
"redirect_url": "/azure/healthcare-apis/iot/how-to-use-iotjsonpathcontenttemplate-mappings",
657+
"redirect_url": "/azure/healthcare-apis/iot/how-to-use-iotjsonpathcontent-mappings",
658+
"redirect_document_id": false
659+
},
660+
{ "source_path_from_root": "/articles/healthcare-apis/iot/how-to-use-iotjsonpathcontenttemplate-mappings.md",
661+
"redirect_url": "/azure/healthcare-apis/iot/how-to-use-iotjsonpathcontent-mappings",
658662
"redirect_document_id": false
659663
},
660664
{ "source_path_from_root": "/articles/healthcare-apis/iot/deploy-new-button.md",

articles/healthcare-apis/iot/how-to-use-iotjsonpathcontenttemplate-mappings.md renamed to articles/healthcare-apis/iot/how-to-use-iotjsonpathcontent-mappings.md

Lines changed: 24 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,42 @@
11
---
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.
44
author: msjasteppe
55
ms.service: healthcare-apis
66
ms.subservice: fhir
77
ms.topic: how-to
8-
ms.date: 02/02/2023
8+
ms.date: 04/13/2023
99
ms.author: jasteppe
1010
---
1111

12-
# How to use IotJsonPathContentTemplate mappings
12+
# How to use IotJsonPathContent mappings
1313

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).
1518

16-
## IotJsonPathContentTemplate
19+
## IotJsonPathContent
1720

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.
1922

2023
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).
2124

2225
When you're using these SDKs, the device identity and the timestamp of the message are known.
2326

2427
> [!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.
2629
2730
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.
2831

2932
> [!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:
3134
3235
### Examples
3336

3437
With each of these examples, you're provided with:
3538
* 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.
3740
* Conforming and valid MedTech service device mappings for normalizing the device message after IoT hub processing.
3841
* An example of what the MedTech service device message will look like after normalization.
3942

@@ -76,7 +79,7 @@ With each of these examples, you're provided with:
7679

7780
```
7881

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.**
8083

8184
```json
8285

@@ -103,7 +106,7 @@ With each of these examples, you're provided with:
103106

104107
```
105108

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.**
107110

108111
```json
109112

@@ -158,7 +161,7 @@ With each of these examples, you're provided with:
158161

159162
```
160163

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.**
162165

163166
```json
164167

@@ -190,7 +193,7 @@ With each of these examples, you're provided with:
190193

191194
```
192195

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.**
194197

195198
```json
196199

@@ -213,19 +216,19 @@ With each of these examples, you're provided with:
213216
```
214217

215218
> [!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.
217220
>
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.
219222
220-
**Combined heart rate and blood pressure MedTech service device mappings example.**
223+
**Combined heart rate and blood pressure MedTech service device mapping example.**
221224

222225
```json
223226

224227
{
225228
"templateType": "CollectionContent",
226229
"template": [
227230
{
228-
"templateType": "IotJsonPathContentTemplate",
231+
"templateType": "IotJsonPathContent",
229232
"template": {
230233
"typeName": "heartRate",
231234
"typeMatchExpression": "$..[?(@Body.heartRate)]",
@@ -240,7 +243,7 @@ With each of these examples, you're provided with:
240243
}
241244
},
242245
{
243-
"templateType": "IotJsonPathContentTemplate",
246+
"templateType": "IotJsonPathContent",
244247
"template": {
245248
"typeName": "bloodpressure",
246249
"typeMatchExpression": "$..[?(@Body.systolic && @Body.diastolic)]",
@@ -269,9 +272,9 @@ With each of these examples, you're provided with:
269272
270273
## Next steps
271274

272-
In this article, you learned how to use IotJsonPathContentTemplate mappings with the MedTech service device mappings.
275+
In this article, you learned how to use IotJsonPathContent mappings with the MedTech service device mapping.
273276

274-
To learn how to configure the MedTech service FHIR destination mappings, see
277+
To learn how to configure the MedTech service FHIR destination mapping, see
275278

276279
> [!div class="nextstepaction"]
277280
> [How to configure FHIR destination mappings](how-to-configure-fhir-mappings.md)

articles/healthcare-apis/iot/overview-of-device-mapping.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ author: msjasteppe
55
ms.service: healthcare-apis
66
ms.subservice: fhir
77
ms.topic: overview
8-
ms.date: 04/03/2023
8+
ms.date: 04/13/2023
99
ms.author: jasteppe
1010
---
1111

@@ -66,7 +66,7 @@ You can use these template types within CollectionContent depending on your use
6666

6767
and/or
6868

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/).
7070

7171
:::image type="content" source="media/overview-of-device-mapping/device-mapping-templates-diagram.png" alt-text="Diagram showing MedTech service device mapping templates architecture." lightbox="media/overview-of-device-mapping/device-mapping-templates-diagram.png":::
7272

@@ -147,7 +147,7 @@ To learn how to use CalculatedContent with the MedTech service device mapping, s
147147
To learn how to use IotJsonPathContent with the MedTech service device mapping, see
148148

149149
> [!div class="nextstepaction"]
150-
> [How to use IotJsonPathContent with the MedTech service device mapping](how-to-use-iotjsonpathcontenttemplate-mappings.md)
150+
> [How to use IotJsonPathContent with the MedTech service device mapping](how-to-use-iotjsonpathcontent-mappings.md)
151151
152152
To learn how to use custom functions with the MedTech service device mapping, see
153153

articles/healthcare-apis/iot/toc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ items:
5454
- name: Use CalculatedContent
5555
href: how-to-use-calculatedcontent-mappings.md
5656
- name: Use IotJsonPathContent
57-
href: how-to-use-iotjsonpathcontenttemplate-mappings.md
57+
href: how-to-use-iotjsonpathcontent-mappings.md
5858
- name: Use custom functions
5959
href: how-to-use-custom-functions.md
6060
- name: Destination

0 commit comments

Comments
 (0)