Visit your doctor and have her write a note before you go. The letter should state the condition, along with why special accommodations are required. This last part is very important, as Disneyland issues guest assistance cards based on the needs of the guest rather than the diagnosis.
Go directly to Guest Relations on the first day of your visit and talk to a Guest Services Cast Member. You can find these near the entrance of every Disney Resort park.
Ask for a guest assistance card and show your doctor's note. Be specific about the condition of you or your child, and outline what your needs are. For instance, if you are dealing with a illness that will not allow you to stand in the sun, say that.
Be diplomatic but persistent. If the Cast Member decides that your issue is endurance related, she may request that you rent a wheelchair. If you feel otherwise, ask to speak to her manager.
Show your guest assistance pass to any Cast Member at attractions where you need assistance. They will be able to read the instructions stamped on the card and give you the accommodations you need.