Backend
Python SDK: ekacare
A python sdk for ekacare backend
A comprehensive Python SDK for interacting with the Eka Care APIs. You can install it as a python package as below
Features
The SDK provides easy access to the following Eka Care APIs:
- Authentication
- Records Management (upload, list, update, delete)
- ABDM Connect (profile, consents, care contexts)
- Appointment Management
- Doctor & Clinic Management
- Patient Management
- Webhooks (register, manage, verify)
- Vitals (update patient vitals)
- Medical Document Parsing
- Assessment APIs
- Notifications
- Privacy Management
Quick Start
Authentication
Records Management
Vitals Management
Webhooks
Appointment Management
Doctor & Clinic Management
Appointment Management
Patient Details
ABDM Profile Management
Assessments
You can take assessments using eka client.
1. To start an assessment:
You can set additional context as a stringified json.
Click here to know more about eka care assessment platform.
2. Continue the assessment (get next question)
To get the next question, you need to answer the first question. The response can be a string for input type questions or a list of strings (ids) for choice type questions.
get response
Click here to know more about types of question component
get the next question using first_question_response
3. Submit the assessment when all questions are answered
Error Handling
The SDK uses custom exceptions to handle errors:
License
This SDK is distributed under the MIT License.