hcls_fhir_rdf

FHIR to RDF conversion tools


License
BSD-1-Clause
Install
pip install hcls_fhir_rdf==0.1.3

Documentation

hcls-fhir-rdf

Sketching out an RDF representation for FHIR

State of affairs

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

Code for the RDF generator can be found in TurtleParser.java and RdfBaseParser.java

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