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-Source-MergeImportToSource
12 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
- Merge ChargeMasterMergeSqlwrites
SourceChargemaster· readsImportChargemastermerge data source type=ThisDatabasetable name=SourceChargemastermerge mode=InsertUpdateSoftDeletebulk copy timeout seconds=300bulk copy use table lock - TEMPORARY Fix for Dupe Encounterssql
revfind_source_mergeimporttosource__temporary_fix_for_dupe_encounters.sql✨ Removes duplicate encounter records from the import table to ensure data integrity before merging into source tables.writescte· readsImportEncounter - Merge EncountersMergeSqlwrites
SourceEncounter· readsImportEncountermerge data source type=ThisDatabasetable name=SourceEncountermerge mode=InsertUpdateSoftDeletebulk copy timeout seconds=300bulk copy use table lock - Merge PatientEncounterInsuranceMergeSqldisabledwrites
SourcePatientEncounterInsurance· readsImportPatientEncounterInsurancemerge data source type=ThisDatabasetable name=SourcePatientEncounterInsurancemerge mode=InsertUpdateHardDeletebulk copy timeout seconds=300bulk copy use table lock - Merge PatientMergeSqlwrites
SourcePatient· readsImportPatientmerge data source type=ThisDatabasetable name=SourcePatientmerge mode=InsertUpdateSoftDeletebulk copy timeout seconds=300bulk copy use table lock - Merge ProviderMergeSqlwrites
SourceProvider· readsImportProvidermerge data source type=ThisDatabasetable name=SourceProvidermerge mode=InsertUpdateSoftDeletebulk copy timeout seconds=300bulk copy use table lock - Merge LocationMergeSqlwrites
SourceLocation· readsImportLocationmerge data source type=ThisDatabasetable name=SourceLocationmerge mode=InsertUpdateSoftDeletebulk copy timeout seconds=300bulk copy use table lock - Merge ChargeMergeSqlwrites
SourceCharge· readsImportChargemerge data source type=ThisDatabasetable name=SourceChargemerge mode=InsertUpdatebulk copy timeout seconds=300bulk copy use table lock - TEMPORARY Fix for dupe Txnssql
revfind_source_mergeimporttosource__temporary_fix_for_dupe_txns.sql✨ Removes duplicate transaction records from the import table based on matching IDs, amounts, and dates.writesCTE· readsImportTransaction - Merge TransactionMergeSqlwrites
SourceTransaction· readsImportTransactionmerge data source type=ThisDatabasetable name=SourceTransactionmerge mode=InsertUpdateSoftDeletebulk copy timeout seconds=300bulk copy use table lock - Merge InsuranceMergeSqlwrites
SourceInsurance· readsImportInsurancemerge data source type=ThisDatabasetable name=SourceInsurancemerge mode=InsertUpdateSoftDeletebulk copy timeout seconds=300bulk copy use table lock - Check Deleted Flag on Transactionssql
revfind_source_mergeimporttosource__check_deleted_flag_on_transactions.sql✨ Resets the deletion flag for transactions that have been updated or re-imported after being previously marked as deleted.· readsSourceTransaction↳ feeds from Merge Transaction