GNU Health - Bugs: bug #36687, "pregnancy warning"...
You are not allowed to post comments on this tracker with your current authentication level.
bug #36687: "pregnancy warning" option when male
Submitter: | cristina <cmelgosa> | ||
Submitted: | Tue 19 Jun 2012 08:53:49 PM UTC | ||
Category: | Functionality | Severity: | 1 - Wish |
Item Group: | None | Status: | In Progress |
Privacy: | Public | Assigned to: | meanmicio |
Open/Closed: | Open | Release: | 3.0.0 |
Module: | Patients | Component: | None |
Mon 27 Apr 2015 01:24:45 AM UTC, comment #1: |
Chris Zimmerman <teffalump>![]() |
Tue 19 Jun 2012 08:53:49 PM UTC, original submission:
Dear team,
|
cristina <cmelgosa> |
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 5 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2016-03-02 | meanmicio | Assigned to | None | ![]() |
meanmicio |
Release | None | ![]() |
3.0.0 | ||
2015-04-27 | teffalump | Status | None | ![]() |
In Progress |
2012-06-19 | smarro | Severity | 3 - Normal | ![]() |
1 - Wish |
2012-06-19 | smarro | Summary | "pregnancy warning" option when mail | ![]() |
"pregnancy warning" option when male |
I've tried to get this to work unsuccessfully. From what I understand, the view cannot cleanly access the sex of the patient because that information is on the patient model, not the patient.disease model, and the view only has access to its model. A workaround is to override the table_query function on the patient.disease model to return the sex of the patient with the other disease info. Then, the view has access to that attribute and you can toggle the display. However, seems inelegant, but anyone have thoughts or suggestions about this? I do think it is a good idea for user experience.