Respiratory depression diagnosis