Ok, so you are going to need to save that data somewhere.
A view receives a request and returns a response. Once that view returns its response, there is no place to keep that data other than -
- The database
- The user’s session
- The system cache facility
So once you’ve sent the response to the patient, you don’t have that data any more to send to another view.
I’m assuming that you’re showing the results of the data to the patient. They’re then (perhaps) clicking “Ok” or “I Agree” or something like that. It’s that event that is causing this second view to be invoked.
That second view needs to get the data from somewhere - either submitted by the browser or retrieved from one of the three storage locations identified above.