Skip to content

Commit

Permalink
Api 23700 add back suspense date (#12321)
Browse files Browse the repository at this point in the history
* adds suspense_date back

* update oas
  • Loading branch information
FonzMP authored Apr 4, 2023
1 parent 9a9bdaa commit 7155ec3
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -426,6 +426,7 @@ def map_bgs_tracked_items(bgs_claim) # rubocop:disable Metrics/MethodLength
overdue: item[:suspns_dt].nil? ? false : item[:suspns_dt] < Time.zone.now, # EVSS generates this field
requested_date: date_present(item[:req_dt]),
status:, # EVSS generates this field
suspense_date: date_present(item[:suspns_dt]),
tracked_item_id: id.to_i,
uploaded: item[:receive_dt].present?, # EVSS generates this field
uploads_allowed: # EVSS generates this field
Expand Down
12 changes: 10 additions & 2 deletions modules/claims_api/app/swagger/claims_api/v2/dev/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -781,8 +781,9 @@
"openedDate": null,
"overdue": true,
"requestedDate": "2022-02-04",
"status": "NEEDED",
"suspenseDate": "2022-03-06",
"trackedItemId": 325525,
"status": "INITIAL_REVIEW_COMPLETE",
"uploaded": false,
"uploadsAllowed": true
},
Expand All @@ -793,8 +794,9 @@
"openedDate": null,
"overdue": true,
"requestedDate": "2022-02-04",
"status": "NEEDED",
"suspenseDate": "2022-03-06",
"trackedItemId": 325524,
"status": "INITIAL_REVIEW_COMPLETE",
"uploaded": false,
"uploadsAllowed": true
}
Expand Down Expand Up @@ -1169,6 +1171,12 @@
"SUBMITTED_AWAITING_REVIEW"
]
},
"suspenseDate": {
"format": "date",
"type": "string",
"nullable": true,
"example": "2017-10-18"
},
"uploaded": {
"type": "boolean",
"nullable": true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -781,8 +781,9 @@
"openedDate": null,
"overdue": true,
"requestedDate": "2022-02-04",
"status": "NEEDED",
"suspenseDate": "2022-03-06",
"trackedItemId": 325525,
"status": "INITIAL_REVIEW_COMPLETE",
"uploaded": false,
"uploadsAllowed": true
},
Expand All @@ -793,8 +794,9 @@
"openedDate": null,
"overdue": true,
"requestedDate": "2022-02-04",
"status": "NEEDED",
"suspenseDate": "2022-03-06",
"trackedItemId": 325524,
"status": "INITIAL_REVIEW_COMPLETE",
"uploaded": false,
"uploadsAllowed": true
}
Expand Down Expand Up @@ -1169,6 +1171,12 @@
"SUBMITTED_AWAITING_REVIEW"
]
},
"suspenseDate": {
"format": "date",
"type": "string",
"nullable": true,
"example": "2017-10-18"
},
"uploaded": {
"type": "boolean",
"nullable": true,
Expand Down
6 changes: 6 additions & 0 deletions spec/support/schemas/claims_api/v2/veterans/claims/claim.json
Original file line number Diff line number Diff line change
Expand Up @@ -330,6 +330,12 @@
"SUBMITTED_AWAITING_REVIEW"
]
},
"suspenseDate": {
"format": "date",
"type": "string",
"nullable": true,
"example": "2017-10-18"
},
"uploaded": {
"type": "boolean",
"nullable": true,
Expand Down

0 comments on commit 7155ec3

Please sign in to comment.