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
Populate-Core-Tables
6 tasks · SeaRad
sub-job / Flow action SQL / native step▶ expand a sub-job inline · ↗ open it as its own page · a typed step opens its doc
- Populate Patient - Oldsql
populate_core_tables__populate_patient_old.sqldisabled✨ Builds the core patient registry by extracting the most recent demographic information from scheduled appointment records.· readsSourceAppointment - Load PatientsLoadPatientsUpsert patient records into the patient dimension.· reads
PatientSourceAppointmentcustom patient query - Populate ChargeTypesql
populate_core_tables__populate_chargetype.sql✨ Builds and updates the ChargeType table by merging procedure codes and descriptions from the charge master and appointment records.writesImportChargeType· readsChargeTypeCommonDataSourceAppointmentSourceChargeMaster - Insert Additional Charges from Appointmentssql
populate_core_tables__insert_additional_charges_from_appointments.sqldisabled✨ Loads new procedure codes from appointment data into the ChargeType table when they are missing from the existing master list.writesChargeType· readsChargeTypeProcedureCodeSourceAppointment - Load FacilityLoadEntitieswrites
Facility· readsDimensionMemberentity type=Facilitycustom query - Load BillTypeLoadEntitieswrites
BillType· readsDimensionMemberentity type=BillTypecustom query