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
 Click to enlarge

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

Source Code  CloudFormation template 

Features

Health data masking

AI-powered entity detection to quickly detect, identify, and mask health data in medical images and text.

API interface

The solution creates API calls to return the location of text and health data in an image or text, and generates a new masked image or replaces the identified health data in text.

Logging

The solution uses Amazon CloudWatch to capture Amazon API Gateway actions in your environment and AWS CloudTrail to log information from the AWS Lambda functions and Amazon API Gateway.
Product-Page_Standard-Icons_01_Product-Features_SqInk
Explore all AWS Solutions

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

Learn more 
Next-Steps-Icon_Find-a-Partner-B
Find a Partner

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

Learn more 
Product-Page_Standard-Icons_03_Start-Building_SqInk
Start building in the console

Sign-up and start exploring our services.

Get started