pdf diary downloads

6 posts, 2 contributors

Search the DAFNE Online Forums

 
AW3K DAFNE Graduate
Mid Yorkshire Hospitals
8 posts

Hi

i was looking through my diary and saw download as pdf but every time i click on it i get an error message "We're sorry, but something went wrong.
We've been notified about this issue and we'll take a look at it shortly.
"

sometimes also get it on the excel one as well

many thanks Andrew

Simon Site Administrator
Sheffield Teaching Hospitals
559 posts

Hi Andrew,

Looking at our error logs the issue is that the diary you are trying to print it too big horizontally, could you let me know the maximum number of diary entries you have in any day in the date range you're trying to print?

This will help us greatly to fix the problem.

Thanks,

Simon

AW3K DAFNE Graduate
Mid Yorkshire Hospitals
8 posts
Sat
21/04
Time 01:31 07:30 09:10 09:54 10:40 13:05 13:17 15:08 15:47 18:29 20:55 21:01 21:20 22:46 [13:17] Feel ill. Headache
CP - 3 - - - 3 - - 8 3 - - 3+1 5
BG 11.2 10.3 16.7 9.7 7.2 4.1 4.5 3.2 8.4 7.2 3.5 6.1 9.7 6.2
QA - 3+1 - - - 3 - - 8 3 - - 4 5
BI - 13 - - - - - - - - - - - 13
Ratio (QA:CP) 1:1 1:1 1:1 1:1 1:1 1:1 1:1 1:1 1:1 1:1 1:1 1:1 1:1 1:1
QA Site - Right Thigh - - - - - - Left Arm Left Arm - - Left Arm Left Thigh
BI Site - - - - - - - - - - - - - -
Type NIGHT BFAST OTHER OTHER OTHER SNACK HYPO LUNCH LUNCH SNACK OTHER OTHER SUPP BED
Ketones - - - - - - - - - - - - - -
Sun
22/04
Time 00:51 06:08 09:27 11:45 12:46 15:05 16:16 16:28 17:28 18:21 19:31 20:13 21:42 [09:27] Work
CP - 4 - 5 - 3 - - - - 5 - -
BG 9.5 11.8 3.3 15.6 8.3 8.0 3.9 11.0 13.0 11.9 4.7 6.9 5.2
QA - 4+1 - 5+3 - 3 - - 2 - 5 - -
BI - 13 - - - - - - - - - - 13
Ratio (QA:CP) 1:1 1:1 1:1 1:1 1:1 1:1 1:1 1:1 1:1 1:1 1:1 1:1 1:1
QA Site - Right Thigh - Left Arm - Left Arm - - Right Arm - Right Arm - Right Thigh
BI Site - - - - - - - - - - - - -
Type NIGHT BFAST HYPO LUNCH AFLUN SNACK OTHER OTHER DINNR OTHER DINNR OTHER BED
Ketones - - - - - - - - - - - - -

hi simon there are on 2 days 14 entries maybe this is the problem

normally there are about 8 to 10 entries per day

ive attached the 2 days

Thanks

Simon Site Administrator
Sheffield Teaching Hospitals
559 posts

Hi Andrew,

We've fixed the problem with both the PDF and CSV generation - can you try them out now?

Thanks,

Simon

AW3K DAFNE Graduate
Mid Yorkshire Hospitals
8 posts

Hi simon . Works fine now thank you.

Something I did notice with the pdf is that it only shows 2 days worth of results per page. Is it possible to make it 7 ?

Just a suggestion

Thanks andy

Simon Site Administrator
Sheffield Teaching Hospitals
559 posts

Hi Andy,

If there are over 10 entries in a day contained in the diary being generated the PDF will default to landscape orientation to fit them in horizontally. Below 10 it defaults to portrait which will give around 5 days per page. Unfortunately there is a tradeoff here between more days per page whilst keeping the text size readable.

I can't guarantee I can get more per page but will certainly try!

Simon