domains
The patient-data API's domains.
Each domain owns a slice of the API — its routes, the models they serve, the repository methods behind them, and the contract those methods satisfy — beside whatever implementation detail it needs, so everything about one subject sits in one directory:
patients: which patients are candidates, and what is known of one.eligibility: what the analysis concluded for a patient on a trial, and the criterion taxonomy its verdicts are made of.reviews: what the site decided, which is what overrides those verdicts.scans: the scan evidence, the images behind it and the segmentation index.activity: the task orchestrator's live state.
The package root holds the app, the published contract, the façade modules that keep the names those modules used to export importable, and the pod-side runners.
Module
Submodules
- bitfount.patient_api.domains.activity - The activity domain: live Prefect task-orchestrator state for the patient API.
- bitfount.patient_api.domains.eligibility - The eligibility domain: what the analysis concluded for a patient on a trial.
- bitfount.patient_api.domains.patients - The patients domain: which patients are candidates, and what is known of one.
- bitfount.patient_api.domains.reviews - The reviews domain: what the site decided about a patient for a trial.
- bitfount.patient_api.domains.scans - Scan-image support for the patient-data API.