Department display method, device, equipment and storage medium
By automatically determining indications and recommending departments based on drug orders, this technology solves the problem of low efficiency caused by relying on users' medical knowledge and manual recommendations for department selection in existing technologies. It achieves fast and accurate department recommendations and reduces labor costs.
Patent Information
- Application Number
- CN202011591347.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-12-29
- Publication Date
- 2026-11-24
- Estimated Expiration
- 2040-12-29
AI Technical Summary
In existing technologies, selecting a medical department relies on the user's own medical knowledge or manual recommendations, which is inefficient and costly.
The system automatically determines indications based on drug information in drug orders and recommends departments based on the correspondence between indications and departments, thus achieving automated recommendations.
It recommends departments quickly and accurately without requiring users' medical knowledge or human intervention, reducing labor costs and improving selection efficiency.
Smart Images

Figure CN114694806B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of computing technology, and in particular to a department display method, device, equipment, and storage medium. Background Technology
[0002] In the medical field, if a user wants to see a doctor or consult a physician, they need to make an appointment at the relevant medical institution and consult with a doctor in that department.
[0003] When choosing a department, users generally need to have some basic medical knowledge and then rely on that knowledge to select the appropriate department. If a user is unsure which department to visit, they should go to the information desk of the medical institution and ask the medical staff, who will then recommend a department based on the user's description of their symptoms.
[0004] Therefore, the above methods of selecting a department rely on the user's own medical knowledge and involve asking medical staff, which is too labor-intensive and inefficient. There is an urgent need for a fast and efficient method to help users select a department. Summary of the Invention
[0005] This application provides a method, apparatus, device, and storage medium for displaying departments, which can improve the efficiency of department selection. The technical solution is as follows:
[0006] On the one hand, a method for displaying departments is provided, the method comprising:
[0007] In response to a drug order generation instruction, the system retrieves the identification information of at least one drug based on the generated drug order.
[0008] Based on the identification information of the at least one drug, at least one target indication is determined from the drug information of the at least one drug, wherein the drug information includes at least the identification information of the drug and the indication of the drug;
[0009] Based on the at least one target indication and the correspondence between the indication and the department, determine at least one department corresponding to the at least one target indication;
[0010] The at least one department is displayed in the department display interface.
[0011] On the one hand, a department display device is provided, the device comprising:
[0012] The acquisition module is used to respond to the drug order generation instruction and acquire the identification information of at least one drug based on the generated drug order;
[0013] A determining module is configured to determine at least one target indication from drug information of the at least one drug based on the identification information of the at least one drug, wherein the drug information includes at least the identification information of the drug and the indication of the drug;
[0014] The determining module is further configured to determine at least one department corresponding to the at least one target indication based on the at least one target indication and the correspondence between the indication and the department;
[0015] The display module is used to display the at least one department in the department display interface.
[0016] In some embodiments, the acquisition module is used to:
[0017] Obtain the name or approval number of at least one drug from the generated drug order;
[0018] Obtain the identification information of the at least one drug based on its drug name or drug approval number.
[0019] In some embodiments, the acquisition module is used to:
[0020] Extract the name of at least one drug from the generated drug order;
[0021] Keyword extraction is performed on the drug name of the at least one drug, and the drug approval number of the at least one drug is obtained based on the extracted keywords;
[0022] Display the drug approval number of at least one of the drugs;
[0023] In response to the confirmation operation of the drug approval number of the at least one drug, the identification information of the at least one drug is obtained based on the drug approval number of the at least one drug.
[0024] In some embodiments, the acquisition module is used to:
[0025] Obtain the candidate drug name of at least one drug corresponding to the user account;
[0026] For any candidate drug name, feature extraction is performed on the candidate drug name to obtain the entity features of the candidate drug name;
[0027] The entity features are matched with the entity features of the target drug name, and the matched target drug name is used as the drug name of the drug.
[0028] In some embodiments, the determining module is used to:
[0029] Based on the identification information of the at least one drug, at least one indication of the at least one drug is extracted from the drug information of the at least one drug;
[0030] At least one target indication is determined based on the number of times the at least one indication is extracted.
[0031] In some embodiments, the determining module is used to:
[0032] In response to the presence of a duplicate extracted indication among the at least one indication, the at least one indication that is extracted the most times is determined as the at least one target indication;
[0033] In response to the fact that the number of times the at least one indication is extracted is 1, the at least one indication is determined to be the at least one target indication.
[0034] In some embodiments, the display module is used for:
[0035] The display order of the at least one department is determined based on at least one of the following: the number of times the corresponding indication for the at least one department is retrieved, the number of corresponding indications for the at least one department, the historical number of patients in the at least one department, or the number of patients who have made appointments in the at least one department.
[0036] In the department display interface, at least one department is displayed in the specified display order.
[0037] In some embodiments, the display module is further configured to:
[0038] In response to the selection of any department, display information on at least one doctor belonging to said department;
[0039] In response to the selection of any doctor's information, a dialog interface for the doctor's account corresponding to the selected doctor's information is displayed.
[0040] In some embodiments, the display module is further configured to display a first control in the department display interface, the first control being configured to indicate the selection of other departments besides the at least one department;
[0041] In response to a triggering operation on the first control, a list of departments is displayed, the list of departments including at least the other departments besides the at least one department.
[0042] In some embodiments, the display module is further configured to:
[0043] The second control is displayed in the department display interface, or in response to the failure of department confirmation; wherein, the second control is used to enter the drug name or drug approval number;
[0044] In response to the triggering operation of the second control, the drug entry interface is displayed.
[0045] In some embodiments, the acquisition module is further configured to:
[0046] Obtain the drug name or drug approval number entered in the drug entry interface;
[0047] Based on the drug name or drug approval number entered in the drug entry interface, the identification information of at least one drug corresponding to the user account is retrieved again.
[0048] In some embodiments, the display module is further configured to:
[0049] In response to the selection of any department, the appointment information of that department is displayed;
[0050] Based on the department and the filled-in appointment information, appointment information is generated for the user account.
[0051] On the one hand, an electronic device is provided, the electronic device including one or more processors and one or more memories, the one or more memories storing at least one computer program, the at least one computer program being loaded and executed by the one or more processors to implement various optional implementations of the above-mentioned department display method.
[0052] On the one hand, a computer-readable storage medium is provided, wherein at least one computer program is stored therein, the at least one computer program being loaded and executed by a processor to implement various optional implementations of the above-described department display method.
[0053] In one aspect, a computer program product or computer program is provided, the computer program product or computer program comprising one or more computer programs stored in a computer-readable storage medium. One or more processors of an electronic device are capable of reading the one or more computer programs from the computer-readable storage medium, and the one or more processors execute the one or more computer programs, enabling the electronic device to perform the department display method of any of the above possible embodiments.
[0054] This application provides a method for accurately recommending departments based on drug information. When a drug purchase order is generated, the system can automatically recommend the corresponding department based on the relationship between the drugs, indications, and departments listed in the order. This process only requires identifying at least one drug in the order to automatically analyze its indications and determine the corresponding department. This achieves automated department recommendation without relying on the user's medical knowledge or requiring any human intervention, thus reducing labor costs and enabling efficient, fast, and accurate department recommendations, thereby improving the efficiency of department selection. Attached Figure Description
[0055] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0056] Figure 1 This is a schematic diagram of the implementation environment of a department display method provided in an embodiment of this application;
[0057] Figure 2 This is a flowchart of a department display method provided in an embodiment of this application;
[0058] Figure 3 This is a flowchart of a department display method provided in an embodiment of this application;
[0059] Figure 4 This is a schematic diagram of the structure of a department display device provided in an embodiment of this application;
[0060] Figure 5 This is a schematic diagram of a terminal interface provided in an embodiment of this application;
[0061] Figure 6 This is a schematic diagram of a terminal interface provided in an embodiment of this application;
[0062] Figure 7 This is a schematic diagram of a terminal interface provided in an embodiment of this application;
[0063] Figure 8 This is a flowchart of a department display method provided in an embodiment of this application;
[0064] Figure 9 This is a schematic diagram of the structure of a department display device provided in an embodiment of this application;
[0065] Figure 10 This is a schematic diagram of the structure of a server provided in an embodiment of this application;
[0066] Figure 11 This is a structural block diagram of a terminal provided in an embodiment of this application;
[0067] Figure 12 This is a schematic diagram of the structure of a server provided in an embodiment of this application. Detailed Implementation
[0068] To make the objectives, technical solutions, and advantages of this application clearer, the embodiments of this application will be described in further detail below with reference to the accompanying drawings.
[0069] In this application, the terms "first," "second," etc., are used to distinguish identical or similar items that have substantially the same function and purpose. It should be understood that there is no logical or temporal dependency between "first," "second," and "nth," nor does it limit the quantity or order of execution. It should also be understood that although the following description uses the terms "first," "second," etc., to describe various elements, these elements should not be limited by the terms. These terms are merely used to distinguish one element from another. For example, without departing from the various examples described, a first image can be referred to as a second image, and similarly, a second image can be referred to as a first image. Both the first image and the second image can be images, and in some cases, they can be separate and distinct images.
[0070] In this application, the term "at least one" means one or more, and the term "multiple" means two or more. For example, multiple data packets means two or more data packets.
[0071] It should be understood that the terminology used in the description of the various examples herein is for the purpose of describing the particular examples only and is not intended to be limiting. As used in the description of the various examples and the appended claims, the singular forms “a” and “the” are intended to include the plural forms as well, unless the context clearly indicates otherwise.
[0072] It should also be understood that the term "and / or" as used herein refers to and covers any and all possible combinations of one or more of the associated listed items. The term "and / or" describes an association between related objects, indicating that three relationships can exist; for example, A and / or B can represent: A alone, A and B simultaneously, and B alone. Additionally, the character " / " in this application generally indicates that the preceding and following related objects are in an "or" relationship.
[0073] It should also be understood that, in the various embodiments of this application, the sequence number of each process does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.
[0074] It should also be understood that determining B based on A does not mean determining B solely based on A; B can also be determined based on A and / or other information.
[0075] It should also be understood that the term “comprising” (also referred to as “inCludes”, “inCluding”, “Comprises”, and / or “Comprising”) as used in this specification specifies the presence of the stated features, integers, steps, operations, elements, and / or components, but does not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and / or groups thereof.
[0076] It should also be understood that the term "if" can be interpreted as meaning "when" or "upon" or "in response to determination" or "in response to detection." Similarly, depending on the context, the phrases "if determination..." or "if detection [the stated condition or event]" can be interpreted as meaning "when determination..." or "in response to determination..." or "when detection [the stated condition or event]" or "in response to detection [the stated condition or event]."
[0077] The following is an explanation of the terms used in this application.
[0078] The methods provided in this application relate to cloud technology, particularly its application in the medical field, and can be referred to herein as medical cloud. Medical cloud refers to the creation of a healthcare service cloud platform using cloud computing, combining medical technology with new technologies such as cloud computing, mobile technology, multimedia, 4G communication, big data, and the Internet of Things. This enables the sharing of medical resources and expands the scope of medical services. Because of the application and integration of cloud computing technology, medical cloud improves the efficiency of medical institutions and facilitates access to medical care for residents. Features such as hospital appointment booking, electronic medical records, and medical insurance are all products of the integration of cloud computing and the medical field. Medical cloud also offers advantages such as data security, information sharing, dynamic expansion, and a global deployment.
[0079] The implementation environment of this application is described below.
[0080] Figure 1This is a schematic diagram illustrating the implementation environment of a department display method provided in this application embodiment. The implementation environment includes a terminal 101, or it includes a terminal 101 and a department display platform 102. The terminal 101 is connected to the department display platform 102 via a wireless network or a wired network.
[0081] Terminal 101 can be at least one of a smartphone, game console, desktop computer, tablet computer, e-book reader, MP3 (Moving Picture Experts Group Audio Layer III) player or MP4 (Moving Picture Experts Group Audio Layer IV) player, or laptop computer. Terminal 101 has an application installed and running that supports departmental display; for example, the application can be a system application, instant messaging application, news push application, shopping application, online video application, or social application.
[0082] For example, the terminal 101 can complete the task independently, or it can provide data services to the department display platform 102. This application embodiment does not limit this.
[0083] The department display platform 102 includes at least one of a server, multiple servers, a cloud computing platform, and a virtualization center. The department display platform 102 provides backend services for applications supporting department display. Optionally, the department display platform 102 undertakes the primary processing work, and the terminal 101 undertakes secondary processing work; or, the department display platform 102 undertakes secondary processing work, and the terminal 101 undertakes primary processing work; or, the department display platform 102 or the terminal 101 can each independently undertake processing work. Alternatively, the department display platform 102 and the terminal 101 can collaborate on computing using a distributed computing architecture.
[0084] Optionally, the department display platform 102 includes at least one server 1021 and a database 1022. The database 1022 is used to store data. In this embodiment, the database 1022 can store drug information and provide data services to at least one server 1021.
[0085] Servers can be standalone physical servers, server clusters or distributed systems composed of multiple physical servers, or cloud servers that provide basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms. Terminals can be smartphones, tablets, laptops, desktop computers, smart speakers, smartwatches, etc., but are not limited to these.
[0086] Those skilled in the art will understand that the number of terminals 101 and servers 1021 can be more or less. For example, there may be only one terminal 101 or server 1021, or there may be dozens or hundreds of terminals 101 or servers 1021, or even more. The embodiments of this application do not limit the number or type of terminals or servers.
[0087] Figure 2 This is a flowchart illustrating a department display method provided in an embodiment of this application. The method is applied to an electronic device, which may be a terminal or a server. (See also...) Figure 2 Taking the application of this method to a terminal as an example, the method includes the following steps.
[0088] 201. The terminal responds to the drug order generation instruction and obtains the identification information of at least one drug based on the generated drug order.
[0089] Drugs refer to substances used to prevent, treat, or diagnose human diseases, or to purposefully regulate human physiological functions, and which have specified indications or functions, usage, and dosage. They include traditional Chinese medicine, chemical drugs, and biological products.
[0090] The identification information of a drug is used to uniquely identify the drug. For example, the identification information can be the drug's serial number, such as 1, 2, ..., N. Alternatively, the identification information can be the drug's name or other information. This identification information can be set by relevant technical personnel according to requirements, and this application embodiment does not limit this.
[0091] An order refers to a purchase order issued by a company's purchasing department to a supplier. A pharmaceutical order is an order generated when purchasing pharmaceuticals. This terminal can provide online pharmaceutical purchasing services. Users can perform pharmaceutical purchase operations on the terminal, triggering a pharmaceutical order generation instruction. The terminal can respond to this instruction by proactively recommending departments to the user.
[0092] In some embodiments, at least one drug corresponding to the user account can be a drug purchased by the user account. If the user needs to consult a doctor or seek medical advice about the indications for treatment with this drug, or inquire about the use of the drug, the appropriate department can be recommended to them through the following steps.
[0093] 202. The terminal determines at least one target indication from the drug information of the at least one drug based on the identification information of the at least one drug, wherein the drug information includes at least the identification information of the drug and the indication of the drug.
[0094] An indication is a medical term, also known as a sign or indication. It refers to the scope and criteria within which a drug, surgery, or other treatment method is suitable for use. From a medical perspective, an indication refers to a specific treatment method or examination procedure. The indication for a particular treatment method or examination procedure is the disease for which that method or procedure is appropriate. For example, recurrent chronic tonsillitis is an indication for tonsillectomy. Recurrent chronic tonsillitis is an indication for tonsillectomy, and conversely, recurrent chronic tonsillitis is a suitable condition for tonsillectomy. For instance, if drug A can treat abdominal pain, then the indication for drug A can be abdominal pain.
[0095] The drug information includes at least the drug's identification information and its indications. Based on the drug information, and given that the drug's identification information is known, the drug's indications can be determined from the drug information.
[0096] In some embodiments, the at least one target indication may be all indications of at least one drug, or it may be a subset of indications identified from all indications of at least one drug.
[0097] 203. The terminal determines at least one department corresponding to the at least one target indication based on the at least one target indication and the correspondence between the indication and the department.
[0098] Based on the information about the drugs purchased by a user account, the indications for the drugs can be determined, and then the appropriate departments that can treat the indications can be identified. In this way, the appropriate departments can be automatically determined based on the information about the drugs purchased by the user account, realizing the automatic recommendation of departments for the user account based on the drugs after purchase.
[0099] 204. The terminal displays at least one department in the department display interface.
[0100] After identifying at least one department based on the drug's information, the terminal can display and recommend these departments to the user for selection. This allows users to determine the necessary department without relying on their own medical knowledge or consulting medical staff, resulting in high efficiency.
[0101] This application provides a method for recommending departments based on drug information. After purchasing a drug, the system can automatically recommend the corresponding department to the user account based on the relationship between the drug, its indication, and the department. This process only requires identifying at least one drug associated with the user account to automatically analyze its indication and then determine the corresponding department. This achieves automated department recommendation. The process does not rely on the user having medical knowledge and does not require any human intervention, reducing labor costs and enabling efficient, fast, and accurate department recommendations, thus improving the efficiency of department selection.
[0102] Figure 3 This is a flowchart of a department display method provided in an embodiment of this application. See also... Figure 3 The method includes the following steps.
[0103] 301. In response to a drug order generation instruction, the electronic device obtains the name or approval number of at least one drug from the generated drug order.
[0104] The name of a drug refers to its name, also known as its generic name. In some embodiments, this name may be the generic name of the drug. A generic name is an international non-proprietary name, meaning a name that is universally accepted. The generic name of a drug is usually listed on its package insert.
[0105] In some embodiments, the generic name of a drug may refer to the China Approved Drug Name (CADN), which is the legal name of a drug formulated by the Pharmacopoeia Commission in accordance with the "Principles for Naming Generic Drug Names" and filed with the Ministry of Health. It is the generic name of drugs containing the same ingredient or formula within China and is mandatory and binding. This generic name may comply with the relevant provisions of the "Regulations for the Approval of New Drugs."
[0106] A drug approval number is a legal certificate issued by the National Medical Products Administration (CFDA) to a specific manufacturer for a particular drug, based on legal standards, production processes, and production conditions. Each manufacturer and each product has a unique approval number. A drug approval number uniquely identifies a drug.
[0107] The drug name and drug approval number are used to uniquely identify the drug, thereby enabling the determination of the drug's indications for analysis of the relevant departments for the user account.
[0108] Users can log in to their user accounts on electronic devices to purchase medicines. Alternatively, users can purchase medicines online directly on the electronic device without logging in. Specifically, the electronic device can display a medicine purchase interface, which may include a medicine information display area and a purchase control. The medicine information display area may include information about various medicines. Users can select any one or more medicines in the display area and then activate the purchase control. This process of selecting a medicine and activating the purchase control constitutes the medicine purchase operation, which can trigger a medicine order generation command.
[0109] When an electronic device receives a drug purchase request triggering a drug generation instruction, it can respond by generating a drug order. The order typically includes the name or approval number of the purchased drug, and may also include the price. The drug name or approval number can be extracted from the order to recommend appropriate departments.
[0110] In some embodiments, the drug name entered by the user account or the drug name in the drug order may not be a generic drug name, or may not comply with the relevant provisions of the "Regulations for the Approval of New Drugs". The electronic device can determine the generic drug name or a drug name that complies with the "Regulations for the Approval of New Drugs" through entity links. Specifically, the electronic device can obtain candidate drug names for at least one drug corresponding to the user account. For any candidate drug name, the electronic device extracts features from the candidate drug name to obtain its entity features, matches these entity features with the entity features of the target drug name, and uses the matched target drug name as the drug name.
[0111] For example, the name of drug A may include multiple names: Name 1, Name 2, and Name 3. Name 1 is the generic name of drug A. We can set Name 1 as the target name of drug A. Then, when the name of drug A (e.g., Name 1, Name 2, or Name 3) is obtained, it can be matched with the entity features of Name 1 to use Name 1 as the name of drug A.
[0112] This step 301 illustrates a scenario in which a department is automatically recommended for a user after the user purchases a drug. The scenario in which the electronic device recommends a department for the user may further include other types. For example, the user may perform a department query operation on the electronic device to trigger a department query instruction, and the electronic device may also obtain a drug name or a drug approval number of at least one drug based on information about a drug entered by the user or in another manner. For example, the electronic device extracts consultation information of the user from a database, and extracts a drug name or a drug approval number of at least one drug from the consultation information. This is not limited in this embodiment of this application.
[0113] 302. The electronic device obtains identification information of the at least one drug according to the drug name or the drug approval number of the at least one drug.
[0114] After obtaining the information about the drug purchased by the user account, the electronic device may determine the drug based on the information, and further obtain identification information of the drug, to obtain an indication of the drug based on the identification information.
[0115] In some embodiments, the drug name or the drug approval number may be stored in correspondence with the identification information of the drug in a drug identification correspondence table, and in the drug identification correspondence table, the drug name and the drug approval number of each drug correspond to the identification information of the drug.
[0116] For example, the drug identification correspondence table may be in a form of a two-dimensional array table. For example, the drug identification correspondence table is shown in Table 1. Two drugs are used as an example. Identification information (ID) of a drug A is 1, and a drug approval number is Guo Yao Zhun Zi A00000000. Identification information (ID) of a drug B is 2, and a drug approval number is Guo Yao Zhun Zi B00000000. When obtaining drug names (the drug A and the drug B) of the drug A and the drug B, or obtaining drug approval numbers (Guo Yao Zhun Zi A00000000 and Guo Yao Zhun Zi B00000000) of the two drugs, the electronic device can determine, in Table 1, that identification information of the two drugs is 1 and 2 respectively.
[0117] Table 1
[0118] Drug identification information (ID) Drug Name Drug approval number 1 Drug A National Drug Approval Number A00000000 2 Drug B National Drug Approval Number B00000000
[0119] In some embodiments, the process of obtaining identification information may be configured to be based on the drug approval number. After obtaining the drug name, the electronic device needs to determine the drug approval number based on the drug name, and then determine the identification information based on the drug approval number. Specifically, in step 301 above, the electronic device can extract the drug name of at least one drug from the generated drug order, perform keyword extraction on the drug name of at least one drug, and obtain the drug approval number of at least one drug based on the extracted keywords. Correspondingly, in step 302, the electronic device can display the drug approval number of at least one drug, and in response to the confirmation operation of the drug approval number of at least one drug, obtain the identification information of at least one drug based on the drug approval number of at least one drug.
[0120] In these embodiments, keywords of the drug name are used to retrieve the drug approval number. The drug approval number can accurately identify the drug's identification information. Subsequently, the identification information of the drug has a corresponding relationship with the drug's indications and other drug information. Based on the correspondence, the drug's indications can be determined, and then the department to be visited can be determined.
[0121] Steps 301 and 302 above are processes for obtaining the identification information of at least one drug in response to a drug order generation instruction. In this process, the relevant information of the drug purchased by the user is analyzed, and the drug is accurately located through precise retrieval. This information is then used to analyze the drug's indications for departmental recommendations.
[0122] 303. The electronic device extracts at least one indication of the at least one drug from the drug information of the at least one drug based on the identification information of the at least one drug.
[0123] The drug information includes at least the drug's identification information and its indications. Both the drug's identification information and its indications are part of the drug's information. After the drug has been identified through steps 301 and 302 above, its indications can be determined from the drug information.
[0124] One drug may have one or more indications, meaning at least one. Different drugs may have overlapping indications, in which case at least one drug may have one or more indications, meaning at least one. When a patient purchases more than one drug, the indications listed on the purchased drugs can be used to identify the most likely disease the patient is diagnosed with.
[0125] In step 303, the electronic device extracts all indications for at least one drug as alternative indications, and then further analyzes them in step 304.
[0126] In some embodiments, the drug information can be the drug's instruction manual data. Specifically, the drug information can be stored in a structured manner, for example, by using a two-dimensional array table to structure the drug information, resulting in a drug information table. Information in the drug information table can then be directly read subsequently.
[0127] For example, this drug information table may include information from the drug identification correspondence table shown in Table 1 above. In addition to the drug identification information, the drug information may also include the drug's indications. The storage method for drug identification information and indications in this drug information table can be as shown in Table 2. In this table, the identification information for drug A and drug B is 1 and 2 respectively. The indications for drug A include indications S1, S2, and S3. The indications for drug B include indications S2 and S3.
[0128] Table 2
[0129] Drug identification information (ID) Indications 1 Indications S1 1 Indication S2 1 Indications S3 2 Indication S2 2 Indications S3
[0130] 304. The electronic device determines at least one target indication based on the number of times the at least one indication is extracted.
[0131] After the electronic device identifies the indication for at least one drug, it can analyze it to determine the target indication for identifying the department. Understandably, when retrieving the at least one indication, the more times an indication is retrieved—that is, if multiple drugs associated with a user account are used to treat the same indication—the more likely the user is to have that indication. Specifically, step 304 can include the following two scenarios.
[0132] Scenario 1: In response to the presence of a duplicated indication among the at least one indications, the electronic device determines the at least one indication that has been extracted the most times as the at least one target indication.
[0133] In this scenario, there are duplicate indications among the at least one indications. There may be one or more indications that have been extracted more than once, meaning that there are two or more drugs with overlapping indications. In this case, these indications are more likely to be the diseases that the user has.
[0134] In this scenario, depending on the number of times the indication is extracted, the following two scenarios may also be included.
[0135] Scenario A: The electronic device responds to multiple indications that are extracted most frequently, and identifies the multiple indications that are extracted most frequently as the target indication.
[0136] Scenario B: The electronic device responds to one of the indications that is retrieved most frequently, and determines that the indication retrieved most frequently as the target indication.
[0137] Scenario 2: If the number of times the at least one indication is extracted is 1, the electronic device determines that the at least one indication is the at least one target indication.
[0138] In scenario two, at least one drug has no overlapping indications; therefore, the electronic device can use all indications as the target indication.
[0139] The following is a specific example illustrating the process of determining the target indication. In this example, as shown in Table 2, the user has purchased medications A and B. It can be inferred that the patient may have symptoms S1, S2, and S3. S2 appears twice, indicating that two medications treat the same disease. S3 also appears twice, so S3 could also be the patient's condition. In other words, when the indications for the medications purchased by the patient overlap, the patient's condition can be considered the most frequently repeated condition. Therefore, the department with the most frequently repeated indications can be displayed to the user subsequently.
[0140] For example, in a specific example, such as Figure 4 As shown, the user purchased medicine 1, medicine 2, and medicine 3. The indications for these three medicines are as follows: Figure 4 As shown in Figures (a), (b), and (c), the indications for Drug 1 include indications A, B, C, D, and E; the indications for Drug 2 include indications A, B, and D; and the indications for Drug 3 include indications B, C, and D. When analyzing the indications for the three drugs, as shown in Figure (d), indications B and D are repeated the most frequently; therefore, these two are most likely the conditions for which patients require treatment.
[0141] Steps 303 to 304 above are the process of determining at least one target indication from the drug information of at least one drug based on the identification information of the at least one drug. By determining the indication of the drug, the indication that the user is most likely to need treatment is selected from it.
[0142] 305. The electronic device determines at least one department corresponding to the at least one target indication based on the at least one target indication and the correspondence between the indication and the department.
[0143] Electronic devices can store the correspondence between indications and departments. Based on this correspondence, the electronic device can determine the department for the target indication and recommend it as the department for the user account.
[0144] Typically, there's a many-to-one correspondence between indications and departments. One indication won't be treated in two different departments, and the number of departments is finite. Therefore, you only need to find the department that treats the target indication by working backwards from the diseases that the department can treat. Specifically, you can... Figure 5 As shown, when the target indication is determined to be indication B, it is known that department 1 can treat indications A, B, and C. By performing a reverse search, department 1 can be found as the department used to treat the target indication.
[0145] 306. The electronic device displays at least one department in the department display interface.
[0146] Once the electronic device identifies at least one department, it can display that department to the user, allowing the user to see which departments are recommended based on the medication.
[0147] It should be noted that the above description only uses steps 301 to 306 performed by the electronic device as an example. When the electronic device determines and displays the corresponding department, the specific details are shown in Table 3 below.
[0148] Table 3
[0149] Indication repeat count action Only one indication repeated multiple times Showing the departments corresponding to repeated indications Multiple indications repeated the same number of times Showing the departments corresponding to indications with the same number of repetitions No duplicate indications Showing all departments corresponding to the indications
[0150] In some embodiments, the terminal can send a drug order generation request to the server, and the electronic device executes steps 301 to 305 to determine at least one department and send it to the terminal for display. This application embodiment does not limit this. Figure 6 As shown, in steps 301 to 306 above, for the terminal, after the user purchases the medicine, the terminal can display recommended departments. The user 601 can operate on the terminal. This embodiment provides two methods for recommending departments to the user. In one method, after the user purchases the medicine 602, the recommended department can be determined according to steps 301 to 306 above, and then the terminal executes step 603 to display the recommended department. If determining the department through steps 301 to 306 fails, or if the user is not satisfied with the recommended department, step 604 can be executed to input the production approval number, and the recommended department can be determined based on the input production approval number, then step 603 to display the recommended department can be executed.
[0151] For example, the process of extracting indications described above can be implemented by retrieving data using Elasticsearch (ES), which includes the aforementioned drug information. Elasticsearch (ES) is a search server based on Lucene, used for fast data retrieval. Specifically, as... Figure 7As shown, patient 701 can purchase medicines or enter the production approval number on the electronic device. The electronic device can then obtain the medicine name / approval number 702 from the medicine order or the information entered by the user. The electronic device then retrieves data based on the ES database 703, and performs the step of extracting indications based on the medicine name / approval number 702 704. The electronic device then performs the step of matching the indications among the various medicines to obtain the maximum value (i.e., the maximum number of times it has been extracted) 705, thereby obtaining one or more indications 706. The electronic device can then perform the step of finding the department corresponding to the indication 707, and then perform the step of recommending the found department to the patient 708.
[0152] The number of the at least one department can be one or more. In some embodiments, if the number of the at least one department is multiple, the electronic device can also determine the display order of the multiple departments based on some factors, and display them according to the determined display order. Several possible factors are provided above, and the electronic device can determine the display order of the multiple departments based on one or any number of these factors.
[0153] Specifically, the electronic device can determine the display order of the at least one department based on at least one of the following: the number of times the indication corresponding to the at least one department is retrieved, the number of indications corresponding to the at least one department, the number of historical patients in the at least one department, or the number of appointments made in the at least one department. Then, the electronic device can display the at least one department in the department display interface according to the display order.
[0154] When determining the display order of departments, the number of times the corresponding indications for each department are retrieved can be considered. Understandably, if the number of times an indication is retrieved is high, it means that the user is more likely to have that indication, and the probability of recommending the corresponding department for that indication to the user is also higher. Displaying the department first is more likely to meet the user's expectations and make it easier for the user to find the corresponding department quickly and accurately.
[0155] Given the number of indications corresponding to at least one department, it is understandable that if the department can treat a large number of indications, then the possibility of the user having the same disease is relatively high. Displaying these indications first makes it easier to recommend suitable departments to the user, thus achieving a better department recommendation effect.
[0156] In some embodiments, the display order of a department can be positively correlated with its historical patient numbers. For example, the higher the historical patient numbers for any department, the higher its display order. Understandably, a larger historical patient number for a department indicates a larger number of people with the corresponding indication, and therefore, a higher probability that the user has the corresponding indication.
[0157] In some embodiments, the display order of a department may be negatively correlated with the number of appointments. For example, the higher the number of appointments for any department, the later it will be displayed. Understandably, if a department has a large number of appointments, recommending that department to a user might require the user to wait in line for a doctor in that department to become available. Therefore, departments with fewer appointments could be recommended to the user, allowing them to consult or receive treatment as quickly as possible.
[0158] In other embodiments, the display order of departments can be positively correlated with the number of appointments made. For example, the higher the number of appointments made for any department, the higher its display order. Understandably, a large number of appointments for a department indicates a higher likelihood that the user has the corresponding indication for that department, or that the doctors in that department are more qualified. Therefore, that department can be recommended to the user, achieving the goal of accurately recommending departments or recommending higher-quality departments.
[0159] The above provides several factors for determining the display order of departments. The electronic device can consider one of them to determine the display order, or it can consider any number of them at the same time to determine the display order. When considering multiple factors, each department can be scored based on multiple factors, and the display order can be determined based on the score. Of course, the above process can also consider other factors, such as the preset display order of the at least one department, or the number of doctors in the at least one department, etc. This application embodiment does not limit this.
[0160] In some embodiments, after recommending departments to users, online medical consultation services can also be provided. Specifically, in response to the selection of any department, the electronic device can display information on at least one doctor belonging to that department, and in response to the selection of any doctor's information, display a dialog interface for the doctor's account corresponding to that doctor's information.
[0161] For example, such as Figure 8As shown, the electronic device can display a medicine purchase interface 801. This interface 801 may include a medicine information display area 802 and a purchase control 803. The electronic device can display medicine information in the medicine information display area 802. If a user wants to purchase medicine, they can select from the displayed medicine information and then complete the payment by clicking the purchase control 803. After payment, the interface redirects to a department display interface 804. This department display interface 804 displays prompts, such as "Based on your purchased medicine, we recommend you consult the following departments online." This department display interface can also display at least one department 805 determined in step 305 above, for example, department A, department B, and department C. In this specific example, the three departments are displayed in the order of department A, department B, and department C. The display order of these three departments can be determined based on some factors mentioned in step 306 above. The user can then select a department. For example, if the user selects department A, the interface will redirect to the doctor information display interface 808, which displays information 809 on multiple doctors belonging to department A. This includes, for example, the doctor's title and the diseases the doctor specializes in. If the user selects any doctor's information 809, such as doctor A, the interface will redirect to a dialogue interface 810 with the doctor. In this dialogue interface 810, the user can communicate with doctor A.
[0162] In some embodiments, in addition to the department recommendation method described above, users can also manually select from all departments. Specifically, the electronic device can display a first control in the department display interface, which is used to indicate the selection of other departments besides the at least one department. In response to a triggering operation on the first control, a department list is displayed, which includes at least the other departments besides the at least one department. For example, such as Figure 8 As shown, the department display interface 804 can display a first control 806, which is set to "Consult other departments". If the user clicks the first control 806, the interface can jump to the department list interface 811, which displays a list of departments that can include all departments. The user can then select a department from this list, and the interface will then jump to the doctor information interface 808 to select a doctor for online consultation.
[0163] In some embodiments, the above process only illustrates the example of determining the target indication and at least one department based on the identification information of at least one drug. It is also possible that the determination based on the drug's identification information fails, meaning the recommended department cannot be successfully determined based on the drug order. In such cases, the electronic device can also provide another method for department recommendation, allowing the user to manually input relevant drug information to recommend a department. Specifically, the electronic device displays a second control on the department display interface. This second control is used to input the drug name or drug approval number. In response to triggering the second control, a drug input interface is displayed. Of course, this second control can also be displayed when department determination fails; the display conditions for this second control are not limited in this embodiment.
[0164] Users can enter the drug name or drug approval number in the drug entry interface. The electronic device then retrieves the drug name or drug approval number entered in the interface and, based on this, re-obtains the identification information of at least one drug corresponding to the user account. For example, Figure 8 As shown, a second control 807 can be displayed on the department display interface 804. This second control 807 can be set to "I want to manually enter medicine". When the user clicks on the second control 807, the interface will jump to the medicine entry interface 812. The medicine entry interface 812 displays an approval number entry box 813 and a confirmation control 814. The user can manually enter the approval number and click the confirmation control 814. In this way, the electronic device can re-determine the recommended department based on the entered approval number, and the interface will jump back to the department display interface 804. When recommending departments based on purchased medicines, it is possible that no recommended department can be identified. Therefore, the department display interface 804 may also display another prompt message: "Sorry, no suitable department was found. You can manually select a department using the button below; or manually enter the medicine and search again." Then, the first control 806 and the second control 807 are provided.
[0165] In some embodiments, the electronic device can also provide an online appointment service. Specifically, in response to the selection of any department, the electronic device can display the appointment information of that department and generate appointment information for the user account based on the department and the entered appointment information.
[0166] In a specific example, the present application utilizes existing basic drug information and drug interaction combined with an ES cooperation algorithm to quickly find a department where a patient needs or may need medical treatment according to the drugs purchased by the patient. The basic drug information used in the present application comes from drugs produced under the approval of the CFDA or information on imported drugs whose qualifications have been reviewed by the CFDA. The present invention accurately locates the drug purchased by the patient through the unique code "National Medicine Approval Number" of the drug approved by the CFDA, and combines the indications in the basic drug information with the algorithm of the present invention to find the common indications of the purchased drugs, determine what disease the drugs purchased by the patient treat, and thus find the department to be visited according to the symptoms.
[0167] The embodiments of the present application provide a method for recommending departments based on drug information. After purchasing a drug, the corresponding department can be automatically recommended for the user account according to the drug corresponding to the user account and the relationship between the drug, the indication and the department. In this process, only at least one drug corresponding to the user account needs to be determined, the indication of the drug can be automatically analyzed for the user account, and then the corresponding department can be determined according to the indication, so as to realize automatic recommendation of the department. This process completely does not rely on the user having medical common sense, nor does it require any manual participation, reduces manual costs, can efficiently, quickly and accurately realize department recommendation, and improves the efficiency of determining the department.
[0168] All the above optional technical solutions may be combined in any way to form optional embodiments of the present application, which will not be described in detail herein.
[0169] Figure 9 is a schematic structural diagram of a department display device provided in an embodiment of the present application, see Figure 9 , the device includes:
[0170] An acquisition module 901 is configured to, in response to a drug order generation instruction, acquire identification information of at least one drug according to the generated drug order.
[0171] A determining module 902 is configured to determine at least one target indication from the drug information of the at least one drug according to the identification information of the at least one drug, where the drug information at least includes the identification information of the drug and the indication of the drug.
[0172] The determining module 902 is further configured to determine at least one department corresponding to the at least one target indication according to the at least one target indication and the corresponding relationship between the indication and the department.
[0173] A display module 903 is configured to display the at least one department in a department display interface.
[0174] In some embodiments, the acquisition module 901 is used for:
[0175] Obtain the name or approval number of at least one drug from the generated drug order;
[0176] Obtain the identification information of the at least one drug based on its drug name or drug approval number.
[0177] In some embodiments, the acquisition module 901 is used to:
[0178] Extract the name of at least one drug from the generated drug order;
[0179] Keyword extraction is performed on the name of the at least one drug, and the drug approval number of the at least one drug is obtained based on the extracted keywords;
[0180] Display the drug approval number of at least one drug;
[0181] In response to the confirmation operation of the drug approval number of the at least one drug, the identification information of the at least one drug is obtained based on the drug approval number of the at least one drug.
[0182] In some embodiments, the acquisition module 901 is used to:
[0183] Obtain the candidate drug name for at least one drug corresponding to this user account;
[0184] For any candidate drug name, feature extraction is performed on the candidate drug name to obtain the entity features of the candidate drug name;
[0185] The entity feature is matched with the entity feature of the target drug name, and the matched target drug name is used as the drug name.
[0186] In some embodiments, the determining module 902 is configured to:
[0187] Based on the identification information of the at least one drug, extract at least one indication of the at least one drug from the drug information of the at least one drug;
[0188] At least one target indication is determined based on the number of times the at least one indication is extracted.
[0189] In some embodiments, the determining module 902 is configured to:
[0190] In response to the presence of a duplicate extracted indication among the at least one indication, the at least one indication that is extracted the most times is identified as the at least one target indication;
[0191] In response to the fact that the number of times the at least one indication is extracted is 1, the at least one indication is determined to be the at least one target indication.
[0192] In some embodiments, the display module 903 is used for:
[0193] The display order of the at least one department is determined based on at least one of the following: the number of times the corresponding indication for the at least one department is retrieved, the number of corresponding indications for the at least one department, the number of historical patients in the at least one department, or the number of appointments made in the at least one department.
[0194] In the department display interface, at least one department is displayed in the order shown.
[0195] In some embodiments, the display module 903 is further configured to:
[0196] In response to the selection of any department, display information on at least one doctor belonging to that department;
[0197] In response to the selection of any doctor's information, a dialog interface for the doctor's account corresponding to that doctor's information is displayed.
[0198] In some embodiments, the display module 903 is further configured to display a first control in the department display interface, the first control being configured to indicate the selection of other departments besides the at least one department;
[0199] In response to a triggering operation on the first control, a list of departments is displayed, which includes at least the other departments besides the first one.
[0200] In some embodiments, the display module 903 is further configured to:
[0201] The second control is displayed in the department display interface, or in response to the failure of department confirmation; the second control is used to enter the drug name or drug approval number.
[0202] In response to the triggering operation on the second control, the drug entry interface is displayed.
[0203] In some embodiments, the acquisition module 901 is further configured to:
[0204] Obtain the drug name or drug approval number entered in the drug entry interface;
[0205] Based on the drug name or drug approval number entered in the drug entry interface, the identification information of at least one drug corresponding to the user account is retrieved again.
[0206] In some embodiments, the display module 903 is further configured to:
[0207] In response to the selection of any department, display the appointment information for that department;
[0208] Based on the department and the appointment information filled in, appointment information is generated for this user account.
[0209] The device provided in this application embodiment can recommend departments based on drug information. After purchasing drugs, it can automatically recommend corresponding departments to user accounts based on the relationship between drugs, indications, and departments. In this process, it only needs to determine at least one drug corresponding to the user account to automatically analyze the drug's indications and then determine the corresponding department based on the indications. This achieves automated department recommendation. This process does not rely on the user having medical knowledge and does not require any human intervention, reducing labor costs and enabling efficient, fast, and accurate department recommendation, thus improving the efficiency of department determination.
[0210] It should be noted that the department display device provided in the above embodiments is only illustrated by the division of the above functional modules when displaying departments. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the department display device can be divided into different functional modules to complete all or part of the functions described above. In addition, the department display device and the department display method embodiments provided in the above embodiments belong to the same concept, and the specific implementation process can be found in the method embodiments, which will not be repeated here.
[0211] Figure 10 This is a schematic diagram of the structure of an electronic device 1000 provided in an embodiment of this application. The electronic device 1000 can vary considerably due to differences in configuration or performance. It can include one or more Central Processing Units (CPUs) 1001 and one or more memories 1002. The memory 1002 stores at least one computer program, which is loaded and executed by the processor 1001 to implement the department display method provided in the various method embodiments described above. The electronic device can also include other components for implementing device functions. For example, the electronic device can also have wired or wireless network interfaces and input / output interfaces for input and output. Further details are not elaborated upon in the embodiments of this application.
[0212] The electronic device in the above method embodiments can be implemented as a terminal. For example, Figure 11This is a structural block diagram of a terminal provided in an embodiment of this application. The terminal 1100 can be a portable mobile terminal, such as a smartphone, tablet computer, MP3 (Moving Picture Experts Group Audio Layer III) player, MP4 (Moving Picture Experts Group Audio Layer IV) player, laptop computer, or desktop computer. The terminal 1100 may also be referred to as user equipment, portable terminal, laptop terminal, desktop terminal, or other names.
[0213] Typically, terminal 1100 includes a processor 1101 and a memory 1102.
[0214] Processor 1101 may include one or more processing cores, such as a quad-core processor, an octa-core processor, etc. Processor 1101 may be implemented using at least one hardware form selected from DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). Processor 1101 may also include a main processor and a coprocessor. The main processor, also known as a CPU (Central Processing Unit), is used to process data in the wake-up state; the coprocessor is a low-power processor used to process data in the standby state. In some embodiments, processor 1101 may integrate a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the screen. In some embodiments, processor 1101 may also include an AI (Artificial Intelligence) processor, which is used to handle computational operations related to machine learning.
[0215] The memory 1102 may include one or more computer-readable storage media, which may be non-transitory. The memory 1102 may also include high-speed random access memory and non-volatile memory, such as one or more disk storage devices or flash memory devices. In some embodiments, the non-transitory computer-readable storage media in the memory 1102 are used to store at least one instruction, which is executed by the processor 1101 to implement the department display method provided in the method embodiments of this application.
[0216] In some embodiments, the terminal 1100 may also optionally include a peripheral device interface 1103 and at least one peripheral device. The processor 1101, memory 1102, and peripheral device interface 1103 can be connected via a bus or signal line. Each peripheral device can be connected to the peripheral device interface 1103 via a bus, signal line, or circuit board. Specifically, the peripheral device includes at least one of the following: a radio frequency circuit 1104, a display screen 1105, a camera assembly 1106, an audio circuit 1107, a positioning assembly 1108, and a power supply 1109.
[0217] Peripheral device interface 1103 can be used to connect at least one I / O (Input / Output) related peripheral device to processor 1101 and memory 1102. In some embodiments, processor 1101, memory 1102 and peripheral device interface 1103 are integrated on the same chip or circuit board; in some other embodiments, any one or two of processor 1101, memory 1102 and peripheral device interface 1103 can be implemented on separate chips or circuit boards, which is not limited in this embodiment.
[0218] The radio frequency (RF) circuit 1104 is used to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The RF circuit 1104 communicates with communication networks and other communication devices via electromagnetic signals. The RF circuit 1104 converts electrical signals into electromagnetic signals for transmission, or converts received electromagnetic signals back into electrical signals. Optionally, the RF circuit 1104 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a user identity module card, etc. The RF circuit 1104 can communicate with other terminals via at least one wireless communication protocol. This wireless communication protocol includes, but is not limited to: the World Wide Web, metropolitan area networks, intranets, various generations of mobile communication networks (2G, 3G, 4G, and 5G), wireless local area networks, and / or WiFi (Wireless Fidelity) networks. In some embodiments, the RF circuit 1104 may also include circuitry related to NFC (Near Field Communication), which is not limited in this application.
[0219] Display screen 1105 is used to display a UI (User Interface). This UI may include graphics, text, icons, videos, and any combination thereof. When display screen 1105 is a touch display screen, it also has the ability to collect touch signals on or above its surface. These touch signals can be input as control signals to processor 1101 for processing. In this case, display screen 1105 can also be used to provide virtual buttons and / or a virtual keyboard, also known as soft buttons and / or a soft keyboard. In some embodiments, there may be one display screen 1105, disposed on the front panel of terminal 1100; in other embodiments, there may be at least two display screens, disposed on different surfaces of terminal 1100 or in a folded design; in still other embodiments, display screen 1105 may be a flexible display screen, disposed on a curved or folded surface of terminal 1100. Furthermore, display screen 1105 may be configured as a non-rectangular, irregular shape, i.e., a non-rectangular screen. The display screen 1105 can be made of materials such as LCD (Liquid Crystal Display) and OLED (Organic Light-Emitting Diode).
[0220] The camera assembly 1106 is used to acquire images or videos. Optionally, the camera assembly 1106 includes a front-facing camera and a rear-facing camera. Typically, the front-facing camera is located on the front panel of the terminal, and the rear-facing camera is located on the back of the terminal. In some embodiments, there are at least two rear-facing cameras, which are any one of a main camera, a depth-sensing camera, a wide-angle camera, and a telephoto camera, to achieve background blurring by fusion of the main camera and the depth-sensing camera, panoramic shooting by fusion of the main camera and the wide-angle camera, VR (Virtual Reality) shooting, or other fusion shooting functions. In some embodiments, the camera assembly 1106 may also include a flash. The flash can be a single-color temperature flash or a dual-color temperature flash. A dual-color temperature flash refers to a combination of a warm-light flash and a cool-light flash, which can be used for light compensation at different color temperatures.
[0221] The audio circuit 1107 may include a microphone and a speaker. The microphone is used to collect sound waves from the user and the environment, converting the sound waves into electrical signals that are input to the processor 1101 for processing, or input to the radio frequency circuit 1104 for voice communication. For stereo sound acquisition or noise reduction purposes, multiple microphones may be used, each positioned at a different location on the terminal 1100. The microphone may also be an array microphone or an omnidirectional microphone. The speaker is used to convert electrical signals from the processor 1101 or the radio frequency circuit 1104 into sound waves. The speaker may be a conventional diaphragm speaker or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, it can convert electrical signals not only into audible sound waves but also into inaudible sound waves for purposes such as distance measurement. In some embodiments, the audio circuit 1107 may also include a headphone jack.
[0222] The positioning component 1108 is used to locate the current geographical location of the terminal 1100 in order to enable navigation or LBS (Location Based Service). The positioning component 1108 can be a positioning component based on the US GPS (Global Positioning System), China's BeiDou system, or Russia's Galileo system.
[0223] Power supply 1109 is used to power the various components in terminal 1100. Power supply 1109 can be AC power, DC power, a disposable battery, or a rechargeable battery. When power supply 1109 includes a rechargeable battery, the rechargeable battery can be a wired rechargeable battery or a wireless rechargeable battery. A wired rechargeable battery is a battery that is charged via a wired line, and a wireless rechargeable battery is a battery that is charged via a wireless coil. The rechargeable battery can also be used to support fast charging technology.
[0224] In some embodiments, the terminal 1100 further includes one or more sensors 1110. The one or more sensors 1110 include, but are not limited to: an accelerometer 1111, a gyroscope 1112, a pressure sensor 1113, a fingerprint sensor 1114, an optical sensor 1115, and a proximity sensor 1116.
[0225] Accelerometer 1111 can detect the magnitude of acceleration along the three axes of a coordinate system established with terminal 1100. For example, accelerometer 1111 can be used to detect the components of gravitational acceleration along the three axes. Processor 1101 can control display screen 1105 to display the user interface in either a landscape or portrait view based on the gravitational acceleration signal acquired by accelerometer 1111. Accelerometer 1111 can also be used for collecting game or user motion data.
[0226] The gyroscope sensor 1112 can detect the orientation and rotation angle of the terminal 1100. The gyroscope sensor 1112 can work in conjunction with the accelerometer sensor 1111 to collect the user's 3D movements on the terminal 1100. Based on the data collected by the gyroscope sensor 1112, the processor 1101 can perform the following functions: motion sensing (e.g., changing the UI based on the user's tilt), image stabilization during shooting, game control, and inertial navigation.
[0227] The pressure sensor 1113 can be disposed on the side bezel of the terminal 1100 and / or on the lower layer of the display screen 1105. When the pressure sensor 1113 is disposed on the side bezel of the terminal 1100, it can detect the user's grip signal on the terminal 1100, and the processor 1101 can perform left / right hand recognition or quick operation based on the grip signal collected by the pressure sensor 1113. When the pressure sensor 1113 is disposed on the lower layer of the display screen 1105, the processor 1101 can control the operable controls on the UI interface based on the user's pressure operation on the display screen 1105. The operable controls include at least one of button controls, scroll bar controls, icon controls, and menu controls.
[0228] The fingerprint sensor 1114 is used to collect the user's fingerprint. The processor 1101 identifies the user's identity based on the fingerprint collected by the fingerprint sensor 1114, or the fingerprint sensor 1114 identifies the user's identity based on the collected fingerprint. When the user's identity is identified as trusted, the processor 1101 authorizes the user to perform relevant sensitive operations, including unlocking the screen, viewing encrypted information, downloading software, making payments, and changing settings. The fingerprint sensor 1114 can be located on the front, back, or side of the terminal 1100. When the terminal 1100 has physical buttons or a manufacturer's logo, the fingerprint sensor 1114 can be integrated with the physical buttons or manufacturer's logo.
[0229] An optical sensor 1115 is used to collect ambient light intensity. In one embodiment, the processor 1101 can control the display brightness of the display screen 1105 based on the ambient light intensity collected by the optical sensor 1115. Specifically, when the ambient light intensity is high, the display brightness of the display screen 1105 is increased; when the ambient light intensity is low, the display brightness of the display screen 1105 is decreased. In another embodiment, the processor 1101 can also dynamically adjust the shooting parameters of the camera assembly 1106 based on the ambient light intensity collected by the optical sensor 1115.
[0230] The proximity sensor 1116, also known as a distance sensor, is typically mounted on the front panel of the terminal 1100. The proximity sensor 1116 is used to detect the distance between the user and the front of the terminal 1100. In one embodiment, when the proximity sensor 1116 detects that the distance between the user and the front of the terminal 1100 is gradually decreasing, the processor 1101 controls the display screen 1105 to switch from a screen-on state to a screen-off state; when the proximity sensor 1116 detects that the distance between the user and the front of the terminal 1100 is gradually increasing, the processor 1101 controls the display screen 1105 to switch from a screen-off state to a screen-on state.
[0231] Those skilled in the art will understand that Figure 11 The structure shown does not constitute a limitation on terminal 1100 and may include more or fewer components than shown, or combine certain components, or use different component arrangements.
[0232] The electronic device in the above method embodiments can be implemented as a server. For example, Figure 12 This is a schematic diagram of a server structure provided in an embodiment of this application. The server 1200 can vary significantly due to different configurations or performance. It can include one or more Central Processing Units (CPUs) 1201 and one or more memories 1202. The memories 1202 store at least one computer program, which is loaded and executed by the processor 1201 to implement the department display method provided in the various method embodiments described above. Of course, the server can also have wired or wireless network interfaces and input / output interfaces for input / output. The server can also include other components for implementing device functions, which will not be elaborated here.
[0233] In an exemplary embodiment, a computer-readable storage medium is also provided, such as a memory including at least one computer program, which is executable by a processor to perform the department display method in the above embodiments. For example, the computer-readable storage medium can be a read-only memory (ROM), a random access memory (RAM), a compact disc read-only memory (CD-ROM), magnetic tape, a floppy disk, and an optical data storage device, etc.
[0234] In an exemplary embodiment, a computer program product or computer program is also provided, comprising one or more computer programs stored in a computer-readable storage medium. One or more processors of an electronic device are capable of reading the one or more computer programs from the computer-readable storage medium, and the one or more processors execute the one or more computer programs, enabling the electronic device to perform the above-described department display method.
[0235] It should be understood that in the various embodiments of this application, the order of the above-mentioned processes does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.
[0236] It should be understood that determining B based on A does not mean determining B solely based on A; it also means determining B based on A and / or other information.
[0237] Those skilled in the art will understand that all or part of the steps of the above embodiments can be implemented by hardware or by a program instructing related hardware. The program can be stored in a computer-readable storage medium, such as a read-only memory, a disk, or an optical disk.
[0238] The above description is only an optional embodiment of this application and is not intended to limit this application. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the protection scope of this application.
Claims
1. A method for displaying department information, characterized in that, The method includes: In response to a drug order generation instruction, the system obtains identification information for at least one drug based on the generated drug order, wherein the drug order generation instruction is triggered by a drug purchase operation. Based on the identification information of the at least one drug, at least one indication of the at least one drug is extracted from the drug information of the at least one drug; based on the number of times the at least one indication is extracted, at least one target indication is determined, wherein the drug information includes at least the identification information of the drug and the indication of the drug; Based on the at least one target indication and the correspondence between the indication and the department, determine at least one department corresponding to the at least one target indication; The at least one department is displayed in the department display interface.
2. The method according to claim 1, characterized in that, The step of obtaining the identification information of at least one drug based on the generated drug order includes: Obtain the name or approval number of at least one drug from the generated drug order; Obtain the identification information of the at least one drug based on its drug name or drug approval number.
3. The method according to claim 2, characterized in that, The step of obtaining the name or approval number of at least one drug from the generated drug order includes: Extract the name of at least one drug from the generated drug order; Keyword extraction is performed on the drug name of the at least one drug, and the drug approval number of the at least one drug is obtained based on the extracted keywords; The step of obtaining the identification information of the at least one drug based on its drug name or drug approval number includes: Display the drug approval number of at least one of the drugs; In response to the confirmation operation of the drug approval number of the at least one drug, the identification information of the at least one drug is obtained based on the drug approval number of the at least one drug.
4. The method according to any one of claims 2-3, characterized in that, Obtaining the name of at least one drug includes: Obtain candidate drug names for at least one drug; For any candidate drug name, feature extraction is performed on the candidate drug name to obtain the entity features of the candidate drug name; The entity features are matched with the entity features of the target drug name, and the matched target drug name is used as the drug name of the drug.
5. The method according to claim 1, characterized in that, The step of determining at least one target indication based on the number of times the at least one indication is extracted includes: In response to the presence of a duplicate extracted indication among the at least one indication, the at least one indication that is extracted the most times is determined as the at least one target indication; In response to the fact that the number of times the at least one indication is extracted is 1, the at least one indication is determined to be the at least one target indication.
6. The method according to claim 1, characterized in that, The display of at least one department in the department display interface includes: The display order of the at least one department is determined based on at least one of the following: the number of times the corresponding indication for the at least one department is retrieved, the number of corresponding indications for the at least one department, the historical number of patients in the at least one department, or the number of patients who have made appointments in the at least one department. In the department display interface, at least one department is displayed in the specified display order.
7. The method according to claim 1, characterized in that, The method further includes: In response to the selection of any department, display information on at least one doctor belonging to said department; In response to the selection of any doctor's information, a dialog interface for the doctor's account corresponding to the selected doctor's information is displayed.
8. The method according to claim 1, characterized in that, The method further includes: In the department display interface, a first control is displayed, which is used to indicate the selection of other departments besides the at least one department; In response to a triggering operation on the first control, a list of departments is displayed, the list of departments including at least the other departments besides the at least one department.
9. The method according to claim 1, characterized in that, The method further includes: The second control is displayed in the department display interface, or in response to the failure of department confirmation; wherein, the second control is used to enter the drug name or drug approval number; In response to the triggering operation of the second control, the drug entry interface is displayed.
10. The method according to claim 9, characterized in that, The method further includes: Obtain the drug name or drug approval number entered in the drug entry interface; Based on the drug name or drug approval number entered in the drug entry interface, the identification information of the at least one drug is retrieved again.
11. The method according to claim 1, characterized in that, The method further includes: In response to the selection of any department, the appointment information for that department is displayed; Based on the department and the filled-in appointment information, appointment information is generated for the logged-in user account.
12. A department display device, characterized in that, The device includes: The acquisition module is used to respond to a drug order generation instruction and acquire the identification information of at least one drug based on the generated drug order, wherein the drug order generation instruction is triggered by a drug purchase operation; A determining module is configured to extract at least one indication of the at least one drug from the drug information of the at least one drug based on the identification information of the at least one drug; and determine at least one target indication based on the number of times the at least one indication is extracted, wherein the drug information includes at least the identification information of the drug and the indication of the drug; The determining module is further configured to determine at least one department corresponding to the at least one target indication based on the at least one target indication and the correspondence between the indication and the department; The display module is used to display the at least one department in the department display interface.
13. An electronic device, characterized in that, The electronic device includes one or more processors and one or more memories, wherein at least one computer program is stored in the one or more memories, and the at least one computer program is loaded and executed by the one or more processors to implement the department display method as described in any one of claims 1 to 11.
14. A computer-readable storage medium, characterized in that, The storage medium stores at least one computer program, which is loaded and executed by a processor to implement the department display method as described in any one of claims 1 to 11.
Citation Information
Patent Citations
Automatic generation method and device of drug indications
CN109273097A
Information recommendation method and terminal equipment
CN110866038A
