bugGNU Health - Bugs: bug #61922, Can not search full name of...

 
 

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

bug #61922: Can not search full name of patient.

Submitter:  Feng Shu <tumashu>
Submitted:  Tue 25 Jan 2022 10:29:20 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

Thu 27 Jan 2022 12:10:23 PM UTC, comment #3: 

original submission:

> My name is "Feng, Shu",
>
> if search "Feng" in patient search box, I can find my info.
>
> but if I search "Feng, Shu", I can not find my info.
>
> In China, we always use full name, and alway search full name.
>

Thanks for the feedback, Feng!

The name representation (shown in reports and tree view) and the actual fields are two different things.

The name representation is just that, a string constructed from different fields, puncutation and other formatting chars. You can not search that string.

If you want to find a people or patients that have with first name and lastname, then you would pre-append the fields.

Taking your example, If I want to search all the people with the first name "Feng" and lastname "Shu", I would type, in the generic search bar:

Patient:Feng Lastname:Shu

See the example with Ana Betz
https://i.imgur.com/QPjA7zF.png

Again, most of the time, you should look for the PUID / federation account, which uniquely identifies the person.

Bests


Luis Falcon <meanmicio>
Group administrator
Thu 27 Jan 2022 01:10:45 AM UTC, comment #2: 


comment #1:

> In that case, you would search for both name and lastname
>
> See: https://i.imgur.com/MmGTudQ.png



I use this search "患者: 冯书", seem do not work, I think we should improve this feature.

Searching full name is an important feature for CJK user. we always search full name. if without this feature,
User just think this software have problem :-\


## I think we can add 3 fields to class: PersonName

1. text:  this is text representation of the full name in HL7 FHIR, auto generated, so we can search fullname with: ('person_names.text',) + tuple(clause[1:])
2. name_representation:  formater of PersonName, I think formating names is PersonName's job, not Party, Party just select a name text to use.
3. Used: if this is true, text will be use as rec_name of person name, if multi used, just select first one.

## Add format_name() method to PersonName.

## If we do the above job, I think get_rec_name in Party can be simplify a lot. name_representation in Party be removed or used as fallback for backward compatibility.







>
> In any case, to uniquely indentify a person / patient, you should always look by the PUID / Fed account.


Yes, but in many case, we need search person name to find record. :-).


> >

Feng Shu <tumashu>
Wed 26 Jan 2022 05:10:53 PM UTC, comment #1: 

In that case, you would search for both name and lastname

See: https://i.imgur.com/MmGTudQ.png

In any case, to uniquely indentify a person / patient, you should always look by the PUID / Fed account.


original submission:

> My name is "Feng, Shu",
>
> if search "Feng" in patient search box, I can find my info.
>
> but if I search "Feng, Shu", I can not find my info.
>
> In China, we always use full name, and alway search full name.
>

Luis Falcon <meanmicio>
Group administrator
Tue 25 Jan 2022 10:29:20 PM UTC, original submission:  

My name is "Feng, Shu",

if search "Feng" in patient search box, I can find my info.

but if I search "Feng, Shu", I can not find my info.

In China, we always use full name, and alway search full name.

Feng Shu <tumashu>

 

(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 tumashu (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 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2022-03-05 meanmicio StatusReady For Test Fixed
        Open/ClosedOpen Closed
    2022-01-26 meanmicio StatusNone Ready For Test
        Assigned toNone meanmicio
        ReleaseNone 3.9.0

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code