department-of-veterans-affairs / va.gov-team

Public resources for building on and in support of VA.gov. Visit complete Knowledge Hub:
https://depo-platform-documentation.scrollhelp.site/index.html
281 stars 197 forks source link

Multiple 4142 PDFs? #90875

Open AmyPlange opened 4 weeks ago

AmyPlange commented 4 weeks ago

Does adding multiple treatment records generate multiple 4142 PDFs? On paper form, there's only one 4142 per provider.

Engineering notes: It doesn't appear we generate multiple PDFs but there is an open question on whether we include more than one provider in the one 4142 form we do create, and what that looks like in the completed form. It will take a little digging into the Form4142Processor and the metadata that works with to understand how we handle a situation with multiple providers. Additionally, we need to figure out how to generate an example locally so we can share it with stakeholders.

Acceptance Criteria

lisacapaccioli commented 3 weeks ago

The 4142 PDF has sections for 5 different providers, but the backend only creates one PDF. The question we have is whether if the Veteran enters more than one provider if they all show on the one PDF or not. If not, what does VBA do? Would VBA even know that they are missing? I tried testing in staging and I get an error on submit so it won't let me continue.

freeheeling commented 3 weeks ago

Screenshot of generated 4142 PDF associated with form 526 on staging (submitted_claim_id: 600543213). Details for 5 providers were entered in the online form, and all 5 are successfully transferred to the PDF.

Screenshot 2024-08-19 at 4 08 13 PM

Note: It was discovered in the process of testing on staging that it was possible to add more than 5 providers, but that an error was returned when attempting to submit form 526 unless 5 or less providers were included. @lisacapaccioli can provide more details.

lisacapaccioli commented 3 weeks ago

@jinaryu When I get time I can try to test the 6+ providers to see if we get errors every time or not (or you can try if you are in rush, it didn't take as long as I thought it would). For now we know that we do track the 5 that are allowed on a PDF. Was there anything else you needed to know? If not, then we should be good to go with this. Thanks

jinaryu commented 3 weeks ago

@lisacapaccioli there's no rush! that'd be great if you can test that thanks so much.

I will circle back to David from VBA and confirm that it's ok if a provider receives a PDF that looks like this (ex. if provider A receives a 4142 with info for provider A and B, not just provider A)

I think we can close this ticket once

  1. David responds
  2. We test 6+ providers
  3. Start another ticket for changing copy to clarify "you can only add 5 providers" and add an error message
jinaryu commented 1 week ago

From 9/3 VBA sync - Kevin S. "There should be one distinct 4142 sent to each provider. It's a HIPPA concern if a 4142 with multiple provider details is sent to a provider. However, if this does happen, then we would just get back a notice from the provider saying "we haven't treated [veteran name] for this condition."

freeheeling commented 1 week ago

Does form 4142 actually get sent to the provider, though, or is it just the form from which provider information is sourced to request treatment records? The resulting 4142 that is generated and sent to VBMS resembles the printed form in terms of format, where multiple providers are listed on the single form.