FHIR Chat · property for op=regex · terminology

Stream: terminology

Topic: property for op=regex


view this post on Zulip Lloyd McKenzie (Aug 29 2019 at 03:11):

One of the operations that can be used to filter a valueset is regex. However, it's not terribly clear in the spec (that I could see anyhow) what the proper "property" value is to go with the 'regex' op.

view this post on Zulip Peter Jordan (Aug 29 2019 at 04:29):

The spec states "A property/filter defined by the code system". That would also include the 'Standard Properties' defined here... http://hl7.org/fhir/terminology-service.html#standard-props - of these, one would assume that display or designation are the most likely to be used in conjuction with the regex operator. However, I'm not aware of anyone who has implemented this except, maybe, @Grahame Grieve ?

view this post on Zulip Lloyd McKenzie (Aug 29 2019 at 05:25):

What I actually want to check is the 'code' - but that's not listed as one of the standard props.

view this post on Zulip Lloyd McKenzie (Aug 29 2019 at 05:26):

Specific use-case is a filter against ICD-10 where my regex is based on the first character.

view this post on Zulip Lloyd McKenzie (Aug 29 2019 at 05:26):

(Seeing as how ICD10 codes are defined that way :))

view this post on Zulip Peter Jordan (Aug 29 2019 at 05:30):

Interesting omission from the standard properties list! However, I note that page is 'only' Maturity Level 4 so it might be possible to add code or identifier to that list. Otherwise, I'm not sure if it would be possible to view a non-surrogate code/identifier as a designation?

view this post on Zulip Grahame Grieve (Aug 29 2019 at 07:03):

I think it should be code. The properties code, display, and definition are defined for all code systems

view this post on Zulip Grahame Grieve (Aug 29 2019 at 07:03):

courtesy of the fact that they are all either CodeSystem resources, or have some defined mapping to a CodeSystem resource, even if it doesn't exist in full for size reasons

view this post on Zulip Lloyd McKenzie (Aug 29 2019 at 13:30):

Should I submit a change request to declare that as a property? Is it an r4 technical correction?

view this post on Zulip Rob Hausam (Aug 29 2019 at 13:33):

Seems like it could be - a rather interesting omission, as Peter said.

view this post on Zulip Michael Lawley (Aug 30 2019 at 07:18):

which flavour of regex?

view this post on Zulip Michael Lawley (Aug 30 2019 at 07:20):

Is anyone thinking about the performance implications of regex matching? Seems like prefix matching would probably cover most code matching cases

view this post on Zulip Grahame Grieve (Aug 30 2019 at 09:56):

I want to use regex on snomed.... surely you can sort that for me

view this post on Zulip Lloyd McKenzie (Aug 30 2019 at 13:33):

Only codes with no zeros? ;)

view this post on Zulip Lloyd McKenzie (Aug 30 2019 at 13:35):

GF#23787


Last updated: Apr 12 2022 at 19:14 UTC