bugGNU Health - Bugs: bug #62025, Appointments only for health...

 
 

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

bug #62025: Appointments only for health professionals? Can save despite error

Submitter:  Gerald Wiese <gerald_wiese>
Submitted:  Thu 10 Feb 2022 03:05:44 PM UTC
   
 
Category:  Functionality Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  meanmicio
Open/Closed:  Closed Release:  3.9.0
Module:  health Component:  None

Wed 16 Feb 2022 03:35:58 PM UTC, comment #1: 

Thank you, Gerald!

Fixed on https://hg.savannah.gnu.org/hgweb/health/rev/5c5c827c0305

The message "SM-CORE-0007: There is no health professional associated to this user", by itself does not prevent further actions, unless specified.

I agree that in the case of  the appointment, if the user that is creating the appointment is not a health professional, and the underlying permissions allow them to do so, then there is no reason to show the warning message.

For this, I have included the "required" argument to the method, so we can pass it with the value of False in cases where is optional, thus, avoiding the message.

Bests



Luis Falcon <meanmicio>
Group administrator
Thu 10 Feb 2022 03:05:44 PM UTC, original submission:  

When not having a health professional assigned to the current user I get the error "No health professional assigned to this user" when creating an appointment. However I can still save the appointment. It should either be possible to have appointments for all or not possible to save an appointment if you should not have one.

Besides I'm wondering if the date field should be mandatory for appointments?

Gerald Wiese <gerald_wiese>
Group Member

 

(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 meanmicio (Posted a comment)
  • -email is unavailable- added by gerald_wiese (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.

     

    Follow 7 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2022-03-05 meanmicio StatusReady For Test Fixed
        Open/ClosedOpen Closed
    2022-02-16 meanmicio CategoryNone Functionality
        StatusNone Ready For Test
        Assigned toNone meanmicio
        ReleaseNone 3.9.0
    2022-02-10 gerald_wiese SummaryAppointments only for health professionals? Appointments only for health professionals? Can save despite error

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code