7066dd9412 | ||
---|---|---|
.github/workflows | ||
.vscode | ||
arm-templates | ||
bot-templates | ||
clu | ||
functional-tests | ||
scripts | ||
.gitattributes | ||
.gitignore | ||
CODE_OF_CONDUCT.md | ||
Geopol.xml | ||
LICENSE | ||
LICENSE-CODE | ||
README.md | ||
SECURITY.md | ||
ThirdPartyNotices.md |
README.md
Health Insights Clinical Trials Matching Service Healthbot Sample
Description
This repository contains the ARM template and scripts to deploy a Clinical Trials Matching Bot.
The Trial Matcher is an AI model offered within the context of the broader Project Health Insights. Trial Matcher is designed to match patients to potentially suitable clinical trials or find a group of potentially eligible patients to a list of clinical trials. Read more about Azure Trial Matcher In this blueprint, you will generate Azure Health Bot with built-in Clinical Trial Matching integration, enable to match a patient to set of clinical trials this patient is eligible for.
The resources that will be deployed with this template, to be used by the bot:
Additionally, during the deployment, the following resource will be created and will be auto-removed after the deployment finishes successfully:
- DeploymentScripts Resource (https://learn.microsoft.com/en-us/azure/azure-resource-manager/templates/deployment-script-template) - Used during the deployment
- Azure Container Instance
- Azure Storage
There are two modes to use this blueprint: One-Click Deployment or Manual Deployment. In both modes you will create the same Azure resources. One-Click-Deployment is the simplest way to start with. When using the Manual Deployment, you receive the experience of step-by-step process.
One-Click Deployment
Requirements
- Azure subscription with 'write' permission To deploy a new bot directly in Azure, you can use this button:
Manual Deployment
To deploy the ARM template manually, you can use the following instructions. The created resources will be the same as the resources created in the "One-Click Deployment" method.
Requirements
Connect to Azure Subscription
Login-AzAccount
$account
= Set-AzContext -Subscription <Your Subscription Name>
Create Resource Group
Create Resource Group that will contain all the resources required for the blueprint resources
$ctmRg = New-AzResourceGroup -Name <resources group name> -Location <region>
Run Deployment
New-AzResourceGroupDeployment -ResourceGroupName $ctmRg -TemplateFile .\arm-templates\main.bicep
How to use the Azure Health Bot with built-in Clinical Trial Matching
After successful deployment, to see the bot in action, open the generated bot resource, enter the management portal, and start a chat conversation with a prompt,
for example:
clinical trials in israel for 24-year-old women with lung cancer
or
find clinical trials for Alzheimer's disease
The bot will use Azure Language Understanding (CLU) to recognize the intent "find clinical trials", and analyze from this statement the relevant clinical trial characteristics to look for. The data provided by the user in this case includes patient age, patient sex, patient condition and preferred trial location.
To improve the patient qualification, additional information can be captured from the patient, by generating a question and waiting for user input. After receiving the needed data, the bot will send a matching request to the Trial Matching, receive a trials list, and use the response to start asking additional questions about the patient's condition to enable Trial Matching perform a more accurate qualification of the eligible clinical trials. After a number of questions, the user will be provided with a list of clinical trials that are relevant to the provided clinical data and preference data.
After receiving the needed data, the bot will send a matching request to Azure Trial Matching, receive a trials list, and use the response to start asking relevant questions about the patient's condition to help Azure Trial Matching qualify the most relevant trials.
For additional health bot usage details, see Azure Health Bot Documentation