GNU Health - Tasks: task #16518, Add ImageReportMixin and register...
You are not allowed to post comments on this tracker with your current authentication level.
task #16518: Add ImageReportMixin and register to Report class
Submitter: | Feng Shu <tumashu> | ||
Submitted: | Thu 14 Mar 2024 08:02:28 AM UTC | ||
Should Start On: | Thu 14 Mar 2024 12:00:00 AM UTC | Should be Finished on: | Thu 14 Mar 2024 12:00:00 AM UTC |
Category: | Reporting | Priority: | 5 - Normal |
Status: | Ready For Test | Privacy: | Public |
Assigned to: | None | Percent Complete: | 100% |
Open/Closed: | Open | Release: | 4.9 |
Module: | health* | Component: | Hospital Management |
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
Carbon-Copy List
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.
Follow 2 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2024-03-14 | tumashu | Percent Complete | 0% | 100% | |
Release | None | 4.9 |
Powered by Savane 3.13-02a9.
Corresponding source code
See https://hg.savannah.gnu.org/hgweb/health/rev/802d2903439d
11. How to keep ratio when add a image to report?
We have added ImageReportMixin class and register to Report
class with the help of Pool.register_mixin, user can use its
methods in report template, for example:
1. patient_card.fodt: image: image_crop(patient.photo, 2.5, 3.5)
2. labtest_report.fodt: image: image_resize(image.data, 5, 5)