A temporary fix was applied to searching by a patient's phone number. Now, when you search for a phone number it will try to match a patient's ID before it matches a phone number.
1) Have patient1 with ID 1005559876
2) Have another patient2 with a phone number that is the same as the patient's id in (1) - 1005559876
3) Search for patient2 by phone number. Patient1 will come up as a result