Overview
Report Parsing SDK on GitHub A comprehensive Python SDK for interacting with the Eka Care Medical Records API. This SDK enables you to upload and process medical documents with support for smart report parsing and PII detection.Installation
Install from source:Quick Start
Basic initialization and document processing:Configuration
Environment Variables
Create a.env file with your credentials:
Using Configuration Class
Load settings from environment variables or configure manually:Features
The SDK provides the following capabilities:- Automatic Authentication: Handles token management automatically
- Document Processing: Upload and process medical documents
- Polling Support: Built-in polling for asynchronous results
- Environment Configuration: Easy setup via environment variables
Task Options
When processing documents, you can specify different task types:| Task | Description |
|---|---|
smart | Default option - Smart report parsing |
pii | PII (Personally Identifiable Information) detection |
both | Combined smart parsing and PII detection |
API Reference
Primary Methods
| Method | Description |
|---|---|
process_document(file_path, doc_type="lr", task="smart") | Upload and process a document |
get_document_result(document_id) | Retrieve processing results for a document |

