[go: up one dir, main page]

CN104123295B - A kind of method of patient name fuzzy semantics inquiry - Google Patents

A kind of method of patient name fuzzy semantics inquiry Download PDF

Info

Publication number
CN104123295B
CN104123295B CN201310148778.2A CN201310148778A CN104123295B CN 104123295 B CN104123295 B CN 104123295B CN 201310148778 A CN201310148778 A CN 201310148778A CN 104123295 B CN104123295 B CN 104123295B
Authority
CN
China
Prior art keywords
patient
name
inquiry
index
integer constant
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201310148778.2A
Other languages
Chinese (zh)
Other versions
CN104123295A (en
Inventor
张绪广
陈文娟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai United Imaging Healthcare Co Ltd
Original Assignee
Shanghai United Imaging Healthcare Co Ltd
Filing date
Publication date
Application filed by Shanghai United Imaging Healthcare Co Ltd filed Critical Shanghai United Imaging Healthcare Co Ltd
Priority to CN201310148778.2A priority Critical patent/CN104123295B/en
Publication of CN104123295A publication Critical patent/CN104123295A/en
Application granted granted Critical
Publication of CN104123295B publication Critical patent/CN104123295B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The present invention provides a kind of method of patient name fuzzy semantics inquiry, including:(1) it is that corresponding integer constant weights are arranged in phonetic alphabet;(2) according to the integer constant weights, calculate separately the surname of patient and the PINYIN form of name integer constant weights and;(3) by the weights and progress right shift operation, the corresponding surname index of the patient and name index are established;(4) name of patient to be matched and the surname of patient index and name index are subjected to matching inquiry, if matching, poll-final;If mismatching, the surname index of the patient to be matched is established according to the step (2) and step (3) and name indexes, poll-final.The present invention is by establishing weight table and index model, and not only inquiry velocity is fast, matching is strong, but also can effectively shield the factors such as cacoepy, accent, position and capital and small letter.

Description

A kind of method of patient name fuzzy semantics inquiry
Technical field
The present invention relates to patients in a kind of method of patient name inquiry more particularly to a kind of image server to DICOM The method of name fuzzy semantics inquiry.
Background technology
Patient name before DICOM video generations is logged in, common scene has:(1) patient write on paper or Say oneself Chinese Name;(2) Chinese character or phonetic of hospital's preregistration personnel typing original name;(3) hospital is pre- About registration of personnel is according to input system feedback result, or voluntarily judges to increase content, such as BB (indicating baby).The above scene All there is a problem of certain, for scene (1) due to patient's accent, typing personnel understand deviation, possible typing mistake;Scene (2) by Support function weak in the Chinese character of image documentation equipment, it is necessary to do patient name, the transfer process of Chinese character to phonetic with phonetic It is possible that mistake;Scene (3) increased content can be variant.And in practical medical environment, there are many patient, it is desirable that DICOM image servers operating personnel within a short period of time, find similar intended patient and record selective confirmation by one query.
The common query and search of DICOM3.0 code requirements is matched with:It is monodrome matching, unique identifier list match, general Matching, asterisk wildcard matching, commensurate in scope and sequences match.When the information such as patient, inspection, sequence and image determine, inquiry behaviour Work is very easy, and database also can easily be realized with general sentence.But when above- mentioned information portion determines, usually Matching process there are two types of, a kind of method is general matching, asterisk wildcard matching and commensurate in scope query composition, and this mode lacks Point is that calculating operand is big, and user generally requires repeatedly repeatedly, the record that can be just needed, poor user experience;Second is that monodrome Patient name fuzzy semantics under matching, the realization of this mode need to shield capital and small letter, position, accent and character code, very To voice.For example, the example that DICOM3.0 specifications provide is exactly:Inquiry " Swain " needs to return to " Swayne ", inquires " Smith ^Mary " needs to return to " Mary^Smith " or " Mary Smith " or " Smith, Mary ".
In inquiry, retrieval, equipment taskpad, equipment complete the services such as checking step, it is distinctly claimed and patient's surname is provided The fuzzy semantic matching method of name.Patient name fuzzy semantics are matched, many image server systems are by database knot The like fuzzy query sentences of structure query language SQL are realized, are to retrieve pair for being included in a character type field arranges Answer keyword.But Like sentence search efficiencies are low, can not optimize performance substantially, and query result matching is also bad.
Invention content
Problems solved by the invention is to provide a kind of method of patient name fuzzy semantics inquiry, not only inquiry velocity it is fast, Matching is strong, and can effectively shield the factors such as cacoepy, accent, position and capital and small letter.
To solve the above-mentioned problems, the present invention provides a kind of methods of patient name fuzzy semantics inquiry, including:
(1) it is that corresponding integer constant weights are arranged in phonetic alphabet;
(2) according to the integer constant weights, the integer constant weights of the surname of patient and the PINYIN form of name are calculated separately With;
(3) by the weights and progress right shift operation, the corresponding surname index of the patient and name index are established;
(4) name of patient to be matched and the surname of patient index and name index are subjected to matching inquiry, if matching, Poll-final;If mismatching, the surname index and name rope of the patient to be matched are established according to the step (2) and step (3) Draw, poll-final.
Patient name fuzzy semantics querying method described above, wherein the phonetic alphabet are initial consonant, single vowel and answer Simple or compound vowel of a Chinese syllable.
Patient name fuzzy semantics querying method described above, wherein by phonetic error-prone in the phonetic alphabet Letter is set as shaping constant weights identical or that difference is small.
Patient name fuzzy semantics querying method described above, wherein the integer constant weights of the initial consonant are more than institute The integer constant weights of compound vowel are stated, the integer constant weights of the compound vowel are more than the integer constant weights of the single vowel.
Patient name fuzzy semantics querying method described above, wherein what the single vowel occurred in Chinese characters in common use The integer weights of number and the single vowel are inversely proportional.
Patient name fuzzy semantics querying method described above, wherein the integer weights of the phonetic alphabet are with prime number Sequence presses bit distribution.
Patient name fuzzy semantics querying method described above, wherein if the character set of the patient name is Chinese, The name of the patient is then converted into standard PINYIN form.
Patient name fuzzy semantics querying method described above, wherein patient name fuzzy semantics described above are looked into Inquiry method, wherein the right shift operation is configurable.
Compared with prior art, the present invention is combined into input value with the corresponding phonetic alphabet collection of patient's Chinese Name, establishes rope Draw model, not only algorithm is succinct, realizability is strong for the index model, operand is small, moreover it is possible to effectively shield cacoepy, mouth The factors such as sound, position and capital and small letter.And inquiry velocity is fast, matching is strong, user experience is good, is adapted to different dialect rings Border and operation scenario.
Description of the drawings
Fig. 1 show the flow diagram of patient name fuzzy semantics querying method of the embodiment of the present invention;
Fig. 2 show the integer constant weight table of phonetic alphabet of the embodiment of the present invention.
Specific implementation mode
Many details are elaborated in the following description in order to fully understand the present invention.But the present invention can be with Much implement different from other manner described here, those skilled in the art can be without prejudice to intension of the present invention the case where Under do similar popularization, therefore the present invention is not limited to the specific embodiments disclosed below.
Secondly, the present invention is described in detail using schematic diagram, when describing the embodiments of the present invention, for purposes of illustration only, institute It is example to state schematic diagram, should not limit the scope of protection of the invention herein.
The present invention is described in detail with reference to the accompanying drawings and examples.Patient name fuzzy semantics inquiry of the present invention Method is as shown in Figure 1, first, execute step S1, for the corresponding integer constant weights of phonetic alphabet setting.Specifically, in this reality It applies in example, as shown in Fig. 2, the phonetic alphabet are initial consonant, single vowel and compound vowel.For phonetic error-prone in phonetic alphabet Letter is set as integer constant weights identical or that difference is small.Such as initial consonant L and N, ZH and Z, CH and C, SH and H and Their integer constant weights are then set as identical by H and F since the factors such as dialect are easy error.It should be noted that It can set them to the small integer constant weights of difference.For example, the absolute value of the difference of the integer constant weights of L and N is small In e, e is positive integer (such as e=1).For single vowel and compound vowel also as initial consonant, for error-prone, setting is identical Or the integer constant weights that difference is small.
In addition, for the phonetic alphabet in addition to error-prone phonetic alphabet, it is multiple since initial consonant error probability should be less than compound vowel Simple or compound vowel of a Chinese syllable error probability should be less than single vowel, and therefore, the integer constant weights of the initial consonant are more than the integer constant weights of compound vowel, The integer constant weights of the compound vowel are more than the integer constant weights of single vowel.Moreover, single vowel occurrence probability is higher, error Probability is higher, and therefore, the number and its integer constant weights that single vowel occurs in Chinese characters in common use are inversely proportional, i.e., occurrence number is got over High single vowel, shaping constant weights are smaller.In order to reduce the probability overlapped after weights are added, the integer constant of phonetic alphabet Weights press bit distribution with prime number sequence.In the present embodiment, the prime number sequence is (3,5,7, B...), as shown in Fig. 2, for Initial consonant, the higher initial consonant of occurrence probability, integer constant weights are smaller, and such as initial consonant N, G, F and B, the probability that N occurs is relatively high, Its integer constant weights is minimum in this four initial consonants, moreover, initial consonant N, G, F and B are distributed according to prime number sequence.It needs to illustrate It is, for the integer constant weights that length is N, as long as wherein one is distributed according to prime number sequence.For single vowel and again Simple or compound vowel of a Chinese syllable is distributed also as initial consonant according to prime number sequence.It should be noted that integer constant weight table can be according to reality The case where border, is configured.
Then, step S2 is executed, according to the integer constant weights, calculates separately the surname of patient and the PINYIN form of name Integer constant weights and.Wherein, if the character set of the patient name is Chinese, the name of the patient is converted into mark Quasi- PINYIN form.Wherein, the patient is the patient recorded in database.Specifically, according to each phonetic alphabet in step S1 Corresponding integer constant weights determine the integer constant weights corresponding to the surname of patient name and the PINYIN form of name respectively, and Calculate separately patient surname and name weights and.In the present embodiment, calculated be hexadecimal weights and.It needs to illustrate It can also be binary system, octal system, decimal system etc. according to the actual needs to be.
Then, step S3 is executed, by the weights and right shift operation is carried out, establishes the corresponding surname Suo of the patient Draw and is indexed with name.Wherein, displacement operation is configurable to the right, if desired accurate matching, then the digit of displacement to the right just compares It is few;If desired fuzzy matching, then the digit of displacement to the right is just relatively more.Specifically, in the present embodiment, step S2 is obtained After the weights and right shift 4 of patient's surname and name, character string forms storage is converted to, that is, it is corresponding to establish the patient Surname indexes and name index.In the present embodiment, character string is stored according to the form of B-tree.It should be noted that can also be according to it The form storage that he optimizes.
Then, step S4 is executed, the name of patient to be matched and the surname of patient index and name index are matched Inquiry, if matching, thens follow the steps S5, poll-final;If mismatching, S6 is thened follow the steps, according to above-mentioned steps S2 and S3, is The patient to be matched establishes corresponding surname index and name index, and S5, poll-final are thened follow the steps after establishing index.Specifically Ground distinguishes surname index according to three kinds of surname of patient to be matched, first name and last name name modes or name indexes matching inquiry, if index is identical, It is then similar patient, poll-final;If index differs, surname index and name index are established for patient to be matched, to store In the database.
Although the invention has been described by way of example and in terms of the preferred embodiments, but it is not for limiting the present invention, any this field Technical staff without departing from the spirit and scope of the present invention, may be by the methods and technical content of the disclosure above to this hair Bright technical solution makes possible variation and modification, therefore, every content without departing from technical solution of the present invention, and according to the present invention Technical spirit to any simple modifications, equivalents, and modifications made by above example, belong to technical solution of the present invention Protection domain.

Claims (6)

1. a kind of method of patient name fuzzy semantics inquiry, which is characterized in that include the following steps:
(1) it is that phonetic alphabet are arranged corresponding integer constant weights, the phonetic alphabet include initial consonant, single vowel and compound vowel, The integer constant weights of the initial consonant are more than the integer constant weights of the compound vowel, and the integer constant weights of the compound vowel are big In the integer constant weights of the single vowel;
(2) according to the integer constant weights, calculate separately the surname of patient and the PINYIN form of name integer constant weights and;
(3) by the weights and progress right shift operation, the corresponding surname index of the patient and name index are established;
(4) name of patient to be matched and the surname of patient index and name index are subjected to matching inquiry, if matching, is inquired Terminate;If mismatching, the surname index of the patient to be matched is established according to the step (2) and step (3) and name indexes, is looked into Inquiry terminates.
2. the method for the patient name fuzzy semantics inquiry as described in claim 1, which is characterized in that by the phonetic alphabet In error-prone phonetic alphabet be set as shaping constant weights identical or that difference is small.
3. the method for patient name fuzzy semantics inquiry as described in claim 1, which is characterized in that the single vowel is common The integer constant weights of the number and the single vowel that occur in Chinese character are inversely proportional.
4. the method for patient name fuzzy semantics as described in claim 1 inquiry, which is characterized in that the phonetic alphabet it is whole Type weights press bit distribution with prime number sequence.
5. the method for patient name fuzzy semantics inquiry as described in claim 1, which is characterized in that if the patient name Character set is Chinese, then the name of the patient is converted to standard PINYIN form.
6. the method for patient name fuzzy semantics inquiry as described in claim 1, which is characterized in that the right shift operation It is configurable.
CN201310148778.2A 2013-04-25 A kind of method of patient name fuzzy semantics inquiry Active CN104123295B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310148778.2A CN104123295B (en) 2013-04-25 A kind of method of patient name fuzzy semantics inquiry

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310148778.2A CN104123295B (en) 2013-04-25 A kind of method of patient name fuzzy semantics inquiry

Publications (2)

Publication Number Publication Date
CN104123295A CN104123295A (en) 2014-10-29
CN104123295B true CN104123295B (en) 2018-08-31

Family

ID=

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1588279A (en) * 2004-09-06 2005-03-02 梁启华 Method for realizing quick searching Chinese information using number and letter corresponding relationship
CN101075231A (en) * 2006-05-17 2007-11-21 北京恒基伟业投资发展有限公司 Method for indexing cell-phone visiting card
CN101676911A (en) * 2008-09-18 2010-03-24 深圳富泰宏精密工业有限公司 Contact person searching system and method
CN102033615A (en) * 2002-06-05 2011-04-27 苏荣斌 Digital operation coding input method capable of optimizing world character information and information processing system thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102033615A (en) * 2002-06-05 2011-04-27 苏荣斌 Digital operation coding input method capable of optimizing world character information and information processing system thereof
CN1588279A (en) * 2004-09-06 2005-03-02 梁启华 Method for realizing quick searching Chinese information using number and letter corresponding relationship
CN101075231A (en) * 2006-05-17 2007-11-21 北京恒基伟业投资发展有限公司 Method for indexing cell-phone visiting card
CN101676911A (en) * 2008-09-18 2010-03-24 深圳富泰宏精密工业有限公司 Contact person searching system and method

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
互联网敏感信息快速识别技术;王晨峰等;《互联网新媒体新技术研讨会论文集》;20081231;第659-665页 *
基于拼音索引的中文模糊匹配算法;曹犟;《清华大学学报》;20090831;第186-191页 *
患者姓名索引数据库的建立及应用;李国栋等;《中国病案》;20081231;第9卷(第12期);第29-31页 *

Similar Documents

Publication Publication Date Title
CN109388795B (en) Named entity recognition method, language recognition method and system
KR102491172B1 (en) Natural language question-answering system and learning method
CN104156352B (en) Method and system for handling Chinese event
KR102033395B1 (en) Question answering system and method for structured knowledge-base using deep natrural language question analysis
US10496756B2 (en) Sentence creation system
US8312041B2 (en) Resource description framework network construction device and method using an ontology schema having class dictionary and mining rule
WO2014160379A1 (en) Dimensional articulation and cognium organization for information retrieval systems
CN107092639A (en) A kind of search engine system
US8706723B2 (en) Name-search system and method
CN103229162A (en) Providing answers to questions using logical synthesis of candidate answers
CN107807915B (en) Error correction model establishing method, device, equipment and medium based on error correction platform
JP2005352888A (en) Notation shaking correspondence dictionary creation system
CN107632979A (en) The problem of one kind is used for interactive question and answer analytic method and system
US12141179B2 (en) System and method for generating ontologies and retrieving information using the same
CN112528001A (en) Information query method and device and electronic equipment
Jayan et al. A hybrid statistical approach for named entity recognition for malayalam language
CN113553411B (en) Query statement generation method and device, electronic equipment and storage medium
US10140292B2 (en) Device and computerized method for picture based communication
WO2019163642A1 (en) Summary evaluation device, method, program, and storage medium
CN114391142A (en) Parsing queries using structured and unstructured data
JP2017151926A (en) Information processing program, information processing device, and information processing method
Wang et al. NlQxform: a language model-based question to SPARQL transformer
Suresh et al. Data mining and text mining—a survey
CN107111655A (en) Effective data set search
CN111462894B (en) Medical conflict detection method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
SE01 Entry into force of request for substantive examination
GR01 Patent grant
CP01 Change in the name or title of a patent holder

Address after: 201815 No. 1180 Xingxian Road, Jiading Industrial Zone, Jiading District, Shanghai

Patentee after: Shanghai Lianying Medical Technology Co., Ltd

Address before: 201815 No. 1180 Xingxian Road, Jiading Industrial Zone, Jiading District, Shanghai

Patentee before: SHANGHAI UNITED IMAGING HEALTHCARE Co.,Ltd.

CP02 Change in the address of a patent holder

Address after: 201807 2258 Chengbei Road, Jiading District, Shanghai

Patentee after: Shanghai Lianying Medical Technology Co.,Ltd.

Address before: 201815 No. 1180 Xingxian Road, Jiading Industrial Zone, Jiading District, Shanghai

Patentee before: Shanghai Lianying Medical Technology Co.,Ltd.