Dear Luis, excellent!
And and it would be great if the error text could be extended to something like: "if you want to associate a health professional to this user, do this and that ..."
All the best Edgar Am 10.08.2021 um 16:36 schrieb Luis Falcon:
Dear community We're working on the upcoming GNU Health HMIS 4.0 component, and I thought of introducing a code associated to each warning and error message. I think that, although most messages are self-explanatory, a unique identifier would help for: * Having a glossary of error messages, causes and their solutions * Remove ambiguity in translations. For example, the message "No health professional associated to this user" Could become "No health professional associated to this user (E: health-055)" The prefix would be the name of the package (health, health_imaging, ..) and the first letter will indicate the type of message (E:error, W:warning...) Let me know your thoughts. Bests Luis