Skip to main content

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.patients
    • search(...)
    • create(...)
    • get(patient_code)
    • update(...)
  • client.receptions
    • create(...)
    • search(...)
    • search_pd(...)
    • get(reception_code)
    • reschedule(...)
    • remove(reception_code)
  • client.specialists
    • list()
  • client.timetable
    • get_timetable(...)
    • get_specialist_receptions(...)
  • client.nomenclatures
    • list(...)

Reference catalogs from docs:

  • SOCIAL_STATUSES (from docs/api/social_status.md)
  • CONCESSIONS (from docs/api/concessions.md)

Quick Start

from medelement_mis import MedelementClient, MedelementConfig

config = MedelementConfig(
    user_id="your_user_id",
    password="your_password",
    integrator_key="your_integrator_key",
    base_url="https://api.medelement.com/v1",
)
client = MedelementClient(
    config = config
)

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.1.tar.gz (35.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

medelement_mis-0.1.1-py3-none-any.whl (21.1 kB view details)

Uploaded Python 3

File details

Details for the file medelement_mis-0.1.1.tar.gz.

File metadata

  • Download URL: medelement_mis-0.1.1.tar.gz
  • Upload date:
  • Size: 35.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.20

File hashes

Hashes for medelement_mis-0.1.1.tar.gz
Algorithm Hash digest
SHA256 18346e686d2ce19570d78d2963c5d9dc0bb7cc82a595d49aefe29439efff2505
MD5 f4cf722b58c52c7daec5c8510bf2d92c
BLAKE2b-256 f9b58688eea833ddf19a5694ef05f8064dbd1f9f5b2cc09e7200ce57b9e4f60e

See more details on using hashes here.

File details

Details for the file medelement_mis-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for medelement_mis-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 672a0f01f402f0c1e0efb2d243c54f2e516165d2393502009705fc4c257b6a8b
MD5 3928bb74f5bab97f602a8cd9750eb53c
BLAKE2b-256 f0c6106a31685b13fe83654383dc6942b40e9b3f063cf2c40ee69c1e9b70b71a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page