department-of-veterans-affairs / abd-vro

To get Veterans benefits in minutes, VRO software uses health evidence data to help fast track disability claims.
Other
19 stars 6 forks source link

Investigate if BIP has endpoint for special issue codes #3206

Closed dfitchett closed 1 month ago

dfitchett commented 2 months ago

Summary

Investigate whether or not the BIP api has the capability of returning special issue codes, and if so, does it include information about the deactivation date.

Acceptance Criteria

Findings

Summary

The BIP Claims API has an endpoint to get special issue codes. The GET endpoint is /contentions/special_issue_codes and returns an array of codeNamePairs with the schema below:

"CodeNamePairsResponse" : {
        "allOf" : [ {
          "$ref" : "#/components/schemas/ProviderResponse"
        }, {
          "$ref" : "#/components/schemas/CodeNamePairsResponse_allOf"
        } ],
        "title" : "CodeNamePairsResponse"
      },
      "CodeNamePair" : {
        "properties" : {
          "name" : {
            "type" : "string"
          },
          "code" : {
            "type" : "string"
          },
          "description" : {
            "type" : "string"
          },
          "deactiveDate" : {
            "description" : "Date indicating when this item is deactivated and is no longer valid, or an empty value.",
            "format" : "date-time",
            "type" : "string"
          }
        },
        "required" : [ "code", "deactiveDate", "name" ],
        "title" : "CodeNamePair",
        "type" : "object"
      },

name, code, and deactiveDate are required, however deactiveDate is the date-time indicating when this item is deactivated and is no longer valid, or an empty value.

Follow-Ons