What does this AWS Solution do?
The AI-Powered Health Data Masking solution helps healthcare organizations identify and mask health data in images or text. This solution uses Amazon Comprehend Medical to detect health data in a body of text, Amazon Rekognition to identify text in an image, Amazon API Gateway and AWS Lambda to provide an API interface for this functionality, and AWS Identity and Access Management (IAM) to authorize API requests.
This solution was designed for implementation as part of a set of mitigating controls in your environment, and does not guarantee alignment to any regulatory framework. It is your responsibility to ensure that the outputs generated by this solution comply with any legal requirements applicable to your organization. For more information, see the solution's implementation guide.
AWS Solution overview
AWS offers a solution that uses AWS artificial intelligence (AI) services behind a serverless API to identify and mask health data. The diagram below presents the architecture you can automatically deploy using the solution's implementation guide and accompanying AWS CloudFormation template.

AI-Powered Health Data Masking architecture
The AWS CloudFormation template deploys an Amazon API Gateway to invoke the microservices (AWS Lambda functions). The microservices provide the business logic to manage preprocessing configuration and logic, and identifying and masking health data. The microservices interact with Amazon Rekognition to identify text in an uploaded medical image, and the Amazon Comprehend Medical protected health information data extraction and identification (PHId) API to identify health data in text.
Additionally, the template deploys an Amazon Simple Storage Service (Amazon S3) bucket for storing raw and masked images, AWS CloudTrail to log API actions, and AWS CloudWatch Logs to log errors within the AWS Lambda functions. By default, log files are encrypted over HTTPS.
AI-Powered Health Data Masking
Version 1.0
Last updated: 08/2019
Author: AWS
Estimated deployment time: 2 min
Features
Health data masking
API interface
Logging

Browse our portfolio of AWS-built solutions to common architectural problems.

Find AWS certified consulting and technology partners to help you get started.