FHIR Chat · Exact Element path in Operation Outcome · implementers

Stream: implementers

Topic: Exact Element path in Operation Outcome


view this post on Zulip Nick George (Feb 11 2022 at 19:48):

Hello, the OperationOutcome provides OperationOutcome.expression for a fhirpath expression to the node that failed, and a single diagnostic for additional detail. My issue is that when we encounter I would like to store both fhirpath (e.g., Patient.contact.telecom) and exact location (e.g.,
Patient.contact[1].telecom[1]) Is there a good way to do this?

view this post on Zulip Chris Moesel (Feb 11 2022 at 20:59):

Indices are allowed in FHIRPath (doc). Are they not allowed in "Simple" FHIRPath"? I feel like it's not clear because "Simple" FHIRPath forbids operators, but I don't usually think of the indexer as an operator (although it looks like FHIRPath spec does call it an operator).

view this post on Zulip Nick George (Feb 11 2022 at 21:07):

my read was that it didn't count as simple fhirpath... (it didn't fall under any of the "allowed" categories anyway). It's still a bit tough if I want to record both (although obvious a string manipulation function can strip indices)

view this post on Zulip Grahame Grieve (Feb 11 2022 at 21:17):

oh. indicies are definitely allowed in restricted fhirpath, and we should be explicit about that

view this post on Zulip Grahame Grieve (Feb 11 2022 at 21:17):

a task to clarify would be good


Last updated: Apr 12 2022 at 19:14 UTC