bugGNU Health - Bugs: bug #35462, Name and Lastname Confusion

 
 

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

bug #35462: Name and Lastname Confusion

Submitter:  Christoph H. Larsen <cd_larsen>
Submitted:  Mon 06 Feb 2012 05:57:00 PM UTC
   
 
Category:  Functionality Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  meanmicio
Open/Closed:  Closed Release:  None
Module:  health Component:  None

Mon 27 Apr 2015 04:19:04 AM UTC, comment #5: 

I'll summarize.

Employees: dispays rec_name (lastname, first) or just first name. Seems to be first name ordering.

Patients: displays last name and rec_name (last, first). Redundant. Ordering by first name on column. Problem.

Prescriptions seems to be ok, from what I can see. Correct rec_names. You can search by PUID, etc.

Fix: Hide the lastname field (tree_invisible="1") on the Patients view which doesn't show the column, but allows a filter on Lastname: <search_term>. Order people by lastname fixed by adding cls._order_name = 'lastname' on party.party model.

Hopefully this fix does what seems intuitive to the user when sorting by names...and doesn't break anything downstream.

Chris Zimmerman <teffalump>
Wed 07 Mar 2012 05:33:29 AM UTC, comment #4: 

Hi Chris

In prescription, what you get is the prescribing doctor. For security reasons, this is a read-only field that shows the UID of the doctor that logs into the system.

In the other fields, the doctor name is in the form of "Lastname, Firstname".

Best
Luis

Luis Falcon <meanmicio>
Group administrator
Tue 06 Mar 2012 07:03:33 PM UTC, comment #3: 

Allow me to add in further errors along the same line:
In "Prescriptions", the attending doctor appears only with his first names, if I split up his name as intended by GNUHealth between first name(s) [gonig into Name], and surname [going into Last name].
So, the best move, for now, might still be to ignore the name field altogether?
Cheers!
Chris

Christoph H. Larsen <cd_larsen>
Mon 20 Feb 2012 05:55:08 PM UTC, comment #2: 

Dear Luis,
The issue has, alas, been only partially resolved. Please note the attached screenshots:
If I input given names into the field "Name" and the surname into the field "Last name", I get the following:
CORRECT: Parties;
CORRECT: Users (well, they are entered separately, so this is for completeness, only);
INCORRECT are: Employees, with only their given names listed;
CONFUSINGLY LISTED are: Patients, as their surnames are repeated. Instead any element of the patient name can be searched using "%[string".
Thoughts?
Thanks a lot, Chris


Christoph H. Larsen <cd_larsen>
Tue 07 Feb 2012 01:17:06 AM UTC, comment #1: 

Hi Chris

Today the patient tree shows the two fields, "Name" and "Lastname" just as you fill them in in the party form.

In the Patient tree, I have created a way to display the first and lastname into the patient field (the one we retrieve from the party). I put it in the format "Lastname, Firstname"
Notice that there is no Lastname field in the form, since it's retrieved in the Many2One main patient field.

I added the Lastname for search and sorting purposes.

Best
Luis

Luis Falcon <meanmicio>
Group administrator
Mon 06 Feb 2012 05:57:00 PM UTC, original submission:  

Dear All,
Please look at the attached screen shots: Even in the new version, entering given names into the "Name" field, and the family name into the "Last name" field creates incompete listings in "Party", and pleonasm in "Patients" listings.
Or ma I missing something?
Thanks a lot!
Chris

Christoph H. Larsen <cd_larsen>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by teffalump (Posted a comment)
  • -email is unavailable- added by meanmicio (Posted a comment)
  • -email is unavailable- added by cd_larsen (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 11 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-04-27 teffalump StatusNeed Info Fixed
        Open/ClosedOpen Closed
        Module health
    2012-02-20 cd_larsen Attached File- Added CORRECT LISTING: Screenshot-Tryton-Parties.png, #25090
        Attached File- Added CORRECT LISTING: Screenshot-Tryton-Users.png, #25091
        Attached File- Added INCORRECT LISTING: Screenshot-Tryton-Employees.png, #25092
        Attached File- Added CONFUSING LISTING: Screenshot-Tryton-Patients.png, #25093
    2012-02-07 meanmicio StatusNone Need Info
        Assigned toNone meanmicio
    2012-02-06 cd_larsen Attached File- Added Screenshot - Parties.png, #24997
        Attached File- Added Screenshot - Patients.png, #24998

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code