Prescription drug information storage method and system

By verifying and tracking the electronic prescription information of prescribed drugs and using wireless radio frequency electronic tags to record the drug flow process, the difficulties in drug traceability and supervision are solved, real-time monitoring and traceability of drug circulation are achieved, and the compliance and safety of drugs are ensured.

CN120072228APending Publication Date: 2025-05-30TIANJIN MEDICAL UNIVERSITY GENERAL HOSPITAL
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510141173.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-02-08
Publication Date
2025-05-30

AI Technical Summary

Technical Problem

The existing technology of traditional Chinese medicine information traceability system has the problem of data interconnection, which makes it difficult to trace and supervise drugs, and it is difficult for regulatory agencies to monitor the circulation of drugs in real time to ensure the compliance and safety of drugs.

Method used

By verifying the prescription drug information in the patient's electronic prescription, determining the corresponding wireless radio frequency electronic tags, storing the drug information and the identification information of the electronic tags, recording and tracking the process of the drug from production to use through the electronic tag, providing data to the regulators in real time and generating a traceability report.

Benefits of technology

Real-time monitoring and traceability of drug circulation is realized, the compliance and safety of drugs are ensured, the inflow of counterfeit and inferior drugs is reduced, and the accuracy and efficiency of drug management is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120072228A_ABST
    Figure CN120072228A_ABST
Patent Text Reader

Abstract

The invention discloses a prescription drug information storage method and system, and relates to the technical field of medical treatment, and the method comprises the steps: verifying the prescription information of prescription drugs included in an electronic prescription of a patient; determining a wireless radio frequency electronic tag corresponding to the prescription drug according to a verification result of the prescription information of the prescription drug; storing the medicine information of the prescription medicine and the identification information of the wireless radio frequency electronic tag corresponding to the prescription medicine; wherein the medicine information comprises a medicine name, a dosage, a usage and dosage, a batch number, a validity period, electronic prescription information and risk information; the process from production to use of the prescription medicine is recorded and tracked through the wireless radio frequency electronic tag; providing prescription drug circulation and use data for a supervision mechanism in real time, and generating a prescription drug tracing report; wherein the prescription drug tracing report is used for being audited by a supervision mechanism.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of medical technologies, and more particularly, to a method and system for storing prescription drug information. Background Art

[0002] Prescription drugs refer to those drugs that, in order to ensure the safety of drug use, are stipulated or approved by the national health administrative department, and are sold upon a prescription written by a physician or other medical professionals with the right to prescribe, and are used under the supervision or guidance of a physician, pharmacist or other medical professionals. Such drugs usually have potential physiological dependence and tolerance, or have special requirements for the method and time of drug use, and need to be used under the guidance of a doctor.

[0003] Due to the particularity of prescription drugs, the health administrative department has very strict supervision over such drugs. This requires that there must be clear records and tracking during the circulation and use of drugs to ensure the safety and compliance of drug use. Due to the problem of data interconnection and interoperability in the construction and promotion of the drug informatization traceability system in the prior art, it is necessary to further improve the drug traceability data exchange and sharing mechanism, making it currently difficult to trace and supervise drugs. It is difficult for regulatory agencies to monitor the circulation of drugs in real time to ensure the compliance and safety of drugs.

[0004] In view of the above problems, no effective solution has been proposed yet. Summary of the Invention

[0005] Embodiments of the present application provide a method and system for storing prescription drug information to solve the above technical problems.

[0006] The present application provides a method for storing prescription drug information, including: verifying the prescription information of the prescription drugs included in the electronic prescription of a patient; determining the radio frequency identification (RFID) electronic tag corresponding to the prescription drug according to the verification result of the prescription information of the prescription drug; storing the drug information of the prescription drug and the identification information of the RFID electronic tag corresponding to the prescription drug; wherein the drug information includes drug name, dosage, usage and dosage, production batch number, expiration date, electronic prescription information and risk information; recording and tracking the process of the prescription drug from production to use through the RFID electronic tag; providing the data on the circulation and use of the prescription drug to the regulatory agency in real time, and generating a prescription drug traceability report; wherein the prescription drug traceability report is used for review by the regulatory agency.

[0007] The present application provides a prescription drug information storage system, comprising: an electronic prescription verification module for verifying the prescription information of the prescription drugs included in the electronic prescription of a patient; an electronic tag generation module for determining a radio frequency identification (RFID) electronic tag corresponding to the prescription drug according to the verification result of the prescription information of the prescription drug; an information storage database for storing the drug information of the prescription drug and the identification information of the RFID electronic tag corresponding to the prescription drug; wherein the drug information includes drug name, dosage, usage and dosage, production batch number, expiration date, electronic prescription information and risk information; a drug traceability module for recording and tracking the process of the prescription drug from production to use through the RFID electronic tag; a supervision interface module for providing data on the circulation and use of the prescription drug to the supervision agency in real time and generating a prescription drug traceability report; wherein the prescription drug traceability report is used for review by the supervision agency.

[0008] Based on the embodiments provided in the present application, verify the prescription information of the prescription drugs included in the electronic prescription of a patient; determine the RFID electronic tag corresponding to the prescription drug according to the verification result of the prescription information of the prescription drug; store the drug information of the prescription drug and the identification information of the RFID electronic tag corresponding to the prescription drug; record and track the process of the prescription drug from production to use through the RFID electronic tag; provide data on the circulation and use of the prescription drug to the supervision agency in real time and generate a prescription drug traceability report; wherein the prescription drug traceability report is used for review by the supervision agency. Thus, the following is achieved: the electronic prescription verification module provides strong data support for the supervision agency, ensures the compliance of drug circulation, and enhances the supervision intensity; by tracking the source and destination of the prescription drug through the RFID electronic tag, the authenticity and legality of the prescription drug are ensured, and the inflow of counterfeit and shoddy drugs is avoided; the automatic identification and reading function of the RFID electronic tag reduces the errors and missed diagnoses of manual operations and improves the speed of classification and management of prescription drugs; data on the circulation and use of the prescription drug are provided to the supervision agency in real time, a traceability report is generated for review by the supervision agency, and the compliance of the prescription drug circulation is ensured; by tracking the prescription drug through the RFID electronic tag, medical accidents caused by prescription drug errors or omissions can be avoided. In summary, based on the embodiments provided in the present application, the accuracy, safety and efficiency of prescription drug management can be significantly improved, while strong data support is provided for the supervision agency to ensure the safety of patients' medication and promote the improvement of the quality of medical services. BRIEF DESCRIPTION OF THE DRAWINGS

[0009] The drawings described herein are used to provide a further understanding of the embodiments of the present invention, form a part of this application, and the illustrative embodiments and descriptions thereof are used to explain this application and do not constitute an improper limitation of this application. In the drawings:

[0010] Figure 1It is a flowchart of an optional method for storing prescription drug information according to an embodiment of the present application;

[0011] Figure 2 It is a structural diagram of an optional prescription drug information storage system according to an embodiment of the present application.

[0012] The realization of the purpose of the present invention, functional features and advantages will be further described in conjunction with embodiments with reference to the accompanying drawings. Specific embodiments

[0013] Next, the technical solutions in the embodiments of the present invention will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

[0014] Optionally, as Figure 1 shown, the present application provides a method for storing prescription drug information, including:

[0015] S101, verifying the prescription information of the prescription drugs included in the electronic prescription of the patient;

[0016] S102, determining the radio frequency identification (RFID) electronic tag corresponding to the prescription drug according to the verification result of the prescription information of the prescription drug;

[0017] S103, storing the drug information of the prescription drug and the identification information of the RFID electronic tag corresponding to the prescription drug; wherein, the drug information includes drug name, dosage, usage and dosage, production batch number, expiration date, electronic prescription information and risk information;

[0018] Among them, the risk information includes the potential physiological dependence and tolerance information of the drug;

[0019] S104, recording and tracking the process of the prescription drug from production to use through the RFID electronic tag;

[0020] S105, providing the data of the circulation and use of the prescription drug to the regulatory agency in real time and generating a prescription drug traceability report; wherein, the prescription drug traceability report is used for the regulatory agency to review.

[0021] Based on the embodiments provided in this application, verify the prescription information of the prescription drugs included in the electronic prescription of the patient; determine the radio frequency identification (RFID) electronic tag corresponding to the prescription drug according to the verification result of the prescription information of the prescription drug; store the drug information of the prescription drug and the identification information of the RFID electronic tag corresponding to the prescription drug; record and track the process of the prescription drug from production to use through the RFID electronic tag; provide the data on the circulation and use of the prescription drug to the regulatory agency in real time and generate a prescription drug traceability report; wherein, the prescription drug traceability report is used for the review by the regulatory agency. Thus, the following is achieved: The electronic prescription verification module can reduce the prescription error rate and reduce medical accidents caused by prescription errors through an automated verification process; the electronic prescription verification module can automatically verify the rationality and accuracy of the prescription, improving the efficiency of pharmacists' prescription review; the electronic prescription verification module provides strong data support for the regulatory agency, ensuring the compliance of drug circulation and enhancing the supervision intensity; tracking the source and destination of the prescription drug through the RFID electronic tag ensures the authenticity and legality of the prescription drug and prevents the inflow of counterfeit and shoddy drugs; the automatic identification and reading function of the RFID electronic tag reduces human operation errors and missed diagnoses, improving the speed of prescription drug classification and management; providing the data on the circulation and use of the prescription drug to the regulatory agency in real time and generating a traceability report for the review by the regulatory agency to ensure the compliance of prescription drug circulation; tracking the prescription drug through the RFID electronic tag can avoid medical accidents caused by prescription drug errors or omissions. In summary, based on the embodiments provided in this application, it is possible to significantly improve the accuracy, safety, and efficiency of prescription drug management, while providing strong data support for the regulatory agency to ensure the safety of patients' medication and promote the improvement of medical service quality.

[0022] Further, verifying the prescription information of the prescription drugs included in the electronic prescription of the patient includes:

[0023] Obtain the electronic prescription of the patient and the clinical data associated with the electronic prescription of the patient, and determine the usage conditions of the prescription drugs included in the electronic prescription according to the electronic prescription of the patient and the clinical data;

[0024] Evaluate the consistency between the patient's clinical data and the usage conditions of the prescription drugs included in the electronic prescription and generate a suitability score;

[0025] Judge the verification result of the prescription information of the prescription drugs included in the prescription according to the suitability score and the preset score threshold.

[0026] Further, providing the data on the circulation and use of the prescription drug to the regulatory agency in real time and generating a prescription drug traceability report includes:

[0027] Establish a blockchain-based network structure; among them, the blockchain-based network structure includes a prescription drug data synchronization and verification sub-module, a smart contract sub-module, and a data management sub-module;

[0028] In each link of the production, transportation, storage, sales, and use of prescription drugs, record the drug information of the prescription drugs and the identification information of the radio frequency electronic tags corresponding to the prescription drugs on the blockchain-based network structure;

[0029] Execute the verification and recording process of prescription drugs during the circulation process through the smart contract sub-module;

[0030] Synchronize the data of the verification and recording process of prescription drugs during the circulation process to the information storage database in real time;

[0031] Analyze the data synchronized to the information storage database, and extract key information and trends;

[0032] Generate a prescription drug traceability report based on the extracted key information and trends.

[0033] Optionally, as Figure 2 shown, this application provides a prescription drug information storage system, including:

[0034] An electronic prescription verification module 201, which is used to verify the prescription information of the prescription drugs included in the electronic prescription of the patient;

[0035] Among them, the electronic prescription information includes multiple of the following information: department, patient name, gender, age, clinical diagnosis, date, etc., name of the drug, dosage form, specification, quantity, usage, signatures of the doctor and pharmacist.

[0036] An electronic tag generation module 202, which is used to determine the radio frequency electronic tag corresponding to the prescription drug according to the verification result of the prescription information of the prescription drug;

[0037] An information storage database 203, which is used to store the drug information of the prescription drug and the identification information of the radio frequency electronic tag corresponding to the prescription drug; among them, the drug information includes drug name, dosage, usage and dosage, production batch number, expiration date, electronic prescription information, and risk information;

[0038] A drug traceability module 204, which is used to record and track the process of prescription drugs from production to use through radio frequency electronic tags;

[0039] A regulatory interface module 205, which is used to provide data on the circulation and use of prescription drugs to the regulatory agency in real time, and generate a prescription drug traceability report; among them, the prescription drug traceability report is used for the review of the regulatory agency.

[0040] Further, the electronic prescription verification module verifies the prescription information of the prescription drugs included in the patient's electronic prescription, including:

[0041] Obtain the patient's electronic prescription and the clinical data associated with the patient's electronic prescription, and determine the usage conditions of the prescription drugs included in the electronic prescription based on the patient's electronic prescription and clinical data;

[0042] Evaluate the consistency between the patient's clinical data and the usage conditions of the prescription drugs included in the electronic prescription, and generate a suitability score;

[0043] Based on the suitability score and the preset score threshold, judge the verification result of the prescription information of the prescription drugs included in the prescription;

[0044] Among them, evaluating the consistency between the patient's clinical data and the usage conditions of the prescription drugs included in the electronic prescription, and generating a suitability score, includes:

[0045] Collect historical clinical data and historical prescription information from the electronic health record system and the electronic prescription system; determine the key features for evaluation; among them, the key features include age, gender, medical history, drug interactions, and allergy history;

[0046] Determine the preset neighborhood size and the minimum number of samples within the preset neighborhood;

[0047] Use the density-based spatial clustering application with noise clustering algorithm to cluster the historical clinical data, and divide the similar historical clinical data into different clusters;

[0048] Among them, the density-based spatial clustering application with noise clustering algorithm, that is, Density-Based Spatial Clustering of Applications with Noise, abbreviated as BSCAN;

[0049] Based on the intra-cluster consistency score C score,k , construct reference feature vectors for different clusters respectively; among them, for the cluster C k in different clusters, calculate the intra-cluster consistency score C k corresponding to the cluster C score,k based on the following formula;

[0050]

[0051] Among them, |C k | is the number of data points P in the cluster C k ; the data point P is the historical clinical data within the cluster C k ; F P is the feature vector of the data point P in the cluster C k ; FD is a key feature for evaluation; d(F P , F D ) is the distance between the feature vector of data point P and the key feature for evaluation; D max is the threshold of the maximum distance between key features;

[0052] Using the maximum entropy model, determine the parameters of the ball tree model based on the constructed reference feature vectors;

[0053] Using the determined parameters of the ball tree model, construct and optimize the ball tree model;

[0054] Using the optimized ball tree model, evaluate the consistency between the patient's clinical data and the usage conditions of the prescribed drugs included in the e-prescription, and generate a suitability score;

[0055] According to the suitability score, adjust the preset neighborhood size, the minimum number of samples within the preset neighborhood, and the parameters of the ball tree model.

[0056] Furthermore, using the maximum entropy model, determine the parameters of the ball tree model based on the constructed reference feature vectors; using the determined parameters of the ball tree model, construct and optimize the ball tree model, including:

[0057] Using the maximum entropy model to determine the weights of each reference feature vector; among them, the entropy of the maximum entropy model is maximized by optimizing the weights of each reference feature vector;

[0058] According to the obtained weights of each reference feature vector, determine the parameters of the ball tree model; among them, the parameters of the ball tree model include the threshold for node division and the radius of the hypersphere; among them, the threshold for node division is determined based on the following formula:

[0059]

[0060] where τ k is the node division threshold of cluster C k ; |C k | is the number of data points P in cluster C k ; F P is the feature vector of data point P in cluster C k ; X center is the geometric center of the feature vectors of data points P in cluster C k ;

[0061] d(F P , X center ) is the distance between the feature vector of data point P and the geometric center; R max is the threshold of the maximum distance between the feature vectors of data points P in cluster C k ;

[0062] Construct a minimum hypersphere containing the training data points as the root node of the ball tree corresponding to the ball tree model; wherein, the training data points include historical clinical data and historical prescription information;

[0063] Take the data point in the training data points that is farthest from the root node as the first splitting point, and take the data point in the training data points that is farthest from the first splitting point as the second splitting point;

[0064] Take the data points in the training data points whose sum of distances is greater than the first preset distance threshold as the third splitting point; wherein, the sum of distances is the sum of the distance from the data point to the first splitting point and the distance from the data point to the second splitting point;

[0065] Take the data points in the training data points whose sum of distances is less than the second preset distance threshold as the fourth splitting point;

[0066] According to the distances from the data points in the training data points to the first splitting point, the second splitting point, the third splitting point and the fourth splitting point respectively, allocate the data points in the training data points to the nearest first splitting point, second splitting point, third splitting point or fourth splitting point, and obtain four reference subsets;

[0067] For each reference subset in the four reference subsets, construct a hierarchical ball tree structure in a recursive manner; wherein, each node in the hierarchical ball tree structure is a hypersphere.

[0068] Furthermore, determine the radius of the hypersphere based on the following formula:

[0069]

[0070] wherein, R k is the radius of the hypersphere in cluster C k ; |C k | is the number of data points P in cluster C k ; F P is the feature vector of data point P in cluster C k ; X center is the geometric center of the feature vectors of the data points in cluster C k ; d(F P ,X center ) is the distance between the feature vector of data point P and the geometric center; X far is the feature vector of the data point in cluster C k that is farthest from F P ; d(F P ,X far ) is the distance between the feature vector F P of data point P and the feature vector X k of the point farthest from the geometric center in cluster C farThe distance between.

[0071] Furthermore, the regulatory interface module provides the regulatory agency with data on the circulation and use of prescription drugs in real time and generates a prescription drug traceability report, including:

[0072] Establish a blockchain-based network structure; wherein, the blockchain-based network structure includes a prescription drug data synchronization and verification sub-module, a smart contract sub-module, and a data management sub-module;

[0073] At each link of the production, transportation, storage, sales, and use of prescription drugs, record the drug information of the prescription drug and the identification information of the radio frequency electronic tag corresponding to the prescription drug onto the blockchain-based network structure;

[0074] Execute the verification and recording process of prescription drugs during the circulation process through the smart contract sub-module;

[0075] Synchronize the data of the verification and recording process of prescription drugs during the circulation process to the information storage database in real time;

[0076] Analyze the data synchronized to the information storage database, and extract key information and trends;

[0077] Generate a prescription drug traceability report based on the extracted key information and trends. Specifically, an easy-to-understand traceability report can be provided, including charts, statistical data, etc., for the regulatory agency to analyze and make decisions; establish a feedback mechanism to collect the feedback of the regulatory agency on the traceability report and abnormal situations during the drug circulation process; according to the feedback and abnormal situations, adjust the blockchain network and database synchronization strategy, optimize the content and format of the drug traceability report, and improve the accuracy and response speed of the system.

[0078] Furthermore, the prescription drug information storage system further includes:

[0079] An auxiliary decision-making module, which is used to analyze the prescription characteristics of the prescription information of prescription drugs and the drug use trend characteristics of prescription drugs to assist medical institutions in making procurement decisions and inventory management of prescription drugs.

[0080] Furthermore, the information storage database includes a prescription permission management function; wherein, the prescription permission management function is used to restrict unauthorized access and modification of the prescription information of prescription drugs included in the electronic prescription of patients.

[0081] It should be noted that in this application, the embodiments implemented on the prescription drug information storage system side can be mutually referred to with the embodiments implemented on the prescription drug information storage method side, and this application will not elaborate one by one.

[0082] The above are only the preferred embodiments of the present invention, and do not limit the patent scope of the present invention accordingly. Any equivalent structure or equivalent process transformation made by using the content of the specification and drawings of the present invention, or directly or indirectly applied in other related technical fields, shall be similarly included in the patent protection scope of the present invention.

Claims

1. A method for storing prescription drug information, characterized in that: include: Verify prescription information for prescription drugs included in a patient's electronic prescription; Determining the radio frequency electronic tag corresponding to the prescription drug according to the verification result of the prescription information of the prescription drug; Storing drug information of the prescription drug and identification information of the radio frequency electronic tag corresponding to the prescription drug; wherein the drug information includes drug name, dosage, usage and dosage, production batch number, expiration date, electronic prescription information and risk information; Record and track the process of the prescription drug from production to use through the wireless radio frequency electronic tag; The data on the circulation and use of the prescription drugs are provided to the regulatory authorities in real time, and a prescription drug traceability report is generated; wherein the prescription drug traceability report is used for review by the regulatory authorities.

2. The method for storing prescription drug information according to claim 1, characterized in that: The prescription information of the prescription drugs included in the electronic prescription of the verified patient includes: Acquiring the electronic prescription of the patient and clinical data associated with the electronic prescription of the patient, and determining the use conditions of the prescription drugs included in the electronic prescription according to the electronic prescription of the patient and the clinical data; evaluating the consistency between the patient's clinical data and the conditions for use of the prescribed drug included in the electronic prescription and generating a suitability score; The verification result of the prescription information of the prescription drugs included in the prescription drugs is determined according to the suitability score and a preset score threshold.

3. The method for storing prescription drug information according to claim 1, characterized in that: The real-time provision of the data on the circulation and use of the prescription drugs to the regulatory authorities and the generation of a prescription drug traceability report includes: Establishing a blockchain-based network structure; wherein the blockchain-based network structure includes a prescription drug data synchronization verification submodule, a smart contract submodule, and a data management submodule; In each link of the production, transportation, storage, sale and use of the prescription drug, the drug information of the prescription drug and the identification information of the radio frequency electronic tag corresponding to the prescription drug are recorded on the blockchain-based network structure; Execute the verification and recording process of the prescription drug during the circulation process through the smart contract submodule; Synchronizing the data of the verification and recording process of the prescription drug during circulation to the information storage database in real time; Analyzing the data synchronized to the information storage database to extract key information and trends; Based on the extracted key information and trends, the prescription drug traceability report is generated.

4. A prescription drug information storage system, the system implementing the method according to claim 1, characterized in that: include: An electronic prescription verification module, used to verify prescription information of prescription drugs included in the patient's electronic prescription; An electronic tag generation module, used to determine the wireless radio frequency electronic tag corresponding to the prescription drug according to the verification result of the prescription information of the prescription drug; An information storage database, used to store drug information of the prescription drug and identification information of the radio frequency electronic tag corresponding to the prescription drug; wherein the drug information includes drug name, dosage, usage and dosage, production batch number, expiration date, electronic prescription information and risk information; A drug tracing module, used to record and track the process of the prescription drug from production to use through the wireless radio frequency electronic tag; The supervision interface module is used to provide the data on the circulation and use of the prescription drugs to the regulatory authorities in real time and generate a prescription drug traceability report; wherein the prescription drug traceability report is used for review by the regulatory authorities.

5. The prescription drug information storage system according to claim 4, characterized in that: The electronic prescription verification module verifies the prescription information of the prescription drug included in the patient's electronic prescription, including: Acquiring the electronic prescription of the patient and clinical data associated with the electronic prescription of the patient, and determining the use conditions of the prescription drugs included in the electronic prescription according to the electronic prescription of the patient and the clinical data; evaluating the consistency between the patient's clinical data and the conditions for use of the prescribed drug included in the electronic prescription and generating a suitability score; Determining a verification result of the prescription information of the prescription drugs included in the prescription drugs according to the suitability score and a preset score threshold; Wherein, the step of evaluating the consistency between the clinical data of the patient and the usage conditions of the prescription drug included in the electronic prescription and generating a suitability score includes: Collect historical clinical data and historical prescription information from electronic health record systems and electronic prescription systems; determine key characteristics for evaluation; wherein the key characteristics include age, gender, medical history, drug interactions, and allergy history; Determine a preset neighborhood size and a minimum number of samples within the preset neighborhood; Clustering the historical clinical data using a density-based spatial clustering algorithm with noise, and dividing similar historical clinical data into different clusters; Based on the intra-cluster consistency score C corresponding to different clusters score,k , construct reference feature vectors for different clusters respectively; among them, for clusters C in different clusters k , calculate cluster C k The corresponding intra-cluster consistency score C score,k ; Using the maximum entropy model, the parameters of the ball tree model are determined based on the constructed reference feature vector; Using the determined parameters of the ball tree model, constructing and optimizing the ball tree model; Using the optimized ball tree model, evaluating the consistency between the clinical data of the patient and the usage conditions of the prescription drug included in the electronic prescription, and generating a suitability score; According to the suitability score, the preset neighborhood size, the minimum number of samples in the preset neighborhood, and the parameters of the ball tree model are adjusted.

6. The prescription drug information storage system according to claim 5, characterized in that: The maximum entropy model is used to determine the parameters of the ball tree model based on the constructed reference feature vector; Using the determined parameters of the ball tree model, constructing and optimizing the ball tree model, including: Using the maximum entropy model to determine the weights of each reference feature vector; wherein the entropy of the maximum entropy model is maximized by optimizing the weights of each reference feature vector; Determining the parameters of the ball tree model according to the weights of the obtained reference feature vectors; wherein the parameters of the ball tree model include a threshold for node division and a radius of a hypersphere; Constructing a minimum hypersphere containing training data points as the root node of the ball tree corresponding to the ball tree model; wherein the training data points include the historical clinical data and the historical prescription information; The data point farthest from the root node among the training data points is used as a first segmentation point, and the data point farthest from the first segmentation point among the training data points is used as a second segmentation point; The data points whose distance sum is greater than the first preset distance threshold in the training data points are used as the third segmentation points; wherein the distance sum is the sum of the distance from the data point to the first segmentation point and the distance from the data point to the second segmentation point; Taking the data points whose distance among the training data points is less than the second preset distance threshold as the fourth segmentation points; According to the distances from the data points in the training data points to the first segmentation point, the second segmentation point, the third segmentation point and the fourth segmentation point respectively, the data points in the training data points are allocated to the first segmentation point, the second segmentation point, the third segmentation point or the fourth segmentation point which is closest to the data points in the training data points, and four reference subsets are obtained; For each of the four reference subsets, a hierarchical ball tree structure is constructed in a recursive manner; wherein each node in the hierarchical ball tree structure is a hypersphere.

7. The prescription drug information storage system according to claim 4, characterized in that: The regulatory interface module provides the regulatory agency with data on the circulation and use of the prescription drugs in real time and generates a prescription drug traceability report, including: Establishing a blockchain-based network structure; wherein the blockchain-based network structure includes a prescription drug data synchronization verification submodule, a smart contract submodule, and a data management submodule; In each link of the production, transportation, storage, sale and use of the prescription drug, the drug information of the prescription drug and the identification information of the wireless radio frequency electronic tag corresponding to the prescription drug are recorded in the blockchain-based network structure.

8. The prescription drug information storage system according to claim 7, characterized in that: The regulatory interface module provides the regulatory agency with data on the circulation and use of the prescription drugs in real time and generates a prescription drug traceability report, including: Execute the verification and recording process of the prescription drug during the circulation process through the smart contract submodule; Synchronizing the data of the verification and recording process of the prescription drug during circulation to the information storage database in real time; Analyzing the data synchronized to the information storage database to extract key information and trends; Based on the extracted key information and trends, the prescription drug traceability report is generated.

9. The prescription drug information storage system according to claim 4, characterized in that: The prescription drug information storage system further includes: The auxiliary decision-making module is used to analyze the prescription characteristics of the prescription information of the prescription drug and the drug usage trend characteristics of the prescription drug to assist the medical institution in making purchase decisions and inventory management of the prescription drug.

10. The prescription drug information storage system according to claim 4, characterized in that: The information storage database includes a prescription authority management function; wherein the prescription authority management function is used to restrict unauthorized access to and modification of prescription information of prescription drugs included in the patient's electronic prescription.