Enhancing Data Privacy in Healthcare with Automated Data Access