Skip to content

PAID is library for care billing with payers in Germany according to § 105 SGB XI and § 302 SGB V. The project name is an acronym and stands for "Pflegeabrechnung in Deutschland".

License

coop-care/paid

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

PAID

PAID, also known as "Pflegeabrechnung in Deutschland", is a library written in typescript for care billing with payers in Germany ("Pflegekassen" and "Krankenkassen") according to § 105 SGB XI and § 302 SGB V.

Include PAID library in your project

Install

npm install paid-care

Usage

1. Get data, serialize

First we need to download & parse some data:

  • Institution data (who pays the receipts, where to send the receipts to and how, to whom to encrypt the receipts, ...)
  • Public keys of institutions to encrypt to

The data should be persisted in a file or localStorage. It can potentially change daily but should at least be fetched once a quarter of a year.

import fetchInstitutionLists from "kostentraeger/fetcher"
import { serializeInstitutionLists } from "kostentraeger/json_serializer"

const institutionListsParseResult = await fetchInstitutionLists()
// each item in the kostentraegerParseResult array contains fileName and warnings in case you want to log them
const stringifiedInstitutionLists = serializeInstitutionLists(institutionListsParseResult.map(it => it.institutionList))

2. deserialize, use

import { InstitutionListsIndex } from "kostentraeger/index"
import { deserializeInstitutionLists } from "kostentraeger/json_serializer"

const institutionLists = deserializeInstitutionLists(stringifiedInstitutionLists)
const index = new InstitutionListsIndex(institutionLists)

3. Send Receipts

TODO

Build PAID library

Install

npm install

Run tests

npm run test

Build

npm run build

About

PAID is library for care billing with payers in Germany according to § 105 SGB XI and § 302 SGB V. The project name is an acronym and stands for "Pflegeabrechnung in Deutschland".

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published