aehrc / primary-care-data-technical

3 stars 2 forks source link

Primary care summary

Specifies the structure of a FHIR document to exchange a clinical summary for a patient between primary care practices

Build process

Prerequisites

Build

  1. Edit the FSH files that define the FHIR artifacts (in the fsh folder)
  2. Edit any page information (in FSH/input/pagecontent)
  3. Execute the 'runSushi.sh' script in the root. Resolve any errors.
  4. Execute the 'build.sh' script in the root.
  5. Resolve build errors (load the output/qa.html file to see them)

Notes

Folder structure

fsh

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.

fsh/examples

The examples folder. There is a separate folder (fsh/examples/composition) for document examples

fsh/ig-data/input

Files that are used in the IG. Most are in the pagecontent subfolder