Legacy Pipeline Atlas worker-1snapshot 2026-07-15

sub-job

SeaRad · Generate-Report

Generates the Daily Export report and pushed data into the Archive report for Load-Visits and Load-Visits-Reprocess

called by Load-Visits, Daily-Processing-Eligibility

sub-job SeaRad/Generate-Report · db SeaRad_ProdMirror · updated 2025-09-17

task tree

What the sub-job runs

Tasks in order, each with what it does — typed stepsfrom the MDClarity task docs (click to open the reference), sub-jobsyou can expand inline (▶) to reveal their own tasks, and SQL steps summarized by Gemini (✨). Every step shows the tables it writes/reads and which earlier step it feeds from(sqlglot lineage).

sub-job

Generate-Report

4 tasks · SeaRad
sub-job / Flow action SQL / native step▶ expand a sub-job inline · ↗ open it as its own page · a typed step opens its doc
  1. Load TempEligibilityReportsqlgenerate_report__load_tempeligibilityreport.sql
    Builds a temporary table of eligibility results for specific visits and insurance plans to support reporting.
    writes TempEligibilityReport
  2. Load TempInsSearchResultssqlgenerate_report__load_tempinssearchresults.sql
    Loads active insurance search results into a temporary table to identify new coverage found during the eligibility process.
    writes TempInsSearchResults
  3. Generate Reportsqlgenerate_report__generate_report.sql
    Generates a comprehensive batch eligibility report by consolidating patient visit data with primary, secondary, and tertiary insurance verification results.
    writes BatchEligibility_ResultsReport
  4. Archive Reportsqlgenerate_report__archive_report.sql
    Updates the eligibility report archive by replacing existing visit records with the most recent verification results.
    writes BatchEligibility_ResultsReportArchive · reads BatchEligibility_ResultsReport
    ↳ feeds from Generate Report