It is used in adults for conscious sedation before and during diagnostic or surgical procedures; for premedication before anesthesia, induction of anesthesia, and sedation in combined anesthesia; and for sedation in intensive care units. In children, it is used for conscious sedation during diagnostic or surgical procedures, premedication before anesthesia, and sedation in intensive care units.