When
this matter was up in the past, I
was hesitant, particularly since I live where there are loads of places to fill prescriptions. So, "as applied," the ruling might be right, especially pursuant to local law. As I say in the comments, maybe not in other cases.