sub-job
EyeSouth · Load-Account-Data-PP
Account data load for NexTech PracticePlus(PP) NOTE: Clear Estimates is disabled until we figure out a "smarter" delta. Once we pare down the delta, enable Clear Estimates and change all tasks in Score-Accounts to Incremental = False
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-PP
16 tasks · EyeSouth
sub-job / Flow action SQL / native step▶ expand a sub-job inline · ↗ open it as its own page · a typed step opens its doc
- AccountDeltasql
load_account_data_pp__accountdelta.sql✨ Identifies recently modified encounters, charges, and adjustments to determine which accounts require incremental processing in the pipeline. - Load TransformAccountChargesql
load_account_data_pp__load_transformaccountcharge.sql✨ Transforms and loads detailed charge information, including service dates, providers, and insurance plan identifiers, for the identified delta accounts.writesTransformAccountCharge· readsAccountDeltaChargeTypeChargeTypeMapImportNextTechPPProviderSourceNextTechPPChargeSourceNextTechPPPracticeTransformChargeMaster - Load TransformAccountInsurancesql
load_account_data_pp__load_transformaccountinsurance.sql✨ Organizes and loads insurance coverage hierarchies, including member IDs and group numbers, for primary, secondary, and tertiary payers.writesTransformAccountInsurance· readsAccountDeltaTransformAccountCharge↳ feeds from Load TransformAccountCharge - Load TransformTransactionsql
load_account_data_pp__load_transformtransaction.sql✨ Categorizes and loads financial transactions, such as payments, adjustments, and denials, while mapping them to specific charges and payers.writesTransformTransaction· readsAccountDeltaAdjustmentCodeRollupImportNextTechPPInsurancePlanSourceNextTechPPAdjustmentTransformAccountChargeTransformAccountInsurance↳ feeds from Load TransformAccountCharge, Load TransformAccountInsurance - Load TransformTransactionSummarysql
load_account_data_pp__load_transformtransactionsummary.sql✨ Aggregates transaction data to calculate total adjustments, denials, and payments per charge and coordination of benefits level.writesTransformTransactionSummary· readsAccountDeltaTransformTransaction↳ feeds from Load TransformTransaction - Load TransformAccountsql
load_account_data_pp__load_transformaccount.sql✨ Builds encounter-level records by combining facility, patient, and insurance data with aggregated charge totals for the delta accounts.writesTransformAccount· readsAccountDeltaImportNextTechPPClaimImportNextTechPPPatientSourceNextTechPPEncounterTransformAccountChargeTransformAccountInsurance↳ feeds from Load TransformAccountCharge, Load TransformAccountInsurance - LoadPatientsLoadPatientsUpsert patient records into the patient dimension.· reads
ImportNextTechPPPatientPatientSourceNextTechPPEncountercustom patient query - Load AccountChargesql
load_account_data_pp__load_accountcharge.sqldisabled✨ Loads finalized charge records, calculating allowed amounts and balances by merging transformed charge data with aggregated transaction summaries.writesAccountCharge· readsAccountDeltaChargeTypePatientProviderMapTransformAccountTransformAccountChargeTransformTransactionSummary - Load Accountsql
load_account_data_pp__load_account.sqldisabled✨ Loads the final account table, applying complex insurance mapping logic and consolidating financial measures for reporting and downstream use.writesAccount· readsAccountChargeAccountDeltaFacilityFacilityMapPatientSourceInsuranceMapTransformAccountTransformAccountInsurance - Load AccountRemitsql
load_account_data_pp__load_accountremit.sqldisabled✨ Builds the remittance table by mapping transaction data and denial categories for updated accounts in the pipeline.writesAccountRemit· readsAccountDeltaAdjustmentCodeRollupTransformTransaction - Clear Estimatessql
load_account_data_pp__clear_estimates.sqldisabled✨ Removes existing non-scenario insurance estimates and associated charge calculations for accounts identified as changed in the current run.writesAccountEstimateAccountEstimateCalculationAccountEstimateCharge· readsAccountDeltaAccountEstimate - LoadAccountDataLoadAccountDataImports historical billing data from external systems into core account tables while preserving manual user modifications and application fields.· reads
AccountAccountChargeAccountDeltaAdjustmentCodeRollupChargeTypeFacilityMapMasterInsuranceMapPatient↳ feeds from Load TransformAccount, Load TransformAccountCharge, Load TransformAccountInsurance, Load TransformTransaction, Load TransformTransactionSummarycustom account charge querycustom account querycustom account remit querycustom account insurance query ▶Score-Accountssub-job · 44↗
- Aetna - GARBatchProcessAccountswrites
AccountEstimate· readsQuoteBatchVisitBatchmin service date=2022-09-01incremental - Aetna - GAINBatchProcessAccountsdisabledwrites
AccountEstimate· readsQuoteBatchVisitBatchmin service date=2023-01-01DISABLED - Aetna - GAIN updatedProcessAccountDataFromQuery· reads
AccountAccountChargeAccountDeltaAccountEstimateFacility↳ feeds from Aetna - GAR, Aetna - GEP, Aetna Medicare - GAR, Ambetter - GAR, BCBS AL - MEP, BCBS FL NetworkBlue - FEMI, BCBS FL PPC - FEMI, BCBS FL PPS - FEMI, BCBS GA HMO - Clayton Eye, BCBS GA HMO - GAR, BCBS GA HMO - GEP, BCBS GA HMO - Piedmont, BCBS GA PAR - GAR, BCBS GA PPO - Clayton Eye, BCBS GA PPO - GAR, BCBS GA PPO - GEP, BCBS GA PPO - Piedmont, BCBS LA HMO - ECA, BCBS LA PPO - ECA, BCBS LA Traditional - ECA, BCBS Medicare GA - GAR, BCBS OH - MWEC, BCBS OH Medicare- MWEC, BCBS TN BlueCare - CC, BCBS TN Network P - CC, BCBS TN Network S - CC, Cigna - GAR, Cigna - GEP, Humana - GAR, Humana Medicare - GAR, Medicare, UHC Medicare - GAR, United Healthcare - Clayton Eye, United Healthcare - GAR, United Healthcare - GEA, United Healthcare - GEP, United Healthcare - Piedmont, Wellcare - GARcustom query - Aetna - GEPBatchProcessAccountswrites
AccountEstimate· readsQuoteBatchVisitBatchmin service date=2022-09-01incremental - Aetna Medicare - GARBatchProcessAccountswrites
AccountEstimate· readsQuoteBatchVisitBatchmin service date=2022-01-01incremental - Ambetter - GARBatchProcessAccountswrites
AccountEstimate· readsQuoteBatchVisitBatchmin service date=2022-01-01incremental - BCBS AL - MEPBatchProcessAccountswrites
AccountEstimate· readsQuoteBatchVisitBatchmin service date=2021-12-01max service date=2999-12-31incrementalupdate dimensions - BCBS FL NetworkBlue - FEMIBatchProcessAccountswrites
AccountEstimate· readsQuoteBatchVisitBatchmin service date=2021-10-01max service date=2999-12-31incrementalupdate dimensions - BCBS FL PPC - FEMIBatchProcessAccountswrites
AccountEstimate· readsQuoteBatchVisitBatchmin service date=2021-10-01max service date=2999-12-31incrementalupdate dimensions - BCBS FL PPS - FEMIBatchProcessAccountswrites
AccountEstimate· readsQuoteBatchVisitBatchmin service date=2021-10-01max service date=2999-12-31incrementalupdate dimensions - BCBS GA HMO - Clayton EyeBatchProcessAccountswrites
AccountEstimate· readsQuoteBatchVisitBatchmin service date=2022-01-01incremental - BCBS GA PPO - Clayton EyeBatchProcessAccountswrites
AccountEstimate· readsQuoteBatchVisitBatchmin service date=2022-01-01incremental - BCBS GA HMO - GAINBatchProcessAccountsdisabledwrites
AccountEstimate· readsQuoteBatchVisitBatchmin service date=2023-01-01DISABLED - BCBS GA PPO - GAINBatchProcessAccountsdisabledwrites
AccountEstimate· readsQuoteBatchVisitBatchmin service date=2023-01-01DISABLED - BCBS GA HMO - GAIN updatedProcessAccountDataFromQuery· reads
AccountAccountChargeAccountDeltaAccountEstimateFacility↳ feeds from Aetna - GAR, Aetna - GEP, Aetna Medicare - GAR, Ambetter - GAR, BCBS AL - MEP, BCBS FL NetworkBlue - FEMI, BCBS FL PPC - FEMI, BCBS FL PPS - FEMI, BCBS GA HMO - Clayton Eye, BCBS GA HMO - GAR, BCBS GA HMO - GEP, BCBS GA HMO - Piedmont, BCBS GA PAR - GAR, BCBS GA PPO - Clayton Eye, BCBS GA PPO - GAR, BCBS GA PPO - GEP, BCBS GA PPO - Piedmont, BCBS LA HMO - ECA, BCBS LA PPO - ECA, BCBS LA Traditional - ECA, BCBS Medicare GA - GAR, BCBS OH - MWEC, BCBS OH Medicare- MWEC, BCBS TN BlueCare - CC, BCBS TN Network P - CC, BCBS TN Network S - CC, Cigna - GAR, Cigna - GEP, Humana - GAR, Humana Medicare - GAR, Medicare, UHC Medicare - GAR, United Healthcare - Clayton Eye, United Healthcare - GAR, United Healthcare - GEA, United Healthcare - GEP, United Healthcare - Piedmont, Wellcare - GARcustom query - BCBS GA PPO - GAIN updatedProcessAccountDataFromQuery· reads
AccountAccountChargeAccountDeltaFacilitycustom query - BCBS GA HMO - GARBatchProcessAccountswrites
AccountEstimate· readsQuoteBatchVisitBatchmin service date=2020-06-01incremental - BCBS GA PAR - GARBatchProcessAccountswrites
AccountEstimate· readsQuoteBatchVisitBatchmin service date=2020-06-01incremental - BCBS GA PPO - GARBatchProcessAccountswrites
AccountEstimate· readsQuoteBatchVisitBatchmin service date=2020-06-01incremental - BCBS GA HMO - GEPBatchProcessAccountswrites
AccountEstimate· readsQuoteBatchVisitBatchmin service date=2022-01-01incremental - BCBS GA PPO - GEPBatchProcessAccountswrites
AccountEstimate· readsQuoteBatchVisitBatchmin service date=2022-01-01incremental - BCBS GA HMO - PiedmontBatchProcessAccountswrites
AccountEstimate· readsQuoteBatchVisitBatchmin service date=2022-04-01incremental - BCBS GA PPO - PiedmontBatchProcessAccountswrites
AccountEstimate· readsQuoteBatchVisitBatchmin service date=2022-04-01incremental - BCBS Medicare GA - GARBatchProcessAccountswrites
AccountEstimate· readsQuoteBatchVisitBatchmin service date=2022-01-01incremental - BCBS LA HMO - ECABatchProcessAccountswrites
AccountEstimate· readsQuoteBatchVisitBatchmin service date=2021-01-01incremental - BCBS LA PPO - ECABatchProcessAccountswrites
AccountEstimate· readsQuoteBatchVisitBatchmin service date=2021-01-01incremental - BCBS LA Traditional - ECABatchProcessAccountswrites
AccountEstimate· readsQuoteBatchVisitBatchmin service date=2021-01-01incremental - BCBS OH - MWECBatchProcessAccountswrites
AccountEstimate· readsQuoteBatchVisitBatchmin service date=2023-01-01incremental - BCBS OH Medicare- MWECBatchProcessAccountswrites
AccountEstimate· readsQuoteBatchVisitBatchmin service date=2023-01-01incremental - BCBS TN BlueCare - CCBatchProcessAccountswrites
AccountEstimate· readsQuoteBatchVisitBatchmin service date=2021-01-01incremental - BCBS TN Network P - CCBatchProcessAccountswrites
AccountEstimate· readsQuoteBatchVisitBatchmin service date=2021-01-01incremental - BCBS TN Network S - CCBatchProcessAccountswrites
AccountEstimate· readsQuoteBatchVisitBatchmin service date=2021-01-01incremental - Cigna - GARBatchProcessAccountswrites
AccountEstimate· readsQuoteBatchVisitBatchmin service date=2022-01-01incremental - Cigna - GEPBatchProcessAccountswrites
AccountEstimate· readsQuoteBatchVisitBatchmin service date=2022-09-01incremental - Humana Medicare - GARBatchProcessAccountswrites
AccountEstimate· readsQuoteBatchVisitBatchmin service date=2022-01-01incremental - Humana - GARBatchProcessAccountswrites
AccountEstimate· readsQuoteBatchVisitBatchmin service date=2021-09-01incremental - MedicareMedicarewrites
AccountEstimate· readsQuoteBatchVisitBatchmin service date=2022-01-01incremental - UHC Medicare - GARBatchProcessAccountswrites
AccountEstimate· readsQuoteBatchVisitBatchmin service date=2022-01-01incremental - United Healthcare - Clayton EyeBatchProcessAccountswrites
AccountEstimate· readsQuoteBatchVisitBatchmin service date=2023-01-01incremental - United Healthcare - GARBatchProcessAccountswrites
AccountEstimate· readsQuoteBatchVisitBatchmin service date=2021-01-01incremental - United Healthcare - GEPBatchProcessAccountswrites
AccountEstimate· readsQuoteBatchVisitBatchmin service date=2022-01-01incremental - United Healthcare - GEABatchProcessAccountswrites
AccountEstimate· readsQuoteBatchVisitBatchmin service date=2022-07-01incremental - United Healthcare - PiedmontBatchProcessAccountswrites
AccountEstimate· readsQuoteBatchVisitBatchmin service date=2022-07-01incremental - Wellcare - GARBatchProcessAccountswrites
AccountEstimate· readsQuoteBatchVisitBatchmin service date=2022-01-01incremental
▶Score-Medicare-Scenariosub-job · 3↗
- Score Medicare ScenarioProcessAccountDataFromQuery· reads
AccountAccountChargeAccountEstimatecustom queryscenario insurance=MedicareScenario - Score Medicare ASCs ScenarioProcessAccountDataFromQuery· reads
AccountAccountChargeAccountEstimatecustom queryscenario insurance=MedicareScenarioupdate dimensions - Calculates patient account estimates across multiple facilities and insurance types to update pricing after contract or configuration changes.writes
AccountEstimate· readsQuoteBatchVisitBatchmin service date=2022-04-16max service date=2022-04-30scenario insurance=MedicareScenarioincrementalupdate dimensions
- Load AccountDetailsql
load_account_data_pp__load_accountdetail.sql✨ Updates high-level account metrics, including balances, denial categories, and allowed amount comparisons for the processed accounts.writesAccountDetail· readsAccountDelta - Load AccountChargeDetailsql
load_account_data_pp__load_accountchargedetail.sql✨ Populates detailed charge-level information, including procedure codes, modifiers, and payment metrics for accounts requiring updates.writesAccountChargeDetail· readsAccountDelta