Circle V2 API Docs
    Preparing search index...
    listGeneratedFormsForPatient: QueryProcedure<
        {
            input: {
                cursor?: number;
                dateFrom?: string;
                dateTo?: string;
                limit?: number;
                offset?: number;
                patientId: string;
                search?: string;
                sortOrder?: "asc"
                | "desc";
            };
            meta: object;
            output: PaginatedResponse<
                {
                    created_at: DbDate;
                    embedding_err_msg: string
                    | null;
                    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;
                    form_id: string & { __brand: "FormId" } | null;
                    form_run_error_msg: string | null;
                    form_run_finished_at: string & { __brand: "DbDate" } | null;
                    form_run_status: string | null;
                    id: PatientChartId;
                    is_ready: boolean | null;
                    patient_id: string & { __brand: "PatientId" } | null;
                    run_id: string | null;
                    sources: unknown;
                    updated_at: string & { __brand: "DbDate" } | null;
                },
            >;
        },
    > = ...