department-of-veterans-affairs / va.gov-team

Public resources for building on and in support of VA.gov. Visit complete Knowledge Hub:
https://depo-platform-documentation.scrollhelp.site/index.html
283 stars 204 forks source link

Add filter to clinic selection to prevent direct scheduling of video visits #61614

Closed JRRoof closed 3 days ago

JRRoof commented 1 year ago

Description

Facilities are not supposed to allow direct scheduling of video visits. A large number of sites have clinics configured this way. When a veteran schedules in one of these clinics, the corresponding video visit does not get created. When a veteran views the details of an appointment created this way there is no link available to join the video visit. Kay Lawyer has requested that we filter out these clinics so veterans can not select them. These clinics can be identified by their secondary stop code. Kay is to provide a list of all secondary stop codes to filter out.

VAOSR-6861: Filter out clinics that allow direct booking and have stop codes in predefined list


Acceptance Criteria

No feature flag is needed for this enhancement

Given a veteran is scheduling a direct appointment for any type of care When the secondary stop code of the clinic is {179, etc.} - Kay Lawyer to provide complete list of secondary stop codes Then don't display these clinics to the veteran as an option. And page content matches the copy doc And page design matches the design spec

Design Assets

All spec copy is FPO. Use copy in copy doc.

Definition of Done


How to configure this issue

ldelacosta commented 1 year ago

We discussed during SoS on 07/11 that the backend services team will work on the filtering. We will just test on the FE to ensure that it works as expected. cc: @JRRoof @simiadebowale

ldelacosta commented 1 year ago

There's a BE dependency to address this issue. Here's the JIRA ticket to track the effort: VAOSR-6861

@young1205 - just giving you a heads up. You can check updates from BE team during the SoS meeting or reach out to Jeff.

JRRoof commented 3 days ago

BE work was completed and working as intended