Eka Care Ekascribe Java SDK Integration
This guide explains how to integrate the Eka Care Ekascribe Java SDK.Overview
Eka Care provides an Ekascribe service that allows you to transcribe audio files into structured medical data. The Java SDK simplifies this integration process.Quick Start
The integration process follows these main steps:- Set up webhook registration (one-time setup)
- Install the SDK
- Implement authentication
- Upload audio files
- Process the webhook callback
- Retrieve and parse the Ekascribe results
Prerequisites
- Java 8 or higher
- Maven or Gradle for dependency management
- Client credentials (client ID and secret) from Eka Care
Installation
You can add the Eka Care Java SDK to your project in two ways:Option 1: Using dependency management
Maven
Gradle
Option 2: Direct download
Download the Eka Java SDK from Maven repository HereAvailable Template IDs
Eka Care supports multiple output templates for different medical documentation needs. Choose the appropriate template ID based on your requirements:Template ID | Description | Use Case |
---|---|---|
clinical_notes_template | Comprehensive clinical notes with structured medical information | General clinical documentation, patient consultations |
eka_emr_template | EMR-compatible format for electronic medical records | Integration with EMR systems |
transcript_template | Basic transcription with minimal structuring | Simple audio-to-text conversion |
Available model types
Model Type | Description |
---|---|
pro | Our most accurate model |
lite | More performant model for lower latency |
Supported Input Languages
Eka Care supports transcription in multiple languages. Specify the appropriate language ID in theinput_language
parameter:
Language ID | Language Name |
---|---|
en-IN | English (India) |
en-US | English (United States) |
hi | Hindi |
gu | Gujarati |
kn | Kannada |
ml | Malayalam |
ta | Tamil |
te | Telugu |
bn | Bengali |
mr | Marathi |
pa | Punjabi |
Step 1: Register Webhook (One-time Setup)
Before using the Ekascribe service, register a webhook to receive notifications when transcription is complete:Step 2: Authentication
Initialize the client with your credentials and obtain access tokens:Step 3: Upload Audio Files
Upload audio files for transcription:Step 4: Handle Webhook Callback
When the transcription is complete, Eka Care will send a webhook notification to your registered endpoint. Here’s a sample of what you’ll receive:Step 5: Retrieve Ekascribe Results
After receiving the webhook notification, retrieve the transcription results:Complete Example
Here’s a complete example integrating all the above steps:Additional Resources
- Eka Care Java SDK Examples Repository
- Eka Care Developer Documentation
- API Reference for Webhooks
- API Reference for Ekascribe
Troubleshooting
Common Errors
- Authentication Failed: Verify your client ID and secret are correct
- File Upload Failed: Ensure file paths are valid and files are readable
- Webhook Not Received: Check your endpoint is publicly accessible and correctly registered