Specifies the structure of a FHIR document to exchange a clinical summary for a patient between primary care practices
- FHIR shirtand compiler (sushi) and the IG publisher installed locally as described in the FSH spec
- This repository cloned locally
- You know enough about FHIR and FSH to make sensible changes
- Edit the FSH files that define the FHIR artifacts (in the fsh folder)
- Edit any page information (in FSH/input/pagecontent)
- Execute the 'runSushi.sh' script in the root. Resolve any errors.
- Execute the 'build.sh' script in the root.
- Resolve build errors (load the output/qa.html file to see them)
- The shell scripts are for a *nix system.
- At the time of writing, the build.sh script excludes the terminology test. There's a commented out line that will run with terminology support.
- The 'runSushi' script also executes a local javascript script that does a couple of things:
- It creates a file - examples.md - that has a list of all examples ordered by the profile
- It creates a Bundle resource for each Composition (found in the examples\composition folder) that contains all the resource instances references by the Composition. Each bundle is added to the examples.md file using a format that allows easy navigation within the bundle.
The root for FSH files. The name is required for integration with IG builder. The profiles are directly within this folder. Each file can have multiple profiles, commonly the List resource for a given type and the profile on the type itself.
The config.yaml file is the primary configuration file. Sushi will copy content from here to the other files that are required by the IG builder.
The examples folder. There is a separate folder (fsh/examples/composition) for document examples
Files that are used in the IG. Most are in the pagecontent subfolder