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-Transform-Tables-Flow
5 tasks · MNEye
sub-job / Flow action SQL / native step▶ expand a sub-job inline · ↗ open it as its own page · a typed step opens its doc
- Load VisitDeltasql
load_visit_transform_tables_flow__load_visitdelta.sql✨ Identifies appointments and insurance records requiring updates by comparing source timestamps against existing transformed visit data.writesVisitDelta· readsSourceAppointmentSourcePatientInsuranceTransformVisitVisitDelta↳ feeds from Merge TransformVisit ▶Load-SourceAppointmentChain-Flowsub-job · 1↗
- Load SourceAppointmentChainsql
load_sourceappointmentchain_flow__load_sourceappointmentchain.sql✨ Builds a chain of rescheduled appointments to identify the most recent record for each original appointment number.writesSourceAppointmentChain· readsSourceAppointmentVisitDelta
- Merge TransformVisitMergeSqlwrites
TransformVisit· readsSourceAppointmentSourceAppointmentChainVisitDelta↳ feeds from Load VisitDeltamerge data source type=ThisDatabasetable name=TransformVisitmerge mode=InsertUpdatebulk copy timeout seconds=300bulk copy use table lock - Load TransformVisitInsurancesql
load_visit_transform_tables_flow__load_transformvisitinsurance.sqldisabled✨ Loads insurance coverage details for visits, determining coordination of benefits and mapping source payers to standardized insurance categories.writesTransformVisitInsurance· readsInsuranceMapSourcePatientSourcePatientInsuranceTransformPatientTransformVisitVisitDelta - Merge TransformVisitInsuranceMergeSqlwrites
TransformVisitInsurance· readsSourcePatientSourcePatientInsuranceTransformVisitVisitDelta↳ feeds from Load VisitDelta, Merge TransformVisitmerge data source type=ThisDatabasetable name=TransformVisitInsurancemerge mode=InsertUpdateHardDeletebulk copy timeout seconds=300bulk copy use table lock