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-HL7-Transform
9 tasks · StrideCare
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_hl7_transform__truncatevisitdelta.sql✨ Clears the visit delta table to prepare for a fresh set of changed records in the current pipeline run.writesVisitDelta - ImportHL7ADTCombinedsql
flow_hl7_transform__importhl7adtcombined.sql✨ Consolidates patient demographics and insurance information from HL7 ADT messages into a unified staging table for further processing.writesImportHL7ADTCombined - TransformPatientsql
flow_hl7_transform__transformpatient.sql✨ Synchronizes the patient transformation table by merging the latest demographic updates from both ADT and visit-based HL7 messages.writesTransformPatient· readsHL7ArchiveHL7DeltaHL7VisitImportHL7ADTCombined↳ feeds from ImportHL7ADTCombined - ImportTransformPatientInsurancesql
flow_hl7_transform__importtransformpatientinsurance.sql✨ Extracts and maps the most recent primary, secondary, and tertiary insurance details from consolidated HL7 messages for each patient.writesImportTransformPatientInsurance· readsImportHL7ADTCombinedInsuranceMap↳ feeds from ImportHL7ADTCombined - TransformPatientInsurance+VisitDeltasql
flow_hl7_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_hl7_transform__importtransformvisit.sql✨ Builds the visit transformation table by mapping appointment details, facilities, and resolving provider identifiers from HL7 scheduling messages.writesImportTransformVisit· readsHL7DeltaHL7VisitSourceProvider_33143 - MergeTransformVisit+VisitDeltasql
flow_hl7_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, TruncateVisitDelta - ImportTransformVisitInsurancesql
flow_hl7_transform__importtransformvisitinsurance.sql✨ Builds the visit insurance import table by mapping patient insurance records to specific visits based on coordination of benefits.writesImportTransformVisitInsurance· readsTransformPatientInsuranceTransformVisitVisitDelta↳ feeds from MergeTransformVisit+VisitDelta, TransformPatientInsurance+VisitDelta, TruncateVisitDelta - MergeTransformVisitInsurancesql
flow_hl7_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