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
Flow-MM-Transform
8 tasks · OneGI
sub-job / Flow action SQL / native step▶ expand a sub-job inline · ↗ open it as its own page · a typed step opens its doc
- TruncateVisitDeltasql
flow_mm_transform__truncatevisitdelta.sql✨ Clears the visit delta table to prepare for a fresh set of changed records in the current pipeline run.writesVisitDelta - TransformPatientTransformPatientwrites
TransformPatient· readsSourceOrganizationMMSourcePatientMMmerge data source type=ThisDatabasetable name=TransformPatientmerge mode=InsertUpdateSoftDeletebulk copy timeout seconds=300bulk copy use table lock - TransformPatientInsurance PatientDeltasql
flow_mm_transform__transformpatientinsurance_patientdelta.sql✨ Identifies new or updated patient insurance records and configuration changes to flag patients requiring data transformation and reprocessing.writesFlowPatientDelta· readsFlowLogLastProcessingTimeFlowPatientDeltaInsuranceMapSourceOrganizationMMSourcePatientInsuranceMMSourcePatientMMTransformPatientInsurance↳ feeds from Merge TransformPatientInsurance - Merge TransformPatientInsuranceMergeSqlwrites
TransformPatientInsurance· readsFlowPatientDeltaInsuranceMapSourcePatientInsuranceMM↳ feeds from TransformPatientInsurance PatientDeltamerge data source type=ThisDatabasetable name=TransformPatientInsurancemerge mode=InsertUpdateHardDeletebulk copy timeout seconds=300bulk copy use table lock - TransformPatientInsurance VisitDeltasql
flow_mm_transform__transformpatientinsurance_visitdelta.sql✨ Flags future appointments for reprocessing when associated patient insurance information has been updated or modified in the system.writesVisitDelta· readsFlowPatientDeltaTransformVisit↳ feeds from MergeTransformVisit, TransformPatientInsurance PatientDelta - VisitDeltasql
flow_mm_transform__visitdelta.sql✨ Identifies new or updated colonoscopy appointments from source data to queue them for transformation and processing in the pipeline. - MergeTransformVisitsql
flow_mm_transform__mergetransformvisit.sql✨ Updates transformed visit records with current appointment, provider, and diagnosis details for visits flagged for reprocessing.writesTransformVisit· readsFacilitySourceAppointmentChainMMSourceColonoscopyTypePerAppointmentMMVisitDelta↳ feeds from TransformPatientInsurance VisitDelta, TruncateVisitDelta - MergeTransformVisitInsurancesql
flow_mm_transform__mergetransformvisitinsurance.sql✨ Maps and loads patient insurance information into the transformed visit insurance table for visits identified in the delta set.writesTransformVisitInsurance· readsTransformPatientInsuranceTransformVisitVisitDelta↳ feeds from Merge TransformPatientInsurance, MergeTransformVisit, TransformPatientInsurance VisitDelta, TruncateVisitDelta