Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gematik/fhir-profiles-erpchrg
This Repo contains the fsh files to the published E-Rezept charge item files on https://simplifier.net/erezept-abrechnungsinformationen and a script to validate them.
https://github.com/gematik/fhir-profiles-erpchrg
e-rezept fhir fsh specification
Last synced: 12 days ago
JSON representation
This Repo contains the fsh files to the published E-Rezept charge item files on https://simplifier.net/erezept-abrechnungsinformationen and a script to validate them.
- Host: GitHub
- URL: https://github.com/gematik/fhir-profiles-erpchrg
- Owner: gematik
- License: apache-2.0
- Created: 2022-05-12T09:45:04.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-20T10:09:08.000Z (3 months ago)
- Last Synced: 2024-08-21T12:11:01.533Z (3 months ago)
- Topics: e-rezept, fhir, fsh, specification
- Language: GLSL
- Homepage:
- Size: 325 KB
- Stars: 0
- Watchers: 9
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Security: SECURITY.md
Awesome Lists containing this project
README
# E-Rezept-Workflow FHIR-Profiles for ChargeItem
## Table of Contents
- [About](#about)
- [Getting Started](#getting_started)
- [Usage](#usage)This Repo contains the fsh files to the published E-Rezept charge item files on https://simplifier.net/erezept-abrechnungsinformationen and a script to validate them.
1. Clone this project to your local machine.
2. Run the install script once.
3. Work on teh FHIR Profiles build and validate them with the given script.### Installing
To install the necessary tools run
```bash
sudo ./install_fhir_tools.sh
```
This will install
- Java SDK 17 JRE
- Sushi from
- dotnet-sdk-3.1
- firely.terminal
- yq yaml-parserAfter successfull installation run:
```bash
./validate.sh -i
```
See `../val_out/` for results.
## UsageRun script `validate.sh` to
1. Run sushi FHIR Files generator
2. Validate all files in the `./Resources` folder
3. Get a html output file for each FHIR file in `../val_out/`You can use following script options
### Install dependencies from sushi-config.yaml
`-i` installs dependencies with firely.terminal from `.//sushi-config.yaml` file```bash
./validate.sh -i
```### Sort resulting html files into severity folders
`-s` sorts resulting html files in folders by the severities of the findings.
Categories are: `error`, `warning`, `information` and `unknown````bash
./validate.sh -s
```### Change default folder
`-d foldername` sets foldername for validation. Default is: `./Resources````bash
validate.sh -d ./Testresources
```### Process single file
`-f filename` sets filename for single validation.
```bash
validate.sh -f ./Resources/fsh-generated/resources/myProfile.json
```### Work with specific version of Hapi Validator
`-v version` defines a version od the used Hapi Validator. If the specified version of the hapi validator is not present it will be downloaded to ~/.fhir/validators/
```bash
validate.sh -v 5.6.70
```