Circle V2 API Docs
    Preparing search index...
    getById: QueryProcedure<
        {
            input: { id: string };
            meta: object;
            output: {
                auditRun: {
                    archived: boolean;
                    audit_template_id: string & { __brand: "AuditTemplateId" } | null;
                    case_id: string & { __brand: "CaseId" } | null;
                    created_at: DbDate;
                    created_by: string & { __brand: "UserId" } | null;
                    entity_id: number & { __brand: "EntityId" } | null;
                    hidden: boolean;
                    id: AuditRunId;
                    patient_first_name: string | null;
                    patient_id: string & { __brand: "PatientId" } | null;
                    patient_last_name: string | null;
                    ran_against_charts_at: string | null;
                    run_context:
                        | {
                            scopedCharts: | { fileName: string
                            | null; id: PatientChartId }[]
                            | null;
                        }
                        | null;
                    session_id: string & { __brand: "SessionId" }
                    | null;
                    status: string | null;
                    summary: string | null;
                    template_name: string | null;
                    treatment_episode_id: string & { __brand: "TreatmentEpisodeId" } | null;
                    trigger: string | null;
                    triggered_at: string | null;
                };
                hasPendingResponses: boolean;
                lastSync: ResolveAuditRunSyncServiceResult;
                responses: LegacyAuditRunResponseViewModel[];
                scopedCharts: AuditRunScopedChartView[]
                | null;
                score: number | null;
                statusCounts: AuditRunStatusCounts;
                templateQuestionCount: number;
            };
        },
    > = ...