Circle V2 API Docs
    Preparing search index...
    type SyncIntegrationEpisodesServiceResult = {
        syncedCount: number;
        unmatchedCount: number;
    }
    Index

    Properties

    syncedCount: number

    Number of treatment_episodes rows upserted.

    unmatchedCount: number

    Number of episodes the adapter returned whose external_patient_id did not match an existing patient row in our DB. These are skipped — the bulk-sync orchestrator (Phase 2C) will run a patient sync first to fill these in.