You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When direct scheduling through the VAOS web app, clinics that should be excluded from scheduling are being presented as available for scheduling. Need to verify that vets-api is calling the VAOS service in order to retrieve clinics. Also, verify that the proper parameters are being passed, i.e. enableStopCodeFilter=true
Clinic IEN 455 CHY PC Cassidy and Clinic IEN 457 Green Team Clinic2 both have stop codes on the exclusion list above and are being returned for direct scheduling.
Desired Result
Clinics with stop code on the above list are not available for direct Scheduling
Definition of Done
Desired result is achieved and/or document decisions made
Relevant documentation is updated
The text was updated successfully, but these errors were encountered:
Appointments FE is passing the enableStopCodeFilter=true flag in vets-api but VPG is not consuming flag and passing it to vaos-service when making a call to /locations/#{location_id}/clinics. Started a thread with VPG team to resolve issue.
Note: Issue only affects staging since vpg is currently only live in staging
Summary
When direct scheduling through the VAOS web app, clinics that should be excluded from scheduling are being presented as available for scheduling. Need to verify that vets-api is calling the VAOS service in order to retrieve clinics. Also, verify that the proper parameters are being passed, i.e. enableStopCodeFilter=true
##Details
Direct Scheduling Exclusion List: filter clinics with these primary and /or secondary stop code from direct scheduling. VAOS filters clinics for direct scheduling based on stop code exclusion list. https://coderepo.mobilehealth.va.gov/projects/VAR/repos/vaos-service/browse/vaos-service/src/main/resources/application.properties#19
mobile.vaos.clinicStopcodeExclusionList=${CLINIC_STOPCODE_EXCLUSION_LIST:[{"secondary":117},{"secondary":135},{"secondary":136},{"secondary":137},{"secondary":162},{"secondary":179},{"secondary":183},{"secondary":184},{"secondary":185},{"secondary":186},{"secondary":187},{"secondary":188},{"secondary":189},{"secondary":370},{"secondary":371},{"secondary":440},{"secondary":443},{"secondary":444},{"secondary":445},{"secondary":446},{"secondary":447},{"secondary":490},{"secondary":491},{"secondary":497},{"secondary":498},{"secondary":644},{"secondary":645},{"secondary":646},{"secondary":647},{"secondary":648},{"secondary":673},{"secondary":679},{"secondary":684},{"secondary":690},{"secondary":692},{"secondary":693},{"secondary":694},{"secondary":695},{"secondary":696},{"secondary":697},{"secondary":698},{"secondary":699},{"secondary":701},{"secondary":706},{"secondary":707},{"secondary":708},{"secondary":713},{"secondary":714},{"secondary":717},{"secondary":719},{"secondary":720},{"secondary":721},{"secondary":722},{"secondary":723},{"secondary":724},{"primary":103,"secondary":801},{"primary":103,"secondary":802},{"primary":103,"secondary":803},{"primary":323,"secondary":531},{"primary":338,"secondary":531},{"primary":339,"secondary":184},{"primary":568,"secondary":535},{"primary":674,"secondary":685}]}}
Checking the backend call directly shows these two clinics are not being returned:
https://veteran.apps-staging.va.gov/vaos/v1/locations/983/clinics?patientIcn=1012853802V084487&clinicalService=primaryCare&enableStopCodeFilter=true
This is the front end call, which includes the two excluded clinics (455 CHY PC Cassidy & 457 Green Team Clinic2):
https://staging.va.gov/my-health/appointments/schedule/clinic
When vets selects one of those clinics to direct schedule, VAOS gives an error on this call https://staging-api.va.gov/vaos/v2/appointments
Specs
Steps to Reproduce
Test User: ruben.moreno@id.me
Actual Result
Clinic IEN 455 CHY PC Cassidy and Clinic IEN 457 Green Team Clinic2 both have stop codes on the exclusion list above and are being returned for direct scheduling.
Desired Result
Clinics with stop code on the above list are not available for direct Scheduling
Definition of Done
The text was updated successfully, but these errors were encountered: