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-Source-Tables
13 tasks · MNEye
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 SourceAppointmentMergeSqlwrites
SourceAppointment· readsImportAppointmentsmerge data source type=ThisDatabasetable name=SourceAppointmentmerge mode=InsertUpdatebulk copy timeout seconds=300bulk copy use table lock - Load SourcePatientInsurancesql
load_source_tables__load_sourcepatientinsurance.sql✨ Loads patient insurance data while identifying inactive policies and calculating the coordination of benefits order for each coverage record.writesSourcePatientInsurance· readsImportPatientInsurance - Merge SourcePatientMergeSqlwrites
SourcePatient· readsImportPatientmerge data source type=ThisDatabasetable name=SourcePatientmerge mode=InsertUpdatebulk copy timeout seconds=300bulk copy use table lock - Load PatientsLoadPatientsUpsert patient records into the patient dimension.· reads
PatientSourcePatient↳ feeds from Merge SourcePatientcustom patient query - Load SourceEncounterssql
load_source_tables__load_sourceencounters.sql✨ Loads encounter records by transforming imported clinical and financial data into a standardized format for tracking patient visits and balances.writesSourceEncounters· readsImportEncounters - Load SourceEncounterInsurancesql
load_source_tables__load_sourceencounterinsurance.sql✨ Loads and refreshes encounter-level insurance coverage details, including payer information and policy dates, into the source storage table.writesSourceEncounterInsurance· readsImportEncounterInsurance - Load SourceChargessql
load_source_tables__load_sourcecharges.sql✨ Updates source charge records with procedure codes, financial balances, and rendering provider information for specific patient encounters.writesSourceCharges· readsImportCharges - Load SourceAdjustmentssql
load_source_tables__load_sourceadjustments.sql✨ Loads financial adjustment data, including adjudication dates and reason codes, to track modifications made to patient account balances.writesSourceAdjustments· readsImportAdjustments - Load SourceTransactionDetailsql
load_source_tables__load_sourcetransactiondetail.sql✨ Populates detailed transaction history, including allowed amounts and payments, while ensuring data integrity by removing duplicate or outdated records.writesSourceTransactionDetail· readsImportTransactionDetail - Merge SourceLocationsMergeSqlwrites
SourceLocations· readsFacilityImportLocationsmerge data source type=ThisDatabasetable name=SourceLocationsmerge mode=InsertUpdatebulk copy timeout seconds=300bulk copy use table lock - Load Provider (moved to Load-Entities)sql
load_source_tables__load_provider_moved_to_load_entities.sqldisabled✨ Synchronizes provider information, such as NPI and taxonomy codes, by merging new and updated records from multiple source systems. - Load SourcePayersql
load_source_tables__load_sourcepayer.sql✨ Refreshes the master list of insurance payers by importing the latest payer identification and contact data into the source table.writesSourcePayer· readsImportPayerSourcePayer - Merge SourcechargemasterMergeSqlwrites
SourceChargeMaster· readsImportChargeMastermerge data source type=ThisDatabasetable name=SourceChargeMastermerge mode=InsertUpdatebulk copy timeout seconds=300bulk copy use table lock