bugGNU 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

Submitted by:  cristina <cmelgosa>
Submitted on:  Tue 19 Jun 2012 08:53:49 PM UTC  
Category: FunctionalitySeverity: 1 - Wish
Item Group: NoneStatus: In Progress
Privacy: PublicAssigned to: Luis Falcon <meanmicio>
Open/Closed: OpenRelease: 3.0.0
Module: Patients

Mon 27 Apr 2015 01:24:45 AM UTC, comment #1:

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.

Chris Zimmerman <teffalump>
Project Member
Tue 19 Jun 2012 08:53:49 PM UTC, original submission:

Dear team,

In diseases, it would be useful not to have the option "pregnancy warning" when male.


cristina <cmelgosa>


No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by meanmicio (Updated the item)
  • -unavailable- added by teffalump (Posted a comment)
  • -unavailable- added by smarro (Updated the item)
  • -unavailable- added by cmelgosa (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 02 Mar 2016 09:00:57 PM UTCmeanmicioAssigned toNone=>meanmicio
    Mon 27 Apr 2015 01:24:45 AM UTCteffalumpStatusNone=>In Progress
    Tue 19 Jun 2012 09:05:35 PM UTCsmarroSeverity3 - Normal=>1 - Wish
    Tue 19 Jun 2012 09:04:17 PM UTCsmarroSummary"pregnancy warning" option when mail=>"pregnancy warning" option when male

    Back to the top

    Powered by Savane 3.1-cleanup1