karimkkanji / kenyaemr-plus-issues

This is an External Issue Tracker for KenyaEMR Plus Issues Identified
Apache License 2.0
0 stars 0 forks source link

Adding Multiple drugs to slip results to the request header being too large #7

Open karimkkanji opened 3 years ago

karimkkanji commented 3 years ago

The Error on saving the slip is as follows:

https://gist.github.com/karimkkanji/f953867b96764c56139cc6d9f23d3ba5

karimkkanji commented 3 years ago

Adding such a large drug set to slip: image

Results to the following error:

image

karimkkanji commented 3 years ago

The request url becomes so large, the request header becomes very large that it cannot be sent. Possible solution is to send each drug asynchronously?

image

karimkkanji commented 3 years ago

I think it is safe to say about 12 Drugs can be added to slip without causing the header to be too large.

Here is a receipt of the same:

test-receipt at 12.pdf