fhir rdf and shex · example.ttl.html • shex is available for all fhir resources ... • spot...
TRANSCRIPT
![Page 1: FHIR RDF and ShEx · example.ttl.html • ShEx is available for all FHIR resources ... • Spot testing has been done using Eric Prud’hommeaux’s “Fancy ShEx Demo”](https://reader035.vdocuments.net/reader035/viewer/2022062402/5f0a90127e708231d42c3ed3/html5/thumbnails/1.jpg)
FHIR RDF and ShEx
![Page 2: FHIR RDF and ShEx · example.ttl.html • ShEx is available for all FHIR resources ... • Spot testing has been done using Eric Prud’hommeaux’s “Fancy ShEx Demo”](https://reader035.vdocuments.net/reader035/viewer/2022062402/5f0a90127e708231d42c3ed3/html5/thumbnails/2.jpg)
State of Affairs• RDF available for all FHIR examples in the latest build
• http://hl7-fhir.github.io/allergyintolerance-examples.html
• http://hl7-fhir.github.io/allergyintolerance-example.ttl.html
• ShEx is available for all FHIR resources
• http://hl7-fhir.github.io/allergyintolerance.shex.html
![Page 3: FHIR RDF and ShEx · example.ttl.html • ShEx is available for all FHIR resources ... • Spot testing has been done using Eric Prud’hommeaux’s “Fancy ShEx Demo”](https://reader035.vdocuments.net/reader035/viewer/2022062402/5f0a90127e708231d42c3ed3/html5/thumbnails/3.jpg)
State of Affairs (continued)
• Grahame is working on integration of Jose Gayo’s Scala based ShEx validator into the FHIR test suite
• Spot testing has been done using Eric Prud’hommeaux’s “Fancy ShEx Demo”
• https://www.w3.org/2013/ShEx/FancyShExDemo
• Click on the “2” in the ShEx2 on the upper right part of the screen
• Paste ShEx into left window
• Paste RDF into middle window
![Page 4: FHIR RDF and ShEx · example.ttl.html • ShEx is available for all FHIR resources ... • Spot testing has been done using Eric Prud’hommeaux’s “Fancy ShEx Demo”](https://reader035.vdocuments.net/reader035/viewer/2022062402/5f0a90127e708231d42c3ed3/html5/thumbnails/4.jpg)
FHIR Allergyintolerance
![Page 5: FHIR RDF and ShEx · example.ttl.html • ShEx is available for all FHIR resources ... • Spot testing has been done using Eric Prud’hommeaux’s “Fancy ShEx Demo”](https://reader035.vdocuments.net/reader035/viewer/2022062402/5f0a90127e708231d42c3ed3/html5/thumbnails/5.jpg)
Collections1. Collections — decision not to use RDF Lists.
Had to add:
to ALL definitions because ordering occurs inside:
![Page 6: FHIR RDF and ShEx · example.ttl.html • ShEx is available for all FHIR resources ... • Spot testing has been done using Eric Prud’hommeaux’s “Fancy ShEx Demo”](https://reader035.vdocuments.net/reader035/viewer/2022062402/5f0a90127e708231d42c3ed3/html5/thumbnails/6.jpg)
Types2. Type closure
Data types — Extension pretty much makes type closure a fixed quantity
![Page 7: FHIR RDF and ShEx · example.ttl.html • ShEx is available for all FHIR resources ... • Spot testing has been done using Eric Prud’hommeaux’s “Fancy ShEx Demo”](https://reader035.vdocuments.net/reader035/viewer/2022062402/5f0a90127e708231d42c3ed3/html5/thumbnails/7.jpg)
Types (cont)Primitive Types: (_code)
id.profile.json
code.profile.json
![Page 8: FHIR RDF and ShEx · example.ttl.html • ShEx is available for all FHIR resources ... • Spot testing has been done using Eric Prud’hommeaux’s “Fancy ShEx Demo”](https://reader035.vdocuments.net/reader035/viewer/2022062402/5f0a90127e708231d42c3ed3/html5/thumbnails/8.jpg)
code type
![Page 9: FHIR RDF and ShEx · example.ttl.html • ShEx is available for all FHIR resources ... • Spot testing has been done using Eric Prud’hommeaux’s “Fancy ShEx Demo”](https://reader035.vdocuments.net/reader035/viewer/2022062402/5f0a90127e708231d42c3ed3/html5/thumbnails/9.jpg)
DateTime type
![Page 10: FHIR RDF and ShEx · example.ttl.html • ShEx is available for all FHIR resources ... • Spot testing has been done using Eric Prud’hommeaux’s “Fancy ShEx Demo”](https://reader035.vdocuments.net/reader035/viewer/2022062402/5f0a90127e708231d42c3ed3/html5/thumbnails/10.jpg)
uri type
![Page 11: FHIR RDF and ShEx · example.ttl.html • ShEx is available for all FHIR resources ... • Spot testing has been done using Eric Prud’hommeaux’s “Fancy ShEx Demo”](https://reader035.vdocuments.net/reader035/viewer/2022062402/5f0a90127e708231d42c3ed3/html5/thumbnails/11.jpg)
Coding
![Page 12: FHIR RDF and ShEx · example.ttl.html • ShEx is available for all FHIR resources ... • Spot testing has been done using Eric Prud’hommeaux’s “Fancy ShEx Demo”](https://reader035.vdocuments.net/reader035/viewer/2022062402/5f0a90127e708231d42c3ed3/html5/thumbnails/12.jpg)
Reference
![Page 13: FHIR RDF and ShEx · example.ttl.html • ShEx is available for all FHIR resources ... • Spot testing has been done using Eric Prud’hommeaux’s “Fancy ShEx Demo”](https://reader035.vdocuments.net/reader035/viewer/2022062402/5f0a90127e708231d42c3ed3/html5/thumbnails/13.jpg)
identifier
uri becomes URI rather than string
How are 2 identifiers represented???
![Page 14: FHIR RDF and ShEx · example.ttl.html • ShEx is available for all FHIR resources ... • Spot testing has been done using Eric Prud’hommeaux’s “Fancy ShEx Demo”](https://reader035.vdocuments.net/reader035/viewer/2022062402/5f0a90127e708231d42c3ed3/html5/thumbnails/14.jpg)
Reference
![Page 15: FHIR RDF and ShEx · example.ttl.html • ShEx is available for all FHIR resources ... • Spot testing has been done using Eric Prud’hommeaux’s “Fancy ShEx Demo”](https://reader035.vdocuments.net/reader035/viewer/2022062402/5f0a90127e708231d42c3ed3/html5/thumbnails/15.jpg)
Coding
![Page 16: FHIR RDF and ShEx · example.ttl.html • ShEx is available for all FHIR resources ... • Spot testing has been done using Eric Prud’hommeaux’s “Fancy ShEx Demo”](https://reader035.vdocuments.net/reader035/viewer/2022062402/5f0a90127e708231d42c3ed3/html5/thumbnails/16.jpg)
Closure