CN108922587B - Patient assistance system and method based on identification code - Google Patents

Patient assistance system and method based on identification code Download PDF

Info

Publication number
CN108922587B
CN108922587B CN201810570500.7A CN201810570500A CN108922587B CN 108922587 B CN108922587 B CN 108922587B CN 201810570500 A CN201810570500 A CN 201810570500A CN 108922587 B CN108922587 B CN 108922587B
Authority
CN
China
Prior art keywords
information
voltage
identification code
medicine
patient
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.)
Active
Application number
CN201810570500.7A
Other languages
Chinese (zh)
Other versions
CN108922587A (en
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.)
Beijing Renze Health Service Center
Original Assignee
Beijing Renze Health Service Center
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 Beijing Renze Health Service Center filed Critical Beijing Renze Health Service Center
Priority to CN201810570500.7A priority Critical patent/CN108922587B/en
Publication of CN108922587A publication Critical patent/CN108922587A/en
Application granted granted Critical
Publication of CN108922587B publication Critical patent/CN108922587B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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

Landscapes

  • Health & Medical Sciences (AREA)
  • Engineering & Computer Science (AREA)
  • Chemical & Material Sciences (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Medicinal Chemistry (AREA)
  • Epidemiology (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Primary Health Care (AREA)
  • Public Health (AREA)
  • Medical Treatment And Welfare Office Work (AREA)

Abstract

A patient assistance system and method based on identification codes comprises a server, a patient end, a doctor end, a warehousing pharmacist end, a ex-warehouse pharmacist end and an identification code generator, wherein the identification codes included in the system can be two-dimensional codes or bar codes. The system and the method provided by the invention can effectively avoid the intervention of lawbreakers, the whole process from the delivery of the medicine to the distribution of the medicine is monitored based on the identification code, and then the expensive urgent and special medicine is effectively distributed to the difficult patients, and the system can be stored based on the server or the database, so that the illness state information, the medicine information, the pickup information and the prescription information of each patient can be effectively stored, the retrieval and the return are convenient, and compared with the traditional paper office mode, the system and the method are quicker, the work efficiency of the patient assistance is improved, and the period of taking the medicine by the difficult patients is shortened.

Description

Patient assistance system and method based on identification code
Technical Field
The invention relates to the technical field of medicine assistance distribution, in particular to a patient assistance system and method based on an identification code.
Background
In China, the application of the patient assistance system is still in the information starting stage, and after the application and the verification of the patient are qualified, the patient can get the gift in a designated pharmacy at a designated time. The patient assistance system can achieve the medical public welfare effect, and expensive drugs which are needed and needed urgently are distributed to the hands of difficult patients, so that the difficult patients can use the expensive life-saving drugs.
However, in the process of drug distribution, because the price of the drug is very expensive, some lawlers may obtain benefits by deceiving the drug by some means and then resale the drug, so that the drug cannot be accurately distributed to the hands of difficult patients, and the lawlers may earn violence by resale the drug. The medicine assistance system in the prior art cannot effectively supervise the distribution of medicines, so that expensive medicines which are needed and needed urgently cannot be distributed to the hands of difficult patients.
Disclosure of Invention
Therefore, the technical problem to be solved by the present invention is to overcome the defect of the prior art patient assistance system that the drug cannot be effectively delivered to the difficult patients.
To this end, there is provided an identification code based patient assistance system comprising: the system comprises a server, a patient end, a doctor end, a warehousing pharmacist end, a ex-warehouse pharmacist end and an identification code generator;
the identification code generator is used for generating a medicine identification code and a prescription identification code, the medicine identification code is provided with medicine information and is arranged at a medicine place, the prescription identification code is provided with prescription information and is arranged at a prescription place, and the prescription information comprises a prescription code and a medicine name;
the warehousing pharmacist end is used for identifying the medicine identification code, generating medicine warehousing information and uploading the medicine warehousing information to the server;
the doctor end is used for identifying the prescription identification code, generating activation information and uploading the activation information to a server, wherein the activation information comprises a binding activation instruction and prescription information;
the patient side is used for sending the drug application information to the server and receiving the corresponding drug application identification code sent by the server;
the ex-warehouse pharmacist end is used for identifying a prescription identification code provided by a patient and sending prescription information identified based on the prescription identification code provided by the patient to the server, the server checks whether an activation instruction bound with the prescription information sent by the ex-warehouse pharmacist end exists or not, and if the activation instruction bound exists, a response message is fed back to the ex-warehouse pharmacist end;
the ex-warehouse pharmacist end is further used for identifying the medicine identification code of the medicine to be ex-warehouse and the medicine application identification code provided by the patient after receiving the response message, acquiring corresponding medicine warehousing information and medicine application information from the server, and the server is further used for binding and storing the prescription information, the medicine warehousing information and the medicine application information identified by the ex-warehouse pharmacist end.
Further, the warehousing pharmacist end and the ex-warehouse pharmacist end are the same pharmacist end;
the identification code generator comprises a medicine identification code generator and a prescription identification code generator, wherein the medicine identification code generator generates a medicine identification code according to input medicine information, and the prescription identification code generator generates a prescription identification code according to input prescription information.
Further, in the above-mentioned case,
the drug information includes: drug code, drug name, drug quantity, manufacturer, production lot number and expiration date;
the prescription information further includes: hospital name, physician name, expiration date; the drug application information includes: patient identity information, patient identification cards, patient condition information, patient required drug information, and physician recommendation information. Further, in the above-mentioned case,
the server comprises a patient information receiving module, a patient information auditing module, a patient information sending module, a drug application identification code generating module and a drug application identification code storage module;
the patient information receiving module receives the drug application information sent by the patient side, and the patient information auditing module audits the drug application information;
after the audit is passed, the patient information sending module sends the drug application information to the drug application identification code generating module, and the drug application identification code generating module generates a drug application identification code;
the server drug application identification code is sent to the patient end and stored in the drug application identification code storage module.
Further, the patient end, the doctor end, the warehousing pharmacist end and the ex-warehouse pharmacist end are respectively provided with a shell (1) and a lithium battery (1021), and a containing cavity for placing the lithium battery (1021) is formed in the shell (1);
lithium cell (1021) pass through electric energy connecting wire (103) and be connected with the commercial power, shell (1) be provided with automatic spiral mechanism, automatic spiral mechanism include:
the wire outlet through hole is respectively communicated with the containing cavity and the outside of the shell (1), the electric energy connecting wire (103) penetrates through the wire outlet through hole, one end of the electric energy connecting wire (103) is positioned in the shell (1) and connected with the lithium battery (1021), and the other end of the electric energy connecting wire (103) is positioned outside the shell (1);
the winding shaft (104) is perpendicular to the wire outlet through hole, the middle of the winding shaft (104) is located in the wire outlet through hole, and two sides of the winding shaft (104) are respectively in rolling connection with the shell (1) through bearings;
the first gear (105) is positioned in the shell (1), is coaxially arranged with the winding shaft (104), and is fixedly connected with the winding shaft;
a second gear (106) in mesh with the first gear (105), the ratio of the second gear to the first gear (105) being greater than two to one;
the second gear (106) is coaxially provided with a driving shaft (111), and two sides of the driving shaft (111) are respectively in rolling connection with the shell (1) through bearings;
a synchronous roller (107) is arranged on one side of the second gear (106), an open-loop circular sliding groove (108) is arranged on the shell (1), the synchronous roller further comprises an elastic piece (109), the elastic piece (109) is arranged in the circular sliding groove (108), one end of the elastic piece (109) is connected with the synchronous roller (107), the other end of the elastic piece (109) is fixedly connected with the open loop of the circular sliding groove (108), and the initial position of the synchronous roller (107) is located at the other end, opposite to the open loop, of the elastic piece (109);
one side of the electric energy connecting wire (103) which can be pulled outside the shell (1) is provided with a fixing bulge (112), and the fixing bulge (112) is clamped with the wire outlet through hole.
Further, still include and be used for to the air conditioner and the control system that the server goes on cooling, the compressor of air conditioner is controlled by the control system work, control system include: the voltage boosting unit (201) comprises a power supply device (2011), a first voltage stabilizing device (2012), a voltage boosting device (2013) and a second voltage stabilizing device (2014) which are connected in sequence and used for outputting stable working voltage;
the voltage control unit (202) is coupled with the pressure increasing unit (201) and comprises a pressure control device (2021) and a display device (2022) which are sequentially connected, wherein the pressure control device (2021) is used for adjusting the value of the working voltage and loading the adjusted working voltage to the compressor through the display device (2022);
the protection unit (203) is used for detecting the temperature of the compressor and controlling the compressor M to stop working when the temperature of the compressor reaches a preset value;
the first voltage stabilizing device (2012) comprises a first voltage stabilizing resistor R11, a second voltage stabilizing resistor R12, a first voltage stabilizing triode Q11, a second voltage stabilizing triode Q12 and a first voltage stabilizing capacitor C11, wherein the first voltage stabilizing resistor R11 and the second voltage stabilizing resistor R12 are grounded in series, the first voltage stabilizing resistor R11 is connected with a key S, the node of the first voltage stabilizing resistor R11 and the node of the second voltage stabilizing resistor R12 are coupled with the base of the first voltage stabilizing triode Q11, the collector of the first voltage stabilizing triode Q11 is coupled with the emitter and the base of the second voltage stabilizing triode Q12, the node of the emitter and the base of the second voltage stabilizing triode Q353656 is coupled with the key S, and the base of the second voltage stabilizing triode Q12 is grounded in series with the first voltage stabilizing capacitor C11;
the boosting device (2013) comprises a transformer T, a primary coil of the transformer T is connected with the first voltage stabilizing device (2012), and a secondary coil of the transformer T is connected with the second voltage stabilizing device (2014);
the second voltage stabilizing device (2014) comprises a first voltage stabilizing diode D11, a second voltage stabilizing diode D12, a third voltage stabilizing resistor R13 and a second voltage stabilizing capacitor C12, the second voltage stabilizing diode D12 and the second voltage stabilizing capacitor C12 are respectively coupled with two ends of the secondary coil, the third voltage stabilizing resistor R13 is connected between the second voltage stabilizing diode D12 and the second voltage stabilizing capacitor C12, and a node of the third voltage stabilizing resistor R13 and the second voltage stabilizing capacitor C12 is coupled with the end of the secondary coil through the first voltage stabilizing diode D11;
the pressure control device (2021) comprises:
the first voltage regulating resistor R21, the second voltage regulating resistor R22 and the third voltage regulating resistor R23 are connected in series and grounded, and the first voltage regulating resistor R21, the second voltage regulating resistor R22 and the third voltage regulating resistor R23 are used for dividing voltage to provide reference refrigeration voltage;
the voltage-regulating circuit comprises a first voltage-regulating comparator U1 and a first voltage-regulating field-effect tube Q21 which are coupled, wherein the reverse input end of the first voltage-regulating comparator U1 is coupled with the nodes of a second voltage-regulating resistor R22 and a third voltage-regulating resistor R23, the forward input end of the first voltage-regulating comparator U1 is coupled with a first limit voltage, the output end of the first voltage-regulating comparator U1 is coupled with the grid electrode of the first voltage-regulating field-effect tube Q21, the drain electrode of the first voltage-regulating field-effect tube Q21 is coupled with a display device (2022), and a fourth voltage-regulating resistor R24 is arranged in parallel on the first voltage-regulating field-effect tube Q21;
a second voltage-regulating comparator U2 and a second voltage-regulating field-effect tube Q22 are coupled, the reverse input end of the second voltage-regulating comparator U2 is coupled with the nodes of a second voltage-regulating resistor R22 and a third voltage-regulating resistor R23, the forward input end of the second voltage-regulating comparator U2 is coupled with a second limit voltage, the output end of the second voltage-regulating comparator U2 is coupled with the grid electrode of the second field-effect tube Q22, the drain electrode of the second field-effect tube Q22 is coupled with the source electrode of the first voltage-regulating field-effect tube Q21, and the second field-effect tube Q22 is provided with a fifth voltage-regulating resistor R25 in parallel;
a third voltage-regulating comparator U3 and a third voltage-regulating field-effect tube Q23 are coupled, the reverse input end of the third voltage-regulating comparator U3 is coupled with the nodes of the second voltage-regulating resistor R22 and the third voltage-regulating resistor R23, the forward input end of the third voltage-regulating comparator U3 is coupled with a third limit voltage, the output end of the third voltage-regulating comparator U3 is coupled with the grid electrode of the third field-effect tube Q23, the drain electrode of the third field-effect tube Q23 is coupled with the source electrode of Q22 of the second field-effect tube, the third field-effect tube Q23 is provided with a sixth voltage-regulating resistor R26 in parallel, and the source electrode of the second field-effect tube Q22 is grounded;
the display device (2022) comprises:
the control capacitor C13, the first control diode D13 and the second control light emitting diode D14 that set up with the compressor parallel respectively, control capacitor C13 couple second voltage regulator device (2014) and accuse pressure device (2021) respectively, second control light emitting diode D14 and control capacitor C13 be provided with control resistance R13.
A method of patient assistance based on an identification code, comprising the steps of:
step S1, generating a prescription identification code according to the input prescription information and pasting the prescription identification code on the prescription, wherein the prescription information comprises a prescription code and a medicine name;
step S2, generating a medicine identification code according to the input medicine information and pasting the medicine identification code on the medicine;
step S3, the warehousing pharmacist end identifies the medicine identification code, generates medicine warehousing information and uploads the medicine warehousing information to the server, wherein the medicine warehousing information comprises medicine information and warehousing pharmacist information;
step S4, the doctor side identifies the prescription identification code to generate activation information and uploads the activation information to the server, wherein the activation information comprises the bound prescription information and an activation instruction;
step S5, the patient end sends the drug application information to the server and receives the drug application identification code sent by the server;
step S6, the ex-warehouse pharmacist identifies the prescription identification code provided by the patient, sends the prescription information identified based on the prescription identification code provided by the patient to a server, the server checks whether an activation instruction bound with the prescription information sent by the ex-warehouse pharmacist exists or not, and if the activation instruction bound exists, a response message is fed back to the ex-warehouse pharmacist; the ex-warehouse pharmacist end is further used for identifying the medicine identification code of the medicine to be ex-warehouse and the medicine application identification code provided by the patient after receiving the response message, acquiring corresponding medicine warehousing information and medicine application information from the server, and the server is further used for binding and storing the prescription information, the medicine warehousing information and the medicine application information identified by the ex-warehouse pharmacist end.
Further, the step of sending the drug application information to the server and receiving the drug application identification code sent by the server by the patient side includes: the patient side sends the drug application information to the server, and the server receives the drug application information and then audits the drug application information to check whether the drug application information is qualified; and after the drug application information is qualified, generating a drug application identification code according to the drug application information, storing the drug application identification code and sending the drug application identification code to the patient terminal. Further, in the above-mentioned case,
the drug application information includes: any one or more of identity information, mobile phone information, illness state information, medicine name and introduction and certification information.
Further, in an embodiment, the server further comprises a patient matching unit for calculating
Similarity between two patients;
the patient matching unit is calculated by: the drug application information includes a plurality of pieces of first drug application information AiWherein the first drug application information AiIs set as1=(A1,A2,...,Ai,...,Am),AiThe index of the first drug application information is represented, and m is the number of indexes of the first drug application information;
obtaining second drug application information BjWherein the second drug application information BjIs set as2=(B1,B2,...,Bj,...,Bm),BjThe j index in the second medicine application information is represented, and m is the number of indexes of the second medicine application information; . Calculating each first drug application information A according to formula (1)iWith second drug application information BjSimilarity of (2):
Figure GDA0001727664350000141
wherein A isiIndicates the i index, B, in the first drug application messagejIndicating a jth index in the second drug application information; | Ai∩BjI represents the same number of characters between the ith index in the first medicine application information and the jth index in the second medicine application information, and Ai∪BjL represents all the number of characters between the ith index in the first medicine application information and the jth index in the second medicine application information;
the weight of each index is determined by the following formula, wherein the similarity J of the indexesδ(Ai,Bj)
Figure GDA0001727664350000144
There are m, each X1,X2,……,XmIn one of the indexes, the similarity XiThere are n different states, i.e. Xi=xi1,xi2,……,xin
The probability distribution of each state is shown in formula 2;
P(xij)=pij (j=1,2,……,n) (2)
evaluation index similarity XiIs as a formula3 is shown in the specification;
Figure GDA0001727664350000142
the entropy weight determined by the information entropy is inversely proportional to the information entropy, so XiThe entropy weight of (a) is as shown in equation 4;
Figure GDA0001727664350000143
entropy weight determination X of indices integrating k degrees of similarityiThe final weight of (a), as shown in equation 5;
Figure GDA0001727664350000151
the two pieces of drug application information have k similarity calculation indexes, and a comprehensive similarity calculation method for generating and fusing k similarity calculation index results through the information entropy is shown as a formula 6;
Figure GDA0001727664350000152
sim is the correction result; siIndicates the similarity between the first and second drug application information at the i-th index, i.e., Jδ(Ai,Bi) And taking the value with the highest correction result as two pieces of medicine application information with the highest similarity, and sending the two pieces of contact information corresponding to the two pieces of medicine application information to the patient side. The technical scheme of the invention has the following advantages:
1. the system and the method provided by the invention can effectively avoid the intervention of lawbreakers, the whole process from the delivery of the medicine to the distribution of the medicine is monitored based on the identification code, and then the expensive urgent and special medicine is effectively distributed to the difficult patients, and the system can be stored based on the server or the database, so that the illness state information, the medicine information, the pickup information and the prescription information of each patient can be effectively stored, the retrieval and the return are convenient, and compared with the traditional paper office mode, the system and the method are quicker, the work efficiency of the patient assistance is improved, and the period of taking the medicine by the difficult patients is shortened.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
FIG. 1 is a schematic view of a patient assistance system based on an identification code;
FIG. 2 is a schematic diagram of a first embodiment of a server;
FIG. 3 is a diagram of a second embodiment of a server;
FIG. 4 is a schematic diagram of a third embodiment of a server;
FIG. 5 is a schematic diagram of a fourth embodiment of a server;
FIG. 6 is a schematic view of the interior of the housing;
FIG. 7 is an enlarged view of portion A of FIG. 6;
FIG. 8 is a schematic structural view of the elastic member;
FIG. 9 is a schematic structural diagram of a control system;
FIG. 10 is a schematic diagram of a method of patient assistance based on identification codes.
1. A housing; 2. a plug; 1021. a lithium battery; 101. a processing unit; 103. an electric energy connecting wire; 104. a spool; 105. a first gear; 106. a second gear; 107. a synchronizing roller; 108. a circular chute; 109. an elastic member; 112. a fixed protrusion; 111. a drive shaft; 201. a pressure raising unit; 2011. a power supply device; 2012. a first voltage stabilizer; 2013. a voltage boosting device; 2014. a second voltage stabilizer; 202. a voltage control unit; 2021. a pressure control device; 2022. a display device; 203. and a protection unit.
Detailed Description
The technical solutions of the present invention will be described clearly and completely with reference to the accompanying drawings, and it should be understood that the described embodiments are some, but not all embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In the description of the present invention, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc., indicate orientations or positional relationships based on the orientations or positional relationships shown in the drawings, and are only for convenience of description and simplicity of description, but do not indicate or imply that the device or element being referred to must have a particular orientation, be constructed and operated in a particular orientation, and thus, should not be construed as limiting the present invention. Furthermore, the terms "first," "second," and "third" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. In addition, the technical features involved in the different embodiments of the present invention described below may be combined with each other as long as they do not conflict with each other.
A patient assistance system based on identification codes is shown in figure 1 and comprises a server, a patient end, a doctor end, a warehousing pharmacist end, a ex-warehouse pharmacist end and an identification code generator, wherein the patient end, the doctor end, the warehousing pharmacist end, the ex-warehouse pharmacist end and the identification code generator are respectively connected with the server through communication modules and send data and instructions to the server through the communication modules. The communication module can be any one or more of a high-speed data line, a 4g network connection module, a 5g network connection module, a WIFI module, an infrared module and a local area network module. The identification code may be any one of a bar code and a two-dimensional code.
In one embodiment, the warehousing pharmacist end and the ex-warehouse pharmacist end are the same pharmacist end and are respectively connected with the server through the communication module, wherein the patient end, the doctor end, the warehousing pharmacist end and the ex-warehouse pharmacist end can be mobile phones, tablets, identification code identifiers and other devices with identification code identification functions and communication connection functions.
The identification code generator is used for generating a medicine identification code and a prescription identification code, the medicine identification code is provided with medicine information and is arranged at a medicine position, the medicine position refers to an external package of the medicine or a containing bottle/containing shell of the medicine, and the medicine identification code is adhered to the external package of the medicine or the containing bottle/containing shell of the medicine; the prescription identification code is provided with prescription information and is arranged at a prescription place which refers to a certain position in a prescription used by a doctor, namely the prescription identification code is pasted with the prescription, and the prescription pasted with the prescription identification code is used by the doctor. The identification code generator comprises a medicine identification code generator and a prescription identification code generator, the medicine identification code generator generates a medicine identification code according to input medicine information, and the medicine information comprises: the drug code, the drug name, the drug quantity, the manufacturer, the production batch number and the effective date, and the information of the drug code, the drug name, the drug quantity, the manufacturer, the production batch number and the effective date can be obtained by identifying the drug identification code. By the aid of the method, each medicine under the assistance system has the identity information and is stored in the server or the database.
The prescription identification code generator generates a prescription identification code according to input prescription information, wherein the prescription information comprises: prescription code and medicine name, a prescription identification code corresponds to a unique prescription code, and the medicine name is used for representing a type of medicine, namely a prescription identification code corresponds to a type of medicine. The prescription identification code can also comprise hospital name, doctor name and effective date, and information of the prescription code, medicine name, hospital name, doctor name and effective date can be obtained by identifying the prescription identification code. By the method, each prescription under the assistance system has respective identity information and is stored in a server or a database. Each prescription is issued with a corresponding prescription identification code to a designated physician corresponding to the physician name in the prescription information. Meanwhile, when a patient needs a certain kind of medicine, a doctor selects a prescription corresponding to the needed medicine.
When the medicine needs to be put in storage, the storage pharmacist end identifies the medicine identification code of the medicine to be stored, generates medicine storage information and uploads the medicine storage information to the server, wherein the medicine storage information comprises medicine information and storage pharmacist information, and the medicine information and the storage pharmacist information are stored through the server. After the medicine is warehoused, when a terminal (such as a warehouse-out pharmacist terminal) identifies the medicine identification code, the server sends the medicine information and the warehouse-in pharmacist information to the terminal which identifies the medicine identification code. The information of the warehoused pharmacists comprises one or more of names, affiliated units, contact ways and work numbers of the pharmacists.
The doctor end is used for identifying the prescription identification code, generating activation information and uploading the activation information to the server. When a doctor needs to make a prescription, the doctor uses a doctor end to identify a prescription identification code attached to the prescription, wherein the doctor end has a doctor name, the doctor name in the prescription information is obtained after the doctor end identifies the prescription identification code, if the doctor name in the prescription information is the same as the doctor name in the doctor end, the doctor end generates activation information so as to activate the prescription identification code, wherein the activation information comprises bound prescription information and an activation instruction, and the prescription information and the corresponding activation instruction are stored through a server. In the embodiment, the prescription identification code can be activated only by the doctor end, that is, the activation instruction corresponding to the prescription identification code is generated, and only after the server receives the prescription information and the activation instruction, the prescription can be proved to be issued by the corresponding doctor, so that the problem that other people pretend to be the doctor to issue the prescription to cheat the medicine is avoided.
The patient side is used for sending the drug application information to the server and receiving the drug application identification code sent by the server, the drug application information comprises patient identity information, a patient identity card, patient illness state information, drug information required by the patient and doctor recommendation information, and then the patient identity information, the patient identity card, the patient illness state information, the drug information required by the patient and the doctor recommendation information can be obtained by identifying the drug application identification code. When the terminal (such as a delivery pharmacist side) identifies the drug application identification code, the server transmits drug application information to the terminal that identifies the drug application identification code.
The ex-warehouse pharmacist end is used for identifying the prescription identification code provided by the patient and sending the prescription information identified based on the prescription identification code provided by the patient to the server, the server checks whether the activation information bound with the prescription information sent by the ex-warehouse pharmacist end exists or not, if the activation information bound exists, the prescription identification code is legal, and at the moment, the server feeds back a response message to the ex-warehouse pharmacist end.
The ex-warehouse pharmacist end is further used for identifying the medicine identification code of the medicine to be ex-warehouse and the medicine application identification code provided by the patient after receiving the response message, acquiring corresponding medicine warehousing information and medicine application information from the server, and checking the related information of the medicine by the ex-warehouse pharmacist according to the identified prescription information, the medicine warehousing information and the medicine application information, and sending the medicine to the patient after checking the medicine is correct.
The server is also used for binding and storing the prescription information, the medicine warehousing information and the medicine application information which are identified by the ex-warehouse pharmacist, recording the flow direction of the medicine, and facilitating statistics and follow-up inquiry of the state of the medicine.
The working process of the patient assistance system based on the identification code provided by the embodiment of the invention is as follows: firstly, an identification code generator is used for generating a medicine identification code and a prescription identification code, the medicine identification code is pasted at a medicine position, the prescription identification code is pasted at a prescription position, and the prescription pasted with the prescription identification code is issued to a corresponding doctor; then the warehousing pharmacist end warehouses corresponding medicines in a mode of scanning the medicine identification codes, and the server records medicine warehousing information; when a patient needs to take medicine, a doctor confirms which kind of medicine the patient needs, selects a prescription with a prescription identification code related to the medicine needed by the patient, and scans the prescription identification code on the prescription through the doctor end so as to activate the prescription; the patient uses the patient end to send the medicine application information to the server, the server feeds back the corresponding medicine application identification code to the patient end according to the medicine application information, and then the patient can obtain the medicine by providing the prescription (pasted with the prescription identification code) prescribed by the doctor and the medicine application identification code of the patient end. Specifically, the ex-warehouse pharmacist identifies the prescription identification code provided by the patient by using the ex-warehouse pharmacist end, so that the server can determine whether the prescription identification code is legal, namely whether a correct doctor activates the prescription identification code; when the server determines the prescription identification code and the bound activation instruction, a response message is fed back to the ex-warehouse pharmacist; and after receiving the response message, the ex-warehouse pharmacist can identify the drug application identification code provided by the patient, takes out the corresponding drug from the warehouse, and identifies the drug identification code pasted on the drug package, thereby realizing the binding of prescription information, drug warehousing information and drug application information.
The identification code based patient assistance system legally issues the medication to the patient using the prescription identification code, the medication identification code, and the medication application identification code; the prescription identification code can be activated by a doctor end to generate corresponding activation information, and lawless persons cannot forge the prescription identification code and difficultly impersonate difficult patients, so that the medicine can be guaranteed to be accurately issued to the difficult patients, and the medicine is delivered out of the warehouse; and the authenticity and the safety of the drug which is delivered from the warehouse can be ensured by identifying the drug identification code, and counterfeit and shoddy drugs are prevented from being taken. After the medicines are delivered from the warehouse, prescription information, medicine warehousing information and medicine application information are bound, unified management is facilitated, the flow direction of the medicines can be recorded, and statistics and follow-up inquiry on the states of the medicines are facilitated.
In one embodiment, as shown in fig. 2, the server includes a patient information receiving module, a patient information auditing module, a patient information sending module, a drug application identification code generating module, and a drug application identification code storing module, wherein the patient information receiving module receives drug application information sent by a patient, and the patient information auditing module audits the drug application information; the patient information sending module sends the drug application information to the drug application identification code generating module after the audit is passed, the drug application identification code generating module generates a drug application identification code, and the server sends the drug application identification code to the patient side and stores the drug application identification code in the drug application identification code storage module.
In one embodiment, as shown in fig. 3, the prescription identification code generator may be a doctor prescription identification code generating module, and the server further includes a doctor prescription identification code activating module, a doctor prescription identification code verifying module, and a doctor prescription identification code data storing module. The doctor prescription identification code generation module generates a prescription identification code, the doctor identifies the prescription identification code to generate an activation instruction and sends the activation instruction to the prescription identification code activation module to activate the prescription identification code, the doctor prescription identification code verification module can identify whether the prescription identification code is the activated prescription identification code, and the doctor prescription identification code data storage module stores the prescription identification code and the activation instruction.
In one embodiment, as shown in fig. 4, the drug identification code generator may be a drug identification code generating module, and the server further includes a drug identification code activating module, a drug identification code verifying module, and a drug identification code data storing module. The drug identification code generator generates a drug identification code and uploads the drug identification code to the server, the warehousing pharmacist end identifies the drug identification code and obtains drug information and sends the drug information to the drug identification code verification module in the warehousing process of the drug, the drug identification code verification module verifies the drug identification code, the drug identification code identified by the warehousing pharmacist end is compared with the identification code uploaded to the server by the drug identification code generator, if the drug identification code is consistent with the identification code, the activation module stores the drug identification code in the drug identification code data storage module, and the drug pasted with the drug identification code is proved to be warehoused at the moment.
In one embodiment, as shown in fig. 5, the server further includes a drug application information receiving module, a drug application information auditing module, a drug application information sending module, and an identity information module. The drug application information receiving module receives the activation information, the drug warehousing information and the drug application information respectively, and the drug application information auditing module audits the activation information, the drug warehousing information and the drug application information respectively.
The doctor prescription identification code data storage module, the medicine identification code data storage module and the medicine application identification code storage module can be databases.
In an embodiment, as shown in a schematic structural diagram of the inside of the housing shown in fig. 6, the patient end, the doctor end, the warehousing pharmacist end, and the ex-warehouse pharmacist end all include the housing 1, the lithium battery 1021, and the storage cavity located in the housing 1, the lithium battery 1021 and the processing unit 101 are respectively located in the storage cavity of the housing 1, and the processing unit may be a processor, and the lithium battery 1021 and the processing unit 101 are protected by the housing 1. Patient's end, doctor end, warehouse entry pharmacist end, warehouse exit pharmacist end still include the electric energy connecting wire 103 that one end and lithium cell 1021 are connected, and lithium cell 1021 is connected with processing unit 101 and supplies power, and the other end of electric energy connecting wire 103 is provided with plug 2, and the plug is used for being connected with the commercial power.
As shown in fig. 7, an enlarged schematic structure of the part a in fig. 6 is that the patient end, the doctor end, the storage pharmacist end, and the delivery pharmacist end are all provided with an automatic winding mechanism for controlling the length of the electric energy connection line exposed out of the housing, wherein the automatic winding mechanism includes a line outgoing through hole, a winding reel 104, a first gear 105, and a second gear 106, the line outgoing through hole is respectively communicated with the outside of the housing cavity and the housing 1, the electric energy connection line 103 penetrates through the line outgoing through hole, one end of the electric energy connection line 103 is located in the housing 1 and connected with the lithium battery 1021, and the other end of the electric energy connection line 103 is located outside the housing 1, wherein the electric energy connection line 103 is internally provided with a conductive metal, and the outside is coated with an insulating layer.
And the winding shaft 104 is perpendicular to the wire outlet through hole, the middle part of the winding shaft 104 is positioned in the wire outlet through hole, two sides of the winding shaft 104 are respectively in rolling connection with the shell 1 through bearings, and the electric energy connecting wire 103 is wound up through the winding shaft 104, so that the purposes of shrinking and fixing the electric energy connecting wire 103 are achieved.
A first gear 105, which is positioned in the housing 1, is coaxially arranged with the winding shaft 104, and is fixedly connected with the winding shaft; the second gear 106 is meshed with the first gear 105, the gear transmission ratio of the second gear 106 to the first gear 105 is larger than two to one, and the electric energy connecting wire 103 is controlled to extend and retract through transmission of the first gear 105 and the second gear 106.
As shown in fig. 7 and 8, wherein fig. 8 is a schematic structural diagram of the elastic element, wherein the second gear 106 is coaxially provided with a driving shaft 111, and two sides of the driving shaft 111 are respectively connected with the housing 1 through bearings in a rolling manner; one side of the second gear 106 is provided with a synchronous roller 107, the housing 1 is provided with an open-loop circular chute 108, the synchronous roller further comprises an elastic member 109, the elastic member 109 is arranged in the circular chute 108, one end of the elastic member 109 is connected with the synchronous roller 107, the other end of the elastic member 109 is fixedly connected with the open loop of the circular chute 108, and the initial position of the synchronous roller 107 is located at the other end of the elastic member 109 opposite to the open loop. The elastic member 109 is preferably a spring disposed in the circular sliding groove 108 and cooperating with the circular sliding groove 108.
The open loop includes a fixing protrusion 112 disposed in the circular sliding slot 108 to divide the circular sliding slot 108 into open loops.
When a user needs to charge the lithium battery 1021 through the electric energy connecting line 103, the part of the electric energy connecting line 103 which leaks out of the wire outlet through hole can be pulled, the electric energy connecting line 103 is pulled for a proper distance, the part of the electric energy connecting line 103 which is positioned on the winding shaft 104 is driven to be pulled out of the wire outlet through hole, the winding shaft 104 rotates and drives the first gear 105 to rotate at the moment, the first gear 105 drives the second gear 106 which is meshed with the first gear to rotate, the synchronous roller on the second gear 106 is driven to start to rotate in the circular sliding groove 108 and compress the elastic piece 109, and the electric energy connecting line 103 is in a state controlled by the user.
After the user finishes charging, after stopping controlling the electric energy connecting wire 103, the elastic element 109 resets, and at this moment, the fixed one end of the elastic element 109 and the synchronizing roller drives the synchronizing roller 107 to move, and at this moment, the second gear 106 rotates and drives the first gear 105 to rotate, and meanwhile, the winding shaft 104 is driven by the first gear 105 to rotate, and starts to wind up the electric energy connecting wire 103, so that the electric energy connecting wire 103 is wound inside the housing 1.
When a user needs to charge and supply power to any one of the patient end, the doctor end, the warehouse-in pharmacist end and the warehouse-out pharmacist end through the electric energy connecting wire, the electric energy connecting wire part which is leaked out of the wire outlet through hole can be pulled, the electric energy connecting wire and the plug 2 are pulled for a proper distance, and the plug 2 can be connected with a mains supply and can charge and supply power to any one of the patient end, the doctor end, the warehouse-in pharmacist end and the warehouse-out pharmacist end. In the process, the part of the electric energy connecting wire, which is positioned on the winding shaft, is driven to be pulled out of the wire outlet through hole, at the moment, the winding shaft rotates and drives the first gear to rotate, the first gear drives the second gear which is meshed with the first gear to rotate, the synchronous roller on the second gear is driven to start rotating in the circular sliding groove and compress the elastic piece, and the electric energy connecting wire is in a state controlled by a user. The portable charger is convenient for a user to carry and charge a patient end, a doctor end, a warehouse entry pharmacist end and a warehouse exit pharmacist end.
In one embodiment, the system further includes an air conditioner and a control system for cooling the server, a compressor of the air conditioner is controlled by the control system to operate, and a schematic structural diagram of the control system is shown in fig. 9, and the system includes: the voltage boosting unit 201 comprises a power supply device 2011, a first voltage stabilizing device 2012, a voltage boosting device 2013 and a second voltage stabilizing device 2014 which are connected in sequence and used for outputting stable working voltage; the voltage control unit 202 is coupled with the voltage boosting unit 201 and comprises a voltage control device 2021 and a display device 2022 which are sequentially connected, wherein the voltage control device 2021 is used for adjusting the value of the working voltage and loading the adjusted working voltage to the compressor through the display device 2022; the protection unit 203 is configured to detect a temperature of the compressor, and control the compressor M to stop working when the temperature of the compressor reaches a preset value.
The power supply voltage output by the storage battery can be increased through the voltage increasing unit 201, and the power supply voltage loaded to the compressor is changed through the voltage control unit 202, so that the purpose of controlling the compressor M to have different powers and further achieving different cooling effects on the server is achieved. The protection unit 203 can detect the temperature value of the compressor, and when the compressor is overheated, the protection unit 203 controls the voltage control unit 202 to stop applying voltage to the compressor, so as to achieve the purpose of protecting the compressor.
The power supply device 2011 comprises a storage battery and a key coupled with the storage battery, the first voltage stabilizing device 2012 comprises a first voltage stabilizing resistor R11, a second voltage stabilizing resistor R12, a first voltage stabilizing triode Q11, a second voltage stabilizing triode Q12 and a first voltage stabilizing capacitor C11, the first voltage stabilizing resistor R11 and the second voltage stabilizing resistor R12 are grounded in series, the first voltage stabilizing resistor R11 is connected with the key S, the node of the first voltage stabilizing resistor R11 and the second voltage stabilizing resistor R12 is coupled with the base of the first voltage stabilizing triode Q11, the collector of the first voltage stabilizing triode Q11 is coupled with the emitter and the base of the second voltage stabilizing triode Q12, the node of the emitter and the base of the second voltage stabilizing triode Q12 is coupled with the key S, and the base of the second voltage stabilizing triode Q12 is coupled with the first voltage stabilizing capacitor C11 in series and grounded.
The step-up device 2013 includes a transformer T, a primary coil of the transformer T is connected to the first voltage stabilization device 2012, and a secondary coil of the transformer T is connected to the second voltage stabilization device 2014.
The second voltage stabilizing device 2014 comprises a first voltage stabilizing diode D11, a second voltage stabilizing diode D12, a third voltage stabilizing resistor R13 and a second voltage stabilizing capacitor C12, the second voltage stabilizing diode D12 and the second voltage stabilizing capacitor C12 are coupled with two ends of a transformer T secondary coil respectively, a third voltage stabilizing resistor R13 is connected between the second voltage stabilizing diode D12 and the second voltage stabilizing capacitor D12, and a node of the third voltage stabilizing resistor R13 and the second voltage stabilizing capacitor C12 is coupled with the end of the transformer T secondary coil through a first voltage stabilizing diode D11.
The supply voltage output by the storage battery is stabilized through the first voltage stabilizing device 2012 by voltage, and then is loaded to the primary coil of the transformer T, the voltage transformation is performed through the difference of the number of turns of the primary coil and the secondary coil, the secondary coil obtains the supply voltage after the voltage transformation, and the supply voltage is loaded to the second voltage stabilizing device 2014 for voltage stabilization output.
The first voltage-stabilizing resistor R11 and the second voltage-stabilizing resistor R12 divide voltage to provide conducting voltage for the base electrode of the first voltage-stabilizing triode Q11, the first voltage-stabilizing triode Q11 is conducted, at the moment, a loop where the base electrode of the second voltage-stabilizing triode Q12 is located is conducted, the base electrode of the second voltage-stabilizing triode Q12 is electrified, the first voltage-stabilizing capacitor C11 is charged, the second voltage-stabilizing triode Q12 is conducted, and the storage battery can load power supply voltage to a primary coil of the transformer T.
The secondary winding of the transformer T receives the transformed supply voltage and outputs the transformed supply voltage to the first zener diode Q11, the second zener diode Q12, the third zener resistor R13, and the second zener capacitor C1 for voltage stabilization, and the stabilized supply voltage is loaded to the voltage control unit 202.
The pressure control device 2021 includes: the first voltage regulating resistor R21, the second voltage regulating resistor R22 and the third voltage regulating resistor R23 are connected in series and grounded, and the first voltage regulating resistor R21, the second voltage regulating resistor R22 and the third voltage regulating resistor R23 are used for dividing voltage to provide reference refrigeration voltage.
The first voltage regulating comparator U1 and the first voltage regulating field effect transistor Q21 of coupling, the reverse input end coupling of first voltage regulating comparator U1 connects the node of second voltage regulating resistance R22 and third voltage regulating resistance R23, the forward input end coupling of first voltage regulating comparator U1 connects first limit voltage, the output coupling of first voltage regulating comparator U1 connects the grid of first voltage regulating field effect transistor Q21, the drain electrode coupling display device 2022 of first voltage regulating field effect transistor Q21, first voltage regulating field effect transistor Q21 connects in parallel and is provided with fourth voltage regulating resistance R24.
The second voltage-regulating comparator U2 and the second voltage-regulating field-effect tube Q22 are coupled, the reverse input end of the second voltage-regulating comparator U2 is coupled with the nodes of the second voltage-regulating resistor R22 and the third voltage-regulating resistor R23, the forward input end of the second voltage-regulating comparator U2 is coupled with the second limit voltage, the output end of the second voltage-regulating comparator U2 is coupled with the grid of the second field-effect tube Q22, the drain of the second field-effect tube Q22 is coupled with the source of the first voltage-regulating field-effect tube Q21, and the second field-effect tube Q22 is provided with the fifth voltage-regulating resistor R25 in parallel.
The output end of the third voltage-regulating comparator U3 is coupled with the grid of the third field effect transistor Q23, the drain of the third field effect transistor Q23 is coupled with the source of the second field effect transistor Q22, the third field effect transistor Q23 is provided with a sixth voltage-regulating resistor R26 in parallel, and the source of the second field effect transistor Q22 is grounded.
The display device 2022 includes: the control capacitor C13, the first control diode D14 and the second control light-emitting diode D13 are respectively connected with the compressor in parallel, the control capacitor C13 is respectively coupled with the second voltage stabilizing device 2014 and the voltage control device 2021, the second control light-emitting diode D13 and the control capacitor are provided with a control resistor R27, and when the compressor works, the second control light-emitting diode D13 performs light reflection indication.
When the first voltage regulating field effect transistor Q21, the second voltage regulating field effect transistor Q22 and the third voltage regulating field effect transistor Q23 are all under the condition of disconnection, the compressor and the first voltage regulating resistor R24, the second voltage regulating resistor R25 and the third voltage regulating resistor R26 are equivalent to be arranged in series, the first limiting voltage, the second limiting voltage and the third limiting voltage at the moment are respectively smaller than the reference refrigeration voltage, the power of the compressor at the moment reaches a relatively stable minimum value, and the refrigeration intensity is minimum.
When the first voltage regulating field effect transistor Q21 and the second voltage regulating field effect transistor Q22 are in disconnection, and the third field effect transistor Q23 is in conduction, the compressor and the first voltage regulating resistor R24 and the second voltage regulating resistor R25 are equivalently connected in series, the first limit voltage and the second limit voltage at the moment are respectively smaller than the reference refrigeration voltage, the third limit voltage is respectively larger than the reference refrigeration voltage, the third voltage regulating resistor R26 is in short circuit, and the power of the compressor reaches a stable value at the moment.
When the first voltage regulating field effect transistor Q21, the second voltage regulating field effect transistor Q22 and the third voltage regulating field effect transistor Q23 are all under the condition of switching on, the supply voltage is not directly loaded to the compressor through the first voltage regulating resistor R24, the second voltage regulating resistor R25 and the third voltage regulating resistor R26 partial pressure, the first limit voltage, the second limit voltage and the third limit voltage at the moment are respectively greater than the reference refrigeration voltage, the power of the compressor reaches a relatively stable maximum value at the moment, and the refrigeration intensity is maximum.
By analogy, the conduction conditions of the three field effect transistors can be controlled according to the change of the voltage values of the reference refrigeration voltage, the first limit voltage, the second limit voltage and the third limit voltage, so that the purposes of changing the value of the loading voltage of the compressor and changing the electric power of the compressor are achieved. Different refrigeration voltages can be set according to different working temperatures of the server, so that the compressor has different working currents and working powers, for example, when the temperature of the server is higher, the current output to the compressor by the storage battery is controlled to be increased, and the power of the storage battery is increased to prevent the server from working abnormally due to overhigh temperature. For example, when the temperature of the server is low, the current output from the storage battery to the compressor is reduced, so that the power reduction thereof has the effect of saving energy.
The reference refrigeration voltage can be obtained through a first voltage regulating resistor R21, a second voltage regulating resistor R22 and a third voltage regulating resistor R23, wherein the second voltage regulating resistor R22 is a variable resistor, and the value of the reference refrigeration voltage can be changed by changing the value of the variable resistor.
For example: the first limiting voltage input by the forward input end of the first voltage regulating comparator U1 is 2V, the reference refrigeration voltage value input by the reverse input end of the first voltage regulating comparator U1 is 1V, at the moment, the first limiting voltage is greater than the reference refrigeration voltage, the first voltage regulating comparator U1 outputs high-level voltage to the grid electrode of the first voltage regulating field effect transistor, the first voltage regulating field effect transistor Q21 is conducted, the first voltage regulating resistor R24 which is connected with the first voltage regulating field effect transistor Q21 in parallel is short-circuited, and voltage division with the compressor cannot be carried out.
The protection unit 203 includes: the protection device comprises a protection comparator U4, a first protection resistor R31, a second protection resistor R32, a third protection resistor R33, a protection triode Q31 and a protection relay KA1, wherein a temperature sensor for detecting the temperature of the compressor is coupled to the positive input end of the protection comparator U4, and a protection voltage is input to the reverse input end of the protection comparator U4; the first protection resistor R31 is coupled to the output end of the protection comparator U4, the first protection resistor R31 and the second protection resistor R32 are grounded in series, and the node is coupled to the base of the protection triode Q31, the collector of the protection triode Q31 is respectively connected with the third protection resistor R33 and the relay coil KA1 of the protection relay KA1 in series, and the relay normally closed contact KA1 matched with the relay coil KA1 is coupled between the voltage raising unit 201 and the voltage control unit 202 for controlling the connection relationship between the two.
The positive input end of the protection comparator U4 is connected with a temperature sensor, the temperature sensor detects the temperature of the compressor and outputs the voltage value of the analog quantity, and the reverse input end of the protection comparator U4 inputs a protection voltage. When the temperature sensor detects that the temperature of the compressor is increased, the output voltage value is relatively increased, and when the voltage value is greater than the protection voltage, the protection comparator U4 outputs a high-level voltage signal to the first protection resistor R31, the first protection resistor R31 and the second protection resistor R32 divide the voltage to enable the protection triode Q31 to be conducted, and the relay coil KA1 and a third protection resistor R33 connected in series with the relay coil KA1 are respectively electrified. The relay coil KA1 controls the relay normally closed contact KA1 between the pressure raising unit 201 and the voltage control unit 202 to be disconnected, the compressor stops being electrified, and the compressor enters a work stopping state.
A method of patient assistance based on identification codes, as shown in fig. 10, comprising the steps of:
step S1, generating a prescription identification code according to the input prescription information and pasting the prescription identification code on the prescription, wherein the prescription information comprises a prescription code and a medicine name;
step S2, generating a medicine identification code according to the input medicine information and pasting the medicine identification code on the medicine;
step S3, the warehousing pharmacist end identifies the medicine identification code, generates medicine warehousing information and uploads the medicine warehousing information to the server, wherein the medicine warehousing information comprises medicine information and warehousing pharmacist information;
step S4, the doctor side identifies the prescription identification code to generate activation information and uploads the activation information to the server, wherein the activation information comprises the bound prescription information and an activation instruction;
step S5, the patient end sends the drug application information to the server and receives the drug application identification code sent by the server;
step S6, the ex-warehouse pharmacist identifies the prescription identification code provided by the patient, sends the prescription information identified based on the prescription identification code provided by the patient to a server, the server checks whether an activation instruction bound with the prescription information sent by the ex-warehouse pharmacist exists or not, and if the activation instruction bound exists, a response message is fed back to the ex-warehouse pharmacist; the ex-warehouse pharmacist end is further used for identifying the medicine identification code of the medicine to be ex-warehouse and the medicine application identification code provided by the patient after receiving the response message, acquiring corresponding medicine warehousing information and medicine application information from the server, and the server is further used for binding and storing the prescription information, the medicine warehousing information and the medicine application information identified by the ex-warehouse pharmacist end.
Wherein, the step S5 "the patient end sends the drug application information to the server and receives the drug application identification code sent by the server" includes:
step A1, the patient end sends the drug application information to the server, and the server checks the drug application information after receiving the drug application information and checks whether the drug application information is qualified;
and step A2, after the drug application information is qualified, generating a drug application identification code according to the drug application information, storing the drug application identification code and sending the drug application identification code to the patient terminal.
In one embodiment, the drug application information includes: any one or more of identity information, mobile phone information, illness state information, medicine name and introduction and certification information.
In one embodiment, the server further comprises a patient matching unit for calculating the similarity between two patients, wherein the similarity comprises a disease index, a gender index, a years index and the like. And the contact information of the two patients with higher similarity is obtained and sent to the patient ends of the two patients, so that the patients can exchange and encourage the illness state.
Wherein the drug application information comprises: the system comprises index such as patient identity information, a patient identity card, patient illness state information, medicine information required by a patient, family resident address, sex, annual income, family condition and the like, wherein each medicine application information corresponds to a corresponding contact way.
The patient matching unit is calculated by: the drug application information includes a plurality of pieces of first drug application information AiWherein the first drug application information AiIs set as1=(A1,A2,...,Ai,...,Am),AiDenotes the ith index in the first drug application information, m is the number of indexes of the first drug application information, wherein AiPatient identity information, patient identity cards, patient illness state information, patient required medicine information, family addresses, sex, annual income or indexes corresponding to family conditions, which are included in the first medicine application information; for example, A1An index representing the correspondence of patient identity information, A2Index representing patient identity card correspondenceAnd the like.
Obtaining second drug application information BjWherein the second drug application information BjIs set as2=(B1,B2,...,Bj,...,Bm),BjDenotes the jth index in the second drug application information, m is also the number of indexes of the second drug application information, wherein BjThe second drug application information comprises patient identity information, a patient identity card, patient illness state information, drug information required by the patient, a family address, gender, annual income or indexes corresponding to family conditions.
Calculating each first drug application information A according to formula (1)iWith second drug application information BjSimilarity of (2):
Figure GDA0001727664350000341
wherein A isiIndicates the i index, B, in the first drug application messagejIndicating a jth index in the second drug application information; | Ai∩BjI represents the same number of characters between the ith index in the first medicine application information and the jth index in the second medicine application information, and Ai∪BjI represents all the number of characters between the ith index in the first drug application information and the jth index in the second drug application information, where the ith index and the jth index are the same index, that is, the number of similarities determined in this embodiment is n.
In this embodiment, the home address information may include characters such as "first street of salt city in Jiangsu province", "second street of Suzhou city in Jiangsu province", and the like, and the patient condition information may include characters such as "effusion", "varicosity", "cancer", and the like.
The weight of each index is determined by the following formula, wherein the similarity J of the indexesδ(Ai,Bj) There are m, each X1,X2,……,XmIn one of the indexes, the similarity XiThere are n different states, i.e. Xi=xi1,xi2,……,xin
The probability distribution of each state is shown in formula 2;
P(xij)=pij (j=1,2,……,n) (2)
evaluation index similarity XiThe information entropy of (a) is as shown in formula 3;
Figure GDA0001727664350000351
the entropy weight determined by the information entropy is inversely proportional to the information entropy, so XiThe entropy weight of (a) is as shown in equation 4;
Figure GDA0001727664350000352
entropy weight determination X of indices integrating k degrees of similarityiThe final weight of (a), as shown in equation 5;
Figure GDA0001727664350000353
the two pieces of drug application information have k similarity calculation indexes, and a comprehensive similarity calculation method for generating and fusing k similarity calculation index results through the information entropy is shown as a formula 6;
Figure GDA0001727664350000354
sim is the correction result; siIndicates the similarity between the first and second drug application information at the i-th index, i.e., Jδ(Ai,Bi). And taking the value with the highest correction result as two pieces of medicine application information with the highest similarity, and sending the two pieces of contact information corresponding to the two pieces of medicine application information to a patient end respectively, so that the patients with similar illness states and similar states can conveniently communicate. Wherein, the index XiIncluding n different states, index XiEach state pair ofShould a similarity; for example, indicators of patient condition information include several states: cough, runny nose, fever, etc., at this time Xi1The similarity of the cough state times of two drug application messages (corresponding to two patients) can be expressed. Each index XiAnd performing multiple subdivision, and further determining the respective proportion of the cough state time, the snivel state time and the fever state time to determine the weight of each index, thereby improving the accuracy.
It should be understood that the above examples are only for clarity of illustration and are not intended to limit the embodiments. Other variations and modifications will be apparent to persons skilled in the art in light of the above description. And are neither required nor exhaustive of all embodiments. And obvious variations or modifications therefrom are within the scope of the invention.

Claims (8)

1. A patient assistance system based on an identification code, comprising:
the system comprises a server, a patient end, a doctor end, a warehousing pharmacist end, a ex-warehouse pharmacist end and an identification code generator;
the identification code generator is used for generating a medicine identification code and a prescription identification code, the medicine identification code is provided with medicine information and is arranged at a medicine place, the prescription identification code is provided with prescription information and is arranged at a prescription place, and the prescription information comprises a prescription code and a medicine name;
the warehousing pharmacist end is used for identifying the medicine identification code, generating medicine warehousing information and uploading the medicine warehousing information to the server;
the doctor end is used for identifying the prescription identification code, generating activation information and uploading the activation information to a server, wherein the activation information comprises a binding activation instruction and prescription information;
the patient side is used for sending the drug application information to the server and receiving the corresponding drug application identification code sent by the server;
the ex-warehouse pharmacist end is used for identifying a prescription identification code provided by a patient and sending prescription information identified based on the prescription identification code provided by the patient to the server, the server checks whether an activation instruction bound with the prescription information sent by the ex-warehouse pharmacist end exists or not, and if the activation instruction bound exists, a response message is fed back to the ex-warehouse pharmacist end;
the ex-warehouse pharmacist end is further used for identifying the medicine identification code of the medicine to be ex-warehouse and the medicine application identification code provided by the patient after receiving the response message, and acquiring corresponding medicine warehousing information and medicine application information from the server, and the server is further used for binding and storing the prescription information, the medicine warehousing information and the medicine application information identified by the ex-warehouse pharmacist end;
the server includes: the system comprises a patient information receiving module, a patient information auditing module, a patient information sending module, a drug application identification code generating module and a drug application identification code storage module;
the patient information receiving module receives the drug application information sent by the patient side, and the patient information auditing module audits the drug application information;
after the audit is passed, the patient information sending module sends the drug application information to the drug application identification code generating module, and the drug application identification code generating module generates a drug application identification code;
the server drug application identification code is sent to the patient end and stored in the drug application identification code storage module.
2. The system of claim 1, wherein the warehousing pharmacist side and the ex-warehouse pharmacist side are the same pharmacist side; the identification code generator comprises a medicine identification code generator and a prescription identification code generator, wherein the medicine identification code generator generates a medicine identification code according to input medicine information, and the prescription identification code generator generates a prescription identification code according to input prescription information.
3. The system of claim 1, wherein,
the drug information includes: drug code, drug name, drug quantity, manufacturer, production lot number and expiration date;
the prescription information further includes: hospital name, physician name, expiration date;
the drug application information includes: patient identity information, patient identification cards, patient condition information, patient required drug information, and physician recommendation information.
4. The system according to claim 1, wherein the patient end, the doctor end, the warehousing pharmacist end and the ex-warehouse pharmacist end are respectively provided with a shell (1) and a lithium battery (1021), and a containing cavity for placing the lithium battery (1021) is arranged inside the shell (1);
lithium cell (1021) pass through electric energy connecting wire (103) and be connected with the commercial power, shell (1) be provided with automatic spiral mechanism, automatic spiral mechanism include:
the wire outlet through hole is respectively communicated with the containing cavity and the outside of the shell (1), the electric energy connecting wire (103) penetrates through the wire outlet through hole, one end of the electric energy connecting wire (103) is positioned in the shell (1) and connected with the lithium battery (1021), and the other end of the electric energy connecting wire (103) is positioned outside the shell (1);
the winding shaft (104) is perpendicular to the wire outlet through hole, the middle of the winding shaft (104) is located in the wire outlet through hole, and two sides of the winding shaft (104) are respectively in rolling connection with the shell (1) through bearings;
the first gear (105) is positioned in the shell (1), is coaxially arranged with the winding shaft (104), and is fixedly connected with the winding shaft;
a second gear (106) in mesh with said first gear (105), the ratio of said second gear to said first gear (105) being greater than two to one;
the second gear (106) is coaxially provided with a driving shaft (111), and two sides of the driving shaft (111) are respectively in rolling connection with the shell (1) through bearings;
a synchronous roller (107) is arranged on one side of the second gear (106), an open-loop circular sliding groove (108) is arranged on the shell (1), the synchronous roller further comprises an elastic piece (109), the elastic piece (109) is arranged in the circular sliding groove (108), one end of the elastic piece (109) is connected with the synchronous roller (107), the other end of the elastic piece (109) is fixedly connected with the open loop of the circular sliding groove (108), and the initial position of the synchronous roller (107) is located at the other end, opposite to the open loop, of the elastic piece (109);
one side of the electric energy connecting wire (103) which can be pulled outside the shell (1) is provided with a fixing bulge (112), and the fixing bulge (112) is clamped with the wire outlet through hole.
5. The system of claim 1, wherein,
still include and be used for right the air conditioner and the control system that the server cooled down, the compressor of air conditioner is controlled by the control system work, control system include:
the voltage boosting unit (201) comprises a power supply device (2011), a first voltage stabilizing device (2012), a voltage boosting device (2013) and a second voltage stabilizing device (2014) which are connected in sequence and used for outputting stable working voltage;
the voltage control unit (202) is coupled with the pressure increasing unit (201) and comprises a pressure control device (2021) and a display device (2022) which are sequentially connected, wherein the pressure control device (2021) is used for adjusting the value of the working voltage and loading the adjusted working voltage to the compressor through the display device (2022);
the protection unit (203) is used for detecting the temperature of the compressor and controlling the compressor M to stop working when the temperature of the compressor reaches a preset value;
the first voltage stabilizing device (2012) comprises a first voltage stabilizing resistor R11, a second voltage stabilizing resistor R12, a first voltage stabilizing triode Q11, a second voltage stabilizing triode Q12 and a first voltage stabilizing capacitor C11, wherein the first voltage stabilizing resistor R11 and the second voltage stabilizing resistor R12 are grounded in series, the first voltage stabilizing resistor R11 is connected with a key S, the node of the first voltage stabilizing resistor R11 and the node of the second voltage stabilizing resistor R12 are coupled with the base of the first voltage stabilizing triode Q11, the collector of the first voltage stabilizing triode Q11 is coupled with the emitter and the base of the second voltage stabilizing triode Q12, the node of the emitter and the base of the second voltage stabilizing triode Q353656 is coupled with the key S, and the base of the second voltage stabilizing triode Q12 is grounded in series with the first voltage stabilizing capacitor C11;
the boosting device (2013) comprises a transformer T, a primary coil of the transformer T is connected with the first voltage stabilizing device (2012), and a secondary coil of the transformer T is connected with the second voltage stabilizing device (2014);
the second voltage stabilizing device (2014) comprises a first voltage stabilizing diode D11, a second voltage stabilizing diode D12, a third voltage stabilizing resistor R13 and a second voltage stabilizing capacitor C12, the second voltage stabilizing diode D12 and the second voltage stabilizing capacitor C12 are respectively coupled with two ends of the secondary coil, the third voltage stabilizing resistor R13 is connected between the second voltage stabilizing diode D12 and the second voltage stabilizing capacitor C12, and a node of the third voltage stabilizing resistor R13 and the second voltage stabilizing capacitor C12 is coupled with the end of the secondary coil through the first voltage stabilizing diode D11;
the pressure control device (2021) comprises:
the first voltage regulating resistor R21, the second voltage regulating resistor R22 and the third voltage regulating resistor R23 are connected in series and grounded, and the first voltage regulating resistor R21, the second voltage regulating resistor R22 and the third voltage regulating resistor R23 are used for dividing voltage to provide reference refrigeration voltage;
the voltage-regulating circuit comprises a first voltage-regulating comparator U1 and a first voltage-regulating field-effect tube Q21 which are coupled, wherein the reverse input end of the first voltage-regulating comparator U1 is coupled with the nodes of a second voltage-regulating resistor R22 and a third voltage-regulating resistor R23, the forward input end of the first voltage-regulating comparator U1 is coupled with a first limit voltage, the output end of the first voltage-regulating comparator U1 is coupled with the grid electrode of the first voltage-regulating field-effect tube Q21, the drain electrode of the first voltage-regulating field-effect tube Q21 is coupled with a display device (2022), and a fourth voltage-regulating resistor R24 is arranged in parallel on the first voltage-regulating field-effect tube Q21;
a second voltage-regulating comparator U2 and a second voltage-regulating field-effect tube Q22 are coupled, the reverse input end of the second voltage-regulating comparator U2 is coupled with the nodes of a second voltage-regulating resistor R22 and a third voltage-regulating resistor R23, the forward input end of the second voltage-regulating comparator U2 is coupled with a second limit voltage, the output end of the second voltage-regulating comparator U2 is coupled with the grid electrode of the second field-effect tube Q22, the drain electrode of the second field-effect tube Q22 is coupled with the source electrode of the first voltage-regulating field-effect tube Q21, and the second field-effect tube Q22 is provided with a fifth voltage-regulating resistor R25 in parallel;
a third voltage-regulating comparator U3 and a third voltage-regulating field-effect tube Q23 are coupled, the reverse input end of the third voltage-regulating comparator U3 is coupled with the nodes of the second voltage-regulating resistor R22 and the third voltage-regulating resistor R23, the forward input end of the third voltage-regulating comparator U3 is coupled with a third limit voltage, the output end of the third voltage-regulating comparator U3 is coupled with the grid electrode of the third field-effect tube Q23, the drain electrode of the third field-effect tube Q23 is coupled with the source electrode of Q22 of the second field-effect tube, the third field-effect tube Q23 is provided with a sixth voltage-regulating resistor R26 in parallel, and the source electrode of the second field-effect tube Q22 is grounded;
the display device (2022) comprises:
the control capacitor C13, the first control diode D13 and the second control light emitting diode D14 that set up with the compressor parallel respectively, control capacitor C13 couple second voltage regulator device (2014) and accuse pressure device (2021) respectively, second control light emitting diode D14 and control capacitor C13 be provided with control resistance R13.
6. A method of patient assistance based on an identification code, comprising the steps of:
step S1, generating a prescription identification code according to the input prescription information and pasting the prescription identification code on the prescription, wherein the prescription information comprises a prescription code and a medicine name;
step S2, generating a medicine identification code according to the input medicine information and pasting the medicine identification code on the medicine;
step S3, the warehousing pharmacist end identifies the medicine identification code, generates medicine warehousing information and uploads the medicine warehousing information to the server, wherein the medicine warehousing information comprises medicine information and warehousing pharmacist information;
step S4, the doctor side identifies the prescription identification code to generate activation information and uploads the activation information to the server, wherein the activation information comprises the bound prescription information and an activation instruction;
step S5, the patient end sends the drug application information to the server and receives the drug application identification code sent by the server;
step S6, the ex-warehouse pharmacist identifies the prescription identification code provided by the patient, sends the prescription information identified based on the prescription identification code provided by the patient to the server, the server checks whether an activation instruction bound with the prescription information sent by the ex-warehouse pharmacist exists or not, and if the activation instruction bound exists, a response message is fed back to the ex-warehouse pharmacist; the ex-warehouse pharmacist end is further used for identifying the medicine identification code of the medicine to be ex-warehouse and the medicine application identification code provided by the patient after receiving the response message, and acquiring corresponding medicine warehousing information and medicine application information from the server, and the server is further used for binding and storing the prescription information, the medicine warehousing information and the medicine application information identified by the ex-warehouse pharmacist end;
the server includes: the system comprises a patient information receiving module, a patient information auditing module, a patient information sending module, a drug application identification code generating module and a drug application identification code storage module;
the patient information receiving module receives the drug application information sent by the patient side, and the patient information auditing module audits the drug application information;
after the audit is passed, the patient information sending module sends the drug application information to the drug application identification code generating module, and the drug application identification code generating module generates a drug application identification code;
the server drug application identification code is sent to the patient end and stored in the drug application identification code storage module.
7. The method of claim 6, wherein the step of the patient end sending the medication request information to the server and receiving the medication request identification code from the server comprises: the patient side sends the drug application information to the server, and the server receives the drug application information and then audits the drug application information to check whether the drug application information is qualified; and after the drug application information is qualified, generating a drug application identification code according to the drug application information, storing the drug application identification code and sending the drug application identification code to the patient terminal.
8. The method of claim 7, wherein the medication request information comprises: any one or more of identity information, mobile phone information, illness state information, medicine name and introduction and certification information.
CN201810570500.7A 2018-06-05 2018-06-05 Patient assistance system and method based on identification code Active CN108922587B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810570500.7A CN108922587B (en) 2018-06-05 2018-06-05 Patient assistance system and method based on identification code

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810570500.7A CN108922587B (en) 2018-06-05 2018-06-05 Patient assistance system and method based on identification code

Publications (2)

Publication Number Publication Date
CN108922587A CN108922587A (en) 2018-11-30
CN108922587B true CN108922587B (en) 2021-08-10

Family

ID=64419319

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810570500.7A Active CN108922587B (en) 2018-06-05 2018-06-05 Patient assistance system and method based on identification code

Country Status (1)

Country Link
CN (1) CN108922587B (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1762969A2 (en) * 2005-07-15 2007-03-14 Holding F.M. van der Vaart B.V. Method and device for the automated dispensing of packaged medicines on prescription as well as a label to be used therewith

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10424033B2 (en) * 2013-03-15 2019-09-24 Breg, Inc. Healthcare practice management systems and methods
CN204614008U (en) * 2015-02-16 2015-09-02 浙江康恩贝制药股份有限公司 Integrated information reviews the composite label management system with medication guide
CN106023466B (en) * 2016-05-13 2019-04-09 吴卫平 The interconnection of doctors and patients' prescription and intelligent drug storage dissemination system
CN107316222A (en) * 2017-06-01 2017-11-03 蔡勇 A kind of on-line off-line medicine purchase system being combined
CN206992678U (en) * 2017-06-12 2018-02-09 宁波市龙达世嘉机电设备有限公司 A kind of control system of electric wrench
CN107330292A (en) * 2017-07-14 2017-11-07 西藏大学 Medical diagnosis platform
CN107833374B (en) * 2017-12-12 2024-04-26 谭飞伍 Solar public charging equipment and system thereof

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1762969A2 (en) * 2005-07-15 2007-03-14 Holding F.M. van der Vaart B.V. Method and device for the automated dispensing of packaged medicines on prescription as well as a label to be used therewith

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
运用信息系统技术提高门诊药房服务水平;李伟煊等;《国际医药卫生导报》;20090101(第01期);全文 *

Also Published As

Publication number Publication date
CN108922587A (en) 2018-11-30

Similar Documents

Publication Publication Date Title
US11361279B2 (en) Communication device for vending machine and method of using the same
CA2684141C (en) Administering of medication
KR102414226B1 (en) Electronic device and method for controlling based on leakage state of battery in electronic device
CN206258936U (en) A kind of C++Builder language
AU2018222082A1 (en) Smart pill box, pill supply method and system thereof
US20160188648A1 (en) A residential management system
CN204614008U (en) Integrated information reviews the composite label management system with medication guide
US20120296794A1 (en) Systems and Methods for Auctioning Charging Times for Electric Vehicles
JP2007329983A (en) Charger and automatic teller's machine incorporating it and charging adapter
CA2836092A1 (en) Techniques to deliver multiple medications in a synchronized manner
KR20140063404A (en) Sensor tag and method for providing service using the sensor tag
CN108922587B (en) Patient assistance system and method based on identification code
CN203012813U (en) Distributed access control and attendance system based on two-dimension code
CN110020707A (en) The content display method and device of electronics price tag
Prince et al. Memories for the intelligent internet of things
CN104071513B (en) Medicine box stores equipment
KR20150083321A (en) System and method for providing measuring body temperature service
US9792622B2 (en) Communicating device data prior to establishing wireless power connection
EP2963604A1 (en) Method for recommending at least one item from a vending machine to a user
US11017894B1 (en) Infusion monitoring device and patient compliance system
EP3695413A1 (en) Portable medical data hub
JP2017117277A (en) Guidance information delivery system
CN106843048A (en) Hospital inspection reagent control system
WO2021014281A1 (en) Vending apparatus for aerosol generating articles
KR20160044967A (en) System and method for providing inquiry service of the medical supplies information using a mobile terminal

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
GR01 Patent grant
GR01 Patent grant