Skip to content

changes made to validate example Turtle files against ShEx schemas

Notifications You must be signed in to change notification settings

fhircat/validation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

81 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Validation

A collection of changes to generated code required to validate Turtle examples

Manual edits

Here's a list of edits that got this validating

Data (turtle)

  • add ^^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)

Validating

Here are some ways to execute the validation.

Using ShEx.js webapp

Use the manifest.yaml in shex-simple.

Using ShEx.js locally

  1. pick someplace for ShEx.js and clone it: git clone [email protected]:shexjs/shex.js --branch main --depth 1
  2. add shex.js/packages/shex-cli to PATH
  3. validate by manifest.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>'

About

changes made to validate example Turtle files against ShEx schemas

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages