This repository contains the source files to build and deploy a multi-FHIR version of the HL7 EU Imaging Studies EHDS Implementation Guide.
- The IG source files are located in the
IG-basedirectory. - Run
./_preprocessgenerate.shto generate FHIR-version-specific IGs under theigs/Rxdirectory. - The
./_preprocessgenerate.shprocess uses Liquid tags to insert version-specific content from the source files into the appropriate folders.
- From the root directory, run:
./_preprocessMultiVersion.sh
- The compiled IGs will be found in the
igs/r4andigs/r5directories. - Run
./_updatePublisher.shand then./_genonce.shto build each IG.
- Check the available Liquid tags in the
context-Rx.jsonfiles and add any new required ones. - Use the tags in the files to mark version-specific content.
Examples:
-
Inline tag:
{{R5}} <!-- This line will appear only in the r5 file. --> -
Block tag:
{% if isR4 %} This multi-line code snippet will appear only in the r4 directory. {% endif %}