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
RevFind-Transform-QuickSight-Account-Transform
14 tasks · SGP
sub-job / Flow action SQL / native step▶ expand a sub-job inline · ↗ open it as its own page · a typed step opens its doc
- Create AccountKeyMapsql
revfind_transform_quicksight_account_transform__create_accountkeymap.sql✨ Builds a mapping table to link source account identifiers with internal unique keys for consistent cross-system tracking.writesAccountKeyMap· readsAccountKeyMapSourceEncounter - Create AccountDeltasql
revfind_transform_quicksight_account_transform__create_accountdelta.sql✨ Identifies and loads account IDs that have changed or been deleted since the last pipeline execution into a delta table.writesAccountDelta· readsAccountKeyMapProcessLogSourceChargeSourceEncounterSourceTransaction↳ feeds from Create AccountKeyMap - Load AccountDeltaLogsql
revfind_transform_quicksight_account_transform__load_accountdeltalog.sql✨ Records the total number of changed accounts processed in the current batch for auditing and monitoring purposes.writesAccountDeltaLog· readsAccountDelta↳ feeds from Create AccountDelta - Load TransformPatientsql
revfind_transform_quicksight_account_transform__load_transformpatient.sql✨ Builds and updates the patient transformation table by merging demographic data and generating unique identifiers from source systems.writesTransformPatient· readsSourcePatient - Load TransformLocationsql
revfind_transform_quicksight_account_transform__load_transformlocation.sql✨ Builds and updates the location transformation table by mapping facility addresses and zip codes to standardized state codes.writesTransformLocation· readsCMSZipMapSourceLocation - Load TransformProvidersql
revfind_transform_quicksight_account_transform__load_transformprovider.sql✨ Builds and updates the provider transformation table by parsing names and mapping National Provider Identifiers from source systems.writesTransformProvider· readsSourceProvider - Load TransformPayersql
revfind_transform_quicksight_account_transform__load_transformpayer.sql✨ Builds and updates the payer transformation table by consolidating insurance carrier names and generating unique payer identifiers.writesTransformPayer· readsSourceInsurance - Load TransformChargesql
revfind_transform_quicksight_account_transform__load_transformcharge.sql✨ Loads charge-level details into the transformation table, calculating service units, amounts, and bill types for updated accounts.writesTransformCharge· readsAccountDeltaAccountKeyMapSourceChargeSourceEncounterSourceLocation↳ feeds from Create AccountDelta, Create AccountKeyMap - Load TransformAccountInsurancesql
revfind_transform_quicksight_account_transform__load_transformaccountinsurance.sql✨ Updates account insurance records by determining the coordination of benefits order and mapping member policy information for active coverage.writesTransformAccountInsurance· readsAccountDeltaAccountKeyMapSourceEncounterSourcePatientEncounterInsuranceSourcePatientEncounterInsuranceExceptions↳ feeds from Create AccountDelta, Create AccountKeyMap - Load TransformTransactionsql
revfind_transform_quicksight_account_transform__load_transformtransaction.sql✨ Loads and categorizes financial transactions into payments, adjustments, or denials based on source codes and coordination of benefits.writesTransformTransaction· readsAccountDeltaAccountKeyMapAdjustmentCodeRollupSourceEncounterSourceTransactionTransformAccountInsurance↳ feeds from Create AccountDelta, Create AccountKeyMap, Load TransformAccountInsurance - Load TransformAccountsql
revfind_transform_quicksight_account_transform__load_transformaccount.sql✨ Builds the account transformation table by aggregating charge balances and linking encounters to providers, facilities, and primary insurance.writesTransformAccount· readsAccountDeltaAccountKeyMapSourceEncounterSourceLocationTransformCharge↳ feeds from Create AccountDelta, Create AccountKeyMap, Load TransformCharge - Merge TransformTransactionMergeSqldisabledwrites
TransformTransaction· readsAdjustmentCodeRollupImportTransactionSourceEncounterTransformAccountInsurancemerge data source type=ThisDatabasetable name=TransformTransactionmerge mode=InsertUpdateHardDeletebulk copy timeout seconds=300bulk copy use table lock - Update Deltasql
revfind_transform_quicksight_account_transform__update_delta.sqldisabled✨ Identifies and records account IDs with recent transaction updates to track incremental changes for downstream processing.writesAccountDelta· readsAccountDeltaProcessLogTransformTransaction - Load TransformChargeTransactionMeasuresql
revfind_transform_quicksight_account_transform__load_transformchargetransactionmeasure.sql✨ Calculates and updates aggregated financial metrics, including payments, adjustments, and denials, for accounts identified in the delta tracking table.writesTransformChargeTransactionMeasure· readsAccountDeltaAccountKeyMapAdjustmentCodeRollupSourceChargeTransformChargeTransformTransaction↳ feeds from Create AccountDelta, Create AccountKeyMap, Load TransformCharge, Load TransformTransaction