-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathexpunge.yml
46 lines (46 loc) · 957 Bytes
/
expunge.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
---
metadata:
title: |
Expungement App
short title: |
Expungement
description: |
This interview finds if you are eligible for an expunction
authors:
- name: Tom Brooke
organization: Campbell Law School;
revision_date: 09-10-2019
---
question: |
What is your first and last name?
fields:
- Your Full Name: client_name
---
question: |
How many convictions do you have?
fields:
- Number of Convictions: convictions
datatype: integer
---
question: |
Were they on the same day?
yesno: same_day
---
code: |
if convictions == 1:
can_proceed = True
elif convictions > 1:
if same_day == True:
can_proceed = True
else:
can_proceed = False
---
mandatory: True
question: ${client_name} your report is finished.
subquestion: |
% if can_proceed:
Congratulations, ${client_name} you can proceed to the clinic.
% else:
I am sorry you are not eligible for an expunction.
% endif
---