Batch / file feed · RevFind pipeline
RIA · Daily-Processing-RevFind
Daily processing for RevFind MSN files
trigger
How it's scheduled
A periodic re-check — eligibility and benefits drift between visits, so this re-verifies coverage on a monthly cadence rather than per-appointment.
| Scheduled task | Cadence | Server | State | Coordination |
|---|---|---|---|---|
\MDC\Monthly - Processing - RIA | monthly at 07:30 | prod-db-3 | enabled | standalone |
shape
The RevFind back-office spine
RevFind pipelines share a back-office shape: ingest → load accounts → reconcile remits → model contracts → surface underpayments. Lit stages are the ones this pipeline runs.
computed concepts · from the SQL
What it computes
Business concepts mined from this pipeline's SQL text — the meaning behind the typed steps. Each links to the concept lens (who else computes it).
Payers in SQLMedicare
task tree
What the pipeline 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).
Daily-Processing-RevFind
▶Process-MSN-Files-RevFindsub-job · 3↗Download and Process MSN files
- Downloads files from remote FTP or SFTP servers to local directories with support for archiving and parallel transfers.server=RIA_ProdMirror-mdcssh-sftpremote directory=/MSN Files/local directory={SourceDataFolderRevFind}DISABLED
- DownloadDownloadDownloads files from remote FTP or SFTP servers to local directories with support for archiving and parallel transfers.server=RIA_ProdMirror-msnftp-sftpremote directory=/local directory={SourceDataFolderRevFind}
▶Load-MSN-ProcessDataFile-RevFindsub-job · 1↗Load MSN Files
- Process MSNProcessFilewrites
ImportMSNFilesSourceMSNFilesfile path={FilePath}archive directory={SourceDataArchiveRevFind}base table name=MSNFilesrow terminator=Newlinecolumn separator=Comma
▶Load-Account-Transform-Tablessub-job · 8↗
- TransformDatasql
load_account_transform_tables__transformdata.sql✨ Standardizes and cleans raw account data by casting types and parsing facility, insurance, and transaction details into a structured format.writesTransformData· readsSourceMSNFiles - AccountDeltasql
load_account_transform_tables__accountdelta.sql✨ Identifies and stores a list of account IDs that have been modified since the last successful pipeline execution. - TransformAccountMapsql
load_account_transform_tables__transformaccountmap.sql✨ Maps accounts to patient and insurance identifiers, establishing a primary record for each account based on the latest transaction data.writesTransformAccountMap· readsAccountDeltaTransformData↳ feeds from TransformData - TransformChargesql
load_account_transform_tables__transformcharge.sql✨ Builds a structured table of individual charges, including procedure codes, modifiers, and balances, for accounts identified in the delta.writesTransformCharge· readsAccountDelta - TransformAccountsql
load_account_transform_tables__transformaccount.sql✨ Loads high-level account information, including primary insurance and facility details, for the most recent records in the account map.writesTransformAccount· readsAccountDelta - TransformTransactionsql
load_account_transform_tables__transformtransaction.sql✨ Builds the transaction transformation table by mapping insurance levels and ranking payments and refunds for updated accounts.writesTransformTransaction· readsAccountDeltaTransformAccountMapTransformData↳ feeds from TransformAccountMap, TransformData - TransformChargeTransactionMeasuresql
load_account_transform_tables__transformchargetransactionmeasure.sqldisabled✨ Updates charge transaction measures by identifying initial and current denial categories and amounts for updated accounts.writesTransformChargeTransactionMeasure· readsAccountDeltaTransformChargeTransformTransaction - TransformChargeTransactionMeasuresql
load_account_transform_tables__transformchargetransactionmeasure_1.sql✨ Populates charge transaction measures with detailed financial metrics, including initial and current denial data and allowed dates.writesTransformChargeTransactionMeasure· readsAccountDeltaTransformChargeTransformTransaction↳ feeds from TransformCharge, TransformTransaction
▶Load-Entities-RevFindsub-job · 2↗Load Facility, Provider
- Load FacilityLoadEntitieswrites
Facility· readsFacilityTransformDataentity type=Facilitycustom query - Load Providersql
load_entities_revfind__load_provider.sql✨ Loads and updates provider information, including NPIs and names, using the most recent transaction data.writesProvider· readsTransformData
▶Load-Account-Datasub-job · 9↗Load Account-Level Tables
- LoadPatientsLoadPatientsUpsert patient records into the patient dimension.· reads
PatientTransformAccountMapcustom patient query - Load ChargeMeasuressql
load_account_data__load_chargemeasures.sql✨ Calculates and loads financial metrics, including payments, adjustments, and allowed amounts, into the charge measures table for updated accounts.writesChargeMeasures· readsAccountDeltaTransformChargeTransformChargeTransactionMeasure - LoadAccountDataLoadAccountDataImports historical billing data from external systems into core account tables while preserving manual user modifications and application fields.· reads
AccountChargeAccountDeltaChargeMeasuresChargeTypeInsuranceMapPatientProviderTransformAccount↳ feeds from Load ChargeMeasurescustom account charge querycustom account querycustom account remit querycustom account insurance query ▶Load-Dimension-Memberssub-job · 15↗
- Load Insurance Dimensionsql
load_dimension_members__load_insurance_dimension.sqldisabled✨ Populates the insurance dimension with unique carrier keys to enable filtering and analysis by payer.writesDimensionMember· readsInsurance - Load EligibilityInsurance Dimensionsql
load_dimension_members__load_eligibilityinsurance_dimension.sqldisabled✨ Loads insurance members that support electronic eligibility and benefits verification via API integration.writesDimensionMember· readsDimensionMemberInsurance - Load QuoteInsurance Dimensionsql
load_dimension_members__load_quoteinsurance_dimension.sqldisabled✨ Builds a dimension of insurance providers associated with active contracts to facilitate accurate patient cost estimates.writesDimensionMember· readsContractMapInsurance - 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__load_time_dimensions.sql✨ Loads and updates time-based dimension members for days, months, and years into the dimension member table.writesDimensionMember· readsTransformVisit - Load VisitStatus Dimensionsql
load_dimension_members__load_visitstatus_dimension.sql✨ Builds the visit status dimension by extracting unique appointment statuses from transformed visit data.writesDimensionMember· readsTransformVisit - Load Provider Dimensionsql
load_dimension_members__load_provider_dimension.sql✨ Synchronizes provider details into the dimension member table to enable provider-based filtering and grouping in reports.writesDimensionMember· readsProvider - Load Facility Dimensionssql
load_dimension_members__load_facility_dimensions.sql✨ Loads facility and facility group hierarchies into the dimension table to organize location-based data for analysis.writesDimensionMember· readsDimensionMemberFacility↳ feeds from Load Diagnosis Code Dimension, Load Modifier Dimension, Load Place of Service Dimension, Load Provider Dimension, Load RadioIsotopes Code Dimension, Load SourceInsurance Dimension, Load State Dimensions, Load Time Dimensions, Load VisitStatus Dimension, Load VisitType Dimensions, LoadInsuranceDimensionMembers - Load VisitType Dimensionssql
load_dimension_members__load_visittype_dimensions.sql✨ Populates the visit type dimension by mapping service IDs and CPT codes from order and crosswalk data.writesDimensionMember· readsHL7OrderRIACPTCrosswalk - Load Diagnosis Code Dimensionsql
load_dimension_members__load_diagnosis_code_dimension.sql✨ Loads and updates the DiagnosisCode dimension by extracting unique primary, secondary, and tertiary diagnosis codes from charge data.writesDimensionMember· readsTransformCharge - Load RadioIsotopes Code Dimensionsql
load_dimension_members__load_radioisotopes_code_dimension.sql✨ Flags and updates the RadioIsotopes dimension to indicate the presence of radioisotope codes within the source risk data.writesDimensionMember· readsSourceCareRiskRadioIsotopeCodes - Load Modifier Dimensionsql
load_dimension_members__load_modifier_dimension.sql✨ Loads and updates the Modifier dimension by collecting unique modifier codes from multiple charge record fields.writesDimensionMember· readsTransformCharge - Load Place of Service Dimensionsql
load_dimension_members__load_place_of_service_dimension.sql✨ Builds and updates the PlaceOfService dimension using unique location codes extracted from charge transaction records.writesDimensionMember· readsTransformCharge - Load SourceInsurance Dimensionsql
load_dimension_members__load_sourceinsurance_dimension.sql✨ Loads and updates the SourceInsurance dimension with mapped insurance provider details for specific data sources and active accounts.writesDimensionMember· readsAccountInsuranceInsuranceMap - Load State Dimensionssql
load_dimension_members__load_state_dimensions.sql✨ Updates state dimensions using facility location data to allow for geographic segmentation of healthcare services and revenue.writesDimensionMember· readsFacility
▶Load-Custom-Propertiessub-job · 2↗Load custom properties from Load-Visits
- UpdateVisitCustomPropertyFromQueryUpdateVisitCustomPropertyFromQuerydisabled· reads
InsuranceSearch_ResultTransformVisitInsuranceCoverageStatusVisitBatchcustom visit update custom property queryDISABLED - LoadCustomNotesCustomPropertyLoadCustomNotesCustomPropertydisabled· reads
BundleNotesMappingHL7DeltaHL7VisitVisitBatchentity=Visitcustom property key=CustomNotescustom querybatch modeDISABLED
▶Score-Accountssub-job · 42↗
- AetnaAetnawrites
AccountEstimate· readsQuoteBatchVisitBatchmin service date=2023-01-01incremental - Aetna Medicare ECFOI, MICTIC, RAOC / RIABatchProcessAccountswrites
AccountEstimate· readsQuoteBatchVisitBatchmin service date=2023-01-01incremental - Aetna Medicare IMIBatchProcessAccountswrites
AccountEstimate· readsQuoteBatchVisitBatchmin service date=2024-03-15incremental - Avmed MedicareBatchProcessAccountswrites
AccountEstimate· readsQuoteBatchVisitBatchmin service date=2024-01-01incremental - BCBSBCBSwrites
AccountEstimate· readsQuoteBatchVisitBatchmin service date=2023-06-27incremental - BCBS Medicare ECFOIBatchProcessAccountswrites
AccountEstimate· readsQuoteBatchVisitBatchmin service date=2023-06-27incremental - BCBS Medicare IMIBatchProcessAccountswrites
AccountEstimate· readsQuoteBatchVisitBatchmin service date=2023-01-01incremental - BCBS Medicare MICTICBatchProcessAccountswrites
AccountEstimate· readsQuoteBatchVisitBatchmin service date=2024-01-01incremental - BCBS Medicare RAOC / RIABatchProcessAccountswrites
AccountEstimate· readsQuoteBatchVisitBatchmin service date=2023-01-01incremental - Beech Street RAOC / RIABatchProcessAccountswrites
AccountEstimate· readsQuoteBatchVisitBatchmin service date=2006-11-01incremental - CarePlusCarePluswrites
AccountEstimate· readsQuoteBatchVisitBatchmin service date=2024-01-01incremental - CarePlus RAOC / RIABatchProcessAccountswrites
AccountEstimate· readsQuoteBatchVisitBatchmin service date=2024-05-01incremental - CariskCariskwrites
AccountEstimate· readsQuoteBatchVisitBatchmin service date=2024-05-01incremental - Cigna ECFOI, MICTIC, RAOC / RIABatchProcessAccountswrites
AccountEstimate· readsQuoteBatchVisitBatchmin service date=2020-01-01incremental - Cigna IMIBatchProcessAccountswrites
AccountEstimate· readsQuoteBatchVisitBatchmin service date=2023-12-15incremental - CurativeCurativewrites
AccountEstimate· readsQuoteBatchVisitBatchmin service date=2025-09-14incremental - Devoted Health RAOC / RIABatchProcessAccountswrites
AccountEstimate· readsQuoteBatchVisitBatchmin service date=2022-12-01incremental - Employee Benefit Management Services RAOC / RIABatchProcessAccountswrites
AccountEstimate· readsQuoteBatchVisitBatchmin service date=2020-10-01incremental - Evolutions Healthcare Systems RAOC / RIABatchProcessAccountswrites
AccountEstimate· readsQuoteBatchVisitBatchmin service date=2023-10-16incremental - Florida HealthBatchProcessAccountswrites
AccountEstimate· readsQuoteBatchVisitBatchmin service date=2020-01-01incremental - Florida Health MedicareBatchProcessAccountswrites
AccountEstimate· readsQuoteBatchVisitBatchmin service date=2020-01-01incremental - Freedom Health MedicareBatchProcessAccountswrites
AccountEstimate· readsQuoteBatchVisitBatchmin service date=2024-01-01incremental - Health First RAOC / RIABatchProcessAccountswrites
AccountEstimate· readsQuoteBatchVisitBatchmin service date=2018-08-01incremental - Hospice of Marion County RAOC / RIABatchProcessAccountswrites
AccountEstimate· readsQuoteBatchVisitBatchmin service date=2020-01-01incremental - HumanaHumanawrites
AccountEstimate· readsQuoteBatchVisitBatchmin service date=2023-01-01incremental - Humana MedicareBatchProcessAccountswrites
AccountEstimate· readsQuoteBatchVisitBatchmin service date=2023-01-01incremental - MedicareMedicarewrites
AccountEstimate· readsQuoteBatchVisitBatchmin service date=2024-01-01incremental - MultiPlan RAOC / RIABatchProcessAccountswrites
AccountEstimate· readsQuoteBatchVisitBatchmin service date=2011-12-31incremental - Oscar RAOC / RIABatchProcessAccountswrites
AccountEstimate· readsQuoteBatchVisitBatchmin service date=2020-01-01incremental - Prime HealthBatchProcessAccountswrites
AccountEstimate· readsQuoteBatchVisitBatchmin service date=2023-01-01incremental - Prime Health Workers CompBatchProcessAccountswrites
AccountEstimate· readsQuoteBatchVisitBatchmin service date=2023-01-01incremental - Self PayBatchProcessAccountswrites
AccountEstimate· readsQuoteBatchVisitBatchmin service date=2023-01-01incremental - SimPlan RAOC / RIABatchProcessAccountswrites
AccountEstimate· readsQuoteBatchVisitBatchmin service date=2021-04-01incremental - Tricare RAOC / RIABatchProcessAccountswrites
AccountEstimate· readsQuoteBatchVisitBatchmin service date=2017-03-01incremental - Trustmark Health Benefits RAOC / RIABatchProcessAccountswrites
AccountEstimate· readsQuoteBatchVisitBatchmin service date=2020-11-01incremental - United HealthcareBatchProcessAccountswrites
AccountEstimate· readsQuoteBatchVisitBatchmin service date=2023-01-01incremental - United Healthcare Medicare IMI & ECFOIBatchProcessAccountswrites
AccountEstimate· readsQuoteBatchVisitBatchmin service date=2023-01-01incremental - United Healthcare Medicare MICTICBatchProcessAccountswrites
AccountEstimate· readsQuoteBatchVisitBatchmin service date=2024-01-01incremental - VA Community Care Network IMIBatchProcessAccountswrites
AccountEstimate· readsQuoteBatchVisitBatchmin service date=2024-01-01incremental - VA Community Care Network RAOC / RIABatchProcessAccountswrites
AccountEstimate· readsQuoteBatchVisitBatchmin service date=2021-08-01incremental - Volusia Health Network RAOC / RIABatchProcessAccountswrites
AccountEstimate· readsQuoteBatchVisitBatchmin service date=2020-01-01incremental - WellCareWellCarewrites
AccountEstimate· readsQuoteBatchVisitBatchmin service date=2024-01-01incremental
- Load AccountDetailsql
load_account_data__load_accountdetail.sqldisabled✨ Builds a comprehensive account summary table by combining patient, insurance, and financial data for detailed encounter reporting.writesAccountDetail· readsAccountAccountChargeAccountDeltaAccountEstimateDimensionMemberPatientSourceEncounterInsuranceSourcePayer - Load AccountChargeDetailsql
load_account_data__load_accountchargedetail.sqldisabled✨ Loads granular charge-level details including procedure codes, modifiers, and payment metrics for individual service line analysis.writesAccountChargeDetail· readsAccountAccountChargeAccountDeltaAccountEstimateCalculationAccountEstimateChargeDimensionMemberPatientSourceEncounterInsurance - Load Recovery Reportsql
load_account_data__load_recovery_report.sql✨ Builds a temporary report comparing estimated and actual insurance payments to track recovered revenue from account appeals.writesTempChargeRecoveryReport· readsAccountAccountAppealStatusAccountAppealSummaryAccountChargeAccountEstimateChargeChargeTypeFacilityPatient