FHIR Chat · build error for OperationDefinion and copyright · IG creation

Stream: IG creation

Topic: build error for OperationDefinion and copyright


view this post on Zulip Eric Haas (Sep 08 2020 at 19:11):

Assuming the publisher is adding on copyright elements to the conformance resources??? because I have not except for code systems
... however OpDef apparently has copyright element according to this...

Exception in thread "main" java.lang.Error: The resource type "OperationDefinition" does not implement the property "copyright"
    at org.hl7.fhir.r5.model.OperationDefinition.setCopyright(OperationDefinition.java:3368)
    at org.hl7.fhir.r5.model.OperationDefinition.setCopyright(OperationDefinition.java:53)
    at org.hl7.fhir.igtools.publisher.Publisher.load(Publisher.java:4255)
    at org.hl7.fhir.igtools.publisher.Publisher.loadConformance(Publisher.java:3704)
    at org.hl7.fhir.igtools.publisher.Publisher.createIg(Publisher.java:837)
    at org.hl7.fhir.igtools.publisher.Publisher.execute(Publisher.java:694)
    at org.hl7.fhir.igtools.publisher.Publisher.main(Publisher.java:8041)

view this post on Zulip Eric Haas (Sep 08 2020 at 19:39):

...the ...

apply-copyright no true|false if true, overwrite all canonical resource copyright details with that found in the IG. Default = false

is defaulting to true since is not defined in my igs and when I set to 'false' the error gos away

view this post on Zulip Grahame Grieve (Sep 08 2020 at 20:45):

which version is this?

view this post on Zulip Eric Haas (Sep 08 2020 at 21:02):

updated publisher today

FHIR IG Publisher Version 1.1.19 (Git# 605968952d68). Built 2020-09-08T10:49:59.589Z (10 hours old)

view this post on Zulip Grahame Grieve (Sep 08 2020 at 21:03):

ok how do I reproduce this?

view this post on Zulip Eric Haas (Sep 09 2020 at 03:09):

take the DEQM CI Build : https://github.com/HL7/davinci-deqm/

update the ig.json (https://github.com/HL7/davinci-deqm/blob/master/input/ig.json)

and remove...

            {
                "code": "apply-copyright",
                "value": "false"
            },

Last updated: Apr 12 2022 at 19:14 UTC