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

sub-job

SunLife · Load-Visit-Fact

called by Load-Visits

sub-job SunLife/Load-Visit-Fact · db SunLife_ProdMirror · updated 2026-05-07

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-Visit-Fact

2 tasks · SunLife
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. Create Visit Factsqlload_visit_fact__create_visit_fact.sql
    Builds the visit fact table structure to store comprehensive encounter metrics, insurance status, and payment details.
  2. Load Visit Factsqlload_visit_fact__load_visit_fact.sql
    Loads visit fact data by identifying and refreshing records with recent activity in payments, eligibility, or letters.
    writes VisitFactVisitFactDelta · reads ActivityLogCustomPropertyMapEligibilityStatusMapEligibilityTxnPatientLetterPaymentTxnVisitVisitFactDelta