Black patients received less pain relief and equitable treatment