Filter submissions
211 submissions
# Starred Locked Notes Created User IP address Script Title Script Description Script Sort descending Name Email Address Organization Name Organization URL Operations
274 Star/flag Script Upload: Submission #274 Lock Script Upload: Submission #274 Add notes to Script Upload: Submission #274 Mon, 05/13/2024 - 19:08 Anonymous 5.188.210.91 wzxkkfrw <a href="https://valtrexv.online/">buy valtrex australia</a> <a href="https://valtrexv.online/">buy valtrex australia</a> pills pills btconboy@mail.com pills https://modafinile.com/
117 Star/flag Script Upload: Submission #117 Lock Script Upload: Submission #117 Add notes to Script Upload: Submission #117 Sun, 02/11/2024 - 15:22 Anonymous 5.188.210.91 cunohpqq <a href="https://wegovy.directory/">buy semaglutide in mexico</a> <a href="https://wegovy.directory/">buy semaglutide in mexico</a> wegovy 3 mg wegovy 3 mg teresita@outlook.com wegovy 3 mg https://rybelsustabs.online/
145 Star/flag Script Upload: Submission #145 Lock Script Upload: Submission #145 Add notes to Script Upload: Submission #145 Fri, 02/23/2024 - 15:17 Anonymous 5.188.210.80 ucqurwnf <a href="https://wegovy.top/">ozempic for weight loss without diabetes</a> <a href="https://wegovy.top/">ozempic for weight loss without diabetes</a> rybelsus pill form rybelsus pill form csehrke@aol.com rybelsus pill form http://rybelsus.directory/
139 Star/flag Script Upload: Submission #139 Lock Script Upload: Submission #139 Add notes to Script Upload: Submission #139 Tue, 02/20/2024 - 15:03 Anonymous 5.188.210.84 ifeffgab <a href="https://wegovy.top/">wegovy tab 3mg</a> <a href="https://wegovy.top/">wegovy tab 3mg</a> rybelsus medication rybelsus medication witold@yahoo.com rybelsus medication https://ozempic.pics/
129 Star/flag Script Upload: Submission #129 Lock Script Upload: Submission #129 Add notes to Script Upload: Submission #129 Sat, 02/17/2024 - 21:24 Anonymous 5.188.210.21 djszjjzq <a href="https://wegovy.trade/">wegovy 3 mg tablet</a> <a href="https://wegovy.trade/">wegovy 3 mg tablet</a> wegovy xr wegovy xr deon@outlook.com wegovy xr https://semaglutide.download/
110 Star/flag Script Upload: Submission #110 Lock Script Upload: Submission #110 Add notes to Script Upload: Submission #110 Thu, 03/09/2023 - 08:34 Anonymous 146.70.117.227 YouTube Music Player Description: This skill allows users to search for and play music from YouTube while complying with copyright laws. The skill will only play music that is licensed for use or falls under fair use guidelines.

Activation Phrase: "Hey Neon, play music from YouTube."

Sample Utterances:

"Play [song name] by [artist name]."
"Find [song name] on YouTube."
"Play the top songs from [artist name] on YouTube."

Skill Steps:

Neon AI will prompt the user for the name of the song and/or artist they want to listen to.
The skill will use the YouTube API to search for the requested music.
If the requested music is licensed for use or falls under fair use guidelines, Neon AI will play the music for the user.
If the requested music is not licensed for use or does not fall under fair use guidelines, Neon AI will inform the user that the requested music cannot be played due to copyright restrictions.
The user can then request a different song or artist to listen to, or end the session.

Legal Disclaimer:

The YouTube Music Player skill is intended for personal, non-commercial use only. The user is responsible for ensuring that any music played through this skill is licensed for use or falls under fair use guidelines. Neon AI is not responsible for any copyright infringement that may result from the use of this skill. By using this skill, the user agrees to comply with all applicable copyright laws and regulations.
import neon
from neon_util import get_youtube_video

app = neon.Application()

@app.handle(intent='play_music')
def play_music_handler(request, responder):
song_name = request.slot_value('song_name')
artist_name = request.slot_value('artist_name')

# Use YouTube API to search for the requested music
video_id = get_youtube_video(song_name, artist_name)

if video_id is not None:
# Play the music if it is licensed for use or falls under fair use guidelines
responder.play_media('https://www.youtube.com/watch?v=' + video_id)
else:
# Inform the user that the requested music cannot be played due to copyright restrictions
responder.reply('Sorry, the requested music cannot be played due to copyright restrictions.')

app.run()
Adam Obradovic elric@riseup.net
109 Star/flag Script Upload: Submission #109 Lock Script Upload: Submission #109 Add notes to Script Upload: Submission #109 Thu, 03/09/2023 - 07:58 Anonymous 146.70.117.227 Re-name Neon This skill allows the user to rename Neon and save the new
name to Neon's AI's Bootable USB Drive for the Mark II.

Activation Phrase: "Hey Neon, rename yourself."

Sample Utterances:

"Change your name to [new name]."
"Can you call yourself [new name] from now on?"
"I want to give you a new name. Let's call you [new name]."

Skill Steps:

Neon AI will prompt the user to provide a new name for it.
The user will provide the new name.
Neon AI will confirm the new name and ask the user if they want to
save it. If the user confirms, Neon AI will save the new name to its
Bootable
USB Drive for the Mark II and reply with a confirmation message.
If the user does not confirm, Neon AI will ask if the user wants to
try again or end the session.
import neon
import os

app = neon.Application()

@app.handle(intent='rename_neon')
def rename_neon_handler(request, responder):
new_name = request.slot_value('new_name')

# Confirm the new name and ask the user if they want to save it
confirmation_message = f"Are you sure you want to change my name to
{new_name}?"
confirmation = responder.yes_or_no(confirmation_message)

if confirmation == 'yes':
# Save the new name to Neon's AI's Bootable USB Drive for the
Mark II
bootable_drive_path = "/boot"
new_name_file_path = os.path.join(bootable_drive_path,
"neon_name.txt")
with open(new_name_file_path, "w") as f:
f.write(new_name)
responder.reply(f"My new name is now {new_name}.")
else:
# Ask the user if they want to try again or end the session
retry_message = "Do you want to try again or end this session?"
retry = responder.yes_or_no(retry_message)
if retry == 'yes':
responder.listen()
else:
responder.reply("Okay, see you next time!")

app.run()
Adam Obradovic elric@riseup.net
108 Star/flag Script Upload: Submission #108 Lock Script Upload: Submission #108 Add notes to Script Upload: Submission #108 Thu, 03/09/2023 - 07:54 Anonymous 146.70.117.227 User Voice Recognition This is a User Voice Recognition skill for Neon that
includes the ability to recognize the user's voice and save the voice
recognition data to the bootable USB drive for the Mark 2. The updated
code saves the user's voice recognition file to a text file named after
the user's name, and then Neon confirms that the file has been saved
after the training is completed.

Skill Description: This skill allows Neon AI to recognize and remember
the voice of its user (up to four different voices) and save the voice
recognition data to the bootable USB drive for the Mark II device.
import speech_recognition as sr
import os

class UserVoiceRecognitionSkill:
def __init__(self):
self.user_voice_profiles = {}
self.sample_rate = 44100
self.chunk_size = 1024
self.format = sr.paInt16

def train_voice_profile(self, n_session):
r = sr.Recognizer()
with sr.Microphone(sample_rate=self.sample_rate, chunk_size=self.chunk_size) as source:
n_session.say("What is your name?")
audio = r.listen(source)

try:
user_name = r.recognize_sphinx(audio)
except sr.UnknownValueError:
n_session.say("Sorry, I couldn't understand your name. Please try again.")
return

with sr.Microphone(sample_rate=self.sample_rate, chunk_size=self.chunk_size) as source:
n_session.say(f"Hi {user_name}! Please say a few sentences so I can learn to recognize your voice.")
audio = r.listen(source)

try:
voice_profile = r.recognize_sphinx(audio)
if len(self.user_voice_profiles) < 4:
self.user_voice_profiles[user_name] = voice_profile
n_session.say("Thank you! I have learned to recognize your voice.")
else:
n_session.say("I can only recognize up to four different voices. Please remove a voice profile to add a new one.")
except sr.UnknownValueError:
n_session.say("Sorry, I couldn't understand what you said. Please try again.")

# Save user's voice recognition file to Bootable USB Drive for the Mark II
with open(f"{user_name}.txt", "w") as f:
f.write(voice_profile)

# Confirm the voice recognition file is saved
n_session.say(f"I now know your voice, {user_name}, and have saved it to my files.")
n_session.complete()

def execute(self, n_session):
if not self.user_voice_profiles:
self.train_voice_profile(n_session)

r = sr.Recognizer()
with sr.Microphone(sample_rate=self.sample_rate, chunk_size=self.chunk_size) as source:
audio = r.listen(source)

try:
user_input = r.recognize_sphinx(audio)
for user_name, voice_profile in self.user_voice_profiles.items():
if voice_profile.lower() in user_input.lower():
n_session.say(f"Hi {user_name}! How can I help you today?")
return
n_session.say("Sorry, I don't recognize your voice. Would you like to train me again?")
except sr.UnknownValueError:
n_session.say("Sorry, I couldn't understand what you said.")
Adam Obradovic elric@riseup.net
73 Star/flag Script Upload: Submission #73 Lock Script Upload: Submission #73 Add notes to Script Upload: Submission #73 Fri, 01/03/2020 - 18:13 imedqo 73.109.151.117 Apple Navigator Navigate the apple.com website with voice Script: "Apple Navigator"
Variable: {options}: table_scrape(https://apple.com)
Variable: {chosen}: ""
Neon speak: "Please tell me what apple.com web page you'd like to see. You can say things like random{options} or say quit or exit."
LOOP WN
....voice_input{chosen}
....# Neon speak: "navigating to {chosen}"
....if {chosen} == "quit":
........Neon speak: "say pause to turn off the mic or say exit to close the window."
........voice_input{chosen}
........if {chosen} == "pause":
............# execute skill to turn off mic
............Execute: "neon mute microphone"
....else:
........if closest{chosen,options}:
............Execute: "neon browse to closest{chosen,options}"
........else:
............Neon speak: "Page not found"
........Neon speak: "Tell me another Apple web page you'd like to see or say quit."
LOOP WN END
Exit
Daniel McKnight daniel@neongecko.com
42 Star/flag Script Upload: Submission #42 Lock Script Upload: Submission #42 Add notes to Script Upload: Submission #42 Tue, 11/19/2019 - 14:00 Anonymous 73.109.151.117 Basic Execute Basic Execute Script: "Basic Execute"
Neon speak: "Lets get started."
Execute: "What time is it"
Neon speak: "I'm finished."
Exit
Daniel McKnight daniel@neongecko.com
75 Star/flag Script Upload: Submission #75 Lock Script Upload: Submission #75 Add notes to Script Upload: Submission #75 Wed, 01/22/2020 - 14:52 imedqo 73.109.151.117 Betsy A welcome from Betsy - conversational AI that is good at math. Script: "Betsy"
Variable: {name}: ""
Variable: {more}: ""
Name Speak : Betsy : "Welcome to the Neongecko Intro, My name is Betsy."
Name Speak : Betsy : "What is your name?"
voice_input{name}
Name Speak : Betsy : "hi {name}"
Name Speak : Betsy : " I am good at math. You can ask me questions like what is the log base 10 of 1 million”
Name Speak : Betsy : "After this start up script exits, if your microphone and speakers are enabled, you can ask me questions out loud and hear my answers. Otherwise you can type questions in the dialog box above."
EXIT
josh josh@neongecko.com
78 Star/flag Script Upload: Submission #78 Lock Script Upload: Submission #78 Add notes to Script Upload: Submission #78 Wed, 01/22/2020 - 15:27 imedqo 73.109.151.117 Cate A demo of Cate who is a caffeine wiz. Script: "Cate"
Variable: {name}: ""
Variable: {more}: ""
Language: "en-in female"
Name Speak : Cate : "Welcome to the Neongecko Intro, My name is Cate."
Name Speak : Cate : "What is your name?"
voice_input{name}
Name Speak : Cate : "hi {name}"
Name Speak : Cate : " I am a caffeine wiz! You can ask me the caffeine content of most popular USA drinks and boosters”
Name Speak : Cate : "If your microphone and speakers are enabled you can ask me questions out loud, and hear my answers. Otherwise you can type your questions in the box, after this start up exits."
EXIT
josh josh@neongecko.com
53 Star/flag Script Upload: Submission #53 Lock Script Upload: Submission #53 Add notes to Script Upload: Submission #53 Tue, 11/19/2019 - 15:46 Anonymous 73.109.151.117 Convert Demo Demo script that converts units of measure. Script: "Convert Demo"
Language: "en-us female"
Variable: {quantity}: ""
Variable: {from_units}: ""
Variable: {to_units}: ""
Variable: {selected}: ""
Variable: {conversions}: weight, volume, length, time, currency
Neon speak: "Say convert select_one{conversions} to convert or exit when done"
voice_input{selected,conversions}
Neon speak: "How many units would you like to convert?"
voice_input{quantity}
Neon speak: "What are the units to convert from?"
voice_input{from_units}
Neon speak: "What are the units to convert to?"
voice_input{to_units}
Execute: "how many {to_units} are in {quantity} {from_units}"
Exit
Daniel McKnight daniel@neongecko.com
105 Star/flag Script Upload: Submission #105 Lock Script Upload: Submission #105 Add notes to Script Upload: Submission #105 Tue, 12/14/2021 - 18:03 Anonymous 76.121.181.179 Corny One The simplest possible CBE - elaborate later. Script: "Corny One"
Variable: example
Variable: discard
Variable: whatisay
Variable: try
Neon Speak: "Teach me with an example."
Neon Speak: "Tell me something like this: when I say,,, jump,,, you say,,, how high."
voice_input(discard)
voice_input(whatisay)
voice_input(discard)
voice_input(whatyousay)
Neon Speak: "I think I got it."
Neon Speak: "Go ahead, try me."
voice_input(discard)
Neon Speak: "{whatyousay}"
LOOP Q1
    Neon Speak: "Try me again, or say exit."
    voice_input(try)
    if {try} == "exit":
        Exit
Neon Speak: "{whatyousay}"
LOOP Q1 END
Exit
Too Embarassing elon@neon.ai
104 Star/flag Script Upload: Submission #104 Lock Script Upload: Submission #104 Add notes to Script Upload: Submission #104 Fri, 08/21/2020 - 17:56 Anonymous 50.47.129.133 Covid 19 Audio COVID-19 script with prerecorded audio files Script: "Covid 19 Audio"
Language: "en-us male"
@restartCovidScreening


Name Speak: "Robbie", "</speak>Version 20200709 17-40 Demo Covid-19 Screening Application"

Variable: userName
Variable: covidUserRef
Variable: covidIll
Variable: covidAge
Variable: covidLifeThreat
Variable: covidContact
Variable: covidFever
Variable: covidBreath
Variable: covidSevereBreath
Variable: covidCough
Variable: covidSevereCough
Variable: covidBP
Variable: covidSevereBP
Variable: covidNose
Variable: covidThroat
Variable: covidMuscle
Variable: covidTaste
Variable: covidFatigue
Variable: covidNausea
Variable: covidLungs
Variable: covidHeart
Variable: covidDiabetes
Variable: covidNeuroCough
Variable: covidWeakImmune
Variable: covidDialysis
Variable: covidLiver
Variable: covidObesity
Variable: covidPregnancy
Variable: covidComorbiditiesCount
Variable: covidNursingHome
Variable: covidCareGiver

Variable: True = 1
Variable: False = 0

Variable: yesNoList = "yes", "no"

Variable: yesList = "yes", "sure", "very", "yup", "y"
Variable: noList = "no", "not", "I don't have", "nope", "n"
# {ignoreList} = "I'm", "a", "the", "thanks", "thank you" # Prepositions and articles to ignore ..

Variable: detailsList = "details", "more details", "tell me more"

Variable: userSelfRefsList = "self", "myself", "me"
Variable: userElseRefsList = "else", "someone else", "friend"

Name Speak: "Robbie", "<speak></speak>This demonstration is based on the CDC's guide recommendations for Covid-19 phone screening, as of June 2020, and should not be considered a CDC or medically approved application at this time."
# Name Speak: Robbie : "<speak></speak>Some text to print and not speak."


#GREETING

@startCovidScreening

Name Speak: "Robbie", "Thank you for interacting with the demonstration Neon virtual examination room and Covid-19 conversational screening application beta test."
Name Speak: "Robbie", "My name is Neon Robbie."
Name Speak: "Robbie", "What is your name?"
voice_input{userName}
Name Reconvey: "Robbie", "Hi {userName}", "Hi"
Name Reconvey: "Robbie", "I am glad you chose to talk with me about Covid-19 symptoms."
@promptMoreAppInfo

Name Speak: "Robbie", "Before starting the screening, would you like more information on the Neon conversational Covid-19 demo screening application?"
voice_input{moreAppInfo}
#if {moreAppInfo} !IN {yesNoList[*]}:
# Goto: promptMoreAppInfo
#if {moreAppInfo} IN {noList[*]}:
if {moreAppInfo} IN {noList[*]}:
Goto: BeginScreening
Name Speak: "Robbie", "The Neon conversational demonstration Covid-19 screening application is based on the Center for Disease Control and Prevention recommendations for the Coronavirus Disease 2019 Telephone Response Guide. The Covid-19 screening script is available at CDC dot gov website. </speak>https://www.cdc.gov/coronavirus/2019-ncov/hcp/phone-guide/ "

@BeginScreening

Name Speak: "Robbie", "Your beta test virtual exam room is ready."
Name Reconvey: "Robbie", "In response to screening questions you can say details to hear more details.", "Say details for details"
# Name Speak: "Robbie", "or you can say previous question, or start over."

@promptUserRef
Name Reconvey: "Robbie", "Are you asking for help for yourself, or for someone else?"
voice_input{covidUserRef}
if {covidUserRef} IN {detailsList[*]}:
Name Speak: "Robbie", "For record keeping, we need to keep track of who we interact with."
Goto: promptUserRef
#if {covidUserRef} == "myself":
if {covidUserRef} IN {userSelfRefsList[*]}:
userRef1 = "have you"
userRef2 = "are you"
userRef3 = "do you"
userRef1C = "Have you"
userRef2C = "Are you"
userRef3C = "Do you"
else:
if {covidUserRef} IN {userElseRefsList[*]}:
userRef1 = "has the person you are calling about"
userRef2 = "is the person for whom you are calling"
userRef3 = "does the person you are calling about"
userRef1C = "Has the person you are calling about"
userRef2C = "Is the person for whom you are calling"
userRef3C = "Does the person you are calling about"
else
Name Reconvey: "Robbie", "Sorry {userName} I didn't get that.", "I didn't get that."
Goto: promptUserRef

Name Reconvey: "Robbie", "Got it {userName}.", "Got it"


#TRIAGE


@promptIll
# Name Speak: "Robbie", "This audio guide is for people who are ill. {userRef2C} ill?"
Name Reconvey: "Robbie", "This audio guide is for people who are ill"
Name Reconvey: "Robbie", "Are you ill of contacting on behalf of someone who is ill?"

# "Are you ill (or contacting on behalf of someone who is ill)?"
voice_input{covidIll}
if {covidIll} IN {detailsList[*]}:
Name Reconvey: "Robbie", "We are demonstrating CDC's Covid-19 symptom screening for people who feel ill."
Name Reconvey: "Robbie", "If you are not showing symptoms of illness, then this screening system can not help you."
Name Reconvey: "Robbie", "If you are concerned you have Covid-19 infection you should contact your care advisor, since some people who have the Covid-19 infection are non-symptomatic."
Goto: promptUserRef
if {covidIll} IN {noList[*]}:
Name Speak: "Robbie", "You're not symptomatic of Covid-19 but if you are concerned you have Covid-19 infection you should contact your care advisor."
Name Speak: "Robbie", "Option for additional information on Covid-19 symptoms are in progress."
Goto: A-noSymptoms
# TODO: This could do something other than run exit, continue prompting? Ask to start over? Ask to check other symptoms?
# Exit - Only for sick people
else:
if {covidIll} IN {yesList[*]}:
Goto: promptAge
else:
if {covidIll} == "start over":
Goto: startCovidScreening
else:
Goto: promptIll


@promptAge
Name Reconvey: "Robbie", "This audio guide is for people over 5. How many years old are you or the person you are calling about?"
voice_input{covidAge}
if {covidAge} IN {detailsList[*]}:
Name Speak: "Robbie", "This demonstration of conversational Covid-19 symptom screening is for people over the age of 5. Thank you for helping test the Neon Covid-19 screener."
Goto: promptAge
if {covidAge} < 5:
Goto: C-lessThanFive
else:
if {covidAge} >= 5:
Goto: promptLifeThreatening
else:
Goto: promptAge


# LIFE THREATENING


@promptLifeThreatening
Name Speak: "Robbie", "{userRef3C} have a life-threatening emergency medical condition? Say details for details."
voice_input{covidLifeThreat}
if {covidLifeThreat} IN {noList[*]}:
Goto: promptContact
else:
# if {covidLifeThreat} == "details":
if {covidLifeThreat} IN {detailsList[*]}:
Name Speak: "Robbie", "Life-threatening emergency medical conditions include these symptoms:"
Name Speak: "Robbie", "Extremely difficult breathing (can't talk without gasping for air); "
Name Speak: "Robbie", "Blue-colored lips or face; Severe, constant dizziness or lightheadedness; "
Name Speak: "Robbie", "Acting confused or inability to arouse; new or worsening slurred speech;"
Name Speak: "Robbie", "New onset of seizures or seizures that won't stop; and "
Name Speak: "Robbie", "Other life-threatening emergency signs."
Name Speak: "Robbie", "Anyone with a life-threatening emergency should immediately call 911."
Name Speak: "Robbie", "Thank you for helping test the Neon Covid-19 screener."
Goto: promptLifeThreatening
if {covidLifeThreat} !IN {yesList[*]}:
Goto: promptLifeThreatening
Goto: B-call911


# SCREEN FOR SYMPTOMS


@promptContact
Name Speak: "Robbie", "In the two weeks leading up to feeling sick {userRef1} had contact with someone who was diagnosed with COVID-19, or live in or recently visited a place where COVID-19 is spreading?"
voice_input{covidContact}
if {covidContact} IN {detailsList[*]}:
Name Speak: "Robbie", "It is important for record keeping to keep track of known contacts to people or places that expose them to Covid-19. Thank you for helping test the Neon Covid-19 screener."
Goto: promptContact
if {covidContact} IN {noList[*]}:
covidContact = {False}
else:
if {covidContact} !IN {yesList[*]}:
Goto: promptContact
covidContact = {True}


# SYMPTOMS


@promptFever
Name Speak: "Robbie", "{userRef3C} have a fever or felt hot or feverish in the last two days?"
voice_input{covidFever}
if {covidFever} IN {detailsList[*]}:
Name Speak: "Robbie", "People with a fever over 100.4, and trouble breathing, persistent pain or pressure in the chest, bluish lips or face, or new confusion or fainting, should immediately seek emergency medical care, should limit contact with others and be tested for Covid-19. For fever-reducing medications acetaminophen is recommended (for example Tylenol). Thank you for helping test the Neon Covid-19 screener."
Goto: promptFever
if {covidFever} IN {noList[*]}:
covidFever = {False}
else:
if {covidFever} !IN {yesList[*]}:
Goto: promptFever
covidFever = {True}
# Add -
# Ask "Were you able to measure the temperature with a thermometer?"
# Yes: Ask "What was the temperature and when was it measured?"
# If No: Ask "Are you/they experiencing shaking, chills, or sweating? Do you/they feel very warm to the touch?"
# Ask "When did the fever/feverishness start?"
# Ask "Was fever-reducing medication given?"
# Details: WHO recommends acetaminophen (for example Tylenol). NOT nonsteroidal anti-inflammatory drugs, NSAIDs, for example ibuprofen (like Advil), naproxen (like Aleve), aspirin, and others.
# Details: Examples of fever-reducing medications include acetaminophen (for example Tylenol) and nonsteroidal anti-inflammatory drugs, or NSAIDs, for example ibuprofen (like Advil), naproxen (like Aleve), aspirin, and others.
# If Yes: Ask "How long ago was the medication taken?"

@promptBreath
# TODO: Breath Audio here
Name Speak: "Robbie", "{userRef3C} have shortness of breath?"
voice_input{covidBreath}
if {covidBreath} IN {detailsList[*]}:
Name Speak: "Robbie", "People with trouble breathing and a fever over 100.4, persistent pain or pressure in the chest, bluish lips or face, or new confusion or fainting, should immediately seek emergency medical care, should limit contact with others and be tested for Covid-19. Thank you for helping test the Neon Covid-19 screener."
Goto: promptBreath
if {covidBreath} IN {noList[*]}:
covidBreath = {False}
covidSevereBreath = {False}
else:
if {covidBreath} !IN {yesList[*]}:
Goto: promptBreath
covidBreath = {True}
@promptSevereBreath
# TODO: Severe Breath Audio here
Name Speak: "Robbie", "{userRef3C} have severe shortness of breath, such as difficulty talking or walking across the room without stopping to breath, or fainting?"
voice_input{covidSevereBreath}
if {covidSevereBreath} IN {yesList[*]} :
covidSevereBreath = {True}
Name Speak: "Robbie", "People having severe shortness of breath need urgent care and should call 911 or immediately go to the emergency department."
Goto: B-call911
else:
if {covidSevereBreath} !IN {noList[*]}:
Goto: promptSevereBreath
covidSevereBreath = {False}

@promptCough
if {userRef3C} == "Do you":
Name Reconvey: "Robbie", "Do you have a cough?"
else:
Name Reconvey: "Robbie", "Does the person you are calling about have a cough?"
voice_input{covidCough}
if {covidCough} IN {detailsList[*]}:
Name Speak: "Robbie", "People with a cough, trouble breathing, persistent pain or pressure in the chest, and a fever over 100.4, or bluish lips or face, or new confusion, or fainting, should immediately seek emergency medical care, should limit contact with others and be tested for Covid-19. Thank you for helping test the Neon Covid-19 screener."
Goto: promptCough
if {covidCough} IN {noList[*]}:
covidCough = {False}
covidSevereCough = {False}
else:
if {covidCough} !IN {yesList[*]}:
Goto: promptCough
covidCough = {True}
@promptSevereCough
if {userRef1C} == "Have you":
Name Reconvey: "Robbie", "Have you coughed up a teaspoon of blood?"
else:
Name Reconvey: "Robbie", "Has the person you are calling about coughed up a teaspoon of blood?"
voice_input{covidSevereCough}
if {covidSevereCough} IN {yesList[*]} :
covidSevereCough = {True}
Name Speak: "Robbie", "People having severe coughing (termed hemoptysis) should go to the emergency department."
Goto : D-gotoEmergency
if {covidSevereCough} !IN {noList[*]}:
Goto: promptSevereCough
covidSevereCough = {False}


@promptBP
# TODO: Low BP Audio here
Name Speak: "Robbie", "{userRef3C} have low blood pressure? Signs of low blood pressure can include cold, pale, or clammy skin; or feeling too light-headed and too weak to stand."
voice_input{covidBP}
if {covidBP} IN {detailsList[*]}:
Name Speak: "Robbie", "People with a symptom of very low blood pressure, such as new confusion or fainting or being too weak to stand, should immediately seek emergency medical care. Thank you for helping test the Neon Covid-19 screener."
Goto: promptBP
if {covidBP} IN {noList[*]}:
covidBP = {False}
covidSevereBP = {False}
else:
if {covidBP} !IN {yesList[*]}:
Goto: promptBP
covidBP = {True}
@promptSevereBP
Name Speak: "Robbie", "{userRef3C} have severe low BP hypotension such as not being able to stand?"
voice_input{covidSevereBP}
if {covidSevereBP} IN {yesList[*]} :
covidSevereBP = {True}
Name Speak: "Robbie", "People having severe low blood pressure symptoms should go to the emergency department."
Goto : D-gotoEmergency
if {covidSevereBP} !IN {noList[*]}:
Goto: promptSevereBP
covidSevereBP = {False}


@promptNose
Name Reconvey: "Robbie", "{userRef3C} have a runny or stuffy nose?", "Do you of the person you are calling about have a new loss of taste or smell?"
voice_input{covidNose}
if {covidNose} IN {detailsList[*]}:
Name Speak: "Robbie", "It is important for record keeping to keep track of symptoms related to Covid-19. Thank you for helping test the Neon Covid-19 screener."
Goto: promptNose
if {covidNose} IN {noList[*]}:
covidNose = {False}
else:
if {covidNose} !IN {yesList[*]}:
Goto: promptNose
covidNose = {True}


@promptThroat
Name Reconvey: "Robbie", "{userRef3C} have a sore throat?", "Do you or the person you are calling about have a sore throat?"
voice_input{covidThroat}
if {covidThroat} IN {detailsList[*]}:
Name Speak: "Robbie", "It is important for record keeping to keep track of symptoms related to Covid-19. Thank you for helping test the Neon Covid-19 screener."
Goto: promptThroat
if {covidThroat} IN {noList[*]}:
covidThroat = {False}
else:
if {covidThroat} !IN {yesList[*]}:
Goto: promptThroat
covidThroat = {True}


@promptMuscle
Name Speak: "Robbie", "{userRef3C} have muscle aches or pains?"
voice_input{covidMuscle}
if {covidMuscle} IN {detailsList[*]}:
Name Speak: "Robbie", "It is important for record keeping to keep track of symptoms related to Covid-19. Thank you for helping test the Neon Covid-19 screener."
Goto: promptMuscle
if {covidMuscle} IN {noList[*]}:
covidMuscle = {False}
else:
if {covidMuscle} !IN {yesList[*]}:
Goto: promptMuscle
covidMuscle = {True}


@promptTaste
Name Reconvey: "Robbie", "{userRef3C} have a new loss of taste or smell?", "Do you or the person you are calling about have a new loss of taste or smell?"
voice_input{covidTaste}
if {covidTaste} IN {detailsList[*]}:
Name Speak: "Robbie", "It is important for record keeping to keep track of symptoms related to Covid-19. Thank you for helping test the Neon Covid-19 screener."
Goto: promptTaste
if {covidTaste} IN {noList[*]}:
covidTaste = {False}
else:
if {covidTaste} !IN {yesList[*]}:
Goto: promptTaste
covidTaste = {True}


@promptFatigue
Name Speak: "Robbie", "{userRef3C} have unusual tiredness, fatigue or malaise?"
voice_input{covidFatigue}
if {covidFatigue} IN {detailsList[*]}:
Name Speak: "Robbie", "It is important for record keeping to keep track of symptoms related to Covid-19. Thank you for helping test the Neon Covid-19 screener."
Goto: promptFatigue
if {covidFatigue} IN {noList[*]}:
covidFatigue = {False}
else:
if {covidFatigue} !IN {yesList[*]}:
Goto: promptFatigue
covidFatigue = {True}


@promptNausea
Name Speak: "Robbie", "{userRef3C} have nausea, vomiting, or diarrhea"
voice_input{covidNausea}
if {covidNausea} IN {detailsList[*]}:
Name Speak: "Robbie", "It is important for record keeping to keep track of symptoms related to Covid-19. Thank you for helping test the Neon Covid-19 screener."
Goto: promptNausea
if {covidNausea} IN {noList[*]}:
covidNausea = {False}
else:
if {covidNausea} !IN {yesList[*]}:
Goto: promptNausea
covidNausea = {True}


#HIGH RISK


Name Speak: "Robbie", "I am now going to ask questions about ongoing medical conditions including pregnancy."


@promptLungs
Name Speak: "Robbie", "{userRef3C} have chronic lung diseases?"
# Details: "like asthma, chronic obstructive pulmonary disease [chronic bronchitis or emphysema], or other chronic conditions associated with impaired lung function or that require home oxygen?"
voice_input{covidLungs}
if {covidLungs} IN {detailsList[*]}:
Name Speak: "Robbie", "Chronic lung diseases include asthma, chronic obstructive pulmonary disease, chronic bronchitis or emphysema, or other chronic conditions associated with impaired lung function or that require home oxygen. People with ongoing medical conditions are more at risk of severe symptoms from Covid-19. Thank you for helping test the Neon Covid-19 screener."
Goto: promptLungs
if {covidLungs} IN {noList[*]}:
covidLungs = {False}
else:
if {covidLungs} !IN {yesList[*]}:
Goto: promptLungs
covidLungs = {True}


@promptHeart
Name Speak: "Robbie", "{userRef3C} have congestive heart failure?"
voice_input{covidHeart}
if {covidHeart} IN {detailsList[*]}:
Name Speak: "Robbie", "Congestive heart failure includes coronary artery blockage, heart attack, valve disease or congenital heart disease, and resulting in the heart not being able to pump efficiently and reduced blood flow. People with ongoing medical conditions are more at risk of severe symptoms from Covid-19. Thank you for helping test the Neon Covid-19 screener."
Goto: promptHeart
if {covidHeart} IN {noList[*]}:
covidHeart = {False}
else:
if {covidHeart} !IN {yesList[*]}:
Goto: promptHeart
covidHeart = {True}


@promptDiabetes
Name Speak: "Robbie", "{userRef3C} have diabetes with complications?"
# Details: "like limb amputation, kidney disease, vision problems, heart disease, history of stroke, or, especially if they have uncontrolled diabetes or other complications?"
voice_input{covidDiabetes}
if {covidDiabetes} IN {detailsList[*]}:
Name Speak: "Robbie", "Complications of diabetes include limb amputation, kidney disease, vision problems, heart disease, history of stroke, or, especially uncontrolled diabetes or other complications. People with ongoing medical conditions are more at risk of severe symptoms from Covid-19. Thank you for helping test the Neon Covid-19 screener."
Goto: promptDiabetes
if {covidDiabetes} IN {noList[*]}:
covidDiabetes = {False}
else:
if {covidDiabetes} !IN {yesList[*]}:
Goto: promptDiabetes
covidDiabetes = {True}


@promptNeuroCough
Name Speak: "Robbie", "{userRef3C} have neurological conditions that weaken ability to cough?"
# Details: "like disorders of the brain, spinal cord, peripheral nerve, and muscle such as cerebral palsy, epilepsy [seizure disorders], stroke, intellectual disability, moderate to severe developmental delay, muscular dystrophy, or spinal cord injury
voice_input{covidNeuroCough}
if {covidNeuroCough} IN {detailsList[*]}:
Name Speak: "Robbie", "Neurological conditions that weaken ability to cough include disorders of the brain, spinal cord, peripheral nerve, and muscle such as cerebral palsy, epilepsy [seizure disorders], stroke, intellectual disability, moderate to severe developmental delay, muscular dystrophy, or spinal cord injury. People with ongoing medical conditions are more at risk of severe symptoms from Covid-19. Thank you for helping test the Neon Covid-19 screener."
Goto: promptNeuroCough
if {covidNeuroCough} IN {noList[*]}:
covidNeuroCough = {False}
else:
if {covidNeuroCough} !IN {yesList[*]}:
Goto: promptNeuroCough
covidNeuroCough = {True}


@promptWeakImmune
Name Speak: "Robbie", "{userRef3C} have a weakened immune system?"
voice_input{covidWeakImmune}
if {covidWeakImmune} IN {detailsList[*]}:
Name Speak: "Robbie", "A weakened immune system includes seeing a doctor for cancer and treatment such as chemotherapy or radiation, receiving an organ or bone marrow transplant, taking high doses of oral steroids or other immunosuppressant medications, HIV or AIDS. People with ongoing medical conditions are more at risk of severe symptoms from Covid-19. Thank you for helping test the Neon Covid-19 screener."
Goto: promptWeakImmune
if {covidWeakImmune} IN {noList[*]}:
covidWeakImmune = {False}
else:
if {covidWeakImmune} !IN {yesList[*]}:
Goto: promptImmune
covidWeakImmune = {True}


@promptDialysis
Name Speak: "Robbie", "{userRef3C} have dialysis or under treatment for a kidney disease?"
voice_input{covidDialysis}
if {covidDialysis} IN {detailsList[*]}:
Name Speak: "Robbie", "Dialysis includes any type of dialysis, and kidney diseases are not specified in the CDC guide recommendations. Additional details in progress. Thank you for helping test the Neon Covid-19 screener."
Goto: promptDialysis
if {covidDialysis} IN {noList[*]}:
covidDialysis = {False}
else:
if {covidDialysis} !IN {yesList[*]}:
Goto: promptDialysis
covidDialysis = {True}


@promptLiver
Name Speak: "Robbie", "{userRef3C} have cirrhosis of the liver, chronic hepatitis or other liver disease?"
voice_input{covidLiver}
if {covidLiver} IN {detailsList[*]}:
Name Speak: "Robbie", "Liver disease includes cirrhosis of the liver, chronic hepatitis or other liver disease, not are not specified in the CDC Covid-19 screening guide recommendations. Additional details in progress. People with ongoing medical conditions are more at risk of severe symptoms from Covid-19. Thank you for helping test the Neon Covid-19 screener."
Goto: promptLiver
if {covidLiver} IN {noList[*]}:
covidLiver = {False}
else:
if {covidLiver} !IN {yesList[*]}:
Goto: promptLiver
covidLiver = {True}


@promptObesity
Name Speak: "Robbie", "{userRef3C} have extreme obesity?"
voice_input{covidObesity}
if {covidObesity} IN {detailsList[*]}:
Name Speak: "Robbie", "Extreme obesity is Body Mass Index [BMI] greater than or equal to 40. People with ongoing medical conditions are more at risk of severe symptoms from Covid-19. Additional details in progress. Thank you for helping test the Neon Covid-19 screener."
Goto: promptObesity
if {covidObesity} IN {noList[*]}:
covidObesity = {False}
else:
if {covidObesity} !IN {yesList[*]}:
Goto: promptObesity
covidObesity = {True}


@promptPregnancy
Name Speak: "Robbie", "{userRef3C} have a current pregnancy or pregnant in the last 2 weeks?"
voice_input{covidPregnancy}
if {covidPregnancy} IN {detailsList[*]}:
Name Speak: "Robbie", "Pregnancy and recent pregnancy are considered ongoing medical conditions in the CDC Covid-19 screening guide. People with ongoing medical conditions are more at risk of severe symptoms from Covid-19. Thank you for helping test the Neon Covid-19 screener."
Goto: promptPregnancy
if {covidPregnancy} IN {noList[*]}:
covidPregnancy = {False}
else:
if {covidPregnancy} !IN {yesList[*]}:
Goto: promptPregnancy
covidPregnancy = {True}


# CALCULATE COMORBIDITIES AND ADVERSE RISKS


Python: covidComorbiditiesCount = {covidLungs} + {covidHeart} + {covidDiabetes} + {covidNeuroCough} + {covidDialysis} + {covidLiver} + {covidObesity} + {covidPregnancy}


if {covidComorbiditiesCount} >0 :
Name Speak: "Robbie", "Important! You've reported significant underlying medical conditions and illness symptoms you are advised to contact a care provider and be seen within 24 hours."


# Add - Collect details? .. If history appears unreliable: Screen for other medical conditions. "Please tell me about any medicine that you/sick person take(s) daily or regularly." Ask about current medications that might indicate underlying chronic conditions.


# CHECK IF CAREGIVER OR LIVING IN FACILITY


@promptNursingHome
Name Speak: "Robbie", "{userRef3C} live in a nursing home or other long-term care facility?", "Do you or the person you are calling about live in a nursing home or other long-term care facility?"
voice_input{covidNursingHome}
if {covidNursingHome} IN {noList[*]}:
covidNursingHome = {False}
else:
if {covidNursingHome} !IN {yesList[*]}:
Goto: promptNursingHome
covidNursingHome = {True}
covidCareGiver = {False}
Name Speak: "Robbie", "It is important that you immediately report these symptoms to your nursing home or care facility immediately, including shortness of breath, fever or cough."
Goto: G-careFacilityReport


@promptCareGiver
Name Reconvey: "Robbie", "{userRef3C} been involved as a worker, student or volunteer at a health care setting in the last two weeks?", "In the last two weeks have you or the person you are calling about worked or volunteered... work?"
# Details: in the last two weeks worked or volunteered in a hospital, emergency room, clinic, medical office, ambulance service, first responder services, or any health care setting, or taken care of patients as a student as a part of your/their work?
voice_input{covidCareGiver}
if {covidCareGiver} IN {noList[*]}:
covidCareGiver = {False}
else:
if {covidCareGiver} !IN {yesList[*]}:
Goto: promptCareGiver
covidCareGiver = {True}
Name Speak: "Robbie", "It is important that you immediately report your symptoms to the occupational health provider for the care facility where you were involved, including shortness of breath, fever or respiratory symptoms."
Goto: F-careGiverReport


# List Symptoms, Comorbidities & Risks


Name Speak: "Robbie", "Would you like me to list your information including Symptoms and Comorbidities?"
voice_input(userInput)
if {userInput} IN {noList[*]}:
Goto: checkDispositions


Name Speak: "Robbie", "I will list your information. Would you like me to read out loud?"
voice_input(userInput)
if {userInput} IN {noList[*]}:
varNoSpeak = "</speak>"
else
varNoSpeak = ""


varProsody = "rate='x-fast'"

Name Speak: "Robbie", "{varNoSpeak} <prosody {varProsody}> User Name {userName} </prosody>"
Name Speak: "Robbie", "{varNoSpeak} <prosody {varProsody}> User Ref {covidUserRef} </prosody>"
Name Speak: "Robbie", "{varNoSpeak} <prosody {varProsody}> User Ill {covidIll} </prosody>"
Name Speak: "Robbie", "{varNoSpeak} <prosody {varProsody}> User Age {covidAge} </prosody>"

Name Speak: "Robbie", "{varNoSpeak} <prosody {varProsody}> Life Threat {covidLifeThreat} </prosody>"
Name Speak: "Robbie", "{varNoSpeak} <prosody {varProsody}> Contact {covidContact} </prosody>"
Name Speak: "Robbie", "{varNoSpeak} <prosody {varProsody}> Fever {covidFever} </prosody>"
Name Speak: "Robbie", "{varNoSpeak} <prosody {varProsody}> Breathing {covidBreath} </prosody>"
Name Speak: "Robbie", "{varNoSpeak} <prosody {varProsody}> Severe Breathing {covidSevereBreath} </prosody>"
Name Speak: "Robbie", "{varNoSpeak} <prosody {varProsody}> Cough {covidCough} </prosody>"
Name Speak: "Robbie", "{varNoSpeak} <prosody {varProsody}> Severe Cough {covidSevereCough} </prosody>"
Name Speak: "Robbie", "{varNoSpeak} <prosody {varProsody}> BP {covidBP} </prosody>"
Name Speak: "Robbie", "{varNoSpeak} <prosody {varProsody}> Severe BP {covidSevereBP} </prosody>"
Name Speak: "Robbie", "{varNoSpeak} <prosody {varProsody}> Nose {covidNose} </prosody>"
Name Speak: "Robbie", "{varNoSpeak} <prosody {varProsody}> Throat {covidThroat} </prosody>"
Name Speak: "Robbie", "{varNoSpeak} <prosody {varProsody}> Muscle {covidMuscle} </prosody>"
Name Speak: "Robbie", "{varNoSpeak} <prosody {varProsody}> Taste {covidTaste} </prosody>"
Name Speak: "Robbie", "{varNoSpeak} <prosody {varProsody}> Fatigue {covidFatigue} </prosody>"
Name Speak: "Robbie", "{varNoSpeak} <prosody {varProsody}> Nausea {covidNausea} </prosody>"

Name Speak: "Robbie", "{varNoSpeak} <prosody {varProsody}> Comorbidities </prosody>"
Name Speak: "Robbie", "{varNoSpeak} <prosody {varProsody}> Lungs {covidLungs} </prosody>"
Name Speak: "Robbie", "{varNoSpeak} <prosody {varProsody}> Heart {covidHeart} </prosody>"
Name Speak: "Robbie", "{varNoSpeak} <prosody {varProsody}> Diabetes {covidDiabetes} </prosody>"
Name Speak: "Robbie", "{varNoSpeak} <prosody {varProsody}> Neuro Cough {covidNeuroCough} </prosody>"
Name Speak: "Robbie", "{varNoSpeak} <prosody {varProsody}> Weakened Immune {covidWeakImmune} </prosody>"
Name Speak: "Robbie", "{varNoSpeak} <prosody {varProsody}> Dialysis {covidDialysis} </prosody>"
Name Speak: "Robbie", "{varNoSpeak} <prosody {varProsody}> Liver {covidLiver} </prosody>"
Name Speak: "Robbie", "{varNoSpeak} <prosody {varProsody}> Obesity {covidObesity} </prosody>"
Name Speak: "Robbie", "{varNoSpeak} <prosody {varProsody}> Pregnancy {covidPregnancy} </prosody>"
Name Speak: "Robbie", "{varNoSpeak} <prosody {varProsody}> Comorbidities Total {covidComorbiditiesCount} </prosody>"

Name Speak: "Robbie", "{varNoSpeak} <prosody {varProsody}> Nursing Home or Facility {covidNursingHome} </prosody>"
Name Speak: "Robbie", "{varNoSpeak} <prosody {varProsody}> Care Giving {covidCareGiver} </prosody>"


@checkDispositions
Name Speak: "Robbie", "Neon AI test - Checking for Dispositions for the reported symptoms."


# CALCULATE D-gotoEmergency DISPOSITION


Python: covidEmergencyCount = {covidSevereBreath} + {covidSevereCough} + {covidSevereBP}
if {covidEmergencyCount} >0 :
Name Speak: "Robbie", "People with these severe symptoms are advised to immediately go to the Emergency Department."
Goto: D-gotoEmergency


# CALCULATE E-callMedicalProvider DISPOSITION
# TODO: '*' is not a valid character
Python: covidProvider24Count = {covidBreath} + ( {covidFever} * {covidComorbiditiesCount} ) + ( {covidCough} * {covidComorbiditiesCount} )
if {covidProvider24Count} >0 :
Name Speak: "Robbie", "People with the reported symptoms are advised to call a medical provider within 24 hours, and are encouraged to participate in tele-health options from their health care provider."
Goto: E-callMedicalProvider


# CALCULATE BREATHING DISPOSITIONS


if {covidBreath}:
if {covidComorbiditiesCount} >= 1:
Goto: B-call911
Goto: D-gotoEmergency


# CALCULATE H-selfCare DISPOSITION


Python: covidStayHomeCount = {covidFever} + {covidFever} + {covidCough}


if {covidStayHomeCount} >0 :
Name Speak: "Robbie", "People with the reported symptoms are advised to stay home and call their health care provider if they get worse, and are encouraged to participate in tele-health options from their health care provider."
Goto: H-selfCare


# TODO: Goto line here to catch no response, different response for completion vs not ill DM
# NO SYMPTOMS - A
@A-noSymptoms
Name Speak: "Robbie", "The Neon AI triage service is intended for people who are ill or caring for someone who is ill. For general information about coronavirus disease 2019 (COVID-19), please refer to the Centers for Disease Control and Prevention (CDC) website. Do you have something to write with? The CDCs website is www.cdc.gov/COVID19."
Goto: promptCreateReport


#CALL 911 - B
@B-call911
Name Reconvey: "Robbie", "Immediate medical attention is needed. You need to call 911 now. Tell the 911 operator if you have been in contact with someone with COVID-19 or if you have recently been to an area where COVID-19 is spreading."
Goto: promptCreateReport


#CHILD LESS THAN 5 YEARS OLD - C
@C-lessThanFive
Name Speak: "Robbie", "This triage line is intended for children who are at least five years old and adults. If your child is younger than five years old and is sick, please contact their medical provider as soon as possible. If your child has had contact with a person who is sick with COVID-19 or has been in an area with community spread of COVID-19, please let their medical providers know."
Goto: promptCreateReport


#GO TO EMERGENCY DEPARTMENT - D
@D-gotoEmergency
Name Reconvey: "Robbie", "Urgent medical attention is needed."
Name Reconvey: "Robbie", "You need to go to your nearest emergency department."
Name Speak: "Robbie", If you have had contact with a person who is sick with COVID-19 or you have been in an area with community spread of COVID-19, please let your medical providers know as soon as you arrive at the emergency department."
Goto: promptCreateReport


#CONTACT MEDICAL PROVIDER WITHIN 24 HOURS - E
@E-gotoMedicalProvider
Name Reconvey: "Robbie", "You have some symptoms that may be related to COVID-19. Stay home except to get medical care. Separate yourself from others in your home. Wear a facemask, if possible. Clean your hands often. Avoid sharing personal household items. Clean all high-touch surfaces everyday. Monitor your symptoms and seek prompt medical attention if your illness is worsening.", "You have some symptoms that may be related to COVID-19... Monitor your symptoms and seek prompt medical attention if your illness is worsening."
Goto: promptCreateReport


#CONTACT OCCUPATIONAL HEALTH PROVIDER AT WORK - F
@F-careGiverReport
Name Speak: "Robbie", "Contact an occupational health provider in your healthcare facility as soon as possible. If you have cared for a person who is sick with COVID-19 or have been in an area with community spread of COVID-19, please let your occupational health provider know as soon as you speak with them."
Goto: promptCreateReport


#CONTACT HEALTHCARE PROVIDER IN LONG TERM CARE FACILITY - G
@G-careFacilityReport
Name Speak: "Robbie", "You may be at higher risk for severe illness since you live in a nursing home or a long-term care facility. Tell a caregiver at the facility that you are sick and need to see a medical provider as soon as possible."
Goto: promptCreateReport


#STAY HOME AND TAKE CARE OF YOURSELF. CONTACT PROVIDER IF THINGS GET WORSE - H
@H-selfCare
Name Speak: "Robbie", "Sorry you are feeling ill. You have one or more symptom(s) that may be related to COVID-19. Stay home and take care of yourself. Please follow steps to prevent others in your household or community from getting sick."
Goto: promptCreateReport


# Not Done Yet - Z
@Z-inProgress
Name Speak: "Robbie", "I'm sorry {userName} I'm not programmed for that answer yet. I'm sorry you are feeling ill. You have one or more symptom(s) that may be related to COVID-19. Stay home and take care of yourself. Please follow steps to prevent others in your household or community from getting sick."
Goto: promptCreateReport


# CREATE REPORT

@promptCreateReport
Name Speak: "Robbie", "Would you like me to send you an email with the information you have reported today, including User info, Symptoms and Comorbidities?"
voice_input(userInput)
if {userInput} IN {noList[*]}:
Goto: screeningComplete

Variable: screeningReport
screeningReport = "User Name {userName} "
screeningReport = "{screeningReport}, User Ref {covidUserRef} "
screeningReport = "{screeningReport}, Ill {covidIll} "
screeningReport = "{screeningReport}, Age {covidAge} "

screeningReport = "{screeningReport}, Life Threat {covidLifeThreat} "
screeningReport = "{screeningReport}, Contact {covidContact} "

screeningReport = "{screeningReport} \nSymptoms \n"
screeningReport = "{screeningReport}Fever {covidFever} "
screeningReport = "{screeningReport}, Breathing {covidBreath} "
screeningReport = "{screeningReport}, Severe Breathing {covidSevereBreath} "
screeningReport = "{screeningReport}, Cough {covidCough} "
screeningReport = "{screeningReport}, Severe Cough {covidSevereCough} "
screeningReport = "{screeningReport}, BP {covidBP} "
screeningReport = "{screeningReport}, Severe BP {covidSevereBP} "
screeningReport = "{screeningReport}, Nose {covidNose} "
screeningReport = "{screeningReport}, Throat {covidThroat} "
screeningReport = "{screeningReport}, Muscle {covidMuscle} "
screeningReport = "{screeningReport}, Taste {covidTaste} "
screeningReport = "{screeningReport}, Fatigue {covidFatigue} "
screeningReport = "{screeningReport}, Nausea {covidNausea} "

screeningReport = "{screeningReport} \nComorbidities \n"
screeningReport = "{screeningReport}Lungs {covidLungs} "
screeningReport = "{screeningReport}, Heart {covidHeart} "
screeningReport = "{screeningReport}, Diabetes {covidDiabetes} "
screeningReport = "{screeningReport}, Neuro Cough {covidNeuroCough} "
screeningReport = "{screeningReport}, Weakened Immune {covidWeakImmune} "
screeningReport = "{screeningReport}, Dialysis {covidDialysis} "
screeningReport = "{screeningReport}, Liver {covidLiver} "
screeningReport = "{screeningReport}, Obesity {covidObesity} "
screeningReport = "{screeningReport}, Pregnancy {covidPregnancy} "
screeningReport = "{screeningReport} \nComorbidities Total {covidComorbiditiesCount} \n"

screeningReport = "{screeningReport}Nursing Home or Facility {covidNursingHome} "
screeningReport = "{screeningReport}, Care Giving {covidCareGiver} "

Name Speak: "Robbie", "<prosody rate="x-fast">This is your Screening Report {screeningReport}</prosody>"

Name Speak: "Robbie", "Report ready to email. Say cancel to not send the email, or say send to send."
voice_input(userInput)
if {userInput} == "cancel":
Goto: screeningComplete

Email: "Neon COVID Screening Report", screeningReport


@screeningComplete

Name Speak: "Robbie", "Would you like to restart the demonstration Covid-19 screening application test?"
voice_input(userInput)
if {userInput} IN {yesList}:
Name Speak: "Robbie", "Would you like to erase all your answers before restarting the demonstration Covid-19 screening application test?"
voice_input(userInput)
if {userInput} IN {yesList[*]}:
Name Speak: "Robbie", "Erasing current test answers and restarting."
Goto: restartCovidScreening
Name Speak: "Robbie", "Restarting screening test with current test answers."
Goto: startCovidScreening

Name Speak: "Robbie", "Thank you {userName} for testing the Neon AI Conversational Covid 19 Screening Script. "Robbie", signing off."
Name Speak: "Robbie", "Would you like to test the Neon AI Patient Assistant Script?"
voice_input {askReturnValue}
if {askReturnValue} IN {yesList[*]}:
Name Reconvey: "Robbie", "Transferring to Pat, our Patient Assistant demonstration. Goodbye {userName}.", "Goodbye"
Execute : "Run the patient assistant script"
# Name Speak : Robbie :"</speak>Neon run the Patient Assistant script starting at SCRIPTENTRY"
exit
# Name Speak: "Robbie", "Lastly, would you like to test the Neon AI Conversational Script Menu?"
# voice_input {askReturnValue}
# if {askReturnValue} IN {yesList[*]}:
# Name Speak: "Robbie", "Transferring to Otto, our Conversational Script Menu Assistant demonstration. Goodbye {userName}."
# Name Speak: "Robbie", "</speak>Neon run the script menu script starting at SCRIPTENTRY"
# exit

Name Speak: "Robbie", "Thank you {userName} for helping me practice my conversational skills and letting me practice help you."

exit
Daniel McKnight daniel@neongecko.com
94 Star/flag Script Upload: Submission #94 Lock Script Upload: Submission #94 Add notes to Script Upload: Submission #94 Mon, 06/08/2020 - 14:34 imedqo 24.19.150.34 Covid 19 Covid 19 script Script: "Covid 19"
Language: "en-us male"
@restartCovidScreening


Name Speak : Robbie : "</speak>Version 20200709 17:40 Demo Covid-19 Screening Application"

Variable: {userName} : ""
Variable: {covidUserRef} : ""
Variable: {covidIll} : ""
Variable: {covidAge} : ""
Variable: {covidLifeThreat} : ""
Variable: {covidContact} : ""
Variable: {covidFever} : ""
Variable: {covidBreath} : ""
Variable: {covidSevereBreath} : ""
Variable: {covidCough} : ""
Variable: {covidSevereCough} : ""
Variable: {covidBP} : ""
Variable: {covidSevereBP} : ""
Variable: {covidNose} : ""
Variable: {covidThroat} : ""
Variable: {covidMuscle} : ""
Variable: {covidTaste} : ""
Variable: {covidFatigue} : ""
Variable: {covidNausea} : ""
Variable: {covidLungs} : ""
Variable: {covidHeart} : ""
Variable: {covidDiabetes} : ""
Variable: {covidNeuroCough} : ""
Variable: {covidWeakImmune} : ""
Variable: {covidDialysis} : ""
Variable: {covidLiver} : ""
Variable: {covidObesity} : ""
Variable: {covidPregnancy} : ""
Variable: {covidComorbiditiesCount} : ""
Variable: {covidNursingHome} : ""
Variable: {covidCareGiver} : ""

Variable: {True}: 1
Variable: {False}: 0

Variable: {yesNoList} = “yes”, “no”

Variable: {yesList} = "yes", "sure", "very", "yup", "y"
Variable: {noList} = “no”, “not”, "I don't have", "nope", "n"
# {ignoreList} = "I'm", "a", "the", "thanks", "thank you" # Prepositions and articles to ignore ..

Variable: {detailsList} = "details", "more details", "tell me more"

Variable: {userSelfRefsList} = "self", "myself", "me"
Variable: {userElseRefsList} = "else", "someone else", "friend"

Name Speak : Robbie : "<speak></speak>This demonstration is based on the CDC's guide recommendations for Covid-19 phone screening, as of June 2020, and should not be considered a CDC or medically approved application at this time.”
# Name Speak: Robbie : "<speak></speak>Some text to print and not speak."


#GREETING

@startCovidScreening

Name Speak : Robbie : "Thank you for interacting with the demonstration Neon virtual examination room and Covid-19 conversational screening application beta test."
Name Speak : Robbie : "My name is Neon Robbie."
Name Speak : Robbie : "What is your name?"
voice_input{userName}
Name Speak : Robbie : "Hi {userName} . I am glad you chose to talk with me about Covid-19 symptoms."

@promptMoreAppInfo

Name Speak : Robbie : "Before starting the screening, would you like more information on the Neon conversational Covid-19 demo screening application?"
voice_input{moreAppInfo}
#if {moreAppInfo} !IN {yesNoList[*]}:
# Goto: promptMoreAppInfo
#if {moreAppInfo} IN {noList[*]}:
if {moreAppInfo} IN {noList[*]}:
Goto: BeginScreening
Name Speak : Robbie : "The Neon conversational demonstration Covid-19 screening application is based on the Center for Disease Control and Prevention recommendations for the Coronavirus Disease 2019 Telephone Response Guide. The Covid-19 screening script is available at CDC dot gov website. </speak>https://www.cdc.gov/coronavirus/2019-ncov/hcp/phone-guide/ "

@BeginScreening

Name Speak : Robbie : "Your beta test virtual exam room is ready."
Name Speak : Robbie : "In response to screening questions you can say details to hear more details.”
# Name Speak : Robbie : "or you can say previous question, or start over."

@promptUserRef
Name Speak : Robbie : "Are you asking for help for yourself or for someone else?"
voice_input{covidUserRef}
if {covidUserRef} IN {detailsList[*]}:
Name Speak : Robbie : "For record keeping, we need to keep track of who we interact with."
Goto: promptUserRef
#if {covidUserRef} == "myself":
if {covidUserRef} IN {userSelfRefsList[*]}:
userRef1 = "have you"
userRef2 = "are you"
userRef3 = "do you"
userRef1C = "Have you"
userRef2C = "Are you"
userRef3C = "Do you"
else:
if {covidUserRef} IN {userElseRefsList[*]}:
userRef1 = "has the person you are calling about"
userRef2 = "is the person for whom you are calling"
userRef3 = "does the person you are calling about”
userRef1C = "Has the person you are calling about"
userRef2C = "Is the person for whom you are calling"
userRef3C = "Does the person you are calling about”
else
Name Speak : Robbie : "Sorry {userName} I didn't get that."
Goto: promptUserRef

Name Speak : Robbie : "Got it {userName}."


#TRIAGE


@promptIll
Name Speak : Robbie : "This audio guide is for people who are ill. {userRef2C} ill?"
# "Are you ill (or contacting on behalf of someone who is ill)?"
voice_input{covidIll}
if {covidIll} IN {detailsList[*]}:
Name Speak : Robbie : "We are demonstrating CDC's Covid-19 symptom screening for people who feel ill. If you are not showing symptoms of illness, then this screening system can not help you. If you are concerned you have Covid-19 infection you should contact your care advisor, since some people who have the Covid-19 infection are non-symptomatic."
Goto: promptUserRef
if {covidIll} IN {noList[*]}:
Name Speak : Robbie : "You're not symptomatic of Covid-19 but if you are concerned you have Covid-19 infection you should contact your care advisor."
Name Speak : Robbie : "Option for additional information on Covid-19 symptoms are in progress."
Goto: A-noSymptoms
# TODO: This could do something other than run exit, continue prompting? Ask to start over? Ask to check other symptoms?
# Exit - Only for sick people
else:
if {covidIll} IN {yesList[*]}:
Goto: promptAge
else:
if {covidIll} == "start over":
Goto: startCovidScreening
else:
Goto: promptIll


@promptAge
Name Speak : Robbie : "This audio guide is for people over 5. How many years old {userRef2} ?"
voice_input{covidAge}
if {covidAge} IN {detailsList[*]}:
Name Speak : Robbie : "This demonstration of conversational Covid-19 symptom screening is for people over the age of 5. Thank you for helping test the Neon Covid-19 screener."
Goto: promptAge
if {covidAge} < 5:
Goto: C-lessThanFive
else:
if {covidAge} >= 5:
Goto: promptLifeThreatening
else:
Goto: promptAge


# LIFE THREATENING


@promptLifeThreatening
Name Speak : Robbie : "{userRef3C} have a life-threatening emergency medical condition? Say details for details."
voice_input{covidLifeThreat}
if {covidLifeThreat} IN {noList[*]}:
Goto: promptContact
else:
# if {covidLifeThreat} == "details":
if {covidLifeThreat} IN {detailsList[*]}:
Name Speak : Robbie : "Life-threatening emergency medical conditions include these symptoms:"
Name Speak : Robbie : "Extremely difficult breathing (can’t talk without gasping for air); "
Name Speak : Robbie : "Blue-colored lips or face; Severe, constant dizziness or lightheadedness; "
Name Speak : Robbie : "Acting confused or inability to arouse; new or worsening slurred speech;"
Name Speak : Robbie : "New onset of seizures or seizures that won’t stop; and "
Name Speak : Robbie : "Other life-threatening emergency signs.”
Name Speak : Robbie : "Anyone with a life-threatening emergency should immediately call 911.”
Name Speak : Robbie : "Thank you for helping test the Neon Covid-19 screener."
Goto: promptLifeThreatening
if {covidLifeThreat} !IN {yesList[*]}:
Goto: promptLifeThreatening
Goto: B-call911


# SCREEN FOR SYMPTOMS


@promptContact
Name Speak : Robbie : "In the two weeks leading up to feeling sick {userRef1} had contact with someone who was diagnosed with COVID-19, or live in or recently visited a place where COVID-19 is spreading?”
voice_input{covidContact}
if {covidContact} IN {detailsList[*]}:
Name Speak : Robbie : "It is important for record keeping to keep track of known contacts to people or places that expose them to Covid-19. Thank you for helping test the Neon Covid-19 screener."
Goto: promptContact
if {covidContact} IN {noList[*]}:
covidContact = {False}
else:
if {covidContact} !IN {yesList[*]}:
Goto: promptContact
covidContact = {True}


# SYMPTOMS


@promptFever
Name Speak : Robbie : "{userRef3C} have a fever or felt hot or feverish in the last two days?"
voice_input{covidFever}
if {covidFever} IN {detailsList[*]}:
Name Speak : Robbie : "People with a fever over 100.4, and trouble breathing, persistent pain or pressure in the chest, bluish lips or face, or new confusion or fainting, should immediately seek emergency medical care, should limit contact with others and be tested for Covid-19. For fever-reducing medications acetaminophen is recommended (for example Tylenol). Thank you for helping test the Neon Covid-19 screener."
Goto: promptFever
if {covidFever} IN {noList[*]}:
covidFever = {False}
else:
if {covidFever} !IN {yesList[*]}:
Goto: promptFever
covidFever = {True}
# Add -
# Ask “Were you able to measure the temperature with a thermometer?”
# Yes: Ask “What was the temperature and when was it measured?”
# If No: Ask “Are you/they experiencing shaking, chills, or sweating? Do you/they feel very warm to the touch?”
# Ask “When did the fever/feverishness start?”
# Ask “Was fever-reducing medication given?”
# Details: WHO recommends acetaminophen (for example Tylenol). NOT nonsteroidal anti-inflammatory drugs, NSAIDs, for example ibuprofen (like Advil), naproxen (like Aleve), aspirin, and others.
# Details: Examples of fever-reducing medications include acetaminophen (for example Tylenol) and nonsteroidal anti-inflammatory drugs, or NSAIDs, for example ibuprofen (like Advil), naproxen (like Aleve), aspirin, and others.
# If Yes: Ask “How long ago was the medication taken?”

@promptBreath
Name Speak : Robbie : "{userRef3C} have shortness of breath?"
voice_input{covidBreath}
if {covidBreath} IN {detailsList[*]}:
Name Speak : Robbie : "People with trouble breathing and a fever over 100.4, persistent pain or pressure in the chest, bluish lips or face, or new confusion or fainting, should immediately seek emergency medical care, should limit contact with others and be tested for Covid-19. Thank you for helping test the Neon Covid-19 screener."
Goto: promptBreath
if {covidBreath} IN {noList[*]}:
covidBreath = {False}
covidSevereBreath = {False}
else:
if {covidBreath} !IN {yesList[*]}:
Goto: promptBreath
covidBreath = {True}
@promptSevereBreath
Name Speak : Robbie : "{userRef3C} have severe shortness of breath, such as difficulty talking or walking across the room without stopping to breath, or fainting?"
voice_input{covidSevereBreath}
if {covidSevereBreath} IN {yesList[*]} :
covidSevereBreath = {True}
Name Speak : Robbie : "People having severe shortness of breath need urgent care and should call 911 or immediately go to the emergency department."
Goto: B-call911
else:
if {covidSevereBreath} !IN {noList[*]}:
Goto: promptSevereBreath
covidSevereBreath = {False}

@promptCough
Name Speak : Robbie : "{userRef3C} have a cough?"
voice_input{covidCough}
if {covidCough} IN {detailsList[*]}:
Name Speak : Robbie : "People with a cough, trouble breathing, persistent pain or pressure in the chest, and a fever over 100.4, or bluish lips or face, or new confusion, or fainting, should immediately seek emergency medical care, should limit contact with others and be tested for Covid-19. Thank you for helping test the Neon Covid-19 screener."
Goto: promptCough
if {covidCough} IN {noList[*]}:
covidCough = {False}
covidSevereCough = {False}
else:
if {covidCough} !IN {yesList[*]}:
Goto: promptCough
covidCough = {True}
@promptSevereCough
Name Speak : Robbie : "{userRef1C} coughed up a teaspoon of blood?"
voice_input{covidSevereCough}
if {covidSevereCough} IN {yesList[*]} :
covidSevereCough = {True}
Name Speak : Robbie : "People having severe coughing (termed hemoptysis) should go to the emergency department."
Goto : D-gotoEmergency
if {covidSevereCough} !IN {noList[*]}:
Goto: promptSevereCough
covidSevereCough = {False}


@promptBP
Name Speak : Robbie : "{userRef3C} have low blood pressure? Signs of low blood pressure can include cold, pale, or clammy skin; or feeling too light-headed and too weak to stand."
voice_input{covidBP}
if {covidBP} IN {detailsList[*]}:
Name Speak : Robbie : "People with a symptom of very low blood pressure, such as new confusion or fainting or being too weak to stand, should immediately seek emergency medical care. Thank you for helping test the Neon Covid-19 screener."
Goto: promptBP
if {covidBP} IN {noList[*]}:
covidBP = {False}
covidSevereBP = {False}
else:
if {covidBP} !IN {yesList[*]}:
Goto: promptBP
covidBP = {True}
@promptSevereBP
Name Speak : Robbie : "{userRef3C} have severe low BP hypotension such as not being able to stand?"
voice_input{covidSevereBP}
if {covidSevereBP} IN {yesList[*]} :
covidSevereBP = {True}
Name Speak : Robbie : "People having severe low blood pressure symptoms should go to the emergency department."
Goto : D-gotoEmergency
if {covidSevereBP} !IN {noList[*]}:
Goto: promptSevereBP
covidSevereBP = {False}


@promptNose
Name Speak : Robbie : "{userRef3C} have a runny or stuffy nose?"
voice_input{covidNose}
if {covidNose} IN {detailsList[*]}:
Name Speak : Robbie : "It is important for record keeping to keep track of symptoms related to Covid-19. Thank you for helping test the Neon Covid-19 screener."
Goto: promptNose
if {covidNose} IN {noList[*]}:
covidNose = {False}
else:
if {covidNose} !IN {yesList[*]}:
Goto: promptNose
covidNose = {True}


@promptThroat
Name Speak : Robbie : "{userRef3C} have a sore throat?"
voice_input{covidThroat}
if {covidThroat} IN {detailsList[*]}:
Name Speak : Robbie : "It is important for record keeping to keep track of symptoms related to Covid-19. Thank you for helping test the Neon Covid-19 screener."
Goto: promptThroat
if {covidThroat} IN {noList[*]}:
covidThroat = {False}
else:
if {covidThroat} !IN {yesList[*]}:
Goto: promptThroat
covidThroat = {True}


@promptMuscle
Name Speak : Robbie : "{userRef3C} have muscle aches or pains?"
voice_input{covidMuscle}
if {covidMuscle} IN {detailsList[*]}:
Name Speak : Robbie : "It is important for record keeping to keep track of symptoms related to Covid-19. Thank you for helping test the Neon Covid-19 screener."
Goto: promptMuscle
if {covidMuscle} IN {noList[*]}:
covidMuscle = {False}
else:
if {covidMuscle} !IN {yesList[*]}:
Goto: promptMuscle
covidMuscle = {True}


@promptTaste
Name Speak : Robbie : "{userRef3C} have a new loss of taste or smell?"
voice_input{covidTaste}
if {covidTaste} IN {detailsList[*]}:
Name Speak : Robbie : "It is important for record keeping to keep track of symptoms related to Covid-19. Thank you for helping test the Neon Covid-19 screener."
Goto: promptTaste
if {covidTaste} IN {noList[*]}:
covidTaste = {False}
else:
if {covidTaste} !IN {yesList[*]}:
Goto: promptTaste
covidTaste = {True}


@promptFatigue
Name Speak : Robbie : "{userRef3C} have unusual tiredness, fatigue or malaise?"
voice_input{covidFatigue}
if {covidFatigue} IN {detailsList[*]}:
Name Speak : Robbie : "It is important for record keeping to keep track of symptoms related to Covid-19. Thank you for helping test the Neon Covid-19 screener."
Goto: promptFatigue
if {covidFatigue} IN {noList[*]}:
covidFatigue = {False}
else:
if {covidFatigue} !IN {yesList[*]}:
Goto: promptFatigue
covidFatigue = {True}


@promptNausea
Name Speak : Robbie : "{userRef3C} have nausea, vomiting, or diarrhea"
voice_input{covidNausea}
if {covidNausea} IN {detailsList[*]}:
Name Speak : Robbie : "It is important for record keeping to keep track of symptoms related to Covid-19. Thank you for helping test the Neon Covid-19 screener."
Goto: promptNausea
if {covidNausea} IN {noList[*]}:
covidNausea = {False}
else:
if {covidNausea} !IN {yesList[*]}:
Goto: promptNausea
covidNausea = {True}


#HIGH RISK


Name Speak : Robbie : "I am now going to ask questions about ongoing medical conditions including pregnancy."


@promptLungs
Name Speak : Robbie : "{userRef3C} have chronic lung diseases?"
# Details: "like asthma, chronic obstructive pulmonary disease [chronic bronchitis or emphysema], or other chronic conditions associated with impaired lung function or that require home oxygen?"
voice_input{covidLungs}
if {covidLungs} IN {detailsList[*]}:
Name Speak : Robbie : "Chronic lung diseases include asthma, chronic obstructive pulmonary disease, chronic bronchitis or emphysema, or other chronic conditions associated with impaired lung function or that require home oxygen. People with ongoing medical conditions are more at risk of severe symptoms from Covid-19. Thank you for helping test the Neon Covid-19 screener."
Goto: promptLungs
if {covidLungs} IN {noList[*]}:
covidLungs = {False}
else:
if {covidLungs} !IN {yesList[*]}:
Goto: promptLungs
covidLungs = {True}


@promptHeart
Name Speak : Robbie : "{userRef3C} have congestive heart failure?"
voice_input{covidHeart}
if {covidHeart} IN {detailsList[*]}:
Name Speak : Robbie : "Congestive heart failure includes coronary artery blockage, heart attack, valve disease or congenital heart disease, and resulting in the heart not being able to pump efficiently and reduced blood flow. People with ongoing medical conditions are more at risk of severe symptoms from Covid-19. Thank you for helping test the Neon Covid-19 screener."
Goto: promptHeart
if {covidHeart} IN {noList[*]}:
covidHeart = {False}
else:
if {covidHeart} !IN {yesList[*]}:
Goto: promptHeart
covidHeart = {True}


@promptDiabetes
Name Speak : Robbie : "{userRef3C} have diabetes with complications?"
# Details: "like limb amputation, kidney disease, vision problems, heart disease, history of stroke, or, especially if they have uncontrolled diabetes or other complications?"
voice_input{covidDiabetes}
if {covidDiabetes} IN {detailsList[*]}:
Name Speak : Robbie : "Complications of diabetes include limb amputation, kidney disease, vision problems, heart disease, history of stroke, or, especially uncontrolled diabetes or other complications. People with ongoing medical conditions are more at risk of severe symptoms from Covid-19. Thank you for helping test the Neon Covid-19 screener."
Goto: promptDiabetes
if {covidDiabetes} IN {noList[*]}:
covidDiabetes = {False}
else:
if {covidDiabetes} !IN {yesList[*]}:
Goto: promptDiabetes
covidDiabetes = {True}


@promptNeuroCough
Name Speak : Robbie : "{userRef3C} have neurological conditions that weaken ability to cough?"
# Details: "like disorders of the brain, spinal cord, peripheral nerve, and muscle such as cerebral palsy, epilepsy [seizure disorders], stroke, intellectual disability, moderate to severe developmental delay, muscular dystrophy, or spinal cord injury
voice_input{covidNeuroCough}
if {covidNeuroCough} IN {detailsList[*]}:
Name Speak : Robbie : "Neurological conditions that weaken ability to cough include disorders of the brain, spinal cord, peripheral nerve, and muscle such as cerebral palsy, epilepsy [seizure disorders], stroke, intellectual disability, moderate to severe developmental delay, muscular dystrophy, or spinal cord injury. People with ongoing medical conditions are more at risk of severe symptoms from Covid-19. Thank you for helping test the Neon Covid-19 screener."
Goto: promptNeuroCough
if {covidNeuroCough} IN {noList[*]}:
covidNeuroCough = {False}
else:
if {covidNeuroCough} !IN {yesList[*]}:
Goto: promptNeuroCough
covidNeuroCough = {True}


@promptWeakImmune
Name Speak : Robbie : "{userRef3C} have a weakened immune system?"
voice_input{covidWeakImmune}
if {covidWeakImmune} IN {detailsList[*]}:
Name Speak : Robbie : "A weakened immune system includes seeing a doctor for cancer and treatment such as chemotherapy or radiation, receiving an organ or bone marrow transplant, taking high doses of oral steroids or other immunosuppressant medications, HIV or AIDS. People with ongoing medical conditions are more at risk of severe symptoms from Covid-19. Thank you for helping test the Neon Covid-19 screener."
Goto: promptWeakImmune
if {covidWeakImmune} IN {noList[*]}:
covidWeakImmune = {False}
else:
if {covidWeakImmune} !IN {yesList[*]}:
Goto: promptImmune
covidWeakImmune = {True}


@promptDialysis
Name Speak : Robbie : "{userRef3C} have dialysis or under treatment for a kidney disease?"
voice_input{covidDialysis}
if {covidDialysis} IN {detailsList[*]}:
Name Speak : Robbie : "Dialysis includes any type of dialysis, and kidney diseases are not specified in the CDC guide recommendations. Additional details in progress. Thank you for helping test the Neon Covid-19 screener."
Goto: promptDialysis
if {covidDialysis} IN {noList[*]}:
covidDialysis = {False}
else:
if {covidDialysis} !IN {yesList[*]}:
Goto: promptDialysis
covidDialysis = {True}


@promptLiver
Name Speak : Robbie : "{userRef3C} have cirrhosis of the liver, chronic hepatitis or other liver disease?"
voice_input{covidLiver}
if {covidLiver} IN {detailsList[*]}:
Name Speak : Robbie : "Liver disease includes cirrhosis of the liver, chronic hepatitis or other liver disease, not are not specified in the CDC Covid-19 screening guide recommendations. Additional details in progress. People with ongoing medical conditions are more at risk of severe symptoms from Covid-19. Thank you for helping test the Neon Covid-19 screener."
Goto: promptLiver
if {covidLiver} IN {noList[*]}:
covidLiver = {False}
else:
if {covidLiver} !IN {yesList[*]}:
Goto: promptLiver
covidLiver = {True}


@promptObesity
Name Speak : Robbie : "{userRef3C} have extreme obesity?"
voice_input{covidObesity}
if {covidObesity} IN {detailsList[*]}:
Name Speak : Robbie : "Extreme obesity is Body Mass Index [BMI] greater than or equal to 40. People with ongoing medical conditions are more at risk of severe symptoms from Covid-19. Additional details in progress. Thank you for helping test the Neon Covid-19 screener."
Goto: promptObesity
if {covidObesity} IN {noList[*]}:
covidObesity = {False}
else:
if {covidObesity} !IN {yesList[*]}:
Goto: promptObesity
covidObesity = {True}


@promptPregnancy
Name Speak : Robbie : "{userRef3C} have a current pregnancy or pregnant in the last 2 weeks?"
voice_input{covidPregnancy}
if {covidPregnancy} IN {detailsList[*]}:
Name Speak : Robbie : "Pregnancy and recent pregnancy are considered ongoing medical conditions in the CDC Covid-19 screening guide. People with ongoing medical conditions are more at risk of severe symptoms from Covid-19. Thank you for helping test the Neon Covid-19 screener."
Goto: promptPregnancy
if {covidPregnancy} IN {noList[*]}:
covidPregnancy = {False}
else:
if {covidPregnancy} !IN {yesList[*]}:
Goto: promptPregnancy
covidPregnancy = {True}


# CALCULATE COMORBIDITIES AND ADVERSE RISKS


Python: covidComorbiditiesCount = {covidLungs} + {covidHeart} + {covidDiabetes} + {covidNeuroCough} + {covidDialysis} + {covidLiver} + {covidObesity} + {covidPregnancy}


if {covidComorbiditiesCount} >0 :
Name Speak : Robbie : "Important! You've reported significant underlying medical conditions and illness symptoms you are advised to contact a care provider and be seen within 24 hours."


# Add - Collect details? .. If history appears unreliable: Screen for other medical conditions. “Please tell me about any medicine that you/sick person take(s) daily or regularly.” Ask about current medications that might indicate underlying chronic conditions.


# CHECK IF CAREGIVER OR LIVING IN FACILITY


@promptNursingHome
Name Speak : Robbie : "{userRef3C} live in a nursing home or other long-term care facility?"
voice_input{covidNursingHome}
if {covidNursingHome} IN {noList[*]}:
covidNursingHome = {False}
else:
if {covidNursingHome} !IN {yesList[*]}:
Goto: promptNursingHome
covidNursingHome = {True}
covidCareGiver = {False}
Name Speak : Robbie : "It is important that you immediately report these symptoms to your nursing home or care facility immediately, including shortness of breath, fever or cough."
Goto: G-careFacilityReport


@promptCareGiver
Name Speak : Robbie : "{userRef3C} been involved as a worker, student or volunteer at a health care setting in the last two weeks?"
# Details: in the last two weeks worked or volunteered in a hospital, emergency room, clinic, medical office, ambulance service, first responder services, or any health care setting, or taken care of patients as a student as a part of your/their work?
voice_input{covidCareGiver}
if {covidCareGiver} IN {noList[*]}:
covidCareGiver = {False}
else:
if {covidCareGiver} !IN {yesList[*]}:
Goto: promptCareGiver
covidCareGiver = {True}
Name Speak : Robbie : "It is important that you immediately report your symptoms to the occupational health provider for the care facility where you were involved, including shortness of breath, fever or respiratory symptoms."
Goto: F-careGiverReport


# List Symptoms, Comorbidities & Risks


Name Speak : Robbie : "Would you like me to list your information including Symptoms and Comorbidities?"
voice_input(userInput)
if {userInput} IN {noList[*]}:
Goto: checkDispositions


Name Speak : Robbie : "I will list your information. Would you like me to read out loud?"
voice_input(userInput)
if {userInput} IN {noList[*]}:
varNoSpeak = "</speak>"
else
varNoSpeak = ""


varProsody = "rate='x-fast'"

Name Speak : Robbie : "{varNoSpeak} <prosody {varProsody}> User Name {userName} </prosody>"
Name Speak : Robbie : "{varNoSpeak} <prosody {varProsody}> User Ref {covidUserRef} </prosody>"
Name Speak : Robbie : "{varNoSpeak} <prosody {varProsody}> User Ill {covidIll} </prosody>"
Name Speak : Robbie : "{varNoSpeak} <prosody {varProsody}> User Age {covidAge} </prosody>"

Name Speak : Robbie : "{varNoSpeak} <prosody {varProsody}> Life Threat {covidLifeThreat} </prosody>"
Name Speak : Robbie : "{varNoSpeak} <prosody {varProsody}> Contact {covidContact} </prosody>"
Name Speak : Robbie : "{varNoSpeak} <prosody {varProsody}> Fever {covidFever} </prosody>"
Name Speak : Robbie : "{varNoSpeak} <prosody {varProsody}> Breathing {covidBreath} </prosody>"
Name Speak : Robbie : "{varNoSpeak} <prosody {varProsody}> Severe Breathing {covidSevereBreath} </prosody>"
Name Speak : Robbie : "{varNoSpeak} <prosody {varProsody}> Cough {covidCough} </prosody>"
Name Speak : Robbie : "{varNoSpeak} <prosody {varProsody}> Severe Cough {covidSevereCough} </prosody>"
Name Speak : Robbie : "{varNoSpeak} <prosody {varProsody}> BP {covidBP} </prosody>"
Name Speak : Robbie : "{varNoSpeak} <prosody {varProsody}> Severe BP {covidSevereBP} </prosody>"
Name Speak : Robbie : "{varNoSpeak} <prosody {varProsody}> Nose {covidNose} </prosody>"
Name Speak : Robbie : "{varNoSpeak} <prosody {varProsody}> Throat {covidThroat} </prosody>"
Name Speak : Robbie : "{varNoSpeak} <prosody {varProsody}> Muscle {covidMuscle} </prosody>"
Name Speak : Robbie : "{varNoSpeak} <prosody {varProsody}> Taste {covidTaste} </prosody>"
Name Speak : Robbie : "{varNoSpeak} <prosody {varProsody}> Fatigue {covidFatigue} </prosody>"
Name Speak : Robbie : "{varNoSpeak} <prosody {varProsody}> Nausea {covidNausea} </prosody>"

Name Speak : Robbie : "{varNoSpeak} <prosody {varProsody}> Comorbidities </prosody>"
Name Speak : Robbie : "{varNoSpeak} <prosody {varProsody}> Lungs {covidLungs} </prosody>"
Name Speak : Robbie : "{varNoSpeak} <prosody {varProsody}> Heart {covidHeart} </prosody>"
Name Speak : Robbie : "{varNoSpeak} <prosody {varProsody}> Diabetes {covidDiabetes} </prosody>"
Name Speak : Robbie : "{varNoSpeak} <prosody {varProsody}> Neuro Cough {covidNeuroCough} </prosody>"
Name Speak : Robbie : "{varNoSpeak} <prosody {varProsody}> Weakened Immune {covidWeakImmune} </prosody>"
Name Speak : Robbie : "{varNoSpeak} <prosody {varProsody}> Dialysis {covidDialysis} </prosody>"
Name Speak : Robbie : "{varNoSpeak} <prosody {varProsody}> Liver {covidLiver} </prosody>"
Name Speak : Robbie : "{varNoSpeak} <prosody {varProsody}> Obesity {covidObesity} </prosody>"
Name Speak : Robbie : "{varNoSpeak} <prosody {varProsody}> Pregnancy {covidPregnancy} </prosody>"
Name Speak : Robbie : "{varNoSpeak} <prosody {varProsody}> Comorbidities Total {covidComorbiditiesCount} </prosody>"

Name Speak : Robbie : "{varNoSpeak} <prosody {varProsody}> Nursing Home or Facility {covidNursingHome} </prosody>"
Name Speak : Robbie : "{varNoSpeak} <prosody {varProsody}> Care Giving {covidCareGiver} </prosody>"


@checkDispositions
Name Speak : Robbie : "Neon AI test - Checking for Dispositions for the reported symptoms."


# CALCULATE D-gotoEmergency DISPOSITION


Python: covidEmergencyCount = {covidSevereBreath} + {covidSevereCough} + {covidSevereBP}
if {covidEmergencyCount} >0 :
Name Speak : Robbie : "People with these severe symptoms are advised to immediately go to the Emergency Department."
Goto: D-gotoEmergency


# CALCULATE E-callMedicalProvider DISPOSITION
# TODO: ‘*’ is not a valid character
Python: covidProvider24Count = {covidBreath} + ( {covidFever} * {covidComorbiditiesCount} ) + ( {covidCough} * {covidComorbiditiesCount} )
if {covidProvider24Count} >0 :
Name Speak : Robbie : "People with the reported symptoms are advised to call a medical provider within 24 hours, and are encouraged to participate in tele-health options from their health care provider."
Goto: E-callMedicalProvider


# CALCULATE BREATHING DISPOSITIONS


if {covidBreath}:
if {covidComorbiditiesCount} >= 1:
Goto: B-call911
Goto: D-gotoEmergency


# CALCULATE H-selfCare DISPOSITION


Python: covidStayHomeCount = {covidFever} + {covidFever} + {covidCough}


if {covidStayHomeCount} >0 :
Name Speak : Robbie : "People with the reported symptoms are advised to stay home and call their health care provider if they get worse, and are encouraged to participate in tele-health options from their health care provider."
Goto: H-selfCare


# TODO: Goto line here to catch no response, different response for completion vs not ill DM
# NO SYMPTOMS - A
@A-noSymptoms
Name Speak : Robbie : "The Neon AI triage service is intended for people who are ill or caring for someone who is ill. For general information about coronavirus disease 2019 (COVID-19), please refer to the Centers for Disease Control and Prevention (CDC) website. Do you have something to write with? The CDCs website is www.cdc.gov/COVID19."
Goto: promptCreateReport


#CALL 911 - B
@B-call911
Name Speak : Robbie : "Immediate medical attention is needed. You need to call 911 now. Tell the 911 operator if you have been in contact with someone with COVID-19 or if you have recently been to an area where COVID-19 is spreading."
Goto: promptCreateReport


#CHILD LESS THAN 5 YEARS OLD - C
@C-lessThanFive
Name Speak : Robbie : "This triage line is intended for children who are at least five years old and adults. If your child is younger than five years old and is sick, please contact their medical provider as soon as possible. If your child has had contact with a person who is sick with COVID-19 or has been in an area with community spread of COVID-19, please let their medical providers know."
Goto: promptCreateReport


#GO TO EMERGENCY DEPARTMENT - D
@D-gotoEmergency
Name Speak : Robbie : "Urgent medical attention is needed. You need to go to your nearest emergency department. If you have had contact with a person who is sick with COVID-19 or you have been in an area with community spread of COVID-19, please let your medical providers know as soon as you arrive at the emergency department."
Goto: promptCreateReport


#CONTACT MEDICAL PROVIDER WITHIN 24 HOURS - E
@E-gotoMedicalProvider
Name Speak : Robbie : "You have some symptoms that may be related to COVID-19. Stay home except to get medical care. Separate yourself from others in your home. Wear a facemask, if possible. Clean your hands often. Avoid sharing personal household items. Clean all high-touch surfaces everyday. Monitor your symptoms and seek prompt medical attention if your illness is worsening."
Goto: promptCreateReport


#CONTACT OCCUPATIONAL HEALTH PROVIDER AT WORK - F
@F-careGiverReport
Name Speak : Robbie : "Contact an occupational health provider in your healthcare facility as soon as possible. If you have cared for a person who is sick with COVID-19 or have been in an area with community spread of COVID-19, please let your occupational health provider know as soon as you speak with them."
Goto: promptCreateReport


#CONTACT HEALTHCARE PROVIDER IN LONG TERM CARE FACILITY - G
@G-careFacilityReport
Name Speak : Robbie : "You may be at higher risk for severe illness since you live in a nursing home or a long-term care facility. Tell a caregiver at the facility that you are sick and need to see a medical provider as soon as possible."
Goto: promptCreateReport


#STAY HOME AND TAKE CARE OF YOURSELF. CONTACT PROVIDER IF THINGS GET WORSE - H
@H-selfCare
Name Speak : Robbie : "Sorry you are feeling ill. You have one or more symptom(s) that may be related to COVID-19. Stay home and take care of yourself. Please follow steps to prevent others in your household or community from getting sick."
Goto: promptCreateReport


# Not Done Yet - Z
@Z-inProgress
Name Speak : Robbie : "I'm sorry {userName} I'm not programmed for that answer yet. I'm sorry you are feeling ill. You have one or more symptom(s) that may be related to COVID-19. Stay home and take care of yourself. Please follow steps to prevent others in your household or community from getting sick."
Goto: promptCreateReport


# CREATE REPORT

@promptCreateReport
Name Speak : Robbie : "Would you like me to send you an email with the information you have reported today, including User info, Symptoms and Comorbidities?"
voice_input(userInput)
if {userInput} IN {noList[*]}:
Goto: screeningComplete

Variable: screeningReport
screeningReport = "User Name {userName} "
screeningReport = "{screeningReport}, User Ref {covidUserRef} "
screeningReport = "{screeningReport}, Ill {covidIll} "
screeningReport = "{screeningReport}, Age {covidAge} "

screeningReport = "{screeningReport}, Life Threat {covidLifeThreat} "
screeningReport = "{screeningReport}, Contact {covidContact} "

screeningReport = "{screeningReport} \nSymptoms \n"
screeningReport = "{screeningReport}Fever {covidFever} "
screeningReport = "{screeningReport}, Breathing {covidBreath} "
screeningReport = "{screeningReport}, Severe Breathing {covidSevereBreath} "
screeningReport = "{screeningReport}, Cough {covidCough} "
screeningReport = "{screeningReport}, Severe Cough {covidSevereCough} "
screeningReport = "{screeningReport}, BP {covidBP} "
screeningReport = "{screeningReport}, Severe BP {covidSevereBP} "
screeningReport = "{screeningReport}, Nose {covidNose} "
screeningReport = "{screeningReport}, Throat {covidThroat} "
screeningReport = "{screeningReport}, Muscle {covidMuscle} "
screeningReport = "{screeningReport}, Taste {covidTaste} "
screeningReport = "{screeningReport}, Fatigue {covidFatigue} "
screeningReport = "{screeningReport}, Nausea {covidNausea} "

screeningReport = "{screeningReport} \nComorbidities \n"
screeningReport = "{screeningReport}Lungs {covidLungs} "
screeningReport = "{screeningReport}, Heart {covidHeart} "
screeningReport = "{screeningReport}, Diabetes {covidDiabetes} "
screeningReport = "{screeningReport}, Neuro Cough {covidNeuroCough} "
screeningReport = "{screeningReport}, Weakened Immune {covidWeakImmune} "
screeningReport = "{screeningReport}, Dialysis {covidDialysis} "
screeningReport = "{screeningReport}, Liver {covidLiver} "
screeningReport = "{screeningReport}, Obesity {covidObesity} "
screeningReport = "{screeningReport}, Pregnancy {covidPregnancy} "
screeningReport = "{screeningReport} \nComorbidities Total {covidComorbiditiesCount} \n"

screeningReport = "{screeningReport}Nursing Home or Facility {covidNursingHome} "
screeningReport = "{screeningReport}, Care Giving {covidCareGiver} "

Name Speak : Robbie : "<prosody rate="x-fast">This is your Screening Report {screeningReport}</prosody>"

Name Speak : Robbie : "Report ready to email. Say cancel to not send the email, or say send to send."
voice_input(userInput)
if {userInput} == "cancel":
Goto: screeningComplete

Email: “Neon COVID Screening Report”, screeningReport


@screeningComplete

Name Speak : Robbie : "Would you like to restart the demonstration Covid-19 screening application test?"
voice_input(userInput)
if {userInput} IN {yesList}:
Name Speak : Robbie : "Would you like to erase all your answers before restarting the demonstration Covid-19 screening application test?"
voice_input(userInput)
if {userInput} IN {yesList[*]}:
Name Speak : Robbie : "Erasing current test answers and restarting."
Goto: restartCovidScreening
Name Speak : Robbie : "Restarting screening test with current test answers."
Goto: startCovidScreening

Name Speak : Robbie : "Thank you {userName} for testing the Neon AI Conversational Covid 19 Screening Script. Robbie, signing off."
Name Speak : Robbie : "Would you like to test the Neon AI Patient Assistant Script?"
voice_input {askReturnValue}
if {askReturnValue} IN {yesList[*]}:
Name Speak : Robbie : "Transferring to Pat, our Patient Assistant demonstration. Goodbye {userName}."
Execute : "Run the patient assistant script"
# Name Speak : Robbie :"</speak>Neon run the Patient Assistant script starting at SCRIPTENTRY"
exit
# Name Speak : Robbie : "Lastly, would you like to test the Neon AI Conversational Script Menu?"
# voice_input {askReturnValue}
# if {askReturnValue} IN {yesList[*]}:
# Name Speak : Robbie : "Transferring to Otto, our Conversational Script Menu Assistant demonstration. Goodbye {userName}."
# Name Speak : Robbie : "</speak>Neon run the script menu script starting at SCRIPTENTRY"
# exit

Name Speak : Robbie : "Thank you {userName} for helping me practice my conversational skills and letting me practice help you."

exit


j j j@j.com
84 Star/flag Script Upload: Submission #84 Lock Script Upload: Submission #84 Add notes to Script Upload: Submission #84 Wed, 05/06/2020 - 12:54 Anonymous 50.35.82.111 Demo Guess Number Timeout Neon will select a number between 1 and 10 at random and give hints until the user guesses correctly. If there is no response for 15 seconds, the script will exit Script: "Demo Guess Number Timeout"
Author: Daniel McKnight
Timeout: 15
Description:
Neon will select a number between 1 and 10 at random
and give hints until the user guesses correctly. If there is no response for 15 seconds, the script will exit

Variable: numbers = 1, 2, 3, 4, 5, 6, 7, 8, 9, 10
Variable: neon_num = random(numbers)
Variable: user_guess = ""

Set: neon_num = random(numbers)
Neon speak:
# "My number is {neon_num}"
"I'm thinking of a number between 1 and 10"
"Guess what it is or say 'exit'"
LOOP guess
voice_input{user_guess}
if {user_guess} in {numbers}:
if {user_guess} == {neon_num}:
Neon speak: "You guessed it!"
Exit
if {user_guess} > {neon_num}:
Neon speak: "Lower"
LOOP guess END
if {user_guess} < {neon_num}:
Neon speak: "Higher"
LOOP guess END
else
if {user_guess} != "exit":
Neon speak:
"That's not a valid guess, try again."
LOOP guess END
Exit
Daniel McKnight daniel@neongecko.com
47 Star/flag Script Upload: Submission #47 Lock Script Upload: Submission #47 Add notes to Script Upload: Submission #47 Tue, 11/19/2019 - 14:03 Anonymous 73.109.151.117 Weather Loop Demo Weather Loop Demo Script: "Demo Weather Loop"
Variable: {location}: ""
Variable: {forecast}: ""
LOOP WW
Neon speak:
"Say A or Athens for the weather in Athens"
"Say B or Bombay for the weather in Bombay"
"Say S or Seattle for the weather in Seattle"
"Say exit to exit"
voice_input{location}
Case {location}:
"A or Athens"
Execute: "What is the weather in Athens"
Neon speak: "about to repeat A"
"B or Bombay"
Execute: "What is the weather in Bombay"
Neon speak:
"say 10 day or 5 day forecast"
voice_input{forecast}
Case {forecast}:
"10 day or 10"
Execute: "What is the 10 day forecast for Bombay"
"5 day or 5"
Execute: "What is the 5 day forecast for Bombay"
Neon speak: "about to repeat B"
"S or Seattle"
Execute: "What is the weather in Seattle"
Neon speak: "about to repeat S"
Neon speak:
"End of loop WW."
LOOP WW END
Neon speak: "I'm done now."
Exit

Daniel daniel@neongecko.com
76 Star/flag Script Upload: Submission #76 Lock Script Upload: Submission #76 Add notes to Script Upload: Submission #76 Wed, 01/22/2020 - 15:15 imedqo 73.109.151.117 Eddie A skill file for Eddie, who is good at searching for music and movies. Script: "Eddie"
Variable: {name}: ""
Variable: {more}: ""
Language: "en-gb male"
Name Speak : Eddie : "Welcome to the Neongecko Intro, My name is Eddie."
Name Speak : Eddie : "What is your name?"
voice_input{name}
Name Speak : Eddie : "hi {name}"
Name Speak : Eddie : " I am good at searching for your favorite music and videos”
Name Speak : Eddie : "You can ask me to play songs, albums, artists, shows, movies, and more."
Name Speak : Eddie : "If your microphone and speakers are enabled you can ask me questions out loud, and hear my answers. Otherwise you can type your questions in the box, after this start up exits."
EXIT
josh josh@neongecko.com
43 Star/flag Script Upload: Submission #43 Lock Script Upload: Submission #43 Add notes to Script Upload: Submission #43 Tue, 11/19/2019 - 14:00 Anonymous 73.109.151.117 Good Morning short good morning script Script: "Good Morning"
Neon speak: "Good Morning"
"The time is"
Execute: "What time is it"
Neon speak: "The weather is"
Execute: "what is the weather"
Neon speak: "Thank you for starting me up. I look forward to talking with you"
Exit
Daniel daniel@neongecko.com