-
Notifications
You must be signed in to change notification settings - Fork 70
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
Facility Locator uses Lighthouse API v1 with existing functionality (Phase 2) #12907
Comments
closing, no tickets associated and plenty of epics to use |
@jilladams review epic to confirm if the FE work is scoped to adopt |
In theory: when the Facilities API in vets-api has been updated from V1 to V2, theoretically we should be able to update the endpoints that the Facility Locator is calling to point from V1 to V2 endpoints, and everything still works. In vets-api:
The number of available services won't change until Phase 3, when we adopt the expanded functionality available in LH V1. |
@oddballpete @jilladams you'll want to check on the source of the service list dropdown when Facility type = VA health or VA benefits (example in screenshot below). I think both are hardcoded - I don't think we get either from Lighthouse. If hiding them becomes necessary, here's data to support that as a interim solution. Year to date,
After the change, Lighthouse v2 should be the source for the following searches
Search functionality for community care providers should be maintained |
@mmiddaugh Thanks for this info! Could I ask a clarifying question about the "Search functionality for community care providers should be maintained" portion? I'm wondering what specifically is meant by the that portion of the comment since it is separated out from the "Lighthouse v2" portion? I'm thinking this is speaking specifically to searches that have Facility type = "Community providers (in VA’s network)" OR "Community pharmacies (in VA’s network)". Is that correct? Also, does the comment mean that community care providers search should continue to use Lighthouse v1 (vets-api) and therefore Lighthouse API v0 (instead of v1)? Cc: @oddballpete |
Great questions. You're right re: Community Care providers & pharmacies -- there's a diagram here that explains data origins / Lighthouse vs. PPMS community care data: https://github.com/department-of-veterans-affairs/va.gov-team/tree/master/products/facilities/facility-locator/engineering#technical-diagrams @eselkin & @maxx1128 tagging you in for technical expertise re: Kyle's question in the comment above re: PPMS data in the facilities-api V2 version, once we have LH V1 integrated. When we scoped out V1 Lighthouse updates, we didn't really talk about the fact that the PPMS data sits on facilities-api V1 in vets-api and whether or not that will need to increment in some way. I'm curious if either of you or Kyle see any issues around keeping that data / endpoint at V1? |
So it'd be best (for clarity) if the version for our vets-api request be the same between a The Facility Locator frontend uses |
@mmiddaugh @eselkin Thank you for this extra info! After discussing with @oddballpete, we believe that we can get the ccp/ppms functionality moved over from v1 facilities_api (vets-api) to v2. We are planning on working on this after completing the facilities_api (vets-api) Lighthouse v1 to v2 backend change and before starting Phase 2 (frontend change to integrate with v2 of facilities_api). Please let us know if you have any concerns or see any potential issues with this plan. Also, there's a |
I've never touched the mobile COVID stuff. I'll look. Edit: that flipper enables making a request to I don't see that flipper listed. Which uses the URL Settings.hqva_mobile.url which is not lighthouse, right? I think it's this URL in reality: |
@khenson-oddball In general your plan makes great sense - thank you! For the mobile covid bit, are you all able to trace git blame and see who added that? Could be that it was the facilities team who held the contract before us in 2021, but I'm not finding related tickets. If there's still code in the wild that calls the endpoint, we'll need to preserve it OR remove the code that calls it (worst case: someone turns that flipper on and we have problems, if not?). Also: ^ Eli added some notes after posting his original comment that may not have come through in email. |
@eselkin I didn't find that flipper toggle listed either. I believe you are right about the prod endpoint. I don't believe that is Lighthouse, but I can't be certain about that. @jilladams thanks for the heads up on Eli's comment! It looks like the Lance Sanchez added the mobile covid change back in May of 2021 with these two PRs. Happy to preserve the mobile covid code if needed, but was hoping to remove it if it is not being used. I'm guessing with it being behind a flipper toggle since 2021 and no mention of the toggle in flipper, it's not being used. 😆 |
Closing this. IIR team is handling this migration: As part of epic: https://github.com/department-of-veterans-affairs/va-iir/issues/617 #18014 will track our QA |
Description
Lighthouse Facilities V1 shipped August 24, 2023. This long-awaited update made CMS the source of truth for nearly all VA health services throughout the ecosystem. This is Phase 2 of 3 parts to implement V1. The work covered by this epic will convert the Facility Locator to use Facility API v1 with existing functionality. (#12907)
Currently, Veterans can search for 19 VA health services in the Facility Locator. Today, those searches are powered by a legacy data source which affiliates services and facilities. This data source has not been entirely accurate for some time and is no longer maintained given the launch of Lighthouse Facilities V1 in August 2023.
Lighthouse V1 (c/o CMS) contains data for over 90 service types. We are not able to make searching for all of these possible given the current UX which presents a dropdown list of services. However, we can point to CMS as the source of truth for the service selected from the existing service dropdown. This will reduce the discrepancies between the facility/service data we return in search results and the data which is available in CMS (and displayed on VAMC pages).
There is relevant history and bigger picture context in #11542.
Tasks
Expected behavior
facilities-api
V2)The text was updated successfully, but these errors were encountered: