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

Validator based on a directory does not check local file in profile based slices #1604

Open
bvdh opened this issue Apr 17, 2024 · 1 comment

Comments

@bvdh
Copy link

bvdh commented Apr 17, 2024

When validating a set of files in a directory, errors are generated for slices based on profiles as the validator does not load these files using the FHIRpath resolve() method.
The validator IWorkerContext should be extended to look for references in the local files as well. This is easy as these are already loaded.

The branch https://github.com/bvdh/org.hl7.fhir.core/tree/include-local-files contains an update to InstanceValidator.java that checks the context for the file and returns it when found.

Please merge this into the validator.

@grahamegrieve
Copy link
Collaborator

This needs a test case, I think

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