From 36f10a5797d268fb00e8d86439c26d9bc45a6638 Mon Sep 17 00:00:00 2001 From: Andrew Herzberg Date: Tue, 23 Apr 2024 11:06:37 -0700 Subject: [PATCH] claim model update --- .../mobile/v0/appointments_controller.rb | 2 +- .../appointments/partial_appointments.yml | 7 +---- modules/mobile/docs/index.html | 2 +- .../support/schemas/VAOS_v2_appointments.json | 29 +------------------ 4 files changed, 4 insertions(+), 36 deletions(-) diff --git a/modules/mobile/app/controllers/mobile/v0/appointments_controller.rb b/modules/mobile/app/controllers/mobile/v0/appointments_controller.rb index fc27e795e16..a3c9c19205a 100644 --- a/modules/mobile/app/controllers/mobile/v0/appointments_controller.rb +++ b/modules/mobile/app/controllers/mobile/v0/appointments_controller.rb @@ -91,7 +91,7 @@ def partial_errors(failures) Rails.logger.info('Mobile Appointment Partial Error', errors: failures) { - errors: failures + errors: [{ source: 'VA Service' }] } end end diff --git a/modules/mobile/docs/examples/appointments/partial_appointments.yml b/modules/mobile/docs/examples/appointments/partial_appointments.yml index 7c4327d3eff..6b4a35006b6 100644 --- a/modules/mobile/docs/examples/appointments/partial_appointments.yml +++ b/modules/mobile/docs/examples/appointments/partial_appointments.yml @@ -43,12 +43,7 @@ data: friendly_location_name: null locationId: '938' meta: - errors: [ - { appointmentErrors: [{system: "the system", id: "id-string", status: "status-string", code: 0, traceId: "traceId-string", message: "msg-string", detail: "detail-string"}]}, - { missingFacilities: [934, 302, 201]}, - { missingClinics: [934, 302, 201]}, - { missingProviders: [934, 302, 201]}, - ] + errors: [{source: "VA Service"}] checkinWindow: minutesBefore: 45 minutesAfter: 15 diff --git a/modules/mobile/docs/index.html b/modules/mobile/docs/index.html index eedd56c051c..8f6e790b4f2 100755 --- a/modules/mobile/docs/index.html +++ b/modules/mobile/docs/index.html @@ -3591,7 +3591,7 @@

Response samples

Content type
application/json
{
  • "data": [
    ],
  • "meta": {
    }
}