Skip to content

BD2KOnFHIR/BLENDINGFHIRandRDF

Repository files navigation

Source files for Blending FHIR RDF and OWL

These files can be used to demonstrate the use of FHIR, RDF and SNOMED CT in the context of a Protege.

Instructions:

  1. Clone this project
  2. Download the latest version of Protégé Desktop
  3. Copy catalog-remote.xml to catalog-v001.xml. This will retrieve the FHIR resources from the FHIR Build Server. (catalog-local.xml is an equivalent that retrives all resources locally).
  4. Open wrapper.owl in Protégé
  5. Select the Fact++ reasoner from the Reasoner tab
  6. Select **Start Reasoner ** from the Reasoner tab
  7. Switch to the Entities tab to see the results

Protege Screenshot

The above image shows f201,a final diagnostic report of a '188340000 | Malignant tumor of craniopharyngeal duct', classified as an instance of FinalReportWithPatientCancerDiagnosis, prelimDX, a preliminary diagnostic report of the same thing classified as a ReportWithCancerDiagnosis and f201, a final diagnostic report of a '428763004 | Bacteremia due to staphylococcus|' classified as just a FinalizedReport.

Note that FinalizedReportWithCancerDiagnosis is a subclass of both FinalizedReport and ReportWithCancerDiagnosis, meaning that f201 is also an instance of both of those classifiers. Proteg Screenshot 2

Files

OWL Files

Ancillary Files

Building snomed_subset.ttl

  1. Follow the installation instructions on the SNOMEDToOWL conversion page.
  2. Download the latest image of SNOMED CT International. The US Download Site can be found at https://www.nlm.nih.gov/healthit/snomedct/index.html -- non US citizens need to consult SNOMED International for instructions on where to get SNOMED in their country.
  3. Run RF2Filter to extract the desired subset. In the example below, we extract the RF2 for ancestors and descendants of '363346000 |Malignant neoplastic disease (disorder)|', '40238009 |Hand joint structure (body structure)|' and '385055001 |Tablet dose form (qualifier value)|' into the snomed_subset directory:
> RF2Filter -i -a -d SnomedCT_InternationalRF2_Production_20170131T120000/Snapshot snomed_subset 363346000 40238009 385055001
  1. Run SNOMEDToOWL to generate OWL for the output RF2:
> SNOMEDToOWL snomed_subset snomed_subset.json snomed_subset.ttl

About

Source files for Blending FHIR and RDF paper

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages