FHIR Chat · ordinal Extensions VS/CS · terminology

Stream: terminology

Topic: ordinal Extensions VS/CS


view this post on Zulip Patrick Werner (Dec 04 2019 at 18:39):

used the ordinal extensions for the first time yesterday. Is there a reason that https://www.hl7.org/fhir/extension-ordinalvalue.html uses decimal as the data-type and https://www.hl7.org/fhir/extension-codesystem-conceptorder.html uses integer?
I personally would prefer decimal on both.

view this post on Zulip Grahame Grieve (Dec 04 2019 at 18:43):

why would you order by a decimal? that just introduces weird edge cases

view this post on Zulip Patrick Werner (Dec 04 2019 at 21:55):

it eases squeezing concepts between other concepts. e.g.: if you have concepts with order 1,2 you can then add 1,5 in between. But maybe an edge case.
Having the same date type on both still would be nice though.

view this post on Zulip Grahame Grieve (Dec 04 2019 at 22:01):

order != ordinal value

view this post on Zulip Michael Lawley (Dec 04 2019 at 22:43):

Hmm, why does a CodeSystem control order of presentation in a ValueSet? And is this universal - ie does it override any ideas the tx server might have about ranking expansion results based on filter text?

view this post on Zulip Grahame Grieve (Dec 04 2019 at 22:52):

that's a very good question

view this post on Zulip Michael Lawley (Dec 04 2019 at 22:53):

Is this a hold-over from DSTU2 when CodeSystem was contained by ValueSet?

view this post on Zulip Grahame Grieve (Dec 04 2019 at 22:57):

not sure

view this post on Zulip Michael Lawley (Dec 04 2019 at 23:02):

Seems in DSTU2 it used to be https://www.hl7.org/fhir/DSTU2/extension-valueset-conceptorder.html with
Context of Use: Use on element: ValueSet.compose.include.concept, ValueSet.codeSystem.concept, ValueSet.expansion.contains
in STU3 this changed to
Context of Use: Use on element: CodeSystem.concept

view this post on Zulip Lloyd McKenzie (Dec 05 2019 at 03:58):

We had use-cases for fractional ordinal values/weights. And it's easy enough to send an integer in a decimal

view this post on Zulip Michael Lawley (Dec 05 2019 at 04:20):

WRT @Patrick Werner 's use case, fractional order would mean avoiding the need to change existing order values to "insert" a new code.

view this post on Zulip Grahame Grieve (Dec 05 2019 at 04:55):

yes but so/ it would also raise questions like the order or 4.0 vs 4.001

view this post on Zulip Michael Lawley (Dec 05 2019 at 08:11):

yep, don't want to go there (conceptorder is already icky)


Last updated: Apr 12 2022 at 19:14 UTC