A total of @ children ( mean age , @ years ; range , @ weeks to @ years ) mechanically ventilated for acute respiratory failure were enrolled in @-@ and followed up until @ hours after opioids were discontinued , @ days , or hospital discharge .