Stream: implementers
Topic: Creating a Coding in FHIRPath?
RP (May 12 2021 at 19:20):
I have an expression I want to write that has the following behavior iif(somecondition, return new Coding(system, value), return other Coding(system, value))
The issue I'm running into is I don't see a native way within FHIRPath to create Codings. You can extract a Coding from an object but I need to dynamically create one. We noticed that CQL does support this but I need this natively supported in FP.
Lloyd McKenzie (May 12 2021 at 21:45):
FHIRPath is generally about navigation, not creating. You might raise this on #fhirpath
RP (May 12 2021 at 22:05):
Yea I can move the thread there. I agree it is generally about navigation but FP still has support for creating values on the fly with literals (which is in essence what I want here).
RP (May 12 2021 at 22:07):
(deleted)
Last updated: Apr 12 2022 at 19:14 UTC