FHIR Chat · setting snomed ct version in sushi-config.yaml · shorthand

Stream: shorthand

Topic: setting snomed ct version in sushi-config.yaml


view this post on Zulip Nathan Davis (Aug 19 2021 at 15:35):

How is the version of SNOMED CT set in the sushi-config.yaml file? I've looked all over and can't find any reference for it.

view this post on Zulip Jean Duteau (Aug 19 2021 at 15:46):

it's not. That's an IG Publisher thing. So you have a file called 'exp-params.json' and here is the content:

{
  "resourceType" : "Parameters",
  "id" : "exp-params",
  "parameter" : [{
    "name" : "system-version",
    "valueUri" : "http://snomed.info/sct|http://snomed.info/sct/731000124108"
  }]
}

view this post on Zulip Nathan Davis (Aug 19 2021 at 16:00):

@Jean Duteau I'm a bit confused. This used to be set in the ig.json file like: "sct-edition": "http://snomed.info/sct/731000124108". With FSH the ig.json file is generated via Sushi. Why is this now part of the publisher? Is the file you mentioned part of the publisher or should it be part of my IG. I can't find it in my IG.

view this post on Zulip Jean Duteau (Aug 19 2021 at 16:01):

i'm not saying that's part of the publisher. i'm saying that it's not a SUSHI thing. SUSHI won't generate the needed file. You'll need to create it and use the content I quoted. Your IG won't have this by default.

view this post on Zulip Nathan Davis (Aug 19 2021 at 16:06):

@Jean Duteau Thank you! Should this be in the input folder?

view this post on Zulip Jean Duteau (Aug 19 2021 at 16:08):

nope. in the top-level folder (with the ig.ini and sushi-config.yaml)

view this post on Zulip Jean Duteau (Aug 19 2021 at 16:08):

i did just try and find out where I found out about this file and I can't find the documentation.

view this post on Zulip Elliot Silver (Aug 19 2021 at 16:09):

Jean Duteau said:

i did just try and find out where I found out about this file and I can't find the documentation.

I was wondering the same thing. I've never heard of this file before. I find one reference to it previously on zulip and that's it.

view this post on Zulip Jean Duteau (Aug 19 2021 at 16:10):

the documentation that I found says that you specify the snomed version in the IG control file, but I don't have one of those.

view this post on Zulip Elliot Silver (Aug 19 2021 at 16:12):

I wonder if this gets pulled into the ig resource parameters section?

view this post on Zulip Jean Duteau (Aug 19 2021 at 16:12):

i suspect it does

view this post on Zulip Jean Duteau (Aug 19 2021 at 16:16):

hmm, my IG resource has the following:

      {
        "code": "path-expansion-params",
        "value": "../../exp-params.json"
      },

view this post on Zulip Chris Moesel (Aug 19 2021 at 16:30):

BTW -- In general, if you do need to affect something in the ig.json, you should be able to set it in sushi-config.yaml. See the SUSHI Configuration documentation. For example, to set parameters (like Jean shows above), you'd do this:

parameters:
  path-expansion-params: ../../exp-params.json

Last updated: Apr 12 2022 at 19:14 UTC