patient_api
In-process FastAPI service serving patient-eligibility data to the Trials Web App.
Module
Submodules
- bitfount.patient_api.activity - The activity domain: live Prefect task-orchestrator state for the patient API.
- bitfount.patient_api.app - FastAPI application factory for the patient-data API.
- bitfount.patient_api.auth - Authentication for the patient-data API.
- bitfount.patient_api.dependencies - FastAPI dependency providers for the patient-data API.
- bitfount.patient_api.examples - Worked response examples published in the served OpenAPI document.
- bitfount.patient_api.models - Pydantic request/response models for the patient-data API.
- bitfount.patient_api.protocol - Data-access seam for the patient-data API.
- bitfount.patient_api.repository - Cache-backed implementation of the patient-data API's data-access seam.
- bitfount.patient_api.routes - HTTP routes for the patient-data API.
- bitfount.patient_api.scans - Scan-image support for the patient-data API.
- bitfount.patient_api.server - Runs the patient-data API via uvicorn in a dedicated daemon thread.