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-34792-Transform
9 tasks · OrthoAlliance
sub-job / Flow action SQL / native step▶ expand a sub-job inline · ↗ open it as its own page · a typed step opens its doc
- TruncateOrthosVisitDeltasql
flow_34792_transform__truncateorthosvisitdelta.sql✨ Clears the visit delta table to prepare for a fresh set of changed records in the current pipeline run.writesVisitDelta - ImportHL7ADTCombinedsql
flow_34792_transform__importhl7adtcombined.sql✨ Consolidates patient demographics and insurance details from HL7 messages into a unified table for further data transformation.writesImportHL7ADTCombined - TransformPatientsql
flow_34792_transform__transformpatient.sql✨ Updates or inserts patient demographic records into the transformed patient table using the most recent HL7 message data.writesTransformPatient· readsHL7ArchiveHL7DeltaHL7VisitImportHL7ADTCombined↳ feeds from ImportHL7ADTCombined - ImportTransformPatientInsurancesql
flow_34792_transform__importtransformpatientinsurance.sql✨ Loads patient insurance coverage details into a staging table, mapping source insurance identifiers to standardized insurance records.writesImportTransformPatientInsurance· readsImportHL7ADTCombinedInsuranceMap↳ feeds from ImportHL7ADTCombined - TransformPatientInsurance+VisitDeltasql
flow_34792_transform__transformpatientinsurance_visitdelta.sql✨ Synchronizes patient insurance records and flags upcoming visits for reprocessing when insurance information changes.writesTransformPatientInsuranceVisitDelta· readsInsuranceChangesTransformVisitimporttransformpatientinsurance↳ feeds from ImportTransformPatientInsurance, MergeTransformVisit+VisitDelta - ImportTransformVisitsql
flow_34792_transform__importtransformvisit.sql✨ Extracts and stages appointment data from HL7 messages, resolving provider identifiers and facility locations for visit transformation.writesImportTransformVisit· readsHL7DeltaHL7VisitSourceProvider_34792 - MergeTransformVisit+VisitDeltasql
flow_34792_transform__mergetransformvisit_visitdelta.sql✨ Updates the transformed visit table with staged appointment data and records new or modified visits in the delta tracking table.writesTransformVisitVisitDelta· readsImportTransformVisitVisitDelta↳ feeds from ImportTransformVisit, TransformPatientInsurance+VisitDelta, TruncateOrthosVisitDelta - ImportTransformVisitInsurancesql
flow_34792_transform__importtransformvisitinsurance.sql✨ Stages insurance information for specific visits by linking patient insurance records to visits flagged for update or creation.writesImportTransformVisitInsurance· readsTransformPatientInsuranceTransformVisitVisitDelta↳ feeds from MergeTransformVisit+VisitDelta, TransformPatientInsurance+VisitDelta, TruncateOrthosVisitDelta - MergeTransformVisitInsurancesql
flow_34792_transform__mergetransformvisitinsurance.sql✨ Refreshes the visit insurance table by replacing existing records with updated insurance details from the staging table.writesTransformVisitInsurance· readsImportTransformVisitInsurance↳ feeds from ImportTransformVisitInsurance