Skip to content

Commit

Permalink
Dbex 0781ps content changes (#34969)
Browse files Browse the repository at this point in the history
* Update content for workflow choice page

* Update content for behaviorIntroCombat page

* Update content for mentalHealthSupportAlert trigger

* Fix typo

---------

Co-authored-by: Alex Taker <[email protected]>
  • Loading branch information
ajones446 and ataker authored Mar 4, 2025
1 parent e41bd11 commit e7530ab
Show file tree
Hide file tree
Showing 5 changed files with 37 additions and 33 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ export const mentalHealthSupportAlert = () => {
return (
<va-alert-expandable
status="info"
trigger="How do I get mental health support right now?"
trigger="Learn how to get mental health help now"
>
<p>
We understand that some of the questions may be difficult to answer. If
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,14 +48,9 @@ export const behaviorIntroDescription = (
export const behaviorIntroCombatDescription = (
<>
<p>
PLACEHOLDER The next few questions are about behavioral changes you
experienced after your traumatic experiences
</p>
<p>
PLACEHOLDER Since you said your traumatic experiences were related to
combat only, these questions are optional. You don’t need to answer them.
If we need more information, we’ll contact you after you submit your
claim.
We’ll now ask you a few questions about the behavioral changes you
experienced after combat events. You can choose to answer these questions
or skip them. If we need more information, we’ll contact you.
</p>
</>
);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react';

export const workflowChoicePageTitle =
'Statement about mental health conditions (VA Form 21-0781)';
'Adding VA Form 21-0781 to support new mental health conditions';

// Lists new conditions the veteran has claimed
// The user should not get to this page if these conditions are not present
Expand All @@ -15,7 +15,7 @@ const conditionSelections = formData => {

return (
<div>
<p>You selected these new conditions for your disability claim:</p>
<p>Your claim includes these new conditions:</p>
<ul>
{conditions.map((condition, index) => (
<li key={index}>
Expand All @@ -31,30 +31,38 @@ export const workflowChoicePageDescription = formData => {
return (
<>
{conditionSelections(formData)}
<h4>When to consider adding VA Form 21-0781 to your claim</h4>
<p>
If any of these are diagnosed mental health conditions related to a
traumatic event you experienced during military service, you can
complete an additional form to provide more information to support your
claim (VA Form 21-0781).
We offer this optional form for you to share more supporting information
about certain conditions. If your claim includes a new mental health
condition (like PTSD, major depression, or generalized anxiety disorder)
that’s related to a traumatic event you experienced during military
service, we encourage you to submit this form.
</p>
<p>
<strong>This additional form is optional.</strong> In this form, we ask
you about the traumatic events you experienced and any behavioral
changes that you experienced afterwards.
We’ll need to ask you about the traumatic events you experienced and any
behavioral changes that you experienced as a result. Answer as many or
as few of the questions that you feel comfortable answering. We’ll use
any information you can share to support your claim.
</p>
<p>
We encourage you to complete this form if it applies to you. The
information you provide supports your claim for these conditions. In
this form, you can also choose to only provide responses for the
questions you’re comfortable answering.
To answer all the questions, you’ll likely need about 45 minutes. You
can answer the questions online. Or, you can fill out a PDF version of
the form and upload it as part of your online submission.
</p>
<p>
<va-link
external
href="https://www.va.gov/find-forms/about-form-21-0781/"
text="Get VA Form 21-0781 to download"
/>
</p>
<p>Completing this additional form should take about 45 minutes.</p>
</>
);
};

export const form0781WorkflowChoiceDescription =
'Do you want to provide more information about your mental health conditions?';
'Do you want to add VA Form 21-0781?';

export const form0781WorkflowChoices = {
COMPLETE_ONLINE_FORM: 'optForOnlineForm0781',
Expand All @@ -64,11 +72,11 @@ export const form0781WorkflowChoices = {

export const form0781WorkflowChoiceLabels = Object.freeze({
[form0781WorkflowChoices.COMPLETE_ONLINE_FORM]:
'Yes, I want to complete VA Form 21-0781 online',
'Yes, and I want to answer the questions online.',
[form0781WorkflowChoices.SUBMIT_PAPER_FORM]:
'Yes, but I’ve already filled out a PDF of VA Form 21-0781 and I want to upload it to my claim',
'Yes, and I want to fill out a PDF to upload.',
[form0781WorkflowChoices.OPT_OUT_OF_FORM0781]:
'No, I don’t want to complete VA Form 21-0781 (opt out)',
'No, I don’t want to add this form to my claim.',
});

export const traumaticEventsExamples = (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,12 @@ export const uiSchema = {
'ui:title': titleWithTag(behaviorPageTitle, form0781HeadingTag),
'ui:description': behaviorIntroCombatDescription,
'view:answerCombatBehaviorQuestions': radioUI({
title: 'Do you want to answer additional questions?',
title: 'Do you want to answer questions about behavioral changes?',
labelHeaderLevel: '4',
required: () => true,
labels: {
true: 'Yes',
false: 'No',
true: 'Yes, I want to answer these questions.',
false: 'No, I want to skip these questions.',
},
}),
'view:mentalHealthSupportAlert': {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ describe('Form 0781 workflow choice page', () => {
);

const conditionsParagraph = getByText(
/You selected these new conditions for your disability claim:/,
/Your claim includes these new conditions:/,
);

const listElement = within(conditionsParagraph.parentElement).getByRole(
Expand Down Expand Up @@ -79,7 +79,7 @@ describe('Form 0781 workflow choice page', () => {
);

const conditionsParagraph = getByText(
/You selected these new conditions for your disability claim:/,
/Your claim includes these new conditions:/,
);

const listElement = within(conditionsParagraph.parentElement).getByRole(
Expand Down Expand Up @@ -114,7 +114,7 @@ describe('Form 0781 workflow choice page', () => {
/>,
);

getByText('Statement about mental health conditions (VA Form 21-0781)');
getByText('Adding VA Form 21-0781 to support new mental health conditions');

const radioButtons = $$('va-radio');
expect(radioButtons.length).to.equal(1);
Expand Down

0 comments on commit e7530ab

Please sign in to comment.