So, this isn't access to patient records as such - it's merely access from a name to a Medicare number.
Additionally, how exactly are you going to get the patient to give permission beforehand? Patients will expect to walk into a medical clinic, hand over their card, and have it all just work.