Renamed linkclicked() to createPatient()