In your main method you didn't instantiate the patient class so why you build a class that you are not using?

If you want to search a patient using patient’s NRIC/birth cert then its better if...