FHIR Chat · Spreadsheet code list VS generation · IG creation

Stream: IG creation

Topic: Spreadsheet code list VS generation


view this post on Zulip Christopher Schuler (Mar 14 2019 at 17:26):

I have a code list in a spreadsheet profile that references a code list tab. It appears that the publisher generates a ValueSet using the code list with the shareablevalueset profile attached. However, I am getting the following errors:
Profile http://hl7.org/fhir/StructureDefinition/shareablevalueset, Element 'ValueSet.version': minimum required = 1, but only found 0
Profile http://hl7.org/fhir/StructureDefinition/shareablevalueset, Element 'ValueSet.experimental': minimum required = 1, but only found 0
Profile http://hl7.org/fhir/StructureDefinition/shareablevalueset, Element 'ValueSet.publisher': minimum required = 1, but only found 0

Is it possible define these elements in the spreadsheet (maybe in a structure tab) or will I need to define the ValueSet (as source JSON/XML) and add the elements there?

view this post on Zulip Eric Haas (Mar 14 2019 at 20:07):

I use the code list to generate the resource but then use the generated resource thereafter - its easier that way. But are you defining the publisher and version in ig.json.

view this post on Zulip Christopher Schuler (Mar 14 2019 at 22:12):

Thanks @Eric Haas . Yes, it is much easier.
Where within the ig.json can I define the publisher and version? Within the resources? Ah, I see you can set the version like so:

"ValueSet/artifact-comment-type": {
      "version": "1.0",
      "base": "ValueSet-artifact-comment-type.html"
    }

That didn't resolve the issue though (for version)... So I am probably doing it wrong? I don't see a way to define the publisher.

view this post on Zulip Eric Haas (Mar 14 2019 at 22:32):

you are right the publisher is not there but You can impose a fixed business version on all the conformance resources using

"fixed-business-version" : "[my version]" in ig.json

I think I made tracker to add the default contact info publisher to it too, but that is going to be in the IG resource when we start using that. for now you got to put in each one... script or stylesheet or by hand.

view this post on Zulip Lloyd McKenzie (Mar 14 2019 at 22:40):

In general, spreadsheet-based value set authoring is deprecated. You should plan on authoring in XML (or JSON) unless you're dealing with a 'fixed' binding for a 'code' element.

view this post on Zulip Grahame Grieve (Mar 15 2019 at 00:50):

ok about to commit an update - all 3 elements will be populated from the metadata tab ('version', 'experimental', 'author.name'). The version can be overridden by a 'Version' column on the bindings tab as well


Last updated: Apr 12 2022 at 19:14 UTC