It takes an average of eight years to assess whether a patient has a rare disease, but that time might be greatly reduced in the future with the aid of artificial intelligence.