Motion to Vacate | Create "De Novo" appeal stream #13336
Labels
Eng: Backend Work Group
backend engineering task
Priority: Medium
Blocking issue w/workaround, or "second in" priority for new work.
Stakeholder: BVA
Functionality associated with the Board of Veterans' Appeals workflows/feature requests
Stakeholder: OIT
New requirements gathered by Geoffrey/Office of Information & Technology
Team: Foxtrot 🦊
Description / Acceptance criteria
When a judge grants a Motion to Vacate with disposition "Vacate and de novo",
De Novo
Background/context
Appeal streams can currently have one of three stream types:
Original
,Vacate
, andDe Novo
. When a judge grants an MTV with disposition "vacate and de novo", both a Vacate-type appeal and a De Novo-type appeal are created, resulting in a total of three appeal streams sharing the same docket number.Technical notes
Each Appeal's stream type is currently stored in its
stream_type
database field, and accessed either via either the corresponding#stream_type
method or just#type
(for data-processing compatibility). The DB field is subject to an ActiveRecord enum restriction, andDe Novo
is already one of the allowed values.When creating a new Appeal with parameters different from the default (stream type:
Original
), it is important to specify both the non-default type (De Novo
) and docket number (identical to that of the original appeal). Otherwise, the logic to generate a new docket number from the receipt date and ID will kick in. It may be worthwhile to write a new method -- perhaps on the Appeal model, to be called on the original appeal -- to encapsulate this behavior and prevent data errors.This creation can be done as part of outcoding (see
BvaDispatchTask#outcode
). See also #13222 for similar work on creating the Vacate appeal stream when going down any one of the three Grant lanes.See
create_stream
andcreate_new_stream_tasks
in https://github.com/department-of-veterans-affairs/caseflow/pull/13325/files for creating the new appeal stream and initial tasksSee
create_contesting_request_issue!
in https://github.com/department-of-veterans-affairs/caseflow/pull/13173/files for creating request issuesThe text was updated successfully, but these errors were encountered: