Skip to content

w3c/hcls-fhir-rdf

Repository files navigation

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

The ShEx and RDF generation functions have been implemented directly within the FHIR publishing process on github

HAPI is now used for parsing and generating FHIR RDF in the FHIR publication process. See RDFParser

Code for the ShEx generation can be found in ShExGenerator.java

The RDF and ShEx generation code in this repository is no longer maintained.


Directories

  • 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 -- (underway) 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