Skip to content

Commit 8ea71da

Browse files
authored
Merge pull request #11 from cmayomsft/cmayo/test-pipe
Adding back Assessment.
2 parents f44e812 + efcaf85 commit 8ea71da

1 file changed

Lines changed: 255 additions & 0 deletions

File tree

Lines changed: 255 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,255 @@
1+
{
2+
"name": "COVID-19 Assessment",
3+
"id": "05374cc5-0726-4aaf-9f0e-bc224dbcf1c5",
4+
"scenario_trigger": "covid19_assessment",
5+
"description": "Provide guidance to patients on COVID-19 with a remote virtual assessment",
6+
"active": true,
7+
"updated": "2020-04-15T17:38:04.3Z",
8+
"userDisplayName": "Chris Mayo",
9+
"code": {
10+
"version": 3,
11+
"steps": [
12+
{
13+
"id": "e54e97d5f13f-8ba39779bf4ddc10-183d",
14+
"type": "statement",
15+
"designer": {
16+
"xLocation": 220,
17+
"yLocation": 60,
18+
"next": "cace401dfe02-61d5f27faaca275a-bb18"
19+
},
20+
"text": "CMayo TEST 202004151118 - Hi, I'm here to guide you through the Coronavirus Assessment Tool.\r\n\r\nIf you're experiencing a life- or limb-threatening emergency, call [911](tel:911) or the number for your local emergency service.\r\n\r\nI'm not a substitute for professional medical advice, diagnosis, or treatment. Always consult a medical professional for serious symptoms or emergencies.",
21+
"stringId": "stringId_662d3805ed38d310",
22+
"label": "Welcome"
23+
},
24+
{
25+
"id": "cace401dfe02-61d5f27faaca275a-bb18",
26+
"type": "prompt",
27+
"dataType": "session.getCustomLocalizedValue(\"stringId_ebf738fc930541b0\")",
28+
"designer": {
29+
"xLocation": 220,
30+
"yLocation": 110,
31+
"listStyle": 3,
32+
"next": "92b723ef9c80-11449b9ba903e152-39a1"
33+
},
34+
"text": "Have you recently traveled to any of the following countries:\n\n- China\n- Iran\n- Italy\n- Japan\n- South Korea",
35+
"variable": "travel",
36+
"stringId": "stringId_23f128c04613523a",
37+
"choiceType": "choice",
38+
"label": "Travel"
39+
},
40+
{
41+
"id": "92b723ef9c80-11449b9ba903e152-39a1",
42+
"type": "prompt",
43+
"dataType": "session.getCustomLocalizedValue(\"stringId_ebf738fc930541b0\");",
44+
"designer": {
45+
"xLocation": 220,
46+
"yLocation": 173,
47+
"listStyle": 3,
48+
"next": "b263e90b1704-75861bd614223040-1336"
49+
},
50+
"text": "Have you been in contact with someone who has traveled to these countries and is now sick?",
51+
"variable": "personContact",
52+
"stringId": "stringId_29180759c937c7b9",
53+
"choiceType": "choice",
54+
"label": "Person contact"
55+
},
56+
{
57+
"id": "df74437f381d-c1f74dca92596fdb-86c9",
58+
"type": "branch",
59+
"condition": "scenario.symptomCovid.index === 0",
60+
"designer": {
61+
"xLocation": 227,
62+
"yLocation": 460,
63+
"next": "17a84a727e47-d3512f9fa7b95f93-baed"
64+
},
65+
"targetStepId": "534ba3a40897-f9a94326bc00f5f6-b2b4"
66+
},
67+
{
68+
"id": "b263e90b1704-75861bd614223040-1336",
69+
"type": "prompt",
70+
"dataType": "session.getCustomLocalizedValue(\"stringId_3ac1c26cbe06c2cd\");",
71+
"designer": {
72+
"xLocation": 220,
73+
"yLocation": 233,
74+
"listStyle": 3,
75+
"next": "448b3f611839-364d01873ae7e9e7-6c38"
76+
},
77+
"text": "Have you been in contact with someone known to have coronavirus (COVID-19)?\n",
78+
"variable": "COVID19Contact",
79+
"stringId": "stringId_70e57e27edab4d18",
80+
"choiceType": "choice"
81+
},
82+
{
83+
"id": "448b3f611839-364d01873ae7e9e7-6c38",
84+
"type": "prompt",
85+
"dataType": "session.getCustomLocalizedValue(\"stringId_ebf738fc930541b0\");",
86+
"designer": {
87+
"xLocation": 220,
88+
"yLocation": 313,
89+
"listStyle": 3,
90+
"next": "837a4c3d8583-a81b2044b36f75a5-b4e3"
91+
},
92+
"text": "Have you been told by a public health official that you may have been exposed to coronavirus (COVID-19)?",
93+
"variable": "DOHSurveillance",
94+
"stringId": "stringId_9e330564d3fabfa8",
95+
"choiceType": "choice",
96+
"label": "Public health official"
97+
},
98+
{
99+
"id": "837a4c3d8583-a81b2044b36f75a5-b4e3",
100+
"type": "prompt",
101+
"dataType": "session.getCustomLocalizedValue(\"stringId_ebf738fc930541b0\");",
102+
"designer": {
103+
"xLocation": 220,
104+
"yLocation": 380,
105+
"listStyle": 3,
106+
"next": "df74437f381d-c1f74dca92596fdb-86c9"
107+
},
108+
"text": "Are you experiencing any of the following symptoms? \n\n- A fever\n- A cough\n- Runny nose\n- Sore throat",
109+
"variable": "symptomCovid",
110+
"stringId": "stringId_071abfa557417457",
111+
"choiceType": "choice",
112+
"label": "Symptoms"
113+
},
114+
{
115+
"id": "534ba3a40897-f9a94326bc00f5f6-b2b4",
116+
"type": "prompt",
117+
"dataType": "session.getCustomLocalizedValue(\"stringId_ebf738fc930541b0\");",
118+
"designer": {
119+
"xLocation": 600,
120+
"yLocation": 250,
121+
"listStyle": 3,
122+
"next": "a6699dd3c8a5-b846637d691e92d7-4343"
123+
},
124+
"text": "Are you experiencing shortness of breath?",
125+
"variable": "symptomShortnessOfBreath",
126+
"stringId": "stringId_7c4948f480877d71",
127+
"choiceType": "choice"
128+
},
129+
{
130+
"id": "a6699dd3c8a5-b846637d691e92d7-4343",
131+
"type": "branch",
132+
"condition": "scenario.symptomShortnessOfBreath.index === 0\r\n",
133+
"designer": {
134+
"xLocation": 606,
135+
"yLocation": 320,
136+
"next": "7b6428a85d4d-f9e63b78abc1026a-6da1"
137+
},
138+
"targetStepId": "6c1ba2f6fe73-e0f18adc2a97aef9-ee14"
139+
},
140+
{
141+
"id": "bf7990cf190b-5bf1facf9a9d366d-dc75",
142+
"type": "branch",
143+
"condition": "scenario.epiLink == true\n",
144+
"designer": {
145+
"xLocation": 226,
146+
"yLocation": 640,
147+
"next": "8b548150785a-90989f35356014b3-cc6a"
148+
},
149+
"targetStepId": "3a013d1fec98-abb43959136783e0-266c"
150+
},
151+
{
152+
"id": "17a84a727e47-d3512f9fa7b95f93-baed",
153+
"type": "action",
154+
"label": "Action",
155+
"designer": {
156+
"xLocation": 220,
157+
"yLocation": 549,
158+
"next": "bf7990cf190b-5bf1facf9a9d366d-dc75"
159+
},
160+
"onInit": "if ((scenario.travel.index === 0) || (scenario.personContact.index === 0) || (scenario.COVID19Contact.index === 0) || (scenario.DOHSurveillance.index === 0)) {\n scenario.epiLink = true;\n }\n\nelse\n{\n scenario.epiLink = false;\n}"
161+
},
162+
{
163+
"id": "7b6428a85d4d-f9e63b78abc1026a-6da1",
164+
"type": "prompt",
165+
"dataType": "session.getCustomLocalizedValue(\"stringId_ebf738fc930541b0\");",
166+
"designer": {
167+
"xLocation": 500,
168+
"yLocation": 440,
169+
"listStyle": 3,
170+
"next": "2557095ab5b4-2143d9dcecec2160-8186"
171+
},
172+
"text": "Do any of these apply to you?\n\n- 65 years old or older\n- Cardiac disease (e.g. coronary artery disease, valvular disease, congestive heart failure)\n- Pulmonary disease (e.g. asthma, chronic obstructive pulmonary disease)\n- Immunosuppression (e.g. chemotherapy, transplant, or diabetes)",
173+
"variable": "riskFactor",
174+
"stringId": "stringId_224578e0399efb69",
175+
"choiceType": "choice"
176+
},
177+
{
178+
"id": "2557095ab5b4-2143d9dcecec2160-8186",
179+
"type": "branch",
180+
"condition": "scenario.riskFactor.index === 0",
181+
"designer": {
182+
"xLocation": 509,
183+
"yLocation": 520,
184+
"next": "1bd38b75c1d6-2a3d7b7088d4d120-01e9"
185+
},
186+
"targetStepId": "6c1ba2f6fe73-e0f18adc2a97aef9-ee14"
187+
},
188+
{
189+
"id": "3a013d1fec98-abb43959136783e0-266c",
190+
"type": "statement",
191+
"designer": {
192+
"xLocation": 280,
193+
"yLocation": 747,
194+
"next": "fba9621e2bfb-7700e8c19513384a-0e4a"
195+
},
196+
"text": "You've reported that you've traveled to an area in which there are known coronavirus (COVID-19) cases in the community or have had contact with someone who may be sick. While you don't report any symptoms of coronavirus infection right now, you should continue to monitor yourself. ",
197+
"stringId": "stringId_494e203e830561ef"
198+
},
199+
{
200+
"id": "8b548150785a-90989f35356014b3-cc6a",
201+
"type": "statement",
202+
"designer": {
203+
"xLocation": 149,
204+
"yLocation": 747,
205+
"next": "fba9621e2bfb-7700e8c19513384a-0e4a"
206+
},
207+
"text": "You haven't traveled to an area in which there are known coronavirus (COVID-19) cases in the community or been in contact with someone who may be sick. You don't report any symptoms of coronavirus infection, so your risk is low.",
208+
"stringId": "stringId_010f2ad094db0c51"
209+
},
210+
{
211+
"id": "1bd38b75c1d6-2a3d7b7088d4d120-01e9",
212+
"type": "statement",
213+
"designer": {
214+
"xLocation": 460,
215+
"yLocation": 620,
216+
"next": "fba9621e2bfb-7700e8c19513384a-0e4a"
217+
},
218+
"text": "Right now you report mild symptoms that don't require a visit to a provider. \n\n",
219+
"stringId": "stringId_96d048d9014f6c27"
220+
},
221+
{
222+
"id": "fba9621e2bfb-7700e8c19513384a-0e4a",
223+
"type": "statement",
224+
"designer": {
225+
"xLocation": 366,
226+
"yLocation": 820
227+
},
228+
"text": "You can use this tool again if anything changes, but in the meantime:\r\n\r\nHere is a link to things you can do to prepare your household for coronavirus (COVID-19) in the community:\r\n[Interim Guidance: Get Your Household Ready for Coronavirus Disease 2019 (COVID-19)](https://www.cdc.gov/coronavirus/2019-ncov/community/get-your-household-ready-for-COVID-19.html)\r\n\r\nHere is a link to things you can do to prevent transmission if you become sick:\r\n[What to Do If You Are Sick With Coronavirus Disease 2019 (COVID-19)](https://www.cdc.gov/coronavirus/2019-ncov/about/steps-when-sick.html)\r\n",
229+
"stringId": "stringId_09c800578d032c5d",
230+
"label": "Info links"
231+
},
232+
{
233+
"id": "6c1ba2f6fe73-e0f18adc2a97aef9-ee14",
234+
"type": "statement",
235+
"designer": {
236+
"xLocation": 640,
237+
"yLocation": 732
238+
},
239+
"text": "Developer notice:",
240+
"stringId": "stringId_da6f1eb9347cb368",
241+
"layout": "vertical",
242+
"attachment": [
243+
{
244+
"type": "AdaptiveCard",
245+
"cardCode": "{\r\n\t\"$schema\": \"http://adaptivecards.io/schemas/adaptive-card.json\",\r\n\t\"type\": \"AdaptiveCard\",\r\n\t\"version\": \"1.0\",\r\n\t\"body\": [\r\n\t\t{\r\n\t\t\t\"type\": \"Container\",\r\n\t\t\t\"items\": [\r\n\t\t\t\t{\r\n\t\t\t\t\t\"type\": \"TextBlock\",\r\n\t\t\t\t\t\"text\": \"Handoff conversations to live agent\",\r\n\t\t\t\t\t\"weight\": \"bolder\",\r\n\t\t\t\t\t\"size\": \"medium\"\r\n }\r\n\t\t\t]\r\n\t\t},\r\n\t\t{\r\n\t\t\t\"type\": \"Container\",\r\n\t\t\t\"items\": [\r\n\t\t\t\t{\r\n\t\t\t\t\t\"type\": \"TextBlock\",\r\n\t\t\t\t\t\"text\": \"The Healthcare Bot Service can be used to provide end users with chat, voice, and/or video support from live agents.\",\r\n\t\t\t\t\t\"wrap\": true\r\n\t\t\t\t},\r\n {\r\n\t\t\t\t\t\"type\": \"TextBlock\",\r\n\t\t\t\t\t\"text\": \"Handoff can leverage the Healthcare Bot Service integration with [Microsoft Teams](https://docs.microsoft.com/en-us/HealthBot/handoff-teams) or [Microsoft Dynamics Omnichannel](https://docs.microsoft.com/en-us/HealthBot/omnichannel), or by using a [custom agent application](https://docs.microsoft.com/en-us/healthbot/handoff#implementation-examples)\",\r\n\t\t\t\t\t\"wrap\": true\r\n\t\t\t\t},\r\n {\r\n \"type\": \"TextBlock\",\r\n \"wrap\": true,\r\n \"text\": \"To activate the full flow check out [Handoff to live agent documentation](https://docs.microsoft.com/en-us/healthbot/handoff)\"\r\n }\r\n \r\n\t\t\t]\r\n\t\t}\r\n\t]\r\n}"
246+
}
247+
],
248+
"label": "Handoff"
249+
}
250+
],
251+
"interrupting": false,
252+
"breaking": false,
253+
"returningMessage": ""
254+
}
255+
}

0 commit comments

Comments
 (0)