Communities affected by blood-borne viruses and STIs are more likely to opt out of digital health services, says a new national study.