AWS Certified AI PractitionerAWS Services for AI/ML and Generative AIMedium

A healthcare startup is building a chatbot to answer patient queries about common medical conditions. The chatbot needs to understand natural language questions, extract medical entities (e.g., symptoms, diagnoses, medications), and provide relevant information. All patient data must remain highly secure and compliant with HIPAA regulations. Which AWS service should the startup use for extracting the medical entities?

  1. AAmazon Lex
  2. BAmazon Comprehend Medical
  3. CAmazon Comprehend
  4. DAmazon Transcribe
Show answer & explanation

Correct answer: B. Amazon Comprehend Medical

Amazon Comprehend Medical is specifically designed for natural language processing of medical text, allowing it to accurately extract medical entities like diagnoses, medications, and protected health information (PHI) while adhering to HIPAA compliance. Amazon Lex can build the chatbot, but Comprehend Medical handles the specialized text analysis.

Why the other options are wrong

  • A. Amazon Lex is used for building conversational interfaces (chatbots), but it relies on other services for advanced text analysis like specific medical entity extraction.
  • C. Amazon Comprehend is a general-purpose NLP service and is not specifically trained or optimized for medical text, nor does it inherently guarantee HIPAA compliance for PHI extraction.
  • D. Amazon Transcribe converts speech to text, which is a different functionality than extracting medical entities from text.

Amazon Comprehend Medical

A natural language processing (NLP) service that uses machine learning to extract health data from unstructured medical text.

  • Identifies medical conditions, medications, treatments, and Protected Health Information (PHI).
  • HIPAA-eligible service.
  • Optimized for clinical notes, discharge summaries, and patient records.

Memory trick: Comprehend Medical understands health words.

More AWS Services for AI/ML and Generative AI questions