FHIR Chat · SNOMED Observation - profiles and queries · uk

Stream: uk

Topic: SNOMED Observation - profiles and queries


view this post on Zulip Kevin Mayfield (Sep 02 2019 at 10:32):

A recent client had a requirement to ask GP (and other specialities) questions like: Finding related to ability to pick up objects
A look in the SNOMED db showed they are after child codes of https://termbrowser.nhs.uk/?perspective=full&conceptId1=364972005&edition=uk-edition&release=v20190601&server=https://termbrowser.nhs.uk/sct-browser-api/snomed&langRefset=999000681000001101,999001251000000103

view this post on Zulip Kevin Mayfield (Sep 02 2019 at 10:41):

Code = 364972005.

I presume this can be represented as a SNOMED expression? @Pete Salisbury

So I would presume I would create a Questionnaire with a series of items linked to the top level codes. The question is how to express the 'child codes' valueset.
Should it be a valueset? 'child of X code' seems more intuitive.
Should I ask for an Observation profile which contains a link to the valueSet?
Create an extension in the Questionnaire.item which contains the snomed expression?

view this post on Zulip Kevin Mayfield (Sep 02 2019 at 10:42):

Using/Creating a ValueSet or Profile for every question seems long winded.

view this post on Zulip Grahame Grieve (Sep 02 2019 at 11:02):

have you looked at implicit snomed value sets? they're a perfect fit for this use

view this post on Zulip Kevin Mayfield (Sep 02 2019 at 11:32):

No but will do, thanks.

view this post on Zulip Michael Lawley (Sep 02 2019 at 13:03):

That's an interesting one - not all the descendants of 364972005 are valid answers (there are navigation concepts in there like |Finding related to ability to perform hand functions|. You probably do want to hand-craft your ValueSet definition. Alternatively you might get away with the combination of filters: concept descendant-of 364972005 and child exists false i.e., just the leaf concepts that are descendants of 364972005.

view this post on Zulip Michael Lawley (Sep 02 2019 at 13:05):

{
  "compose": {
    "include": [
      {
        "system": "http://snomed.info/sct",
        "filter": [
          {
            "property": "concept",
            "op": "descendent-of",
            "value": "364972005"
          },
          {
            "property": "child",
            "op": "exists",
            "value": "false"
          }
        ]
      }
    ]
  }
}

Last updated: Apr 12 2022 at 19:14 UTC