bugGNU Health - Bugs: bug #64934, Need to optimize formatting in...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #64934: Need to optimize formatting in reports

Submitter:  Luis Falcon <meanmicio>
Submitted:  Mon 27 Nov 2023 10:50:45 AM UTC
   
 
Category:  reporting Severity:  3 - Normal
Item Group:  None Status:  Confirmed
Privacy:  Public Assigned to:  tumashu
Open/Closed:  Open Release:  4.3.0
Module:  all Component:  Hospital Management

Thu 30 Nov 2023 11:40:41 AM UTC, comment #4: 

Just a followup on the trim-to-ratio.

In general they look quite nice!! Great job!


Bests
Luis

Luis Falcon <meanmicio>
Group administrator
Wed 29 Nov 2023 10:15:46 AM UTC, comment #3: 

Thank you, Feng!

Will test today and report.

Bests
Luis

Luis Falcon <meanmicio>
Group administrator
Wed 29 Nov 2023 01:51:17 AM UTC, comment #2: 


comment #1:

> original submission:
> > Hi, Feng
> >
> > Could you please review the latest changes you did on the formatting in the reports?
> >
> > Pictures in the reports (Identification cards, newborn..) should keep the original aspect ratio, so they don't look distorted.
>
> At the moment, I do not find a way in odt file to keep image ratio, it has a 'Keep radio' checkbox, but can not check to enable, I do not why.
>
> I use 2.5cm x 3.5cm in template, for it seem to be a standard size of ID photo.
>
>       image: (patient.photo, 'image/png','2.5cm','3.5cm')
>
> Any suggestion?


At the moment, I add a function image_crop_to_ratio to health/core to solve this problem,
if we can find a simper way, we can improve it again.

https://hg.savannah.gnu.org/hgweb/health/rev/e6180e0887f4


>
> >
> > Also, please check in English that labels and single-line content  fit within the the same line. Some examples are prescriptions, wristbands.
>
>
>
> do you mean:
>
>
> | Qty | Common Usage | Specific Usage |
> |  a  |  b           | c              |
>
>
> become
>
> |           Qty: | a |
> |  Common Usage: | b |
> | Specific Usage: | c |
>
>
>
> >
> > Thank you!
> >
> > Bests
> > Luis
> >

Feng Shu <tumashu>
Tue 28 Nov 2023 03:38:48 AM UTC, comment #1: 

original submission:

> Hi, Feng
>
> Could you please review the latest changes you did on the formatting in the reports?
>
> Pictures in the reports (Identification cards, newborn..) should keep the original aspect ratio, so they don't look distorted.


At the moment, I do not find a way in odt file to keep image ratio, it has a 'Keep radio' checkbox, but can not check to enable, I do not why.

I use 2.5cm x 3.5cm in template, for it seem to be a standard size of ID photo.

      image: (patient.photo, 'image/png','2.5cm','3.5cm')

Any suggestion?

>
> Also, please check in English that labels and single-line content  fit within the the same line. Some examples are prescriptions, wristbands.




do you mean:


| Qty | Common Usage | Specific Usage |
|  a  |  b           | c              |


become

|           Qty: | a |
|  Common Usage: | b |
| Specific Usage: | c |



>
> Thank you!
>
> Bests
> Luis
>

Feng Shu <tumashu>
Mon 27 Nov 2023 10:50:45 AM UTC, original submission:  

Hi, Feng

Could you please review the latest changes you did on the formatting in the reports?

Pictures in the reports (Identification cards, newborn..) should keep the original aspect ratio, so they don't look distorted.

Also, please check in English that labels and single-line content  fit within the the same line. Some examples are prescriptions, wristbands.

Thank you!

Bests
Luis

Luis Falcon <meanmicio>
Group administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by tumashu (Posted a comment)
  • -email is unavailable- added by meanmicio (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2023-11-27 meanmicio ReleaseNone 4.3.0

    Back to the top

    Powered by Savane 3.13-12ab.
    Corresponding source code