-
Change Request
-
Resolution: Persuasive
-
Medium
-
FHIRPath (FHIR)
-
1.0 [deprecated]
-
Implementable Technology Specifications
-
documentation
-
-
Paul Knapp/Jeff Brown: 3-0-0
-
Enhancement
-
Compatible, substantive
The specification does not define indexOf() or lastIndexOf() functions.
There is a workaround:
Practitioner.telecom.select(iff(value='5551212', $index, { }))
{{}}
See the Zulip chat here for discussion: https://chat.fhir.org/#narrow/stream/179266-fhirpath/topic/Finding.20index.20of.20element.20using.20FP.3F{{}}