FHIR Chat · ig resources parameters being removed by publisher · IG creation

Stream: IG creation

Topic: ig resources parameters being removed by publisher


view this post on Zulip Eric Haas (May 08 2020 at 00:55):

for the sample-ig we start with this:

<parameter>
  <code value="copyrightyear"/>
  <value value="2019+"/>
</parameter>
<!-- releaselabel should be the ballot status for HL7-published IGs. -->
<parameter>
  <code value="releaselabel"/>
  <value value="CI Build"/>
</parameter>
<parameter>
  <code value="find-other-resources"/>
  <value value="true"/>
</parameter>
<parameter>
  <code value="path-resource"/>
  <value value="input\history"/>
</parameter>
<parameter>
  <code value="path-binary"/>
  <value value="input\cql"/>
</parameter>"
"

and end up with this in the output

<parameter>
  <code value="path-resource"/>
  <value value="input\history"/>
</parameter>
<parameter>
  <code value="path-resource"/>
  <value value="input/capabilities"/>
</parameter>
<parameter>
  <code value="path-resource"/>
  <value value="input/examples"/>
</parameter>
<parameter>
  <code value="path-resource"/>
  <value value="input/extensions"/>
</parameter>
<parameter>
  <code value="path-resource"/>
  <value value="input/models"/>
</parameter>
<parameter>
  <code value="path-resource"/>
  <value value="input/operations"/>
</parameter>
<parameter>
  <code value="path-resource"/>
  <value value="input/profiles"/>
</parameter>
<parameter>
  <code value="path-resource"/>
  <value value="input/resources"/>
</parameter>
<parameter>
  <code value="path-resource"/>
  <value value="input/vocabulary"/>
</parameter>
<parameter>
  <code value="path-resource"/>
  <value value="input/testing"/>
</parameter>
<parameter>
  <code value="path-pages"/>
  <value value="template/config"/>
</parameter>
<parameter>
  <code value="path-pages"/>
  <value value="input/images"/>
</parameter>
<parameter>
  <code value="path-tx-cache"/>
  <value value="input-cache/txcache"/>
</parameter>

I understand that the scripts are adding parameters but would expect what the author adds as parameters are preserved and not removed when published.

view this post on Zulip Lloyd McKenzie (May 08 2020 at 00:56):

Then we've broken something - that's not what used to happen...

view this post on Zulip Lloyd McKenzie (May 08 2020 at 00:56):

I'll add it to my list

view this post on Zulip Jose Costa Teixeira (May 08 2020 at 03:55):

The source parameters are ending up as a bunch of
<extension url="http://hl7.org/fhir/tools/StructureDefinition/ig-parameter">
in the output file

view this post on Zulip Jose Costa Teixeira (May 08 2020 at 03:56):

I don't see what is converting (some of) the parameters in the source into extensions. I can't find it in the template xslts

view this post on Zulip Grahame Grieve (May 08 2020 at 04:18):

that's an R4 issue

view this post on Zulip Lloyd McKenzie (May 08 2020 at 04:32):

The publisher is actually doing what it's supposed to do when processing - the issue is around the IG that actually gets spit out to the output. I'm investingating why stuff is getting stripped out. (For internal processing, it's got all 33 parameters)

view this post on Zulip Lloyd McKenzie (May 20 2020 at 04:48):

Addressed by https://github.com/HL7/fhir-ig-publisher/pull/98

view this post on Zulip Lloyd McKenzie (May 20 2020 at 04:48):

Note that a bunch of the parameters will end up as extensions for R4 IGs (due to the fixed binding on parameter type in R4)


Last updated: Apr 12 2022 at 19:14 UTC