Closed JRRoof closed 1 year ago
@young1205 - please notify @JRRoof when the ticket is ready to be validated in staging. Thanks!
@ldelacosta - this is ready for review.
@JRRoof - if you can validate and make sure the changes are good.
@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]
No issues to report. Closing out the ticket.
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
orVA 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 theAppointment.telehealth.vvsKind
to see if it's MOBILE_ANY/ADHOC and then look at theAppointment.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 andAppointment.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 andAppointment.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