Stream: fhirpath
Topic: FHIRPath for SearchParameter in complex extension
Simone Heckmann (Dec 12 2018 at 15:49):
How do I write a FHIRPath expression to point at a field in a complex extension?
Like this:
'Binary.extension('http://dmi.de/fhir/StructureDefinition/archivierungsort').extension('archivName').value'
or can I do it in one step
'Binary.extension('http://dmi.de/fhir/StructureDefinition/archivierungsort#archivName').value'
?
Lloyd McKenzie (Dec 12 2018 at 16:00):
The first. We haven't defined a URL syntax to point inside complex extensions
Paul Lynch (Dec 12 2018 at 18:02):
The "extension" function takes a URL. "archivName" does not look like a URL.
Lloyd McKenzie (Dec 12 2018 at 18:48):
archivName is a relative URL - which is what gets used within complex extensions
Simone Heckmann (Dec 13 2018 at 04:56):
Right. In this context, a relative url should suffice for FHIRpath, me thinks.
Simone Heckmann (Dec 13 2018 at 04:56):
I’ll give it a try...
Simone Heckmann (Dec 14 2018 at 11:12):
The second version works (for VONK)!
Last updated: Apr 12 2022 at 19:14 UTC