FHIR Chat · location and expression in Operation outcome · implementers

Stream: implementers

Topic: location and expression in Operation outcome


view this post on Zulip Priyanka (Feb 23 2018 at 16:32):

In an Operation outcome, I think the "location" as a stack trace of errors.
I am not clear on what "expression" means. Can anyone please explain?

Thanks

view this post on Zulip Lloyd McKenzie (Feb 23 2018 at 16:45):

Location and expression both point to the location(s) in the instance that are tied to the issue. Location uses a limplified XPath syntax with a couple of variations. Expression uses the FHIRPath syntax.

view this post on Zulip Priyanka (Feb 23 2018 at 16:49):

Thanks for your response.
Do you have an example for both of those?

view this post on Zulip Lloyd McKenzie (Feb 23 2018 at 17:54):

There are examples for each resource on the "examples" tab of each resource specification.

view this post on Zulip Priyanka (Feb 23 2018 at 18:30):

Got it. Thanks!


Last updated: Apr 12 2022 at 19:14 UTC