Im not sure on AZ laws, but here technically you cannot have a license if you have a med card.
But it is that way because of how the laws were written ages ago, so they look the other way (unless you are clearly impaired, and getting pulled over in the first place).
Previous poster is correct...