-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
5198 handle partial appointments response (#12438)
* passed failures error to controller * updated meta to include errors if avail * crested cassette for partial errors * updated cassette * added test for partial errors in spec * updated api docs with example for partial appointments * rerendered docs * added statsd logging for partials * fixed controller * v2 specs fix * updated partial error cassette * fixed appointments cache and corresponding specs * updated appointments v2 specs with count * added description * added multi_status * update partial error method * changed precaching based on whether failures are present * fixed pre_cache_appointments job * re-rendered docs * fixed comment * re-rendered docs
- Loading branch information
Showing
11 changed files
with
3,170 additions
and
1,172 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
43 changes: 43 additions & 0 deletions
43
modules/mobile/docs/examples/appointments/partial_appointments.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
data: | ||
- type: appointment | ||
id: "23fe358d-6e82-4541-804c-ce7562ba28f4" | ||
attributes: | ||
appointmentType: va | ||
cancelId: MzA4OzIwMjAxMTAzLjA5MDAwMDs0NDI7Q0hZIFBDIEtJTFBBVFJJQ0s= | ||
comment: Please arrive 20 minutes before the start of your appointment | ||
healthcareProvider: null | ||
healthcareService: Blind Rehabilitation Center | ||
location: | ||
name: VA Long Beach Healthcare System | ||
address: | ||
street: 5901 East 7th Street, Building 166 | ||
city: Long Beach | ||
state: CA | ||
zipCode: "90822" | ||
lat: 33.7700504 | ||
long: -118.1937395 | ||
phone: | ||
areaCode: "562" | ||
number: "826-8000" | ||
extension: "5696" | ||
url: null | ||
code: null | ||
minutesDuration: 60 | ||
phoneOnly: false | ||
startDateLocal: 2019-04-20T14:15:00.000-04:00 | ||
startDateUtc: 2019-04-20T18:15:00.000Z | ||
status: CANCELLED | ||
statusDetail: CANCELLED BY PATIENT | ||
timeZone: America/Los_Angeles | ||
vetextId: 308;20210106.140000 | ||
reason: "Follow-up/Routine: Reason 1" | ||
is_covid_vaccine: false | ||
is_pending: false | ||
proposed_times: null | ||
type_of_care: null | ||
patient_phone_number: null | ||
patient_email: null | ||
best_time_to_call: null | ||
friendly_location_name: null | ||
meta: | ||
errors: [{source: "VA Service"}] |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.