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
FHIR-Transform
5 tasks · NWDerm
sub-job / Flow action SQL / native step▶ expand a sub-job inline · ↗ open it as its own page · a typed step opens its doc
- ImportTransformVisitsql
fhir_transform__importtransformvisit.sql✨ Loads incremental appointment changes from FHIR sources into staging, including reason codes and updated service type definitions.writesImportTransformVisit· readsFHIRIncomingSourceAppointmentFHIRProcessBatchVisitDelta - MergeTransformVisitsql
fhir_transform__mergetransformvisit.sql✨ Updates the visit transformation table by replacing existing records with the latest imported appointment, facility, and provider details.writesTransformVisit· readsImportTransformVisit↳ feeds from ImportTransformVisit - ImportTransformVisitInsurancesql
fhir_transform__importtransformvisitinsurance.sql✨ Loads primary, secondary, and tertiary insurance details into the staging table while mapping source payers to standardized insurance records.writesImportTransformVisitInsurance· readsFHIRIncomingSourceAppointmentFHIRProcessBatchInsuranceMapVisitDelta - MergeTransformVisitInsurancesql
fhir_transform__mergetransformvisitinsurance.sql✨ Updates the main insurance transformation table by replacing existing records with newly imported and mapped insurance information.writesTransformVisitInsurance· readsImportTransformVisitInsurance↳ feeds from ImportTransformVisitInsurance - AugmentTransformVisitsql
fhir_transform__augmenttransformvisit.sqldisabled✨ Refines visit service types by mapping insurance-specific codes to standardized eligibility categories for more accurate coverage verification.writesTransformVisit· readsEligibilityMapping2024ImportTransformVisitTransformVisitInsurance