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
281 stars 201 forks source link

PROD: VVC on VA device display as VVC@Home. Should display as VVC on VA Device #63865

Closed JRRoof closed 1 year ago

JRRoof commented 1 year ago

Description

The MOBILE_GFE appointment kind that is returned from VVS has been deprecated and should no longer be used to determine if an appointment is VA Video Connect on VA Device or VA Video Connect at Home. Instead, VVS now returns MOBILE_ANY as the kind along with a boolean called patientHasMobileGfe. This combination of kind + boolean is what should be used to determine what type of video connect appointment should be displayed.

vaos-service is going to start returning a new extension: Appointment.extension.patientHasMobileGfe which maps this new boolean value. The front end will need to look at the Appointment.telehealth.vvsKind to see if it's MOBILE_ANY/ADHOC and then look at the Appointment.extension.patientHasMobileGfe to see if it's true. If we have (MOBILE_ANY/ADHOC)/true then it will be a "VA Video Connect on VA Device" appointment, but if it's (MOBILE_ANY/ADHOC)/false then it would be "VA Video Connect at Home".


Acceptance Criteria

Given a veteran viewing appointments online When Appointment.telehealth.vvsKind is MOBILE_ANY and Appointment.extension.patientHasMobileGfe is true Then appointment modality should display as "VA Video Connect on VA Device"

Given a veteran viewing appointments online When Appointment.telehealth.vvsKind is MOBILE_ANY and Appointment.extension.patientHasMobileGfe is false Then appointment modality should display as "VA Video Connect at Home"

Design Assets

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

Definition of Done


ldelacosta commented 1 year ago

@young1205 - please notify @JRRoof when the ticket is ready to be validated in staging. Thanks!

simiadebowale commented 1 year ago

@ldelacosta - this is ready for review.

ldelacosta commented 1 year ago

@JRRoof - if you can validate and make sure the changes are good.

marcynadeau commented 1 year ago

@ldelacosta Tested and validated this is working in staging. The backend calls now show the new flag "patientHasMobileGfe": true }, See attachment. [Uploading... VVC_VA_Device_VAOSR6958.docx]

marcynadeau commented 1 year ago

VVC_VA_Device_VAOSR6958.docx

ldelacosta commented 1 year ago

No issues to report. Closing out the ticket.