Skip to content

Repository files navigation

eFlow FHIR IG Monorepo

This repository is a clean, minimal, reproducible workspace for multiple HL7 FHIR IG Publisher + SUSHI projects.

Structure

  • igs/eflow-core - cross-cutting patterns (security/audit/errors + base operations)
  • igs/eflow-server - umbrella server contract (CapabilityStatement + conformance matrix)
  • igs/eflow-rx - module IG
  • igs/eflow-diga - module IG
  • igs/eflow-patrech - module IG
  • igs/eflow-eu - module IG
  • igs/eflow-transfer - module IG

Each IG is a self-contained IG Publisher project with its own ig.ini, sushi-config.yaml, and input/ folder. Build artifacts are ignored by git.

Build one IG

Run the pipeline from the IG directory:

cd igs/rx
fhirscripts install
fhirscripts build pipeline

If your local binary is named fhirscripts-dev, use that command instead.

Build multiple IGs

Build IGs sequentially (core first):

for ig in core bfarm diga erp-chrg rx; do
	echo "=== Building $ig ==="
	(
		cd "igs/$ig"
		fhirscripts install
		fhirscripts build pipeline
	)
done

Devcontainer (Windows-friendly)

This repo includes a VS Code devcontainer so Windows users can build without local installs.

Steps:

  1. Install Docker Desktop and VS Code.
  2. Install the VS Code "Dev Containers" extension.
  3. Open this repo in VS Code and choose "Reopen in Container".
  4. Build an IG inside the container:
cd igs/rx
fhirscripts install
fhirscripts build pipeline

Notes:

  • The container installs Java, yq, fsh-sushi, igtools, Google Cloud CLI, and Firely Terminal.

Local Draw.io Workflow

  • Draw.io source files live in each IG under input/drawio-source.
  • Generated draw.io images live in each IG under input/images.
  • Build all draw.io images locally with:
./scripts/build-drawio-images-local.sh
  • You can override the local draw.io executable path via DRAWIO_APP.

Notes

  • fhirscripts install ensures required tooling is available for the selected IG pipeline.
  • All IGs target FHIR R4 (4.0.1).

License

Copyright 2026 gematik GmbH

Apache License, Version 2.0

See the LICENSE for the specific language governing permissions

Additional Notes and Disclaimer from gematik GmbH

  1. Copyright notice: Each published work result is accompanied by an explicit statement of the license conditions for use. These are regularly typical conditions in connection with open source or free software. Programs described/provided/linked here are free software, unless otherwise stated.
  2. Permission notice: Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
    1. The copyright notice (Item 1) and the permission notice (Item 2) shall be included in all copies or substantial portions of the Software.
    2. The software is provided "as is" without warranty of any kind, either express or implied, including, but not limited to, the warranties of fitness for a particular purpose, merchantability, and/or non-infringement. The authors or copyright holders shall not be liable in any manner whatsoever for any damages or other claims arising from, out of or in connection with the software or the use or other dealings with the software, whether in an action of contract, tort, or otherwise.
    3. We take open source license compliance very seriously. We are always striving to achieve compliance at all times and to improve our processes. If you find any issues or have any suggestions or comments, or if you see any other ways in which we can improve, please reach out to: ospo@gematik.de
  3. Please note: Parts of this code may have been generated using AI-supported technology. Please take this into account, especially when troubleshooting, for security analyses and possible adjustments. Diagrams are referenced via diagram in the core use case and copied into the module's input/images-source during the merge if missing. You can override diagram in the module entry if a module-specific diagram is needed.

Core Markdown Includes in Module IGs

Module pages can include selected Markdown snippets from core without copying all core pages.

  • In module pagecontent, reference includes using the prefix core-, e.g. {% include core.query-api-consent-fd-requirements.md %}
  • Build step copies only referenced core-*.md includes from igs/core/input/pagecontent/<name>.md to igs/<module>/input/includes/core-<name>.md

This keeps core as source of truth and synchronizes only tagged include files.

About

FHIR IGs für Workflowmodule des E-Rezept-Fachdienst

Resources

Security policy

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages