Amazon HealthLake: An AWS service that moved Healthcare - Ideas2IT

Amazon HealthLake: An AWS service that moved Healthcare

Share This

Overview

Healthcare systems in the world are fairly complex and different from each other in several ways. Healthcare systems in today’s world are becoming more and more data-driven. The challenge in healthcare analytics is that most information in healthcare is unstructured, dirty, and difficult to use for analysis. Most valuable information in healthcare is lost due to this nature of the data that is present throughout the healthcare system in the form of lab test reports, claims made, medical images, clinical notes, and other vital time-series statistics like heart rate, ECG races, etc. Almost all research in healthcare analytics is now focused on gathering as much information from these unstructured data, which includes discharge summaries, clinical notes, medical images.

Every health care provider, payer, and life sciences company needs to solve the problem of structuring the data to make better patient support decisions through AI. This is also important also in B2B healthcare services like claims and insurances and other services. These claims and insurance covers become very important even during the analysis of patient data to improve patient care and growth in revenue from the care-giver side as well as the claims company’s side.

Is Amazon the new go-to for solving this problem? In December 2020, Amazon launched Amazon HealthLake as an AWS service, which will automatically understand and extract medical information including rules, procedures, and real-time diagnoses. Amazon HealthLake is a HIPAA-eligible service that enables healthcare providers, payers, and pharmaceutical companies to store, transform, query, and analyze health data at a petabyte-scale. It performs much of the work of organizing, indexing, and structuring patient information, to provide a complete view of each patient’s medical history in a more secure, compliant, and auditable manner. Healthlake normalizes the data for ease in the use of further analysis. Upon ingestion, Amazon HealthLake uses machine learning models that are trained to understand medical terminology to identify and tag each piece of clinical information, index events into a timeline view, and enrich the data with standardized labels (e.g., medications, conditions, diagnoses, procedures, etc.), which facilitates quick and easy information search retrieval.

For example, if a healthcare provider wants to know “What is the immunization status for their patients?”. This could be easily queried from the timelined data by searching for “Immunization” with search parameters as “patients” for a detailed view of immunization status for different diseases for different patients.

Amazon HealthLake: An AWS service that moved Healthcare
Image Courtesy: AWS

Healthlake recognizes interoperability standards, by including Fast Healthcare Interoperability Resources(FHIR R4), which is a standardized data sharing format in the healthcare systems. This enables providers to collaborate more effectively and allows unfettered access to their medical information. Support for other formats, like X12, CCD, etc. may be on the way. Health analytics will be much easier with all the heavy lifting being taken care of by this end-to-end service. In the next section, we will discuss some of the major capabilities of HealthLake.

Key Capabilities

Let’s look at some of the major capabilities of HealthLake in better detail to understand this service better.

A complete guide to creating the Data Store and importing data onto it can be found in their detailed documentation here.

At this point, when we have discussed the major services available in HealthLake, Let’s see some of the integral parts of those services, to see how the whole service comes together. In this light, it’s important to understand how the healthcare resources(here FHIR) are managed, or how NLP integration in the service makes it stand out. In the next two sections, we shall discuss this, and succeeding that would be a snippet of demonstration of the queries that you can do for information retrieval.

Managing FHIR Resources

In an active Data Store at HealthLake, users can create, delete, update resources by using the FHIR Rest APIs. The following table lists the operation that can be performed for FHIR resource management.

Amazon HealthLake: An AWS service that moved Healthcare
Image Courtesy: AWS

There are as many as 71 resource types that are supported by Healthlake, a comprehensive list of which can be found here.

Some common search parameters for querying FHIR data can be listed as below:

Amazon HealthLake: An AWS service that moved Healthcare
Image Courtesy: AWS

Integrated NLP

Amazon HealthLake automatically integrates with natural language processing (NLP) for the DocumentReference resource type. The integrated medical NLP output is provided as an extension to the existing DocumentReference resource. The integration involves reading the text data within the resource, and then calling the following integrated medical NLP operations: DetectEntities-V2, InferICD10-CM, and InferRxNorm. The response of each of the integrated medical NLP APIs is appended to the DocumentReference resource as an extension that is searchable. This enables users to identify patients through elements of their records that were previously buried within the unstructured text. When you create a resource in HealthLake, the resource is updated with the response from the integrated medical NLP operations. These extensions follow the FHIR format for extensions with an identifying URL and the respective value for the URL.

Amazon HealthLake: An AWS service that moved Healthcare
Image Courtesy: AWS

Brief Query Demo

Users can query information regarding the patients, medications, disease codes from the data very easily in HealthLake. As discussed before, the NLP integration makes it possible to do very specific queries. Let’s look at the following two queries.

1. Immunization Status: Say, we would like to know what the immunization status of the patients is. We need to make a query similar to the following.

Amazon HealthLake: An AWS service that moved Healthcare
Image Courtesy: AWS

The value is optional. You can put the patient ID for referring to a specific patient. This will return a list of all patients with immunization history and their status. One small snippet is attached for better understanding.

Amazon HealthLake: An AWS service that moved Healthcare
Image Courtesy: AWS

The above result shows that the influenza immunization has been “completed” for the patient. The patients reference ID which is seen above can be used for specific queries regarding

2. Rx norm search

Let’s say, from the clinical notes and documents, you would like to know which patients intake a certain medicine, say “Clonidine” (a drug used in the treatment of hypertension). Let’s make the following query.

Amazon HealthLake: An AWS service that moved Healthcare

Image Courtesy: AWS

A snippet from the results are shown as follows.

Amazon HealthLake: An AWS service that moved Healthcare
Image Courtesy: AWS

The specific medicine is identified, along with the matching score, category, and type. This type of information becomes necessary features for further study, say related to Hypertension and the likes of it.

At the final step, when the imported data is normalized and all transformations are ready, the end job is to export this standardized data for further analysis. The next section discusses that in brief.

Data Export

The normalized data is exported to S3 for further analysis. You can simply do this with a few clicks in the AWS console. Below is a snippet of the export job, if you wish to go into further details please visit the export job documentation here.

Amazon HealthLake: An AWS service that moved Healthcare
Image Courtesy: AWS

You need to provide the S3 location and select a suitable IAM role and you’re good to go!

The utility of AWS HealthLake ends at the export of the FHIR data. Analysis of the data and building machine learning models need to be done separately through Quicksight and Sagemaker.

Pricing

HealthLake is in Preview as of the date of writing this blog and is free to use during this period. The following pricing will be effective at General Availability.

Amazon HealthLake: An AWS service that moved Healthcare
Image Courtesy: AWS

A Few Shortcomings

Healthlake is a fairly end-to-end AWS service. However, there are very few shortcomings that I think the user might face while using HealthLake. The following holds true at the time of writing this blog, or until subsequent releases address them.

If you are looking for a job that gives you exposure to innovation-led healthcare projects and emerging cutting-edge technologies, check out open roles at www.ideas2it.com/careers.