sub-job
EyeSouth · Load-Account-Data-Select
Account data load for NexTech Select 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-Select
17 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_select__accountdelta.sql✨ Identifies accounts with recent activity in bills, charges, or payments to determine which records require processing in the pipeline. - Load TransformAccountChargesql
load_account_data_select__load_transformaccountcharge.sql✨ Transforms raw charge data into a standardized format, assigning billing types and insurance responsibility for the identified delta accounts.writesTransformAccountCharge· readsAccountDeltaSelectChargeTypeMapImportNextTechSelectChargeImportNextTechSelectInsuredPartyTransformChargeMaster - Load TransformChargeCOBMeasuressql
load_account_data_select__load_transformchargecobmeasures.sql✨ Calculates insurance and patient responsibility amounts per charge to support coordination of benefits analysis for updated accounts.writesTransformChargeCOBMeasures· readsAccountDeltaSelectImportNextTechSelectChargeImportNextTechSelectChargeResponsibilityTransformAccountCharge↳ feeds from Load TransformAccountCharge - Load TransformAccountInsurancesql
load_account_data_select__load_transformaccountinsurance.sql✨ Organizes insurance coverage details and priority levels for each account to ensure accurate payer and member identification.writesTransformAccountInsurance· readsAccountDeltaSelectImportNextTechSelectChargeResponsibilityTransformAccountCharge↳ feeds from Load TransformAccountCharge - Load TransformTransactionsql
load_account_data_select__load_transformtransaction.sql✨ Builds standardized transaction records by mapping source adjustments to specific categories and ordering them for account-level analysis.writesTransformTransaction· readsAccountDeltaSelectAdjustmentCodeRollupImportNextTechSelectAdjustmentImportNextTechSelectInsCoImportNextTechSelectInsPlanImportNextTechSelectInsuredPartyImportNextTechSelectPaymentTransformAccountCharge↳ feeds from Load TransformAccountCharge, Load TransformAccountInsurance - Load TransformTransactionSummarysql
load_account_data_select__load_transformtransactionsummary.sql✨ Aggregates transaction data into summaries of adjustments, denials, and payments per charge to support account-level financial reporting.writesTransformTransactionSummary· readsAccountDeltaSelectTransformTransaction↳ feeds from Load TransformTransaction - Load TransformAccountsql
load_account_data_select__load_transformaccount.sql✨ Builds account-level records by combining billing, insurance, and patient data to establish core service and financial metadata.writesTransformAccount· readsAccountDeltaSelectImportNextTechSelectBillImportNextTechSelectLocationImportNextTechSelectPatientImportNextTechSelectPracticeTransformAccountChargeTransformAccountInsurance↳ feeds from Load TransformAccountCharge, Load TransformAccountInsurance - LoadPatientsLoadPatientsUpsert patient records into the patient dimension.· reads
ImportNextTechSelectBillImportNextTechSelectPatientPatientcustom patient query - Load AccountChargesql
load_account_data_select__load_accountcharge.sqldisabled✨ Loads detailed charge records with calculated balances, allowed amounts, and formatted billing codes for each service line.writesAccountCharge· readsAccountDeltaSelectChargeTypePatientProviderMapTransformAccountTransformAccountChargeTransformTransactionSummary - Load Accountsql
load_account_data_select__load_account.sqldisabled✨ Finalizes account records by mapping insurance carriers and aggregating financial totals for charges, adjustments, and payments.writesAccount· readsAccountChargeAccountDeltaSelectFacilityFacilityMapImportNextTechSelectInsCoMapPatientSourceInsuranceMapTransformAccount - Load AccountRemitsql
load_account_data_select__load_accountremit.sqldisabled✨ Loads remittance details by formatting transaction descriptions with payer names and standardized adjustment codes for payment tracking.writesAccountRemit· readsAccountDeltaSelectAdjustmentCodeRollupTransformTransaction - Clear Estimatessql
load_account_data_select__clear_estimates.sqldisabled✨ Removes existing estimate, charge, and calculation records for updated accounts to prepare for fresh cost estimation processing.writesAccountEstimateAccountEstimateCalculationAccountEstimateCharge· readsAccountDeltaSelectAccountEstimate - LoadAccountDataLoadAccountDataImports historical billing data from external systems into core account tables while preserving manual user modifications and application fields.· reads
AccountChargeAccountDeltaSelectAdjustmentCodeRollupChargeTypeFacilityMapImportNextTechSelectInsCoMapPatientProviderMap↳ 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_select__load_accountdetail.sql✨ Builds a comprehensive master record for each account, integrating clinical, financial, and insurance data for detailed reporting.writesAccountDetail· readsAccountDeltaSelect - Load AccountChargeDetailsql
load_account_data_select__load_accountchargedetail.sql✨ Builds detailed account charge records by aggregating patient, insurance, and financial data for specific account deltas.writesAccountChargeDetail· readsAccountDeltaSelect