FHIR Chat · new validation error · IG creation

Stream: IG creation

Topic: new validation error


view this post on Zulip Eric Haas (Oct 12 2020 at 16:06):

there is no copyright element for SearchParameter yet I am getting this error with the latest version of the ig publisher:

Processing Conformance Resources                                                 (02:25.0110)
Exception in thread "main" java.lang.Error: The resource type "SearchParameter" does not implement the property "copyright"
    at org.hl7.fhir.r5.model.SearchParameter.setCopyright(SearchParameter.java:2536)
    at org.hl7.fhir.r5.model.SearchParameter.setCopyright(SearchParameter.java:53)
    at org.hl7.fhir.igtools.publisher.Publisher.load(Publisher.java:4328)
    at org.hl7.fhir.igtools.publisher.Publisher.loadConformance(Publisher.java:3771)
    at org.hl7.fhir.igtools.publisher.Publisher.createIg(Publisher.java:870)
    at org.hl7.fhir.igtools.publisher.Publisher.execute(Publisher.java:725)
    at org.hl7.fhir.igtools.publisher.Publisher.main(Publisher.java:8335)

view this post on Zulip Grahame Grieve (Oct 12 2020 at 19:03):

what version is this?

view this post on Zulip Eric Haas (Oct 12 2020 at 20:24):

fhir version 4.0.1

FHIR IG Publisher Version 1.1.34 (Git# b37a5ab15769). Built 2020-10-02T04:41:27.374Z (10 days old)

view this post on Zulip Grahame Grieve (Oct 12 2020 at 20:35):

I can't see how this happens then. How do I reproduce this?

view this post on Zulip Eric Haas (Oct 12 2020 at 20:39):

https://github.com/HL7/US-Core/tree/fsh_templates_branch

note that you need to rename the input/fsh directory to run

view this post on Zulip Eric Haas (Oct 12 2020 at 20:42):

it has a bug so won't run if run sushi.

view this post on Zulip Oliver Egger (Oct 13 2020 at 20:11):

I get the same error when I run https://github.com/ehealthsuisse/ch-atc locally (no sushi needed) locally with the newest ig. @Grahame Grieve you published once a link where all ci builds are nicely assembled and you can restart a build without commit, could you repost it? I can't find it anymore ...

view this post on Zulip Grahame Grieve (Oct 13 2020 at 20:55):

https://fhir.github.io/auto-ig-builder/builds.html

view this post on Zulip Oliver Egger (Oct 13 2020 at 21:13):

Grahame Grieve said:

I can't see how this happens then. How do I reproduce this?

http://build.fhir.org/ig/ehealthsuisse/ch-atc/branches/master/failure/build.log with https://github.com/ehealthsuisse/ch-atc

view this post on Zulip Grahame Grieve (Oct 13 2020 at 22:51):

fixed next release


Last updated: Apr 12 2022 at 19:14 UTC