activity
The activity domain: live Prefect task-orchestrator state for the patient API.
Reports whether a patient-eligibility background DAG is currently running, and a bare debug list of other background activity (indexing, scan metadata, refresh).
Module
Submodules
- bitfount.patient_api.activity.dependencies - FastAPI dependency providers for the activity domain.
- bitfount.patient_api.activity.examples - Worked response examples for the activity domain.
- bitfount.patient_api.activity.models - Pydantic response models for the activity domain.
- bitfount.patient_api.activity.prefect_state - Mapping from Prefect's
StateTypeto this API's ownRunState. - bitfount.patient_api.activity.protocol - Data-access seam for the activity domain.
- bitfount.patient_api.activity.repository - Prefect-backed implementation of the activity domain's repository.
- bitfount.patient_api.activity.routes - HTTP routes for the activity domain.