Typed Python SDK for Medelement MIS API
Project description
medelement-mis
Typed Python SDK for Medelement MIS API.
Public Interface
Top-level imports are stable and intended for package consumers:
from medelement_mis import (
MedelementClient,
MedelementConfig,
Environment,
Gender,
ColorCode,
SOCIAL_STATUSES,
CONCESSIONS,
)
Main API resources exposed by MedelementClient:
client.patientssearch(...)create(...)get(patient_code)update(...)
client.receptionscreate(...)search(...)search_pd(...)get(reception_code)reschedule(...)remove(reception_code)
client.specialistslist()
client.timetableget_timetable(...)get_specialist_receptions(...)
client.nomenclatureslist(...)
Reference catalogs from docs:
SOCIAL_STATUSES(fromdocs/api/social_status.md)CONCESSIONS(fromdocs/api/concessions.md)
Quick Start
from medelement_mis import MedelementClient, MedelementConfig
config = MedelementConfig()
client = MedelementClient(
base_url=config.base_url,
user_id=config.user_id,
password=config.password,
integrator_key=config.integrator_key,
timeout=config.timeout,
)
patients = client.patients.search(lastname="Ivanov")
for patient in patients:
print(patient.profile_code, patient.lastname, patient.name)
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
medelement_mis-0.1.0.tar.gz
(35.5 kB
view details)
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 medelement_mis-0.1.0.tar.gz.
File metadata
- Download URL: medelement_mis-0.1.0.tar.gz
- Upload date:
- Size: 35.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.20
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
72c3f3d0a855a8f2eac90018d8707b8c83224d96b9b6b29973bc8e2f42266d47
|
|
| MD5 |
636cb93c7ff2cb3c6e441b533794914d
|
|
| BLAKE2b-256 |
34f36e56a1050590b2ffcbfc1d1622ec273abe9582c40dc6c97996ed6be81d42
|
File details
Details for the file medelement_mis-0.1.0-py3-none-any.whl.
File metadata
- Download URL: medelement_mis-0.1.0-py3-none-any.whl
- Upload date:
- Size: 21.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.20
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bd2ce91f52697d1f2c836d7d7b153b1ceda4c43d1e4afd0775ea258e4ffb196b
|
|
| MD5 |
3cc7e4b64cabcedd27621607f4bb9901
|
|
| BLAKE2b-256 |
92167600c66db06725273b90d93bbfd76e1723caf42d20b619f745a471ec5230
|