A collection of changes to generated code required to validate Turtle examples
Here’s a list of edits that got this validating
^^xsd:anyURI
to the fhir:v
for each fhir:url
and for each fhir:system
that isn’t in a ContactPoint (heuristically implemented with perl -pi) (commit)Here are some ways to execute the validation.
Use the manifest.yaml in shex-simple.
git clone git@github.com:shexjs/shex.js --branch main --depth 1
shex.js/packages/shex-cli
to PATHmanifest.yaml
or individual command line args:
validate --yaml-manifest manifest.yaml
validate -x ShExSchemas/R5/Patient.shex -d FHIR_RDF_Examples/R5/patient-example.ttl -m '{FOCUS a fhir:Patient}@<Patient>'