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

Video Appt at Child Site has Cancel Message that says to Contact Parent Site #73324

Closed JRRoof closed 7 months ago

JRRoof commented 10 months ago

Summary

When viewing the details of a video appointment the card at the bottom of the appointment details page titled "Need to make changes?" says to contact the parent site instead of the actual child site where the appointment is scheduled.

Specs

Steps to Reproduce

Test User: alfred.castillo@id.me Password!: ****

  1. Go to: https://staging.va.gov/my-health/appointments/193153
image.png
{
            "id": "193153",
            "type": "appointments",
            "attributes": {
                "id": "193153",
                "identifier": [
                    {
                        "system": "Appointment/",
                        "value": "4139383436313133"
                    },
                    {
                        "system": http://www.va.gov/Terminology/VistADefinedTerms/409_84,
                        "value": "984:6113"
                    },
                    {
                        "system": "Appointment/",
                        "value": "4139383436313134"
                    },
                    {
                        "system": http://www.va.gov/Terminology/VistADefinedTerms/409_84,
                        "value": "984:6114"
                    },
                    {
                        "system": http://med.va.gov/fhir/urn/vaos/vvs/id,
                        "value": "8e4f298e-7472-ee11-8dee-001dd80872b0"
                    }
                ],
                "kind": "telehealth",
                "status": "booked",
                "serviceType": "outpatientMentalHealth",
                "serviceTypes": [
                    {
                        "coding": [
                            {
                                "system": http://veteran.apps.va.gov/terminologies/fhir/CodeSystem/vats-service-type,
                                "code": "outpatientMentalHealth"
                            }
                        ]
                    }
                ],
                "serviceCategory": [
                    {
                        "coding": [
                            {
                                "system": http://www.va.gov/Terminology/VistADefinedTerms/409_1,
                                "code": "REGULAR",
                                "display": "REGULAR"
                            }
                        ],
                        "text": "REGULAR"
                    }
                ],
                "patientIcn": "1012667219V959720",
                 "locationId": "984GA",
                 "clinic": "4275",
                "start": "2024-10-07T15:05:00Z",
                "end": "2024-10-07T16:05:00Z",
                "minutesDuration": 60,
                "slot": {
                    "id": "3230323431303037313530353A323032343130303731363035",
                    "start": "2024-10-07T15:05:00Z",
                    "end": "2024-10-07T16:05:00Z"
                },
                "created": "2023-10-24T00:00:00Z",
                "cancellable": false,
                "telehealth": {
                    "url": https://dev.care2.va.gov/vvc-app/?join=1&media=1&escalate=1&userType=guest&conference=VAC000001191@dev.care2.va.gov&pin=832175&aid=8e4f298e-7472-ee11-8dee-001dd80872b0#,
                    "group": false,
                    "vvsKind": "MOBILE_ANY"
                },
                "extension": {
                    "ccLocation": {
                        "address": {}
                    },
                    "vistaStatus": [
                        "FUTURE"
                    ],
                    "patientHasMobileGfe": false,
                    "preCheckinAllowed": false,
                    "eCheckinAllowed": false,
                    "clinic": {
                        "physicalLocation": "MIDDLETOWN",
                        "phoneNumber": "2021002003"
                    }
                },
                "localStartTime": "2024-10-07T11:05:00.000-04:00",
                "serviceName": "V10 CRH MH PSY MD 01 VVC",
                "friendlyName": "V10 CRH MH PSY MD 01 VVC",
                "physicalLocation": "MIDDLETOWN",
                "location": {
                    "id": "984GA",
                    "type": "appointments",
                    "attributes": {
                        "id": "984GA",
                        "vistaSite": "984",
                        "vastParent": "984",
                        "type": "va_health_facility",
                        "name": "Middletown VA Clinic",
                        "classification": "Multi-Specialty CBOC",
                        "timezone": {
                            "timeZoneId": "America/New_York"
                       },
                        "lat": 39.50603,
                       "long": -84.316475,
                        "website": https://www.dayton.va.gov/locations/midtwn_cboc.asp,
                        "phone": {
                            "main": "513-423-8387"
                        },
                        "physicalAddress": {
                            "type": "physical",
                            "line": [
                                "4337 North Union Road"
                            ],
                            "city": "Middletown",
                            "state": "OH",
                            "postalCode": "45005-5211"
                        },
                        "healthService": [
                            "Audiology",
                            "MentalHealthCare",
                            "Optometry",
                            "Podiatry",
                            "PrimaryCare",
                            "SpecialtyCare"
                        ]
                    }
                }
            }
        },

Actual Result

"Need to make changes?" card at the bottom of the page says to contact the Dayton VA Medical Center

Desired Result

"Need to make changes?" card at the bottom of the page should say to contact the Middletown VA Clinic

Second example

Test User: alfred.castillo@id.me Password!: Password1234!

  1. Go to: https://staging.va.gov/my-health/appointments/192753
image.png
{
            "id": "192753",
            "type": "appointments",
            "attributes": {
                "id": "192753",
                "identifier": [
                    {
                        "system": "Appointment/",
                        "value": "4139383436313135"
                    },
                    {
                        "system": http://www.va.gov/Terminology/VistADefinedTerms/409_84,
                        "value": "984:6115"
                    },
                    {
                        "system": http://med.va.gov/fhir/urn/vaos/vvs/id,
                        "value": "03544e01-7772-ee11-8dee-001dd80872b0"
                    }
                ],
                "kind": "telehealth",
                "status": "booked",
                "serviceType": "primaryCare",
                "serviceTypes": [
                    {
                        "coding": [
                            {
                                "system": http://veteran.apps.va.gov/terminologies/fhir/CodeSystem/vats-service-type,
                                "code": "primaryCare"
                            }
                        ]
                    }
                ],
                "serviceCategory": [
                    {
                        "coding": [
                            {
                                "system": http://www.va.gov/Terminology/VistADefinedTerms/409_1,
                                "code": "REGULAR",
                                "display": "REGULAR"
                            }
                        ],
                        "text": "REGULAR"
                    }
                ],
                "patientIcn": "1012667219V959720",
                "locationId": "984GA",
                "clinic": "4518",
                "start": "2024-10-08T12:00:00Z",
                "end": "2024-10-08T12:30:00Z",
                "minutesDuration": 30,
                "slot": {
                    "id": "3230323431303038313230303A323032343130303831323330",
                    "start": "2024-10-08T12:00:00Z",
                    "end": "2024-10-08T12:30:00Z"
                },
                "created": "2023-10-24T00:00:00Z",
                "cancellable": true,
                "telehealth": {
                    "url": https://pexip.mapsandbox.net/vvc-app/?join=1&media=1&escalate=1&conference=TMPX1926317@pexip.mapsandbox.net&pin=1020745880#,
                    "group": false,
                    "vvsKind": "MOBILE_ANY"
                },
                "extension": {
                    "ccLocation": {
                        "address": {}
                    },
                    "vistaStatus": [
                        "FUTURE"
                    ],
                    "patientHasMobileGfe": false,
                    "preCheckinAllowed": false,
                    "eCheckinAllowed": false,
                    "clinic": {
                        "physicalLocation": "MIDDLETOWN",
                        "phoneNumber": "2021002000"
                    }
                },
                "localStartTime": "2024-10-08T08:00:00.000-04:00",
                "serviceName": "MID-VAOS PC MD VVC",
                "friendlyName": "MID-VAOS PC MD VVC",
                "physicalLocation": "MIDDLETOWN",
                "location": {
                    "id": "984GA",
                    "type": "appointments",
                    "attributes": {
                        "id": "984GA",
                        "vistaSite": "984",
                        "vastParent": "984",
                        "type": "va_health_facility",
                        "name": "Middletown VA Clinic",
                        "classification": "Multi-Specialty CBOC",
                        "timezone": {
                            "timeZoneId": "America/New_York"
                        },
                        "lat": 39.50603,
                        "long": -84.316475,
                        "website": https://www.dayton.va.gov/locations/midtwn_cboc.asp,
                        "phone": {
                            "main": "513-423-8387"
                        },
                        "physicalAddress": {
                            "type": "physical",
                            "line": [
                                "4337 North Union Road"
                            ],
                            "city": "Middletown",
                            "state": "OH",
                            "postalCode": "45005-5211"
                        },
                        "healthService": [

Definition of Done


How to configure this issue

vbahinwillit commented 8 months ago

This seems to be fixed. Please confirm.

staging va gov_my-health_appointments_193153

ldelacosta commented 8 months ago

Validated this appointment: https://staging.va.gov/my-health/appointments/193153

Screenshot 2024-03-08 at 5.07.04 PM.png
JRRoof commented 7 months ago

Neither the main or child facility is showing for the second example. Is there a reason for this or is it a bug? image

ldelacosta commented 7 months ago

Setting up a call this week with the team to discuss the ticket. cc: @vbahinwillit @JRRoof @simiadebowale

ldelacosta commented 7 months ago

Closing out the ticket. We will improve the logic/message content in ticket #78400. cc: @JRRoof @simiadebowale @outerpress

Low priority.