sub-job
PPRM · Generate-Report
Generates the Daily Export report and pushed data into the Archive report for Load-Visits and Load-Visits-Reprocess
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
Generate-Report
5 tasks · PPRM
sub-job / Flow action SQL / native step▶ expand a sub-job inline · ↗ open it as its own page · a typed step opens its doc
- Load TempEligibilityReportsql
generate_report__load_tempeligibilityreport.sql✨ Builds a temporary reporting table consolidating the latest insurance eligibility transaction details, member IDs, and coverage results for each visit.writesTempEligibilityReport· readsTempEligibilityReport - Load TempInsSearchResultssql
generate_report__load_tempinssearchresults.sql✨ Loads a temporary table with successful insurance search results to identify and rank new coverage found for patients.writesTempInsSearchResults - Generate Reportsql
generate_report__generate_report.sql✨ Generates the final eligibility report by consolidating primary, secondary, and tertiary insurance results with any newly discovered coverage information.writesBatchEligibility_ResultsReport - Create BatchEligibility_ResultsReportArchive if doesn't existsql
generate_report__create_batcheligibility_resultsreportarchive_if_doesn_t_exist.sql✨ Builds the archive table for storing historical insurance eligibility and benefit results if it does not already exist. - Archive Reportsql
generate_report__archive_report.sql✨ Updates the eligibility results archive by replacing existing records with the latest report data for specific visits and dates.writesBatchEligibility_ResultsReportArchive· readsBatchEligibility_ResultsReport↳ feeds from Generate Report