This is Clinical Quality Language STU3 (1.3) in it's permanent home (it will always be available at this URL). It has been superseded by 1.4.
For a full list of available versions, see the Directory of published versions .
Clinical Decision Support Work Group | Maturity Level: 4 | Ballot Status: STU 3 |
This appendix provides detailed mappings for each FHIRPath function in terms of the ELM output produced.
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.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 <type>
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>)