Skip to content

IKNL/NkrIG

Repository files navigation

NkrIG

Broncode voor de FHIR implementatiegids voor (aanlevering aan de) de Nederlandse Kankerregistratie. Bekijk de implementatiegids op: https://iknl.github.io/NkrIG/

Step 1 - Install required software

sushi This project uses FSH and sushi. Therefore, it requires Node.js. The IG Publisher additionally requires Java to be present on the system.

Installing sushi is detailed here. The following command might be sufficient if you're already working with nvm:

npm install fsh-sushi

IG Publisher The IG Publisher requires Java and Jekyll to be installed.

# Generally a good idea
sudo apt update

# Java
sudo apt install openjdk-17-jre

# Jekyll
sudo apt-get install graphviz jekyll

Step 2 - Clone the repo, and initialize publishers.

# Clone the repo
git clone https://github.com/IKNL/NkrIG.git
cd NkrIG

# Adding executable permissions may or may not be required
chmod +x _updatePublisher.sh

# Install/update the Implementation Guide publisher.
./_updatePublisher.sh

Step 3 - Compile the IG

# Adding executable permissions may or may not be required
chmod +x _genonce.sh

# Run sushi and subsequently the IG Publisher.
./_genonce.sh

Troubleshooting missing snapshots

SUSHI requires snapshots to be present in the dependencies to convert FSH to FHIR. If they are not in the package dependencies, the free Firely Terminal command line tool can inflate the packages for which snapshots are missing.

Install the free Firely Terminal command and run the inflate command:

dotnet tool install -g firely.terminal

# If not installed (unpacked in the .fhir package directory) yet:
fhir install nictiz.fhir.nl.r4.medicationprocess9@2.0.0-rc.3

fhir inflate --package nictiz.fhir.nl.r4.medicationprocess9@2.0.0-rc.3 --force

About

FHIR Implementation Guides for IKNL

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 7