Skip to content

arkhn/arkhn-ig-cohort360

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About this IG

This IG describes how to modelize FHIR resources to work with Cohort 360 web app.

Getting started

Dependencies

Install java and ruby

Update FHIR IG publisher

bash _updatepublisher.sh

Install sushi

yarn install

Install jekyll

gem install bundler
gem install jekyll

Known issues

If you have permission issues, you may look at this jekyll doc

On mac OS, some difficulties can occure installing jekyll. You can verify that jekyll is well installed by launching the jekyll command on your terminal.

If the command is not found, you can repare this by:

  • installing xcode using the AppStore
  • launch the commands:
xcode-select --install
sudo xcode-select --switch /Library/Developer/CommandLineTools # Enable command line tools
sudo xcode-select -s /Applications/Xcode.app/Contents/Developer
  • accept the xcode license sudo xcodebuild -license accept
  • Retry to install jekyll

Create an IG

bash _genonce.sh

Generate resources using sushi (profiles, extensions, examples, ValueSets, CodeSystems...)

If you don't want to create the whole IG, you can also just launch sushi using the command:

# Generate StructureDefinitions without snapshots
sushi .
# Generate StructureDefinitions with snapshots
sushi -s .

Note that bash _genonce.sh also launch sushi and convert .fsh files to json StructureDefinitions

FSH doc

http://build.fhir.org/ig/HL7/fhir-shorthand/index.html