FHIR Chat · FHIRPath for SearchParameter in complex extension · fhirpath

Stream: fhirpath

Topic: FHIRPath for SearchParameter in complex extension


view this post on Zulip 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'
?

view this post on Zulip Lloyd McKenzie (Dec 12 2018 at 16:00):

The first. We haven't defined a URL syntax to point inside complex extensions

view this post on Zulip Paul Lynch (Dec 12 2018 at 18:02):

The "extension" function takes a URL. "archivName" does not look like a URL.

view this post on Zulip Lloyd McKenzie (Dec 12 2018 at 18:48):

archivName is a relative URL - which is what gets used within complex extensions

view this post on Zulip Simone Heckmann (Dec 13 2018 at 04:56):

Right. In this context, a relative url should suffice for FHIRpath, me thinks.

view this post on Zulip Simone Heckmann (Dec 13 2018 at 04:56):

I’ll give it a try...

view this post on Zulip Simone Heckmann (Dec 14 2018 at 11:12):

The second version works (for VONK)!


Last updated: Apr 12 2022 at 19:14 UTC