Home - fhircat/FHIRCat GitHub Wiki
Welcome to the FHIRCat wiki
Instructions
How to build contexts for FHIR R4 and latest R5
Starts with org.hl7.fhir.core and produces jsonld_context_files
git clone -b LDContextGenerator https://github.com/fhircat/org.hl7.fhir.core
Run test classes to generate LDContextFiles for R4 and R5 respectively
https://github.com/fhircat/org.hl7.fhir.core/blob/LDContextGenerator/org.hl7.fhir.r4/src/test/java/org/hl7/fhir/r4/test/LDContextGeneratorTests.java https://github.com/fhircat/org.hl7.fhir.core/blob/LDContextGenerator/org.hl7.fhir.r5/src/test/java/org/hl7/fhir/r5/test/LDContextGeneratorTests.java
Generated files should be located in ~/LDContexts/
Change to FHIR version to load correct package?
pcm.loadPackage("hl7.fhir.r4.core", "4.0.1")
return context("4.4.0");
https://fhircat.org/ server
How to install contexts on theClone (or pull) from github repo: https://github.com/fhircat/jsonld_context_files
The github repo is cloned in /datadrive/temp/jsonld_context_files/
Original
symlink /datadrive/temp/jsonld_context_files/contextFiles/r4
to /var/www/html/fhir-r4/original/contexts
symlink /datadrive/temp/jsonld_context_files/contextFiles/r5
to /var/www/html/fhir-r5/original/contexts
- https://fhircat.org/fhir-r4/original/....context.jsonld --> Current RDF generator for FHIR R4 content
- https://fhircat.org/fhir-r5/original/....context.jsonld --> Current RDF generator for FHIR R5 content
Proposed
To be done.
- https://fhircat.org/fhir-r4/proposed/....context.jsonld --> New RDF Proposal for FHIR R4 content (Future)
- https://fhircat.org/fhir-r5/proposed/....context.jsonld --> New RDF Proposal for FHIR R5 content (Future)
Directories on AMIAPaper
- data/fhir-r4/examples.json.zip
- data/fhir-r4/examples.ttl.zip
(same for fhir-r5)