trigger
How it's scheduled
New appointments land continuously on the HL7 real-time feed. Front-of-house work is time-boxed — the estimate and letter have to reach the patient before the visit — so the pipeline polls every 10 minutes to check eligibility, price the good-faith estimate, and send the patient letter within minutes of an appointment being booked, rather than waiting for an overnight batch. It stands down while Daily - Processing - SeaRad runs (the heavier nightly pass).
| Scheduled task | Cadence | Server | State | Coordination |
|---|---|---|---|---|
\MDC\HL7 - Processing - SeaRad | every 10 min (from 00:01) | prod-db-1 | enabled | yields to Daily - Processing - SeaRad |
shape
Against the canonical Flow spine
Every Flow pipeline is a variation on one shape. Lit stages are the ones this pipeline runs; the labels match the capability lens.
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 SQLMedicaidMedicare
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-Visit-Processing-HL7
▶Parse-HL7sub-job · 4↗
- DownloadDownloadDownloads files from remote FTP or SFTP servers to local directories with support for archiving and parallel transfers.server=SeaRad_ProdMirror-mdcssh-sftpremote directory=/HL7local directory={HL7Directory}
- LoadHL7FilesLoadHL7FilesParses and imports patient demographics, visits, and charges from HL7 message files located in a specified directory.message folder path={HL7Directory}message processed folder path={HL7Archive}add timestamp to file name
- Update HL7ProcessLog + HL7Delta + Visit + VisitChargesql
parse_hl7__update_hl7processlog_hl7delta_visit_visitcharge.sql✨ Logs HL7 message processing and identifies new patient and order updates from archived clinical data for downstream integration.writesHL7DeltaHL7ProcessLogHL7ProcessLogArchiveKeys· readsHL7ArchiveHL7OrderHL7PatientHL7ProcessLogHL7ProcessLogArchiveKeysOrderSourceIDMapTransformPatient ▶Load-Transform-HL7sub-job · 12↗Update on [date] --> Added ECC=1 in Loadpatients task as per ticket# https://mdclarity.zendesk.com/agent/tickets/14141
- TransformPatientsql
load_transform_hl7__transformpatient.sql✨ Updates patient demographic and contact information by extracting and standardizing data from incoming HL7 ADT and order messages.writesTransformPatient· readsHL7DeltaHL7OrderHL7PatientTransformPatient - TransformPatientInsurancesql
load_transform_hl7__transformpatientinsurance.sql✨ Identifies insurance changes from HL7 messages and updates standardized patient insurance records, including coordination of benefits and group details.writesPatientIDInsuranceDeltaTransformPatientInsurance· readsHL7DeltaHL7PatientInsuranceMapPatientIDInsuranceDeltaTransformPatientInsurance - Update PatientDateAppointmentIDMapsql
load_transform_hl7__update_patientdateappointmentidmap.sql✨ Builds a mapping between patients and scheduled dates to generate unique internal identifiers for incoming HL7 messages.writesPatientDateAppointmentIDMap· readsHL7DeltaPatientDateAppointmentIDMap - Update OrderSourceIDDeltasql
load_transform_hl7__update_ordersourceiddelta.sql✨ Updates order mappings and identifies appointments impacted by new messages, flagging those where all associated orders are cancelled.writesOrderSourceIDDeltaOrderSourceIDMap· readsHL7DeltaOrderSourceIDMapPatientDateAppointmentIDMapPatientIDInsuranceDeltaTransformVisit↳ feeds from Merge TransformVisit, TransformPatientInsurance, Update PatientDateAppointmentIDMap - Load ImportTransformVisitsql
load_transform_hl7__load_importtransformvisit.sql✨ Loads visit details into a staging table, mapping facility, provider, and service type information for upcoming appointment processing.writesImportTransformVisit· readsHL7OrderOrderSourceIDDeltaOrderSourceIDMap↳ feeds from Update OrderSourceIDDelta - Merge TransformVisitsql
load_transform_hl7__merge_transformvisit.sql✨ Merges staged visit data into the main transformation table by replacing existing records with updated appointment and facility information.writesTransformVisit· readsImportTransformVisit↳ feeds from Load ImportTransformVisit - Load ImportTransformVisitInsurancesql
load_transform_hl7__load_importtransformvisitinsurance.sql✨ Loads insurance coverage details from HL7 orders into a staging table, organizing primary, secondary, and tertiary payers for each visit. - Merge TransformVisitInsurancesql
load_transform_hl7__merge_transformvisitinsurance.sql✨ Updates the main insurance transformation table by replacing existing coverage records with the latest staged insurance information for each visit.writesTransformVisitInsurance· readsImportTransformVisitInsurance - Load ImportTransformVisitChargesql
load_transform_hl7__load_importtransformvisitcharge.sql✨ Loads procedure charges into a staging table, cross-walking clinical codes to standard billing formats and service types for cost estimation.writesImportTransformVisitCharge· readsHL7OrderOrderSourceIDDeltaOrderSourceIDMapSeaRadCPTCrosswalk↳ feeds from Update OrderSourceIDDelta - Merge TransformVisitChargesql
load_transform_hl7__merge_transformvisitcharge.sql✨ Merges staged procedure charges into the main transformation table, ensuring the most recent billing codes are associated with each visit.writesTransformVisitCharge· readsImportTransformVisitCharge↳ feeds from Load ImportTransformVisitCharge - LoadPatientsLoadPatientsUpsert patient records into the patient dimension.· reads
PatientTransformPatient↳ feeds from TransformPatientauto patient query - Update HL7ProcessLogsql
load_transform_hl7__update_hl7processlog.sql✨ Updates the HL7 process log to mark the most recent active processing task as completed.· readsHL7ProcessLog
▶Load-ALL-Medicare-Schedulessub-job · 9↗
- Load ContractMapsql
load_all_medicare_schedules__load_contractmap.sqldisabled✨ Builds Medicare contract mappings for all facilities to define professional billing logic and effective coverage periods.writesContractMap· readsContractMapFacility ▶Load-Medicare-DME-Schedulessub-job · 3↗
- Load All Medicare DME Schedulessql
load_medicare_dme_schedules__load_all_medicare_dme_schedules.sql✨ Loads Medicare Durable Medical Equipment fee schedules and facility mappings for the specified state into the system. - LoadEntitiesFromQueryLoadEntitiesFromQueryLoad or update entity records from custom SQL query results into their corresponding system tables using intelligent merge logic.writes
Schedule· readsSchedulemapschedule↳ feeds from Copy Medicare-DME Schedules to All Insurancesentity type=Schedulecustom query - Copy Medicare-DME Schedules to All Insurancessql
load_medicare_dme_schedules__copy_medicare_dme_schedules_to_all_insurances.sql✨ Replicates Medicare Durable Medical Equipment schedules across all other insurance providers to ensure consistent pricing maps.writesScheduleMap· readsDimensionMemberScheduleMap
▶Load-Medicare-Drug-Schedulessub-job · 3↗
- Load All Medicare Drug Schedulessql
load_medicare_drug_schedules__load_all_medicare_drug_schedules.sql✨ Loads Medicare drug fee schedules and facility mappings into the system based on current Medicare pricing data. - LoadEntitiesFromQueryLoadEntitiesFromQueryLoad or update entity records from custom SQL query results into their corresponding system tables using intelligent merge logic.writes
Schedule· readsSchedulemapschedule↳ feeds from Copy Medicare-Drug Schedules to All Insurancesentity type=Schedulecustom query - Copy Medicare-Drug Schedules to All Insurancessql
load_medicare_drug_schedules__copy_medicare_drug_schedules_to_all_insurances.sql✨ Copies Medicare drug pricing schedules to all other insurance providers within the schedule mapping configuration.writesScheduleMap· readsDimensionMemberScheduleMap
▶Load-Medicare-Lab-Schedulessub-job · 11↗Update this with dbo.GetMedicareLabAmount when completed
- Load Medicare-Lab-2015LoadSchedulewrites
FeeScheduleRecordScheduleMap· readsDimensionMemberFacilityMedicareScheduleDataLabschedule=Medicare-Lab-2015schedule type=Medicare-Lab - Load Medicare-Lab-2016LoadSchedulewrites
FeeScheduleRecordScheduleMap· readsDimensionMemberFacilityMedicareScheduleDataLabschedule=Medicare-Lab-2016schedule type=Medicare-Lab - Load Medicare-Lab-2017LoadSchedulewrites
FeeScheduleRecordScheduleMap· readsDimensionMemberFacilityMedicareScheduleDataLabschedule=Medicare-Lab-2017schedule type=Medicare-Lab - Load Medicare-Lab-2018LoadSchedulewrites
FeeScheduleRecordScheduleMap· readsCommonDataDimensionMemberFacilityFeeScheduleRecordScheduleMap↳ feeds from Copy Medicare-Lab Schedules to All Insurances, Load Medicare-Lab-2015, Load Medicare-Lab-2016, Load Medicare-Lab-2017, Load Medicare-Lab-2019, Load Medicare-Lab-2020, Load Medicare-Lab-2021, Load Medicare-Lab-2022, Load Medicare-Lab-2023, Load Medicare-Lab-2024schedule=Medicare-Lab-2018schedule type=Medicare-Lab - Load Medicare-Lab-2019LoadSchedulewrites
FeeScheduleRecordScheduleMap· readsCommonDataDimensionMemberFacilityFeeScheduleRecordScheduleMap↳ feeds from Copy Medicare-Lab Schedules to All Insurances, Load Medicare-Lab-2015, Load Medicare-Lab-2016, Load Medicare-Lab-2017, Load Medicare-Lab-2018, Load Medicare-Lab-2020, Load Medicare-Lab-2021, Load Medicare-Lab-2022, Load Medicare-Lab-2023, Load Medicare-Lab-2024schedule=Medicare-Lab-2019schedule type=Medicare-Lab - Load Medicare-Lab-2020LoadSchedulewrites
FeeScheduleRecordScheduleMap· readsCommonDataDimensionMemberFacilityFeeScheduleRecordScheduleMap↳ feeds from Copy Medicare-Lab Schedules to All Insurances, Load Medicare-Lab-2015, Load Medicare-Lab-2016, Load Medicare-Lab-2017, Load Medicare-Lab-2018, Load Medicare-Lab-2019, Load Medicare-Lab-2021, Load Medicare-Lab-2022, Load Medicare-Lab-2023, Load Medicare-Lab-2024schedule=Medicare-Lab-2020schedule type=Medicare-Lab - Load Medicare-Lab-2021LoadSchedulewrites
FeeScheduleRecordScheduleMap· readsCommonDataDimensionMemberFacilityFeeScheduleRecordScheduleMap↳ feeds from Copy Medicare-Lab Schedules to All Insurances, Load Medicare-Lab-2015, Load Medicare-Lab-2016, Load Medicare-Lab-2017, Load Medicare-Lab-2018, Load Medicare-Lab-2019, Load Medicare-Lab-2020, Load Medicare-Lab-2022, Load Medicare-Lab-2023, Load Medicare-Lab-2024schedule=Medicare-Lab-2021schedule type=Medicare-Lab - Load Medicare-Lab-2022LoadSchedulewrites
FeeScheduleRecordScheduleMap· readsCommonDataDimensionMemberFacilityFeeScheduleRecordScheduleMap↳ feeds from Copy Medicare-Lab Schedules to All Insurances, Load Medicare-Lab-2015, Load Medicare-Lab-2016, Load Medicare-Lab-2017, Load Medicare-Lab-2018, Load Medicare-Lab-2019, Load Medicare-Lab-2020, Load Medicare-Lab-2021, Load Medicare-Lab-2023, Load Medicare-Lab-2024schedule=Medicare-Lab-2022schedule type=Medicare-Lab - Load Medicare-Lab-2023LoadSchedulewrites
FeeScheduleRecordScheduleMap· readsCommonDataDimensionMemberFacilityFeeScheduleRecordScheduleMap↳ feeds from Copy Medicare-Lab Schedules to All Insurances, Load Medicare-Lab-2015, Load Medicare-Lab-2016, Load Medicare-Lab-2017, Load Medicare-Lab-2018, Load Medicare-Lab-2019, Load Medicare-Lab-2020, Load Medicare-Lab-2021, Load Medicare-Lab-2022, Load Medicare-Lab-2024schedule=Medicare-Lab-2023schedule type=Medicare-Lab - Load Medicare-Lab-2024LoadSchedulewrites
FeeScheduleRecordScheduleMap· readsCommonDataDimensionMemberFacilityFeeScheduleRecordScheduleMap↳ feeds from Copy Medicare-Lab Schedules to All Insurances, Load Medicare-Lab-2015, Load Medicare-Lab-2016, Load Medicare-Lab-2017, Load Medicare-Lab-2018, Load Medicare-Lab-2019, Load Medicare-Lab-2020, Load Medicare-Lab-2021, Load Medicare-Lab-2022, Load Medicare-Lab-2023schedule=Medicare-Lab-2024schedule type=Medicare-Lab - Copy Medicare-Lab Schedules to All Insurancessql
load_medicare_lab_schedules__copy_medicare_lab_schedules_to_all_insurances.sql✨ Replicates Medicare laboratory fee schedules to all other insurance providers to maintain uniform pricing maps.writesScheduleMap· readsDimensionMemberScheduleMap↳ feeds from Load Medicare-Lab-2015, Load Medicare-Lab-2016, Load Medicare-Lab-2017, Load Medicare-Lab-2018, Load Medicare-Lab-2019, Load Medicare-Lab-2020, Load Medicare-Lab-2021, Load Medicare-Lab-2022, Load Medicare-Lab-2023, Load Medicare-Lab-2024
▶Load-Medicare-RVU-Schedulessub-job · 4↗
- Load Medicare RVU Schedules Clinicsql
load_medicare_rvu_schedules__load_medicare_rvu_schedules_clinic.sql✨ Calculates and loads Medicare clinic fee schedules based on Relative Value Units and regional conversion factors. - Load Medicare RVU Schedules Hospitalsql
load_medicare_rvu_schedules__load_medicare_rvu_schedules_hospital.sqldisabled✨ Builds and updates Medicare RVU fee schedules and facility mappings for hospital-based services using regional zip code data. - LoadEntitiesFromQueryLoadEntitiesFromQueryLoad or update entity records from custom SQL query results into their corresponding system tables using intelligent merge logic.writes
Schedule· readsSchedulemapschedule↳ feeds from Copy Medicare-RVU Schedules to All Insurancesentity type=Schedulecustom query - Copy Medicare-RVU Schedules to All Insurancessql
load_medicare_rvu_schedules__copy_medicare_rvu_schedules_to_all_insurances.sql✨ Replicates Medicare RVU schedule mappings across all non-government insurance providers to standardize fee schedule assignments.writesScheduleMap· readsDimensionMemberScheduleMap
▶Load-Endoscopy-Base-Schedulessub-job · 5↗Copy from SSR
- [DISABLED]Load Endoscopy-Base-2015LoadScheduledisabledwrites
CodeScheduleRecordScheduleMap· readsChargeTypeFacilityInsuranceMedicareScheduleDataEndoscopyBaseschedule=Endoscopy-Base-2015schedule type=Endoscopy-BaseDISABLED - [DISABLED]Load Endoscopy-Base-2016LoadScheduledisabledwrites
CodeScheduleRecordScheduleMap· readsChargeTypeFacilityInsuranceMedicareScheduleDataEndoscopyBaseschedule=Endoscopy-Base-2016schedule type=Endoscopy-BaseDISABLED - Load-From-Commondatasql
load_endoscopy_base_schedules__load_from_commondata.sql✨ Loads Medicare endoscopy base schedules and facility mappings from common data for specific regional localities.writesScheduleMapcodeschedulerecord· readsFacilitymedicareEndoscopyschedulemedicareEndoscopyscheduleMapschedulemap↳ feeds from Copy Endoscopy-Base Schedules to All Insurances - LoadEntitiesFromQueryLoadEntitiesFromQueryLoad or update entity records from custom SQL query results into their corresponding system tables using intelligent merge logic.writes
Schedule· readsSchedulemapschedule↳ feeds from Copy Endoscopy-Base Schedules to All Insurances, Load-From-Commondataentity type=Schedulecustom query - Copy Endoscopy-Base Schedules to All Insurancessql
load_endoscopy_base_schedules__copy_endoscopy_base_schedules_to_all_insurances.sql✨ Copies Medicare endoscopy base schedules to all other insurance providers within the schedule mapping table.writesScheduleMap· readsDimensionMemberScheduleMap↳ feeds from Load-From-Commondata
▶Load-Multiple-Procedure-Schedulessub-job · 11↗Copy from SSR
- Load Multiple-Procedure-2014LoadSchedulewrites
CodeScheduleRecordScheduleMap· readsChargeTypeFacilityInsuranceMedicareScheduleDataMultipleProcedureschedule=Multiple-Procedure-2014schedule type=Multiple-Procedure - Load Multiple-Procedure-2015LoadSchedulewrites
CodeScheduleRecordScheduleMap· readsChargeTypeFacilityInsuranceMedicareScheduleDataMultipleProcedureschedule=Multiple-Procedure-2015schedule type=Multiple-Procedure - Load Multiple-Procedure-2016LoadSchedulewrites
CodeScheduleRecordScheduleMap· readsChargeTypeFacilityInsuranceMedicareScheduleDataMultipleProcedureschedule=Multiple-Procedure-2016schedule type=Multiple-Procedure - Load Multiple-Procedure-2017LoadSchedulewrites
CodeScheduleRecordScheduleMap· readsChargeTypeFacilityInsuranceMedicareScheduleDataMultipleProcedureschedule=Multiple-Procedure-2017schedule type=Multiple-Procedure - Load Multiple-Procedure-2018LoadSchedulewrites
CodeScheduleRecordScheduleMap· readsChargeTypeFacilityInsuranceMedicareScheduleDataMultipleProcedureschedule=Multiple-Procedure-2018schedule type=Multiple-Procedure - Load Multiple-Procedure-2019LoadSchedulewrites
CodeScheduleRecordScheduleMap· readsChargeTypeFacilityInsuranceMedicareScheduleDataMultipleProcedureschedule=Multiple-Procedure-2019schedule type=Multiple-Procedure - Load Multiple-Procedure-2020LoadSchedulewrites
CodeScheduleRecordScheduleMap· readsChargeTypeFacilityInsuranceMedicareScheduleDataMultipleProcedureschedule=Multiple-Procedure-2020schedule type=Multiple-Procedure - Load Multiple-Procedure-2021LoadSchedulewrites
CodeScheduleRecordScheduleMap· readsChargeTypeFacilityInsuranceMedicareScheduleDataMultipleProcedureschedule=Multiple-Procedure-2021schedule type=Multiple-Procedure - Load Multiple-Procedure-2022LoadSchedulewrites
CodeScheduleRecordScheduleMap· readsChargeTypeFacilityInsuranceMedicareScheduleDataMultipleProcedureschedule=Multiple-Procedure-2021schedule type=Multiple-Procedure - Load Multiple-Procedure-2023LoadSchedulewrites
CodeScheduleRecordScheduleMap· readsChargeTypeFacilityInsuranceMedicareScheduleDataMultipleProcedureschedule=Multiple-Procedure-2023schedule type=Multiple-Procedure - Load Multiple-Procedure-2024LoadSchedulewrites
CodeScheduleRecordScheduleMap· readsChargeTypeFacilityInsuranceMedicareScheduleDataMultipleProcedureschedule=Multiple-Procedure-2024schedule type=Multiple-Procedure
▶Load-MidLevelProvider-Schedulessub-job · 10↗Copy from SSR
- Load Mid-Level Provider ScheduleLoadSchedulewrites
CodeScheduleRecordScheduleMap· readsFacilityInsuranceProviderProviderTaxonomyschedule=Mid-Level-Providersschedule type=Mid-Level-Providers - Load Medicare Mid-Level-Charges 2016 scheduleLoadSchedulewrites
FeeScheduleRecordScheduleMap· readsChargeTypeFacilityInsuranceMedicareScheduleDataRVUschedule=Medicare-Mid-Level-Charges-2016schedule type=Mid-Level-Charges - Load Medicare Mid-Level-Charges 2017 scheduleLoadSchedulewrites
FeeScheduleRecordScheduleMap· readsChargeTypeFacilityInsuranceMedicareScheduleDataRVUschedule=Medicare-Mid-Level-Charges-2017schedule type=Mid-Level-Charges - Load Medicare Mid-Level-Charges 2018 scheduleLoadSchedulewrites
FeeScheduleRecordScheduleMap· readsChargeTypeFacilityInsuranceMedicareScheduleDataRVUschedule=Medicare-Mid-Level-Charges-2018schedule type=Mid-Level-Charges - Load Medicare Mid-Level-Charges 2019 scheduleLoadSchedulewrites
FeeScheduleRecordScheduleMap· readsChargeTypeFacilityInsuranceMedicareScheduleDataRVUschedule=Medicare-Mid-Level-Charges-2019schedule type=Mid-Level-Charges - Load Medicare Mid-Level-Charges 2020 scheduleLoadSchedulewrites
FeeScheduleRecordScheduleMap· readsChargeTypeFacilityInsuranceMedicareScheduleDataRVUschedule=Medicare-Mid-Level-Charges-2020schedule type=Mid-Level-Charges - Load Medicare Mid-Level-Charges 2021 scheduleLoadSchedulewrites
FeeScheduleRecordScheduleMap· readsChargeTypeFacilityInsuranceMedicareScheduleDataRVUschedule=Medicare-Mid-Level-Charges-2021schedule type=Mid-Level-Charges - Load Medicare Mid-Level-Charges 2022 scheduleLoadSchedulewrites
FeeScheduleRecordScheduleMap· readsChargeTypeFacilityInsuranceMedicareScheduleDataRVUschedule=Medicare-Mid-Level-Charges-2022schedule type=Mid-Level-Charges - Load Medicare Mid-Level-Charges 2023 scheduleLoadSchedulewrites
FeeScheduleRecordScheduleMap· readsChargeTypeFacilityInsuranceMedicareScheduleDataRVUschedule=Medicare-Mid-Level-Charges-2023schedule type=Mid-Level-Charges - Load Medicare Mid-Level-Charges 2024 scheduleLoadSchedulewrites
FeeScheduleRecordScheduleMap· readsChargeTypeFacilityInsuranceMedicareScheduleDataRVUschedule=Medicare-Mid-Level-Charges-2024schedule type=Mid-Level-Charges
- Load Medicare Carveout Schedule 2019LoadSchedulewrites
FeeScheduleRecordScheduleMap· readsDimensionMemberFacilityImportMedicareCarveoutInsuranceschedule=Medicare-Carveout-2019schedule type=Carve-Outs
▶Load-ALL-Medicaid-Schedulessub-job · 4↗
- ContractMapsql
load_all_medicaid_schedules__contractmap.sqldisabled✨ Updates contract mappings for Medicaid by associating facilities with standardized professional fee schedules and effective date ranges.writesContractMap· readsContractMapFacility - Load All WA Medicaid Schedulessql
load_all_medicaid_schedules__load_all_wa_medicaid_schedules.sql✨ Loads regional Medicaid fee schedules and schedule mappings into the system for non-hospital facilities and specific service types.writesFeeScheduleRecordScheduleMap· readsCommonDataFeeScheduleRecordScheduleMap↳ feeds from Copy Medicaid Schedules to All Insurances - LoadEntitiesFromQueryLoadEntitiesFromQueryLoad or update entity records from custom SQL query results into their corresponding system tables using intelligent merge logic.writes
Schedule· readsScheduleMap↳ feeds from Copy Medicaid Schedules to All Insurances, Load All WA Medicaid Schedulesentity type=Schedulecustom query - Copy Medicaid Schedules to All Insurancessql
load_all_medicaid_schedules__copy_medicaid_schedules_to_all_insurances.sql✨ Propagates Medicaid fee schedule mappings to other insurance providers within the system to ensure consistent pricing across similar plans.writesScheduleMap· readsDimensionMemberScheduleMap↳ feeds from Load All WA Medicaid Schedules
▶Populate-Dimensionssub-job · 4↗
- Load EligibilityInsurance Dimensionsql
populate_dimensions__load_eligibilityinsurance_dimension.sql✨ Populates the EligibilityInsurance dimension with insurance providers that have valid benefits API references for automated eligibility checks.writesImportDimensionMember· readsDimensionMemberInsurance↳ feeds from Load State Dimensions, Load Time Dimensions - Load QuoteInsurance Dimensionsql
populate_dimensions__load_quoteinsurance_dimension.sql✨ Updates the QuoteInsurance dimension by identifying insurance carriers associated with active contract maps in the system.writesImportDimensionMember· readsContractMapInsurance - Load Time Dimensionssql
populate_dimensions__load_time_dimensions.sql✨ Builds time-based dimension members for days, months, and years to support temporal reporting across the pipeline.writesDimensionMember· readsTransformVisit - Load State Dimensionssql
populate_dimensions__load_state_dimensions.sql✨ Updates state dimensions using facility location data to allow for geographic segmentation of healthcare services and revenue.writesDimensionMember· readsFacility
▶Load-Visitssub-job · 21↗
- Load VisitDeltasql
load_visits__load_visitdelta.sql✨ Identifies new or updated visits with future appointment dates to determine which records require processing in the pipeline.writesVisitDelta· readsVisitDelta↳ feeds from Augment Visit Delta - Load TempBatchVisitsql
load_visits__load_tempbatchvisit.sql✨ Flags visits requiring eligibility verification based on insurance details, service types, and scheduled appointment timing.writesTempBatchVisit· readsDimensionMemberEligibilityTxnTransformVisitTransformVisitInsuranceTransformVisitInsuranceCoverageStatusVisit↳ feeds from Load TransformVisitInsuranceCoverageStatus, Sync Visits and Quotes - Augment Visit Deltasql
load_visits__augment_visit_delta.sql✨ Adds visit records requiring new insurance eligibility lookups to the change tracking table for processing.writesVisitDelta· readsTempBatchVisitVisitDelta↳ feeds from Load TempBatchVisit, Load VisitDelta - LoadVisitBatchLoadVisitBatchLoad scheduled visits and associated charges into the processing pipeline using custom SQL queries for pricing estimation and quote generation.writes
QuoteBatchVisitBatch· readsPatientTransformVisitTransformVisitChargeTransformVisitInsuranceVisitVisitDelta↳ feeds from Augment Visit Delta, Load VisitDelta, Sync Visits and Quotescustom visit querycustom charge queryauto service type querycustom coverage queryadd zero charge - CheckBenefitsflowVerifies insurance eligibility and retrieves detailed benefits information for visits by making real-time API calls to insurance providers.· reads
TempBatchVisitVisitBatch↳ feeds from Load TempBatchVisit, LoadVisitBatchcustom query - Verifies insurance eligibility and retrieves detailed benefits information for visits by making real-time API calls to insurance providers.· reads
EligibilityStatusMapEligibilityTxnTempBatchVisitVisitBatchcustom queryDISABLED - AutoApplyBenefitsAutoApplyBenefitsPopulates insurance benefits like copays and deductibles on batch visits using data from eligibility verification transactions.
- CalculateVisitsflowCompute the good-faith estimate (CalculateVisits).· reads
DimensionMemberVisitBatch↳ feeds from LoadVisitBatchcustom querycalculate chargesbatch mode - LogVisitChangeEventsBatchLogVisitChangeEventsBatchCompare batch visits against production records to detect and log specific property changes for auditing and compliance tracking.
- AutoSendLettersAutoSendLettersGenerates and sends patient cost estimate letters for visits in the batch table based on configured qualification and communication rules.
- Load TransformVisitInsuranceCoverageStatussql
load_visits__load_transformvisitinsurancecoveragestatus.sql✨ Updates insurance coverage statuses for visits by analyzing the most recent eligibility transaction results and error logs.writesTempEligibilityStatsTransformVisitInsuranceCoverageStatus· readsTempEligibilityStatsTransformVisitInsuranceVisitBatch↳ feeds from LoadVisitBatch ▶Load-CustomProperty-CoverageStatussub-job · 2↗
- Load Primary Coverage StatusUpdateCustomPropertyFromQuery· reads
TransformVisitInsuranceCoverageStatusVisitBatchentity=Visitcustom property key=PrimaryCoverageStatuscustom querybatch mode - Load Secondary Coverage StatusUpdateCustomPropertyFromQuery· reads
TransformVisitInsuranceCoverageStatusVisitBatchentity=Visitcustom property key=SecondaryCoverageStatuscustom querybatch mode
- Custom Property Has Medicare Part C CoverageUpdateVisitCustomPropertyFromQuerydisabled· reads
EligibilityTxnVisitbatchcustom visit update custom property queryDISABLED - Custom Property Has Medicare Part C CoverageUpdateCustomPropertyFromQuery· reads
CustomPropertyMapEligibilityTxnVisitBatch↳ feeds from LoadVisitBatch, Sync Visits and Quotesentity=Visitcustom property key=HasMedicarePartCCoverageauto querybatch mode - Sync Visits and QuotesSyncBatchSynchronizes processed data from batch staging tables to production tables, updating visits, quotes, and custom property mappings.writes
CustomPropertyMapQuoteVisitVisitChangeEvent· readsCustomPropertyMapBatchQuoteBatchVisitBatchVisitChangeEventBatch↳ feeds from LoadVisitBatchsync quotesync visitsync custom property mapsync visit change event - ExportBatchVisitEligibilityflowPush the batch to the app / export results.· reads
EligibilityTxnVisitBatch↳ feeds from LoadVisitBatchcustom querytable name=BatchEligibility_Resultsarchive table name=BatchEligibility_ResultsArchive - SearchForInsuranceflowdisabledFind coverage for visits missing insurance.· reads
EligibilityTxnBatchcustom querytable name=InsuranceSearch_Resultbatch modeDISABLED ▶Generate-Reportsub-job · 4↗Generates the Daily Export report and pushed data into the Archive report for Load-Visits and Load-Visits-Reprocess
- Load TempEligibilityReportsql
generate_report__load_tempeligibilityreport.sql✨ Builds a temporary table of eligibility results for specific visits and insurance plans to support reporting.writesTempEligibilityReport - Load TempInsSearchResultssql
generate_report__load_tempinssearchresults.sql✨ Loads active insurance search results into a temporary table to identify new coverage found during the eligibility process.writesTempInsSearchResults - Generate Reportsql
generate_report__generate_report.sql✨ Generates a comprehensive batch eligibility report by consolidating patient visit data with primary, secondary, and tertiary insurance verification results.writesBatchEligibility_ResultsReport - Archive Reportsql
generate_report__archive_report.sql✨ Updates the eligibility report archive by replacing existing visit records with the most recent verification results.writesBatchEligibility_ResultsReportArchive· readsBatchEligibility_ResultsReport↳ feeds from Generate Report
- Custom PropertiesUpdateVisitCustomPropertyFromQuerydisabled· reads
BatchEligibility_ResultsReportCustomPropertyMapauto visit update custom property queryDISABLED ▶Load-Visit-Factsub-job · 1↗
- Load VisitFactsql
load_visit_fact__load_visitfact.sql✨ Updates the visit fact table by refreshing records with recent activity, including payments, eligibility checks, and patient communications.writesVisitFact· readsEligibilityStatusMapEligibilityTxnPatientLetterPaymentTxnVisit
▶Update-Dashboard-Tablessub-job · 1↗
- UpdateDashboardTablesUpdateDashboardTablesRegenerates optimized aggregate tables for all dashboard reports and updates their definitions to reflect the latest source data.
- WorkqueueAssignmentWorkqueueAssignmentAssigns accounts or visits to workqueue stacks by evaluating matching criteria and updating item lists based on search terms.
markers
Why it classified as flow
Front-of-house actions found anywhere in the tree (including nested sub-jobs).