GithubHelp home page GithubHelp logo

gematik / fhir-profiles-erpchrg Goto Github PK

View Code? Open in Web Editor NEW
0.0 9.0 0.0 293 KB

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.

License: Apache License 2.0

GLSL 97.55% Shell 2.45%
e-rezept fhir fsh specification

fhir-profiles-erpchrg's Introduction

E-Rezept-Workflow FHIR-Profiles for ChargeItem

Table of Contents

About

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.

Getting Started

  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

sudo ./install_fhir_tools.sh

This will install

After successfull installation run:

./validate.sh -i

See ../val_out/<current_directory_name> for results.

Usage

Run 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/<current_directory_name>

You can use following script options

Install dependencies from sushi-config.yaml

-i installs dependencies with firely.terminal from ./<foldername>/sushi-config.yaml file

./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

./validate.sh -s

Change default folder

-d foldername sets foldername for validation. Default is: ./Resources

validate.sh -d ./Testresources

Process single file

-f filename sets filename for single validation.

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/

validate.sh -v 5.6.70

fhir-profiles-erpchrg's People

Contributors

florianschoffke avatar hendrejvr avatar hendrikgematik avatar svensommer avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.