Exercise - Use Language Studio for Text Analytics for health

Completed

In this exercise, you'll create an Azure subscription, Azure resource group, and a language resource. Then, you'll use the sample text to practice using Language Studio.

Task: Create an Azure subscription and a resource group

Your first task is to create an Azure subscription and a resource group:

  1. If you already have an Azure subscription, you can skip to step 5; otherwise, go to Discover AI services with an Azure free account and select Sign in.

  2. Select Start free.

  3. Fill out the form and then select Next.

  4. Provide payment information and then select Sign up.

  5. After creating the Azure subscription, select Resource groups.

    Screenshot of the Resource groups button in Azure services.

  6. Select + Create.

    Screenshot of the create new resource button.

  7. Select the subscription that you created and then enter DemoLanguageGroup in the Resource group field. Select your Region and then select Review + create.

    Screenshot of the Create a resource group dialog.

  8. Select Create.

Task: Create a language resource

Next, you'll create a language resource by following these steps:

  1. Go to Language Studio and select Sign in.

  2. Select your directory from the Azure directory dropdown menu, and then select your subscription from the Azure subscription dropdown menu. Select Create a new language resource.

    Screenshot of the Choose a language resource dialog.

  3. Select the Azure subscription and the Azure resource group that you created. Enter DemoLanguageResourceFL (replace FL with your initials) in the Azure resource name field, select your Location, and then select S from the Pricing Tier dropdown menu. Select Done.

    Screenshot of the Create a new language resource dialog.

  4. Wait for the language resource to be created and then select Done.

    Screenshot of the Choose a language resource dialog, showing the Done option.

  5. Make sure that you have the language resource that you created.

    Screenshot of the selected resource language.

Task: Use Language Studio

In this task, you'll use the provided sample text to practice using the Language Studio, and then you'll provide your own text.

  1. Go to https://language.cognitive.azure.com/ and select the language resource that you created.

  2. Select the Extract information tab.

    Screenshot of the Extract information tab.

  3. Select Extract health information.

    Screenshot of the Extract health information option.

  4. Select Short Prescription.

    Screenshot of the Short Prescription option.

  5. Select the acknowledgment checkbox and then select Run.

    Screenshot of the Run button.

  6. Review the result. Notice how it identifies the relation between the dosage and the medication as a DosageOfMedication relation.

    Screenshot of the contents of the Result tab.

  7. Select the JSON tab and review. This raw data is available from the API response.

  8. Select Patient Report and then select Run.

    Screenshot of the Patient Report sample text.

  9. Select the Result tab and review the different identified entities.

    Screenshot of the contenta of the Result tab, showing different entities.

  10. Select Clear text box.

    Screenshot of the Clear text box button.

  11. Provide your own text. In the Enter your own text box, type 62 year-old gentleman with a history of progressive angina over the past several months. The Patient experienced SOB last night at 8:30pm and called PCPB and then select Run again.

    Screenshot of the user provided text.

  12. Select the Result tab to review the result.

The symptom is identified as angina and entity linking is to Unified Medical Language System (UMLS) Metathesaurus.

Screenshot showing the content of the Result tab.

Now, you can try composing your own test of unstructured medical text data.