Stream: IG creation
Topic: Error building IG FHIR STU3
Roeland Luykx (Feb 28 2022 at 05:28):
Since Version 1.0.102 there is a failure building an IG based on FHIR STU3:
onGenerate:
Unable to convert resource Bundle/0-1-Bundle-FindAll-Response Unknown resource DocumentManifest (00:31.0335)
Unable to convert resource Bundle/0-12-Bundle-FindAll-Response-m4d Unknown resource DocumentManifest (00:31.0848)
Unable to convert resource DocumentManifest/1-1-DocumentManifest-Upload-Request Unknown resource DocumentManifest (00:31.0882)
Unable to convert resource DocumentManifest/1-2-DocumentManifest-Upload-Response Unknown resource DocumentManifest (00:31.0908)
Unable to convert resource DocumentManifest/1-4-DocumentManifest-Query-Response Unknown resource DocumentManifest (00:31.0942)
Unable to convert resource DocumentManifest/1-5-DocumentManifest-Replace-Request Unknown resource DocumentManifest (00:31.0975)
Unable to convert resource DocumentManifest/1-6-DocumentManifest-Replace-Response Unknown resource DocumentManifest (00:31.0999)
Unable to convert resource DocumentManifest/1-7-DocumentManifest-Update-Request Unknown resource DocumentManifest (00:32.0032)
Unable to convert resource DocumentManifest/1-8-DocumentManifest-Update-Response Unknown resource DocumentManifest (00:32.0057)
Unable to convert resource DocumentManifest/1-9-DocumentManifest-Retrieve-withKOS-Response Unknown resource DocumentManifest (00:32.0158)
Unable to convert resource DocumentManifest/1-10-DocumentManifest-GetSubmissionSet-Response Unknown resource DocumentManifest (00:32.0183)
Unable to convert resource DocumentManifest/1-11-DocumentManifest-marked4deletion Unknown resource DocumentManifest (00:32.0208)
Unable to convert resource DocumentManifest/18d04b34-a329-4992-bd9b-5bd8a920909c Unknown resource DocumentManifest (00:32.0237)
Generating Summary Outputs (00:42.0957)
Publishing Content Failed: Error retrieving ISO country-code & state value sets (00:45.0795)
(00:45.0795)
Use -? to get command line help (00:45.0795)
(00:45.0796)
Stack Dump (for debugging): (00:45.0796)
java.lang.Exception: Error retrieving ISO country-code & state value sets
at org.hl7.fhir.igtools.publisher.Publisher.setupCountries(Publisher.java:7163)
at org.hl7.fhir.igtools.publisher.Publisher.translateCountryCode(Publisher.java:7125)
at org.hl7.fhir.igtools.publisher.Publisher.populateResourceEntry(Publisher.java:6998)
at org.hl7.fhir.igtools.publisher.Publisher.generateSummaryOutputs(Publisher.java:6828)
at org.hl7.fhir.igtools.publisher.Publisher.generate(Publisher.java:5862)
at org.hl7.fhir.igtools.publisher.Publisher.createIg(Publisher.java:1018)
at org.hl7.fhir.igtools.publisher.Publisher.execute(Publisher.java:856)
at org.hl7.fhir.igtools.publisher.Publisher.main(Publisher.java:10007)
building with 1.0.99 all is OK.
Grahame Grieve (Feb 28 2022 at 05:31):
@Lloyd McKenzie looks like this one is for you
Roeland Luykx (Feb 28 2022 at 09:31):
@Lloyd McKenzie
topic https://chat.fhir.org/#narrow/stream/179252-IG-creation/topic/Error.20building.20IG.20FHIR.20STU3 seems to be the same... i suppose
Lloyd McKenzie (Feb 28 2022 at 15:40):
Is there a place I can test with?
Lloyd McKenzie (Mar 04 2022 at 17:13):
https://github.com/hapifhir/org.hl7.fhir.core/pull/758 and https://github.com/HL7/fhir-ig-publisher/pull/410 together address the issue. I didn't realize that some of the value sets I was using only existed in R4 on. There was also a bug in the value set expansion code for STU3. Once these are merged and a new release of the publisher comes out, this problem should go away.
Lloyd McKenzie (Mar 04 2022 at 17:27):
@Mark Iantorno - pull request against HAPI is choking w/ Maven issues I don't understand (I didn't touch any of the maven config at all). Can you take a peek?
Mark Iantorno (Mar 04 2022 at 17:29):
Let me take a look
Mark Iantorno (Mar 04 2022 at 17:30):
This isn't a maven issue, this is an actual test failure
Mark Iantorno (Mar 04 2022 at 17:30):
[ERROR] Tests run: 8, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.462 s <<< FAILURE! - in org.hl7.fhir.r5.test.NarrativeGenerationTests
[ERROR] org.hl7.fhir.r5.test.NarrativeGenerationTests.test(String, TestDetails)[7] Time elapsed: 0.013 s <<< FAILURE!
org.opentest4j.AssertionFailedError: Output does not match expected: Text differs at /html/body/div/div/div/div/div/div/table/tr/td: (SNOMED CT International Edition)/(SNOMED CT (all versions)) ==> expected: <true> but was: <false>
at org.junit.jupiter.api.AssertionUtils.fail(AssertionUtils.java:55)
at org.junit.jupiter.api.AssertTrue.assertTrue(AssertTrue.java:40)
at org.junit.jupiter.api.Assertions.assertTrue(Assertions.java:193)
Mark Iantorno (Mar 04 2022 at 17:31):
@David Otasek can you take a quick look at why this might be bombing out?
David Otasek (Mar 04 2022 at 17:33):
@Mark Iantorno Yes, this is the error that I just created a PR for: https://github.com/hapifhir/org.hl7.fhir.core/pull/756
Lloyd McKenzie (Mar 04 2022 at 17:55):
So long as it's not my fault :)
David Otasek (Mar 04 2022 at 17:59):
@Lloyd McKenzie Nope, that's on us. We're reviewing, and I'll ping you here when it's merged.
David Otasek (Mar 07 2022 at 21:49):
@Lloyd McKenzie PR is merged. If you merge the changes in master you should no longer see that test failure.
Roeland Luykx (Mar 11 2022 at 06:28):
with version 1.1.112 the build is running now, but still a strange message:
"onGenerate:
Unable to convert resource Bundle/0-1-Bundle-FindAll-Response Unknown resource DocumentManifest (00:25.0327)
Unable to convert resource Bundle/0-12-Bundle-FindAll-Response-m4d Unknown resource DocumentManifest (00:25.0622)
Unable to convert resource DocumentManifest/1-1-DocumentManifest-Upload-Request Unknown resource DocumentManifest (00:25.0642)
..."
Grahame Grieve (Mar 11 2022 at 10:09):
sigh. that particular problem is gift that keeps giving. how do I reproduce that?
Roeland Luykx (Mar 14 2022 at 04:37):
@Grahame Grieve i'll send you the IG
Last updated: Apr 12 2022 at 19:14 UTC