Circle V2 API Docs
    Preparing search index...
    • Maps scraped grid rows to the persistEpisodeLevelsOfCare shape. episode_number is the upsert dedupe key (partial unique index needs it non-null); start_date fills both episode_start and admission_date (the chrono CHECK guards the latter); level_of_care — never program — feeds level_of_care_name, since it seeds the facility LOC catalog. Unsafe rows are dropped into skipped rather than thrown: one bad row must not fail the single-statement upsert batch.

      Parameters

      Returns MapScrapedEpisodesResult