Patient
ovok.patient reads the FHIR data a patient app needs: appointments, schedules and slots,
- Stable unknown
- Release candidate since 0.1.0-rc.3
- Development since 0.1.0-dev.21+c43ebba
ovok.patient reads the FHIR data a patient app needs: appointments, schedules and slots,
measurements, care plans, questionnaires, devices and notifications. Each is a FHIR search
returned as a plain list.
List upcoming appointments
from ovok_sdk import Ovok
ovok = Ovok("https://api.sandbox.ovok.com", "your-tenant")
ovok.auth.login(profile_type="Patient", email="patient@example.com", password="password")
appointments = ovok.patient.appointments.list({"date": "ge2026-01-01", "_sort": "date"})appointments also creates and updates Appointments. schedules and slots list only;
measurements, care_plans, questionnaires, questionnaire_responses, devices and
notifications list and retrieve by ID.
Load a dashboard
dashboard loads the signed-in profile, the latest Observations, the measurement history
and the care plans in one call. Each search is scoped to the signed-in patient unless you
pass a patient parameter.
dashboard = ovok.patient.dashboard({
"measurement_history": {"_count": 20, "_sort": "-date"},
})
profile = dashboard["profile"]Read the latest Observations
latest = ovok.patient.latest_observations({"patient": "Patient/patient-id", "max": 1})For writes and other resource types, use ovok.fhir. To save readings, use
ovok.measurements.
API reference
See ovok_sdk.resources.patient
for every method, parameter and error.
Last updated on