Estimating State Transitions for Opioid Use Disorders.