Skip to content

Commit ff99e88

Browse files
Update vaccForm.vue
Revised based on city feedback
1 parent b42c94b commit ff99e88

File tree

1 file changed

+28
-293
lines changed

1 file changed

+28
-293
lines changed

src/components/vaccForm.vue

Lines changed: 28 additions & 293 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,19 @@
2929
placeholder="0"
3030
min="0"
3131
></b-form-input>
32+
</b-form-group>
33+
<h6>Part C</h6>
34+
<b-form-group
35+
id="check-in-input-question-1c"
36+
v-bind:label="newCheckIn.questionnaire.questions[0].parts[2].label"
37+
>
38+
<b-form-input
39+
id="question-1c"
40+
type="number"
41+
v-model="newCheckIn.questionnaire.questions[0].parts[2].value[0]"
42+
placeholder="0"
43+
min="0"
44+
></b-form-input>
3245
</b-form-group>
3346

3447
<h5>Question 2</h5>
@@ -71,48 +84,8 @@
7184
<b-form-radio
7285
v-model="newCheckIn.questionnaire.questions[1].parts[1].value[0]"
7386
name="question-2b-radio"
74-
value="BCHD Mobile"
75-
>BCHD Mobile</b-form-radio>
76-
<b-form-radio
77-
v-model="newCheckIn.questionnaire.questions[1].parts[1].value[0]"
78-
name="question-2b-radio"
79-
value="Hospital System"
80-
>Hospital System</b-form-radio>
81-
<b-form-radio
82-
v-model="newCheckIn.questionnaire.questions[1].parts[1].value[0]"
83-
name="question-2b-radio"
84-
value="Lord Baltimore Hotel"
85-
>Lord Baltimore Hotel</b-form-radio>
86-
<b-form-radio
87-
v-model="newCheckIn.questionnaire.questions[1].parts[1].value[0]"
88-
name="question-2b-radio"
89-
value="Rite Aid"
90-
>Rite Aid</b-form-radio>
91-
<b-form-radio
92-
v-model="newCheckIn.questionnaire.questions[1].parts[1].value[0]"
93-
name="question-2b-radio"
94-
value="Safeway"
95-
>Safeway</b-form-radio>
96-
<b-form-radio
97-
v-model="newCheckIn.questionnaire.questions[1].parts[1].value[0]"
98-
name="question-2b-radio"
99-
value="Giant"
100-
>Giant</b-form-radio>
101-
<b-form-radio
102-
v-model="newCheckIn.questionnaire.questions[1].parts[1].value[0]"
103-
name="question-2b-radio"
104-
value="National Guard"
105-
>National Guard</b-form-radio>
106-
<b-form-radio
107-
v-model="newCheckIn.questionnaire.questions[1].parts[1].value[0]"
108-
name="question-2b-radio"
109-
value="Facility itself will organize vaccine clinic"
110-
>* Facility itself will organize vaccine clinic *</b-form-radio>
111-
<b-form-radio
112-
v-model="newCheckIn.questionnaire.questions[1].parts[1].value[0]"
113-
name="question-2b-radio"
114-
value="Other"
115-
>Other</b-form-radio>
87+
value="Not Applicable"
88+
>Not Applicable</b-form-radio>
11689
</b-form-group>
11790
<h6>Part C</h6>
11891
<b-form-group
@@ -135,162 +108,6 @@
135108
rows="1"
136109
></b-form-textarea>
137110
</b-form-group>
138-
<h6>Part D</h6>
139-
<b-form-group
140-
id="check-in-input-question-2d"
141-
v-bind:label="newCheckIn.questionnaire.questions[1].parts[3].label"
142-
>
143-
<b-form-radio
144-
v-model="newCheckIn.questionnaire.questions[1].parts[3].value[0]"
145-
name="question-2d-radio"
146-
value="MedStar"
147-
>MedStar</b-form-radio>
148-
<b-form-radio
149-
v-model="newCheckIn.questionnaire.questions[1].parts[3].value[0]"
150-
name="question-2d-radio"
151-
value="Lifebridge"
152-
>Lifebridge</b-form-radio>
153-
<b-form-radio
154-
v-model="newCheckIn.questionnaire.questions[1].parts[3].value[0]"
155-
name="question-2d-radio"
156-
value="Hopkins"
157-
>Hopkins</b-form-radio>
158-
<b-form-radio
159-
v-model="newCheckIn.questionnaire.questions[1].parts[3].value[0]"
160-
name="question-2d-radio"
161-
value="Mercy"
162-
>Mercy</b-form-radio>
163-
<b-form-radio
164-
v-model="newCheckIn.questionnaire.questions[1].parts[3].value[0]"
165-
name="question-2d-radio"
166-
value="St Agnes"
167-
>St Agnes</b-form-radio>
168-
<b-form-radio
169-
v-model="newCheckIn.questionnaire.questions[1].parts[3].value[0]"
170-
name="question-2d-radio"
171-
value="Other"
172-
>Other</b-form-radio>
173-
</b-form-group>
174-
175-
176-
<h6>Part E</h6>
177-
<b-form-group
178-
id="check-in-input-question-2e"
179-
v-bind:label="newCheckIn.questionnaire.questions[1].parts[4].label"
180-
>
181-
<b-form-radio
182-
v-model="newCheckIn.questionnaire.questions[1].parts[4].value[0]"
183-
name="question-2e-radio"
184-
value="Walgreens"
185-
>Walgreens</b-form-radio>
186-
<b-form-radio
187-
v-model="newCheckIn.questionnaire.questions[1].parts[4].value[0]"
188-
name="question-2e-radio"
189-
value="CVS"
190-
>CVS</b-form-radio>
191-
<b-form-radio
192-
v-model="newCheckIn.questionnaire.questions[1].parts[4].value[0]"
193-
name="question-2e-radio"
194-
value="BCHD Mobile"
195-
>BCHD Mobile</b-form-radio>
196-
<b-form-radio
197-
v-model="newCheckIn.questionnaire.questions[1].parts[4].value[0]"
198-
name="question-2e-radio"
199-
value="Hospital System"
200-
>Hospital System</b-form-radio>
201-
<b-form-radio
202-
v-model="newCheckIn.questionnaire.questions[1].parts[4].value[0]"
203-
name="question-2e-radio"
204-
value="Lord Baltimore Hotel"
205-
>Lord Baltimore Hotel</b-form-radio>
206-
<b-form-radio
207-
v-model="newCheckIn.questionnaire.questions[1].parts[4].value[0]"
208-
name="question-2e-radio"
209-
value="Rite Aid"
210-
>Rite Aid</b-form-radio>
211-
<b-form-radio
212-
v-model="newCheckIn.questionnaire.questions[1].parts[4].value[0]"
213-
name="question-2e-radio"
214-
value="Safeway"
215-
>Safeway</b-form-radio>
216-
<b-form-radio
217-
v-model="newCheckIn.questionnaire.questions[1].parts[4].value[0]"
218-
name="question-2e-radio"
219-
value="Giant"
220-
>Giant</b-form-radio>
221-
<b-form-radio
222-
v-model="newCheckIn.questionnaire.questions[1].parts[4].value[0]"
223-
name="question-2e-radio"
224-
value="National Guard"
225-
>National Guard</b-form-radio>
226-
<b-form-radio
227-
v-model="newCheckIn.questionnaire.questions[1].parts[4].value[0]"
228-
name="question-2e-radio"
229-
value="Facility itself will organize vaccine clinic"
230-
>* Facility itself will organize vaccine clinic *</b-form-radio>
231-
<b-form-radio
232-
v-model="newCheckIn.questionnaire.questions[1].parts[4].value[0]"
233-
name="question-2e-radio"
234-
value="Other"
235-
>Other</b-form-radio>
236-
</b-form-group>
237-
<h6>Part F</h6>
238-
<b-form-group
239-
id="check-in-input-question-2f"
240-
v-bind:label="newCheckIn.questionnaire.questions[1].parts[5].label"
241-
label-for="question-2f"
242-
>
243-
<p class="pi-alert">
244-
<span v-if="elementFocus === 'question-2f'">
245-
<img alt="Alert Icon" src="../assets/exclamation-triangle-solid.svg" />
246-
<strong>Remember:</strong> Do not include any personal information
247-
</span>
248-
</p>
249-
<b-form-textarea
250-
id="question-2f"
251-
v-model="newCheckIn.questionnaire.questions[1].parts[5].value[0]"
252-
placeholder="Response"
253-
@focus="elementFocus = 'question-2f'"
254-
@blur="elementFocus = 'null'"
255-
rows="1"
256-
></b-form-textarea>
257-
</b-form-group>
258-
<h6>Part G</h6>
259-
<b-form-group
260-
id="check-in-input-question-2g"
261-
v-bind:label="newCheckIn.questionnaire.questions[1].parts[6].label"
262-
>
263-
<b-form-radio
264-
v-model="newCheckIn.questionnaire.questions[1].parts[6].value[0]"
265-
name="question-2g-radio"
266-
value="MedStar"
267-
>MedStar</b-form-radio>
268-
<b-form-radio
269-
v-model="newCheckIn.questionnaire.questions[1].parts[6].value[0]"
270-
name="question-2g-radio"
271-
value="Lifebridge"
272-
>Lifebridge</b-form-radio>
273-
<b-form-radio
274-
v-model="newCheckIn.questionnaire.questions[1].parts[6].value[0]"
275-
name="question-2g-radio"
276-
value="Hopkins"
277-
>Hopkins</b-form-radio>
278-
<b-form-radio
279-
v-model="newCheckIn.questionnaire.questions[1].parts[6].value[0]"
280-
name="question-2g-radio"
281-
value="Mercy"
282-
>Mercy</b-form-radio>
283-
<b-form-radio
284-
v-model="newCheckIn.questionnaire.questions[1].parts[6].value[0]"
285-
name="question-2g-radio"
286-
value="St Agnes"
287-
>St Agnes</b-form-radio>
288-
<b-form-radio
289-
v-model="newCheckIn.questionnaire.questions[1].parts[6].value[0]"
290-
name="question-2g-radio"
291-
value="Other"
292-
>Other</b-form-radio>
293-
</b-form-group>
294111
<h5>Question 3</h5>
295112
<h6>Part A</h6>
296113
<b-form-group
@@ -355,56 +172,6 @@
355172
value="I don't know"
356173
>I don't know</b-form-radio>
357174
</b-form-group>
358-
359-
<h5>Question 4</h5>
360-
<h6>Part A</h6>
361-
<b-form-group
362-
id="check-in-input-question-4a"
363-
v-bind:label="newCheckIn.questionnaire.questions[3].parts[0].label"
364-
>
365-
<b-form-radio
366-
v-model="newCheckIn.questionnaire.questions[3].parts[0].value[0]"
367-
name="question-4a-radio"
368-
value="Yes"
369-
>Yes</b-form-radio>
370-
<b-form-radio
371-
v-model="newCheckIn.questionnaire.questions[3].parts[0].value[0]"
372-
name="question-4a-radio"
373-
value="No"
374-
>No</b-form-radio>
375-
<b-form-radio
376-
v-model="newCheckIn.questionnaire.questions[3].parts[0].value[0]"
377-
name="question-4a-radio"
378-
value="I don't know"
379-
>I don't know</b-form-radio>
380-
</b-form-group>
381-
<h6>Part B</h6>
382-
<b-form-group
383-
id="check-in-input-question-4b"
384-
v-bind:label="newCheckIn.questionnaire.questions[3].parts[1].label"
385-
>
386-
<b-form-input
387-
id="question-4b"
388-
type="number"
389-
v-model="newCheckIn.questionnaire.questions[3].parts[1].value[0]"
390-
placeholder="0"
391-
min="0"
392-
></b-form-input>
393-
</b-form-group>
394-
<h6>Part C</h6>
395-
<b-form-group
396-
id="check-in-input-question-4c"
397-
v-bind:label="newCheckIn.questionnaire.questions[3].parts[2].label"
398-
>
399-
<b-form-input
400-
id="question-4c"
401-
type="number"
402-
v-model="newCheckIn.questionnaire.questions[3].parts[2].value[0]"
403-
placeholder="0"
404-
min="0"
405-
></b-form-input>
406-
</b-form-group>
407-
408175
<h5>Comments</h5>
409176
<b-form-group
410177
id="check-in-input-comments"
@@ -529,13 +296,18 @@ export default {
529296
parts: [
530297
{
531298
label:
532-
'How many residents or clients are currently at this factility?',
299+
'How many residents are currently at this factility?',
533300
value: [null]
534301
},
535302
{
536303
label:
537304
'How many staff currently work at this factility?',
538305
value: [null]
306+
},
307+
{
308+
label:
309+
'Of those residents and staff, how many still need a Covid-19 vaccine?',
310+
value: [null]
539311
}
540312
]
541313
},
@@ -547,29 +319,11 @@ export default {
547319
value: [null]
548320
},
549321
{
550-
label: 'Please select the name of the federal or hospital partner. Note: If you have two contacts, you can specify the second contact on the next question.',
551-
value: [null]
552-
},
553-
{
554-
label: 'If you selected "Other" please specify the name here:',
555-
value: [null]
556-
},
557-
{
558-
label:
559-
'If you selected "Hospital System" please specify the name here:',
560-
value: [null]
561-
},
562-
{
563-
label: 'Please select the name of the second interested federal or hospital partner.',
322+
label: 'Please select the name of the federal partner. Note: If you have two contacts, you can specify the second contact on the next question.',
564323
value: [null]
565324
},
566325
{
567-
label: 'If you selected "Other" please specify the name here:',
568-
value: [null]
569-
},
570-
{
571-
label:
572-
'If you selected "Hospital System" please specify the name here:',
326+
label: 'Please indicate any other ways that residents and staff have received vaccines, or any information about issues with obtaining enough vaccines.',
573327
value: [null]
574328
}
575329
]
@@ -585,23 +339,7 @@ export default {
585339
value: [null]
586340
},
587341
{
588-
label: 'Are you interested in onsite vaccination thru BCHD mobile team?',
589-
value: [null]
590-
}
591-
]
592-
},
593-
{
594-
parts: [
595-
{
596-
label: 'Have any residents/clients or staff been vaccinated, or already scheduled for vaccine?',
597-
value: [null]
598-
},
599-
{
600-
label: 'How many residents/clients have been vaccinated, or already scheduled for vaccine?',
601-
value: [null]
602-
},
603-
{
604-
label: 'How many staff have been vaccinated, or already scheduled for vaccine?',
342+
label: 'If available, are you interested in onsite vaccination thru BCHD mobile team?',
605343
value: [null]
606344
}
607345
]
@@ -633,17 +371,14 @@ export default {
633371
},
634372
resetCheckin() {
635373
this.newCheckIn.questionnaire.questions[0].parts[0].value[0] = null;
374+
this.newCheckIn.questionnaire.questions[0].parts[1].value[0] = null;
375+
this.newCheckIn.questionnaire.questions[0].parts[2].value[0] = null;
636376
this.newCheckIn.questionnaire.questions[1].parts[0].value[0] = null;
637377
this.newCheckIn.questionnaire.questions[1].parts[1].value[0] = null;
638378
this.newCheckIn.questionnaire.questions[1].parts[2].value[0] = null;
639-
this.newCheckIn.questionnaire.questions[1].parts[3].value[0] = null;
640-
this.newCheckIn.questionnaire.questions[1].parts[4].value[0] = null;
641379
this.newCheckIn.questionnaire.questions[2].parts[0].value[0] = null;
642-
this.newCheckIn.questionnaire.questions[3].parts[0].value[0] = null;
643-
this.newCheckIn.questionnaire.questions[4].parts[0].value[0] = null;
644-
this.newCheckIn.questionnaire.questions[4].parts[0].value[1] = null;
645-
this.newCheckIn.questionnaire.questions[4].parts[0].value[2] = null;
646-
this.newCheckIn.questionnaire.questions[4].parts[1].value[0] = null;
380+
this.newCheckIn.questionnaire.questions[2].parts[1].value[0] = null;
381+
this.newCheckIn.questionnaire.questions[2].parts[2].value[0] = null;
647382
this.newCheckIn.comments.value = null;
648383
this.newCheckIn.status = null;
649384
},

0 commit comments

Comments
 (0)