The Implementation Guide for CCE FHIR profiles.
This repository has been scaffolded using the sushi tool and it contains CCE FHIR profiles in the FSH or FHIR Shorthand notation.
When you run sushi init and enter required values, you get a project which looks like the current project. You get input/fsh folder in which you are supposed to create *.fsh files describing your CodeSystems, ValueSets & Profiles.
After you've added the various *.fsh files, you can build the project using:
sushi build .Or,
sushiRunning SUSHI will create a cce-fhir-ig/fsh-generated directory, and populate it with the files needed to create the IG using the HL7 FHIR IG Publisher tool.
Run:
# old cmd: ./_updatePublisher.sh
./_build.sh updateThis will download the latest version of the HL7 FHIR IG Publisher tool into ./input-cache. This step can be skipped if you already have run the command recently, and have the latest version of the IG Publisher tool.
Now run:
# old cmd: ./_genonce.sh
./_build.sh buildThis will run the HL7 FHIR IG generator, which may take several minutes to complete. After the publisher is finished, open the file /cce-fhir-ig/output/index.html to see the resulting IG.
Download the latest version of the validator tool.
Place it under the input-cache dir, and rename it as validator.jar.
Now, you can validate any instance of a resource (in JSON, XML or turtle format) against this IG, using:
java -jar input-cache/validator.jar output/Patient-Patient-id-115.json -ig output/package.tgz
java -jar input-cache/validator.jar output/Condition-Condition-id-115.json -ig output/package.tgz
java -jar input-cache/validator.jar output/Procedure-Operation-id-115.json -ig output/package.tgzEach release attaches a ready-to-use validation bundle (cce-fhir-ig-bundle-vX.Y.Z.zip) containing validator.jar, the IG's package.tgz, and two helper scripts, so users can validate their own data against this IG without building anything:
-
Download the bundle from the Releases page.
-
Extract the zip to a folder of your choice (all files must stay together).
-
Validate an instance of your choice:
macOS / Linux:
./validate.sh instance.json
Windows (cmd):
validate.bat instance.json
Multiple files and additional validator options are supported, e.g.:
./validate.sh -profile https://www.cancercoreeurope.eu/fhir/StructureDefinition/PatientPseudonym patient.xmlBoth scripts run the same validation command internally:
java -jar validator.jar -ig package.tgz -tx n/a -version 4.0.1 <instance-file>The first run downloads the IG's dependency packages (de.basisprofil.r4, de.bbmri.fhir) from the FHIR package registry, so an internet connection is required once; results are cached locally afterwards. See tools/README.md for details.
Sample FHIR resources which conform to the CCE FHIR Profiles are in the cce-fhir-gen repository. The examples are in XML format but figuring out the JSON equivalents is not difficult. Otherwise, you may also find the JSON examples on the Simplifier website for any particular resource, e.g., Operation.
This repository is a continuation of the previous work from the cce-fhir repository. The FHIR profiles in the old repository were in XML, whereas this repository has the profiles in FSH notation (an additional advantage being that we get data validation for free, using the FHIR validator tool). The last release of CCE FHIR profiles on the Simplifier website, was made from the feature/minimal branch of the old repository and was versioned as 0.5.0. Hence the first version being released from this repository is v0.6.0.
Please check the old README.md file for more details.
Always create tagged releases from the main branch and after the version bump in sushi-config.yaml has been merged to main. This keeps the released bundle (GitHub Release + Simplifier) consistent with what GitHub Pages deploys. The recommended flow is:
- Create a branch, e.g.
release/0.6.0, and bump theversioninsushi-config.yaml(this is the version shown on the GitHub Pages site). - Open a pull request into
main, have it reviewed, and merge it. GitHub Pages is only deployed onmainpushes, so this is what publishes the new version. git checkout main && git pullso your local checkout has the merged bump.- Tag the merged commit and push it (which triggers the workflow to create a release archive and upload to Simplifier):
git tag -a v0.6.0 -m "Release 0.6.0" && git push origin v0.6.0
| Version | Artifact | Branch | Date | Comments |
|---|---|---|---|---|
| v0.6.0 | cce-fhir-ig-bundle-v0.6.0.zip | main |
18-Sep-2026 | Initial release from this repository |
| v0.6.1 | cce-fhir-ig-bundle-v0.6.1.zip | release/0.6.1 |
18-Sep-2026 | |
| v0.6.2 | cce-fhir-ig-bundle-v0.6.2.zip | release/0.6.2 |
21-Sep-2026 | |
| v0.6.3 | cce-fhir-ig-bundle-v0.6.3.zip | release/0.6.3 |
21-Sep-2026 | |
| v0.6.4 | cce-fhir-ig-bundle-v0.6.4.zip | release/0.6.4 |
22-Oct-2026 |
On every git tag push (v*), the publish workflow builds the IG, attaches the validation bundle (validator.jar + package.tgz + validate.sh/validate.bat + README.md) to a GitHub Release, and syncs the built FHIR resources to Simplifier.
The Simplifier upload needs the following values configured in the repository settings (Settings → Secrets and variables → Actions):
| Type | Name | Value | Purpose |
|---|---|---|---|
| Repository variable | SIMPLIFIER_PROJECT |
cce |
Project id in the Simplifier URL (https://simplifier.net/cce) |
| Repository secret | SIMPLIFIER_USER |
<user> |
Simplifier account user |
| Repository secret | SIMPLIFIER_PASS |
<password> |
Simplifier account password |
- Go to your repository on GitHub → Settings → Secrets and variables → Actions.
- On the Variables tab, add
SIMPLIFIER_PROJECTwith valuecce. - On the Secrets tab, add
SIMPLIFIER_USERandSIMPLIFIER_PASS.
The Simplifier step uses the current ZIP API: it zips the output/*.json resources and PUTs them to https://api.simplifier.net/<project>/zip. It authenticates with a JWT token from https://api.simplifier.net/token (using the SIMPLIFIER_USER/SIMPLIFIER_PASS secrets); if the token login fails it prints the response body and falls back to Basic Auth against the ZIP endpoint, which Simplifier also supports. If both fail, the step fails and the error body is logged.
The step runs only on tagged releases and is skipped automatically if any of these values is missing, so the rest of the pipeline (GitHub Release creation) is never blocked by an unconfigured Simplifier sync.
What: after a tagged build, the workflow zips the real FHIR resources from output/*.json (the profiles, extensions, code systems, value sets, instances, and the ImplementationGuide itself) into simplifier-project.zip. Publisher-generated files without a resourceType (canonicals.json, qa.json, *-list.json, …) are filtered out so the Simplifier import only sees FHIR resources; the package manifest (package.manifest.json) is included as package.json so Simplifier can create package releases from the project.
Where: the zip is PUT to the project ZIP API (https://api.simplifier.net/<project>/zip). The resources land in your Simplifier project, where they are visible under the Resources tab. To confirm the sync happened, check your project's Log tab or open Manage → Import log.
Publishing the package (manual UI step): the API only syncs resources; it cannot create a package release. To publish the synced resources as a FHIR package:
- Log in to Simplifier and open your project (https://simplifier.net/cce).
- Go to the Releases tab.
- Click Create → Create new package (or Create new version for... for a subsequent release).
- Enter a name (must contain at least one dot, e.g.
cce.fhir.ig), the version number (e.g.0.6.1), a description, and release notes. - Choose whether it is a pre-release and whether it should be public or private.
- Click Create to publish the package.
The published version then appears under the Releases tab and becomes installable via the FHIR package server.
The IG is published to GitHub Pages: https://samply.github.io/cce-fhir-ig/
Every push to main rebuilds the IG and deploys output/ to the gh-pages branch (see publish workflow).
For this to work, GitHub Pages must be enabled in the repository settings: Settings → Pages → Build and deployment → Source: Deploy from a
branch → Branch: gh-pages (/ root).
