Some doctors will want medical records, so if you have none, go to a clinic that is cheap, tell them about your migraines, and IBS, they will more than likely write you a prescription for Imitrox or some other migraine pill, take that with you to the canna dr.
Boom, you're legal.