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
282 stars 203 forks source link

[Spike] VVC appointment instructions in V2 #43051

Closed ldelacosta closed 4 months ago

ldelacosta commented 2 years ago

Request

We are requesting the logic for V0 and V2 when an appointment is created from VCM. Once a staff creates a VCM appointment for a Veteran, the appointment will be displayed in VAOS. We recently discovered the VCM team added additional options for the instructions when creating the appointment in the system.

Goal

To understand how the application reads the instructions provided from the backend and how does the UI display the message to the Veteran.

Requirements to Consider

VCM system: The staff selects the instructions for the appointment

Screen Shot 2022-06-16 at 12 33 03 PM

There were three additional instructions that were added to the VCM workflow recently:

In V0, we are assuming the application is showing a default message (Video Visit Preparation Instructions) if the value is blank/unknown.

When testing in VAOS v0, the appointment details page is displaying the following:


Tasks

Time Box

8 hours

Definition of Done

simiadebowale commented 2 years ago

@ldelacosta I started looking into this ticket, can we get someone from SQA to create a vcm appointment to test with please

ldelacosta commented 2 years ago

@beth-wodzinski / @aarathi-poldass - We are trying to review ticket. Would you be able to create a VVC appointment for us? Please let us know when you have a chance. Thanks!

aarathi-poldass commented 2 years ago

VCM is the application that we use to scheduled VVC appointment. VCM is currently down, so we can't schedule new appointments. I can help test once the application is back up.

beth-wodzinski commented 2 years ago

I was able to get into VCM just now, and made a video appointment for Cecil Morgan on 8/2/22 at 11:00 mountain time. Let me know if this works for you or if you need anything else.

simiadebowale commented 2 years ago

We currently hardcode instructions for telehealth appointments. We get the instructions returned from the appointments endpoint, in the 'patientInstruction' field. Screen Shot 2022-08-01 at 10.54.33 AM.png

Important Note: the instructions we currently display is hardcoded and different from the instructions we're getting from the api. which/what is the source of truth?

Here's a sample of the response we get for the 'Medication Review' instruction: patientInstruction: "Medication Review\n\n- As part of your video visit, your provider wants to review all the medications, vitamins, herbs, and supplements you are taking. Your provider will want to know about these items even if you get them from a local store, another provider, or another VA clinic.\n - Please have available during the visit information about all the medications, vitamins, herbs and supplements you are taking to your video visit.\n - Informing your provider about all these will help you get the best and safest care possible.\n\nRemember, it is your medications, your life, so play it safe by reviewing all your medications with your health care team."

Here's a sample of the response we get for the 'Message Sent in MyHealtheVet' instruction: patientInstruction: "Message Sent in MyHealtheVet\n\nSign-in to My HealtheVet Secure Messaging https://www.myhealth.va.gov/ to view resources sent from your VA health care team to support your video visit.\n\nTo use the Secure Messaging feature, you must have registered on MyHealtheVet as a VA Patient and have a Premium account".

It is possible to dynamically pass these instructions into our UI component like shown in the screen shot above however, we would need to discuss a set format for these instructions as they are currently formatted differently. The idea is for the FE to split the string into an array using the dash '-' as the separator.

cc: @ldelacosta

ldelacosta commented 2 years ago

@simiadebowale - Please add your recommendation on the data we would like VCM to send over to VAOS FE.

simiadebowale commented 2 years ago

Recommendations: Either of these two solutions works for us. Our preference however, would be the second.

cc: @ldelacosta

ldelacosta commented 4 months ago

This has been documented in GH file. Closing out the ticket. cc: @JRRoof