X.aggregate(<iteration>, <init>) === Aggregate(<iteration>, <init>)
This is the current officially released version of Clinical Quality Language, 1.4 in it's permanent home.
For a full list of available versions, see the Directory of published versions .
Clinical Decision Support Work Group | Maturity Level: 4 | Standards Status: Trial Use |
This appendix provides detailed mappings for each FHIRPath function in terms of the ELM output produced.
X.as(T) === X as T
Note that the type argument T is expected to be a literal string and must resolve to the name of a type.
X.conformsTo(Y) === FHIRSupport.ConformsTo(Y)
Note that this mapping relies on an external library, FHIRSupport to provide conformance validation checking.
X.indexOf(Y) === PositionOf(Y, X) // Note carefully the order of arguments here, it’s the opposite of IndexOf
X.is(T) === X is T
Note that the argument T is expected to be a literal string and must resolve to the name of a type.
X.lastIndexOf(Y) === LastPositionOf(Y, X) // Note carefully the order of arguments here, it’s the opposite of lastIndexOf.
X.ofType(T) === X $this where $this is T return $this as T
Note that the argument T is required to be a literal string, and is interpreted as the name of a type. For non-named-types, type specifier syntax applies.
X.repeat(<element>) === Repeat(X, <element>)
The type of X.repeat(<element>) is inferred as the type of:
X.select(<element>).select(<element>)