Skip to content

ImplementationGuide.definition error ImplementationGuide.definition.resource: minimum required = 1, but only found 0  #10

Description

@akiander

I've followed all the steps on my macbook, which have all gone quite smoothly until I got to this step:

https://github.com/cqframework/content-ig-walkthrough#build

I am able to run the _genonce.sh script and most of the script seems to run successfully however it always comes back with an error message, so no index.html is generated:

YourComputableContentIGNameHere : Validation Results
=========================================

err = 1, warn = 0, info = 0
IG Publisher Version: 1.1.128 Out of date - current version is 1.2.41
Generated Fri Mar 10 09:09:19 EST 2023. FHIR version 4.0.1 for example.fhir.uv.contentig#0.1.0 (canonical = http://somewhere.org/fhir/uv/contentig)
 Build Errors : 1 / 0 / 0
 /Users/ak/Documents/Code/cqframework/content-ig-walkthrough/input/contentig : 1 / 0 / 1
</table>
== n/a ==
ERROR: /Users/ak/Documents/Code/cqframework/content-ig-walkthrough/output/searchform.html#/html/body/div/div/a/img/div/div/nav/div/div/ul/li/a at Line 63, column 21: The link 'index.html' for "Specification" cannot be resolved
== input/contentig.xml ==
ERROR: ImplementationGuide/example.fhir.uv.contentig: ImplementationGuide.definition: ImplementationGuide.definition.resource: minimum required = 1, but only found 0 (from http://hl7.org/fhir/StructureDefinition/ImplementationGuide)

My assumption is that this is the primary issue:

ImplementationGuide.definitionerrorImplementationGuide.definition.resource: minimum required = 1, but only found 0 (from http://hl7.org/fhir/StructureDefinition/ImplementationGuide)

I did try manually updating the publisher.jar file to the latest version 1.2.41, but that produced even more errors, so I went back and reran the _updatePublisher.sh which appears to run to completion successfully and that brought me back to this state.

Can you advise on what I might be missing?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions