sub-job
HeatonEye · Load-Account-Data-RevFind
Load Account-Level Tables-RevFind KB [date] : Added Medicare Scenario scoring
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-RevFind
11 tasks · HeatonEye
sub-job / Flow action SQL / native step▶ expand a sub-job inline · ↗ open it as its own page · a typed step opens its doc
- ReprocessChangedConfigurationsReprocessChangedConfigurationsIdentify and queue visits or accounts affected by configuration changes to ensure historical data reflects updated pricing or insurance rules.reprocess accounts
- Add ReprocessChangedConfig Accounts to AccountDeltasql
load_account_data_revfind__add_reprocesschangedconfig_accounts_to_accountdelta.sql✨ Updates the account change tracking table with records that need reprocessing due to configuration changes.writesAccountDelta· readsAccountDeltaAccountsToReprocessSourceEncounterTransformAccount - Load ChargeMeasuresql
load_account_data_revfind__load_chargemeasure.sql✨ Builds a table of financial metrics for specific charges, calculating adjusted, paid, denied, and patient responsibility amounts.writesChargeMeasures· readsChargeMeasures - LoadAccountDataLoadAccountDataImports historical billing data from external systems into core account tables while preserving manual user modifications and application fields.· reads
AccountChargeAccountDeltaChargeMeasuresChargeTypeInsuranceMapPatientProviderSourceEncounterInsurance↳ feeds from Add ReprocessChangedConfig Accounts to AccountDelta, Load ChargeMeasurecustom account charge querycustom account querycustom account remit querycustom account insurance query ▶Load-Dimension-Members-RevFindsub-job · 19↗
- LoadInsuranceDimensionMembersLoadInsuranceDimensionMembersSynchronize insurance-specific dimension members from the insurance table to update contract and eligibility filtering options across the application.writes
DimensionMemberload insuranceload quote insuranceload eligibility insurance - Load Time Dimensionssql
load_dimension_members_revfind__load_time_dimensions.sql✨ Builds time-based dimension hierarchies for days, months, and years based on the range of dates found in appointment records.writesDimensionMember· readsSourceAppointment - Load VisitStatus Dimensionsql
load_dimension_members_revfind__load_visitstatus_dimension.sqldisabled✨ Loads appointment status values into the visit status dimension to track patient encounter progress.writesDimensionMember· readsTransformVisit - Load DenialCategory Dimensionsql
load_dimension_members_revfind__load_denialcategory_dimension.sql✨ Loads denial category dimensions from adjustment code rollup data to categorize claim denials.writesDimensionMember· readsAdjustmentCodeRollup - Load Provider Dimensionsql
load_dimension_members_revfind__load_provider_dimension.sql✨ Loads provider details into the dimension table, organizing them by provider type and unique identifiers for reporting.writesDimensionMember· readsProvider - Load ProviderType Dimensionsql
load_dimension_members_revfind__load_providertype_dimension.sql✨ Builds the provider type hierarchy by extracting unique parent categories from the existing provider dimension members.writesDimensionMember· readsDimensionMember↳ feeds from Load AccountStatus Dimension, Load AllowedStatus Dimension, Load DenialCategory Dimension, Load DiagnosisCode Dimension, Load Facility Dimensions, Load FacilityGroup Dimensions, Load FacilityType Dimensions, Load Modifier Dimension, Load PatientAge Dimension, Load PlaceOfService Dimensions, Load Provider Dimension, Load ProviderDegree Dimension, Load State Dimensions, Load Time Dimensions, LoadInsuranceDimensionMembers - Load ProviderDegree Dimensionsql
load_dimension_members_revfind__load_providerdegree_dimension.sql✨ Loads the provider degree dimension by mapping professional credentials from source provider records into the standardized dimension table.writesDimensionMember· readsSourceProviderprovider - Load Facility Dimensionssql
load_dimension_members_revfind__load_facility_dimensions.sql✨ Loads facility dimension members by extracting facility keys, groups, and names from the facility source table.writesDimensionMember· readsFacility - Load FacilityGroup Dimensionssql
load_dimension_members_revfind__load_facilitygroup_dimensions.sql✨ Builds the facility group dimension by identifying unique parent groups from facility dimension records.writesDimensionMember· readsDimensionMember↳ feeds from Load AccountStatus Dimension, Load AllowedStatus Dimension, Load DenialCategory Dimension, Load DiagnosisCode Dimension, Load Facility Dimensions, Load FacilityType Dimensions, Load Modifier Dimension, Load PatientAge Dimension, Load PlaceOfService Dimensions, Load Provider Dimension, Load ProviderDegree Dimension, Load ProviderType Dimension, Load State Dimensions, Load Time Dimensions, LoadInsuranceDimensionMembers - Load FacilityType Dimensionssql
load_dimension_members_revfind__load_facilitytype_dimensions.sql✨ Loads unique facility types into the dimension table to allow for the categorization of different healthcare service locations.writesDimensionMember· readsFacility - Load Practice Dimensionssql
load_dimension_members_revfind__load_practice_dimensions.sqldisabled✨ Loads practice dimension members from the practice map for entities that have associated encounter records.writesDimensionMember· readsPracticeMapsourceencounter - Load PlaceOfService Dimensionssql
load_dimension_members_revfind__load_placeofservice_dimensions.sql✨ Loads the place of service dimension by synchronizing standardized facility codes and names from common reference data.writesDimensionMember· readsPOSCodes - Load VisitType Dimensionssql
load_dimension_members_revfind__load_visittype_dimensions.sqldisabled✨ Loads and synchronizes visit type dimensions from event mapping data while removing entries no longer present in the source.writesDimensionMember· readsSourceEventTransformEventMap - Load AccountStatus Dimensionsql
load_dimension_members_revfind__load_accountstatus_dimension.sql✨ Updates account status dimensions using encounter status information to track the lifecycle of patient accounts.writesDimensionMember· readsSourceEncounter - Load AllowedStatus Dimensionsql
load_dimension_members_revfind__load_allowedstatus_dimension.sql✨ Builds allowed status dimensions to categorize how actual payments compare to expected insurance contract rates.writesDimensionMember - Load DiagnosisCode Dimensionsql
load_dimension_members_revfind__load_diagnosiscode_dimension.sql✨ Builds diagnosis code dimensions by extracting codes from account charges and mapping them to standardized medical categories.writesDimensionMember· readsAccountChargeDimensionMember↳ feeds from Load AccountStatus Dimension, Load AllowedStatus Dimension, Load DenialCategory Dimension, Load Facility Dimensions, Load FacilityGroup Dimensions, Load FacilityType Dimensions, Load Modifier Dimension, Load PatientAge Dimension, Load PlaceOfService Dimensions, Load Provider Dimension, Load ProviderDegree Dimension, Load ProviderType Dimension, Load State Dimensions, Load Time Dimensions, LoadInsuranceDimensionMembers - Load Modifier Dimensionsql
load_dimension_members_revfind__load_modifier_dimension.sql✨ Loads the procedure modifier dimension by extracting unique codes from account charges and mapping them to their descriptive labels.writesDimensionMember· readsAccountChargeProcedureModifier - Load State Dimensionssql
load_dimension_members_revfind__load_state_dimensions.sql✨ Updates state dimensions using facility location data to allow for geographic segmentation of healthcare services and revenue.writesDimensionMember· readsFacility - Load PatientAge Dimensionsql
load_dimension_members_revfind__load_patientage_dimension.sql✨ Loads patient age dimensions by calculating current ages from birth dates to support demographic analysis.writesDimensionMember· readsPatient
- Clean Estimatessql
load_account_data_revfind__clean_estimates.sqldisabled✨ Removes existing non-scenario insurance estimates and related charge calculations for accounts currently being processed in the pipeline.writesAccountEstimateAccountEstimateCalculationAccountEstimateCharge· readsAccountDeltaAccountEstimate ▶Score-Accounts-RevFindsub-job · 12↗
- BCBSBCBSdisabledwrites
AccountEstimate· readsQuoteBatchVisitBatchmin service date=2023-01-01incrementalupdate dimensionsDISABLED - Cigna MedicareBatchProcessAccountsdisabledwrites
AccountEstimate· readsQuoteBatchVisitBatchmin service date=2023-01-01incrementalupdate dimensionsDISABLED - HumanaHumanadisabledwrites
AccountEstimate· readsQuoteBatchVisitBatchmin service date=2023-01-01incrementalupdate dimensionsDISABLED - Humana MedicareBatchProcessAccountsdisabledwrites
AccountEstimate· readsQuoteBatchVisitBatchmin service date=2023-01-01incrementalupdate dimensionsDISABLED - MedicareMedicaredisabledwrites
AccountEstimate· readsQuoteBatchVisitBatchmin service date=2023-01-01incrementalupdate dimensionsDISABLED - UHCUHCdisabledwrites
AccountEstimate· readsQuoteBatchVisitBatchmin service date=2023-01-01incrementalupdate dimensionsDISABLED - UHC MedicareBatchProcessAccountsdisabledwrites
AccountEstimate· readsQuoteBatchVisitBatchmin service date=2023-01-01incrementalupdate dimensionsDISABLED - AetnaAetnadisabledwrites
AccountEstimate· readsQuoteBatchVisitBatchmin service date=2023-01-01incrementalupdate dimensionsDISABLED - Aetna MedicareBatchProcessAccountsdisabledwrites
AccountEstimate· readsQuoteBatchVisitBatchmin service date=2023-01-01incrementalupdate dimensionsDISABLED - ProcessAccountDataProcessAccountDatadisabledwrites
AccountEstimate· readsQuoteBatchVisitBatchincrementalDISABLED - ProcessAccountDataFromQueryProcessAccountDataFromQuerydisabled· reads
AccountAccountChargeContractMapcustom queryDISABLED - BatchProcessAccountDataBatchProcessAccountDataCalculates patient account estimates across multiple facilities and insurance types to update pricing after contract or configuration changes.writes
AccountEstimate· readsQuoteBatchVisitBatchincremental
▶Score-Accounts-RevFind-Scenariosub-job · 11↗
- BCBSBCBSdisabledwrites
AccountEstimate· readsQuoteBatchVisitBatchmin service date=2024-01-01scenario insurance=Medicareincrementalupdate dimensionsDISABLED - Cigna MedicareBatchProcessAccountsdisabledwrites
AccountEstimate· readsQuoteBatchVisitBatchmin service date=2024-01-01scenario insurance=Medicareincrementalupdate dimensionsDISABLED - HumanaHumanadisabledwrites
AccountEstimate· readsQuoteBatchVisitBatchmin service date=2024-01-01scenario insurance=Medicareincrementalupdate dimensionsDISABLED - Humana MedicareBatchProcessAccountsdisabledwrites
AccountEstimate· readsQuoteBatchVisitBatchmin service date=2024-01-01scenario insurance=Medicareincrementalupdate dimensionsDISABLED - MedicareMedicaredisabledwrites
AccountEstimate· readsQuoteBatchVisitBatchmin service date=2023-01-01incrementalupdate dimensionsDISABLED - UHCUHCdisabledwrites
AccountEstimate· readsQuoteBatchVisitBatchmin service date=2024-01-01scenario insurance=Medicareincrementalupdate dimensionsDISABLED - UHC MedicareBatchProcessAccountsdisabledwrites
AccountEstimate· readsQuoteBatchVisitBatchmin service date=2024-01-01scenario insurance=Medicareincrementalupdate dimensionsDISABLED - AetnaAetnadisabledwrites
AccountEstimate· readsQuoteBatchVisitBatchmin service date=2024-01-01scenario insurance=Medicareincrementalupdate dimensionsDISABLED - Aetna MedicareBatchProcessAccountsdisabledwrites
AccountEstimate· readsQuoteBatchVisitBatchmin service date=2024-01-01scenario insurance=Medicareincrementalupdate dimensionsDISABLED - ProcessAccountDataFromQueryProcessAccountDataFromQuerydisabled· reads
AccountAccountChargeContractMapcustom queryDISABLED - BatchProcessAccountDataBatchProcessAccountDataCalculates patient account estimates across multiple facilities and insurance types to update pricing after contract or configuration changes.writes
AccountEstimate· readsQuoteBatchVisitBatchscenario insurance=Medicareincremental
▶Load-Custom-Properties-RevFindsub-job · 4↗Load custom properties from Load-Visits-RevFind
- UpdateVisitCustomPropertyFromQueryUpdateVisitCustomPropertyFromQuerydisabled· reads
InsuranceSearch_ResultTransformVisitInsuranceCoverageStatusVisitBatchcustom visit update custom property queryDISABLED - LoadCustomNotesCustomPropertyLoadCustomNotesCustomPropertydisabled· reads
BundleNotesMappingHL7DeltaHL7VisitVisitBatchentity=Visitcustom property key=CustomNotescustom querybatch modeDISABLED - Load Has Account Opportunity Adjusted TotalUpdateCustomPropertyFromQuery· reads
AccountAccountDeltaAccountEstimateCustomPropertyMapentity=Accountcustom property key=CustomProperty-[id]custom query - Load Account Opportunity Adjusted TotalUpdateCustomPropertyFromQuery· reads
AccountChargeOpportunityViewAccountDeltaCustomPropertyMapentity=Accountcustom property key=CustomProperty-[id]custom query
- Load AccountDetailsql
load_account_data_revfind__load_accountdetail.sql✨ Refreshes comprehensive account-level details, including provider information, insurance data, and calculated financial balances for the current batch.writesAccountDetail· readsAccountAccountChargeAccountDeltaAccountEstimateDimensionMemberPatientSourceEncounterInsuranceSourcePayer↳ feeds from Add ReprocessChangedConfig Accounts to AccountDelta - Load AccountChargeDetailsql
load_account_data_revfind__load_accountchargedetail.sql✨ Updates detailed charge-level information, including procedure codes, modifiers, and specific financial metrics for accounts in the current delta.writesAccountChargeDetail· readsAccountAccountChargeAccountDeltaAccountEstimateCalculationAccountEstimateChargeDimensionMemberPatientSourceEncounterInsurance↳ feeds from Add ReprocessChangedConfig Accounts to AccountDelta