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-RevFind
17 tasks · ECP
sub-job / Flow action SQL / native step▶ expand a sub-job inline · ↗ open it as its own page · a typed step opens its doc
- Fill AccountKeyMapsql
load_account_transform_tables_revfind__fill_accountkeymap.sql✨ Maintains a mapping of source system identifiers and encounter details to unique internal account keys based on recent modifications. - Create AccountDeltasql
load_account_transform_tables_revfind__create_accountdelta.sql✨ Populates the delta table with accounts that have recent activity, modified charges, or updated location mappings since the last run.writesAccountDelta· readsAccountDeltaAccountKeyMapProcessLogSourceChargeSourceEncounterSourceLocationMapSourceTransactionTransformAccount↳ feeds from Load TransformAccount, Load TransformCharge, Load TransformTransaction - Load TransformPatientsql
load_account_transform_tables_revfind__load_transformpatient.sql✨ Updates the transformed patient table with demographic information, contact details, and standardized identifiers from the source system.writesTransformPatient· readsSourcePatient - Load TransformLocationsql
load_account_transform_tables_revfind__load_transformlocation.sql✨ Builds the location transformation table by mapping source locations to standardized addresses and place of service codes.writesTransformLocation· readsSourceLocationSourceLocationMap - Load TransformProvidersql
load_account_transform_tables_revfind__load_transformprovider.sql✨ Updates the provider transformation table with standardized names, credentials, and NPI identifiers from source systems.writesTransformProvider· readsSourceProvider - Load TransformPayersql
load_account_transform_tables_revfind__load_transformpayer.sql✨ Loads the payer transformation table with standardized insurance carrier names, plan types, and financial classifications.writesTransformPayer· readsSourcePayers - Load TransformChargesql
load_account_transform_tables_revfind__load_transformcharge.sql✨ Builds the charge transformation table by calculating bill types, procedure codes, and balances for specific account encounters.writesTransformCharge· readsAccountDeltaAccountKeyMapSourceBillingEntitySourceChargeSourceEncounterSourceLocationMapTransformLocation↳ feeds from Create AccountDelta, Load TransformLocation - Load TransformTransactionsql
load_account_transform_tables_revfind__load_transformtransaction.sql✨ Loads the transaction transformation table by categorizing financial adjustments, denials, and payments for specific patient accounts.writesTransformTransaction· readsAccountDeltaAdjustmentCodeRollupSourceTransactionTransformCharge↳ feeds from Create AccountDelta, Load TransformCharge - Load TransformAccountsql
load_account_transform_tables_revfind__load_transformaccount.sql✨ Builds the account transformation table by aggregating encounter details, provider information, and financial balances for active accounts.writesTransformAccount· readsAccountDeltaAccountKeyMapSourceBillingEntitySourceEncounterSourceEncounterInsuranceSourceLocationMapTransformCharge↳ feeds from Create AccountDelta, Load TransformCharge - Load TransformAccountInsurancesql
load_account_transform_tables_revfind__load_transformaccountinsurance.sql✨ Loads the account insurance transformation table by mapping primary, secondary, and tertiary coverage details for each account.writesTransformAccountInsurance· readsAccountDeltaSourceEncounterInsuranceTransformCharge↳ feeds from Create AccountDelta, Load TransformCharge - Load TransformRemitAdjustmentsql
load_account_transform_tables_revfind__load_transformremitadjustment.sqldisabled✨ Builds the remittance adjustment transformation table by categorizing insurance denials and mapping reason codes to standardized adjustment types.writesTransformRemitAdjustment· readsAccountDelta - Load TransformRemitsql
load_account_transform_tables_revfind__load_transformremit.sqldisabled✨ Builds the remit transformation table by consolidating electronic remittance advice adjustments and transaction-level payment data for updated encounters.writesTransformRemit· readsEncounterDeltaTransformRemitTransformRemitAdjustmentTransformTransactionPaymentAdjustment - Load TransformRemitAdjustmentAggregatesql
load_account_transform_tables_revfind__load_transformremitadjustmentaggregate.sqldisabled✨ Aggregates remittance adjustments to calculate total contract, patient, and denial amounts at the charge level for updated accounts.writesTransformRemitAdjustmentAggregate· readsAccountDeltaTransformChargeTransformRemitAdjustment - Load TransformChargeTransactionMeasuressql
load_account_transform_tables_revfind__load_transformchargetransactionmeasures.sql✨ Calculates and loads transaction-based financial measures, including payments, adjustments, and denial categories, for each charge in updated accounts.writesTransformChargeTransactionMeasure· readsAccountDeltaTransformChargeTransformTransaction↳ feeds from Create AccountDelta, Load TransformCharge, Load TransformTransaction - Load TempChargeLinkRemitsql
load_account_transform_tables_revfind__load_tempchargelinkremit.sql✨ Creates a temporary mapping table to link charges with remittance data using procedure codes, modifiers, and service dates.writesTempChargeLinkRemit· readsChargeTypeSourceChargeTempChargeLinkRemitTransformAccountTransformCharge↳ feeds from Load TransformAccount, Load TransformCharge - Load TempTransactionsAggTotalLinksql
load_account_transform_tables_revfind__load_temptransactionsaggtotallink.sql✨ Aggregates transaction totals and links them to specific charges or accounts using previously defined matching keys and procedure codes. - Merge 835 Updates to TransformChargeTransactionMeasuresql
load_account_transform_tables_revfind__merge_835_updates_to_transformchargetransactionmeasure.sql✨ Merges aggregated electronic remittance data into the charge transaction measure table to update payment, adjustment, and denial metrics.writesTransformChargeTransactionMeasure· readsTempTransactionsAggTotalLinkTransformCharge↳ feeds from Load TransformCharge