An electronic prescription real-time transfer system and transfer method
By designing a real-time electronic prescription circulation system and using multiple modules to work together, the inconvenience and privacy leakage problems in the process of purchasing prescriptions outside the hospital are solved, and an efficient and safe drug purchase process is achieved.
Patent Information
- Application Number
- CN202510245753.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-04
- Publication Date
- 2025-06-13
- Estimated Expiration
- 2045-03-04
AI Technical Summary
The existing technology of traditional Chinese medicine hospitals lacks systematic and scientific methods to purchase drugs outside prescriptions, which leads to inconvenience in the process of purchasing drugs, and the patient's diagnosis and treatment privacy information is easily leaked.
A real-time electronic prescription circulation system is designed, including a doctor terminal, a mobile terminal for taking medicine and a server terminal. Through the coordinated work of the scheduling processing module, analysis and navigation module and verification module, encrypted transmission of electronic prescriptions, pharmacy recommendation and drug purchase navigation.
It realizes the safe and efficient circulation of electronic prescriptions, improves the privacy and efficiency of the drug purchase process, solves the problems of drug inventory and out of stock, and provides systematic application of drug purchase.
Smart Images

Figure CN119763765B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to an electronic prescription real-time circulation system and a circulation method, belonging to the technical field of prescription circulation. Background Art
[0002] A prescription refers to a medical document issued by a registered practicing physician and a practicing assistant physician during a diagnosis and treatment activity for a patient, which is reviewed, dispensed, and verified by a pharmaceutical professional who has obtained the professional and technical position qualification of pharmacy. The prescription includes the medication order form for the inpatient department of a medical institution. A prescription is a written document for a doctor to prescribe medications for a patient and is the basis for a pharmacist to dispense medications.
[0003] In practical applications, some prescriptions require patients to go to a pharmacy outside the hospital to purchase medications. During this period, several aspects need to be considered. First, which pharmacies among many pharmacies have the medications prescribed on the prescription in stock; second, which pharmacy the patient specifically goes to to purchase medications; third, how to further handle the situation if the medications are out of stock during the patient's journey; fourth, when the patient goes to the pharmacy with a prescription to purchase medications, the patient's diagnosis and treatment privacy information will be leaked. Therefore, the existing method of purchasing medications with prescriptions outside the hospital lacks a systematic and scientific way of planning, and there are many inconveniences as mentioned above in actual implementation. Summary of the Invention
[0004] The technical problem to be solved by the present invention is to provide an electronic prescription real-time circulation system, which is designed modularly and cooperatively with communication to efficiently realize systematic medication purchase applications.
[0005] The present invention adopts the following technical solutions to solve the above technical problems: The present invention designs an electronic prescription real-time circulation system, including a doctor terminal, a medication pickup mobile terminal, and a server terminal. Among them, the server terminal includes a scheduling and processing module and an analysis and navigation module;
[0006] The doctor terminal is connected and communicates with the scheduling and processing module in the server terminal. The doctor terminal receives the target electronic prescription issued by the doctor, analyzes the pharmacies that have purchased the same medications as those in the target electronic prescription in the patient's historical other electronic prescriptions, extracts the information of the medication picker and the medication list in the target, combines them into a medication purchase information form, and creates a target electronic encrypted prescription. The medication purchase information form and the target electronic encrypted prescription are uploaded to the scheduling and processing module;
[0007] The scheduling and processing module in the server terminal is connected and communicates with the analysis and navigation module. The scheduling and processing module stores the target electronic encrypted prescription in an independent storage space, and at the same time sends the medication purchase information form to the analysis and navigation module;
[0008] The medicine collection mobile terminal is held by the medicine collector. The medicine collection mobile terminal is connected and communicates with the analysis and navigation module. The medicine collector sends his real-time positioning location to the analysis and navigation module through the medicine collection mobile terminal. The analysis and navigation module creates a recommended ranking based on distance priority, a recommended ranking based on economy priority, and a recommended ranking based on comprehensive priority for the networked pharmacies according to the real-time positioning location and the medicine purchase information form, and navigates the medicine collector to the target networked pharmacy according to the selection of the medicine collector through the medicine collection mobile terminal.
[0009] As a preferred technical solution of the present invention: it further includes pharmacy terminals respectively located in each preset networked pharmacy, and the server side further includes a verification module. The verification module is respectively connected and communicates with the analysis and navigation module, the medicine collection mobile terminal, and each pharmacy terminal; after the medicine collector arrives at the target networked pharmacy, the analysis and navigation module contacts the verification module, the medicine collection mobile terminal, and the pharmacy terminal of the target networked pharmacy, and combines the data encryption application for the medicine list to complete the purchase of the medicine list by the medicine collector.
[0010] Correspondingly, the technical problem to be solved by the present invention is to provide a transfer method for an electronic prescription real-time transfer system, which uses the network as a carrier for electronic prescription transfer, realizes information security design, and improves the privacy and efficiency of the medicine purchase process.
[0011] The present invention adopts the following technical solutions to solve the above technical problems: The present invention designs a transfer method for an electronic prescription real-time transfer system, which executes the following steps i to iv;
[0012] Step i. The doctor terminal receives the target electronic prescription with the medicine collector information issued by the doctor, analyzes the networked pharmacies for purchasing the same medicines in the historical other electronic prescriptions of the patient to whom the target electronic prescription belongs, extracts the medicine collector information and the medicine list in the target, combines them into a medicine purchase information form, and at the same time encrypts the target electronic prescription to obtain the target encrypted electronic prescription, and then uploads the medicine purchase information form and the target encrypted electronic prescription to the scheduling and processing module in the server side;
[0013] Step ii. The scheduling and processing module receives the medicine purchase information form and the target encrypted electronic prescription, stores the target encrypted electronic prescription using an independent storage space, and at the same time sends the medicine purchase information form to the analysis and navigation module in the server side;
[0014] Step iii. The medicine collection mobile terminal is logged in based on the medicine collector's medicine collector information, and triggers to send the real-time positioning location of the medicine collector to the analysis and navigation module in the server side;
[0015] Step iv. The analysis and navigation module in the server receives the real-time positioning location of the pharmacy pick-up person, triggers the purchase information list associated with the pick-up person's information, analyzes each networked pharmacy preset, contacts the pick-up person's pharmacy pick-up mobile terminal, creates a recommended ranking based on distance priority, a recommended ranking based on economy priority, and a recommended ranking based on comprehensive priority for the networked pharmacies, and based on the forwarding of the pick-up person's selection of each recommended ranking by the pick-up mobile terminal, navigates the pick-up person to the target networked pharmacy under the selected recommended ranking, then contacts the verification module in the server and the pharmacy terminal of the target networked pharmacy, and combines the data encryption application for the drug list to complete the purchase of the drug list in the purchase information list.
[0016] As a preferred technical solution of the present invention: in the step i, the doctor terminal receives the target electronic prescription with the pick-up person's information issued by the doctor, determines whether there is any other electronic prescription for the patient to whom the target electronic prescription belongs within a preset duration from the current time to the historical time direction, and whether the other electronic prescription contains the same drugs as those in the target electronic prescription. If so, the doctor terminal contacts the analysis and navigation module in the server to obtain the networked pharmacies for purchasing corresponding to the same drugs in the other electronic prescriptions as each pre-positioned pharmacy, extracts the pick-up person's information in the target electronic prescription, the drug list after removing the same drugs from the drug list, and the drugs in each pre-positioned pharmacy and their corresponding target electronic prescriptions, combines them into a purchase information list, and at the same time encrypts the target electronic prescription to obtain the target encrypted electronic prescription, and then uploads the purchase information list and the target encrypted electronic prescription to the scheduling and processing module in the server;
[0017] Otherwise, directly extract the pick-up person's information and the drug list in the target electronic prescription, combine them into a purchase information list, and at the same time encrypt the target electronic prescription to obtain the target encrypted electronic prescription, and then upload the purchase information list and the target encrypted electronic prescription to the scheduling and processing module in the server.
[0018] As a preferred technical solution of the present invention: in the step iii, based on the pick-up person logging in to the pick-up mobile terminal with the pick-up person's information, the pick-up mobile terminal triggers to send the real-time positioning location of the pick-up person and the preset weight combination of distance and economy under comprehensive priority to the analysis and navigation module in the server; in the step iv, the analysis and navigation module receives the real-time positioning location of the pick-up person and the preset weight combination of distance and economy under comprehensive priority, and triggers the execution of the following steps A to H;
[0019] Step A. The analysis and navigation module determines whether the drug list in the purchase information list is empty. If so, each pre-positioned pharmacy in the purchase information list is used as each target networked pharmacy, and the analysis and navigation module navigates the pick-up person to each target networked pharmacy in turn through communication interaction with the pick-up person's pick-up mobile terminal; otherwise, enter step B;
[0020] Step B. The analysis and navigation module determines, based on the set of pharmacies to be analyzed composed of all preset networked pharmacies, whether there is a single networked pharmacy in the set of pharmacies to be analyzed that has all the drug lists in the purchase information list associated with the pick-up person's information. If so, it defines the networked pharmacy that has all the drug lists in the purchase information list associated with the pick-up person's information as a type-a networked pharmacy to be recommended, deletes each type-a networked pharmacy to be recommended from the set of pharmacies to be analyzed, updates the set of pharmacies to be analyzed, and obtains the shortest distances from the real-time positioning location of the self-pick-up person to each type-a networked pharmacy to be recommended respectively, as well as the purchase prices at which the pick-up person completes all purchases in the purchase information list at each type-a networked pharmacy to be recommended respectively, and then proceeds to Step C; otherwise, it directly proceeds to Step C;
[0021] Step C. The analysis and navigation module determines whether there is a pharmacy combination composed of at least two networked pharmacies in the set of pharmacies to be analyzed that jointly have all the drug lists in the purchase information list associated with the pick-up person's information. If so, it defines the pharmacy combination that jointly has all the drug lists in the purchase information list associated with the pick-up person's information as a type-b networked pharmacy to be recommended, and for each type-b networked pharmacy to be recommended respectively, determines the corresponding part of the drug list in the purchase information list for each networked pharmacy in the type-b networked pharmacy to be recommended, obtains the shortest distances from the real-time positioning location of the self-pick-up person to each networked pharmacy in the type-b networked pharmacy to be recommended in sequence, as well as the total purchase price at which the pick-up person completes the corresponding part of the purchase in the purchase information list at each networked pharmacy in the type-b networked pharmacy to be recommended respectively, and then proceeds to Step D; otherwise, it feeds back to the pick-up person's pick-up mobile terminal that there is a current shortage of drugs;
[0022] Step D. The analysis and navigation module sorts each type-a networked pharmacy to be recommended and each type-b networked pharmacy to be recommended in ascending order of the corresponding shortest distance, forms a recommended ranking under distance priority, and uses the sequence numbers in the recommended ranking under distance priority as the distance scores of the corresponding networked pharmacies to be recommended; at the same time, the analysis and navigation module sorts each type-a networked pharmacy to be recommended and each type-b networked pharmacy to be recommended in ascending order of the corresponding purchase price, forms a recommended ranking under economy priority, and uses the sequence numbers in the recommended ranking under economy priority as the economic scores of the corresponding networked pharmacies to be recommended; then it proceeds to Step E;
[0023] Step E. The analysis and navigation module respectively weights the distance scores and economic scores of the networked pharmacies to be recommended for each type-a networked pharmacy to be recommended and each type-b networked pharmacy to be recommended according to the preset weight combination of distance and economy under comprehensive priority, obtains the comprehensive scores of the networked pharmacies to be recommended, and sorts each type-a networked pharmacy to be recommended and each type-b networked pharmacy to be recommended in ascending order of the comprehensive scores, forms a recommended ranking under comprehensive priority, and then proceeds to Step F;
[0024] Step F. The analysis and navigation module sends options of distance priority, economy priority, and comprehensive priority to the medicine pickup mobile terminal of the medicine picker, and receives the forwarding of the selection made by the medicine picker on the medicine pickup mobile terminal. Analyze the order of the selected recommended ranking of the first pharmacy to be recommended for network access. If the first pharmacy to be recommended for network access is a type-a pharmacy to be recommended for network access, that is, the first pharmacy to be recommended for network access is the target pharmacy for network access, then the analysis and navigation module, through communication and interaction with the medicine pickup mobile terminal of the medicine picker, navigates the medicine picker to the target pharmacy for network access. After performing Step H for the target pharmacy for network access, then enter Step G; if the first pharmacy to be recommended for network access is a type-b pharmacy to be recommended for network access, that is, each pharmacy for network access in the first pharmacy to be recommended for network access is each target pharmacy for network access, then the analysis and navigation module, through communication and interaction with the medicine pickup mobile terminal of the medicine picker, navigates the medicine picker to each target pharmacy for network access in turn. After performing Step H for each target pharmacy for network access respectively, then enter Step G;
[0025] Step G. The analysis and navigation module determines whether there is a pre-positioned pharmacy in the medicine purchase information form. If so, further use each pre-positioned pharmacy in the medicine purchase information form as each target pharmacy for network access. The analysis and navigation module, through communication and interaction with the medicine pickup mobile terminal of the medicine picker, navigates the medicine picker to each target pharmacy for network access in turn. After performing Step H for each target pharmacy for network access respectively; otherwise, the navigation of the analysis and navigation module ends;
[0026] Step H. The analysis and navigation module contacts the verification module, the medicine pickup mobile terminal, and the pharmacy terminal of the target pharmacy for network access to complete the purchase of part of the medicine list by the medicine picker.
[0027] As a preferred technical solution of the present invention: in the said Step F, if the forwarding of the feedback selection made by the medicine pickup mobile terminal of the medicine picker is distance priority or economy priority, then initialize n = 1, and the analysis and navigation module performs the following Steps F1-1 to F1-2;
[0028] Step F1-1. Analyze the nth pharmacy to be recommended for network access in the selected recommended ranking. If the nth pharmacy to be recommended for network access is a type-a pharmacy to be recommended for network access, that is, the nth pharmacy to be recommended for network access is the target pharmacy for network access, then the analysis and navigation module, through communication and interaction with the medicine pickup mobile terminal of the medicine picker, navigates the medicine picker to the target pharmacy for network access. Before the medicine picker arrives at the target pharmacy for network access to purchase all the medicine lists in the corresponding medicine purchase information form, if the medicine inventory of the target pharmacy for network access does not meet all the medicine lists in the medicine purchase information form, then enter Step F1-2; if the medicine inventory of the target pharmacy for network access meets all the medicine lists in the medicine purchase information form, then for the target pharmacy for network access, perform Step H and then enter Step G;
[0029] If the nth pharmacy to be recommended for network access in sequence is a type-b pharmacy to be recommended for network access, that is, each pharmacy to be recommended for network access in the nth pharmacy to be recommended for network access in sequence is each target pharmacy to be recommended for network access, then the analysis and navigation module, through communication and interaction with the medicine-taking mobile terminal of the medicine-taker, navigates the medicine-taker to each target pharmacy to be recommended for network access in sequence. Before the medicine-taker arrives at the first target pharmacy to be recommended for network access on the navigation route to purchase the corresponding part of the medicine list in the medicine purchase information form, if the medicine inventory of each target pharmacy to be recommended for network access does not meet all the medicine lists in the medicine purchase information form, then proceed to step F1-2; if the medicine inventory of each target pharmacy to be recommended for network access meets all the medicine lists in the medicine purchase information form, then after the medicine-taker arrives at the first target pharmacy to be recommended for network access on the navigation route and executes step H to complete the purchase of the corresponding part of the medicine list in the medicine purchase information form, the analysis and navigation module notifies each of the remaining target pharmacies to be recommended for network access to lock the medicine inventory of the corresponding part of the medicine list in their respective medicine purchase information forms, and the analysis and navigation module continues to navigate the medicine-taker to each of the remaining target pharmacies to be recommended for network access in sequence, and for each target pharmacy to be recommended for network access, execute step H respectively, and then proceed to step G;
[0030] Step F1-2. Determine whether n is greater than the number of pharmacies to be recommended for network access in the selected recommendation ranking. If so, feedback the current lack of medicine to the medicine-taking mobile terminal of the medicine-taker; otherwise, update n by adding 1, and return to step F1-1.
[0031] As a preferred technical solution of the present invention: in the above step F, if the forwarding feedback selected by the medicine-taking mobile terminal for the medicine-taker is comprehensive priority, then initialize m = 1, and the analysis and navigation module executes the following steps F2-1 to F2-4;
[0032] Step F2-1. Analyze the mth pharmacy to be recommended for network access in sequence in the recommendation ranking under comprehensive priority. If the mth pharmacy to be recommended for network access in sequence is a type-a pharmacy to be recommended for network access, that is, the mth pharmacy to be recommended for network access in sequence is the target pharmacy to be recommended for network access, then the analysis and navigation module, through communication and interaction with the medicine-taking mobile terminal of the medicine-taker, navigates the medicine-taker to the target pharmacy to be recommended for network access. Before the medicine-taker arrives at the target pharmacy to be recommended for network access to purchase all the medicine lists in the corresponding medicine purchase information form, if the medicine inventory of the target pharmacy to be recommended for network access does not meet all the medicine lists in the medicine purchase information form, then proceed to step F2-2; if the medicine inventory of the target pharmacy to be recommended for network access meets all the medicine lists in the medicine purchase information form, then for the target pharmacy to be recommended for network access, after executing step H, then proceed to step G;
[0033] If the m-th pharmacy to be recommended for network access in sequence is a type-b pharmacy to be recommended for network access, that is, each pharmacy to be recommended for network access in the m-th pharmacy to be recommended for network access in sequence is each target pharmacy to be recommended for network access, then the analysis and navigation module, through communication and interaction with the pharmacy-picking mobile terminal of the pharmacy picker, navigates the pharmacy picker to each target pharmacy to be recommended for network access in turn. Before the pharmacy picker arrives at the first target pharmacy to be recommended for network access on the navigation route to purchase the corresponding part of the drug list in the pharmacy purchase information form, if the drug inventory of each target pharmacy to be recommended for network access does not meet all the drug lists in the pharmacy purchase information form, then proceed to step F2-2; if the drug inventory of each target pharmacy to be recommended for network access meets all the drug lists in the pharmacy purchase information form, then after the pharmacy picker arrives at the first target pharmacy to be recommended for network access on the navigation route and executes step H to complete the purchase of the corresponding part of the drug list in the pharmacy purchase information form, the analysis and navigation module notifies each of the remaining target pharmacies to be recommended for network access to lock the drug inventory of the corresponding part of the drug list in their respective pharmacy purchase information forms, and the analysis and navigation module continues to navigate the pharmacy picker to each of the remaining target pharmacies to be recommended for network access in turn, and for each target pharmacy to be recommended for network access, execute step H respectively, and then proceed to step G;
[0034] Step F2-2. For the preset weight combination of distance and economy under comprehensive priority, increase the preset amount k for the economy weight to obtain a new economy weight, and decrease the preset amount k for the distance weight to obtain a new distance weight, and determine whether the new distance weight is less than or equal to 0. If so, the analysis and navigation module sends a suggestion to switch to economy priority to the pharmacy-picking mobile terminal of the pharmacy picker, and proceed to step F2-4; otherwise, proceed to step F2-3;
[0035] Step F2-3. The analysis and navigation module respectively weights the distance score and economy score of the pharmacy to be recommended for network access according to the new economy weight and new distance weight for each type-a pharmacy to be recommended for network access and each type-b pharmacy to be recommended for network access, obtains the comprehensive score of the pharmacy to be recommended for network access, sorts each type-a pharmacy to be recommended for network access and each type-b pharmacy to be recommended for network access in ascending order according to the comprehensive score, updates the recommendation ranking under comprehensive priority, initializes m = 1, and then returns to step F2-1;
[0036] Step F2-4. Based on receiving the forwarding of the selection of the pharmacy picker on the pharmacy-picking mobile terminal regarding the suggestion to switch to economy priority by the analysis and navigation module, if the selection is to agree to switch, then initialize n = 1 based on the recommendation ranking under economy priority, and proceed to step F1-1; if the selection is not to agree to switch, then feedback the current lack of drugs to the pharmacy-picking mobile terminal of the pharmacy picker.
[0037] As a preferred technical solution of the present invention: in step H, after the person picking up the medicine arrives at the target networked pharmacy from the real-time positioning location, the analysis and navigation module forwards the information of the person picking up the medicine and the medicine list part corresponding to the target networked pharmacy in the associated medicine purchase information form to the verification module. The verification module randomly generates a verification code with at least two digits preset, and uses the verification code to encrypt the received medicine list part corresponding to the target networked pharmacy to obtain an encrypted list, and associates the information of the person picking up the medicine and sends it to the pharmacy terminal of the target networked pharmacy. At the same time, the verification code is sent to the medicine-picking mobile terminal of the person picking up the medicine;
[0038] The person picking up the medicine tells the target networked pharmacy the verification code obtained through the medicine-picking mobile terminal. The pharmacy terminal of the target networked pharmacy uses the verification code to decrypt the encrypted list associated with the person picking up the medicine to obtain the corresponding medicine list part, so as to realize the purchase of the medicine list part by the person picking up the medicine.
[0039] As a preferred technical solution of the present invention: step I is further included in step iv as follows. After step G is executed in step iv, step I is entered;
[0040] Step I. After the person picking up the medicine completes the purchase of all the medicine lists in the associated medicine purchase information form at at least one target networked pharmacy determined by the analysis and navigation module, the scheduling and processing module retrieves the target electronic encrypted prescription associated with the person picking up the medicine from the independent storage space and sends it to the medicine-picking mobile terminal of the person picking up the medicine. The medicine-picking mobile terminal decrypts the target electronic encrypted prescription to obtain the target electronic prescription.
[0041] Compared with the prior art by adopting the above technical solutions, the transfer method of the electronic prescription real-time transfer system of the present invention has the following technical effects:
[0042] The transfer method of the electronic prescription real-time transfer system designed by the present invention issues a target electronic prescription by a doctor terminal, constructs a medicine purchase information form by means of data extraction, encrypts the target electronic prescription, and then transmits it to the server side through the network. After the person picking up the medicine logs in to the medicine-picking mobile terminal, the analysis and navigation module in the server side is triggered to analyze each preset networked pharmacy based on the real-time positioning location of the person picking up the medicine, with the medicine purchase information form as the target, considering whether a single networked pharmacy meets the situation of the medicine purchase information form and whether multiple networked pharmacies meet the situation of the medicine purchase information form, and creates a recommended ranking under economic priority for pharmacies, a recommended ranking under distance priority, and a recommended ranking under comprehensive priority; Finally, based on the feedback and selection of the person picking up the medicine forwarded by the medicine-picking mobile terminal, the analysis and navigation module navigates the person picking up the medicine to the target networked pharmacy to purchase medicine. While realizing information encryption protection, the present invention recommends pharmacy navigation from multiple dimensions, improving the privacy and efficiency of the prescription medicine purchase process;
[0043] In the transfer method of an electronic prescription real-time transfer system designed by the present invention, for the target electronic prescription issued by the doctor terminal, historical other electronic prescriptions within a similar time are further associated, and the networked pharmacies that purchase the same drugs are used as each pre-positioned pharmacy to ensure the purchase of the same drugs with the same specifications before and after, and to ensure the stability of drug use. Moreover, the analysis and navigation module conducts recommended sorting under economic priority for pharmacies, recommended sorting under distance priority, and recommended sorting under comprehensive priority, considers the out-of-stock situation of inventory on the way to the target networked pharmacy during actual application, and makes timely scheduling of new target networked pharmacies. Especially for the recommended sorting under comprehensive priority, the proportion of economic factors and distance factors under comprehensive priority is adjusted through economic weight and distance weight, and new target networked pharmacies are scheduled in real time, truly solving the problems in actual application and further improving the efficiency of prescription drug purchase. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] Figure 1 is the architecture diagram of the electronic prescription real-time transfer system designed by the present invention;
[0045] Figure 2 is the application flow chart of the electronic prescription real-time transfer method designed by the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0046] The following further describes in detail the specific embodiments of the present invention in conjunction with the accompanying drawings of the specification.
[0047] The present invention designs an electronic prescription real-time transfer system. In actual application, as Figure 1 shown, it includes a doctor terminal, a drug-taking mobile terminal, a server terminal, and pharmacy terminals respectively located in each preset networked pharmacy. Among them, the server terminal includes a scheduling and processing module, an analysis and navigation module, and a verification module.
[0048] The doctor terminal is connected and communicates with the scheduling and processing module in the server terminal. The doctor terminal receives the target electronic prescription issued by the doctor, analyzes the networked pharmacies that purchase the same drugs as those in the target electronic prescription in the historical other electronic prescriptions of the patient to whom the target electronic prescription belongs, extracts the information of the drug-taker and the drug list in the target, combines them into a drug purchase information form, and creates a target electronic encrypted prescription. The drug purchase information form and the target electronic encrypted prescription are uploaded to the scheduling and processing module.
[0049] The scheduling and processing module in the server terminal is connected and communicates with the analysis and navigation module. The scheduling and processing module stores the target electronic encrypted prescription in an independent storage space, and at the same time sends the drug purchase information form to the analysis and navigation module.
[0050] The medicine collection mobile terminal is held by the medicine collector. The medicine collection mobile terminal is connected and communicates with the analysis and navigation module. The medicine collector sends his real-time positioning location to the analysis and navigation module through the medicine collection mobile terminal. The analysis and navigation module creates a recommended ranking based on distance priority, a recommended ranking based on economy priority, and a recommended ranking based on comprehensive priority for the networked pharmacies according to the real-time positioning location and the medicine purchase information form, and navigates the medicine collector to the target networked pharmacy according to the selection of the medicine collector through the medicine collection mobile terminal.
[0051] The verification module is respectively connected and communicates with the analysis and navigation module, the medicine collection mobile terminal, and each pharmacy terminal; after the medicine collector arrives at the target networked pharmacy, the analysis and navigation module contacts the verification module, the medicine collection mobile terminal, and the pharmacy terminal of the target networked pharmacy, and combines the data encryption application for the medicine list to complete the purchase of the medicine list by the medicine collector.
[0052] Based on the above-designed real-time electronic prescription transfer system, the present invention further designs a real-time electronic prescription transfer method for realizing the full-process management of electronic prescriptions. In practical applications, as Figure 2 shown, the following steps i to iv are executed.
[0053] Step i. The doctor terminal receives the target electronic prescription with the medicine collector's information issued by the doctor, and judges whether there is any other electronic prescription for the patient to whom the target electronic prescription belongs within a preset time period from the current time to the historical time direction, and whether the other electronic prescription contains the same medicines as those in the target electronic prescription. If so, the doctor terminal contacts the analysis and navigation module in the server end to obtain the networked pharmacies for purchasing the same medicines corresponding to the other electronic prescriptions as each pre-positioned pharmacy, extracts the medicine collector's information in the target electronic prescription, the medicine list after removing the same medicines from the medicine list, and the medicines in each pre-positioned pharmacy corresponding to the target electronic prescription respectively, combines them into a medicine purchase information form, and encrypts the target electronic prescription at the same time to obtain the target electronic encrypted prescription, and then uploads the medicine purchase information form and the target electronic encrypted prescription to the scheduling and processing module in the server end; otherwise, directly extract the medicine collector's information and the medicine list in the target electronic prescription, combine them into a medicine purchase information form, encrypt the target electronic prescription at the same time to obtain the target electronic encrypted prescription, and then upload the medicine purchase information form and the target electronic encrypted prescription to the scheduling and processing module in the server end.
[0054] Step ii. The scheduling and processing module receives the medicine purchase information form and the target electronic encrypted prescription, stores the target electronic encrypted prescription using an independent storage space, and sends the medicine purchase information form to the analysis and navigation module in the server end.
[0055] Step iii. The medicine-taking mobile terminal is triggered to send the real-time positioning location of the medicine-taker and the preset weight combination of distance and economy under comprehensive priority of the medicine-taker to the analysis and navigation module in the server side based on the login of the medicine-taker with his / her medicine-taker information.
[0056] Step iv. The analysis and navigation module in the server side receives the real-time positioning location of the medicine-taker and the preset weight combination of distance and economy under comprehensive priority, as Figure 2 shown, and triggers the execution of the following steps A to H. For the medicine purchase information form associated with the medicine-taker information, analyze each preset network pharmacy, contact the medicine-taking mobile terminal of the medicine-taker, create a recommended ranking under distance priority, a recommended ranking under economy priority, and a recommended ranking under comprehensive priority for the network pharmacies, and based on the forwarding of the medicine-taker's selection of each recommended ranking by the medicine-taking mobile terminal, navigate the medicine-taker to the target network pharmacy under the selected recommended ranking, and then contact the verification module in the server side and the pharmacy terminal of the target network pharmacy, and complete the purchase of the medicine list in the medicine purchase information form in combination with the data encryption application for the medicine list.
[0057] Step A. The analysis and navigation module determines whether the medicine list in the medicine purchase information form is empty. If it is, each pre-positioned pharmacy in the medicine purchase information form is used as each target network pharmacy, and the analysis and navigation module navigates the medicine-taker to each target network pharmacy in turn through communication and interaction with the medicine-taking mobile terminal of the medicine-taker; otherwise, go to Step B.
[0058] Step B. Based on the set of pharmacies to be analyzed composed of all preset network pharmacies, the analysis and navigation module determines whether there is a single network pharmacy in the set of pharmacies to be analyzed that has all the medicine lists in the medicine purchase information form associated with the medicine-taker information. If so, define the network pharmacy that has all the medicine lists in the medicine purchase information form associated with the medicine-taker information as a type-a network pharmacy to be recommended, delete each type-a network pharmacy to be recommended from the set of pharmacies to be analyzed, update the set of pharmacies to be analyzed, and obtain the shortest distances from the real-time positioning location of the medicine-taker to each type-a network pharmacy to be recommended respectively, and the purchase prices for the medicine-taker to complete all purchases of the medicine purchase information form in each type-a network pharmacy to be recommended respectively, and then go to Step C; otherwise, directly go to Step C.
[0059] Step C. The analysis and navigation module determines whether there is a pharmacy combination composed of at least two networked pharmacies in the set of pharmacies to be analyzed that jointly own all the drug lists in the drug purchase information form associated with the pick-up person information. If so, the pharmacy combination that jointly owns all the drug lists in the drug purchase information form associated with the pick-up person information is defined as the type-b networked pharmacies to be recommended. For each type-b networked pharmacy to be recommended, determine the corresponding part of the drug list in the drug purchase information form for each networked pharmacy in the type-b networked pharmacies to be recommended, obtain the shortest path from the real-time positioning location of the self-pick-up person to each networked pharmacy in the type-b networked pharmacies to be recommended in turn, and the total purchase price of the pick-up person for purchasing the corresponding part of the drug purchase information form in each networked pharmacy in the type-b networked pharmacies to be recommended. Then enter Step D; otherwise, feedback the current drug shortage to the pick-up person's pick-up mobile terminal.
[0060] Step D. The analysis and navigation module sorts each type-a networked pharmacy to be recommended and each type-b networked pharmacy to be recommended in ascending order of the corresponding shortest path, forming a recommended ranking under distance priority, and using the sequence numbers in the recommended ranking under distance priority as the distance scores of the corresponding networked pharmacies to be recommended; at the same time, the analysis and navigation module sorts each type-a networked pharmacy to be recommended and each type-b networked pharmacy to be recommended in ascending order of the corresponding purchase price, forming a recommended ranking under economic priority, and using the sequence numbers in the recommended ranking under economic priority as the economic scores of the corresponding networked pharmacies to be recommended; then enter Step E.
[0061] Step E. The analysis and navigation module respectively weights the distance scores and economic scores of the networked pharmacies to be recommended for each type-a networked pharmacy to be recommended and each type-b networked pharmacy to be recommended according to the preset weight combination of distance and economy under comprehensive priority, obtains the comprehensive scores of the networked pharmacies to be recommended, and sorts each type-a networked pharmacy to be recommended and each type-b networked pharmacy to be recommended in ascending order of the comprehensive scores, forming a recommended ranking under comprehensive priority, and then enter Step F.
[0062] Step F. The analysis and navigation module sends options of distance priority, economy priority, and comprehensive priority to the drug pickup person's drug pickup mobile terminal, and receives the forwarding of the selection made by the drug pickup person by the drug pickup mobile terminal. Analyze the order of the selected recommended sorting for the first pharmacy to be recommended for network access. If the first pharmacy to be recommended for network access is a type-a pharmacy to be recommended for network access, that is, the first pharmacy to be recommended for network access is the target pharmacy for network access, then the analysis and navigation module, through communication and interaction with the drug pickup person's drug pickup mobile terminal, navigates the drug pickup person to the target pharmacy for network access. After performing step H for the target pharmacy for network access, then enter step G; if the first pharmacy to be recommended for network access is a type-b pharmacy to be recommended for network access, that is, each pharmacy for network access in the first pharmacy to be recommended for network access is each target pharmacy for network access, then the analysis and navigation module, through communication and interaction with the drug pickup person's drug pickup mobile terminal, navigates the drug pickup person to each target pharmacy for network access in sequence. After performing step H for each target pharmacy for network access respectively, then enter step G.
[0063] In the actual application of the above step F, if the forwarding of the feedback selection made by the drug pickup person by the drug pickup mobile terminal is distance priority or economy priority, then initialize n = 1, and the analysis and navigation module performs the following steps F1-1 to F1-2.
[0064] Step F1-1. Analyze the nth pharmacy to be recommended for network access in the selected recommended sorting. If the nth pharmacy to be recommended for network access is a type-a pharmacy to be recommended for network access, that is, the nth pharmacy to be recommended for network access is the target pharmacy for network access, then the analysis and navigation module, through communication and interaction with the drug pickup person's drug pickup mobile terminal, navigates the drug pickup person to the target pharmacy for network access. Before the drug pickup person arrives at the target pharmacy for network access to purchase all the drug lists in the corresponding drug purchase information form, if the drug inventory in the target pharmacy for network access does not meet all the drug lists in the drug purchase information form, then enter step F1-2; if the drug inventory in the target pharmacy for network access meets all the drug lists in the drug purchase information form, then for the target pharmacy for network access, perform step H and then enter step G.
[0065] If the nth pharmacy to be recommended for network access in sequence is a type-b pharmacy to be recommended for network access, that is, each pharmacy to be recommended for network access in the nth pharmacy to be recommended for network access in sequence is a target pharmacy to be recommended for network access, the analysis and navigation module, through communication and interaction with the medicine-taking mobile terminal of the medicine-taker, navigates the medicine-taker to each target pharmacy to be recommended for network access in sequence. Before the medicine-taker arrives at the 1st target pharmacy to be recommended for network access on the navigation route and purchases the corresponding part of the medicine list in the medicine purchase information form, if the medicine inventory in each target pharmacy to be recommended for network access does not meet all the medicine lists in the medicine purchase information form, go to step F1-2; if the medicine inventory in each target pharmacy to be recommended for network access meets all the medicine lists in the medicine purchase information form, after the medicine-taker arrives at the 1st target pharmacy to be recommended for network access on the navigation route and executes step H to complete the purchase of the corresponding part of the medicine list in the medicine purchase information form, the analysis and navigation module notifies the remaining target pharmacies to be recommended for network access to lock the medicine inventory of the corresponding part of the medicine list in their respective medicine purchase information forms, and the analysis and navigation module continues to navigate the medicine-taker to the remaining target pharmacies to be recommended for network access in sequence, and for each target pharmacy to be recommended for network access, execute step H respectively, and then go to step G.
[0066] Step F1-2. Judge whether n is greater than the number of pharmacies to be recommended for network access in the selected recommendation ranking. If it is, feedback the current lack of medicine to the medicine-taking mobile terminal of the medicine-taker; otherwise, update n by adding 1, and return to step F1-1.
[0067] In the actual application of the above step F, if the forwarding of the feedback selection by the medicine-taking mobile terminal to the medicine-taker is comprehensive priority, initialize m = 1, and the analysis and navigation module executes the following steps F2-1 to F2-4.
[0068] Step F2-1. Analyze the mth pharmacy to be recommended for network access in sequence in the recommendation ranking under comprehensive priority. If the mth pharmacy to be recommended for network access in sequence is a type-a pharmacy to be recommended for network access, that is, the mth pharmacy to be recommended for network access in sequence is a target pharmacy to be recommended for network access, the analysis and navigation module, through communication and interaction with the medicine-taking mobile terminal of the medicine-taker, navigates the medicine-taker to the target pharmacy to be recommended for network access. Before the medicine-taker arrives at the target pharmacy to be recommended for network access and purchases all the medicine lists in the medicine purchase information form, if the medicine inventory in the target pharmacy to be recommended for network access does not meet all the medicine lists in the medicine purchase information form, go to step F2-2; if the medicine inventory in the target pharmacy to be recommended for network access meets all the medicine lists in the medicine purchase information form, for the target pharmacy to be recommended for network access, after executing step H, then go to step G.
[0069] If the m-th pharmacy to be recommended for network access in sequence is a type-b pharmacy to be recommended for network access, that is, each pharmacy to be recommended for network access in the m-th pharmacy to be recommended for network access in sequence is each target pharmacy to be recommended for network access, then the analysis and navigation module, through communication and interaction with the medicine-taking mobile terminal of the medicine-taker, navigates the medicine-taker to each target pharmacy to be recommended for network access in sequence. Before the medicine-taker arrives at the 1st target pharmacy to be recommended for network access on the navigation route and purchases the corresponding part of the medicine list in the medicine purchase information form, if the medicine inventory in each target pharmacy to be recommended for network access does not meet all the medicine lists in the medicine purchase information form, then proceed to step F2-2; if the medicine inventory in each target pharmacy to be recommended for network access meets all the medicine lists in the medicine purchase information form, then after the medicine-taker arrives at the 1st target pharmacy to be recommended for network access on the navigation route and executes step H to complete the purchase of the corresponding part of the medicine list in the medicine purchase information form, the analysis and navigation module notifies each of the remaining target pharmacies to be recommended for network access to lock the medicine inventory of the corresponding part of the medicine list in its corresponding medicine purchase information form respectively, and the analysis and navigation module continues to navigate the medicine-taker to each of the remaining target pharmacies to be recommended for network access in sequence, and for each target pharmacy to be recommended for network access, execute step H respectively, and then proceed to step G.
[0070] Step F2-2. For the preset weight combination of distance and economy under comprehensive priority, increase the preset amount k for the economy weight to obtain a new economy weight, and decrease the preset amount k for the distance weight to obtain a new distance weight, and determine whether the new distance weight is less than or equal to 0. If so, the analysis and navigation module sends a suggestion to switch to economy priority to the medicine-taking mobile terminal of the medicine-taker, and proceed to step F2-4; otherwise, proceed to step F2-3.
[0071] Step F2-3. The analysis and navigation module respectively weights the distance score and economy score of the pharmacy to be recommended for network access according to the new economy weight and new distance weight for each type-a pharmacy to be recommended for network access and each type-b pharmacy to be recommended for network access, obtains the comprehensive score of the pharmacy to be recommended for network access, sorts each type-a pharmacy to be recommended for network access and each type-b pharmacy to be recommended for network access in ascending order according to the comprehensive score, updates the recommendation ranking under comprehensive priority, initializes m = 1, and then returns to step F2-1.
[0072] Step F2-4. Based on receiving the forwarding of the medicine-taking mobile terminal of the medicine-taker's selection of the suggestion to switch to economy priority, if the selection is to agree to switch, then initialize n = 1 based on the recommendation ranking under economy priority, and proceed to step F1-1; if the selection is not to agree to switch, then feedback the current lack of medicine to the medicine-taking mobile terminal of the medicine-taker.
[0073] Step G. The analysis and navigation module determines whether there is a pre - pharmacy in the drug purchase information form. If so, each pre - pharmacy in the drug purchase information form is further used as each target networked pharmacy. The analysis and navigation module, through communication and interaction with the pick - up person's drug pick - up mobile terminal, navigates the pick - up person to each target networked pharmacy in turn. After performing Step H for each target networked pharmacy respectively, it then enters Step I; otherwise, the navigation of the analysis and navigation module ends, and it then enters Step I.
[0074] Step H. After the pick - up person arrives at the target networked pharmacy from the real - time positioning location, the analysis and navigation module forwards the pick - up person information and the drug list part of the corresponding target networked pharmacy in the associated drug purchase information form to the verification module. The verification module randomly generates a verification code with at least two digits preset, and uses the verification code to encrypt the received drug list part of the corresponding target networked pharmacy to obtain an encrypted list, and sends it to the pharmacy terminal of the target networked pharmacy in association with the pick - up person information. At the same time, the verification code is sent to the pick - up person's drug pick - up mobile terminal; the pick - up person tells the verification code obtained through the drug pick - up mobile terminal to the target networked pharmacy, and the pharmacy terminal of the target networked pharmacy uses the verification code to decrypt the encrypted list associated with the pick - up person to obtain the corresponding drug list part, realizing the purchase of the drug list part by the pick - up person.
[0075] Step I. After the pick - up person completes the purchase of all drug lists in the associated drug purchase information form at at least one target networked pharmacy determined by the analysis and navigation module, the scheduling and processing module retrieves the target electronic encrypted prescription associated with the pick - up person from the independent storage space and sends it to the pick - up person's drug pick - up mobile terminal. The pick - up mobile terminal decrypts the target electronic encrypted prescription to obtain the target electronic prescription.
[0076] The designed electronic prescription real - time transfer system and transfer method of the present invention issue a target electronic prescription by a doctor terminal, construct a drug purchase information form in a data extraction manner, encrypt the target electronic prescription, and then transmit it to the server - side over the network. When the pick - up person logs in to the drug pick - up mobile terminal, it triggers the analysis and navigation module in the server - side. Based on the pick - up person's real - time positioning location, with the drug purchase information form as the target, it analyzes each preset networked pharmacy, considering whether a single networked pharmacy meets the drug purchase information form situation and whether multiple networked pharmacies meet the drug purchase information form situation, and creates a recommended ranking under economic priority for pharmacies, a recommended ranking under distance priority, and a recommended ranking under comprehensive priority; finally, based on the feedback and selection forwarded by the pick - up mobile terminal of the pick - up person, the analysis and navigation module navigates the pick - up person to the target networked pharmacy to purchase drugs. While realizing information encryption protection, the present invention recommends pharmacy navigation from multiple dimensions, improving the privacy and efficiency of the prescription drug purchase process.
[0077] In practical applications, for the target electronic prescription issued by the doctor terminal, historical other electronic prescriptions within a similar time are further contacted, and the networked pharmacies that purchase the same drugs are used as each pre-positioned pharmacy to ensure the purchase of the same drugs with the same specifications before and after, and to ensure the stability of drug use. Moreover, the analysis and navigation module recommends sorting under economic priority for pharmacies, sorting under distance priority, and sorting under comprehensive priority. Considering the out-of-stock situation of the inventory on the way to the target networked pharmacy in practical applications, a new target networked pharmacy is scheduled in a timely manner. Especially for the sorting under comprehensive priority, the proportion of economic factors and distance factors under comprehensive priority is adjusted through economic weight and distance weight, and a new target networked pharmacy is scheduled in real time to truly solve the problems in practical applications and further improve the efficiency of prescription drug purchase.
[0078] The embodiments of the present invention have been described in detail above in conjunction with the accompanying drawings. However, the present invention is not limited to the above embodiments, and various changes can be made without departing from the spirit of the present invention within the scope of knowledge possessed by those of ordinary skill in the art.
Claims
1. A circulation method of an electronic prescription real-time circulation system, used to achieve full-process management of electronic prescriptions, characterized by: The electronic prescription real-time circulation system includes a doctor terminal, a mobile terminal for picking up medicine, a server, and pharmacy terminals respectively located in each pre-set networked pharmacy, wherein the server includes a scheduling processing module, an analysis and navigation module, and a verification module; the circulation method performs the following steps i to iv; Step i. The doctor terminal receives the target electronic prescription with the drug pick-up information issued by the doctor, analyzes the history of other electronic prescriptions of the patient to which the target electronic prescription belongs, and the pharmacy that purchased the same drug as the target electronic prescription, and extracts the drug pick-up information and drug list from the target, and combines them into a drug purchase information sheet, and encrypts the target electronic prescription to obtain the target electronic encrypted prescription, and then uploads the drug purchase information sheet and the target electronic encrypted prescription to the scheduling processing module on the server side; Step ii. The scheduling processing module receives the purchase of drug information sheet and the target electronic encrypted prescription, and applies an independent storage space to store the target electronic encrypted prescription, and sends the purchase drug information sheet to the server-side analysis and navigation module; Step iii. The mobile terminal for taking medicines is based on the information of the person taking medicines, which logs in and triggers the analysis and navigation module on the server to send the real-time positioning position of the person taking medicines, and the preset weight combination of distance and economy under the comprehensive priority of the person taking medicines; Step iv. The analysis and navigation module in the server receives the real-time location of the person picking up medicines, triggers the medicine purchase information sheet associated with the information of the person picking up medicines, analyzes the preset network pharmacies, and contacts the mobile terminal of the person picking up medicines, considers that a single network pharmacy that has all the medicine lists in the medicine purchase information sheet associated with the information of the person picking up medicines constitutes a type of network pharmacy to be recommended, and a combination of pharmacies consisting of at least two network pharmacies that jointly own all the medicine lists in the medicine purchase information sheet associated with the information of the person picking up medicines constitutes a type of network pharmacy to be recommended, and constructs a recommended ranking under distance priority and a recommended ranking under economic priority, as well as a preset weight group combining distance and economy under comprehensive priority. Combined, construct a recommended ranking under comprehensive priority, and based on the forwarding of the selection of each recommended ranking by the drug pick-up mobile terminal to the drug pick-up person, navigate the drug pick-up person to the target network-connected pharmacy under the selected recommended ranking, and then contact the verification module in the server side and the pharmacy terminal of the target network-connected pharmacy, combined with the data encryption application for the drug list, complete the purchase of the drug list in the drug purchase information sheet; Among them, if the forwarding of the drug pick-up mobile terminal to the drug pick-up person's feedback selection is comprehensive priority, consider whether the target network-connected pharmacy reached meets all the drug lists in the drug purchase information sheet, and if not, adjust the weight combination of distance and economy to update the recommended ranking under comprehensive priority; In the above step iv, the analysis navigation module receives the real-time location of the person picking up the medicine, and the preset weight combination of distance and economy under comprehensive priority, triggering the execution of the following steps A to H; Step A. The analysis and navigation module determines whether the drug list in the drug purchase information sheet is empty. If so, each pre-pharmacy in the drug purchase information sheet is used as each target network pharmacy. The analysis and navigation module interacts with the drug pick-up mobile terminal of the drug pick-up person to navigate the drug pick-up person to each target network pharmacy in turn; otherwise, proceed to step B; Step B. The analysis and navigation module determines whether there is a single pharmacy in the pharmacy set to be analyzed that has all the drug lists in the drug purchase information sheet associated with the drug picker information based on the pharmacy set to be analyzed composed of all the preset pharmacies. If so, the pharmacy that has all the drug lists in the drug purchase information sheet associated with the drug picker information is defined as a Class A pharmacy to be recommended, and each Class A pharmacy to be recommended is deleted from the pharmacy set to be analyzed, the pharmacy set to be analyzed is updated, and the shortest distance from the real-time positioning position of the drug picker to each Class A pharmacy to be recommended is obtained, as well as the purchase price of all the purchases made by the drug picker in each Class A pharmacy to be recommended, and then the process proceeds to Step C; otherwise, the process proceeds directly to Step C; Step C. The analysis and navigation module determines whether there is a pharmacy combination consisting of at least two networked pharmacies in the pharmacy set to be analyzed that jointly owns the entire drug list in the drug purchase information sheet associated with the drug picker information. If so, the pharmacy combination that jointly owns the entire drug list in the drug purchase information sheet associated with the drug picker information is defined as a Class B networked pharmacy to be recommended, and for each Class B networked pharmacy to be recommended, determine the corresponding part of the drug list in the drug purchase information sheet corresponding to each networked pharmacy in the Class B networked pharmacy to be recommended, obtain the shortest distance from the real-time positioning position of the drug picker to navigate to each networked pharmacy in the Class B networked pharmacy to be recommended in sequence, and the purchase price of the drug picker completing the purchase of the corresponding part of the drug purchase information sheet in each networked pharmacy in the Class B networked pharmacy to be recommended, and then proceed to Step D; otherwise, feedback is fed back to the drug picker's mobile terminal that the drug is currently out of stock; Step D. The analysis and navigation module sorts the pharmacies of category a and category b according to the corresponding shortest distance from small to large, forming a recommended sorting under distance priority, and uses the sequence numbers in the recommended sorting under distance priority as the distance score of the corresponding pharmacy to be recommended; at the same time, the analysis and navigation module sorts the pharmacies of category a and category b according to the corresponding purchase price from small to large, forming a recommended sorting under economic priority, and uses the sequence numbers in the recommended sorting under economic priority as the economic score of the corresponding pharmacy to be recommended; then proceed to step E; Step E. The analysis and navigation module weights the distance score and economic score of each Class A pharmacy to be recommended and each Class B pharmacy to be recommended according to the preset weight combination of distance and economy under comprehensive priority, obtains the comprehensive score of the pharmacy to be recommended, and sorts each Class A pharmacy to be recommended and each Class B pharmacy to be recommended from small to large according to the comprehensive score, thus forming a recommended sorting under comprehensive priority, and then proceeds to step F; Step F. The analysis and navigation module sends the options of distance priority, economic priority, and comprehensive priority to the drug picker's mobile terminal, receives the forwarding of the drug picker's selection by the drug picker's mobile terminal, analyzes the first pharmacy to be recommended in the order of the selected recommendation, and if the first pharmacy to be recommended is a class a pharmacy to be recommended, that is, the first pharmacy to be recommended is the target pharmacy, then the analysis and navigation module navigates the drug picker to the target pharmacy through communication interaction with the drug picker's mobile terminal, and executes step H for the target pharmacy before entering step G; if the first pharmacy to be recommended is a class b pharmacy to be recommended, that is, each pharmacy in the first pharmacy to be recommended is a target pharmacy, then the analysis and navigation module navigates the drug picker to each target pharmacy in turn through communication interaction with the drug picker's mobile terminal, and executes step H for each target pharmacy before entering step G; Step G. The analysis and navigation module determines whether there is a pre-pharmacy in the drug purchase information sheet. If yes, each pre-pharmacy in the drug purchase information sheet is further used as each target network pharmacy. The analysis and navigation module interacts with the drug pick-up mobile terminal of the drug pick-up person to navigate the drug pick-up person to each target network pharmacy in turn, and executes step H for each target network pharmacy; otherwise, the navigation of the analysis and navigation module ends; Step H. After the person picking up medicine arrives at the target network-connected pharmacy from the real-time positioning location, the analysis and navigation module forwards the information of the person picking up medicine and the medicine list portion of the associated medicine purchase information sheet corresponding to the target network-connected pharmacy to the verification module, the verification module randomly generates a verification code of at least two digits preset, and uses the verification code to encrypt the received medicine list portion corresponding to the target network-connected pharmacy to obtain an encrypted list, and sends it to the pharmacy terminal of the target network-connected pharmacy in association with the information of the person picking up medicine, and at the same time sends the verification code to the medicine picking mobile terminal of the person picking up medicine; The person picking up medicines will inform the target network-connected pharmacy of the verification code obtained through the mobile terminal for picking up medicines. The pharmacy terminal of the target network-connected pharmacy will use the verification code to decrypt the encrypted list associated with the person picking up medicines, obtain the corresponding part of the drug list, and enable the person picking up medicines to purchase the part of the drug list.
2. The circulation method according to claim 1, characterized in that: In the step i, the doctor terminal receives a target electronic prescription with drug picker information issued by a doctor, and determines whether the patient to whom the target electronic prescription belongs has other electronic prescriptions within a preset time period from the current time to the historical time direction, and the other electronic prescriptions contain the same drugs as those in the target electronic prescription. If so, the doctor terminal contacts the analysis and navigation module in the server end to obtain the pharmacies purchased when the same drugs correspond to other electronic prescriptions as the respective front-end pharmacies, and extracts the drug picker information in the target electronic prescription, the drug list after removing the same drugs from the drug list, and the respective front-end pharmacies and the drugs in the target electronic prescription, and combines them into a drug purchase information sheet, and encrypts the target electronic prescription at the same time to obtain the target electronic encrypted prescription, and then uploads the drug purchase information sheet and the target electronic encrypted prescription to the scheduling processing module in the server end; Otherwise, directly extract the information of the person who takes the medicine and the list of medicines in the target electronic prescription, combine them into a medicine purchase information sheet, encrypt the target electronic prescription at the same time, obtain the target electronic encrypted prescription, and then upload the medicine purchase information sheet and the target electronic encrypted prescription to the scheduling processing module on the server side.
3. The circulation method according to claim 1, characterized in that: In the step F, if the mobile terminal for picking up medicine selects distance priority or economic priority for forwarding the feedback from the person picking up medicine, n=1 is initialized, and the analysis and navigation module executes the following steps F1-1 to F1-2; Step F1-1. Analyze the nth pharmacy to be recommended in the selected recommendation ranking. If the nth pharmacy to be recommended is a class a pharmacy to be recommended, that is, the nth pharmacy to be recommended is the target pharmacy, then the analysis navigation module navigates the drug picker to the target pharmacy through communication interaction with the drug picker's mobile terminal. Before the drug picker arrives at the target pharmacy to purchase all the drugs in the corresponding drug purchase information sheet, if the drug inventory of the target pharmacy does not meet the list of all drugs in the drug purchase information sheet, then enter step F1-2; if the drug inventory of the target pharmacy meets the list of all drugs in the drug purchase information sheet, then for the target pharmacy, after executing step H, enter step G; If the nth pharmacy to be recommended is a class B pharmacy to be recommended, that is, each pharmacy in the nth pharmacy to be recommended is a target pharmacy, then the analysis and navigation module navigates the drug picker to each target pharmacy in sequence through communication interaction with the drug picker's mobile terminal. Before the drug picker arrives at the first target pharmacy on the navigation route to purchase the corresponding part of the drug list in the corresponding drug purchase information sheet, if the drug inventory of each target pharmacy does not meet the full drug list in the drug purchase information sheet, then enter step F1- 2. If the drug inventory of each target network pharmacy meets the full list of drugs in the drug purchase information sheet, after the person picking up the drug arrives at the first target network pharmacy on the navigation route and executes step H to complete the purchase of the corresponding part of the drug list in the corresponding drug purchase information sheet, the analysis and navigation module notifies the remaining target network pharmacies to lock the drug inventory of the corresponding part of the drug list in the corresponding drug purchase information sheet, and the analysis and navigation module continues to navigate the person picking up the drug to the remaining target network pharmacies in turn, and executes step H for each target network pharmacy, and then enters step G; Step F1-2. Determine whether n is greater than the number of pharmacies to be recommended in the selected recommendation ranking. If so, feedback is given to the drug pick-up mobile terminal of the drug pick-up user that the drug is currently out of stock; otherwise, the value of n is increased by 1 and the process returns to step F1-1.
4. The circulation method according to claim 3, characterized in that: In the step F, if the mobile terminal for picking up medicine selects comprehensive priority for forwarding the feedback from the person picking up medicine, then m=1 is initialized, and the analysis and navigation module executes the following steps F2-1 to F2-4; Step F2-1. Analyze the mth pharmacy to be recommended in the recommendation ranking under comprehensive priority. If the mth pharmacy to be recommended is a class a pharmacy to be recommended, that is, the mth pharmacy to be recommended is the target pharmacy, then the analysis navigation module navigates the drug picker to the target pharmacy through communication interaction with the drug picker's mobile terminal. Before the drug picker arrives at the target pharmacy to purchase all the drugs in the corresponding drug purchase information sheet, if the drug inventory of the target pharmacy does not meet the list of all drugs in the drug purchase information sheet, then enter step F2-2; if the drug inventory of the target pharmacy meets the list of all drugs in the drug purchase information sheet, then for the target pharmacy, after executing step H, enter step G; If the mth pharmacy to be recommended is a class B pharmacy, that is, each pharmacy in the mth pharmacy to be recommended is a target pharmacy, then the analysis and navigation module navigates the drug picker to go to each target pharmacy in sequence through communication interaction with the drug picker's mobile terminal. Before the drug picker arrives at the first target pharmacy on the navigation route to purchase the corresponding part of the drug list in the corresponding drug purchase information sheet, if the drug inventory of each target pharmacy does not meet the full drug list in the drug purchase information sheet, then enter step F2-2; If the drug inventory of each target network pharmacy meets the full list of drugs in the drug purchase information sheet, after the person picking up the drug arrives at the first target network pharmacy on the navigation route and executes step H to complete the purchase of the corresponding part of the drug list in the corresponding drug purchase information sheet, the analysis and navigation module notifies the remaining target network pharmacies to respectively lock the drug inventory of the corresponding part of the drug list in the corresponding drug purchase information sheet, and the analysis and navigation module continues to navigate the person picking up the drug to the remaining target network pharmacies in turn, and executes step H for each target network pharmacy, and then proceeds to step G; Step F2-2. For the preset weight combination of distance and economy under comprehensive priority, the economic weight is increased by a preset amount k to obtain a new economic weight, and the distance weight is reduced by a preset amount k to obtain a new distance weight, and it is determined whether the new distance weight is less than or equal to 0. If so, the analysis navigation module sends a suggestion to switch to economic priority to the drug pick-up mobile terminal of the drug pick-up person, and enters step F2-4; otherwise, it enters step F2-3; Step F2-3. The analysis and navigation module weights the distance score and economic score of each Class A pharmacy to be recommended and each Class B pharmacy to be recommended, according to the new economic weight and the new distance weight, to obtain the comprehensive score of the pharmacy to be recommended, and sorts the Class A pharmacy to be recommended and the Class B pharmacy to be recommended from small to large according to the comprehensive score, updates the recommended sorting under comprehensive priority, and initializes m=1, and then returns to step F2-1; Step F2-4. The analysis navigation module forwards the choice of the person picking up medicines to switch to the economic priority suggestion based on the received mobile terminal. If the choice is to agree to switch, then based on the recommended sorting under economic priority, n=1 is initialized and step F1-1 is entered; if the choice is not to agree to switch, the current shortage of medicine is fed back to the mobile terminal of the person picking up medicines.
5. The circulation method according to claim 1, characterized in that: The step iv also includes step I as follows: after executing step G in step iv, proceed to step I; Step I. After the person picking up medicine completes the purchase of all the medicines in the medicine purchase information sheet associated with the person picking up medicine at at least one target networked pharmacy determined by the analysis and navigation module, the scheduling processing module retrieves the target electronic encrypted prescription associated with the person picking up medicine from the independent storage space and sends it to the person picking up medicine's mobile terminal, which decrypts the target electronic encrypted prescription to obtain the target electronic prescription.
Citation Information
Patent Citations
Electronic prescription circulation method, server and system
CN107958694A