Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error while validating the example bundle #7

Open
sureshcankado opened this issue Mar 11, 2025 · 1 comment
Open

Error while validating the example bundle #7

sureshcankado opened this issue Mar 11, 2025 · 1 comment

Comments

@sureshcankado
Copy link

I'm getting the following error while running the command
java -jar ../validator_cli.jar Example/REAL_EXAMPLE_1_KBV_PR_MIO_DIGA_Bundle.xml -ig "hl7.fhir.core#4.0.1" -ig .\KBV-Base -ig .\HL7-Base-de -ig .\FHIR-Specification\ -recurse

Load FHIR v4.0 from hl7.fhir.r4.core#4.0.1.: - 4576 resources (00:04.911)
Load hl7.fhir.r5.core#5.0.0 - 2954 resources (00:01.116)
Load hl7.fhir.uv.extensions.r5#5.1.0 - 1396 resources (00:00.027)
Load hl7.terminology#6.2.0 - 4287 resources (00:01.428)
Load R5 ExtensionsException in thread "main" org.hl7.fhir.exceptions.FHIRException: Unable to fetch: Invalid HTTP response 404 from http://build.fhir.org/hl7.fhir.r5.core.tgz (Not Found) (no content)
at org.hl7.fhir.utilities.npm.FilesystemPackageCacheManager.fetchFromUrlSpecific(FilesystemPackageCacheManager.java:540)
at org.hl7.fhir.utilities.npm.FilesystemPackageCacheManager.loadFromCIBuild(FilesystemPackageCacheManager.java:560)
at org.hl7.fhir.utilities.npm.FilesystemPackageCacheManager.loadPackage(FilesystemPackageCacheManager.java:520)
at org.hl7.fhir.r5.conformance.R5ExtensionsLoader.load(R5ExtensionsLoader.java:81)
at org.hl7.fhir.validation.cli.services.ValidationService.initializeValidator(ValidationService.java:378)
at org.hl7.fhir.validation.cli.services.ValidationService.initializeValidator(ValidationService.java:356)
at org.hl7.fhir.validation.ValidatorCli.doValidation(ValidatorCli.java:283)
at org.hl7.fhir.validation.ValidatorCli.main(ValidatorCli.java:138)
Caused by: java.io.IOException: Invalid HTTP response 404 from http://build.fhir.org/hl7.fhir.r5.core.tgz (Not Found) (no content)
at org.hl7.fhir.utilities.SimpleHTTPClient$HTTPResult.checkThrowException(SimpleHTTPClient.java:75)
at org.hl7.fhir.utilities.npm.FilesystemPackageCacheManager.fetchFromUrlSpecific(FilesystemPackageCacheManager.java:534)

@sureshcankado sureshcankado changed the title Error while validation the example Error while validating the example bundle Mar 11, 2025
@dkipping-mio42
Copy link
Collaborator

Hi,

which validator version did you use?
If you used the validator version specified as used in specification, it is an older version of the HL7 validator which seems to cause issues with recent changes of HL7 in their provision of the FHIR R5 extensions.

Long story short:
Please try using the most recent release of the validator:
https://github.com/hapifhir/org.hl7.fhir.core/releases

current would be the version 6.5.15

please report back, if you issue persists with the current version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants