How to use AI to improve outcomes and efficiency in primary healthcare