Antecedent factors independently associated with delirium onset were restraint use ( hazard ratio , @ ; @ % CI , @-@ @ ; p = @ ) , antipsychotic administration ( hazard ratio , @ ; @ % CI , @-@ @ ; p = @ ) , and midazolam dose ( hazard ratio , @ ; @ % CI , @-@ @ ; p = @ ) .