check_ae_aeacnoth_ds_disctx function

Check if, whenever a patient experiences an AE leading to study discontinuation, they also have a DS record indicating this.