FHIR Chat · Problem with dependencyList · IG creation

Stream: IG creation

Topic: Problem with dependencyList


view this post on Zulip Richard Townley-O'Neill (Mar 22 2018 at 04:44):

When I run recent versions of the ig publisher it stops with the following message

Exception in thread "main" java.lang.Error: Not the right type for ElementDefinition.binding.valueSet[x]: Reference
at org.hl7.fhir.r4.model.ElementDefinition$ElementDefinitionBindingComponent.setValueSet(ElementDefinition.java:3466)
at org.hl7.fhir.r4.formats.JsonParser.parseElementDefinitionElementDefinitionBindingComponentProperties(JsonParser.java:1739)

This seems to be caused by having something in the dependencyList entry in the ig.json file. See implementers.

What is the work-around for this?

view this post on Zulip Grahame Grieve (Mar 22 2018 at 05:52):

what's your dependency?

view this post on Zulip Richard Townley-O'Neill (Mar 22 2018 at 05:53):

"dependencyList": [{
    "name": "aubase",
    "location": "http://fhir.hl7.org.au/fhir/base2017Dec"
}]

view this post on Zulip Grahame Grieve (Mar 22 2018 at 05:54):

so you now need to get au-base yourself, build it with the latest ig publisher, and then change the location to the output for your latest output

view this post on Zulip Richard Townley-O'Neill (Mar 22 2018 at 05:55):

OK

view this post on Zulip Richard Townley-O'Neill (Mar 22 2018 at 05:56):

Do the dependency properly.

view this post on Zulip Grahame Grieve (Mar 22 2018 at 05:56):

you had done it properly, but I had to change something

view this post on Zulip Grahame Grieve (Mar 22 2018 at 05:56):

it's proving painful...

view this post on Zulip Richard Townley-O'Neill (Mar 22 2018 at 06:01):

So location can no longer be a URL, it must be a file system location.
Is that temporary?

view this post on Zulip Grahame Grieve (Mar 22 2018 at 06:05):

yes it's temporary

view this post on Zulip Richard Townley-O'Neill (Mar 22 2018 at 06:16):

Thanks.


Last updated: Apr 12 2022 at 19:14 UTC