Idiosyncratic drug reactions (IDRs) pose severe threats to patient health. Unlike conventionally dose-dependent side effects, they are unpredictable and more frequently manifest as life-threatening conditions, such as severe cutaneous adverse reactions (SCARs) and drug-induced liver injury (DILI). Some HLA alleles, such as