A template for building IG based on the Argonaut and US-Core IG
Author: Eric Haas
THE ORIGINAL "FRAMEWORK" USING HTML 'WRAPPER' PAGES AND _INCLUDES FILES VS THE CURRENT IG-SAMPLER USING MARKDOWN PAGES AND MODULES FOR THE STATIC FILES HAS BEEN MOVED to the OLD-IG-TEMPLATE BRANCH
A Sampler of the IG-publishing framework for building an FHIR Implemenation Guide(IG) using the IG publisher and profile spreadsheets. This is based on the design of the Argonaut and US-Core IGs. See the FHIR IG publisher documentation for how to set up your local environment.
Shows how to create:
- Profiles
- Extensions ( complex and simple )
- CodeSystems
- ValueSets
- SearchParameters
- Operations
- Logical Models
- ConformanceStatements
And the Jekyll templates and static pages to go with them...
https://healthedata1.github.io/IG-Sampler/
(GitHub will automatically trigger a new build whenever you commit changes.)
See the FHIR IG publisher documentation for how to set up your local environment.
- If using the bash scripts
publish2.shyou will also need the file. IG-FileBuilder: A python 3.5 script that will create the ig.json and ig.xnl file based on the content in theresourcesandexampledirectories and thedefinitions.csv. See the inline comments for how to use and note the required python libraries you will need to run.
-
run the command line:
java -jar ${path1}org.hl7.fhir.igpublisher.jar -ig ig.json -watch
where:
- ${path1} = relative or absolute path to the jar file
-
update the path and title in the script to local names and paths. The scripts run from the source directory.
-
To update the ig.json and ig.xml files using the IG-Filebuilder prior to running the ig publisher NOTE This reads the definitions.csv file and creates ig.json and ig.xml
bash pub2.sh bash pub2-notx.sh (offline and without term server - for faster build) -
To run the ig publisher
bash pub.sh bash pub-notx.sh (offline and without term server - for faster build)
Some screenshots....
Some screenshots....