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

sub-job

PPRM · Load-Visit-Fact

called by Load-Visits

sub-job PPRM/Load-Visit-Fact · db PPRM_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 · PPRM
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
    Creates the VisitFact table to store aggregated visit data, including scheduling, insurance, and payment status, if it does not exist.
  2. Load Visit Factsqlload_visit_fact__load_visit_fact.sql
    Refreshes the VisitFact table by deleting and re-inserting records for visits with recent updates, payments, eligibility checks, or letters.
    writes VisitFact · reads EligibilityStatusMapEligibilityTxnPatientLetterPaymentTxnVisit