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

sub-job

Commonwealth · Load-Account-Data

Load Account-Level Tables

called by Daily-Accounts-Processing

sub-job Commonwealth/Load-Account-Data · db Commonwealth_ProdMirror · updated 2026-02-19

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

7 tasks · Commonwealth
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. Augment AccountDeltaReprocessChangedConfigs
    reprocess accounts
  2. Augment AccountDelta ReprocessChangedConfigurationssqlload_account_data__augment_accountdelta_reprocesschangedconfigurations.sql
    Adds accounts requiring reprocessing due to configuration changes into the account delta table for downstream processing.
    writes AccountDelta · reads AccountDeltaAccountsToReprocessTransformAccount
  3. Load ChargeMeasuressqlload_account_data__load_chargemeasures.sql
    Calculates and loads financial metrics like payments, adjustments, and denials for specific accounts into the charge measures table.
    writes ChargeMeasures · reads AccountDeltaTransformChargeTransformChargeTransactionMeasure
    ↳ feeds from Augment AccountDelta ReprocessChangedConfigurations
  4. LoadAccountDataLoadAccountData
    Imports historical billing data from external systems into core account tables while preserving manual user modifications and application fields.
    · reads AccountChargeAccountDeltaChargeMeasuresChargeTypeInsuranceMapPatientProviderSourcePatientInsurance
    ↳ feeds from Augment AccountDelta ReprocessChangedConfigurations, Load ChargeMeasures
    custom account charge querycustom account querycustom account remit querycustom account insurance query
  5. Load-Custom-Propertiessub-job · 2
    1. Load Claim ID Custom PropertyUpdateCustomPropertyFromQuery
      · reads AccountDeltaTransformAccount
      entity=Accountcustom property key=CustomProperty-[id]auto querybatch mode
    2. SyncBatchSyncBatch
      Synchronizes processed data from batch staging tables to production tables, updating visits, quotes, and custom property mappings.
      writes CustomPropertyMap · reads CustomPropertyMapBatch
      sync custom property map
  6. Load-Dimension-Memberssub-job · 15
    1. Load Insurance Dimensionsqlload_dimension_members__load_insurance_dimension.sqldisabled
      Populates the insurance dimension with unique carrier keys to enable filtering and analysis by payer.
      writes DimensionMember · reads Insurance
    2. Load EligibilityInsurance Dimensionsqlload_dimension_members__load_eligibilityinsurance_dimension.sqldisabled
      Loads insurance members that support electronic eligibility and benefits verification via API integration.
      writes DimensionMember · reads DimensionMemberInsurance
    3. Load QuoteInsurance Dimensionsqlload_dimension_members__load_quoteinsurance_dimension.sqldisabled
      Builds a dimension of insurance providers associated with active contracts to facilitate accurate patient cost estimates.
      writes DimensionMember · reads ContractMapInsurance
    4. LoadInsuranceDimensionMembersLoadInsuranceDimensionMembers
      Synchronize insurance-specific dimension members from the insurance table to update contract and eligibility filtering options across the application.
      writes DimensionMember
      load insuranceload quote insuranceload eligibility insurance
    5. Load Time Dimensionssqlload_dimension_members__load_time_dimensions.sql
      Builds time dimension members for days, months, and years based on account service dates to enable temporal reporting.
      writes DimensionMember · reads TransformAccount
    6. Load VisitStatus Dimensionsqlload_dimension_members__load_visitstatus_dimension.sqldisabled
      Loads appointment status values into the visit status dimension to track patient encounter progress.
      writes DimensionMember · reads TransformVisit
    7. Load Provider Dimensionsqlload_dimension_members__load_provider_dimension.sql
      Updates provider and provider type dimensions with names and classifications to organize data by clinical staff.
      writes DimensionMember · reads Provider
    8. Load Facility Dimensionssqlload_dimension_members__load_facility_dimensions.sql
      Loads facility names and their associated groups into the dimension table to track services by location.
      writes DimensionMember · reads Facility
    9. Load FacilityGroup Dimensionsqlload_dimension_members__load_facilitygroup_dimension.sql
      Builds the facility group dimension by extracting unique parent identifiers from existing facility records.
      writes DimensionMember · reads DimensionMember
      ↳ feeds from Load DiagnosisCode Dimension, Load Facility Dimensions, Load FacilityType Dimension, Load PlaceOfService Dimension, Load Provider Dimension, Load State Dimensions, Load Time Dimensions, LoadInsuranceDimensionMembers
    10. Load FacilityType Dimensionsqlload_dimension_members__load_facilitytype_dimension.sql
      Loads facility type dimension members from facility records to enable standardized categorization across the revenue cycle pipeline.
      writes DimensionMember · reads Facility
    11. Load VisitType Dimensionssqlload_dimension_members__load_visittype_dimensions.sqldisabled
      Loads visit type dimension members from HL7 visit data to standardize appointment types for reporting and analysis.
      writes DimensionMember · reads HL7Visit
    12. Load SourceInsurance Dimensionssqlload_dimension_members__load_sourceinsurance_dimensions.sql
      Loads source insurance dimension members from insurance mapping data to track and categorize insurance plans used in patient accounts.
    13. Load PlaceOfService Dimensionsqlload_dimension_members__load_placeofservice_dimension.sql
      Loads place of service dimension members from transformed charge data to categorize where healthcare services were provided.
      writes DimensionMember · reads TransformCharge
    14. Load DiagnosisCode Dimensionsqlload_dimension_members__load_diagnosiscode_dimension.sql
      Loads unique diagnosis codes from charge records into the dimension member table to support standardized clinical reporting.
      writes DimensionMember · reads TransformCharge
    15. Load State Dimensionssqlload_dimension_members__load_state_dimensions.sql
      Updates state dimensions using facility location data to allow for geographic segmentation of healthcare services and revenue.
      writes DimensionMember · reads Facility
  7. Score-Accountssub-job · 1
    1. Score All AccountsBatchProcessAccounts
      writes AccountEstimate · reads QuoteBatchVisitBatch
      incremental