Circle V2 API Docs
    Preparing search index...
    listForPatient: QueryProcedure<
        {
            input: {
                cursor?: number;
                fileType?: unknown;
                limit?: number;
                offset?: number;
                patientId: string;
                search?: string;
                sortOrder?: "asc"
                | "desc";
            };
            meta: object;
            output: PaginatedResponse<
                {
                    created_at: DbDate;
                    embedding_status: | "processing"
                    | "failed"
                    | "pending"
                    | "parse"
                    | "extract"
                    | "completed"
                    | null;
                    file_name: string
                    | null;
                    file_type: "patient_chart" | "generated_form" | "emr_document" | null;
                    file_url: string | null;
                    id: PatientChartId;
                    patient_id: string & { __brand: "PatientId" } | null;
                    updated_at: string & { __brand: "DbDate" } | null;
                },
            >;
        },
    > = ...