Medtech firm uses AI to protect patient data