Stream: IG creation
Topic: Missing list-simple-medicationstatements.xhtml
Giorgio Cangioli (Nov 08 2019 at 15:56):
I'm recompiling after long time a R4 based IG and the build now fails with this error
Liquid Exception: Could not locate the included file 'list-simple-medicationstatements.xhtml' in any of ["C:/msys64/home/Giorgio/_github/fhir-ips/temp/_includes"]. Ensure it exists in one of those directories and, if it is a symlink, does not point
If I look in the tmp folder I see list-simple-medicationXYZ.xhtml file, but only for R5 medication resources (e.g. medicationusage) but not the medicationStatement...
Any Suggestion ?
Lloyd McKenzie (Nov 08 2019 at 16:20):
Is the IG set up to gen for R4 (not 'current')?
Giorgio Cangioli (Nov 08 2019 at 16:22):
the version in the ig.json is set to "version": "4.0.1". Is this what you mean ?
Lloyd McKenzie (Nov 08 2019 at 16:23):
Yes. Do you have profiles that are pointing to MedicationUsage? I don't understand how you could be getting those as artifacts if you haven't specifically defined them...
Giorgio Cangioli (Nov 08 2019 at 16:25):
me either :-) .... I've just recompiled the IPS IG that doesn't use anywhere medicationUsage but only medicationStatements
Grahame Grieve (Nov 08 2019 at 20:00):
did that sort out the problem?
Giorgio Cangioli (Nov 09 2019 at 09:07):
Not yet...
Giorgio Cangioli (Nov 09 2019 at 09:08):
I'll wait @Rob Hausam will recompile its version and if all is right on his side see what are the differences...
Giorgio Cangioli (Nov 09 2019 at 09:11):
The only change I suppose I made was in the ig.json file, changing the version form 4.0.0 (no more recognized by the publisher) to 4.0.1
Grahame Grieve (Nov 09 2019 at 12:17):
in fact, this is a bug that's been waiting to go off for a long time. Your description is perfectly correct. The IG publisher is iterating the wrong version of the resource list. fixed next release
Giorgio Cangioli (Nov 10 2019 at 07:27):
Thanks Grahame
Last updated: Apr 12 2022 at 19:14 UTC