Circle V2 API Docs
    Preparing search index...
    listQuestions: QueryProcedure<
        {
            input: {
                admissionStatus?: "all"
                | "active"
                | "discharged";
                assigneeContactIds?: string[];
                assigneeIds?: string[];
                auditTemplateIds?: string[];
                authEndDateRange?: { from: string; to: string };
                cursor?: number;
                facilityIds?: string[];
                facilityIdsForLoc?: string[];
                facilityIdsForProgram?: string[];
                facilityIdsForUrLoc?: string[];
                levelOfCareIds?: string[];
                limit?: number;
                nextSteps?: (
                    | "to_do"
                    | "sent_to_clinician"
                    | "resolved"
                    | "no_action_needed"
                    | "needs_clarification"
                )[];
                offset?: number;
                programIds?: string[];
                providerIds?: string[];
                runDateRange?: { from: string; to: string };
                search?: string;
                sortBy:
                    | "patient"
                    | "discharge"
                    | "program_start"
                    | "facility"
                    | "program"
                    | "open_items"
                    | "provider"
                    | "level_of_care"
                    | "ur_level_of_care"
                    | "auth_end_date"
                    | "admitted";
                sortOrder: "asc"
                | "desc";
                statuses?: ("fail" | "needs_review" | "missing" | "late")[];
                urLevelOfCareIds?: string[];
            };
            meta: object;
            output: PaginatedResponse<
                {
                    admission_date: string
                    | null;
                    auth_end_date: DbDate | null;
                    client_name: string;
                    current_program: string | null;
                    episode_end_date: DbDate | null;
                    facility_name: string;
                    is_discharged: boolean;
                    level_of_care: string | null;
                    patient_id: PatientId;
                    program_stay_start: DbDate | null;
                    provider_name: string;
                    questions: {
                        assignee_id: ProfileId | ContactId | null;
                        assignee_name: string | null;
                        assignee_type: "contact" | "profile" | null;
                        audit_template_name: string;
                        next_step:
                            | "to_do"
                            | "sent_to_clinician"
                            | "resolved"
                            | "no_action_needed"
                            | "needs_clarification";
                        question: string
                        | null;
                        question_id: AuditQuestionId;
                        response_id: AuditResponseId;
                        run_created_at: DbDate;
                        short_form_response: string | null;
                        status: string | null;
                    }[];
                    total_rows: string;
                    ur_level_of_care: string
                    | null;
                },
            >;
        },
    > = ...