Skip to main content

routes

HTTP routes for the eligibility domain.

The evidence behind a patient's verdict for a trial.

Module​

Functions​

get_patient_eligibility_evidence​

def get_patient_eligibility_evidence(    bitfount_patient_id: BitfountPatientIdPath,    project_id: ProjectIdPath,    repository: PatientDataRepository = Depends(dependency=<function get_repository>, use_cache=True, scope=None),    user: AuthenticatedUser = Depends(dependency=<function verify_jwt>, use_cache=True, scope=None),) ‑> EligibilityEvidence:

Return eligibility evidence for a patient on a specific trial.

Arguments

  • bitfount_patient_id: The Bitfount patient ID.
  • project_id: The trial (project) ID.
  • repository: The patient-data repository.
  • user: The authenticated caller.

Returns The eligibility evidence.

Raises

  • HTTPException: 404 if no evidence exists for the pair.