FHIR Chat · Regex Pattern for id values · implementers

Stream: implementers

Topic: Regex Pattern for id values


view this post on Zulip Michael E Campbell (Jul 30 2020 at 15:46):

I noted that a sort on resources _id mixes in alpha, numeric, and alphanumerics, e.g., 12345 or 2rt33q3h4tm or hapiid. Is there a way to use regex to filter the sort results to only numeric? I didn’t see anything in the specs on doing so. If you have a link to the location on the specs that works for me. Thanks.

view this post on Zulip Michele Mottini (Jul 30 2020 at 17:09):

No, there is nothing in the standard for that. ids are tokens - so only possible matches are strict equality


Last updated: Apr 12 2022 at 19:14 UTC