Therapeutic drug monitoring of diazepam involves measuring its concentration in the blood to ensure it remains within the therapeutic range. This is particularly important in patients with hepatic impairment, as it can affect the drug's metabolism and clearance.