Open ayush-chak opened 2 weeks ago
Q: Is this an edge case?
For matching a single claim with a single appointment:
There is this proposed endpoint: /api/v1.1/claims/search-by-appointment-date
, which could help satisfy a list of "which claims were submitted for the specific day in question". The response currently does not include the appointment ID or the facility ID (the facility name is included).
For getting the entire list of appointments and entire list of claims and merging them in the vets-api
backend:
Currently, the appointment ID is not included in the /claims
endpoint. Adding the appointment ID and the facility ID would help match the specific appointment to the claim more easily.
Confirmed with Blaise in this Slack thread that the business rules allow for one travel pay claim per day per facility.
This means that yes, having the facility ID also returned in the /claims
endpoints are needed for associating the travel claim with the correct appointment (at the correct facility).
Context
We need to understand how best to associate a travel pay claim with an appointment. We know that both the check in experience and the BTSSS portal both assign a mileage expense to the first appointment of the day if at a single facility.
Facts
Questions
/claims
travel pay api endpoint?