Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VBMS API Update to Support Correct Display of Labels in Reader #12979

Closed
D-L-Ware opened this issue Dec 16, 2019 · 12 comments · Fixed by #13970
Closed

VBMS API Update to Support Correct Display of Labels in Reader #12979

D-L-Ware opened this issue Dec 16, 2019 · 12 comments · Fixed by #13970
Assignees
Labels
Integration: VBMS VBMS integration Priority: Medium Blocking issue w/workaround, or "second in" priority for new work. Product: caseflow-reader Team: Echo 🐬 Type: Bug

Comments

@D-L-Ware
Copy link

Description

As a user, I would like to see the same label displayed for a document in Reader as users see in VBMS. For the most part this already exists, however, for some recently added document types (specifically AMA documents) they currently default to 'Other' label in Reader despite having a more detailed label in VBMS.

Background

Caseflow Reader pulls all documents from VBMS. Each document has a label in VBMS, such as 'Statement of the Case', 'Notice of Disagreement', 'Rating Decision', etc. This information comes through the API with VBMS. Most document labels are pulled but not all are. Reader displays the label 'Other' whenever it encounters a document for which a label is not pulled.

When it comes to things that currently display 'Other', of particular importance is AMA documents such as the VA Form 20-0995, VA Form 20-0996, and VA Form 10182. These documents where added post Reader's launch, hence, I believe, why they all currently display other in Reader while displaying a more detailed name in VBMS.

@D-L-Ware D-L-Ware added Product: caseflow-reader Integration: VBMS VBMS integration Priority: Low Reported issue, not a blocker. "Last in" priority for new work. labels Dec 16, 2019
@D-L-Ware
Copy link
Author

D-L-Ware commented Jan 9, 2020

This issue came to the attention of Troy Hamilton and he had this suggestion:

VBMS and the other VBA systems update their document type business data on a quarterly (major release) basis. This artifact is updated by OBPI a few weeks prior to the beginning of a release with an effective date of the changes that matches the release date. They do out of cycle changes also but that is limited to emergency cases which have only occurred a couple of times in the last 7 years. I would recommend that Caseflow include this periodic update of document types into their Program Increment planning and reserve an LOE for it to ensure Caseflow stays in synch with VBMS and other systems that use the e-Folder repository.

@kevmo
Copy link
Contributor

kevmo commented Feb 21, 2020

Anything Caseflow doesn't recognize is "other" by default. Supposedly exhaustive list of categories exists in email (cc @jimruggiero) and will be attached to this ticket.

No new labels are expected anytime soon (list was made during AMA) - this is about bringing Caseflow into compliance.

@kevmo
Copy link
Contributor

kevmo commented Feb 21, 2020

Estimation: 3

What is this graph?

1 | ||
2 | ||||
3 | |||||
5 | |
8 | 

Why this could be a 5? New product - need to get an understanding of the code. Why a 1? Could be just adding some strings to an array/list somewhere.

@araposo-tistatech
Copy link

Attached is the list of document types that need to be added to Reader.

Copy of 64827- Master Document Type Categories R18.1.xlsx

@hschallhorn
Copy link
Contributor

Where these types are pulled in in Caseflow!
Where we pull these doc names from!
These seem to match <DCMNT_TYPE_LUP_ID> => <DESCRIPTION_TXT> in TYPES
Example of a PR on how to update this doc!

@araposo-tistatech araposo-tistatech added Priority: Medium Blocking issue w/workaround, or "second in" priority for new work. Type: Bug and removed Priority: Low Reported issue, not a blocker. "Last in" priority for new work. labels Mar 20, 2020
@ajspotts ajspotts self-assigned this Mar 30, 2020
@ajspotts
Copy link
Contributor

ajspotts commented Apr 1, 2020

Attached is the list of document types that need to be added to Reader.

Copy of 64827- Master Document Type Categories R18.1.xlsx

@araposo-tistatech just double checking we want Caseflow to recognize all of the document types listed in this spreadsheet correct? We currently have approx. 500 of them that we recognize so the list you provided just about doubles that amount

@hschallhorn
Copy link
Contributor

I assume it's all but the ones that have not been deleted (no strikethrough), but I'll let Ann-Marie confirm

@araposo-tistatech
Copy link

@ajspotts confirming Caseflow should be able to recognize all the document types

@ajspotts
Copy link
Contributor

ajspotts commented Apr 2, 2020

@araposo-tistatech in the case of encountering a doc type that is in our code but not listed in the spreadsheet (not a strikethrough) what would be your suggestion in terms of leaving or removing it?

@araposo-tistatech
Copy link

@ajspotts I would suggest leaving it for now and pulling a list of the current documents we have in the system. If we can pull a list I should be able to request if any should be removed during future document updates (as VBMS and the other VBA systems update are updated quarterly).

@ajspotts
Copy link
Contributor

@araposo-tistatech This one is just about ready to go, however do you happen to know if any of the labels we added need to also be added to the "Case Summary Types" here similarly to how it was previously done in this PR?

@ajspotts
Copy link
Contributor

ajspotts commented Apr 10, 2020

@araposo-tistatech This one is just about ready to go, however do you happen to know if any of the labels we added need to also be added to the "Case Summary Types" here similarly to how it was previously done in this PR?

After conferring with @hschallhorn since this wasn't a direct ask of the issue going to overlook for now, doing a follow-up PR to make the change if necessary will be a small fix as seen by the PR referenced in the previous comment.

va-bot pushed a commit that referenced this issue Apr 10, 2020
Resolves #12979 

### Description
Add test to ensure the labels added in [this](department-of-veterans-affairs/caseflow-commons#170) PR are returning correctly 

### Acceptance Criteria
- [ ] Correct Reader label is pulled in from list stored in [caseflow-commons](https://github.com/department-of-veterans-affairs/caseflow-commons/blob/fb6fa9658825c143eb8d202b87128f34ca7e210b/app/models/caseflow/document_types.rb#L3)

### Testing Plan
1. Run rspec test to check for correct result
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Integration: VBMS VBMS integration Priority: Medium Blocking issue w/workaround, or "second in" priority for new work. Product: caseflow-reader Team: Echo 🐬 Type: Bug
Projects
None yet
5 participants