FHIR Chat · Publishing Content Failed: No Source directories to scan fou · shorthand

Stream: shorthand

Topic: Publishing Content Failed: No Source directories to scan fou


view this post on Zulip Peter Robinson (May 29 2021 at 15:06):

I am trying to run the publishing tool on our FSH IG. Sushie runs without issues (Valedictorian of the School of FSH! ).
However, running ./genonce.sh gives me this:
Publishing Content Failed: No Source directories to scan found (00:16.0207)
(00:16.0207)
Use -? to get command line help (00:16.0208)
(00:16.0208)
Stack Dump (for debugging): (00:16.0208)
org.hl7.fhir.exceptions.FHIRException: No Source directories to scan found
at org.hl7.fhir.igtools.publisher.SimpleFetcher.scan(SimpleFetcher.java:270)
at org.hl7.fhir.igtools.publisher.Publisher.loadResources(Publisher.java:3692)
at org.hl7.fhir.igtools.publisher.Publisher.load(Publisher.java:3192)
at org.hl7.fhir.igtools.publisher.Publisher.createIg(Publisher.java:885)
at org.hl7.fhir.igtools.publisher.Publisher.execute(Publisher.java:745)
at org.hl7.fhir.igtools.publisher.Publisher.main(Publisher.java:8577)

Running $ ./_genonce.sh -source fsh-generated/ gives me this
Publishing Content Failed: Error loading /home/peter/.fhir/packages/hl7.fhir.r5.core#current/package/Questionnaire-qs1.json: Unknown QuestionnaireItemType code 'choice' (00:08.0016)
(00:08.0016)
Use -? to get command line help (00:08.0017)
(00:08.0017)
Stack Dump (for debugging): (00:08.0017)
org.hl7.fhir.exceptions.FHIRException: Error loading /home/peter/.fhir/packages/hl7.fhir.r5.core#current/package/Questionnaire-qs1.json: Unknown QuestionnaireItemType code 'choice'

Any ideas what could be going wrong? (https://github.com/phenopackets/core-ig)

view this post on Zulip Janaka Peiris (Jun 01 2021 at 04:43):

Just wondering where 'hl7.fhir.r5.core' is being referred from ? I see from your sushi-config.yaml the fhirVersion is 4.0.1

view this post on Zulip Peter Robinson (Jun 01 2021 at 14:19):

Thanks! It turns out there were multiple minor errors that were difficult to find. I have manged to get things working now!


Last updated: Apr 12 2022 at 19:14 UTC