FHIR Chat · CodeSystem resource being produced more than once · IG creation

Stream: IG creation

Topic: CodeSystem resource being produced more than once


view this post on Zulip Bryn Rhodes (Jun 09 2018 at 03:23):

I'm getting an error building the QI-Core IG that a CodeSystem resource is being generated more than once, but I don't see how. I've only got it defined once in the ig.json and qicore.xml, and it's only referenced from one StructureDefinition, so I'm not sure how it's happening. Anyone seen this error?

view this post on Zulip Grahame Grieve (Jun 09 2018 at 03:48):

what if you only reference it in one place?

view this post on Zulip Bryn Rhodes (Jun 09 2018 at 04:49):

That gets me past the error. So I reference it from a StructureDefinition that I name in the IG.json, and I reference it as an extension in a profile that I name in the IG.json, and that works, I just can't have the CodeSystem and ValueSet referenced in the IG.json.

view this post on Zulip Bryn Rhodes (Jun 09 2018 at 05:01):

Had to do that with several of the CodeSystems and ValueSets, but it builds again, thank you!

view this post on Zulip Eric Haas (Jun 10 2018 at 15:17):

When this occurs for me is almost always a user error, I have a stray file or its defined in spreadsheet.


Last updated: Apr 12 2022 at 19:14 UTC