SDK for interacting with Zimasa medical systems
Project description
zmbus-sdk
A Python SDK for interacting with Zimasa medical systems. This library simplifies integration with Zimasa's healthcare APIs, allowing developers to easily access and manage medical data, patient records, and healthcare services.
Installation
You can install the package directly from PyPI:
pip install zmbus-sdk
For development installation:
# Clone the repository
git clone https://github.com/shikoli-makatiani/zimabus-sdk.git
cd zimabus-sdk
# Install with Poetry
poetry install
Quick Start
from zimasabus_sdk import zmsystem
# Initialize the client with your credentials
client = zmsystem.ZMSystem(
api_key="your_api_key",
base_url="https://api.zimasa.com/v1"
)
# Example: Get patient information
patient = client.get_patient(patient_id="12345")
print(f"Patient Name: {patient.full_name}")
# Example: Submit medical records
response = client.submit_medical_record(
patient_id="12345",
record_data={
"diagnosis": "Hypertension",
"treatment": "Prescribed medication",
"notes": "Follow-up in 2 weeks"
}
)
Features
- Secure Authentication: Easy API authentication with your Zimasa credentials
- Patient Management: Create, retrieve, update, and manage patient records
- Medical Data: Access and submit medical records, test results, and diagnoses
- Appointment Scheduling: Manage healthcare appointments and schedules
- Data Validation: Built-in validation for all API requests using Pydantic
- Error Handling: Comprehensive error handling with detailed error messages
Documentation
For detailed documentation and API reference, visit our documentation site.
Development
This project uses Poetry for dependency management.
# Install dependencies
poetry install
# Run tests
poetry run pytest
# Format code
poetry run black zimasabus_sdk
poetry run isort zimasabus_sdk
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
License
This project is licensed under the MIT License - see the LICENSE file for details.
Support
For support, please contact shikoli@turnkeyafrica.com or open an issue on GitHub.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file zmbus_sdk-0.1.3.tar.gz.
File metadata
- Download URL: zmbus_sdk-0.1.3.tar.gz
- Upload date:
- Size: 11.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.5 CPython/3.12.7 Windows/11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ec54f6acadd5156fe8001bb15f190957a5e7afe60fcde90937d4363235a31668
|
|
| MD5 |
e65dfd80f26935cc40c359a86b1916cb
|
|
| BLAKE2b-256 |
54800faa39913243f138d0ce37a716386e66a2db7ca9cead7d471d3dd1f5d809
|
File details
Details for the file zmbus_sdk-0.1.3-py3-none-any.whl.
File metadata
- Download URL: zmbus_sdk-0.1.3-py3-none-any.whl
- Upload date:
- Size: 11.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.5 CPython/3.12.7 Windows/11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
46af298976173e9eba35b8e14bea6ad863f2ac92237e5f60d27870301d18841e
|
|
| MD5 |
7601d650940e23b3db1e23e5c002ad62
|
|
| BLAKE2b-256 |
1b4c92eb33f9efc412d0c337847e9a41003e0ff2fca47d9ca6da259111f19e52
|