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-HL7-Transform-Nightly
4 tasks · RIA
sub-job / Flow action SQL / native step▶ expand a sub-job inline · ↗ open it as its own page · a typed step opens its doc
- TruncateVisitDelta and OrderSourceIDDeltasql
flow_hl7_transform_nightly__truncatevisitdelta_and_ordersourceiddelta.sql✨ Clears the temporary tracking tables to prepare the pipeline for a fresh processing cycle.writesOrderSourceIDDeltaVisitDelta - Recalculate Changed Bundlessql
flow_hl7_transform_nightly__recalculate_changed_bundles.sql✨ Identifies and recalculates expected charges from service bundles for future visits to ensure accurate cost estimates.writesOrderSourceIDDeltaVisitDelta· readsBundleChargeTypeHL7OrderImportTransformVisitChargeTransformInsuranceMapServiceTypeTransformOrderSourceIDMapTransformVisitTransformVisitInsurance↳ feeds from ImportTransformVisitCharge, TruncateVisitDelta and OrderSourceIDDelta - ImportTransformVisitChargesql
flow_hl7_transform_nightly__importtransformvisitcharge.sql✨ Builds a staging table of visit charges by extracting and formatting procedure codes and units from HL7 order bundles.writesImportTransformVisitCharge· readsBundleChargeTypeHL7OrderImportTransformVisitChargeOrderSourceIDDeltaTransformInsuranceMapServiceTypeTransformOrderSourceIDMapTransformVisitInsurance↳ feeds from Recalculate Changed Bundles, TruncateVisitDelta and OrderSourceIDDelta - MergeTransformVisitChargesql
flow_hl7_transform_nightly__mergetransformvisitcharge.sql✨ Synchronizes the visit charge transformation table by inserting, updating, or deleting records based on the latest imported charge data.writesTransformVisitCharge· readsImportTransformVisitCharge↳ feeds from ImportTransformVisitCharge