CREATE TRIGGER tg_log_consent_patient
    BEFORE UPDATE
    ON patient_consent
    FOR EACH ROW
EXECUTE PROCEDURE func_create_log_patient_consent();
