Skip to content

Commit 7236cf4

Browse files
committed
Updates based on feedback review.
1 parent f8feb0c commit 7236cf4

File tree

2 files changed

+6
-9
lines changed

2 files changed

+6
-9
lines changed

articles/healthcare-apis/iot/how-to-use-calculatedcontent-templates.md

Lines changed: 2 additions & 2 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: how-to
8-
ms.date: 07/10/2023
8+
ms.date: 07/20/2023
99
ms.author: jasteppe
1010
---
1111

@@ -206,7 +206,7 @@ The resulting normalized message will look like this after the normalization sta
206206

207207
In this article, you learned how to use CalculatedContent templates with the MedTech service device mapping.
208208

209-
To learn how to use the MedTech service custom functions, see:
209+
To learn how to use the MedTech service custom functions, see
210210

211211
> [!div class="nextstepaction"]
212212
> [How to use custom functions with the MedTech service device mapping](how-to-use-custom-functions.md)

articles/healthcare-apis/iot/how-to-use-iotjsonpathcontent-templates.md

Lines changed: 4 additions & 7 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: how-to
8-
ms.date: 07/10/2023
8+
ms.date: 07/20/2023
99
ms.author: jasteppe
1010
---
1111

@@ -42,9 +42,6 @@ In the following example, `typeMatchExpression` is defined as:
4242
}
4343
```
4444

45-
> [!IMPORTANT]
46-
> The MedTech service will use the device ID defined in IoT hub as the FHIR resource device identifier. If the MedTech service is set up to use an identity resolution type of **Lookup**, a Device resource with a matching device identifier **must** exist in the FHIR service or an error will occur when the device message is processed. If the MedTech service's identity resolution type is set to **Create**, a `patientIdExpression` must be included in the device mapping so that a new Patient resource and Device resource can be created if they do not already exist.
47-
4845
If your MedTech service is set up to ingest device messages from an IoT hub, you aren't required to use IotJsonPathContent templates. CalculatedContent templates can be used assuming that you correctly define the DeviceIdExpression and TimestampExpression.
4946

5047
The IotJsonPathContent templates allow matching on and extracting values from a device message read from an Azure Event Hubs event hub through the following expressions:
@@ -57,6 +54,9 @@ The IotJsonPathContent templates allow matching on and extracting values from a
5754
|correlationIdExpression|*Optional*: The expression to extract the correlation identifier. You can use this output to group values into a single observation in the FHIR destination mapping.|`$.Body.correlationId`|
5855
|values[].valueExpression|The expression to extract the wanted value.|`$.Body.heartRate`|
5956

57+
> [!IMPORTANT]
58+
> The MedTech service will use the device ID defined in IoT hub as the FHIR resource device identifier. If the MedTech service is set up to use an identity resolution type of **Lookup**, a Device resource with a matching device identifier **must** exist in the FHIR service or an error will occur when the device message is processed. If the MedTech service's identity resolution type is set to **Create**, a `patientIdExpression` must be included in the device mapping so that a new Patient resource and Device resource can be created if they do not already exist.
59+
6060
> [!NOTE]
6161
> The **Resolution type** specifies how the MedTech service associates device data with Device resources and Patient resources. The MedTech service reads Device and Patient resources from the FHIR service using [device identifiers](https://www.hl7.org/fhir/r4/device-definitions.html#Device.identifier) and [patient identifiers](https://www.hl7.org/fhir/r4/patient-definitions.html#Patient.identifier). If an [encounter identifier](https://hl7.org/fhir/r4/encounter-definitions.html#Encounter.identifier) is specified and extracted from the device data payload, it's linked to the observation if an encounter exists on the FHIR service with that identifier. If the [encounter identifier](../../healthcare-apis/release-notes.md#medtech-service) is successfully normalized, but no FHIR Encounter exists with that encounter identifier, a **FhirResourceNotFound** exception is thrown. For more information on configuring the MedTech service **Resolution type**, see [Configure the Destination tab](deploy-manual-portal.md#configure-the-destination-tab).
6262
@@ -138,9 +138,6 @@ We're using this device mapping for the normalization stage:
138138
}
139139
```
140140

141-
> [!NOTE]
142-
> The MedTech service evaluates `typeMatchExpression` against the incoming device data payload. If the service finds a matching token value, it considers the template a match.
143-
144141
The resulting normalized message will look like this after the normalization stage:
145142

146143
```json

0 commit comments

Comments
 (0)