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 · HeatonEye
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 TempVisitDeltasql
load_visit_transform_tables_flow__load_tempvisitdelta.sql✨ Identifies surgical visits and insurance updates that require processing by comparing recent source changes against previously transformed records. ▶Load-SourceAppointmentChain-Flowsub-job · 1↗
- Load SourceAppointmentChainsql
load_sourceappointmentchain_flow__load_sourceappointmentchain.sql✨ Builds a history of rescheduled appointments to track the progression and relationship between original and updated visit records.writesSourceAppointmentChain· readsSourceAppointmentVisitDelta
- Load TransformVisitsql
load_visit_transform_tables_flow__load_transformvisit.sqldisabled✨ Builds the transformed visit table by mapping appointment details, statuses, and service types from source data for processing.writesTransformVisit· readsFacilitySourceAppointmentSourceAppointmentChainSourceEventVisitDelta - ExecuteMergeSqlExecuteMergeSqlSynchronizes data from external sources into target tables by performing batched insert, update, and delete operations based on keys.writes
TransformVisit· readsFacilitySourceAppointmentSourceAppointmentChainVisitDeltamerge 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.sql✨ Loads insurance coverage details for visits, determining coordination of benefits and mapping source payers to standardized insurance categories.writesTransformVisitInsurance· readsInsuranceMapSourcePatientSourcePatientInsuranceTransformPatientTransformVisitVisitDelta↳ feeds from ExecuteMergeSql