Skip to content

Commit adfb39c

Browse files
committed
edit pass: how-to-use-calculatedcontent-mappings
1 parent 40b9dc9 commit adfb39c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ This article describes how to use CalculatedContent mappings with MedTech servic
1515

1616
## Overview of CalculatedContent mappings
1717

18-
The MedTech service provides an expression-based content template to both match the wanted template and extract values. Either JSONPath or JMESPath can use *expressions*. Each expression within the template can use its own expression language.
18+
The MedTech service provides an expression-based content template to both match the wanted template and extract values. Either JSONPath or JMESPath can use expressions. Each expression within the template can use its own expression language.
1919

2020
> [!NOTE]
2121
> If you don't define an expression language, MedTech service device mappings use the default expression language that's configured for the template. The default is JSONPath, but you can overwrite it if necessary.
@@ -71,8 +71,8 @@ CalculatedContent mappings allow matching on, and extracting values from, an Azu
7171

7272
|Property|Description|Example|
7373
|--------|-----------|-------|
74-
|`TypeName`|The type to associate with measurements that match the template.|`heartrate` value|
75-
|`TypeMatchExpression`|The expression that the MedTech service evaluates against the `EventData` payload. If it finds a matching `JToken` value, it considers the template a match. The MedTech service evaluates all later expressions against the extracted `JToken` value matched here.|`$..[?(@heartRate)]`|
74+
|`TypeName`|The type to associate with measurements that match the template.|`heartrate`|
75+
|`TypeMatchExpression`|The expression that the MedTech service evaluates against the `EventData` payload. If the service finds a matching `JToken` value, it considers the template a match. The service evaluates all later expressions against the extracted `JToken` value matched here.|`$..[?(@heartRate)]`|
7676
|`TimestampExpression`|The expression to extract the timestamp value for the measurement's `OccurrenceTimeUtc` value.|`$.matchedToken.endDate`|
7777
|`DeviceIdExpression`|The expression to extract the device identifier.|`$.matchedToken.deviceId`|
7878
|`PatientIdExpression`|The expression to extract the patient identifier. *Required* when `IdentityResolution` is in `Create` mode, and *optional* when `IdentityResolution` is in `Lookup` mode.|`$.matchedToken.patientId`|
@@ -102,7 +102,7 @@ A set of custom functions for the MedTech service is also available. The MedTech
102102

103103
## Matched token
104104

105-
The MedTech service evaluates `TypeMatchExpression` against the incoming `EventData` payload. If it finds a matching `JToken` value, it considers the template a match.
105+
The MedTech service evaluates `TypeMatchExpression` against the incoming `EventData` payload. If the service finds a matching `JToken` value, it considers the template a match.
106106

107107
The MedTech service evaluates all later expressions against a new `JToken` value. This new `JToken` value contains both the original `EventData` payload and the extracted `JToken` value matched here.
108108

0 commit comments

Comments
 (0)