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-Data
14 tasks · CCP
sub-job / Flow action SQL / native step▶ expand a sub-job inline · ↗ open it as its own page · a typed step opens its doc
- ReprocessChangedConfigurationsReprocessChangedConfigurationsIdentify and queue visits or accounts affected by configuration changes to ensure historical data reflects updated pricing or insurance rules.reprocess accounts
- AccountsToReprocess -> AccountDeltasql
load_account_data__accountstoreprocess_accountdelta.sql✨ Identifies and adds unique account IDs requiring reprocessing to the delta table for incremental updates.writesAccountDelta· readsAccountDeltaAccountsToReprocess - Load ChargeMeasuressql
load_account_data__load_chargemeasures.sql✨ Updates charge-level financial metrics, including payments, adjustments, and denial categories, for accounts identified in the delta table.writesChargeMeasures· readsAccountDeltaTransformAccountTransformChargeTransformChargeTransactionMeasure↳ feeds from AccountsToReprocess -> AccountDelta - Load AccountChargesql
load_account_data__load_accountcharge.sqldisabled✨ Rebuilds the charge measures table by aggregating financial data and denial categories for current charges within the delta set.writesAccountChargeChargeMeasures· readsAccountDeltaChargeMeasuresChargeTypePatientProviderTransformAccountTransformCharge - Load Accountsql
load_account_data__load_account.sqldisabled✨ Updates the account table with aggregated financial totals, insurance mapping, and primary denial categories for accounts in the delta.writesAccount· readsAccountChargeAccountDeltaInsuranceMapPatientTransformAccountTransformChargeTransactionMeasure - Load AccountRemitsql
load_account_data__load_accountremit.sqldisabled✨ Loads detailed remittance and transaction history, including payment descriptions and payer information, for accounts requiring updates.writesAccountRemit· readsAccountDeltaInsuranceMapTransformAccountTransformChargeTransformTransaction - Clean Estimatessql
load_account_data__clean_estimates.sqldisabled✨ Removes outdated non-scenario insurance estimates and associated charge calculations for encounters identified in the delta table.writesAccountEstimateAccountEstimateCalculationAccountEstimateCharge· readsAccountEstimateEncounterDelta - LoadAccountDataLoadAccountDataImports historical billing data from external systems into core account tables while preserving manual user modifications and application fields.· reads
AccountChargeAccountDeltaChargeMeasuresChargeTypeInsuranceMapPatientProviderSourcePatBilling↳ feeds from AccountsToReprocess -> AccountDelta, Load ChargeMeasurescustom account charge querycustom account querycustom account remit querycustom account insurance query ▶Score-Accountssub-job · 1↗
- BatchProcessAccountDataBatchProcessAccountDataCalculates patient account estimates across multiple facilities and insurance types to update pricing after contract or configuration changes.writes
AccountEstimate· readsQuoteBatchVisitBatchincremental
▶Load-Custom-Propertiessub-job · 4↗
- Update Has DenialUpdateCustomPropertyFromQuery· reads
Accountaccountdeltaentity=Accountcustom property key=HasDenialcustom query - Update Allowed StatusUpdateCustomPropertyFromQuery· reads
AccountAccountEstimateaccountdeltaentity=Accountcustom property key=AllowedStatuscustom query ▶Load-Custom-Property-Memberssub-job · 1↗
- Experity Insurancesql
load_custom_property_members__experity_insurance.sql✨ Updates custom insurance property members using active mapping data to maintain consistent display names and ordering.writesCustomPropertyMember· readsInsuranceMap
- Update ExperityInsuranceUpdateCustomPropertyFromQuery· reads
InsuranceMapTransformAccountaccountdeltaentity=Accountcustom property key=ExperityInsurancecustom query
- Load AccountDetailsql
load_account_data__load_accountdetail.sqldisabled✨ Populates a comprehensive account detail table merging patient demographics, provider information, and financial performance metrics for delta accounts.writesAccountDetail· readsAccountAccountChargeAccountDeltaAccountEstimateDimensionMemberPatientSourceEncounterInsuranceSourcePayer - Load AccountChargeDetailsql
load_account_data__load_accountchargedetail.sqldisabled✨ Loads granular charge-level details, including procedure codes, modifiers, and specific financial balances, for accounts in the delta set.writesAccountChargeDetail· readsAccountAccountChargeAccountDeltaAccountEstimateCalculationAccountEstimateChargeDimensionMemberPatientSourceEncounterInsurance - WorkqueueAssignmentWorkqueueAssignmentAssigns accounts or visits to workqueue stacks by evaluating matching criteria and updating item lists based on search terms.