[OE-3179] import and update referrals when refreshing patients.