Skip to content

Latest commit

 

History

History
26 lines (18 loc) · 1004 Bytes

README.md

File metadata and controls

26 lines (18 loc) · 1004 Bytes

Generating FHIR Artifacts

The FHIR StructureDefinition resources used in the CEDAR API are generated from FHIR Shorthand (FSH) source files. Instead of changing an extension by editing the corresponding file in the ../resources directory, make changes to the files in input/fsh and follow the instructions below to update the generated files.

Install Tools

gem install jekyll
npm install -g fsh-sushi
cd fsh
./_updatePublisher.sh

Generate the Implementation Guide

./_genonce.sh

Note that you can also just run the initial Sushi compile via sushi . at development time. ./_genonce.sh is needed to generate the complete FHIR StructureDefinition resources that include the snapshot in addition to the differential created by Sushi.

Update the FHIR API Resources

cp output/StructureDefinition-extension-*.json ../resources