Legacy Pipeline Atlas worker-1snapshot 2026-07-15

sub-job

MiddletownMedical · RevFind-Transform-Accounts

Account Transformation Steps

called by RevFind-Daily-Processing

sub-job MiddletownMedical/RevFind-Transform-Accounts · db MiddletownMedical_ProdMirror · updated 2026-04-28

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-Accounts

11 tasks · MiddletownMedical
sub-job / Flow action SQL / native step▶ expand a sub-job inline · ↗ open it as its own page · a typed step opens its doc
  1. Merge AccountKeyMapMergeSql
    writes AccountKeyMap · reads SourceECWEdiInvoice
    merge data source type=ThisDatabasetable name=AccountKeyMapmerge mode=InsertUpdatebulk copy timeout seconds=300bulk copy use table lock
  2. Load AccountDeltasqlrevfind_transform_accounts__load_accountdelta.sql
    Identifies and loads patient accounts that have had recent activity or updates across various billing and payment source tables.
    writes AccountDelta · reads AccountDeltaDateAccountKeyMapSourceECWEdiInvAdjustmentsSourceECWEdiInvCPTSourceECWEdiInvDiagnosisSourceECWEdiInvEOBSourceECWEdiInvEobCasSourceECWEdiInvInsurance
    ↳ feeds from Merge AccountKeyMap, Update AccountDeltaDate
  3. Merge TransformPatientMergeSql
    writes TransformPatient · reads SourceECWPatients
    merge data source type=ThisDatabasetable name=TransformPatientmerge mode=InsertUpdateSoftDeletebulk copy timeout seconds=300bulk copy use table lock
  4. Load TransformTransaction (delete/insert)sqlrevfind_transform_accounts__load_transformtransaction_delete_insert.sql
    Loads transformed transaction data by unpivoting payment and adjustment details for accounts identified as having recent changes.
    writes TransformTransaction · reads AccountDeltaAccountKeyMapAccountLevelPaymentsAdjustmentCodeRollupSourceECWEdiInvAdjustmentsSourceECWEdiInvCPTSourceECWEdiInvEOBSourceECWEdiInvEobCas
    ↳ feeds from Load AccountDelta, Merge AccountKeyMap
  5. Merge TransformTransactionsMergeSqldisabled
    writes TransformTransaction · reads AccountKeyMapAdjustmentCodeRollupSourceECWEdiInvAdjustmentsSourceECWEdiInvCPTSourceECWEdiInvEOBSourceECWEdiInvEobCasSourceECWEdiInvInsuranceSourceECWEdiInvoice
    merge data source type=ThisDatabasetable name=TransformTransactionmerge mode=InsertUpdateSoftDeletebulk copy timeout seconds=300bulk copy use table lock
  6. Merge TransformChargeMergeSql
    writes TransformCharge · reads AccountKeyMapSourceECWEDIInvoiceSourceECWEdiInvCPTSourceECWEdiInvDiagnosisSourceECWEdiInvInsuranceSourceECWFacilities
    ↳ feeds from Merge AccountKeyMap
    merge data source type=ThisDatabasetable name=TransformChargemerge mode=InsertUpdateSoftDeletebulk copy timeout seconds=300bulk copy use table lock
  7. Merge TransformAccountMergeSql
    writes TransformAccount · reads AccountKeyMapSourceECWEdiInvDiagnosisSourceECWEdiInvInsuranceSourceECWEdiInvoice
    ↳ feeds from Merge AccountKeyMap
    merge data source type=ThisDatabasetable name=TransformAccountmerge mode=InsertUpdateSoftDeletebulk copy timeout seconds=300bulk copy use table lock
  8. Merge TransformChargeTransactionMeasuresMergeSql
    writes TransformChargeTransactionMeasure · reads AccountKeyMapTransformChargeTransformTransaction
    ↳ feeds from Load TransformTransaction (delete/insert), Merge AccountKeyMap, Merge TransformCharge
    merge data source type=ThisDatabasetable name=TransformChargeTransactionMeasuremerge mode=InsertUpdateHardDeletebulk copy timeout seconds=300bulk copy use table lock
  9. Merge TransformPatientInsuranceMergeSqldisabled
    writes TransformPatientInsurance · reads InsuranceMapSourceECWPatientInsurance
    merge data source type=ThisDatabasetable name=TransformPatientInsurancemerge mode=InsertUpdateSoftDeletebulk copy timeout seconds=300bulk copy use table lock
  10. Merge TransformAccountInsuranceMergeSql
    writes TransformAccountInsurance · reads AccountKeyMapSourceECWEdiInvInsuranceSourceECWEdiInvoice
    ↳ feeds from Merge AccountKeyMap
    merge data source type=ThisDatabasetable name=TransformAccountInsurancemerge mode=InsertUpdateSoftDeletebulk copy timeout seconds=300bulk copy use table lock
  11. Update AccountDeltaDatesqlrevfind_transform_accounts__update_accountdeltadate.sql
    Updates the reference timestamp to track the last time account changes were processed in the pipeline.
    writes AccountDeltaDate