Circle V2 API Docs
    Preparing search index...

    Variable buildAuditQuestionRunContextConst

    buildAuditQuestionRunContext: (
        ...args: [
            {
                patientChartIds?: PatientChartId[];
                patientId: PatientId;
                treatmentEpisodeId?: TreatmentEpisodeId;
                useEvalNamespaces?: boolean;
            },
        ],
    ) => Promise<AuditQuestionRunContext> = ...

    Resolves the patient context AND the run context (charts + Pinecone vector stores) in parallel. A caller running many questions for one patient (the chart-review job router) builds this ONCE and injects it into every AuditQuestionPassFailRunner.run(...), so the charts fetch and the Pinecone describeIndexStats probe happen once per run instead of once per question.

    Type Declaration