Online medical user allocation method and system
By matching the appointment time with the preset doctor's time, combined with semantic extraction and keyword matching, and adjusting according to personal information and residence, the problem of low matching accuracy in online medical user allocation is solved and more efficient user matching is achieved.
Patent Information
- Application Number
- CN202110341980.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-03-30
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2041-03-30
AI Technical Summary
The matching accuracy rate is low when allocating online medical users, resulting in low user matching efficiency and insufficient accuracy, especially data management problems caused by data silos and long industrial supply chains.
Obtain optional waiting doctors by matching the appointment time with the preset doctor's time. Semantic extraction and keyword matching are used to determine the waiting doctors. Adjustments are made based on personal information and place of residence to finally determine the treating doctor, using segmented matching and similarity. Calculation improves matching accuracy.
It effectively improves the matching accuracy when assigning users, avoids the problem of multiple medical doctors caused by consistent keyword similarity, and ensures the accuracy and efficiency of user matching.
Smart Images

Figure CN113192612B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of medical management, and in particular to a method and system for allocating users of online medical services. Background Art
[0002] Medical institutions have always been faced with the problem of being unable to share data securely across platforms. On the one hand, data is scattered, and different medical institutions and different information systems form data islands, making it difficult to achieve a unified view centered on residents. At the same time, the data is incomplete. For example, the daily health data of common chronic patients such as hypertension and diabetes and high-risk groups, such as reasonable diet, behavioral habits, and healthy psychology, have not yet been digitized, or are scattered in the systems of smart terminals and wearable device manufacturers. On the other hand, due to the long industrial supply chain, from upstream to downstream, data information passes through many links, making it difficult to invest sufficient inspection and management power in each link. Especially in the user allocation link of online medical care, low matching efficiency and low matching accuracy often occur. Summary of the invention
[0003] To this end, the present invention provides an online medical user allocation method and system, which can effectively solve the technical problem of low matching accuracy in online medical user allocation in the prior art.
[0004] To achieve the above object, the present invention provides an online medical user allocation method and system, comprising:
[0005] Step 1: The user makes an online medical appointment through the appointment unit. When making an appointment, the user needs to fill in personal information, disease details, place of residence and appointment time in the input unit;
[0006] Step 2: the central control unit controls the first matching unit to match the scheduled consultation time with the preset doctor consultation time stored in the storage unit to obtain an optional waiting doctor;
[0007] Step 3, the semantic extraction unit performs semantic extraction on the disease details filled in by the user to obtain medical terms. When the extraction is completed, the conversion unit converts the disease details filled in by the user into disease condition keywords according to the obtained medical terms and transmits them to the output unit. The disease condition keywords include a first disease condition keyword, a second disease condition keyword, a third disease condition keyword, ..., an Nth disease condition keyword, where N≥3;
[0008] Step 4, the output unit transmits the acquired condition keyword to the second matching unit, and the central control unit controls the second matching unit to match the first condition keyword with the medical keywords of the optional waiting doctors to determine three waiting doctors;
[0009] Step 5, the adjustment unit obtains the case keywords obtained and transmitted by the server based on the personal information. When the acquisition is completed, the central control unit compares the case keywords with the condition keywords to determine the treating physician. When there are no case keywords, the central control unit compares the distance between the residence and the treatment location of the waiting doctor to determine the treating physician.
[0010] Furthermore, in the step 4, the central control unit sets the acquired condition keyword as Bj, setting j=1, 2, 3, ..., n, wherein B1 represents the first condition keyword, B2 represents the second condition keyword, B3 represents the third condition keyword, ..., Bn represents the Nth condition keyword. At the same time, the central control unit is provided with medical keywords Ci of optional waiting doctors, setting i=1, 2, 3, ..., m, wherein C1 represents the medical keyword of the first optional waiting doctor, C2 represents the medical keyword of the second optional waiting doctor, C3 represents the medical keyword of the third optional waiting doctor, ..., Cm represents the medical keyword of the Mth optional waiting doctor. When the acquisition and setting are completed, the central control unit compares the similarity between the first condition keyword B1 and the medical keyword Ci of the optional waiting doctor and sorts the comparison results in descending order of similarity. The central control unit selects the first three as waiting doctors.
[0011] Further, when the central control unit compares the similarity between the first keyword B1 of the condition and the medical keyword Ci of the optional waiting doctor, the central control unit sets the paragraph where the medical keyword Ci of the optional waiting doctor is located into three parts, including the first medical keyword part X1, the second medical keyword part X2 and the third medical keyword part X3, wherein the parts do not overlap with each other. When the setting is completed, the central control unit matches the first keyword B1 of the condition with the i-th medical keyword Xi, setting i=1,2,3, wherein the keyword overlap between B1 and X1 is recorded as η1, the keyword overlap between B1 and X2 is recorded as η2, and the keyword overlap between B1 and X3 is recorded as η3. When the matching is completed, the central control unit calculates the similarity ηz between the first keyword B1 of the condition and the medical keyword Cj of the optional waiting doctor, setting j=1,2,3,…,m, and the calculation formula is as follows:
[0012] etaz=eta1×40%+eta2×30%+eta3×30%;
[0013] When the calculation is completed, the central control unit sorts the different similarities from large to small and selects the optional candidate doctors for comparison corresponding to the first three similarities as candidate doctors.
[0014] Furthermore, the central control unit is provided with medical keywords of doctors on waiting list, including a first medical keyword E1 of a doctor on waiting list, a second medical keyword E2 of a doctor on waiting list, and a third medical keyword E3 of a doctor on waiting list, wherein the medical keyword Ej of the jth doctor on waiting list is the medical keyword of the jth candidate doctor ranked when the similarity comparison is performed between the first keyword B1 of the condition and the medical keyword Ci of the optional doctor on waiting list, and j=1,2,3;
[0015] When obtaining the waiting doctor, the central control unit extracts the ID number from the personal information filled in by the user stored in the input unit. When the extraction is completed, the central control unit matches it with the identity information of the users who have completed the treatment in each hospital stored in the server. If the match is unsuccessful, the central control unit extracts the residence information filled in by the user stored in the input unit. If the match is successful, the central control unit extracts the case keyword of the user who has completed the treatment and sets it as D. When the setting is completed, the central control unit compares the similarity between the case keyword D and the i-th keyword Bi of the condition:
[0016] If the similarity between the case keyword D and the condition keyword Bi is less than 90%, the central control unit compares the similarity between the case keyword D and the condition keyword Bj (i+1) until the similarity is greater than or equal to 90%, and sets i=1, 2, 3, ..., n-1, j=I+1;
[0017] If the similarity between the case keyword D and the i-th condition keyword Bi is greater than or equal to 90%, the central control unit compares the similarity between the case keyword D and the medical keyword E1 of the first waiting doctor.
[0018] If the similarity between the case keyword D and the first waiting doctor's medical keyword E1 is greater than or equal to 80%, the central control unit determines that the waiting doctor corresponding to the first waiting doctor's medical keyword E1 is a treating doctor;
[0019] If the similarity between the case keyword D and the first waiting doctor's medical keyword E1 is less than 80%, the central control unit compares the similarity between the case keyword D and the second waiting doctor's medical keyword E2. If the similarity between the case keyword D and the second waiting doctor's medical keyword E2 is greater than or equal to 70%, the central control unit determines that the waiting doctor corresponding to the second waiting doctor's medical keyword E2 is a treating doctor;
[0020] If the similarity between the case keyword D and the second waiting doctor's medical keyword E2 is less than 70%, the central control unit determines that the waiting doctor corresponding to the third waiting doctor's medical keyword E3 is a treating doctor.
[0021] Further, when the central control unit compares the case keyword D with the i-th keyword Bi of the condition for similarity, the central control unit sets the case keyword D to three parts, including the most important keyword D1, the less important keyword D2 and the general keyword D3, and the various keywords are not repeated. When the setting is completed, the central control unit matches the most important keyword D1 with the i-th keyword Bi of the condition:
[0022] If the keyword overlap between D1 and Bi is less than 90%, the central control unit matches the most important keyword D1 and the second most important keyword D2 with the i-th keyword Bi of the condition. If the keyword overlap between D1+D2 and Bi is still less than 90%, the central control unit matches the most important keyword D1, the second most important keyword D2 and the general keyword D3 with the keyword of Bi. If the keyword overlap between D1+D2+D3 and Bi is still less than 90%, the central control unit matches the most important keyword D1 with the similarity of the i+1th keyword Bj of the condition. Set i=1,2,3,…,n,j=I+1;
[0023] If the overlap degree during the matching process is greater than or equal to 90%, the central control unit matches the case keyword D with the medical keyword of the waiting doctor based on similarity to determine the treating doctor.
[0024] Furthermore, the central control unit is also provided with a diagnosis and treatment location of a waiting doctor, including a first diagnosis and treatment location L1 of a waiting doctor, a second diagnosis and treatment location L2 of a waiting doctor, and a third diagnosis and treatment location L3 of a waiting doctor, wherein the diagnosis and treatment location Lj of the jth waiting doctor indicates the diagnosis and treatment location of the jth candidate doctor ranked when the similarity comparison is performed between the first keyword B1 of the condition and the medical keyword Ci of the optional waiting doctor, and j=1,2,3;
[0025] When the matching is unsuccessful, the central control unit sets the acquired residence as L. When the setting is completed, the central control unit calculates the actual distance Hi, setting i=1,2,3, where H1 represents the distance from the first-ranked waiting doctor's treatment location to the user, H2 represents the distance from the second-ranked waiting doctor's treatment location to the user, and H3 represents the distance from the third-ranked waiting doctor's treatment location to the user. When the calculation is completed, the central control unit compares the actual distances Hi:
[0026] If H1<Ht, set t=2,3, the central control unit sets the waiting doctor corresponding to the first waiting doctor's treatment location L1 as the treating doctor;
[0027] If H2<Ht, set t=1,3, the central control unit sets the waiting doctor corresponding to the second waiting doctor's treatment location L2 as the treating doctor;
[0028] If H3<Ht, set t=1,2, the central control unit sets the waiting doctor corresponding to the third waiting doctor's treatment location L3 as the treating doctor.
[0029] Furthermore, the central control unit is also provided with preset doctor's consultation time, including a first preset doctor's consultation time T1, a second preset doctor's consultation time T2, a third preset doctor's consultation time T3 and a fourth preset doctor's consultation time T4, wherein the consultation times are connected to each other and do not overlap, and T1+T2+T3+T4=24h is set;
[0030] In step 2, the central control unit sets the appointment time filled in the input unit to T. At the same time, the central control unit extracts the preset doctor's appointment time stored in the storage unit. When the setting and extraction are completed, the central control unit matches the appointment time T with the doctor's appointment time:
[0031] If T=Ti, the central control unit extracts all the doctor information at time Ti from the storage unit to obtain optional waiting doctors, and sets i=1, 2, 3, 4.
[0032] Further, it includes: an appointment module, including an appointment unit, an input unit, a first matching unit and a storage unit, the first matching unit is connected to the appointment unit, the input unit and the storage unit respectively, the appointment unit is used to log in to the user account, the input unit is used to input the information required for online diagnosis and treatment appointment, including personal information, disease details, place of residence and appointment time, the first matching unit is used to match the appointment time with the preset doctor's appointment time to determine the optional waiting doctor, and the storage unit is used to store the diagnosis and treatment information of all online diagnosis and treatment doctors;
[0033] an allocation module, which is connected to the reservation module, and includes a semantic extraction unit, a conversion unit and an output unit, wherein the conversion unit is respectively connected to the semantic extraction unit and the output unit, and the semantic extraction unit is respectively connected to the first matching unit, the input unit and the conversion unit, the semantic extraction unit is used to perform semantic extraction on the disease details filled in by the user to obtain medical terms, the conversion unit is used to convert the disease details filled in by the user into condition keywords according to the medical terms obtained after extraction by the semantic extraction unit and pass them to the output unit, and the output unit is used to output the information of the final diagnosis and treatment doctor and pass the obtained condition keywords to the second matching unit;
[0034] an adjustment module, which is connected to the reservation module and the allocation module respectively, and includes a second matching unit, an adjustment unit and a server. The adjustment unit is connected to the second matching unit, the server and the input unit respectively. The second matching unit is used to obtain a waiting doctor after matching. The adjustment unit is connected to the second matching unit to transmit information transmitted by the server or the input unit to the second matching unit. The adjustment unit is connected to the server to obtain case keywords stored in the server. The adjustment unit is connected to the input unit to obtain residence information filled in by the user in the input unit. The server is used to store case information of the hospital.
[0035] A central control unit is connected to the reservation module, the allocation module and the adjustment module respectively, and is used to control the user allocation process.
[0036] Compared with the prior art, the beneficial effect of the present invention is that the present invention determines the optional waiting doctors by the appointment time, determines the waiting doctors by the disease details, and adjusts the candidate doctors by personal information and place of residence to determine the final treating doctor. Compared with the prior art, the matching accuracy rate during user allocation is effectively improved. The present invention matches the appointment time with the preset doctor's appointment time to obtain the optional waiting doctors, matches the medical keywords of the optional waiting doctors to determine three waiting doctors, and adjusts the waiting doctors after comparing the case keywords with the condition keywords to determine the treating doctor, thereby first determining the optional waiting doctors, then determining the waiting doctors, and finally adjusting the waiting doctors to obtain the treating doctors, thereby effectively improving the matching accuracy rate during user allocation.
[0037] Furthermore, the present invention determines three waiting doctors by comparing the similarity between the first keyword B1 of the condition and the medical keyword Ci of the optional waiting doctors, thereby enabling preliminary allocation of doctors and laying the foundation for further allocation.
[0038] Furthermore, the present invention sets the paragraph where the medical keyword Ci of the optional waiting doctor is located into three parts, and calculates the similarity ηz between the first keyword B1 of the condition and the medical keyword Cj of the optional waiting doctor through a preset formula, and finally sorts the different similarities from large to small and selects the optional candidate doctors corresponding to the first three similarities for comparison as candidate doctors, thereby effectively improving the accuracy of user matching through segmented matching.
[0039] Furthermore, the present invention compares the similarity between the case keyword D and the i-th keyword Bi of the condition to adjust the waiting doctors and obtain the treating doctors. The inconsistent similarity requirements for different waiting doctors facilitate more rapid and accurate determination of the treating doctors, and also avoids the problem of multiple treating doctors appearing due to consistent keyword similarities during the user allocation process, thereby effectively improving the matching accuracy in user allocation.
[0040] Furthermore, the present invention can effectively improve the matching accuracy of user assignment by setting the case keywords into three parts and matching each part separately or in combination with the condition keywords to determine the waiting doctor.
[0041] Furthermore, the present invention sets a semantic extraction unit to perform semantic extraction on the disease details filled in by the user to obtain medical terms, and then converts the disease details into terms based on the extracted medical terms. By setting an adjustment unit and a server to further determine and adjust the preliminarily determined waiting doctor, the treating doctor is finally determined, thereby effectively improving the accuracy of user matching. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] Figure 1 A schematic diagram of a flow chart of a method for allocating users of online medical care according to an embodiment of the present invention;
[0043] Figure 2 A structural block diagram of an online medical user allocation system according to an embodiment of the present invention;
[0044] Explanation of the marks in the figure: 1. Reservation module; 11. Reservation unit; 12. Input unit; 13. First matching unit; 14. Storage unit; 2. Allocation module; 21. Semantic extraction unit; 22. Conversion unit; 23. Output unit; 3. Adjustment module; 31. Second matching unit; 32. Adjustment unit; 33. Server; 331. First server; 332. Second server; 333. Third server; 4. Central control unit. DETAILED DESCRIPTION
[0045] In order to make the objects and advantages of the present invention more clearly understood, the present invention is further described below in conjunction with embodiments; it should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.
[0046] The preferred embodiments of the present invention are described below with reference to the accompanying drawings. It should be understood by those skilled in the art that these embodiments are only used to explain the technical principles of the present invention and are not intended to limit the protection scope of the present invention.
[0047] It should be noted that, in the description of the present invention, terms such as "up", "down", "left", "right", "inside" and "outside" indicating directions or positional relationships are based on the directions or positional relationships shown in the drawings. This is merely for the convenience of description and does not indicate or imply that the device or element must have a specific orientation, be constructed and operated in a specific orientation. Therefore, it cannot be understood as a limitation on the present invention.
[0048] In addition, it should be noted that in the description of the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two components. For those skilled in the art, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0049] See also Figure 1 and Figure 2 As shown, Figure 1 is a flow chart of a method for allocating users of online medical services according to an embodiment of the present invention. Figure 2 This is a structural block diagram of an online medical user allocation system according to an embodiment of the present invention. The online medical user allocation system according to this embodiment includes:
[0050] The reservation module 1 includes a reservation unit 11, an input unit 12, a first matching unit 13 and a storage unit 14. The first matching unit 13 is connected to the reservation unit 11, the input unit 12 and the storage unit 14 respectively. The reservation unit 11 is used to log in to the user account. The input unit 12 is used to input the information required for online diagnosis and treatment reservation, including personal information, disease details, place of residence and scheduled consultation time. The first matching unit 13 is used to match the scheduled consultation time with the preset doctor's consultation time to determine the optional waiting doctor. The storage unit 14 is used to store the diagnosis and treatment information of all online diagnosis and treatment doctors;
[0051] an allocation module 2, which is connected to the reservation module 1, and includes a semantic extraction unit 21, a conversion unit 22 and an output unit 23, wherein the conversion unit 22 is respectively connected to the semantic extraction unit 21 and the output unit 23, and the semantic extraction unit 21 is respectively connected to the first matching unit 13, the input unit 12 and the conversion unit 22, wherein the semantic extraction unit 21 is used to perform semantic extraction on the disease details filled in by the user to obtain medical terms, and the conversion unit 22 is used to convert the disease details filled in by the user into condition keywords according to the medical terms obtained after extraction by the semantic extraction unit 21 and pass them to the output unit 23, and the output unit 23 is used to output the information of the final diagnosis and treatment doctor and pass the obtained condition keywords to the second matching unit 31;
[0052] The adjustment module 3 is connected to the appointment module 1 and the allocation module 2 respectively, and includes a second matching unit 31, an adjustment unit 32 and a server 33. The adjustment unit 32 is connected to the second matching unit 31, the server 33 and the input unit 12 respectively. The second matching unit 31 is used to obtain the waiting doctor after matching. The adjustment unit 32 is connected to the second matching unit 31 to transmit the information transmitted by the server 33 or the input unit 12 to the second matching unit 31. The adjustment unit 32 is connected to the server 33 to obtain the case keywords stored in the server 33. The adjustment unit 32 is connected to the input unit 12 to obtain the residence information filled in by the user in the input unit 12. The server 33 is used to store the case information of the hospital;
[0053] The central control unit 4 is respectively connected to the reservation module 1, the allocation module 2 and the adjustment module 3 to control the user allocation process.
[0054] In this embodiment, a PLC control panel is provided in the central control unit 4. The server 33 is used to store case data of the hospital, wherein the hospital is a hospital that participates in online diagnosis and treatment and performs case sharing.
[0055] There are three servers 33, including a first server 331, a second server 332 and a third server 333, which are respectively connected to the input unit 12 to obtain the personal information filled in by the user in the input unit 12 so as to match this information with the case data stored in the server 33 to obtain case keywords.
[0056] Specifically, the embodiment of the present invention sets a semantic extraction unit 21 to perform semantic extraction on the disease details filled in by the user to obtain medical terms, and then converts the disease details into terms based on the extracted medical terms. The adjustment unit 32 and the server 33 are set to further determine and adjust the preliminarily determined waiting doctor, and then finally determine the treating doctor, thereby effectively improving the accuracy of user matching.
[0057] Combination Figure 1 As shown, based on the above-mentioned online medical user allocation system, the online medical user allocation method implemented in this embodiment includes:
[0058] Step 1: The user makes an online medical appointment through the appointment unit 11. When making an appointment, the user needs to fill in personal information, disease details, place of residence and appointment time in the input unit 12;
[0059] Step 2: the central control unit 4 controls the first matching unit 13 to match the scheduled consultation time with the preset doctor consultation time stored in the storage unit 14 to obtain an optional waiting doctor;
[0060] Step 3, the semantic extraction unit 21 performs semantic extraction on the disease details filled in by the user to obtain medical terms. When the extraction is completed, the conversion unit 22 converts the disease details filled in by the user into disease condition keywords according to the obtained medical terms and transmits them to the output unit 23. The disease condition keywords include a first disease condition keyword, a second disease condition keyword, a third disease condition keyword, ..., an Nth disease condition keyword, where N≥3;
[0061] Step 4, the output unit 23 transmits the acquired condition keyword to the second matching unit 31, and the central control unit 4 controls the second matching unit 31 to match the condition first keyword with the medical keywords of the optional waiting doctors to determine three waiting doctors;
[0062] Step five, the adjustment unit 32 obtains the case keywords obtained and transmitted by the server 33 based on the personal information. When the acquisition is completed, the central control unit 4 compares the case keywords with the condition keywords to determine the treating physician. When there are no case keywords, the central control unit 4 compares the distance between the residence and the treatment location of the waiting doctor to determine the treating physician.
[0063] Specifically, the embodiment of the present invention matches the scheduled consultation time with the preset doctor's consultation time to obtain optional waiting doctors, matches the medical keywords of the optional waiting doctors to determine three waiting doctors, and determines the treating doctor after adjusting the waiting doctors by comparing the case keywords with the condition keywords. This method effectively improves the matching accuracy during user allocation by first determining the optional waiting doctors, then determining the waiting doctors, and finally adjusting the waiting doctors to obtain the treating doctors.
[0064] In this embodiment, adjusting the doctors on waiting list means adjusting the ranking of the doctors on waiting list, and the doctor ranked first after the adjustment is determined as the treating doctor.
[0065] Specifically, in step 4, the central control unit 4 sets the acquired condition keyword to Bj, setting j=1, 2, 3, ..., n, where B1 represents the first condition keyword, B2 represents the second condition keyword, B3 represents the third condition keyword, ..., Bn represents the Nth condition keyword. At the same time, the central control unit 4 is provided with medical keywords Ci of optional waiting doctors, setting i=1, 2, 3, ..., m, where C1 represents the medical keyword of the first optional waiting doctor, C2 represents the medical keyword of the second optional waiting doctor, C3 represents the medical keyword of the third optional waiting doctor, ..., Cm represents the medical keyword of the Mth optional waiting doctor. When the acquisition and setting are completed, the central control unit 4 compares the similarity between the first condition keyword B1 and the medical keyword Ci of the optional waiting doctor and sorts the comparison results in descending order of similarity. The central control unit 4 selects the first three as waiting doctors.
[0066] Specifically, the embodiment of the present invention determines three waiting doctors by comparing the similarity between the first keyword B1 of the condition and the medical keyword Ci of the optional waiting doctors, thereby making a preliminary allocation of doctors and laying a foundation for further allocation.
[0067] Specifically, when the central control unit 4 compares the similarity between the first keyword B1 of the condition and the medical keyword Ci of the optional waiting doctor, the central control unit 4 sets the paragraph where the medical keyword Ci of the optional waiting doctor is located into three parts, including the first medical keyword part X1, the second medical keyword part X2 and the third medical keyword part X3, wherein the parts do not overlap with each other. When the setting is completed, the central control unit 4 matches the first keyword B1 of the condition with the i-th medical keyword Xi, setting i=1,2,3, wherein the keyword overlap between B1 and X1 is recorded as η1, the keyword overlap between B1 and X2 is recorded as η2, and the keyword overlap between B1 and X3 is recorded as η3. When the matching is completed, the central control unit 4 calculates the similarity ηz between the first keyword B1 of the condition and the medical keyword Cj of the optional waiting doctor, setting j=1,2,3,…,m, and the calculation formula is as follows:
[0068] etaz=eta1×40%+eta2×30%+eta3×30%;
[0069] When the calculation is completed, the central control unit 4 sorts the different similarities from large to small and selects the optional candidate doctors for comparison corresponding to the first three similarities as candidate doctors.
[0070] Specifically, the embodiment of the present invention sets the paragraph where the medical keyword Ci of the optional waiting doctor is located into three parts, and calculates the similarity ηz between the first keyword B1 of the condition and the medical keyword Cj of the optional waiting doctor through a preset formula, and finally sorts the different similarities from large to small and selects the optional candidate doctors corresponding to the first three similarities for comparison as candidate doctors, thereby effectively improving the accuracy of user matching through segmented matching.
[0071] Specifically, the central control unit 4 is provided with medical keywords of doctors on waiting list, including the first medical keyword E1 of the doctor on waiting list, the second medical keyword E2 of the doctor on waiting list and the third medical keyword E3 of the doctor on waiting list, wherein the medical keyword Ej of the jth doctor on waiting list is the medical keyword of the candidate doctor ranked in the jth order when the similarity comparison is performed between the first keyword B1 of the condition and the medical keyword Ci of the optional doctor on waiting list, and j=1,2,3;
[0072] When obtaining the waiting doctor, the central control unit 4 extracts the ID number from the personal information filled in by the user stored in the input unit 12. When the extraction is completed, the central control unit 4 matches it with the identity information of the users who have completed the treatment in each hospital stored in the server 33. If the match is unsuccessful, the central control unit 4 extracts the residence information filled in by the user stored in the input unit 12. If the match is successful, the central control unit 4 extracts the case keyword of the user who has completed the treatment and sets it as D. When the setting is completed, the central control unit 4 compares the similarity between the case keyword D and the i-th keyword Bi of the condition:
[0073] If the similarity between the case keyword D and the condition keyword Bi is less than 90%, the central control unit 4 compares the similarity between the case keyword D and the condition keyword Bj (i+1) until the similarity is greater than or equal to 90%, and sets i=1, 2, 3, ..., n-1, j=I+1;
[0074] If the similarity between the case keyword D and the i-th condition keyword Bi is greater than or equal to 90%, the central control unit 4 compares the similarity between the case keyword D and the first waiting doctor's medical keyword E1.
[0075] If the similarity between the case keyword D and the first waiting doctor's medical keyword E1 is greater than or equal to 80%, the central control unit 4 determines that the waiting doctor corresponding to the first waiting doctor's medical keyword E1 is a treating doctor;
[0076] If the similarity between the case keyword D and the first waiting doctor's medical keyword E1 is less than 80%, the central control unit 4 compares the similarity between the case keyword D and the second waiting doctor's medical keyword E2. If the similarity between the case keyword D and the second waiting doctor's medical keyword E2 is greater than or equal to 70%, the central control unit 4 determines that the waiting doctor corresponding to the second waiting doctor's medical keyword E2 is the treating doctor;
[0077] If the similarity between the case keyword D and the second waiting doctor's medical keyword E2 is less than 70%, the central control unit 4 determines that the waiting doctor corresponding to the third waiting doctor's medical keyword E3 is a treating doctor.
[0078] Specifically, the embodiment of the present invention compares the similarity between the case keyword D and the i-th keyword Bi of the condition to adjust the waiting doctors and obtain the treating doctors. The inconsistent similarity requirements for different waiting doctors facilitate more rapid and accurate determination of the treating doctors, and also avoids the problem of multiple treating doctors appearing due to consistent keyword similarities during the user allocation process, thereby effectively improving the matching accuracy in user allocation.
[0079] Specifically, when the central control unit 4 compares the case keyword D with the i-th keyword Bi of the condition for similarity, the central control unit 4 sets the case keyword D into three parts, including the most important keyword D1, the less important keyword D2 and the general keyword D3, and the various keywords do not overlap with each other. When the setting is completed, the central control unit 4 matches the most important keyword D1 with the i-th keyword Bi of the condition:
[0080] If the keyword overlap between D1 and Bi is less than 90%, the central control unit 4 matches the most important keyword D1 and the second most important keyword D2 with the i-th keyword Bi of the condition. If the keyword overlap between D1+D2 and Bi is still less than 90%, the central control unit 4 matches the most important keyword D1, the second most important keyword D2 and the general keyword D3 with the keyword of Bi. If the keyword overlap between D1+D2+D3 and Bi is still less than 90%, the central control unit 4 matches the most important keyword D1 with the similarity of the i+1th keyword Bj of the condition. Set i=1,2,3,…,n,j=I+1;
[0081] If the overlap degree is greater than or equal to 90% during the matching process, the central control unit 4 matches the case keyword D with the medical keyword of the waiting doctor based on the similarity to determine the treating doctor.
[0082] Specifically, the embodiment of the present invention can effectively improve the matching accuracy of user assignment by setting the case keywords into three parts and matching each part separately or in combination with the condition keywords to determine the waiting doctor.
[0083] Specifically, the central control unit 4 is further provided with a diagnosis and treatment location of a waiting doctor, including a first diagnosis and treatment location L1 of a waiting doctor, a second diagnosis and treatment location L2 of a waiting doctor, and a third diagnosis and treatment location L3 of a waiting doctor, wherein the diagnosis and treatment location Lj of the jth waiting doctor indicates the diagnosis and treatment location of the jth candidate doctor ranked when the similarity comparison is performed between the first keyword B1 of the condition and the medical keyword Ci of the optional waiting doctor, and j=1, 2, 3 is set;
[0084] When the matching is unsuccessful, the central control unit 4 sets the acquired residence as L. When the setting is completed, the central control unit 4 calculates the actual distance Hi, setting i=1,2,3, where H1 represents the distance from the first-ranked waiting doctor's treatment location to the user, H2 represents the distance from the second-ranked waiting doctor's treatment location to the user, and H3 represents the distance from the third-ranked waiting doctor's treatment location to the user. When the calculation is completed, the central control unit 4 compares the actual distances Hi:
[0085] If H1<Ht, set t=2,3, the central control unit 4 sets the waiting doctor corresponding to the first waiting doctor's treatment location L1 as the treating doctor;
[0086] If H2<Ht, set t=1,3, the central control unit 4 sets the waiting doctor corresponding to the second waiting doctor's treatment location L2 as the treating doctor;
[0087] If H3<Ht, set t=1,2, the central control unit 4 sets the waiting doctor corresponding to the third waiting doctor's treatment location L3 as the treating doctor.
[0088] Specifically, the embodiment of the present invention can effectively improve the matching accuracy of user allocation by calculating the actual distance and comparing different actual distances to adjust the waiting doctors and then determine the treating doctor.
[0089] Specifically, the central control unit 4 is also provided with preset doctor's consultation time, including a first preset doctor's consultation time T1, a second preset doctor's consultation time T2, a third preset doctor's consultation time T3 and a fourth preset doctor's consultation time T4, wherein the consultation times are connected to each other and do not overlap, and T1+T2+T3+T4=24h is set;
[0090] In the step 2, the central control unit 4 sets the appointment time filled in the input unit 12 to T. At the same time, the central control unit 4 extracts the preset doctor's appointment time stored in the storage unit 14. When the setting and extraction are completed, the central control unit 4 matches the appointment time T with the doctor's appointment time:
[0091] If T=Ti, the central control unit 4 extracts all the doctor information at time Ti from the storage unit 14 to obtain optional doctors on standby, and sets i=1, 2, 3, 4.
[0092] Specifically, the embodiment of the present invention determines the optional waiting doctors by matching the appointment time T with the doctor's consultation time, and then determines the waiting doctors, and finally adjusts the waiting doctors to obtain the treating doctors, thereby effectively improving the matching accuracy during user allocation.
[0093] So far, the technical solutions of the present invention have been described in conjunction with the preferred embodiments shown in the accompanying drawings. However, it is easy for those skilled in the art to understand that the protection scope of the present invention is obviously not limited to these specific embodiments. Without departing from the principle of the present invention, those skilled in the art can make equivalent changes or substitutions to the relevant technical features, and the technical solutions after these changes or substitutions will fall within the protection scope of the present invention.
[0094] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A user allocation method for online medical treatment, characterized in that: include: Step 1: The user makes an online medical appointment through the appointment unit. When making an appointment, the user needs to fill in personal information, disease details, place of residence and appointment time in the input unit; Step 2: the central control unit controls the first matching unit to match the appointment time with the preset doctor's appointment time stored in the storage unit to obtain an optional waiting doctor; Step 3, the semantic extraction unit performs semantic extraction on the disease details filled in by the user to obtain medical terms. When the extraction is completed, the conversion unit converts the disease details filled in by the user into disease condition keywords according to the obtained medical terms and transmits them to the output unit. The disease condition keywords include a first disease condition keyword, a second disease condition keyword, a third disease condition keyword, ..., an Nth disease condition keyword, where N≥3; Step 4, the output unit transmits the acquired condition keyword to the second matching unit, and the central control unit controls the second matching unit to match the first condition keyword with the medical keywords of the optional waiting doctors to determine three waiting doctors; Step 5: The adjustment unit obtains the case keywords obtained and transmitted by the server according to the personal information. When the acquisition is completed, the central control unit compares the case keywords with the condition keywords to determine the treating doctor. When there are no case keywords, the central control unit compares the distance between the residence and the treatment place of the waiting doctor to determine the treating doctor. In the step 4, the central control unit sets the acquired condition keyword as Bj, and sets j=1, 2, 3, ..., n, where B1 represents the first condition keyword, B2 represents the second condition keyword, B3 represents the third condition keyword, ..., Bn represents the Nth condition keyword. At the same time, the central control unit is provided with medical keywords Ci of optional waiting doctors, and sets i=1, 2, 3, ..., m, where C1 represents the medical keyword of the first optional waiting doctor, C2 represents the medical keyword of the second optional waiting doctor, C3 represents the medical keyword of the third optional waiting doctor, ..., Cm represents the medical keyword of the Mth optional waiting doctor. When the acquisition and setting are completed, the central control unit compares the similarity between the first condition keyword B1 and the medical keyword Ci of the optional waiting doctor and sorts the comparison results in descending order of similarity. The central control unit selects the first three as waiting doctors; When the central control unit compares the similarity between the first keyword B1 of the condition and the medical keyword Ci of the optional waiting doctor, the central control unit sets the paragraph where the medical keyword Ci of the optional waiting doctor is located into three parts, including the first medical keyword part X1, the second medical keyword part X2 and the third medical keyword part X3, wherein the parts do not overlap with each other. When the setting is completed, the central control unit matches the first keyword B1 of the condition with the i-th medical keyword Xi, setting i=1,2,3, wherein the keyword overlap between B1 and X1 is recorded as η1, the keyword overlap between B1 and X2 is recorded as η2, and the keyword overlap between B1 and X3 is recorded as η3. When the matching is completed, the central control unit calculates the similarity ηz between the first keyword B1 of the condition and the medical keyword Cj of the optional waiting doctor, setting j=1,2,3,…,m, and the calculation formula is as follows: etaz=eta1×40%+eta2×30%+eta3×30%; When the calculation is completed, the central control unit sorts the different similarities from large to small and selects the optional candidate doctors for comparison corresponding to the first three similarities as candidate doctors; The central control unit is provided with medical keywords of doctors on waiting list, including a first medical keyword E1 of a doctor on waiting list, a second medical keyword E2 of a doctor on waiting list, and a third medical keyword E3 of a doctor on waiting list, wherein the medical keyword Ej of the jth doctor on waiting list is the medical keyword of the candidate doctor ranked jth when the similarity between the first keyword B1 of the condition and the medical keyword Ci of the optional doctor on waiting list is compared, and j=1, 2, 3; When obtaining the waiting doctor, the central control unit extracts the ID number from the personal information filled in by the user stored in the input unit. When the extraction is completed, the central control unit matches it with the identity information of the users who have completed the treatment in each hospital stored in the server. If the match is unsuccessful, the central control unit extracts the residence information filled in by the user stored in the input unit. If the match is successful, the central control unit extracts the case keyword of the user who has completed the treatment and sets it as D. When the setting is completed, the central control unit compares the similarity between the case keyword D and the i-th keyword Bi of the condition: If the similarity between the case keyword D and the condition keyword Bi is less than 90%, the central control unit compares the similarity between the case keyword D and the condition keyword Bj (i+1) until the similarity is greater than or equal to 90%, and sets i=1, 2, 3, ..., n-1, j=I+1; If the similarity between the case keyword D and the i-th condition keyword Bi is greater than or equal to 90%, the central control unit compares the similarity between the case keyword D and the medical keyword E1 of the first waiting doctor. If the similarity between the case keyword D and the first waiting doctor's medical keyword E1 is greater than or equal to 80%, the central control unit determines that the waiting doctor corresponding to the first waiting doctor's medical keyword E1 is a treating doctor; If the similarity between the case keyword D and the first waiting doctor's medical keyword E1 is less than 80%, the central control unit compares the similarity between the case keyword D and the second waiting doctor's medical keyword E2. If the similarity between the case keyword D and the second waiting doctor's medical keyword E2 is greater than or equal to 70%, the central control unit determines that the waiting doctor corresponding to the second waiting doctor's medical keyword E2 is a treating doctor; If the similarity between the case keyword D and the second waiting doctor's medical keyword E2 is less than 70%, the central control unit determines that the waiting doctor corresponding to the third waiting doctor's medical keyword E3 is a treating doctor; When the central control unit compares the case keyword D with the i-th keyword Bi of the condition for similarity, the central control unit sets the case keyword D into three parts, including the most important keyword D1, the less important keyword D2 and the general keyword D3, and the keywords of each category do not overlap with each other. When the setting is completed, the central control unit matches the most important keyword D1 with the i-th keyword Bi of the condition: If the keyword overlap between D1 and Bi is less than 90%, the central control unit matches the most important keyword D1 and the second most important keyword D2 with the i-th keyword Bi of the condition. If the keyword overlap between D1+D2 and Bi is still less than 90%, the central control unit matches the most important keyword D1, the second most important keyword D2 and the general keyword D3 with the keyword of Bi. If the keyword overlap between D1+D2+D3 and Bi is still less than 90%, the central control unit matches the most important keyword D1 with the similarity of the i+1th keyword Bj of the condition. Set i=1,2,3,…,n,j=I+1; If the overlap degree is greater than or equal to 90% during the matching process, the central control unit matches the case keyword D with the similarity of the waiting doctor's medical keyword to determine the treating doctor; The central control unit is also provided with preset doctor's consultation time, including a first preset doctor's consultation time T1, a second preset doctor's consultation time T2, a third preset doctor's consultation time T3 and a fourth preset doctor's consultation time T4, wherein the consultation times are connected to each other and do not overlap, and T1+T2+T3+T4=24h is set; In step 2, the central control unit sets the appointment time filled in the input unit to T. At the same time, the central control unit extracts the preset doctor's appointment time stored in the storage unit. When the setting and extraction are completed, the central control unit matches the appointment time T with the doctor's appointment time: If T=Ti, the central control unit extracts all the doctor information at time Ti from the storage unit to obtain optional waiting doctors, and sets i=1, 2, 3, 4.
2. The online medical user allocation method according to claim 1, characterized in that: The central control unit is also provided with a diagnosis and treatment location of a waiting doctor, including a first diagnosis and treatment location L1 of a waiting doctor, a second diagnosis and treatment location L2 of a waiting doctor, and a third diagnosis and treatment location L3 of a waiting doctor, wherein the diagnosis and treatment location Lj of the jth waiting doctor indicates the diagnosis and treatment location of the jth candidate doctor ranked when the similarity comparison is performed between the first keyword B1 of the condition and the medical keyword Ci of the optional waiting doctor, and j=1, 2, 3; When the matching is unsuccessful, the central control unit sets the acquired residence as L. When the setting is completed, the central control unit calculates the actual distance Hi, setting i=1,2,3, where H1 represents the distance from the first-ranked waiting doctor's treatment location to the user, H2 represents the distance from the second-ranked waiting doctor's treatment location to the user, and H3 represents the distance from the third-ranked waiting doctor's treatment location to the user. When the calculation is completed, the central control unit compares the actual distances Hi: If H1<Ht, set t=2,3, the central control unit sets the waiting doctor corresponding to the first waiting doctor's treatment location L1 as the treating doctor; If H2<Ht, set t=1,3, the central control unit sets the waiting doctor corresponding to the second waiting doctor's treatment location L2 as the treating doctor; If H3<Ht, set t=1,2, the central control unit sets the waiting doctor corresponding to the third waiting doctor's treatment location L3 as the treating doctor.
3. A distribution system according to any one of claims 1-2 for the method for distributing users of online medical services, characterized in that: include: The reservation module includes a reservation unit, an input unit, a first matching unit and a storage unit, wherein the first matching unit is connected to the reservation unit, the input unit and the storage unit respectively, the reservation unit is used to log in to the user account, the input unit is used to input the information required for online diagnosis and treatment reservation, including personal information, disease details, place of residence and scheduled consultation time, the first matching unit is used to match the scheduled consultation time with the preset doctor consultation time to determine the optional waiting doctor, and the storage unit is used to store the diagnosis and treatment information of all online diagnosis and treatment doctors; an allocation module, which is connected to the reservation module, and includes a semantic extraction unit, a conversion unit and an output unit, wherein the conversion unit is respectively connected to the semantic extraction unit and the output unit, and the semantic extraction unit is respectively connected to the first matching unit, the input unit and the conversion unit, the semantic extraction unit is used to perform semantic extraction on the disease details filled in by the user to obtain medical terms, the conversion unit is used to convert the disease details filled in by the user into condition keywords according to the medical terms obtained after extraction by the semantic extraction unit and pass them to the output unit, and the output unit is used to output the information of the final diagnosis and treatment doctor and pass the obtained condition keywords to the second matching unit; an adjustment module, which is connected to the reservation module and the allocation module respectively, and includes a second matching unit, an adjustment unit and a server. The adjustment unit is connected to the second matching unit, the server and the input unit respectively. The second matching unit is used to obtain a waiting doctor after matching. The adjustment unit is connected to the second matching unit to transmit information transmitted by the server or the input unit to the second matching unit. The adjustment unit is connected to the server to obtain case keywords stored in the server. The adjustment unit is connected to the input unit to obtain residence information filled in by the user in the input unit. The server is used to store case information of the hospital. A central control unit is connected to the reservation module, the allocation module and the adjustment module respectively, and is used to control the user allocation process.
