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-calculatedcontent-mappings.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,7 @@ This article describes how to use CalculatedContent mappings with MedTech servic
15
15
16
16
## Overview of CalculatedContent mappings
17
17
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.
19
19
20
20
> [!NOTE]
21
21
> 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
71
71
72
72
|Property|Description|Example|
73
73
|--------|-----------|-------|
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)]`|
76
76
|`TimestampExpression`|The expression to extract the timestamp value for the measurement's `OccurrenceTimeUtc` value.|`$.matchedToken.endDate`|
77
77
|`DeviceIdExpression`|The expression to extract the device identifier.|`$.matchedToken.deviceId`|
78
78
|`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
102
102
103
103
## Matched token
104
104
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.
106
106
107
107
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.
0 commit comments