-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Record AOD for claimants 75 & Older in Caseflow Database #14637
Comments
@araposo-tistatech Just a small point, the appeal is AOD'd when the claimant/Veteran is 75 or older, the technical notes says that the Veteran must be over 75. |
Thank you @mikesanford! I've updated the notes. |
1 |
2 | |
3 | ||||||||
5 |
8 | Why 2?
Why 3?
|
There are AOD motions with a reason of "Age" that have been recorded in the Advance_On_Docket_Motions table, some of which are associated to AMA appeals. |
relatedish #14085 |
@araposo-tistatech Some questions: I am assuming a "motion" is filed by an attorney (ref), so there is some paperwork. (Update: this comment suggests there is a possibility for motion paperwork in VBMS, esp. considering LP's response.) Is there a difference between automatically identifying a Veteran as "AOD" applicable (no paperwork) and filing an age-related AOD motion (with paperwork)? Do we want to model automatic identification (no paperwork) as if a motion was filed (paperwork)?
Other info for reference if needed: There are 596 age-related AOD motions. > AdvanceOnDocketMotion.count
=> 1550
> AdvanceOnDocketMotion.group(:reason).count
=> {nil=>8, "financial_distress"=>535, "other"=>133, "age"=>596, "serious_illness"=>278} While there are age-related AOD motions (being set by app/controllers/hearings_controller.rb:136 for example), it may not be used since we currently check the age first: If 75 or older, then Lines 51 to 53 in 8437a20
If Caseflow automatically creates granted age-related motions for all eligible Veterans, then we can remove the |
@yoomlam I received the following explanation on AOD motions from Mike S. at the Board: "Sometimes an AOD motion can be granted due to age. Say a Veteran submits an AOD based on financial hardship, but the VLJ realizes the Veteran is 75, and simply grants it due to age. But, typically, age-based AODs are not motions. The Board is required, by law, to AOD the case once the claimant turns 75. I think in VACOLS, there was no mechanism to automatically flip the appeal to AOD based on the claimant turning 75, so VLJs would manually AOD the appeal themselves at a hearing upon realizing the claimant was 75." Based on the response I think we should talk through this one as VACOLS inability to automatically AOD for age may be the reason the code appears as it does. |
@araposo-tistatech Can w find out if there would be any issue with caseflow automatically creating and granting age based motions in our database for vets that hit 75? Or should there only be age based motions in our database for veterans that have filed a motion for other reasons? |
@hschallhorn, @yoomlam, please correct me if I am wrong, but the issue is that automatically creating and granting the age related AOD motion would only currently grant it on appeal and not on the Veteran (which is where it should live) as motions have a 1 to 1 relationship. I discussed this again with Mike and he feels we should keep the age related motion as an option (even though it is inconsistent with the way motions work) but also automatically identify a Veteran as AOD for age in its own separate process. I believe if we try to lump this process together with the motions it will cause confusion down the line for the Board. |
We do not treat age related motions as 1 to 1 with appeals. We currently follow what is stipulated in #14085, where any age related motion applies to all appeals for the claimant the motion is associated with. |
Responding to @araposo-tistatech below.
Currently an AOD motion is associated with a person, not an appeal: Lines 19 to 22 in ee10037
One solution to address #14085 is to add an
@hschallhorn Here's my plan for the PR:
Other non-motion reasons can be added as needed. The following code will change to check for the new Lines 270 to 272 in e8164bc
caseflow/app/models/legacy_appeal.rb Lines 91 to 97 in e8164bc
When a new appeal is created, we should check if age-related AOD applies and set the |
For this ticket, I'm creating a nightly job that updates the AOD status of AMA appeals (by checking the claimant's age) and records it in the DB.
@araposo-tistatech responded:
Putting the task of "updating the AOD status of Legacy appeals in VACOLS if the claimant is 75 or older" in a separate ticket: #14756. |
Possible deficiency but does not impact too many claimants:
appeals=Appeal.active.joins(claimants: :person).where("people.date_of_birth <= '1900-1-1'").pluck(:id)
=> [28781, 30686, 33830, 46351, 47674, 58801, 58862, 59336, 59339, 70512, 72754, 74760, 76383, 78186, 80491, 82294, 83611, 85010]
appeals.count
=> 18
appeals.map(&:aod?)
=> [true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true] |
Descoping my original solution that tried to solve too many problems in favor of a simpler solution that addresses only the requirement of this ticket, i.e. reporting age-related AOD. |
Connects https://github.com/department-of-veterans-affairs/appeals-lambdas/pull/72 Verification that PR for #14637 works. ### Description Quick fix for `Aws::SQS::Errors::NonExistentQueue: The specified queue does not exist for this wsdl version` error when calling `SetAppealAgeAodJob.perform_later`. I should have followed [Step 1](https://github.com/department-of-veterans-affairs/appeals-deployment/wiki/Caseflow-Cron-Jobs#step-1-implement-your-active-job) (if I knew about it at the time). ### Acceptance Criteria - [ ] Code compiles correctly
User or job story
Job story: When the AOD flag is set in Caseflow for claimants 75 or older, the AOD needs to be captured in the Caseflow database, so that the Board can pull reporting against it.
Acceptance criteria
Technical notes
Per Alisa:
Cases can be AOD for basically 2 reasons:
Motion is filed for the Veteran on the case due to extenuating circumstances (terminal illness, severe financial or emotional distress). The motion is processed manually by the board and is recorded in the advance_on_docket_motions database table
Veteran/claimant is 75 or older, which is automatically checked by Caseflow whenever the case is displayed. This is never recorded in the database, the age of the Veteran is verified everytime “AOD” shows up in the Caseflow application and if they’re 75 or older, it will say AOD.
The first one is recorded in the Caseflow database right now, the second isn’t. However, the second is recorded in the ETL database that Peter created that the Board refuses to use (https://github.com/department-of-veterans-affairs/caseflow/blob/master/app/models/etl/appeal.rb#L37)
app/models/etl/appeal.rb:37
target.aod_due_to_dob = person&.advanced_on_docket_based_on_age? || false
The text was updated successfully, but these errors were encountered: