Stream: implementers
Topic: validator generate snapshots multiple source into bundle
Michael van der Zel (Dec 10 2021 at 12:02):
I try to use the validator to generate snapshots for multiple source files into a bundle.
According the help for the validator this should be possible by passing a folder (selection) as source, but I get:
java -jar validator_cli.jar -tx n/a -version 4.0.1 -ig selection/ -snapshot -output bundle.json
...
Exception in thread "main" org.hl7.fhir.exceptions.FHIRException: Unable to find resource selection/ to validate
at org.hl7.fhir.validation.IgLoader.loadContent(IgLoader.java:133)
at org.hl7.fhir.validation.ValidationEngine.snapshot(ValidationEngine.java:483)
at org.hl7.fhir.validation.cli.services.ValidationService.generateSnapshot(ValidationService.java:184)
at org.hl7.fhir.validation.ValidatorCli.doValidation(ValidatorCli.java:248)
at org.hl7.fhir.validation.ValidatorCli.main(ValidatorCli.java:164)
Lloyd McKenzie (Dec 10 2021 at 14:26):
@Grahame Grieve
Grahame Grieve (Dec 10 2021 at 20:53):
well, I think it was supposed to work, but obviously not. can you report it as a github issue at https://github.com/hapifhir/org.hl7.fhir.core/issues so we can get to it please
Michael van der Zel (Dec 13 2021 at 17:03):
https://github.com/hapifhir/org.hl7.fhir.core/issues/687
Last updated: Apr 12 2022 at 19:14 UTC