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

80854 appts svc using check in UUID #16432

Merged
merged 7 commits into from
Apr 23, 2024

Conversation

randomsync
Copy link
Member

@randomsync randomsync commented Apr 20, 2024

Summary

This PR updates the appointments base service to use check_in session, lookup the patient icn from Redis using the check_in session uuid, and uses the MAP token service to get the token and call VAOS appointments endpoint. The base service correctly gets the patient icn using the check_in session uuid. Earlier implementations relied on the controller layer to pass in the patient icn.

This code is not currently being used, we'll be working on adding a controller implementation that uses this service to get the upcoming appointments for the patient who is checking in.

Related issue(s)

department-of-veterans-affairs/va.gov-team#80854

Testing done

  • New code is covered by unit tests

Acceptance criteria

  • I fixed|updated|added unit tests and integration tests for each feature (if applicable).
  • Events are being sent to the appropriate logging solution
  • Documentation has been updated (link to documentation)
  • No sensitive information (i.e. PII/credentials/internal URLs/etc.) is captured in logging, hardcoded, or specs

@va-vfs-bot va-vfs-bot temporarily deployed to 80854_appts_svc_using_check_in_uuid/main/main April 20, 2024 00:31 Inactive
@va-vfs-bot va-vfs-bot temporarily deployed to 80854_appts_svc_using_check_in_uuid/main/main April 20, 2024 00:44 Inactive
@randomsync randomsync marked this pull request as ready for review April 23, 2024 17:09
@randomsync randomsync requested review from a team as code owners April 23, 2024 17:09
@va-vfs-bot va-vfs-bot temporarily deployed to 80854_appts_svc_using_check_in_uuid/main/main April 23, 2024 17:27 Inactive
@va-vfs-bot va-vfs-bot temporarily deployed to 80854_appts_svc_using_check_in_uuid/main/main April 23, 2024 18:12 Inactive
Copy link
Contributor

@kanchanasuriya kanchanasuriya left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@randomsync randomsync merged commit ab4d44f into master Apr 23, 2024
22 checks passed
@randomsync randomsync deleted the 80854_appts_svc_using_check_in_uuid branch April 23, 2024 20:21
ericboehs pushed a commit that referenced this pull request Apr 26, 2024
* 80854 update token service specs

* 80854 update base service and specs

* 80854 update appointment service specs

* 80854 fix specs to get icn from Lorota Redis client
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants