CN117393102A - Electronic prescription traceability system based on block chain - Google Patents

Electronic prescription traceability system based on block chain Download PDF

Info

Publication number
CN117393102A
CN117393102A CN202311323572.9A CN202311323572A CN117393102A CN 117393102 A CN117393102 A CN 117393102A CN 202311323572 A CN202311323572 A CN 202311323572A CN 117393102 A CN117393102 A CN 117393102A
Authority
CN
China
Prior art keywords
prescription
module
medicine
blockchain
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311323572.9A
Other languages
Chinese (zh)
Inventor
何天斌
崔乔乔
刘旭钊
陈辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Vortex Chain Medical Technology Co ltd
Original Assignee
Shanghai Vortex Chain Medical Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Vortex Chain Medical Technology Co ltd filed Critical Shanghai Vortex Chain Medical Technology Co ltd
Priority to CN202311323572.9A priority Critical patent/CN117393102A/en
Publication of CN117393102A publication Critical patent/CN117393102A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16HHEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
    • G16H20/00ICT specially adapted for therapies or health-improving plans, e.g. for handling prescriptions, for steering therapy or for monitoring patient compliance
    • G16H20/10ICT specially adapted for therapies or health-improving plans, e.g. for handling prescriptions, for steering therapy or for monitoring patient compliance relating to drugs or medications, e.g. for ensuring correct administration to patients
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/602Providing cryptographic facilities or services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
    • G06F21/6245Protecting personal data, e.g. for financial or medical purposes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/64Protecting data integrity, e.g. using checksums, certificates or signatures

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Bioethics (AREA)
  • Computer Security & Cryptography (AREA)
  • Software Systems (AREA)
  • Databases & Information Systems (AREA)
  • Computer Hardware Design (AREA)
  • Medical Informatics (AREA)
  • Public Health (AREA)
  • Epidemiology (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Primary Health Care (AREA)
  • Chemical & Material Sciences (AREA)
  • Medicinal Chemistry (AREA)
  • Computing Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Medical Treatment And Welfare Office Work (AREA)

Abstract

The invention discloses a block chain-based electronic prescription traceability system, which comprises: sending an authorization request to a hospital or a medicine enterprise through a prescription-making module, calling medicine information stored in a blockchain platform after the verification is passed, making a prescription, and then verifying the prescription through a prescription-verifying module; if the prescription passes, entering a prescription allocation module; the prescription allocation module examines the complete information of the prescription to be allocated and allocates the prescription, if the complete information passes through the prescription allocation module, the prescription allocation module enters a checking prescription module; the checking prescription module checks the prescription content; if the medicine passes, the medicine enters a medicine dispensing module; the medicine dispensing module initiates an application for checking the prescription to the patient, and if the application passes, the medicine is dispensed to the hand of the patient according to the prescription content. The invention adopts distributed storage and sharing technology, ensures that prescription data is not tamperable and irreversible, and provides high transparency and traceability. The intelligent contract technology ensures data security and privacy protection. The invention solves the problem of difficult management of the electronic prescription system.

Description

Electronic prescription traceability system based on block chain
Technical Field
The invention belongs to the technical field of blockchain, and relates to a blockchain-based electronic prescription traceability system.
Background
Existing electronic prescription systems have bottlenecks in data security and compliance, such as: data privacy is poor: existing system information is easily stolen or tampered with by hackers or collected and used by third party institutions without the patient's personal authorization. Meanwhile, the safety and the integrity of data are difficult to ensure: most of the current electronic prescription systems are managed in a centralized manner, and data are stored in a centralized manner by a platform or a hospital, so that risks of data leakage and tampering exist, false electronic prescriptions are caused, and the medication effect of patients is seriously affected. In addition, electronic prescription systems and information are poorly accessible: most of the existing electronic prescription systems have no unified standard, each hospital or institution forms a pulse, the systems cannot be interconnected and communicated, and information cannot be shared, so that the data integration and analysis efficiency is reduced, patients cannot use the electronic prescription systems in multiple prescriptions, and the difficulty of patient consultation and medicine purchase is greatly improved. Finally, the problem of difficult prescription information tracing exists in the electronic prescription system, the centralization of the current electronic prescription system is serious, and the centralization structure also exists in the data management. The centralized structure easily causes that the information integrity is not guaranteed in the process of different nodes such as prescription information from the steps of issuing, auditing, allocating, rechecking, dispensing and the like, the accuracy of data recording is also difficult to ensure, and the superior departments or institutions face great difficulty in the supervision process; this can lead to numerous physician-patient disputes and social problems.
Disclosure of Invention
The invention aims to solve the problems of poor data privacy, difficult data security and integrity guarantee, poor system and information accessibility and difficult prescription information tracing of an electronic prescription system in the prior art, and provides a block chain-based electronic prescription tracing system.
In order to achieve the purpose, the invention is realized by adopting the following technical scheme:
a blockchain-based electronic prescription traceability system comprising: the system comprises a supervision module, an identity authentication module, a medicine input module, a blockchain platform, a prescription issuing module, a prescription checking module, a prescription allocation module, a prescription rechecking module and a medicine issuing module;
the identity authentication module is used for registering and authenticating the identity information of the user;
the medicine input module inputs medicine information from the inside of a medicine enterprise or a hospital and stores the medicine information to the blockchain platform;
the prescription issuing module is used for sending an authorization request to a hospital or a medicine enterprise, and invoking medicine information stored in the blockchain platform to issue a prescription after the hospital or the medicine enterprise passes the examination.
The checking prescription module is used for checking the prescription, and if the prescription does not pass, the prescription-making and prescription-making module is used for making and prescription-making again; if the prescription passes, entering a prescription allocation module;
the prescription allocation module is used for examining the complete information of the prescription to be allocated and allocating the prescription, and if the complete information does not pass, the prescription allocation module is called to check again; if the prescription passes, entering a checking prescription module;
the review prescription module is used for review of prescription contents, and if the prescription contents do not pass, the prescription allocation module is called for review again; if the medicine passes, the medicine enters a medicine dispensing module;
the medicine issuing module initiates an application for checking the prescription to the patient, and if the application passes, the medicine is distributed to the hands of the patient according to the prescription content;
the supervision module is responsible for electronic prescription data calibration and control data input; the supervision module monitors the identity authentication module, the medicine input module, the blockchain platform, the prescription issuing module, the prescription checking module, the prescription allocation module, the prescription rechecking module and the medicine issuing module in real time.
The invention further improves that:
further, the identity authentication module is used for registering and authenticating identity information of the user, and specifically comprises the following steps: when registering a user, the user invokes an authentication application program created based on a blockchain intelligent contract to generate a distributed key pair, wherein a public key is used as an identity identifier, and a private key is used as an identity control right; when a user logs in authentication and authorization, the authentication application program is used for operation, and the intelligent contract code is broadcasted among all nodes to realize cross-multi-node consensus; by comparing the public and private keys, all nodes will allow authorization operations when the public and private keys reach a consensus.
Further, the medicine input module inputs medicine information originated from the inside of a medicine enterprise or a hospital and stores the medicine information to the blockchain platform, specifically: before entering medicine information, a medicine enterprise or a hospital needs to carry out identity authentication through an authentication application program; after the authentication is passed, the drug information is hashed and encrypted, and the hash value is stored as a unique identifier of the drug information in the blockchain platform.
Further, the drug information includes name, home code, national drug standard, bar code, classification, packaging specification, registration specification, usage, whether to prescribe a drug, OTC grade, manufacturer, date of manufacture, shelf life, and instructions.
Further, the prescription making module is used for sending an authorization request to a hospital or a medicine enterprise, and after the hospital or the medicine enterprise passes the examination, the prescription making module calls medicine information stored in the blockchain platform to make a prescription, specifically: the doctor completes identity authentication and authorization through the identity authentication module, sends an authorization request to the hospital or the medicine enterprise, and waits for the examination and authorization of the hospital or the medicine enterprise; after the authorization is passed, the block chain authorization system generates a key and sends the key back to the block chain authentication system; the blockchain authentication system uses the secret key of the doctor to initiate a drug data request to the blockchain platform, and the result of the request returns encryption to the blockchain authentication system; the blockchain authentication system decrypts the drug data using the doctor's key and forwards the decrypted drug data to the doctor.
Further, the checking prescription module is used for checking the prescription, and if the prescription does not pass, the prescription-making and prescription-making module is used for making and prescription-making again; if the prescription passes, the prescription preparation module is entered, specifically: the method comprises the steps that an auditor doctor completes identity authentication and authorization through an identity authentication module, after receiving an auditor prescription application, the auditor doctor initiates an authorization application for reading and modifying prescription information to the doctor, and after the doctor passes authorization, a block chain authorization system generates a secret key and sends the secret key back to a block chain authentication system; the blockchain authentication system uses the secret key of the auditor doctor to initiate a drug data request to the blockchain platform, and the result of the request returns encryption to the blockchain authentication system; the blockchain authentication system decrypts the medicine data by using the key of the auditor doctor and forwards the decrypted medicine data to the auditor doctor; the auditor doctor audits the prescription information, and if the auditor passes the auditing, the auditor doctor enters a prescription allocation module to initiate an allocation demand application; if the verification is not passed, the prescription setting module is allocated to set the prescription again; the auditing information of the prescription by the auditing doctor and the complete information of the auditing doctor are stored on the blockchain platform.
Further, the prescription allocation module is used for checking the complete information of the prescription to be allocated and allocating the prescription, and if the complete information does not pass, the prescription allocation module is called to check again; if the prescription passes, entering a checking prescription module, specifically: the pharmacist completes identity authentication and authorization through the identity authentication module, the pharmacist initiates a deployment authorization application to the auditor doctor, and when the auditor doctor passes the authorization, the blockchain authorization system generates a key and sends the key back to the blockchain authentication system; the blockchain authentication system initiates a drug data request to the blockchain platform by using a key of a pharmacist, and the result of the request returns encryption to the blockchain authentication system; the blockchain authentication system decrypts the medicine data by using the key of the pharmacist and forwards the decrypted medicine data to the pharmacist; the pharmacist checks the complete information of the prescription and can allocate the prescription, and if the allocation fails, the prescription auditing module is called to audit again; if the prescription is blended, entering a checking prescription module; the audit information of the pharmacist on the prescription and the complete information of the pharmacist are stored on a blockchain platform.
Further, the checking prescription module is used for checking the prescription content, and if the prescription content does not pass, the prescription allocation module is called to check again; if the medicine passes, the medicine enters a medicine dispensing module, specifically: the rechecker completes identity authentication and authorization through the identity authentication module, and initiates a deployment authorization application to the pharmacist; when the pharmacist passes the authorization, the blockchain authorization system generates a key and sends the key back to the blockchain authentication system; the blockchain authentication system uses the key of the rechecker to initiate a drug data request to the blockchain platform, and the result of the request returns encryption to the blockchain authentication system; the blockchain authentication system decrypts the medicine data by using the key of the rechecker and forwards the decrypted medicine data to the rechecker; checking the prescription by a rechecker, and checking the prescription, and calling a prescription allocation module to check again if the rechecking is abnormal; if the medicine passes, the medicine enters a medicine dispensing module; the review information of the prescriptions by the rechecker and the complete information of the rechecker are stored on the blockchain platform.
Further, the medicine dispensing module initiates an application for checking the prescription to the patient, and if the application passes, the medicine is dispensed to the hand of the patient according to the prescription content, specifically: the pharmacy or pharmacy initiates an application for checking the prescription detailed information to the patient, and after the patient is authorized successfully, the pharmacy or pharmacy checks the prescription and compares the required medicines and the quantity in the prescription, and the medicines are split-packed and checked to finish the dispensing; the pharmacy or pharmacy will save the date of the drug out, the name of the drug, the lot number and number of the drug and pharmacy or pharmacy information and pharmacy personnel information to the blockchain platform.
Compared with the prior art, the invention has the following beneficial effects:
the invention registers and authenticates the identity information of the user through the identity authentication module; then sending an authorization request to a hospital or a medicine enterprise through a prescription-making module, calling medicine information stored in a blockchain platform after the verification is passed, making a prescription, verifying the prescription by the prescription-making module, and if the prescription is not passed, preparing the prescription-making module to make a prescription again; if the prescription passes, entering a prescription allocation module; the prescription allocation module examines the complete information of the prescription to be allocated and allocates the prescription, and if the complete information does not pass, the prescription allocation module calls an audit module to audit again; if the prescription passes, entering a checking prescription module; the prescription rechecking module rechecks the prescription content, and if the prescription content does not pass, the prescription allocation module is called to recheck again; if the medicine passes, the medicine enters a medicine dispensing module; the medicine dispensing module initiates an application for checking the prescription to the patient, and if the application passes, the medicine is dispensed to the hand of the patient according to the prescription content. The invention adopts distributed storage and sharing technology, ensures that prescription data is not tamperable and irreversible, and provides high transparency and traceability. The intelligent contract technology ensures data security and privacy protection. And by establishing standardized electronic documents such as electronic prescriptions and medical records, an electronic prescription traceability system is established, so that full-link traceability and multi-node verification are realized, and the credibility and the integrity of prescription data are improved. The invention effectively solves the problem of difficult management of the traditional electronic prescription system.
Drawings
For a clearer description of the technical solutions of the embodiments of the present invention, the drawings that are needed in the embodiments will be briefly described below, it being understood that the following drawings only illustrate some embodiments of the present invention and should not be considered as limiting the scope, and other related drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic diagram of a block chain-based electronic prescription traceability system;
FIG. 2 is a schematic diagram of a block chain based electronic prescription traceability system according to the present invention;
FIG. 3 is a schematic diagram of a block chain-based electronic prescription traceability system.
Wherein, 1-a supervision module; 2-an identity authentication module; 3-a medicine input module; 4-blockchain platform; 5-prescribing module; 6, checking a prescription module; 7, preparing a prescription module; 8-checking a prescription module; 9-drug delivery module.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments of the present invention. The components of the embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations.
Thus, the following detailed description of the embodiments of the invention, as presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
It should be noted that: like reference numerals and letters denote like items in the following figures, and thus once an item is defined in one figure, no further definition or explanation thereof is necessary in the following figures.
In the description of the embodiments of the present invention, it should be noted that, if the terms "upper," "lower," "horizontal," "inner," and the like indicate an azimuth or a positional relationship based on the azimuth or the positional relationship shown in the drawings, or the azimuth or the positional relationship in which the inventive product is conventionally put in use, it is merely for convenience of describing the present invention and simplifying the description, and does not indicate or imply that the apparatus or element to be referred to must have a specific azimuth, be configured and operated in a specific azimuth, and thus should not be construed as limiting the present invention. Furthermore, the terms "first," "second," and the like, are used merely to distinguish between descriptions and should not be construed as indicating or implying relative importance.
Furthermore, the term "horizontal" if present does not mean that the component is required to be absolutely horizontal, but may be slightly inclined. As "horizontal" merely means that its direction is more horizontal than "vertical", and does not mean that the structure must be perfectly horizontal, but may be slightly inclined.
In the description of the embodiments of the present invention, it should also be noted that, unless explicitly specified and limited otherwise, the terms "disposed," "mounted," "connected," and "connected" should be construed broadly, and may be, for example, fixedly connected, detachably connected, or integrally connected; can be mechanically or electrically connected; can be directly connected or indirectly connected through an intermediate medium, and can be communication between two elements. The specific meaning of the above terms in the present invention can be understood by those of ordinary skill in the art according to the specific circumstances.
The invention is described in further detail below with reference to the attached drawing figures:
referring to fig. 1, the invention discloses a blockchain-based electronic prescription traceability system, which comprises: the system comprises a supervision module 1, an identity authentication module 2, a medicine input module 3, a blockchain platform 4, a prescription issuing module 5, a prescription auditing module 6, a prescription allocation module 7, a prescription rechecking module 8 and a medicine issuing module 9;
the identity authentication module 2 is used for registering and authenticating identity information of a user;
the medicine input module 3 inputs medicine information from inside a medicine enterprise or a hospital and stores the medicine information to the blockchain platform 4;
the prescription making module 5 is used for sending an authorization request to a hospital or a medicine enterprise, and after the hospital or the medicine enterprise passes the examination, the medicine information stored in the blockchain platform 4 is called to make a prescription.
The checking prescription module 6 is used for checking the prescription, and if the prescription does not pass, the prescription-making and prescription-making module 5 is used for making and prescription-making again; if the prescription passes, entering a prescription allocation module 7;
the prescription allocation module 7 is used for checking the complete information of the prescription to be allocated and allocating the prescription, and if the complete information does not pass, the prescription allocation module 6 is called to check again; if the prescription passes, entering a checking prescription module 8;
the review prescription module 8 is used for review of prescription contents, and if the prescription contents do not pass, the prescription allocation module 7 is called for review again; if so, entering the medicine dispensing module 9;
the medicine dispensing module 9 initiates an application for checking the prescription to the patient, and if the application passes, the medicine is dispensed to the hands of the patient according to the prescription content;
the supervision module 1 is responsible for electronic prescription data calibration and control data entry; meanwhile, the supervision module 1 monitors the identity authentication module 2, the medicine input module 3, the blockchain platform 4, the prescription issuing module 5, the checking prescription module 6, the prescription allocation module 7, the checking prescription module 8 and the medicine issuing module 9 in real time.
The identity authentication module is used for registering and authenticating identity information of a user, and specifically comprises the following steps: when registering a user, the user invokes an authentication application program created based on a blockchain intelligent contract to generate a distributed key pair, wherein a public key is used as an identity identifier, and a private key is used as an identity control right; when a user logs in authentication and authorization, the authentication application program is used for operation, and the intelligent contract code is broadcasted among all nodes to realize cross-multi-node consensus; by comparing the public and private keys, all nodes will allow authorization operations when the public and private keys reach a consensus.
The medicine input module inputs medicine information originated from the inside of a medicine enterprise or a hospital and stores the medicine information to the blockchain platform, and specifically comprises the following steps: before entering medicine information, a medicine enterprise or a hospital needs to carry out identity authentication through an authentication application program; after the authentication is passed, the drug information is hashed and encrypted, and the hash value is stored as a unique identifier of the drug information in the blockchain platform 4. The drug information includes name, home code, national drug standard, bar code, classification, packaging specification, registration specification, usage, whether to prescribe drugs, OTC grade, manufacturer, date of manufacture, shelf life, and instructions.
The prescription issuing module is used for sending an authorization request to a hospital or a medicine enterprise, and invoking medicine information stored in the blockchain platform to issue a prescription after the hospital or the medicine enterprise passes the examination, and specifically comprises the following steps: the doctor completes identity authentication and authorization through the identity authentication module 2, sends an authorization request to the hospital or the medicine enterprise, and waits for the examination and authorization of the hospital or the medicine enterprise; after the authorization is passed, the block chain authorization system generates a key and sends the key back to the block chain authentication system; the blockchain authentication system uses the secret key of the doctor to initiate a drug data request to the blockchain platform 4, and the result of the request returns encryption to the blockchain authentication system; the blockchain authentication system decrypts the drug data using the doctor's key and forwards the decrypted drug data to the doctor.
The checking prescription module is used for checking the prescription, and if the prescription does not pass, the prescription-making and prescription-making module is used for making and prescription-making again; if the prescription passes, the prescription preparation module is entered, specifically: the method comprises the steps that an auditor doctor completes identity authentication and authorization through an identity authentication module 2, after receiving an auditor prescription application, the auditor doctor initiates an authorization application for reading and modifying prescription information to the doctor, and after the doctor passes authorization, a block chain authorization system generates a secret key and sends the secret key back to a block chain authentication system; the blockchain authentication system uses the secret key of the auditor doctor to initiate a drug data request to the blockchain platform 4, and the result of the request returns encryption to the blockchain authentication system; the blockchain authentication system decrypts the medicine data by using the key of the auditor doctor and forwards the decrypted medicine data to the auditor doctor; the auditor doctor audits the prescription information, and if the auditor passes the auditing, the auditor doctor enters the prescription allocation module 7 to initiate an allocation demand application; if the verification is not passed, the prescription making and issuing module 5 is used for making and issuing a prescription again; the audit information of the prescription by the auditor physician and the complete information of the auditor physician are stored on the blockchain platform 4.
The prescription allocation module is used for examining the complete information of the prescription to be allocated and allocating the prescription, and if the complete information does not pass, the prescription allocation module is called to check again; if the prescription passes, entering a checking prescription module, specifically: the pharmacist completes identity authentication and authorization through the identity authentication module 2, the pharmacist initiates a deployment authorization application to the auditor doctor, and when the auditor doctor passes the authorization, the blockchain authorization system generates a key and sends the key back to the blockchain authentication system; the blockchain authentication system initiates a drug data request to the blockchain platform 4 by using the key of a pharmacist, and the result of the request returns encryption to the blockchain authentication system; the blockchain authentication system decrypts the medicine data by using the key of the pharmacist and forwards the decrypted medicine data to the pharmacist; the pharmacist checks the complete information of the prescription and can allocate the prescription, and if the allocation fails, the prescription auditing module 6 is called to audit again; if the prescription passes, the prescription checking module 8 is entered; the information of the auditor of the prescription by the pharmacist and the complete information of the pharmacist are stored on the blockchain platform 4.
The review prescription module is used for review of prescription contents, and if the prescription contents do not pass, the prescription allocation module is called for review again; if the medicine passes, the medicine enters a medicine dispensing module, specifically: the rechecker completes identity authentication and authorization through the identity authentication module 2, and initiates a deployment authorization application to the pharmacist; when the pharmacist passes the authorization, the blockchain authorization system generates a key and sends the key back to the blockchain authentication system; the blockchain authentication system uses the key of the rechecker to initiate a drug data request to the blockchain platform 4, and the result of the request returns encryption to the blockchain authentication system; the blockchain authentication system decrypts the medicine data by using the key of the rechecker and forwards the decrypted medicine data to the rechecker; checking the prescription by a rechecker, and checking the prescription, and calling the prescription allocation module 7 to check again if the rechecking is abnormal; if so, entering the medicine dispensing module 9; the review information of the prescriptions by the rechecker and the complete information of the rechecker are stored on the blockchain platform 4.
The medicine issuing module initiates an application for checking the prescription to the patient, and if the application passes, the medicine is distributed to the hands of the patient according to the prescription content, specifically: the pharmacy or pharmacy initiates an application for checking the prescription detailed information to the patient, and after the patient is authorized successfully, the pharmacy or pharmacy checks the prescription and compares the required medicines and the quantity in the prescription, and the medicines are split-packed and checked to finish the dispensing; the pharmacy or pharmacy will save the date of the drug delivery, the name of the drug, the lot number and number of the drug and pharmacy or pharmacy information and pharmacy personnel information to the blockchain platform 4.
Examples:
referring to fig. 2 and fig. 3, based on the characteristics of decentralization, non-falsification of data and the like of a blockchain, the invention provides a blockchain-based electronic prescription traceability system, and the core ideas and technologies thereof are described as follows:
s1, a mechanism and personnel enter: the supervision mechanism nodes comprise health commission, a medicine supervision bureau, a medical insurance bureau, a market supervision bureau and the like, and are responsible for electronic prescription data calibration and control data input. The lower-level organization nodes comprise organizations such as hospitals, departments, pharmaceutical enterprises (hereinafter referred to as pharmaceutical enterprises), pharmaceutical shops and the like, participate in the life cycle data generation of electronic prescriptions and perfect the node information such as prescription issuing, auditing, allocation, rechecking, medicine dispensing and the like. Meanwhile, the system opens personnel roles of patients, doctors, pharmacists and the like, and conveniently manages prescription information through a visual interface and a data query interface.
S2: authentication authorization: in order to ensure the authenticity of the data, the system requires that all registration authorities and personnel have to perform digital identity registration. When registering a hospital, department, pharmacy, patient, doctor, pharmacist, the user invokes an authentication application created based on blockchain smart contracts to generate a distributed key pair, wherein the public key is used as an identity and the private key is used as an identity control right.
When the user logs in the authentication and authorization, the authentication application program is used for operation, and the intelligent contract code is broadcasted among all nodes, so that cross-multi-node consensus is realized. By comparing the public key with the private key, once consensus is reached, all nodes will allow authorized operation and the user can successfully log in the electronic prescription traceability system.
S3: drug entry: when a doctor prescribes a medicine for a patient, the doctor needs to input medicine information from the inside of a medicine enterprise or a hospital through a system. When the medicine enterprise or the hospital inputs medicine information, the medicine enterprise or the hospital should contain basic information of medicines (such as names, local codes, national standard code numbers, bar codes, classification, packaging specifications, registration specifications, usage amount, whether to prescribe medicines, OTC grades, manufacturers, production dates, shelf lives, specifications and the like) and ensure that medicine data are real, complete and effective.
Before the drug information form is submitted, the operation object needs to be authenticated by the authentication application program (the authentication authorization flow is consistent with the S2 stage flow). After passing the authentication, the medicine data can be hashed and encrypted, so that the safety and privacy of the data are ensured. The hash value is saved as a unique identifier of the data on the blockchain.
When the medicine information is input into the blockchain platform 4, the medicine information can be verified and stored through intelligent contracts, and the non-tamper property and the safety of the medicine data are guaranteed.
S4, prescribing by doctors: when a doctor uses a doctor-patient relationship program to prescribe a patient, the doctor needs to log in an authentication application program to complete identity authentication and authorization (the authentication and authorization flow is consistent with the S2 phase flow), so that the credibility and the safety of the prescription are ensured. When a doctor selects a medicine of a hospital or a medicine enterprise, the doctor needs to send an authorization request and wait for the hospital or the medicine enterprise to agree with the authorization, and after the authorization is passed, the blockchain authentication and authorization system can generate a group of keys for subsequent data access encryption and decryption.
When the hospital or the medicine enterprise receives the authorization request, the hospital or the medicine enterprise needs to carry out auditing and authorization operations and sends the generated secret key back to the authentication system. The authentication system then initiates a data request to the blockchain using the doctor's key, the result of the request returning the encryption to the authentication system. The authentication system decrypts the data using the doctor's key and forwards the decrypted data to the doctor.
The doctor obtains the medicine and adds the medicine into the electronic prescription, the doctor-patient relationship program hashes and encrypts the prescription data when submitting the data, the hashed value can be stored on the blockchain as a unique identifier of the data, and meanwhile, the data stored on the blockchain also comprises the complete information of the doctor (name, mobile phone number, identity card, registration time, login time and the like), the complete data of the patient (name, sex, mobile phone number, address, identity card and the like) and the related information of the medicine (S3, the complete information of the medicine residing on the blockchain). To ensure the integrity of the data.
S5, checking the prescription: after the doctor finishes the prescription, the doctor can initiate a prescription auditing application, and the auditing doctor needs to log in the electronic prescription tracing system when auditing the prescription. The identity authentication and authorization are completed through an authentication program (the authentication and authorization flow is consistent with the S2 stage flow), after receiving the prescription verification application, a doctor of an examination party initiatively initiates an authorization application for reading and modifying prescription information to the doctor (the authorization application and authorization flow are consistent with the S4 medicine information reading flow), after the doctor authorization is passed, the doctor of the examination party can verify the prescription information, if the doctor passes, the doctor of the examination party initiatively initiates a dispensing requirement application to the pharmacist, if the doctor does not pass, the doctor of the examination party returns to the doctor, and the doctor needs to prescribe the prescription according to the flow again (S4-S6 stage). Whether the examination is passed or not, the examination information (examination time, examination opinion, examination result) of the prescription by the examination doctor and the complete information (name, mobile phone number, identity card, professional qualification card, login time and the like) of the examination doctor are stored on the blockchain.
S6, preparing a prescription: the pharmacist also needs to pass through an identity authentication process (the authentication and authorization process is consistent with the S2 stage process), inquires or automatically pushes the prescription to be blended by the system, initiates a blending and authorization application (the authorization application and the authorization process are consistent with the S4 medical science information reading process) to the doctor of the reviewer for the prescription, after the doctor of the reviewer passes authorization, the pharmacist can check the complete information of the prescription and can blend the prescription, if the blending fails, the prescription is returned to the doctor of the reviewer for checking and confirming again (returning to the S5 stage), and after the blending passes, the review process can be entered. The pharmacist's scheduling information (scheduling time, scheduling results, scheduling instructions) and pharmacist information (name, phone number, identification number, login system time, etc.) are also saved to the blockchain.
S7: review of prescriptions: the flow is consistent with the S6 flow, and the rechecker first checks the prescription authorization application flow (sends an authorization application to the pharmacist) through the identity authentication flow. When the prescription checking authorization is successful, the rechecker checks the prescription and rechecks the prescription, and the rechecking abnormality directly returns to the prescription allocation process (returns to the S6 stage). After the prescription passes, the prescription will enter the drug delivery process, and the checking information (checking time, checking result, checking description) and the checking information (name, mobile phone number, ID card number, login system time, etc.) will be saved on the blockchain.
S8: the medicine dispensing flow comprises the following steps: after the patient is authorized successfully, staff in the pharmacy checks the prescription and compares the required medicines and the quantity in the prescription, dispenses, audits, inspects and marks the lot numbers of the medicines, and performs some sub-packaging and inspection on the prepared medicines according to the dispensing standard. After the drug delivery process is completed, the drug store staff can store the drug delivery date, drug name, lot number, quantity and the like, drug store related information (drug store name, drug store related qualification information) and drug delivery staff information (name, mobile phone number, identification card number, login system time and the like) on the blockchain.
All nodes in the invention participate in the data record, the data record is transparent to all nodes, all data can be traced, and false prescriptions can be effectively prevented from being generated.
Furthermore, the invention is based on the blockchain technology, adopts a decentralised distributed database, combines continuously generated information blocks together in a sequential connection mode according to time sequence, so that all prescription data can be inquired and tracked, and the prescription data is ensured to be untampered by utilizing the password technology. The storage and transmission of prescription data are not controlled by any centralized mechanism, the trust relationship between nodes is constructed by means of a consensus mechanism based on data organization management under a distributed system structure, and high redundancy is utilized to resist hacking, so that a safe and trusted distributed system is formed. In addition, in the blockchain network, all nodes have the same data copy, any data change is verified and confirmed through a consensus algorithm, the consistency and the reliability of the data are ensured, and the safety and the privacy of the data are improved.
Furthermore, the invention realizes the characteristics of strong sharing and intercommunication based on the blockchain technology, and avoids the problems of single-point failure and data isolation in the traditional database. Specifically, the blockchain realizes the technologies of digital certificates, digital passwords, consensus algorithms and the like, and ensures the safety and the integrity of data in the transmission and storage processes. Based on the technical characteristics, the electronic prescription tracing system of the blockchain can realize data sharing and intercommunication among doctors, drugstores, drug enterprises and patients. Doctors can record the medication condition and case information of patients in the electronic prescriptions, and pharmacies and drug enterprises can view the historical prescription information of the patients so as to provide services for the patients more accurately. The patient can also obtain own prescription record and medicine information through the blockchain technology and authorize doctors and drugstores to access own data, so that better medical service experience is realized.
Furthermore, the invention greatly reduces the cost of EMR, record transmission, medical data storage and transmission, manual verification and the like by bringing the medical records into the blockchain. The block chain electronic prescription system reduces unnecessary procedures by realizing automatic management and verification, and simultaneously provides efficient, safe and traceable guarantee for medicine management.
Furthermore, the prescription information is recorded by the block chain technology, so that the information tampering and errors can be avoided, the prescription accuracy is ensured, and the medical service quality is improved. At the same time, the data also provides basic data for medical institutions and patients, so that institutions can better know the conditions of patients and patients can better know medicines and treatment schemes, and the scientific, standard and healthy development of the medical and health industry is promoted.
The above is only a preferred embodiment of the present invention, and is not intended to limit the present invention, but various modifications and variations can be made to the present invention by those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (9)

1. Electronic prescription traceability system based on block chain, characterized by comprising: the system comprises a supervision module (1), an identity authentication module (2), a medicine input module (3), a blockchain platform (4), a prescription issuing module (5), a checking prescription module (6), a prescription allocation module (7), a prescription rechecking module (8) and a medicine issuing module (9);
the identity authentication module (2) is used for registering and authenticating identity information of a user;
the medicine input module (3) inputs medicine information from inside a medicine enterprise or a hospital and stores the medicine information into the blockchain platform (4);
the prescription making module (5) is used for sending an authorization request to a hospital or a medicine enterprise, and calling medicine information stored in the blockchain platform (4) to make a prescription after the hospital or the medicine enterprise passes the examination;
the checking prescription module (6) is used for checking the prescription, and if the prescription does not pass, the prescription-making and prescription-making module (5) is used for making and prescription-making again; if the prescription passes, entering a prescription allocation module (7);
the prescription allocation module (7) is used for checking the complete information of the prescription to be allocated and allocating the prescription, and if the complete information does not pass, the prescription allocation module (6) is called to check again; if the prescription passes, entering a checking prescription module (8);
the review prescription module (8) is used for review of prescription contents, and if the prescription contents do not pass, the prescription allocation module (7) is called for review again; if the medicine passes, the medicine enters a medicine dispensing module (9);
the medicine issuing module (9) initiates an application for checking the prescription to the patient, and if the application passes, the medicine is distributed to the hands of the patient according to the prescription content;
the supervision module (1) is responsible for electronic prescription data calibration and control data input; the supervision module (1) monitors the identity authentication module (2), the medicine input module (3), the blockchain platform (4), the prescription issuing module (5), the checking prescription module (6), the prescription allocation module (7), the checking prescription module (8) and the medicine issuing module (9) in real time.
2. The blockchain-based electronic prescription traceability system according to claim 1, wherein the identity authentication module is used for registering and authenticating user identity information, specifically: when registering a user, the user invokes an authentication application program created based on a blockchain intelligent contract to generate a distributed key pair, wherein a public key is used as an identity identifier, and a private key is used as an identity control right; when a user logs in authentication and authorization, the authentication application program is used for operation, and the intelligent contract code is broadcasted among all nodes to realize cross-multi-node consensus; by comparing the public and private keys, all nodes will allow authorization operations when the public and private keys reach a consensus.
3. The blockchain-based electronic prescription traceability system according to claim 2, wherein the medicine input module inputs medicine information originated from inside a medicine enterprise or a hospital and stores the medicine information to a blockchain platform, specifically: before entering medicine information, a medicine enterprise or a hospital needs to carry out identity authentication through an authentication application program; after the authentication is passed, the drug information is hashed and encrypted, and the hash value is stored in the blockchain platform (4) as a unique identifier of the drug information.
4. The blockchain-based electronic prescription traceability system according to claim 1, wherein the drug information comprises a name, a home code, a national drug standard, a bar code, a classification, a packaging specification, a registration specification, a usage amount, whether to prescribe a drug, an OTC grade, a manufacturer, a date of manufacture, a shelf life, and a description.
5. The blockchain-based electronic prescription traceability system according to claim 3, wherein the prescription making module is configured to send an authorization request to a hospital or a medicine enterprise, and to invoke the medicine information stored in the blockchain platform to make a prescription after the hospital or the medicine enterprise passes the audit, specifically: the doctor completes identity authentication and authorization through the identity authentication module (2), sends an authorization request to the hospital or the medicine enterprise, and waits for the examination and authorization of the hospital or the medicine enterprise; after the authorization is passed, the block chain authorization system generates a key and sends the key back to the block chain authentication system; the blockchain authentication system uses the secret key of the doctor to initiate a drug data request to the blockchain platform (4), and the result of the request returns encryption to the blockchain authentication system; the blockchain authentication system decrypts the drug data using the doctor's key and forwards the decrypted drug data to the doctor.
6. The blockchain-based electronic prescription traceability system of claim 5, wherein the audit prescription module is configured to audit the prescription, and if not pass, the prescription module is configured to re-prescribe the prescription; if the prescription passes, the prescription preparation module is entered, specifically: the method comprises the steps that an auditor doctor completes identity authentication and authorization through an identity authentication module (2), after receiving an auditor prescription application, the auditor doctor initiates an authorization application for reading and modifying prescription information to the doctor, and after the doctor passes authorization, a block chain authorization system generates a secret key and sends the secret key back to the block chain authentication system; the blockchain authentication system uses the secret key of the auditor doctor to initiate a drug data request to the blockchain platform (4), and the result of the request returns encryption to the blockchain authentication system; the blockchain authentication system decrypts the medicine data by using the key of the auditor doctor and forwards the decrypted medicine data to the auditor doctor; the auditor doctor audits the prescription information, and if the auditor passes the auditing, the auditor doctor enters a prescription allocation module (7) to initiate a prescription allocation requirement application; if the verification is not passed, the prescription-making and prescription-making module (5) is allocated to make a prescription again; the auditing information of the prescription by the auditing doctor and the complete information of the auditing doctor are stored on a blockchain platform (4).
7. The blockchain-based electronic prescription traceability system according to claim 6, wherein the prescription allocation module is used for checking the complete information of the prescription to be allocated and allocating the prescription, and if the complete information does not pass, the prescription allocation module is called to check again; if the prescription passes, entering a checking prescription module, specifically: the pharmacist completes identity authentication and authorization through the identity authentication module (2), the pharmacist initiates a deployment authorization application to a reviewer doctor, and when the reviewer doctor passes the authorization, the blockchain authorization system generates a key and sends the key back to the blockchain authentication system; the blockchain authentication system initiates a drug data request to the blockchain platform (4) by using a key of a pharmacist, and the result of the request returns encryption to the blockchain authentication system; the blockchain authentication system decrypts the medicine data by using the key of the pharmacist and forwards the decrypted medicine data to the pharmacist; the pharmacist checks the complete information of the prescription and can allocate the prescription, and if the allocation fails, the prescription auditing module (6) is called to audit again; if the prescription is blended, entering a checking prescription module (8); the audit information of the pharmacist on the prescription and the complete information of the pharmacist are stored on a blockchain platform (4).
8. The blockchain-based electronic prescription traceability system according to claim 7, wherein the prescription rechecking module is used for rechecking the prescription content, and if the prescription content does not pass, the prescription allocation module is called for rechecking; if the medicine passes, the medicine enters a medicine dispensing module, specifically: the rechecker completes identity authentication and authorization through the identity authentication module (2), and initiates a deployment authorization application to the pharmacist; when the pharmacist passes the authorization, the blockchain authorization system generates a key and sends the key back to the blockchain authentication system; the blockchain authentication system uses the key of the rechecker to initiate a drug data request to the blockchain platform (4), and the result of the request returns encryption to the blockchain authentication system; the blockchain authentication system decrypts the medicine data by using the key of the rechecker and forwards the decrypted medicine data to the rechecker; checking the prescription by a rechecker, and checking the prescription, and calling a prescription allocation module (7) to check again if the rechecking is abnormal; if the medicine passes, the medicine enters a medicine dispensing module (9); the auditing information of the recheck for the prescription and the complete information of the recheck are stored on a blockchain platform (4).
9. The blockchain-based electronic prescription traceability system according to claim 8, wherein the drug delivery module initiates an application for checking the prescription to the patient, and if the application passes, the drug is delivered to the patient according to the prescription content, specifically: the pharmacy or pharmacy initiates an application for checking the prescription detailed information to the patient, and after the patient is authorized successfully, the pharmacy or pharmacy checks the prescription and compares the required medicines and the quantity in the prescription, and the medicines are split-packed and checked to finish the dispensing; the pharmacy or pharmacy will save the date of delivery of the drug, the name of the drug, the lot number and number of the drug, and pharmacy or pharmacy information to the blockchain platform (4).
CN202311323572.9A 2023-10-12 2023-10-12 Electronic prescription traceability system based on block chain Pending CN117393102A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311323572.9A CN117393102A (en) 2023-10-12 2023-10-12 Electronic prescription traceability system based on block chain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311323572.9A CN117393102A (en) 2023-10-12 2023-10-12 Electronic prescription traceability system based on block chain

Publications (1)

Publication Number Publication Date
CN117393102A true CN117393102A (en) 2024-01-12

Family

ID=89471369

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311323572.9A Pending CN117393102A (en) 2023-10-12 2023-10-12 Electronic prescription traceability system based on block chain

Country Status (1)

Country Link
CN (1) CN117393102A (en)

Similar Documents

Publication Publication Date Title
Haleem et al. Blockchain technology applications in healthcare: An overview
CN107896213B (en) Electronic prescription data storage method
CN107835182A (en) Electronic Prescription System and processing method based on block chain
US8423382B2 (en) Electronic health record transaction monitoring
US10698984B2 (en) Method and apparatus for a management system for user authentication and prescription refill verification
US20140039910A1 (en) Controlled Communications System for Physician-Hospital System Integration
US20150213204A1 (en) Dual smart card e-prescription system and method
JP7373013B2 (en) Dose preparation data analysis
Bawany et al. Integrating healthcare services using blockchain-based telehealth framework
CN110493168A (en) Medical curative effect based on asymmetric encryption techniques monitors sharing method
CN112216368A (en) Method and system for multi-unit combined evolution and party trial
KR102527210B1 (en) Online drug distribution system based on blockchain and method thereof
KR20010083533A (en) Electronic prescription delivery/management system and method using a computer network
KR20210030534A (en) System for managing medicine and medical supplies based on a blockchain network
Gomasta et al. PharmaChain: Blockchain-based drug supply chain provenance verification system
CN101533504A (en) Electric medical affairs system and device
JP2018032106A (en) Prescription information providing system
CN117393102A (en) Electronic prescription traceability system based on block chain
Rafid et al. A decentralized identity system for accelerating medical communications within rare disease communities
US20160125166A1 (en) Interoperable medical code
US20240013881A1 (en) Methods for automated provision of patient with electronic prescription and medicines by means of information system of electronic prescriptions
CN113808761A (en) Online prescription transfer method and system
CN112259190A (en) Medical information credible circulation method, device and system based on block chain
US10943684B2 (en) Methods and systems for electronic prescription based ETASU enforcement
CN112489759A (en) Electronic prescription platform based on block chain

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination