Skip to main content

Overview

Report Parsing SDK on GitHub A Java Spring Boot SDK for processing medical documents through the Eka Care API. This SDK supports document submission, result polling, and FHIR data extraction.

Prerequisites

  • JDK 17+ (verify with java -version)
  • Maven (verify with mvn -version)
  • IDE: IntelliJ IDEA, Eclipse, or VS Code with Java extensions
  • Eka Care API Credentials: Valid client ID and secret

Project Structure


Setup Instructions

Step 1: Create Spring Boot Project

Via Spring Initializr:
  • Visit start.spring.io
  • Select Maven, Java 17, Spring Boot 3.2.0
  • Add “Spring Web” dependency
  • Generate and extract
Via IntelliJ IDEA: File → New → Project → Spring Initializr → Configure with Java 17 and Spring Boot 3.2.0

Step 2: Add SDK Files

Copy files from the repository to respective directories:
  • EkaCareSDK.javasrc/main/java/com/example/ekacare/sdk/
  • EkaCareService.javasrc/main/java/com/example/ekacare/service/
  • application.propertiessrc/main/resources/
  • pom.xml → project root

Step 3: Configure Credentials

Update application.properties:

Step 4: Build


Quick Start

Direct SDK Usage

Spring Boot Service


REST API Endpoints

The SDK provides REST endpoints for document processing:

Task Options

When processing documents, you can specify different task types:

Example cURL Requests


Troubleshooting

Large File Upload

For large files, increase limits in application.properties: