Skip to content

Loading IGs

dotasek edited this page Dec 19, 2022 · 3 revisions

Implementation Guides or IGs are part of the FHIR validation process (see Validating against an Implementation Guide). Multiple IGs can be used for validation.

You can see how this is done by following the code in this example

There are two parts to adding an IG.

  1. Instantiating the IGLoader class. You only need to do this once and re-use the IGLoader instance for subsequent IGs.
  2. Loading the IG. IGs are loaded by specifying a source, which can take a number of formats as described in Loading an implementation Guide. In this repository, IGs are loaded both by package name, and by an absolute path to a package file.
Clone this wiki locally