as long as you have an ID for that state, with an in-state address, u should be able to get it. if you dont already have medication to bring, go to a regular doctor and say your having headaches or back pain. they will probably give you ibuprofen or something. take that to your "weed doctor" and show them that your regular doctor is giving you ibuprofen for back pain, and it isnt working. say youve been using marijuana recently and it works a lot better.
also try to find a legit doctor without spending too much money. the first guy i went to ended up getting arrested for fraud a few months later haha