Circle V2 API Docs
    Preparing search index...
    getPatientOverview: QueryProcedure<
        {
            input: { id: string };
            meta: object;
            output: {
                patient: {
                    admitted_at: string | null;
                    created_at: DbDate;
                    creator_first_name: string | null;
                    creator_last_name: string | null;
                    discharged_at: string | null;
                    external_source: "kipu" | "lightningstep" | "sunwave" | null;
                    facility_name: string | null;
                    first_name: string | null;
                    last_name: string | null;
                    last_sync: string | null;
                    last_updated_summary: string | null;
                    patient_id: PatientId;
                    provider_first_name: string | null;
                    provider_last_name: string | null;
                    provider_title: string | null;
                    summary: LegacyPatientSummary | null;
                };
                recentSessions: {
                    ai_summarized_note: string
                    | null;
                    as_summarized_note_type: string | null;
                    audit_run_id: string & { __brand: "AuditRunId" } | null;
                    audit_status:
                        | "error"
                        | "pass"
                        | "fail"
                        | "needs_review"
                        | "pending"
                        | "in_progress"
                        | "not_started"
                        | null;
                    case_id: string & { __brand: "CaseId" }
                    | null;
                    cpt_code: unknown[] | null;
                    created_at: DbDate;
                    created_by: string | null;
                    dsm_code: unknown[] | null;
                    end_timestamp: DbDate;
                    error_msg: string | null;
                    file_url: string | null;
                    icd_code: unknown[] | null;
                    id: SessionId;
                    manual_entry: boolean | null;
                    patient_id: string & { __brand: "PatientId" } | null;
                    private_note: string | null;
                    progress_status:
                        | "initialized"
                        | "processing"
                        | "transcribing"
                        | "complete"
                        | "failed"
                        | null;
                    selected_template: LegacySelectedTemplate
                    | null;
                    start_timestamp: DbDate;
                    transcript: string | null;
                    updated_by: number | null;
                }[];
            };
        },
    > = ...