If you want to encourage your patients to exercise more, try writing a prescription.