Skip to content

gematik/erp-errorcodes


E-Rezept-ErrorCodes FHIR-Profiles

The error codes returned by the E-Rezept Fachdienst

Table of Contents
  1. About The Project
  2. License
  3. Additional Notes and Disclaimer from gematik GmbH
  4. Contact

About The Project

This Repo contains the fsh files to the published E-Rezept ErrorCodes files on https://simplifier.net/erezept-errorcodes and a script to validate them.

These are the error codes returned by the E-Rezept-Fachdienst when an error occurs. They are fixed and therefore defined by the code systems contained in this repository.

The complete error code can be found in GEM_ERP_CS_ErrorCode and has the following structure: Issue-Type.ErrorComponent.SubErrorComponent.ErrorSuffix

An example could be: Value.IKNR.Invalid.0001

More details can be found in the API Documentation

A short slide deck can also be found here

Release Notes

See ReleaseNotes.md for all information regarding the (newest) releases.

Usage

Installing FHIR tools on your local machine

To set up a development environment with support for FHIR profile compilation and validation:

  1. Ensure you have Docker installed on your machine.
  2. Clone the repository and open it in Visual Studio Code.
  3. When prompted, reopen the project in a container. This will build the Docker container based on the provided Dockerfile.
  4. The container includes:
  5. The codfsh VS Code extension is also installed in the container for an enhanced FHIR profile development experience.
  6. Once the container is built and running, you can use the integrated terminal in VS Code to run SUSHI and the HAPI FHIR Validator.

Note: The codfsh extension settings are pre-configured in the .devcontainer/devcontainer.json file to use the correct paths for the HAPI Validator and its configuration.

License

Copyright 2025 gematik GmbH

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the LICENSE for the specific language governing permissions and limitations under the License.

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. The software is the result of research and development activities, therefore not necessarily quality assured and without the character of a liable product. For this reason, gematik does not provide any support or other user assistance (unless otherwise stated in individual cases and without justification of a legal obligation). Furthermore, there is no claim to further development and adaptation of the results to a more current state of the art.
  3. Gematik may remove published results temporarily or permanently from the place of publication at any time without prior notice or justification.
  4. 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.

Help

If you find issues with this template project, please leave an issue or create a Pull Request via the template repository.

About

This repo lists the error codes for the electronic prescriptions.

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages