Stream: implementers
Topic: Search by Code Order
Grahame Grieve (Aug 19 2019 at 20:52):
GF#22691 proposes that we allow the use of search modifiers gt/lt/ge/le for code searches, so that if the code system defines an order of elements, you can depend on that order and search for the subset of resources that contain a code in a range of codes
you would use this for confidentiality code, for instance
Grahame Grieve (Aug 19 2019 at 20:56):
I'm kind of cool on this idea- it's a lot of work for a server to support subsumption based search - to the point that I think I'm only the one who implements it; and subsumption has a clear (and urgent!) need. This doesn't (you can define the value set you want as a subset range).
Also, order is defined in value sets as often as it's defined in the code system, and the search is not constrained to the context of a value set (at least, not explicitly).
Grahame Grieve (Aug 19 2019 at 20:57):
so FHIR-I was inclined to decline to action this task but we thought we'd ask here to see if other people think that there's some really compelling use case here
Pascal Pfiffner (Sep 04 2019 at 09:44):
Assuming this only actually works on a small set of code systems, would adding support for this cause confusion, especially in regards to code systems that have numerical IDs such as SNOMED? This adds to the confusion already mentioned in the GF task about the meaning of gt/lt; a search for ?code=ltSNOMED|128069005
would be semantically correct but nonsensical (at least from a medical perspective).
Grahame Grieve (Sep 04 2019 at 20:38):
well, that's another reason not to do it....
John Moehrke (Oct 28 2019 at 19:30):
I agree it is very unusual, so should it be defined as not allowed? The confidentialityCode use-case is small enough that one can always just list all the values one is interested in.
Last updated: Apr 12 2022 at 19:14 UTC