Understanding clinical data with Amazon Comprehend Medical
In this section, we will talk about how you can use Amazon Comprehend Medical to gain insights from a valid medical intake form. We covered Amazon Comprehend's features in Chapter 3, Introducing Amazon Comprehend. In this chapter, we will learn how to use the Amazon Comprehend Medical Entity API to extract entities such as patient diagnosis and PHI data types such as claim ID from the medical intake form. Let's get started:
- Go back to your notebook and run the following cell to use the Comprehend Medical
boto3
API:comprehend = boto3.client(service_name='comprehendmedical')
- Now, we will use the
comprehend.detect_entities_v2
API (https://docs.aws.amazon.com/comprehend/latest/dg/API_medical_DetectEntitiesV2.html) to analyze the clinical text data from medical intake forms and return entities specific to the medical text, such as type or diagnosis. Run the following cell to see what entities we...