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()
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)

Uploaded Source

Built Distribution

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

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

Uploaded Python 3

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

Hashes for medelement_mis-0.1.0.tar.gz
Algorithm Hash digest
SHA256 72c3f3d0a855a8f2eac90018d8707b8c83224d96b9b6b29973bc8e2f42266d47
MD5 636cb93c7ff2cb3c6e441b533794914d
BLAKE2b-256 34f36e56a1050590b2ffcbfc1d1622ec273abe9582c40dc6c97996ed6be81d42

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for medelement_mis-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bd2ce91f52697d1f2c836d7d7b153b1ceda4c43d1e4afd0775ea258e4ffb196b
MD5 3cc7e4b64cabcedd27621607f4bb9901
BLAKE2b-256 92167600c66db06725273b90d93bbfd76e1723caf42d20b619f745a471ec5230

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