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
Flow-Transform-LoadTransformTables
6 tasks · Wildflower
sub-job / Flow action SQL / native step▶ expand a sub-job inline · ↗ open it as its own page · a typed step opens its doc
- Truncate VisitDeltasql
flow_transform_loadtransformtables__truncate_visitdelta.sql✨ Clears the visit delta table to prepare for a fresh set of changed records in the current pipeline run.writesVisitDelta - VisitDelta + Logssql
flow_transform_loadtransformtables__visitdelta_logs.sql✨ Identifies new or updated visit records and logs the batch process to track incremental data changes.writesBatchProcessLogVisitDelta· readsBatchProcessLogSourceVisitSourceVisitInsuranceVisitDelta↳ feeds from Truncate VisitDelta - Transform Patientsql
flow_transform_loadtransformtables__transform_patient.sql✨ Updates patient demographic information and contact details while standardizing gender values for the transformation layer.writesTransformPatient· readsBatchProcessLogSourcePatient↳ feeds from VisitDelta + Logs - Transform Visitsql
flow_transform_loadtransformtables__transform_visit.sql✨ Refreshes visit details like status, time, and provider for records identified as changed in the current batch.writesTransformVisit· readsSourceVisitVisitDelta↳ feeds from Truncate VisitDelta, VisitDelta + Logs - Transform VisitInsurancesql
flow_transform_loadtransformtables__transform_visitinsurance.sql✨ Updates insurance coverage details for changed visits by mapping source insurance identifiers to standardized internal values.writesTransformVisitInsurance· readsInsuranceMapSourceVisitInsuranceVisitDelta↳ feeds from Truncate VisitDelta, VisitDelta + Logs - Transform VisitChargesql
flow_transform_loadtransformtables__transform_visitcharge.sql✨ Calculates and updates visit charges by mapping CPT codes and modifiers to standardized service types and charge definitions.writesTransformVisitCharge· readsChargeTypeSourceVisitVisitDelta↳ feeds from Truncate VisitDelta, VisitDelta + Logs