org.hl7.fhir.core icon indicating copy to clipboard operation
org.hl7.fhir.core copied to clipboard

Include validation of local files

Open bvdh opened this issue 1 year ago • 0 comments

I've added support for validation of local files. For this I've updated IGloader to return the loaded resource type and id. This ValidationEngine will use that information to create a R5EvaluationContext class which is passed to the InstanceValidator. This class holds the files as Elements. When a resource is retrieved using FHIRpath, this element is returned and validated.

To test this I've added a test that loads files and validates them.

Is this an approach that would work?

bvdh avatar Jun 03 '24 19:06 bvdh