FHIR Chat · Aias in rule expression · shorthand

Stream: shorthand

Topic: Aias in rule expression


view this post on Zulip Catherine Hosage Norman (Feb 09 2022 at 21:22):

Can an alias be used in the expression for rule. Example:
Alias: $DUNS = urn:oid:1.3.6.1.4.1.519.1
Alias: $FEINumber = urn:oid:2.16.840.1.113883.4.82

Invariant: pq-1.1.1
Description: "Indetnfier number is 9 digits"
Expression: "system = '$DUNS' or 'FEINumber' implies value.length() = 9"
Severity: #error

view this post on Zulip Jean Duteau (Feb 09 2022 at 21:36):

no. That string goes straight into the invariant expression and there is no "pre-processing" by SUSHI

view this post on Zulip Catherine Hosage Norman (Feb 09 2022 at 22:07):

thanks


Last updated: Apr 12 2022 at 19:14 UTC