audit_run_id
audit_run_id: number | string
audit_template_id
audit_template_id: number | string
Optionalentity_id
entity_id?: number | string | null
environment
environment: string
patient_id
patient_id: number | string
run_mode
Optionalsettings
settings?: Record<string, unknown>
Optionaltreatment_episode_id
treatment_episode_id?: string | null
Optionaltrigger_id
trigger_id?: string | null
Optionaltriggered_by_auth_uuid
triggered_by_auth_uuid?: string | null
Supabase auth uuid of the user who triggered the run; null for automated.