https://github.com/copyleftdev/x12-edi-tools
A comprehensive set of tools for working with X12 EDI files
Science Score: 26.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (6.2%) to scientific vocabulary
Keywords
Repository
A comprehensive set of tools for working with X12 EDI files
Basic Info
Statistics
- Stars: 6
- Watchers: 2
- Forks: 3
- Open Issues: 1
- Releases: 0
Topics
Metadata Files
README.md
X12 EDI Tools
A comprehensive Python library for working with X12 EDI (Electronic Data Interchange) files, commonly used in healthcare for claims processing, eligibility verification, and other administrative transactions.
Installation
Install the X12 EDI Tools library using pip:
bash
pip install x12-edi-tools
Key Components
X12Parser
Parses X12 files into Python objects.
```python from x12editools.x12_parser import X12Parser
parser = X12Parser() parseddata = parser.parse("path/to/x12file.edi") print(parsed_data) ```
X12Generator
Generates X12 files from Python objects.
```python from x12editools.x12_generator import X12Generator
generator = X12Generator() x12content = generator.generate(datadict) with open("output.edi", "w") as f: f.write(x12_content) ```
X12Validator
Validates X12 files against standard formats and custom rules.
```python from x12editools.x12validator import X12Validator
validator = X12Validator() isvalid, errors, warnings = validator.validate("path/to/x12file.edi") print("Validation errors:", errors) ```
DentalClaimProcessor
Processes dental claims (837D transactions).
```python from x12editools.dentalclaimprocessor import DentalClaimProcessor
processor = DentalClaimProcessor() claims = processor.process("path/to/837Dfile.edi") for claim in claims: print(f"Claim ID: {claim.claimid}, Patient: {claim.patient_name}") ```
EligibilityChecker
Handles eligibility inquiries and responses (270/271 transactions).
```python from x12editools.eligibility_checker import EligibilityChecker
checker = EligibilityChecker() request = checker.create270request(patientdata) response = checker.process271response(responsedata) print(f"Patient eligible: {response.is_eligible}") ```
RemittanceAdviceParser
Parses remittance advice (835) transactions.
```python from x12editools.remittanceadviseparser import RemittanceAdviceParser
parser = RemittanceAdviceParser() remittance = parser.parse("path/to/835file.edi") print(f"Total paid: ${remittance.totalpaid}") ```
X12Converter
Converts X12 data to and from other formats like JSON and CSV.
```python from x12editools.x12converter import X12Converter
converter = X12Converter() jsondata = converter.tojson("path/to/x12file.edi") csvdata = converter.tocsv("path/to/x12file.edi") ```
X12Encryptor
Encrypts and decrypts X12 data for secure transmission and storage.
```python from x12editools.x12encryptor import X12Encryptor
encryptor = X12Encryptor("your-secret-key") encrypteddata = encryptor.encrypt("path/to/x12file.edi") decrypteddata = encryptor.decrypt(encrypteddata) ```
X12DatabaseIntegrator
Facilitates integration of X12 data with databases.
```python from x12editools.x12database_integrator import X12DatabaseIntegrator
integrator = X12DatabaseIntegrator("databaseconnectionstring") integrator.storetransaction("path/to/x12file.edi") transactions = integrator.retrievetransactions(daterange) ```
X12Logger
Provides detailed logging of X12 operations for auditing and troubleshooting.
```python from x12editools.x12logger import X12Logger
logger = X12Logger("path/to/log/directory") logger.logparse("837", "path/to/837file.edi", parseresult) logger.loggenerate("835", "path/to/835file.edi", generationdata) ```
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
License
This project is licensed under the MIT License.
Contact
Don Johnson - dj@codetestcode.io
Project Link: https://github.com/donjohnson/x12-edi-tools
Owner
- Name: Donald Johnson
- Login: copyleftdev
- Kind: user
- Location: Los Angeles
- Repositories: 39
- Profile: https://github.com/copyleftdev
GitHub Events
Total
- Issues event: 3
- Watch event: 9
- Issue comment event: 2
- Push event: 2
- Pull request event: 2
- Fork event: 3
Last Year
- Issues event: 3
- Watch event: 9
- Issue comment event: 2
- Push event: 2
- Pull request event: 2
- Fork event: 3
Committers
Last synced: 8 months ago
Top Committers
| Name | Commits | |
|---|---|---|
| Don Johnson | dj@c****o | 7 |
| L337[3b9b768f]SIGMA | d****n@c****o | 2 |
| plever | p****r@g****m | 1 |
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: 8 months ago
All Time
- Total issues: 4
- Total pull requests: 2
- Average time to close issues: 3 days
- Average time to close pull requests: about 2 months
- Total issue authors: 3
- Total pull request authors: 1
- Average comments per issue: 1.0
- Average comments per pull request: 0.0
- Merged pull requests: 2
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 4
- Pull requests: 2
- Average time to close issues: 3 days
- Average time to close pull requests: about 2 months
- Issue authors: 3
- Pull request authors: 1
- Average comments per issue: 1.0
- Average comments per pull request: 0.0
- Merged pull requests: 2
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- lutostag (1)
- k-simmons2 (1)
- cachatj (1)
Pull Request Authors
- plever (2)
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 1
-
Total downloads:
- pypi 2,500 last-month
- Total dependent packages: 0
- Total dependent repositories: 0
- Total versions: 2
- Total maintainers: 1
pypi.org: x12-edi-tools
A comprehensive set of tools for working with X12 EDI files
- Homepage: https://github.com/copyleftdev/x12-edi-tools
- Documentation: https://x12-edi-tools.readthedocs.io/
- License: MIT License
-
Latest release: 0.1.2
published over 1 year ago
Rankings
Maintainers (1)
Dependencies
- actions/checkout v4 composite
- actions/setup-python v3 composite
- pypa/gh-action-pypi-publish 27b31702a0e7fc50959f5ad993c78deac1bdfc29 composite
- cryptography *
- matplotlib *
- networkx *
- requests *
- setuptools *
- twine *
- wheel *
- certifi ==2024.7.4
- cffi ==1.16.0
- charset-normalizer ==3.3.2
- contourpy ==1.2.1
- cryptography ==43.0.0
- cycler ==0.12.1
- docutils ==0.21.2
- fonttools ==4.53.1
- idna ==3.7
- importlib-metadata ==8.2.0
- jaraco.classes ==3.4.0
- jaraco.context ==5.3.0
- jaraco.functools ==4.0.1
- jeepney ==0.8.0
- keyring ==25.2.1
- kiwisolver ==1.4.5
- markdown-it-py ==3.0.0
- matplotlib ==3.9.1
- mdurl ==0.1.2
- more-itertools ==10.3.0
- networkx ==3.3
- nh3 ==0.2.18
- numpy ==2.0.1
- packaging ==24.1
- pillow ==10.4.0
- pkginfo ==1.10.0
- pycparser ==2.22
- pygments ==2.18.0
- pyparsing ==3.1.2
- python-dateutil ==2.9.0.post0
- readme-renderer ==44.0
- requests ==2.32.3
- requests-toolbelt ==1.0.0
- rfc3986 ==2.0.0
- rich ==13.7.1
- secretstorage ==3.3.3
- setuptools ==72.1.0
- six ==1.16.0
- twine ==5.1.1
- urllib3 ==2.2.2
- wheel ==0.43.0
- zipp ==3.19.2
- Add *
- List *
- cryptography >=3.4.7
- requests >=2.25.1