Disclosure of Invention
In view of the above, there is a need to provide a medicine identification alarm device, method and medicine box which can accurately and reliably identify the medicine.
In order to achieve the above object, in one aspect, an embodiment of the present invention provides a medicine identification alarm device, including:
a missing detection module; the missing detection module comprises at least two groups of detection units; any detection unit is used for detecting the missing state of the top of the medicine bottle and outputting a first state signal; the other detection unit is used for detecting the bottom missing state of the medicine bottle and outputting a second state signal;
a processor; the processor receives the first state signal and the second state signal and confirms whether the medicine bottle is in a full-missing state currently or not according to the first state signal and the second state signal; and the processor outputs an alarm instruction when detecting that the time length of the medicine bottle in the full-missing state reaches a preset value.
In one embodiment, the detection unit comprises a photoelectric switch and a comparator; the photoelectric switch comprises a light emitting tube and a light receiving tube; one end of the light emitting tube is used for connecting an external power supply, and the other end of the light emitting tube is used for grounding; the first input end of the comparator is respectively connected with one end of the light receiving tube and an external power supply, the second input end of the comparator is used for accessing a reference voltage, and the output end of the comparator is connected with the processor; the other end of the light receiving tube is used for grounding.
In one embodiment, the top of the medicine bottle is stored between the light emitting tube and the light receiving tube of any detection unit;
the other detection unit is arranged between the light emitting tube and the light receiving tube and used for storing the bottom of the medicine bottle.
In one embodiment, the detection unit further comprises a variable resistor;
the first stator pin of the variable resistor is used for connecting an external power supply, the second stator pin is used for grounding, and the rotor pin is connected with the second input end of the comparator to provide a reference voltage.
In one embodiment, the detection unit further comprises a power indication circuit;
the power supply indicating circuit comprises a light emitting diode D1, a resistor R1 and a filter capacitor C1; the anode of the light emitting diode D1 is used for connecting an external power supply, and the cathode of the light emitting diode D1 is used for connecting one end of the resistor R1; the other end of the resistor R1 is used for grounding; one end of the filter capacitor C1 is used for connecting an external power supply, and the other end is used for grounding.
In one embodiment, the detection unit further comprises a status indication circuit;
the state indicating circuit comprises a light emitting diode D2 and a resistor R2; the anode of the light emitting diode D2 is used for connecting an external power supply, and the cathode of the light emitting diode D2 is connected with one end of the resistor R2; the other end of the resistor R2 is connected with the output end of the comparator.
On one hand, the embodiment of the invention also provides a medicine identification alarm method, which is applied to any one of the medicine identification alarm devices, and the method comprises the following steps:
receiving a first status signal and a second status signal;
according to the first state signal and the second state signal, whether the medicine bottle is in a full-missing state is confirmed; and outputting an alarm instruction under the condition that the time length of the medicine bottle in the full-missing state reaches a preset value.
In one embodiment, the step of confirming the missing state of the vial based on the first state signal and the second state signal comprises:
and if the first state signal and the second state signal are both low level signals, confirming that the medicine bottle is in a full-missing state.
On the other hand, the embodiment of the invention also provides a medicine box, which comprises a medicine box body and a plurality of medicine identification alarm devices as described above;
the medicine box body comprises a plurality of accommodating cavities for accommodating medicine bottles; each accommodating cavity corresponds to each missing detection module one by one.
In one embodiment, the kit is a narcotic kit; the poison anesthetic box also comprises a remote terminal;
the remote terminal is connected with the processor.
One of the above technical solutions has the following advantages and beneficial effects:
the medicine identification alarm device comprises a missing detection module and a processor; the missing detection module comprises at least two groups of detection units; any detection unit is used for detecting the missing state of the top of the medicine bottle and outputting a first state signal; the other detection unit is used for detecting the bottom missing state of the medicine bottle and outputting a second state signal; the processor receives the first state signal and the second state signal and confirms whether the medicine bottle is in a full-missing state currently or not according to the first state signal and the second state signal; and the processor outputs an alarm instruction when detecting that the time length of the medicine bottle in the full-missing state reaches a preset value. The top missing state of the medicine bottle and the bottom missing state of the medicine bottle are detected through two groups of detection units in the missing detection module, and a first state signal and a second state signal corresponding to the top missing state and the bottom missing state are output. The processor may determine whether the vial is currently in a full missing state (i.e., the top and bottom of the vial are not detected) by receiving the first status signal and the second status signal. When the time length of the medicine bottle in the full-missing state reaches the preset time length, namely the medicine bottle is moved away and is not put back within the preset time length, an alarm signal is output to remind medical staff to put back the medicine bottle.
Detailed Description
To facilitate an understanding of the present application, the present application will now be described more fully with reference to the accompanying drawings. Embodiments of the present application are set forth in the accompanying drawings. This application may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein in the description of the present application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application.
It will be understood that, as used herein, the terms "first," "second," and the like may be used herein to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish one element from another. For example, a first resistance may be referred to as a second resistance, and similarly, a second resistance may be referred to as a first resistance, without departing from the scope of the present application. The first resistance and the second resistance are both resistances, but they are not the same resistance.
It is to be understood that "connection" in the following embodiments is to be understood as "electrical connection", "communication connection", and the like if the connected circuits, modules, units, and the like have communication of electrical signals or data with each other.
As used herein, the singular forms "a", "an" and "the" may include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises/comprising," "includes" or "including," etc., specify the presence of stated features, integers, steps, operations, components, parts, or combinations thereof, but do not preclude the presence or addition of one or more other features, integers, steps, operations, components, parts, or combinations thereof.
In the traditional business mode, the medicine circulation process is as follows: the doctor orders the medicines, then the nurse transfers the orders to the medicine management system of the pharmacy department, the pharmacy department arranges the medicines according to the orders, the medicines are distributed to the ward in time and batch mode, and finally the nurse distributes the medicines to the hands of the patient according to the distribution list. In this mode, the pharmacy department places and dispenses the medicine with a certain delay, errors are prone to occur in the process of handing over the medicine to the nurse, and the workload of the pharmacy department is increased when the medicine is urgent and is withdrawn. After the intelligent medicine cabinet management system is applied, the business process is changed from a traditional linear process to a star-shaped structure based on an intelligent medicine cabinet as a central process. In this mode, the pharmacy department can master the drug stock in the intelligent drug cabinet in real time, replenish the stock in time, recover and return drugs and the like; after sending the medical advice to the intelligent medicine cabinet management system, the nurse takes out the medicine for distribution according to the intelligent prompt of the intelligent medicine cabinet. According to the process, intermediate links in the traditional process are omitted, the workload of pharmacy departments and nurses is reduced, the medicine is supplied more timely, the responsibility of the pharmacy departments and the nurses in the ward in the medicine circulation process is cleared, and the whole process traceability of the medicine circulation process is realized.
However, the intelligent medicine cabinet has high purchase and maintenance costs, and for part of the medicines (such as narcotic) needing to be recovered from the medicine bottles, the problem of high error rate exists in the medicine recovery process. The medicine identification alarm equipment provided by the application can effectively solve the problems.
In one embodiment, there is provided a medication identification alarm device as shown in fig. 1, comprising:
a missing detection module; the missing detection module comprises at least two groups of detection units; any detection unit is used for detecting the missing state of the top of the medicine bottle and outputting a first state signal; the other detection unit is used for detecting the bottom missing state of the medicine bottle and outputting a second state signal;
a processor; processing and receiving the first state signal and the second state signal, and confirming whether the medicine bottle is in a full-missing state currently or not according to the first state signal and the second state signal; and the processor outputs an alarm instruction under the condition that the time length of the medicine bottle in the full-missing state reaches a preset value.
Wherein, the disappearance detects the module and is used for carrying out the disappearance to the top and the bottom of medicine bottle and detects. The detection unit may be any device in the art that can detect the vials. The type of the Processor is not limited, and the Processor may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), etc., and may be a device according to actual application situations; but may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components, etc.
Specifically, the missing detection module comprises at least two groups of detection units, wherein any one detection unit is used for detecting the top of the medicine bottle, and the other detection unit is used for detecting the bottom of the medicine bottle. The detection result is characterized by the first state signal and the second state signal. It should be noted that the missing detection module further includes 3 detection units or 4 detection units, and it is only necessary to ensure that there is a group of detection units to detect the missing state of the top of the medicine bottle and another group of detection units to detect the missing state of the bottom of the medicine bottle.
The processor may receive the first status signal and the second status signal by any means in the art. For example, the first state signal and the second state signal can be directly acquired by being connected to each detection unit through a line; forwarding the first status signal and the second status signal to the processor may also be performed, for example, by the wireless communication device. The disappearance of this application means can not detect corresponding medicine bottle position, and the top disappearance state of medicine bottle includes top disappearance state and top sound condition, and it is because medicine can destroy its top in order to draw the liquid medicine in the medicine bottle in the use to and in the use, thereby take out the medicine bottle and lead to detecting element can not detect the top of medicine bottle. The bottom missing state of the medicine bottle comprises a bottom missing state and a bottom intact state, and the medicine bottle can be taken out due to the medicine in the using process, so that the detection unit cannot detect the bottom of the medicine bottle. As described above, the state of the vial can be determined based on the bottom missing state and the top missing state of the vial. Namely: when the medicine bottle is in a top missing state and a bottom missing state, the medicine can be judged to be taken out at the moment (namely, the full missing state of the application); when the medicine bottle is in a top missing state and a bottom intact state, the medicine bottle can be judged to be used (the medicine top sealing cover is used for standby discarding); when the medicine bottle is in a top intact state and a bottom intact state, the medicine bottle can be judged to be a brand new medicine at the moment.
The processor confirms whether the medicine bottle is currently in a full-missing state according to the first state signal and the second state signal, namely whether the first state signal represents that the medicine bottle is in a top-missing state or not, and whether the second state signal represents that the medicine bottle is in a bottom-missing state or not. And when detecting that the medicine bottle is in a full-missing state, starting timing, and outputting an alarm instruction when timing to a preset value. The alarm instruction can be output to any equipment for alarming, such as an alarm device, a background terminal and the like.
Above-mentioned medicine discernment alarm device detects the top disappearance state of medicine bottle and the bottom disappearance state of medicine bottle through two sets of detecting element in the disappearance detection module to output first state signal and the second state signal that corresponds with it. The processor may determine whether the vial is currently in a full missing state (i.e., the top and bottom of the vial are not detected) by receiving the first status signal and the second status signal. When the time length of the medicine bottle in the full-missing state reaches the predicted time length, namely the medicine bottle is moved away and is not put back within the preset time length, an alarm signal is output to remind medical staff to put back the medicine bottle.
In one embodiment, as shown in fig. 2, the detection unit 10 (not shown in fig. 2) includes a photo switch 110 and a comparator 120; the photoelectric switch 110 includes a light emitting tube 111 and a light receiving tube 113; one end of the light emitting tube 111 is used for connecting an external power supply, and the other end is used for grounding; a first input end of the comparator 120 is connected to one end of the light receiving tube 113 and an external power VCC, respectively, a second input end is used for accessing a reference voltage, and an output end is connected to the processor; the other end of the light receiving tube 113 is used for grounding.
Specifically, the light emitting tube in the photoelectric switch keeps emitting light beams (such as infrared light) because it is always in the power-on state, and when the light receiving tube receives the light beams emitted by the light emitting tube, both ends of the light receiving tube can be conducted.
In the present application, if a completely new medicine is to be detected, the light emitted from the light emitting tube is blocked by the medicine with respect to the detection unit for detecting the top. Therefore, the light receiving tube is turned off, and the level of the first input terminal of the comparator is high (power supply voltage). With respect to the detection unit for detecting the bottom, the light emitted from the light emitting tube thereof is blocked by the medicine. Therefore, the light receiving tube is turned off, and the level of the first input terminal of the comparator is high (power supply voltage). The reference voltage of the second input terminal is less than the power supply voltage. Therefore, corresponding level signals can be generated to the processor according to the voltage comparison of the actual input first input end and the second input end. For example: under the condition that the first input end is a positive phase input end and the second input end is an inverted phase input end, the processor receives two high level signals.
If the used medicine is detected, the light emitted from the light emitting tube is projected onto the light receiving tube for the detection unit for detecting the top. Therefore, the light receiving tube is conducted, and the first input end of the comparator is grounded. With respect to the detection unit for detecting the bottom, the light emitted from the light emitting tube thereof is blocked by the medicine. Therefore, the light receiving tube is turned off, and the level of the first input terminal of the comparator is high (power supply voltage). The reference voltage of the second input terminal is less than the power supply voltage. Therefore, corresponding level signals can be generated to the processor according to the voltage comparison of the actual input first input end and the second input end. For example: the processor receives a high level signal and a low level signal when the first input terminal is a non-inverting input terminal and the second input terminal is an inverting input terminal.
If the medicine is taken out, the light emitted from the light emitting tube is projected onto the light receiving tube for the detection unit for detecting the top. The light receiving tube is conducted, and the first input end of the comparator is grounded. With respect to the detection unit for detecting the bottom, light emitted from the light-emitting tube thereof is projected onto the light-receiving tube. The light receiving tube is conducted, and the first input end of the comparator is grounded. Therefore, corresponding level signals can be generated to the processor according to the comparison of the voltages actually input into the first input end and the second input end. For example: under the condition that the first input end is a positive phase input end and the second input end is an inverted phase input end, the processor receives two low level signals.
Further, the detection unit further comprises a voltage stabilizing capacitor; one end of the voltage-stabilizing capacitor is connected with one end of the light receiving tube, and the other end of the voltage-stabilizing capacitor is connected with the other end of the light receiving tube. The voltage stabilizing capacitor is used for stabilizing the voltage at two ends of the light receiving tube. In one specific example, the regulated capacitance may be a capacitance of 0.1 μ F.
In one specific example, the top of the medicine bottle is stored between the light emitting tube and the light receiving tube of any detection unit;
the other detection unit is arranged between the light emitting tube and the light receiving tube and used for storing the bottom of the medicine bottle.
In one embodiment, as shown in fig. 3, the detection unit 10 (not shown in fig. 3) includes a photo switch 110 and a comparator 120; the photoelectric switch 110 includes a light emitting tube 111 and a light receiving tube 113; one end of the light emitting tube 111 is used for connecting an external power supply, and the other end is used for grounding; a first input end of the comparator 120 is connected to one end of the light receiving tube 113 and an external power VCC, respectively, a second input end is used for accessing a reference voltage, and an output end is connected to the processor; the other end of the light receiving tube 113 is used for grounding.
The detection unit further includes a variable resistor 130; the first stator pin of the variable resistor 130 is used for connecting an external power source, the second stator pin is used for grounding, and the rotor pin is connected to the second input terminal of the comparator 120 to provide a reference voltage. Furthermore, the device also comprises a current-limiting resistor; the first input end of the comparator is connected with an external power supply through a current-limiting resistor.
Specifically, for the medicine bottle, the light emitted from the light emitting tube is refracted to enter the light receiving tube due to the material of the medicine bottle, so that the phenomenon that the medicine bottle exists but the light receiving tube still receives part of the light beam is caused. The voltage value at the first input of the comparator is between 0 and the supply voltage. If the reference voltage is too low, the comparator may still output a signal indicative of the absence of a vial in the presence of a vial. In this case, the reference voltage may be adjusted by a variable resistor to prevent a false detection situation.
In one embodiment, as shown in fig. 4, the detection unit further includes a power indication circuit 140;
the power indication circuit 140 includes a light emitting diode D1, a resistor R1 and a filter capacitor C1; the anode of the light emitting diode D1 is used for connecting an external power supply, and the cathode of the light emitting diode D1 is used for connecting one end of the resistor R1; the other end of the resistor R1 is used for grounding; one end of the filter capacitor C1 is used for connecting an external power supply, and the other end is used for grounding.
Specifically, the power supply indicating circuit is used for reflecting the switching condition of the power supply. Under the condition of power supply, the light emitting diode lights up. The resistor C1 is used for current limiting. The filter capacitor C1 is used for filtering.
In one embodiment, the detection unit further comprises a status indication circuit 150 as shown in FIG. 5;
the status indication circuit 150 includes a light emitting diode D2 and a resistor R2; the anode of the light-emitting diode D2 is used for connecting an external power supply, and the cathode of the light-emitting diode D2 is connected with one end of the resistor R2; the other end of the resistor R2 is connected with the output end of the comparator.
Specifically, the status indicator circuit is used to allow the user to determine the status of the vial from an indicator light (light emitting diode). The anode of the light emitting diode D2 is used for connecting an external power supply, and the cathode is connected with the output end of the comparator through the resistor R2. When the comparator outputs a low level signal, the light emitting diode may light up. In this case, the first input terminal is a non-inverting input terminal, and the second input terminal is an inverting input terminal. When the obstacle exists, the comparator outputs a low level signal and the light emitting diode D2 lights up.
In one embodiment, as shown in fig. 6, there is provided a drug identification alarm method applied to the drug identification alarm device of any one of the above, the method comprising the steps of:
s610, receiving a first state signal and a second state signal;
the first state signal is used for representing whether the medicine bottle is in a top missing state or not, and the first state signal is used for representing whether the medicine bottle is in a bottom missing state or not.
In particular, the first status signal and the second status signal may be received by any means in the art. For example, the first status signal and the second status signal may be directly received through a wire, or the first status signal and the second status signal may be received through a wireless communication device.
S610, confirming whether the medicine bottle is in a full-missing state currently or not according to the first state signal and the second state signal; and outputting an alarm instruction under the condition that the time length of the medicine bottle in the full-missing state reaches a preset value.
Specifically, the full-missing state means that the top and bottom of the vial are not detected, i.e., the vial is removed. In operation practice, for special drugs (such as narcotic drugs), the empty bottles of the used narcotic drugs need to be recycled. When the time length for taking out the medicine bottle is detected to reach a preset value, an alarm instruction is output to remind medical staff to put back the empty bottle.
In one embodiment, the step of confirming the missing state of the vial based on the first state signal and the second state signal comprises:
and if the first state signal and the second state signal are both low level signals, confirming that the medicine bottle is in a full-missing state.
Specifically, the missing top state of the medicine bottle includes a missing top state and a good top state, which are caused by the fact that the medicine may damage the top thereof to extract the liquid medicine in the medicine bottle during the use, and the medicine bottle is taken out to cause the detection unit not to detect the top of the medicine bottle during the use. The bottom missing state of the medicine bottle comprises a bottom missing state and a bottom intact state, and the medicine bottle can be taken out due to the medicine in the using process, so that the detection unit cannot detect the bottom of the medicine bottle. When the medicine bottle is in the top missing state and the bottom missing state, the medicine bottle is in the full missing state. When the first input end of the comparator is a positive phase input end and the second input end is a negative phase input end, the first state signal and the second state signal are both low level signals when the medicine bottle is taken out.
It should be understood that, although the steps in the flowchart of fig. 6 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not limited to being performed in the exact order illustrated and, unless explicitly stated herein, may be performed in other orders. Moreover, at least a portion of the steps in fig. 6 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performance of the sub-steps or stages is not necessarily sequential, but may be performed in turn or alternately with other steps or at least a portion of the sub-steps or stages of other steps.
In one embodiment, a medicine box is further provided, which comprises a medicine box body and a plurality of medicine identification alarm devices according to any one of the above items;
the medicine box body comprises a plurality of accommodating cavities for accommodating medicine bottles; each accommodating cavity corresponds to each missing detection module one to one.
Specifically, the medicine identification alarm device comprises: a missing detection module and a processor; the missing detection module comprises at least two groups of detection units; any detection unit is used for detecting the missing state of the top of the medicine bottle and outputting a first state signal; the other detection unit is used for detecting the bottom missing state of the medicine bottle and outputting a second state signal; processing and receiving the first state signal and the second state signal, and determining whether the medicine bottle is in a full-missing state or not according to the first state signal and the second state signal; and the processor outputs an alarm instruction when detecting that the time length of the medicine bottle in the full-missing state reaches a preset value.
In one embodiment, the kit is a narcotic kit; the poison anesthetic box also comprises a remote terminal;
the remote terminal is connected with the processor.
Specifically, the medicine box is used for placing the narcotic. The poison anesthetic box also includes a remote terminal. The state data of the medicine bottles in the poison anesthetic box can be obtained through the processor, and the state data comprises brand new medicine quantity, used medicine quantity and the like. The drug supervisor can carry out data statistics on the drugs contained in the drug box through the remote terminal.
In one embodiment, there is provided a drug identification alarm device comprising:
the receiving module is used for receiving the first state signal and the second state signal;
the alarm module is used for confirming whether the medicine bottle is in a full-missing state currently or not according to the first state signal and the second state signal; and outputting an alarm instruction under the condition that the time length of the medicine bottle in the full-missing state reaches a preset value.
For the specific definition of the drug identification alarm device, reference may be made to the above definition of the drug identification alarm method, which is not described herein again. All or part of the modules in the medicine identification and alarm device can be realized by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of:
for receiving a first status signal and a second status signal;
according to the first state signal and the second state signal, whether the medicine bottle is in a full-missing state is confirmed; and outputting an alarm instruction under the condition that the time length of the medicine bottle in the full-missing state reaches a preset value.
In one embodiment, the computer program when executed by the processor further performs the steps of:
and if the first state signal and the second state signal are both low level signals, confirming that the medicine bottle is in a full-missing state.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous Link DRAM (SLDRAM), rambus DRAM (RDRAM), and interface DRAM (DRDRAM).
In the description herein, references to the description of "some embodiments," "other embodiments," "desired embodiments," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, a schematic description of the above terminology may not necessarily refer to the same embodiment or example.
The technical features of the embodiments described above may be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the embodiments described above are not described, but should be considered as being within the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present invention, and the description thereof is specific and detailed, but not to be understood as limiting the scope of the invention. It should be noted that various changes and modifications can be made by those skilled in the art without departing from the spirit of the invention, and these changes and modifications are all within the scope of the invention. Therefore, the protection scope of the present patent shall be subject to the appended claims.