Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OH - Add location and typeOfCare arguments and functionality to patient relationships #98864

Open
7 of 9 tasks
ryanshaw opened this issue Dec 11, 2024 · 0 comments
Open
7 of 9 tasks
Assignees
Labels
appointments VA Online Scheduling tool product tag frontend

Comments

@ryanshaw
Copy link
Contributor

ryanshaw commented Dec 11, 2024

Description

We need to update the services, mocks and hooks related to the patient relationship endpoint for OH direct scheduling to take two arguments:

  • location
  • typeOfCare

The mocks should also return appropriate data based on arguments that are passed.

Development Checklist

  • Update src/applications/vaos/services/vaos/index.js
  • Update src/applications/vaos/services/patient/index.js
  • Update src/applications/vaos/services/mocks/index.js
  • Update src/applications/vaos/new-appointment/hooks/useGetPatientRelationships.js
  • Update src/applications/vaos/services/mocks/v2/patient_provider_relationships.json to include the hasAvailability boolean attribute
  • Update related unit tests
  • Ensure type definitions in the patient service are accurate

Design Assets

N/A

Developer Reference

Definition of Done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
appointments VA Online Scheduling tool product tag frontend
Projects
None yet
Development

No branches or pull requests

2 participants