In this double blind , randomized , active comparator trial , adults who required opioids for analgesia following orthopedic procedures and who were admitted in inpatient rehabilitation were randomized following baseline assessments to lubiprostone ( Amitza ( ) ) , orally twice a day or Senna ( generic ) two capsules administered daily for six days .