Skip to content

andavi/alexa-health-blood-draw

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 

Repository files navigation

Blood Draw

Our group website with more information including documentation, architecture diagrams, and presentation slides given during the Software Engineering Lab course.

This repository is for an Amazon Alexa skill prototype to be used by clinicians as a reference to help them determine the type and amount of blood draw tubes needed for a particular test or sequence of tests.

Installation

In order to use this skill with your Alexa-enabled device you will need to do two things:

  1. Put the contents of the speechAssets/ folder into their appropriate places at developer.amazon.com
  2. Compress the contents of the src folder (everything except for the scrape/ and test/ directories) and upload it into a Lambda function at aws.amazon.com which will be linked to the skill set up at Amazon Developer

These steps are outlined in full detail here.

Use

When you open the Blood Draw skill you will be given an option of whether you want to know about a single test or multiple tests. You reply by saying either "1" for a single test or "2" for multiple tests.

Single Test Mode

The skill will ask for you for the name of the test, and after you tell it the test name, it'll reply with the relevant data and then ask if there's anything else you'd like to know about. If you would like to go back to the opening question ("single test or multiple tests"), then say yes. If you'd like to quit out of the skill, then say no.

Multiple Test Mode

The skill will first ask you how many tests you'd like to know about, and after you reply with a number from 1 to 8, it'll repeatedly ask you for the name of the i-th test (i.e. 1st test, 2nd test, etc.) until you've told it all of them. Then, just like in the single test mode, it'll reply with all of the relevant data, with the option at the end to either go back to the opening question or quit out of the skill.

Test

Navigate to the src directory and type "node_modules/.bin/mocha" into the terminal.

Possible Future Enhancements

More Extensive Testing

Ideally, there would be more test support for the multiple test mode, to make sure than any possible combination of different tests would come out to the right answer. We've tested it enough manually to be reasonably sure that it's going to come up with the right answer the vast majority of the time, but that's probably not good enough for use in a medical setting. The problem with this, however, is that it seems rather complex and infeasible from a computational perspective (with around 100 tests available, there are roughly 1x10^14 possible seven-test combinations alone).

Aliasing

To make it easier for clinicians, a nice feature to add would be the ability to set an alias for a particular test or group of tests, so as to avoid having to go through the same process over and over again. The clinician would just say the alias, and the skill would reply with the data corresponding to all of the different tests encapsulated within that alias.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published