hcls-fhir-rdf
This repo is maintained by the RDF subgroup of the HL7 ITS group, and is mostly used for tracking FHIR RDF issues.
State of affairs
RDF (Turtle) is one of three official FHIR serialization formats, along with JSON and XML.
Both JSON and RDF (Turtle)
examples are generated from XML master examples during the FHIR spec build process.
The FHIR publishing process on github generates:
- a ShEx schema for all core FHIR resources,
- a fairly minimal FHIR ontology; and
- RDF serializations for all of the FHIR examples in the FHIR specification.
The RDF and ShEx generation code in this repository is no longer maintained. See documentation below for an overview of the current generation process.
Resources
Directories
Still in use:
- scripts – Convenience scripts for transforming FHIR RDF data
Obsolete:
data - the current stable FHIR specification
examples – XML examples from specification
site – FHIR definitions (we use the json format)
rdf – RDF representation of examples
definitions.shex – shex definitions of FHIR content
definitions.xml – XML definitions used in xslt transformation
extract.log – log of build for the data directory
hcls_fhir_rdf – python 3 modules for building data directory
ontology – early work on modeling FHIR definitions in OWL
tests – python unit tests (not a lot at the moment)
xsl – XSLT 2.0 transform for converting FHIR instances from XML to RDF
RDF & ShEx Generation