Other lab tests may also be done to find the cause of encephalitis. Samples of urine, blood, or mucus may be tested.