Skip to main content

A simple EDI 835 file format parser.

Project description

EDI 835 Parser

Python - 3.9.0+ Maintenance GitHub license Downloads

edi-835-parser: a lightweight EDI 835 file parser

This package provides a simple-to-use Python interface to EDI 835 Health Care Claim Payment and Remittance Advice files.

This package is made publicly available by Senscio Systems, the company behind the Ibis Program, an industry leading healthcare initiative that helps people take control of their chronic condition management.

Please consider taking two minutes to give feedback.

Installation

Binary installers for the latest released version are at the Python Package Index. Please note that you need to run Python 3.9 or higher to install the edi-835-parser.

pip install edi-835-parser

Usage

To parse an EDI 835 file simply execute the parse function.

from edi_835_parser import parse

path = '~/Desktop/my_edi_file.txt'
transaction_set = parse(path)

The parse function also works on a directory path.

from edi_835_parser import parse

path = '~/Desktop/my_directory_of_edi_files'
transaction_sets = parse(path)

In both cases, parse returns an instance of the TransactionSets class. This is the class you manipulate depending on your needs. For example, say you want to work with the transaction sets data as a pd.DataFrame.

from edi_835_parser import parse

path = '~/Desktop/my_directory_of_edi_files'
transaction_sets = parse(path)

data = transaction_sets.to_dataframe()

And then save that pd.DataFrame as a .csv file.

data.to_csv('~/Desktop/my_edi_file.csv')

The complete set of TransactionSets functionality can be found by inspecting the TransactionSets class found at edi_parser/transaction_set/transaction_sets.py

Tests

Example EDI 835 files can be found in tests/test_edi_835/files. To run the tests use pytest.

python -m pytest

Contributing to edi-835-parser

All contributions, bug reports, bug fixes, documentation improvements, enhancements, and ideas are welcome.

Not all EDI 835 elements and segments are currently parsable and not all EDI codes are mapped. If you are interested in contributing to edi-835-parser, please feel free to fork the project and/or reach out by emailing edi835parser@gmail.com.

Acknowledgements

A special thank you to Github user gizquier2 for his interest in this project and continued feedback.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

edi_835_parser-1.8.0.tar.gz (16.1 kB view details)

Uploaded Source

Built Distribution

edi_835_parser-1.8.0-py3-none-any.whl (30.1 kB view details)

Uploaded Python 3

File details

Details for the file edi_835_parser-1.8.0.tar.gz.

File metadata

  • Download URL: edi_835_parser-1.8.0.tar.gz
  • Upload date:
  • Size: 16.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.2 CPython/3.11.6 Darwin/22.6.0

File hashes

Hashes for edi_835_parser-1.8.0.tar.gz
Algorithm Hash digest
SHA256 9b1568bfac61666f00b3093f7f0cd35582186d8ef0ea0c57a5af8fdf5a7b2fcb
MD5 d1e6da21a80b849cfc68cc15ec80652d
BLAKE2b-256 51b6fbc400d5afbbf2b149eae661ef1efd470103326acf201729bb09062388ab

See more details on using hashes here.

File details

Details for the file edi_835_parser-1.8.0-py3-none-any.whl.

File metadata

  • Download URL: edi_835_parser-1.8.0-py3-none-any.whl
  • Upload date:
  • Size: 30.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.2 CPython/3.11.6 Darwin/22.6.0

File hashes

Hashes for edi_835_parser-1.8.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8e3e79d74bb5cb45298819064bf5bc99bc5e40c6a86209050a9b421019f15d28
MD5 aedfb1833cd841b1cce5761d95c54e5f
BLAKE2b-256 e453ef9376cdbb2fa4e61cab9277b7500d644b796c85674096b20301423e8e66

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page