Communication resources used to request a electronical prescription context. Resources to to be published on https://simplifier.net/erezept-servicerequest
Table of Contents
This Repo contains the fsh files to the later published spec-E-Rezept-ServiceRequest files on simplifier.net and a script to validate them.
See ReleaseNotes.md for all information regarding the (newest) releases.
- Clone this project to your local machine.
- Run the install script once.
- Work on teh FHIR Profiles build and validate them with the given script.
To install the necessary tools run
sudo ./install_fhir_tools.shThis will install
- Java SDK 17 JRE
- Sushi from https://github.com/FHIR/sushi
- dotnet-sdk-3.1
- firely.terminal
- yq yaml-parser
After successfull installation run:
./validate.sh -isSee ../validation_results/ for results.
For the generation of PDFs from XML files the Rezeptanforderung Stylesheet can be used. This repo contains a script which transforms the XSLT Test Files into PDFs. This can be run with
python3 resources/scripts/convert_to_pdf.pySee Usage.md
If you want to contribute, please check our CONTRIBUTING.md.
Copyright 2022-2025 gematik GmbH
Apache License, Version 2.0
See the LICENSE for the specific language governing permissions and limitations under the License
- 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.
- 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:
- The copyright notice (Item 1) and the permission notice (Item 2) shall be included in all copies or substantial portions of the Software.
- 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.
- 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
- 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.
Please address your ideas via PullRequest.
NOTE: If you are using a 'box.fhir' Devbox you should have the neccessary dependencies already installed and this step can be skipped.
Otherwise, the following script installs all necessary tools for specifying fhir resources onto your local machine.
./scripts/install_fhir_tools.sh(requires admin privileges)
Run script validate.sh to
- Run sushi FHIR Files generator
- Validate all files in the
./Resourcesfolder - Get a html output file for each FHIR file in
../validation_results/
You can use following script options
-i installs dependencies with firely.terminal from ./<foldername>/sushi-config.yaml file
./validate.sh -i-s sorts resulting html files in folders by the severities of the findings.
Categories are: error, warning, information and unknown
./validate.sh -s-d foldername sets foldername for validation. Default is: ./Resources
validate.sh -d ./Testresources-f filename sets filename for single validation.
validate.sh -f ./Resources/fsh-generated/resources/myProfile.json-v version defines a version od the used Hapi Validator. If the specified version of the hapi validator is not present the default will be used. Validator-JARs will be downloaded to ~/.fhir/validators/.
validate.sh -v 5.6.70If you find issues with this template project, please leave an issue or create a Pull Request via the template repository.