Batch / file feed · RevFind pipeline
JewishBoard · RevFind-Daily-Processing
RevFind-Daily-Processing
trigger
How it's scheduled
The Batch / file feed arrives as a scheduled drop, so one overnight pass is enough: it ingests the day's file and works the whole batch to process the visits. A tighter loop would just re-scan the same file.
| Scheduled task | Cadence | Server | State | Coordination |
|---|---|---|---|---|
\MDC\Daily - Processing - JewishBoard | weekly at 20:00 | prod-db-1 | 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).
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).
RevFind-Daily-Processing
▶RevFind-Source-Importsub-job · 22↗
- DownloadDownloadDownloads files from remote FTP or SFTP servers to local directories with support for archiving and parallel transfers.server=JewishBoard_ProdMirror-mdcssh-sftpremote directory=/local directory={SourceDataFolder}
- Charge ProcessDataFileProcessFiledisabledwrites
ImportChargeDetailsSourceChargeDetailsarchive directory={SourceDataArchive}base table name=ChargeDetailsrow terminator=Newlinecolumn separator=TabDISABLED - BillingTxHistory ProcessDataFileProcessFiledisabledwrites
ImportBillingTxHistorySourceBillingTxHistoryarchive directory={SourceDataArchive}base table name=BillingTxHistoryrow terminator=Newlinecolumn separator=TabDISABLED - Encounter ProcessDataFileProcessFiledisabledwrites
ImportEncounterSourceEncounterarchive directory={SourceDataArchive}base table name=Encounterrow terminator=Newlinecolumn separator=PipeDISABLED - ChargeMaster ProcessDataFileProcessFiledisabledwrites
ImportChargeMasterSourceChargeMasterarchive directory={SourceDataArchive}base table name=ChargeMasterrow terminator=Newlinecolumn separator=TabDISABLED - Insurance ProcessDataFileProcessFiledisabledwrites
ImportInsuranceSourceInsurancearchive directory={SourceDataArchive}base table name=Insurancerow terminator=Newlinecolumn separator=TabDISABLED - Location ProcessDataFileProcessFiledisabledwrites
ImportLocationSourceLocationarchive directory={SourceDataArchive}base table name=Locationrow terminator=Newlinecolumn separator=TabDISABLED - Patient ProcessDataFileProcessFiledisabledwrites
ImportPatientSourcePatientarchive directory={SourceDataArchive}base table name=Patientrow terminator=Newlinecolumn separator=TabDISABLED - PatientEncounterInsurance ProcessDataFileProcessFiledisabledwrites
ImportPatientEncounterInsuranceSourcePatientEncounterInsurancearchive directory={SourceDataArchive}base table name=PatientEncounterInsurancerow terminator=Newlinecolumn separator=TabDISABLED - Provider ProcessDataFileProcessFiledisabledwrites
ImportProviderSourceProviderarchive directory={SourceDataArchive}base table name=Providerrow terminator=Newlinecolumn separator=TabDISABLED - TransactionAdj ProcessDataFileProcessFiledisabledwrites
ImportTransactionPayAdjHistorySourceTransactionPayAdjHistoryarchive directory={SourceDataArchive}base table name=TransactionPayAdjHistoryrow terminator=Newlinecolumn separator=TabDISABLED ▶RevFind-Source-ChargeProcessDataFilesub-job · 1↗
- Charge ProcessDataFileProcessFilewrites
ImportChargeDetailsSourceChargeDetailsfile path={FilePath}archive directory={SourceDataArchive}base table name=ChargeDetailsrow terminator=Newlinecolumn separator=Tab
▶RevFind-Source-BillingTxProcessDataFilesub-job · 1↗
- BillingTxHistory ProcessDataFileProcessFilewrites
ImportBillingTxHistorySourceBillingTxHistoryfile path={FilePath}archive directory={SourceDataArchive}base table name=BillingTxHistoryrow terminator=Newlinecolumn separator=Tab
▶RevFind-Source-EncounterProcessDataFilesub-job · 1↗
- Encounter ProcessDataFileProcessFiledisabledwrites
ImportEncounterSourceEncounterfile path={FilePath}archive directory={SourceDataArchive}base table name=Encounterrow terminator=Newlinecolumn separator=Pipe
▶RevFind-Source-ChargeMasterProcessDataFilesub-job · 1↗
- ChargeMaster ProcessDataFileProcessFilewrites
ImportChargeMasterSourceChargeMasterfile path={FilePath}archive directory={SourceDataArchive}base table name=ChargeMasterrow terminator=Newlinecolumn separator=Tab
▶RevFind-Source-InsuranceProcessDataFilesub-job · 1↗
- Insurance ProcessDataFileProcessFilewrites
ImportInsuranceSourceInsurancefile path={FilePath}archive directory={SourceDataArchive}base table name=Insurancerow terminator=Newlinecolumn separator=Tab
▶RevFind-Source-LocationProcessDataFilesub-job · 1↗
- Location ProcessDataFileProcessFilewrites
ImportLocationSourceLocationfile path={FilePath}archive directory={SourceDataArchive}base table name=Locationrow terminator=Newlinecolumn separator=Tab
▶RevFind-Source-PatientProcessDataFilesub-job · 1↗
- Patient ProcessDataFileProcessFilewrites
ImportPatientSourcePatientfile path={FilePath}archive directory={SourceDataArchive}base table name=Patientrow terminator=Newlinecolumn separator=Tab
▶RevFind-Source-PatEncInsProcessDataFilesub-job · 1↗
- PatientEncounterInsurance ProcessDataFileProcessFilewrites
ImportPatientEncounterInsuranceSourcePatientEncounterInsurancefile path={FilePath}archive directory={SourceDataArchive}base table name=PatientEncounterInsurancerow terminator=Newlinecolumn separator=Tab
▶RevFind-Source-ProviderProcessDataFilesub-job · 1↗
- Provider ProcessDataFileProcessFilewrites
ImportProviderSourceProviderfile path={FilePath}archive directory={SourceDataArchive}base table name=Providerrow terminator=Newlinecolumn separator=Tab
▶RevFind-Source-TranPayAdjProcessDataFilesub-job · 2↗
- dedupe txnsExecuteProcesscommand=powershell.exe
- TransactionAdj ProcessDataFileProcessFilewrites
ImportTransactionPayAdjHistorySourceTransactionPayAdjHistoryfile path={FilePath}archive directory={SourceDataArchive}base table name=TransactionPayAdjHistoryrow terminator=Newlinecolumn separator=Tab
- One-time load of SourcePayAdj to deal w dupessql
revfind_source_import__one_time_load_of_sourcepayadj_to_deal_w_dupes.sql✨ Deduplicates and merges payment and adjustment history into the source transaction table to ensure data integrity.writesSourceTransactionPayAdjHistory· readsImportTransactionPayAdjHistoryJewishBoard
▶Load-Account-Transform-Tables-RevFindsub-job · 14↗Transforms-RevFind
- Fill AccountKeyMapsql
load_account_transform_tables_revfind__fill_accountkeymap.sql✨ Maps patient and episode identifiers to unique account IDs to maintain consistent tracking across the data pipeline. - Create AccountDeltasql
load_account_transform_tables_revfind__create_accountdelta.sql✨ Identifies and flags accounts with recent billing or transaction updates to determine which records require processing in the current run. - Load TransformPatientMergeSqlwrites
TransformPatient· readsSourcePatientmerge data source type=ThisDatabasetable name=TransformPatientmerge mode=InsertUpdatebulk copy timeout seconds=300bulk copy use table lock - Load TransformLocationsql
load_account_transform_tables_revfind__load_transformlocation.sqldisabled✨ Builds the location transformation table by mapping source locations to standardized addresses and place of service codes.writesTransformLocation· readsSourceLocationSourceLocationMap - Load TransformProvidersql
load_account_transform_tables_revfind__load_transformprovider.sqldisabled✨ Updates the provider transformation table with standardized names, credentials, and NPI identifiers from source systems.writesTransformProvider· readsSourceProvider - Load TransformPayersql
load_account_transform_tables_revfind__load_transformpayer.sqldisabled✨ Loads the payer transformation table with standardized insurance carrier names, plan types, and financial classifications.writesTransformPayer· readsSourcePayers - Load TransformCharge (Initial, To Remove)sql
load_account_transform_tables_revfind__load_transformcharge_initial_to_remove.sqldisabled✨ Loads and transforms charge-level data, including service details and insurance information, for accounts identified as having recent updates.writesTransformCharge· readsAccountDeltaAccountKeyMapSourceBillingTxHistorySourceLocationTransformChargemaster - Merge TransformChargeMergeSqlwrites
TransformCharge· readsAccountKeyMapSourceBillingTxHistorySourceChargeDetailsSourceInsuranceSourceLocationSourceTransactionPayAdjHistoryTransformChargemastermerge data source type=ThisDatabasetable name=TransformChargemerge mode=InsertUpdateHardDeletebulk copy timeout seconds=300bulk copy use table lock - Load TransformTransactionsql
load_account_transform_tables_revfind__load_transformtransaction.sql✨ Processes and categorizes financial transactions, such as payments and adjustments, while establishing their chronological order for each account.writesTransformTransaction· readsAccountDeltaAccountKeyMapAdjustmentCodeRollupSourceBillingTxHistorySourceTransactionPayAdjHistory - (to delete once merge confirmed) Load TransformAccountsql
load_account_transform_tables_revfind__to_delete_once_merge_confirmed_load_transformaccount.sqldisabled✨ Builds account-level summaries containing provider, facility, and patient identifiers to provide a high-level view of each encounter.writesTransformAccount· readsAccountKeyMapSourceBillingTxHistorySourceLocation - Merge TransformAccountMergeSqlwrites
TransformAccount· readsAccountKeyMapSourceBillingTxHistorySourceLocationmerge data source type=ThisDatabasetable name=TransformAccountmerge mode=InsertUpdatebulk copy timeout seconds=300bulk copy use table lock - Load TransformAccountInsurancesql
load_account_transform_tables_revfind__load_transformaccountinsurance.sqldisabled✨ Loads insurance coverage details and coordination of benefits for each account to track payer information and member identifiers.writesTransformAccountInsurance· readsAccountKeyMapSourcePatientEncounterInsuranceTransformCharge - Merge TransformAccountInsuranceMergeSqlwrites
TransformAccountInsurance· readsAccountKeyMapSourcePatientEncounterInsuranceTransformCharge↳ feeds from Merge TransformChargemerge data source type=ThisDatabasetable name=TransformAccountInsurancemerge mode=InsertUpdateHardDeletebulk copy timeout seconds=300bulk copy use table lock - Load TransformChargeTransactionMeasuressql
load_account_transform_tables_revfind__load_transformchargetransactionmeasures.sql✨ Aggregates transaction data into charge-level financial measures, calculating totals for payments, adjustments, and denials by insurance priority.writesTransformChargeTransactionMeasure· readsAccountDeltaTransformChargeTransformTransaction↳ feeds from Load TransformTransaction, Merge TransformCharge
▶RevFind-Process-PatientsEntitysub-job · 1↗
- LoadPatientsLoadPatientsUpsert patient records into the patient dimension.· reads
PatientTransformPatientcustom patient query
▶Load-Entities-RevFindsub-job · 2↗Load Facility, Provider
- Load FacilityLoadEntitieswrites
Facility· readsFacilitySourceLocationentity type=Facilitycustom querykey prefix=F - Merge ProviderMergeSqlwrites
Provider· readsSourceBillingTxHistorySourceProvidermerge data source type=ThisDatabasetable name=Providermerge mode=InsertUpdatebulk copy timeout seconds=300bulk copy use table lock
▶Load-Dimension-Members-RevFindsub-job · 15↗
- LoadDimensionMembersLoadDimensionMembersSynchronize facility, provider, and insurance metadata into the dimension member table to refresh dashboard filters and reporting categories.writes
DimensionMemberload insuranceload quote insuranceload eligibility insuranceload facilityload provider - Load Time Dimensionssql
load_dimension_members_revfind__load_time_dimensions.sql✨ Builds and updates time-based dimension members for days, months, and years within the reporting period.writesDimensionMember· readsAccountKeyMap - 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 FacilityGroup Dimensionssql
load_dimension_members_revfind__load_facilitygroup_dimensions.sql✨ Builds the facility group dimension by extracting unique parent identifiers from existing facility records.writesDimensionMember· readsDimensionMember↳ feeds from Load AllowedStatus Dimension, Load DenialCategory Dimension, Load DiagnosisCode Dimension, Load FacilityType Dimensions, Load Modifier Dimension, Load PlaceOfService Dimensions, Load Source Insurance Dimension, Load Time Dimensions, LoadDimensionMembers - Load FacilityType Dimensionssql
load_dimension_members_revfind__load_facilitytype_dimensions.sql✨ Loads facility type dimension members from facility records to enable standardized categorization across the revenue cycle pipeline.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✨ Builds and updates the place of service dimension by mapping charge data to standardized codes and descriptive names.writesDimensionMember· readsPOSCodesTransformCharge - 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.sqldisabled✨ Builds the account status dimension by extracting unique encounter status values from the source encounter records.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✨ Loads diagnosis code dimensions from charge data and assigns them to categories using standardized reference data.writesDimensionMember· readsDimensionMemberTransformCharge↳ feeds from Load AllowedStatus Dimension, Load DenialCategory Dimension, Load FacilityGroup Dimensions, Load FacilityType Dimensions, Load Modifier Dimension, Load PlaceOfService Dimensions, Load Source Insurance Dimension, Load Time Dimensions, LoadDimensionMembers - Load Modifier Dimensionsql
load_dimension_members_revfind__load_modifier_dimension.sql✨ Loads and updates procedure modifier dimension members using charge data and standard modifier descriptions.writesDimensionMember· readsProcedureModifierTransformCharge - Load State Dimensionsql
load_dimension_members_revfind__load_state_dimension.sqldisabled✨ Updates state dimensions using facility location data to allow for geographic segmentation of healthcare services and revenue.writesDimensionMember· readsFacility - Load Source Insurance Dimensionsql
load_dimension_members_revfind__load_source_insurance_dimension.sql✨ Loads and updates source insurance dimension members by mapping insurance IDs and names from the insurance map table.writesDimensionMember· readsInsuranceMap - Load ProcedureCode Dimensionsql
load_dimension_members_revfind__load_procedurecode_dimension.sql✨ Builds procedure code dimension members by extracting codes from charge types and joining them with standard procedure descriptions.· readsChargeTypeProcedureCode
▶Load-Insurance-Mapsub-job · 1↗
- Load InsuranceMapLoadEntitieswrites
InsuranceMap· readsInsuranceMapSourceInsuranceentity type=InsuranceMapcustom querykey prefix=IM
▶Load-Account-Data-RevFindsub-job · 4↗Load Account-Level Tables-RevFind
- Load ChargeMeasuresql
load_account_data_revfind__load_chargemeasure.sql✨ Builds financial metrics for charges, including payments, adjustments, and denials, to track account-level charge performance.writesChargeMeasures· readsAccountDeltaTransformChargeTransformChargeTransactionMeasure - LoadAccountDataLoadAccountDataImports historical billing data from external systems into core account tables while preserving manual user modifications and application fields.· reads
AccountChargeAccountDeltaChargeMeasuresChargeTypeFacilityInsuranceMapPatientTransformAccount↳ feeds from Load ChargeMeasurecustom account charge querycustom account querycustom account remit querycustom account insurance query ▶Load-Custom-Properties-2sub-job · 2↗
- UpdateCustomPropertyFromQuery: ClaimNumberUpdateCustomPropertyFromQuery· reads
CustomPropertyMapTransformChargeentity=Accountcustom property key=CustomProperty-[id]auto query - UpdateCustomPropertyFromQuery: ClaimDateUpdateCustomPropertyFromQuery· reads
CustomPropertyMapTransformChargeentity=Accountcustom property key=CustomProperty-[id]auto query
▶Score-Accounts-RevFindsub-job · 2↗
- Score All Unscored AccountsProcessAccountDataFromQuerydisabled· reads
AccountAccountChargeContractMapcustom queryDISABLED - Score All accountsBatchProcessAccountswrites
AccountEstimate· readsQuoteBatchVisitBatchincremental