FHIR Chat · Specifying SCT US edition · IG creation

Stream: IG creation

Topic: Specifying SCT US edition


view this post on Zulip David Pyke (Jan 26 2022 at 20:19):

MY QA report tells me "Snomed: The IG does not specify the US edition of SNOMED CT version in the parameters (http://snomed.info/sct/731000124108)"

We don't have any codesystems or valuesets. Where would I specify it? (I'm using fsh/sushi)

view this post on Zulip Lloyd McKenzie (Jan 26 2022 at 20:29):

Do you make use of any SNOMED codes in any examples?

view this post on Zulip David Pyke (Jan 26 2022 at 20:31):

Yep, in an Encounter. I'll update that.

view this post on Zulip David Pyke (Jan 26 2022 at 20:41):

I'm feeling dumb today. It doesn't like http://snomed.info/sct/731000124108 as a system URI... what do I use?

view this post on Zulip Lloyd McKenzie (Jan 27 2022 at 00:23):

The system URL must always be "http://snomed.info/sct". You need to include a Parameters instance in your IG that indicates the release of SNOMED to use

view this post on Zulip David Pyke (Jan 27 2022 at 13:35):

Okay, which Parameter shows that one? I've never done this before

view this post on Zulip David Pyke (Jan 27 2022 at 16:16):

Can anyone point me to an IG that specifies this so I can copy? I can't find anything in USCore that does it

view this post on Zulip Jean Duteau (Jan 27 2022 at 16:33):

https://github.com/HL7/fhir-icsr-ae-reporting

view this post on Zulip David Pyke (Jan 27 2022 at 16:33):

Where do I look?

view this post on Zulip David Pyke (Jan 27 2022 at 16:34):

Nevermind, found it!

view this post on Zulip David Pyke (Jan 27 2022 at 16:34):

The exp-params.json file in the root

view this post on Zulip John Moehrke (Jan 27 2022 at 16:37):

what is an exp-params.json file?

view this post on Zulip David Pyke (Jan 27 2022 at 16:37):

It's an instance of the Parameters resource in json format

view this post on Zulip John Moehrke (Jan 27 2022 at 16:38):

in the root?

view this post on Zulip John Moehrke (Jan 27 2022 at 16:38):

the set of input files to the build is getting out of hand

view this post on Zulip Elliot Silver (Jan 27 2022 at 16:39):

Can I put any build parameters in here?

view this post on Zulip David Pyke (Jan 27 2022 at 16:46):

You can put it in the root but need a link to it in the parameters in sushi-config

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

view this post on Zulip Elliot Silver (Jan 27 2022 at 16:50):

Elliot Silver said:

Can I put any build parameters in here?

Apparently not -- this is just for the terminology "expansion" parameters.

view this post on Zulip John Moehrke (Jan 27 2022 at 17:02):

John Moehrke said:

the set of input files to the build is getting out of hand

I state again

view this post on Zulip David Pyke (Jan 27 2022 at 17:05):

There's probably a way to include this directly in sushi-config or the IG resource directly.

view this post on Zulip John Moehrke (Jan 27 2022 at 17:06):

that would be a bit more controlled.. yes.

view this post on Zulip John Moehrke (Jan 27 2022 at 17:10):

and then it could be documented as an IG publisher parameter

view this post on Zulip David Pyke (Jan 27 2022 at 17:19):

Running it though a build, the fsh-generated IG resource just has the path that is in sushi-config. The final IG resource has it as an extension (using the IG-parameter extension) under the definitions section.

So, no, you can't just put it in the sushi-config but you can put it in the IG resource
{
"extension": [
{
"url": "code",
"valueString": "system-version"
},
{
"url": "value",
"valueString": "http://snomed.info/sct|http://snomed.info/sct/731000124108"
}
],

view this post on Zulip John Moehrke (Jan 27 2022 at 17:58):

you can put ig extension parameters in your sushi-config

view this post on Zulip John Moehrke (Jan 27 2022 at 17:58):

in theory.. last time I tried it didn't work.

view this post on Zulip David Pyke (Jan 27 2022 at 17:59):

No, it didn't work for me, either. So I started a thread in the shorthand stream

view this post on Zulip John Moehrke (Jan 27 2022 at 19:10):

so... @Lloyd McKenzie @Grahame Grieve ... can we get this capability as an IG publisher parameter rather than this one-off root folder json file?

view this post on Zulip John Moehrke (Jan 27 2022 at 19:11):

or better, an IG parameter

view this post on Zulip David Pyke (Jan 27 2022 at 19:11):

Wouldn't it be better if sushi or the other (lesser) tools could just create the extension necessary?

view this post on Zulip John Moehrke (Jan 27 2022 at 19:12):

sushi can manage IG publisher parameters and IG parameters.. so sushi support would happen automatically if either of those were used.

view this post on Zulip John Moehrke (Jan 27 2022 at 19:13):

this capability is needed by IGs that are vegan too

view this post on Zulip David Pyke (Jan 27 2022 at 19:13):

But it's an ig-parameters extension already, so it can be manually added. Are you asking it to be added to the core IG resource?

view this post on Zulip John Moehrke (Jan 27 2022 at 19:14):

okay, what you are saying is that the solution is in hand if we can just get sushi to work with ig-parameter extensions... which is needed to be fixed anyway. okay.

view this post on Zulip David Pyke (Jan 27 2022 at 19:14):

yep!

view this post on Zulip John Moehrke (Jan 27 2022 at 19:15):

just don't like json file solution

view this post on Zulip David Pyke (Jan 27 2022 at 19:16):

Nope, that's less than optimal but it's a good stopgap until sushi can be modded to handle that parameter (now that it's needed for all SNOMED use in the US)

view this post on Zulip Grahame Grieve (Jan 27 2022 at 19:23):

can we get this capability as an IG publisher parameter rather than this one-off root folder json file?

no. that would be a retrograde step and I don't understand why you think that would be a good idea.

view this post on Zulip Lloyd McKenzie (Jan 27 2022 at 20:22):

It's not necessarily just a single parameter. There could, in principle, be a whole lot of terminology configuration information that might be relevant to a particular IG.

view this post on Zulip David Pyke (Jan 27 2022 at 20:32):

Can these be documented somewhere so that people know how to configure it all (and save people like me from having to start threads like these)

view this post on Zulip Chris Moesel (Jan 27 2022 at 20:33):

It's not clear to me: Is the Parameters JSON file necessary or is the extension on ImplementationGuide.parameters sufficient? I think someone said the publisher just ends up sticking that data into the IG JSON anyway (as that extension) -- so I'm trying to figure out what is actually necessary.

view this post on Zulip David Pyke (Jan 27 2022 at 20:34):

The file is just a way to get the template/publisher/fairy godmother to create the extension

view this post on Zulip David Pyke (Jan 27 2022 at 20:34):

All that is necessary seems to be that if the jurisdiction is US, then the extension is created saying that SNOMED-US is to be used

view this post on Zulip David Pyke (Jan 27 2022 at 20:35):

And that's only if there's a SNOMED reference somewhere in the IG

view this post on Zulip David Pyke (Jan 27 2022 at 20:39):

I assume this parameter is needed for any jurisdiction that has a regionalized SNOMED

view this post on Zulip Chris Moesel (Jan 27 2022 at 20:41):

Well, we can make sure that if someone puts an extension in the parameters in sushi-config.yaml that it gets carried over then. As for whether you should be skipping the Parameters JSON file or not, I'll let the community sort that out. ;-)

view this post on Zulip Grahame Grieve (Jan 27 2022 at 21:06):

Can these be documented somewhere

the $expand operation documents the parameters

view this post on Zulip David Pyke (Jan 27 2022 at 21:07):

I meant for IG creation. If we're now to add parameters to the IG (via whatever mechanism), it would be useful for this to be added to the IG creation documentation

view this post on Zulip Grahame Grieve (Jan 27 2022 at 21:10):

no, I don't follow. This is all documented. What do you think is not documented?

view this post on Zulip David Pyke (Jan 27 2022 at 21:11):

This all started with my qa report having "Snomed: The IG does not specify the US edition of SNOMED CT version in the parameters (http://snomed.info/sct/731000124108)"
Where is how to resolve that QA issue documented?

view this post on Zulip David Pyke (Jan 27 2022 at 21:13):

(or the steps to prevent it, either one)

view this post on Zulip AbdulMalik Shakir (Feb 13 2022 at 06:43):

What is the resolution to this QA issue?

view this post on Zulip Lloyd McKenzie (Feb 13 2022 at 15:53):

Are you declaring your SNOMED version Parameters instance in your IG (look at US-Core to see how)

view this post on Zulip David Pyke (Feb 14 2022 at 14:06):

You get an exp-params.json file like the one here: https://github.com/HL7/fhir-icsr-ae-reporting

You can put it in the root but need a link to it in the parameters in sushi-config

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

Last updated: Apr 12 2022 at 19:14 UTC