GNU Health - Bugs: bug #61942, Discuss: about searchcode concept
You are not allowed to post comments on this tracker with your current authentication level.
bug #61942: Discuss: about searchcode concept
| Submitter: | Feng Shu <tumashu> | ||
| Submitted: | Thu 27 Jan 2022 01:28:08 AM UTC | ||
| Category: | Functionality | Severity: | 1 - Wish |
| Item Group: | None | Status: | Works For Me |
| Privacy: | Public | Assigned to: | meanmicio |
| Open/Closed: | Closed | Release: | None |
| Module: | health | Component: | None |
|
Fri 28 Jan 2022 09:47:35 AM UTC, comment #2: |
Luis Falcon <meanmicio> |
|
Thu 27 Jan 2022 03:05:04 AM UTC, comment #1: by the way, searchcode can not regard as ID, for many CJK names have same searchcodes :-) |
Feng Shu <tumashu> |
|
Thu 27 Jan 2022 01:28:08 AM UTC, original submission:
In order to quickly select the CJK names of people, drugs, diseases and other things, In China, most softwares have the concept of search code. For example, if we want to search for "感冒", CJK user can type: gm, ganmao, dgjh or other search codes to search, no need to active Input method to input "感冒", these search codes are predefind or auto generated from CJK names.
|
Feng Shu <tumashu> |
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 4 latest changes.
| Date | Changed by | Updated Field | Previous Value | => | Replaced by |
|---|---|---|---|---|---|
| 2022-03-05 | meanmicio | Open/Closed | Open | Closed | |
| 2022-01-28 | meanmicio | Severity | 3 - Normal | 1 - Wish | |
| Status | None | Works For Me | |||
| Assigned to | None | meanmicio |
Powered by Savane 3.12.
Corresponding source code

GNU Health allows you to, enter different codes to search for a particular entity.
For instance, take the patient model example.
""" Search for the name, lastname, PUID, any alternative IDs,
and any family and / or given name from the person_names
"""
Take a look at the search_rec_name method example here:
https://hg.savannah.gnu.org/hgweb/health/file/1e982753bd69/tryton/health/health.py#l787
Bests
original submission: