FHIR Chat · Local ValueSet/CodeSystem · IG creation

Stream: IG creation

Topic: Local ValueSet/CodeSystem


view this post on Zulip David Pyke (Jul 20 2019 at 15:15):

I'm trying to make a CodeSystem and ValueSet local to the IG. however, I just keep getting the following errors:
ValueSet/eltss-observation-code: ValueSet.compose.include.system error URL value 'http://hl7.org/fhir/us/eLTSS/CodeSystem/eltss-observation-code' does not resolve
eltss-observation-code error Error from server: Unable to provide support for code system http://hl7.org/fhir/us/eLTSS/CodeSystem/eltss-observation-code (see Tx log)

This wasn't part of the balloted version, it's new so is that the only reason it can't be supported?

view this post on Zulip Lloyd McKenzie (Jul 20 2019 at 16:00):

You're pointing to both in the IG?

view this post on Zulip David Pyke (Jul 20 2019 at 16:22):

Yes, is that correct?

view this post on Zulip Eric Haas (Jul 20 2019 at 23:24):

make sure code system and valuesets properly entered in your ig.json and ig.xml. And you have the right defaults for them too.

view this post on Zulip David Pyke (Jul 21 2019 at 00:41):

I'll keep fighting with it. Thanks

view this post on Zulip Sarah Gaunt (Jul 21 2019 at 05:04):

I'm getting the exact same errors with my local codeSystems. Can't figure out how to resolve. I think it's also causing this error
QuestionnaireResponse/hai-ltcf-questionnaireresponse-mdro-cdi-summary: QuestionnaireResponse.item.answer error The value provided (http://hl7.org/fhir/us/hai-ltcf/CodeSystem/2.16.840.1.113883.6.259::1250-0) is not in the options value set in the questionnaire
Becuase the answer code it is complaining about is most definitely in the options value set in the questionnaire. And other non-local codeSystem codes are validating as answers just fine.

view this post on Zulip Sarah Gaunt (Jul 21 2019 at 05:05):

These are the ONLY errors I have left in my IG!

view this post on Zulip Sarah Gaunt (Jul 21 2019 at 05:19):

I figured it out. It was because I wasn't using the full URI when I was referencing the codeSystem in the valueSet.

<system value="CodeSystem/2.16.840.1.113883.6.259" />
vs
<system value="http://hl7.org/fhir/us/hai-ltcf/CodeSystem/2.16.840.1.113883.6.259" />

view this post on Zulip Eric Haas (Jul 21 2019 at 15:36):

yes the canonical uri is what you reference. it is not a relative url but a uri

view this post on Zulip David Pyke (Jul 21 2019 at 18:45):

Can someone have a look at these, then. There's something basic I'm doing wrong but I can't see it. codesystem-eltss-observation-code.xml valueset-eltss-observation-code.xml

view this post on Zulip Grahame Grieve (Jul 21 2019 at 21:17):

the error, if you have one, is not in the resources themselves. Are they both generating in the output?

view this post on Zulip David Pyke (Jul 21 2019 at 21:43):

I haven't set up the page definition but I can add that.

view this post on Zulip Grahame Grieve (Jul 22 2019 at 10:37):

yes and see if it's still a problem

view this post on Zulip David Pyke (Jul 22 2019 at 13:37):

Down to only one error: eltss-observation-code
error Error from server: Unable to provide support for code system http://hl7.org/fhir/us/eLTSS/CodeSystem/eltss-observation-code
(And the resulting warning in an example)

view this post on Zulip David Pyke (Jul 22 2019 at 13:39):

Pushed the most updated changes to the build server

view this post on Zulip David Pyke (Jul 22 2019 at 13:46):

Nevermind, it seems it works on the build server but not on my local. I can live with that


Last updated: Apr 12 2022 at 19:14 UTC