Secure access to medical information by smart cards