FHIR Chat · constraining Laterality · terminology

Stream: terminology

Topic: constraining Laterality


view this post on Zulip Jose Costa Teixeira (Nov 21 2020 at 16:57):

I want to add an extension Laterality to an element (bodysite). While doing this, I'd like to add a constraint to avoid the situation where bodysite says "left arm" and laterality says "right".

view this post on Zulip Lloyd McKenzie (Nov 21 2020 at 17:03):

That's not the sort of thing you want to try doing in FHIRPath. Rules like that are something you can express in text, but in the end you'll have to handle them with business logic

view this post on Zulip Jose Costa Teixeira (Nov 21 2020 at 17:12):

Can I have a ValueSet that excludes all the concepts that have a laterality? Maybe an ECL expression could do that?

view this post on Zulip Rob Hausam (Nov 22 2020 at 15:41):

@Jose Costa Teixeira Yes, you should be able to do that for SNOMED CT using ECL (would have to look at the details of exactly how to code it) - but to make it actually work the terminology server obviously needs to be able to support it. Right now I think that would mean that you would probably need to use either Ontoserver or Snowstorm.

view this post on Zulip Daniel Karlsson (Nov 22 2020 at 21:28):

<<123037004 |Body structure (body structure)|: [0..0] 272741003 |Laterality| = * would give you that, but you would have to determine what body structures are lateralizable yourself (if that is an issue). If I type "arm l" into the browser it gives me 368208006 | Left upper arm structure (body structure) | and if I type "nose l" it gives 249311009 | Large nose (finding) |.

view this post on Zulip Peter Jordan (Nov 22 2020 at 22:29):

@Daniel Karlsson running that ECL query using the ECL tab of the SCT Browser with the latest International Edition returns 21,335 concepts. The Ontoserver ECL Builder returns none (ditto Terminz).

view this post on Zulip Lin Zhang (Nov 22 2020 at 23:45):

https://confluence.ihtsdotools.org/display/HRCM20180731/DOM+723264001+Lateralizable+body+structure+reference+set

view this post on Zulip Michael Lawley (Nov 23 2020 at 01:54):

Beware of Laterality = Side. This will give you what you want:

< 123037004|Body structure| MINUS (< 123037004|Body structure| : 272741003|Laterality| = < 182353008|Side|)

view this post on Zulip Jim Steel (Nov 23 2020 at 03:13):

There's an illustration of this at http://snomed.org/ui (the Procedure field in the Encounter tab)

view this post on Zulip Daniel Karlsson (Nov 24 2020 at 15:14):

Was unaware of the | Side | issue. There are 301 concepts in the International Release that have | laterality | = | Side | but not in the lateralizable refset, and 5142 vice versa. Can't find the documentation on when | laterality | = | Side | is to be used.

view this post on Zulip Daniel Karlsson (Nov 24 2020 at 15:20):

...and how come Ontoserver and Terminz return 0 for the query above?

view this post on Zulip Michael Lawley (Dec 01 2020 at 11:17):

That is a good question


Last updated: Apr 12 2022 at 19:14 UTC