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

sub-job

EugeneGI · Load-Visits-Sync-To-End

called by HL7-Processing-Nightly

sub-job EugeneGI/Load-Visits-Sync-To-End · db EugeneGI_ProdMirror · updated 2025-10-27

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

Load-Visits-Sync-To-End

4 tasks · EugeneGI
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. Synchronizes processed data from batch staging tables to production tables, updating visits, quotes, and custom property mappings.
    writes CustomPropertyMapQuoteVisitVisitChangeEvent · reads CustomPropertyMapBatchQuoteBatchVisitBatchVisitChangeEventBatch
    sync quotesync visitsync custom property mapsync visit change event
  2. Load-Visit-Factsub-job · 1
    1. Load VisitFactsqlload_visit_fact__load_visitfact.sql
      Refreshes the visit fact table by recalculating statuses, payment flags, and letter activity for visits with recent updates or transactions.
      writes VisitFact · reads EligibilityStatusMapEligibilityTxnPatientLetterPaymentTxnVisit
  3. Update-Dashboard-Tablessub-job · 1
    1. UpdateDashboardTablesUpdateDashboardTables
      Regenerates optimized aggregate tables for all dashboard reports and updates their definitions to reflect the latest source data.
  4. LoadVisitBatchAutoSendsqlload_visits_sync_to_end__loadvisitbatchautosend.sql
    Populates the auto-send queue with visit data to facilitate automated end-of-day processing and communication.
    writes VisitBatchAutoSend · reads VisitBatch