The present invention relates to a pharmaceutical preparation of a compound of formula (I) or stereoisomer, pharmaceutically acceptable salt, prodrug thereof, and a novel method for general anesthesia or sedative for mammals. Also provided are kits and manufactured products of the medicament and the pharmaceutical composition and a method for using the medicament and the pharmaceutical composition. R1, R2 and n are defined as stated in description.