Circle V2 API Docs
    Preparing search index...
    listForPatient: QueryProcedure<
        {
            input: { patientId: string };
            meta: object;
            output: {
                created_at: DbDate;
                effective_date: string | null;
                group_id: string | null;
                id: PatientInsuranceId;
                notes: string | null;
                patient_id: string & { __brand: "PatientId" };
                payor_id: number & { __brand: "PayorId" };
                payor_name: string | null;
                plan_type: string | null;
                policy_number: string | null;
                priority: number | null;
                status: "active" | "inactive";
                subscriber_address_city: string | null;
                subscriber_address_country: string | null;
                subscriber_address_state: string | null;
                subscriber_address_street: string | null;
                subscriber_address_street2: string | null;
                subscriber_address_zip: string | null;
                subscriber_dob: string | null;
                subscriber_first_name: string | null;
                subscriber_gender: string | null;
                subscriber_last_name: string | null;
                subscriber_relationship: string | null;
                termination_date: string | null;
            }[];
        },
    > = ...

    Every insurance record for a patient, with the payor's name joined.

    Insurance is patient-level — this read is intentionally NOT scoped to any treatment episode. Visibility-scoped via canAccessPatient.