GNU Health - Bugs: bug #45307, patient_status field has no...
You are not allowed to post comments on this tracker with your current authentication level.
bug #45307: patient_status field has no searcher
| Submitter: | Chris Zimmerman <teffalump> | ||
| Submitted: | Fri 12 Jun 2015 04:11:21 AM UTC | ||
| Category: | Functionality | Severity: | 3 - Normal |
| Item Group: | None | Status: | Fixed |
| Privacy: | Public | Assigned to: | teffalump |
| Open/Closed: | Closed | Release: | None |
| Module: | health_inpatient | Component: | None |
|
Sat 13 Jun 2015 06:55:14 AM UTC, comment #2: |
Chris Zimmerman <teffalump> |
|
Fri 12 Jun 2015 04:14:35 AM UTC, comment #1: I just pushed a commit to add the searcher.
|
Chris Zimmerman <teffalump> |
|
Fri 12 Jun 2015 04:11:21 AM UTC, original submission:
The patient_status field has no searcher function defined which makes domain filters impossible. On the mailing list, we had a report where a user tried to define an access rule to prohibit the Nursing group from viewing non-hospitalized patients. The rule failed.
|
Chris Zimmerman <teffalump> |
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
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 |
|---|---|---|---|---|---|
| 2015-06-12 | teffalump | Status | None | Fixed | |
| Open/Closed | Open | Closed |
Powered by Savane 3.12.
Corresponding source code

Thanks to some helpful suggestions from Cédric, I updated the searcher to validate the operator and operand values That is, only allow '!=' or '=' and True or False for operators and operands, respectively. Also, negations should work now. Thanks!