Stream: implementers
Topic: FHIRPath "is" -- is it an operator or function?
Ivan Dubrov (Oct 02 2018 at 17:49):
Here: https://build.fhir.org/fhirpath.html#types you can see ".is" used as a function.
However, in FHIR Path specification it is defined as an operator taking a single value: http://hl7.org/fhirpath/index.html#types
Which one is correct?
Also, what's the difference between "as" operator and "ofType" (except that "as" is defined for a single item and "ofType" is more like a filter function, which can take multiple values as an input)? Why both are needed?
Grahame Grieve (Oct 02 2018 at 20:04):
fhirpath is wrong to use .is - can you file a task
Grahame Grieve (Oct 02 2018 at 20:10):
as and .ofType are different as defined in FHIR
Last updated: Apr 12 2022 at 19:14 UTC