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-Account-Transform-Tables
8 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
- TransformDatasql
load_account_transform_tables__transformdata.sql✨ Standardizes and cleans raw account data by casting types and parsing facility, insurance, and transaction details into a structured format.writesTransformData· readsSourceMSNFiles - AccountDeltasql
load_account_transform_tables__accountdelta.sql✨ Identifies and stores a list of account IDs that have been modified since the last successful pipeline execution. - TransformAccountMapsql
load_account_transform_tables__transformaccountmap.sql✨ Maps accounts to patient and insurance identifiers, establishing a primary record for each account based on the latest transaction data.writesTransformAccountMap· readsAccountDeltaTransformData↳ feeds from TransformData - TransformChargesql
load_account_transform_tables__transformcharge.sql✨ Builds a structured table of individual charges, including procedure codes, modifiers, and balances, for accounts identified in the delta.writesTransformCharge· readsAccountDelta - TransformAccountsql
load_account_transform_tables__transformaccount.sql✨ Loads high-level account information, including primary insurance and facility details, for the most recent records in the account map.writesTransformAccount· readsAccountDelta - TransformTransactionsql
load_account_transform_tables__transformtransaction.sql✨ Builds the transaction transformation table by mapping insurance levels and ranking payments and refunds for updated accounts.writesTransformTransaction· readsAccountDeltaTransformAccountMapTransformData↳ feeds from TransformAccountMap, TransformData - TransformChargeTransactionMeasuresql
load_account_transform_tables__transformchargetransactionmeasure.sqldisabled✨ Updates charge transaction measures by identifying initial and current denial categories and amounts for updated accounts.writesTransformChargeTransactionMeasure· readsAccountDeltaTransformChargeTransformTransaction - TransformChargeTransactionMeasuresql
load_account_transform_tables__transformchargetransactionmeasure_1.sql✨ Populates charge transaction measures with detailed financial metrics, including initial and current denial data and allowed dates.writesTransformChargeTransactionMeasure· readsAccountDeltaTransformChargeTransformTransaction↳ feeds from TransformCharge, TransformTransaction