FHIR Chat · Querying an Identifier.value that has | in it · implementers

Stream: implementers

Topic: Querying an Identifier.value that has | in it


view this post on Zulip Sean McIlvenna (May 25 2018 at 18:30):

If I have an AuditEvent, and that has:
agent: {
userId: {
value: "test|234234243"
}
}
How do I query for all AuditEvents matching that userId?
The | symbol is used as part of the querying logic, so I can't really query with ?userId=test|234234234 because the | will be used by FHIR to check the system AND value...

view this post on Zulip Grahame Grieve (May 25 2018 at 19:13):

you can escape the | in this case

view this post on Zulip Sean McIlvenna (May 25 2018 at 19:58):

Ok. I tried escaping it to auth%7F234234234234, but I'm guessing the server I'm using isn't setup to handle escaping like that, yet

view this post on Zulip Sean McIlvenna (May 25 2018 at 19:59):

but at least I know that's the way it's SUPPOSED to work

view this post on Zulip Sean McIlvenna (May 25 2018 at 19:59):

thanks


Last updated: Apr 12 2022 at 19:14 UTC