From 39e7f75c50eeced342f6e80e1e8266f23f4fc310 Mon Sep 17 00:00:00 2001 From: Quinten Steenhuis Date: Mon, 7 Oct 2024 17:19:37 -0400 Subject: [PATCH 1/5] Possible fix for #12 - more explicit check for counties not to allow e-filing in --- .../AppearanceEfile/data/questions/appearance.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/docassemble/AppearanceEfile/data/questions/appearance.yml b/docassemble/AppearanceEfile/data/questions/appearance.yml index 26347c9..bdba5d4 100644 --- a/docassemble/AppearanceEfile/data/questions/appearance.yml +++ b/docassemble/AppearanceEfile/data/questions/appearance.yml @@ -1903,3 +1903,16 @@ content: | --- + +### Customized from login_qs.yml in docassemble.EFSPIntegration +--- +id: check efile possibility +sets: + - can_check_efile +code: | + if efile_setup and trial_court.address.county not in ["Cook", "DuPage"]: + # Ask the user if they want to efile + can_check_efile = user_wants_efile + else: + show_no_efile + can_check_efile = False \ No newline at end of file From 512c87f46f17c3bf70d02319c40ca3580bff2273 Mon Sep 17 00:00:00 2001 From: Quinten Steenhuis Date: Mon, 7 Oct 2024 20:21:42 -0400 Subject: [PATCH 2/5] Fix #13 - filter out 3 additional case types --- .../data/questions/appearance.yml | 34 +++++++++++++++++-- 1 file changed, 31 insertions(+), 3 deletions(-) diff --git a/docassemble/AppearanceEfile/data/questions/appearance.yml b/docassemble/AppearanceEfile/data/questions/appearance.yml index bdba5d4..21942b1 100644 --- a/docassemble/AppearanceEfile/data/questions/appearance.yml +++ b/docassemble/AppearanceEfile/data/questions/appearance.yml @@ -227,12 +227,30 @@ code: | def will_kickout(case): if case.category.upper() == "CONFIDENTIAL": return True - # Case categories determine a lot of things, I'm not comfortable with contining - # if it's not there. + # Case categories determine a lot of things, I'm not comfortable with continuing + # if it's not defined. if case.category not in case_category_map and case.case_type not in case_type_map: return True case_category_name = (case_category_map.get(case.category) or {}).get('name', '').lower() - if case_category_name in ['probate', 'guardianship', 'juvenile abuse', 'criminal misdemeanor', 'quasi-criminal', 'criminal felony']: + # See https://efile-test.suffolklitlab.org/jurisdictions/illinois/codes/categories + if case_category_name in [ + 'probate', + 'guardianship', + 'juvenile abuse', + 'criminal misdemeanor', + 'quasi-criminal', + 'criminal felony', + 'adoption', + 'order of protection', + 'civil protection orders', + 'transfer protective order', + 'domestic violence', + 'domestic violence - civil protection orders', + 'domestic violence - elder law services', + 'domestic violence - transfer protective order', + 'probate or mental health', + 'mental health', + ]: return True # case types change more, so okay with not being there case_type_name = (case_type_map.get(case.case_type) or {}).get('name', '').lower() @@ -255,6 +273,9 @@ subquestion: | * Probate, or a case involving a will or an estate * Juvenile abuse and neglect * Criminal (misdemeanor or felony) + * Protective orders including Orders of Protection, Stalking No Contact Orders, Civil No Contact Orders + * Adoption + * Mental Health Contact your local circuit clerk, or you can text or call [**IllinoisCourtHelp**](https://ilcourthelp.gov) at (833) 411-1121 for assistance. --- @@ -270,6 +291,10 @@ subquestion: | * Probate, or a case involving a will or an estate * Juvenile abuse and neglect * Criminal (misdemeanor or felony) + * Protective orders including Orders of Protection, Stalking No Contact Orders, Civil No Contact Orders + * Adoption + * Mental Health + Contact your local circuit clerk, or you can text or call [**IllinoisCourtHelp**](https://ilcourthelp.gov) at (833) 411-1121 for assistance. --- @@ -283,6 +308,9 @@ subquestion: | * Probate, or a case involving a will or an estate * Juvenile abuse and neglect * Criminal (misdemeanor or felony) + * Protective orders including Orders of Protection, Stalking No Contact Orders, Civil No Contact Orders + * Adoption + * Mental Health fields: - no label: case_is_invalid_type From d681a34fcc4d04a32e6f88fa6b5fed4bafa8b6f2 Mon Sep 17 00:00:00 2001 From: Quinten Steenhuis Date: Tue, 8 Oct 2024 16:38:21 -0400 Subject: [PATCH 3/5] Language update --- docassemble/AppearanceEfile/data/questions/appearance.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/docassemble/AppearanceEfile/data/questions/appearance.yml b/docassemble/AppearanceEfile/data/questions/appearance.yml index 21942b1..f72a3de 100644 --- a/docassemble/AppearanceEfile/data/questions/appearance.yml +++ b/docassemble/AppearanceEfile/data/questions/appearance.yml @@ -273,8 +273,7 @@ subquestion: | * Probate, or a case involving a will or an estate * Juvenile abuse and neglect * Criminal (misdemeanor or felony) - * Protective orders including Orders of Protection, Stalking No Contact Orders, Civil No Contact Orders - * Adoption + * Protective orders including Orders of Protection (OP), Stalking No Contact Orders (SNCO), and Civil No Contact Orders (CNCO) * Adoption * Mental Health Contact your local circuit clerk, or you can text or call [**IllinoisCourtHelp**](https://ilcourthelp.gov) at (833) 411-1121 for assistance. @@ -291,7 +290,7 @@ subquestion: | * Probate, or a case involving a will or an estate * Juvenile abuse and neglect * Criminal (misdemeanor or felony) - * Protective orders including Orders of Protection, Stalking No Contact Orders, Civil No Contact Orders + * Protective orders including Orders of Protection (OP), Stalking No Contact Orders (SNCO), and Civil No Contact Orders (CNCO) * Adoption * Adoption * Mental Health @@ -308,7 +307,7 @@ subquestion: | * Probate, or a case involving a will or an estate * Juvenile abuse and neglect * Criminal (misdemeanor or felony) - * Protective orders including Orders of Protection, Stalking No Contact Orders, Civil No Contact Orders + * Protective orders including Orders of Protection (OP), Stalking No Contact Orders (SNCO), and Civil No Contact Orders (CNCO) * Adoption * Adoption * Mental Health From 72aefbe3c929a192dc4f899d71c20e988dfb740b Mon Sep 17 00:00:00 2001 From: Quinten Steenhuis Date: Tue, 8 Oct 2024 17:09:17 -0400 Subject: [PATCH 4/5] Fix typo --- docassemble/AppearanceEfile/data/questions/appearance.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/docassemble/AppearanceEfile/data/questions/appearance.yml b/docassemble/AppearanceEfile/data/questions/appearance.yml index f72a3de..83a9519 100644 --- a/docassemble/AppearanceEfile/data/questions/appearance.yml +++ b/docassemble/AppearanceEfile/data/questions/appearance.yml @@ -273,7 +273,8 @@ subquestion: | * Probate, or a case involving a will or an estate * Juvenile abuse and neglect * Criminal (misdemeanor or felony) - * Protective orders including Orders of Protection (OP), Stalking No Contact Orders (SNCO), and Civil No Contact Orders (CNCO) * Adoption + * Protective orders including Orders of Protection (OP), Stalking No Contact Orders (SNCO), and Civil No Contact Orders (CNCO) + * Adoption * Mental Health Contact your local circuit clerk, or you can text or call [**IllinoisCourtHelp**](https://ilcourthelp.gov) at (833) 411-1121 for assistance. @@ -290,7 +291,7 @@ subquestion: | * Probate, or a case involving a will or an estate * Juvenile abuse and neglect * Criminal (misdemeanor or felony) - * Protective orders including Orders of Protection (OP), Stalking No Contact Orders (SNCO), and Civil No Contact Orders (CNCO) * Adoption + * Protective orders including Orders of Protection (OP), Stalking No Contact Orders (SNCO), and Civil No Contact Orders (CNCO) * Adoption * Mental Health @@ -307,7 +308,7 @@ subquestion: | * Probate, or a case involving a will or an estate * Juvenile abuse and neglect * Criminal (misdemeanor or felony) - * Protective orders including Orders of Protection (OP), Stalking No Contact Orders (SNCO), and Civil No Contact Orders (CNCO) * Adoption + * Protective orders including Orders of Protection (OP), Stalking No Contact Orders (SNCO), and Civil No Contact Orders (CNCO) * Adoption * Mental Health From ea98b0a41e409dd1c2684e20904c5e4c1780dcd0 Mon Sep 17 00:00:00 2001 From: Quinten Steenhuis Date: Wed, 16 Oct 2024 09:27:11 -0400 Subject: [PATCH 5/5] updated list from Sarah Song --- .../data/questions/appearance.yml | 23 +++++++++++-------- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/docassemble/AppearanceEfile/data/questions/appearance.yml b/docassemble/AppearanceEfile/data/questions/appearance.yml index 83a9519..64f10c1 100644 --- a/docassemble/AppearanceEfile/data/questions/appearance.yml +++ b/docassemble/AppearanceEfile/data/questions/appearance.yml @@ -236,20 +236,23 @@ code: | if case_category_name in [ 'probate', 'guardianship', + 'mental health', + 'adoption', 'juvenile abuse', + 'juvenile delinquent', + 'juvenile', + 'criminal felony', 'criminal misdemeanor', + 'driving under the influence', + 'domestic violence', 'quasi-criminal', - 'criminal felony', - 'adoption', + 'major traffic', + 'traffic', 'order of protection', - 'civil protection orders', - 'transfer protective order', - 'domestic violence', - 'domestic violence - civil protection orders', - 'domestic violence - elder law services', - 'domestic violence - transfer protective order', - 'probate or mental health', - 'mental health', + 'contempt of court', + 'ordinance violation', + 'conservation', + 'miscellaneous criminal', ]: return True # case types change more, so okay with not being there