FHIR Chat · change of case of id causes headaches · IG creation

Stream: IG creation

Topic: change of case of id causes headaches


view this post on Zulip Eric Haas (Mar 13 2019 at 03:31):

I changed an example id from Encounter01 to encounter01 and this causes the ig-pub to do this...

Exception in thread "main" java.lang.Error: Case mismatch of file /Users/ehaas/Documents/FHIR/Davinci-DEQM/generated_output/qa/Encounter-encounter01-xml-html.html: found Encounter-Encounter01-xml-html.html

I have deleted the temp folder and the package file, it there another cache somewhere?

view this post on Zulip Lloyd McKenzie (Mar 13 2019 at 03:33):

Did you change the case in the filename and in the implementation guide as well as the file?

view this post on Zulip Eric Haas (Mar 13 2019 at 03:33):

that is done by script and yes.

view this post on Zulip Eric Haas (Mar 13 2019 at 03:35):

but wait... you may be on to something...

view this post on Zulip Eric Haas (Mar 13 2019 at 03:49):

nope all is good...
ig.json

"Encounter/encounter01": {
      "base": "Encounter-encounter01.html",
      "source": "Encounter-encounter01.json"
    }

ig.xml

    <resource>
      <example value="true"/>
      <sourceReference>
        <reference value="Encounter/encounter01"/>
      </sourceReference>
    </resource>

pasted image

view this post on Zulip Eric Haas (Mar 13 2019 at 03:49):

I left as Task01 and Encounter01 this is weird. I'll see if it is just me


Last updated: Apr 12 2022 at 19:14 UTC