Inspection support method and inspection support device
10937152 ยท 2021-03-02
Assignee
Inventors
Cpc classification
G06V10/772
PHYSICS
A61J2200/70
HUMAN NECESSITIES
G06F18/40
PHYSICS
G06F18/28
PHYSICS
International classification
Abstract
An object of the present invention is to provide an inspection support method and an inspection support device capable of easily inspecting packaged medicines. In accordance with the inspection support method and the inspection support device according to an aspect of the present invention, since images of packaged medicines and identification information items and quantities of medicines extracted from a prescription are displayed on a display device (display unit), a user can easily check whether or not the packaged medicines match those written in the prescription. Since master images are registered in a case where the determination of whether or not identification information items and quantities of the packaged medicines match the identification information items and quantities which are extracted from the prescription and are displayed is positive for all the medicines written in the prescription, it is possible to reduce a concern that inappropriate images will be registered as the master images. It is easy to align imaging conditions between the master images and collating target images, and it is possible to increase collation accuracy.
Claims
1. An inspection support method comprising: obtaining first images which are images of packaged medicines; extracting identification information items and quantities of medicines written in a prescription; displaying the obtained first images and the extracted identification information items and quantities on a display device; determining whether or not identification information items and quantities of the packaged medicines match the displayed identification information items and quantities based on an instruction input of a user including a) displaying for each medicine in the written prescription, one or more buttons for verifying a medicine type and quantity of the medicine type; b) accepting a user input for verification via the one or more buttons, and c) providing a positive determination when it is determined that the user activates a positive one of the buttons and providing a negative determination when the user activates a negative one of the buttons, the user verification occurring before a second matching performed by a processor; registering the first images as master images in a case where the determination result is positive for all the medicines written in the prescription; and collating whether or not the medicines packaged in each packaging bag match the medicines written in the prescription based on the registered master images and second images which are images obtained for each packaging bag.
2. The inspection support method according to claim 1, further comprising: storing the images and the identification information items in association with each other for the medicines included in the inspected packaging bag in a first storage device; and obtaining the images of the medicines written in the prescription while referring to the first storage device based on the extracted identification information items, wherein the images of the medicines obtained are displayed.
3. The inspection support method according to claim 1, further comprising: obtaining attribute information items of the medicines written in the prescription while referring to a second storage device that stores the attribute information items of the medicines based on the extracted identification information items, wherein the obtained attribute information items are displayed on the display device.
4. The inspection support method according to claim 3, wherein the attribute information includes at least one of a medicine type, a shape, a dimension, a color, or a stamp of the medicine.
5. The inspection support method according to claim 1, wherein a plurality of images obtained by imaging the packaged medicines in a plurality of different directions is obtained as the first images, and the plurality of images obtained as the first images is displayed.
6. The inspection support method according to claim 1, further comprising: outputting a warning in a case where the collating is not able to be performed and the medicines packaged in each packaging bag do not match the medicines written in the prescription as the result of the collating.
7. An inspection support device comprising: at least one processor circuit configured to: obtain first images which are images of packaged medicines; extract identification information items and quantities of medicines written in a prescription; control a display to display the obtained first images and the extracted identification information items and quantities; determine whether or not identification information items and quantities of the packaged medicines match the displayed identification information items and quantities based on an instruction input of a user including a) displaying for each medicine in the written prescription, one or more buttons for verifying a medicine type and quantity of the medicine type; b) accepting a user input for verification via the one or more buttons, and c) providing a positive determination when it is determined that the user activates a positive one of the buttons and providing a negative determination when the user activates a negative one of the buttons, the user verification occurring before a second matching performed by the processor circuit; register the first images as master images in a case where the determination result is positive for all the medicines written in the prescription; and collate whether or not the medicines packaged in each packaging bag match the medicines written in the prescription based on the registered master images and second images which are images obtained for each packaging bag.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1)
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
(11)
(12)
(13)
DESCRIPTION OF THE PREFERRED EMBODIMENTS
(14) Hereinafter, an embodiment of an inspection support method and an inspection support device according to an embodiment of the present invention will be described with reference to the accompanying drawings.
(15) <Configuration of Inspection Support Device>
(16)
(17) The camera 102 and the camera 104 are digital cameras, and image medicines packaged in a packaging bag. The camera 102 is disposed on an upper side in a transport direction of the packaging bag and the camera 104 is disposed on a lower side in the transport direction such that the packaged medicines can be captured in a plurality of different directions.
(18) The reader 106 reads prescription information. For example, the reader reads information items of a patient name, prescribed medicines, and quantities thereof from the prescription written on the paper through optical character recognition (OCR). In a case where a barcode indicating information regarding the prescribed medicines is recorded in the prescription, the barcode may be read, and thus, the information items of the prescribed medicines and the quantities thereof may be read. A user may read the prescription, and may input the prescription information by using an input device such as a keyboard of the operation unit 140.
(19) <Configuration of Processing Unit>
(20)
(21) The image obtaining unit 110A controls the camera 102 and the camera 104 obtains images of the medicines packaged in the packaging bag. The camera 102, the camera 104, and the image obtaining unit 110A constitute a first image obtaining unit. The information extracting unit 110B extracts patient information such as a name, and identification information items and quantities of the prescribed medicines from the prescription information read by the reader 106. The reader 106 and the information extracting unit 110B constitute an information extracting unit. The attribute information obtaining unit 110C obtains attribute information items of the medicines while referring to the storage unit 120 (attribute information 120D). The display controller 110D controls the display unit 130 to display. The determination unit 110E (determination unit) determines whether or not the identification information items and quantities of the packaged medicines match identification information items and quantities displayed on the display unit 130 based on an instruction input of the user. In a case where the determination result of the determination unit 110E is positive for all medicines written in the prescription, the master image registering unit 110F registers the images of the medicines packaged in the packaging bag as master images (master images 120A; see
(22) The details of the processes using the processing unit 110 having the aforementioned configuration will be described below.
(23) <Configuration of Storage Unit>
(24) The storage unit 120 (first storage device or second storage device) is a non-transitory recording medium such as a compact disk (CD), a digital versatile disk (DVD), a hard disk, or various semiconductor memories, and stores the images and the information items shown in
(25) At the time of performing the processes using the processing unit 110, the aforementioned image or information is read or written between the processing unit 110 and the storage unit 120.
(26) <Configurations of Display Unit and Operation Unit>
(27) The display unit 130 (display unit or display device) may comprise a display device such as a liquid crystal display, and may display the images of the packaged medicines, the identification information items (identification information 120C) and the images (the master images 120A and the medicine images 120B) of the medicines stored in the storage unit 120, and the prescription information (prescription information 120E). The operation unit 140 includes a pointing device such as a mouse and an input device such as a keyboard, and the user can operate an image or a button displayed on the display unit 130 by using the operation unit 140.
(28) <Processes of Inspection Support Method>
(29) Next, the processes of the inspection support method using the inspection support device 10 having the aforementioned configuration will be described.
(30) In a case where the process is started, the processing unit 110 (the image obtaining unit 110A) obtains the images of the medicines from above or from below of the packaging bags by the camera 102 and the camera 104 (step S100: first image obtaining step). The obtained images are displayed on the display unit 130 (to be described below).
(31) Subsequently, the processing unit 110 (the information extracting unit 110B) reads out the prescription by the reader 106 (step S110), and the information extracting unit 110B extracts the patient name, the identification information items and quantities of the medicines, and the usage directions written in the prescription (step S120: information extracting step). The processing unit may read the prescription information 120E which is read in advance and is stored in the storage unit 120, and may use the read prescription information. The identification information may be information, such as the names and active ingredient quantities of the medicines, capable of specifying the medicines, and may be the pharmaceutical code such as the YJ (medicine price information) code.
(32) The attribute information obtaining unit 110C obtains the attribute information items of the medicines written in the prescription while referring to the storage unit 120 (attribute information 120D) based on the identification information items extracted in step S120 (step S130: attribute information obtaining step). The image obtaining unit 110A obtains the images (the images of the inspected medicine) of the medicines written in the prescription while referring to the storage unit 120 (medicine image 120B) based on the identification information items extracted in step S120 (step S132: medicine image obtaining step).
(33) Subsequently, the display controller 110D displays the image and the information obtained in step S100 to step S132 on the display unit 130 (step S140: display step). The user checks whether or not the medicines packaged in the packaging bags match those written in the prescription through a displayed screen.
(34)
(35) It is assumed that A and B on the images i1 and i2 are respectively the stamps of the medicines A and B and are given on the front surfaces of the medicines. Accordingly, the images i1 and i2 represent the states in which one medicine A and one medicine B face upwards and one medicine A faces downwards.
(36) The region R3 is a region in which prescription data is displayed. In the example of
(37) It is assumed that the images i3A, i3B, i4A, and i4B are obtained for the medicine A and the medicine B through the past medicine inspection.
(38) The user checks whether or not the medicines packaged in the packaging bag match those written in the prescription while referring to the screen SC1 displayed in step S140. The processing unit 110 (determination unit 110E) sets a value of a counter indicating the number of medicines to be 1 (step S150).
(39) The user compares the images i1 and i2 of the medicines displayed in the region R2 with the prescription data displayed in the region R3, and checks whether or not the packaged medicines match those written in the prescription. Since the image i1 obtained by capturing the medicines packaged in the packaging bag from above in the transport direction and the image i2 obtained by capturing the packaged medicines from below in the transport direction are displayed in the region R2, even in a case where it is difficult to check the medicines due to the orientation or overlap of the medicines within the packaging bag, the user can easily check whether or not the packaged medicines match those written in the prescription, and it is possible to reduce a concern that the inappropriate images will be registered as the master image.
(40) In a case where the button B1 displayed on each medicine described in the prescription is clicked, a screen SC2 shown in
(41) In a case where two medicines A are included on the images i1 and i2, that is, in a case where the user can check that the identification information and quantity of the medicines A match those written in the prescription by using the aforementioned images and information items, the user clicks the button B2 by using the pointing device (not shown) provided on the operation unit 140. By doing this, for an i-th medicine, the determination unit 110E determines that the packaged medicine matches those written in the prescription (Yes in step S160: determination step). The determination unit 110E increases a value i of the counter (step S172), and repeats the determination for all the medicines (while the determination result of step S170 is No). In a case where the determination result is positive for all the medicines (determination result of step S170 is Yes), the master image registering unit 110F registers the images i1 and i2 as the master images (images of a master packaging bag) in the storage unit 120 (master images 120A) (step S180: master image registering step). It is assumed that the identification information items (identification information items 120C) and quantities of the medicines included in the packaging bag stored in association with each other, as the master images.
(42) In step S170, it is assumed that the determination result is positive in a case where the button B2 for OK is clicked for all the medicines and then the button B4 for confirming the determination is clicked.
(43) In a case where the button B3 is clicked for the medicine A or the medicine B (No in step S160), the warning unit 110H displays a screen SC3 shown in
(44) In a case where it is checked that the packaged medicines match the medicines written in the prescription (the packaged medicines are inspected) through the processes performed until step S180, the processing unit 110 (master image registering unit 110F) stores the images (medicine images 120B) of the individual medicines and the identification information items (identification information items 120C) in association with each other in the storage unit 120 (first storage device) (step S190: storing step). The images stored in step S190 are obtained in step S132 described above, and are displayed in step S140.
(45) As mentioned above, it has been described in the present embodiment that the images i1 and i2 obtained by imaging the packaged medicines in the plurality of different directions (from above and below the packaging bag) are displayed and are compared with the prescription data. The images i3A, i3B, i4A, and i4B for which it is checked that the packaged medicines match those written in the prescription may be displayed and may be collated with the images i1 and i2, and the attribute information items of the medicines may be referred to by clicking the button B1. The captured images are registered as the master images in a case where it is checked that all the medicines match those written in the prescription (the button B4 is clicked after the button B2 is clicked for all the medicines). As stated above, in the present embodiment, it is possible to easily register the master images, and a concern that the inappropriate images will be registered as the master images is low.
(46) In step S200, the collation unit 110G reads out the master images from the storage unit 120 (master images 120A). In a case where the collation is performed subsequently to the processes performed until step S190 (the registration of the master images), the process of step S200 may be omitted. In a case where the master images are read out, the images (second images) of the medicines packaged in the packaging bag are obtained as collating target images (step S210). In a case where the images for the first packaging bag are registered as the master images in the processes performed until step S190, images for the second and subsequent packaging bags are obtained in step S210.
(47) In a case where the collating target images are obtained in step S210, the collation unit 110G determines whether or not the master images can be collated with the collating target images (step S220: collation step). In a case where it is not possible to perform the collation due to the overlap of the medicines within the packaging bag, the determination result is negative (No in step S220), the processing unit proceeds to step S222, and the warning unit 110H outputs the warning (warning step).
(48) After the warning is output in step S222, the collation unit 110G determines whether or not to continue the collation (step S224). This determination may be performed based on an instruction input of the user through the operation unit 140, a message (for example, since the medicines overlap with each other, please separate the medicines) corresponding to the estimated cause by which it is not possible to perform the collation may be displayed on the display unit 130, and the determination result may be positive in a case where the process corresponding to this message is performed. In a case where the process is continued (Yes in step S224), the processing unit returns to step S210, and obtains the images again for the collating target packaging bag. In a case where the process is not continued (No in step S224), the processing unit proceeds to step S260.
(49) In a case where the result of step S220 indicates that it is possible to perform the collation, the processing unit proceeds to step S230, and collates the collating target images with the master images (collation step). For example, in step S230, the collation unit 110G can collate the packaged medicines and the quantities thereof by extracting a feature value of each medicine from the collating target images, extracting a feature value of each medicine from the master images, and comparing the extracted feature values. The shape, size, and color may be used as the feature value of the medicine. Local feature values such as the scale-invariant feature transform (SIFT) may be extracted, and the extracted local feature values may be used in the collation.
(50) As the result of the collation, in a case where the packaged medicines match those written in the prescription (Yes in step S240), the processing unit proceeds to step S250, and outputs the collation result (for example, the second packaging bag is packaged as written in the prescription) to the display unit 130. In a case where the packaged medicines do not match those written in the prescription (No in step S240), the processing unit proceeds to step S242 (warning step), outputs the warning, and then proceeds to step S260.
(51) In a case where the collation result (step S250) or the warning (step S242) is output, the collation unit 110G determines whether or not the collation for all the packaging bags is ended (step S260). In a case where the determination result is positive (Yes in step S260), the process is ended. In a case where the determination result is negative (No in step S260), the processing unit returns to step S210, and images images for the next packaging bag.
(52) As described above, according to the inspection support device and the inspection support method according to the present embodiment, it is possible to easily register the master images, and a concern that the inappropriate images will be registered as the master images is low. Accordingly, the user can easily inspect the packaged medicines.
(53) <Another Screen Example at the Time of Registering Master Images>
(54) Next, another example of a screen to be displayed at the time of registering the master images and an operation on the screen will be described. It has been described in the example shown in
(55)
(56) In the example shown in
(57) Since two medicines A prescribed in the example of
(58) The same processes as the processes performed for the medicine A are repeated for the medicine B. In a case where the button B4 is clicked in a state in which it is determined that the identification information and quantity of the medicine B match those written in the prescription (Yes in step S160 of
(59) In the present example, it is possible to easily check whether or not the packaged medicines match those written in the prescription by associating the images in this manner Since any of the images i1 and i2 of the packaged medicines and the corresponding images i3A to i4B are the images obtained by the inspection support device 10, it is easy to align imaging conditions, and it is possible to increase the accuracy of the collation. By doing this, in the present example, it is also possible to accurately and easily register the master images, and the user can easily inspect the packaged medicines.
(60)
(61) As stated above, in the present modification example, since the images of the medicines obtained from the storage unit 120 are displayed so as to correspond to the number of medicines written in the prescription, it is easy to associate the images. Accordingly, it is possible to accurately and easily register the master images, and the user can easily inspect the packaged medicines.
(62) In the aspects shown in
(63) The present invention is not limited to the above-described embodiment, other examples, and modification example, and may be modified without departing from the spirit of the present invention.
EXPLANATION OF REFERENCES
(64) 10: inspection support device
(65) 102: camera
(66) 104: camera
(67) 106: reader
(68) 110: processing unit
(69) 110A: image obtaining unit
(70) 110B: information extracting unit
(71) 110C: attribute information obtaining unit
(72) 110D: display controller
(73) 110E: determination unit
(74) 110F: master image registering unit
(75) 110G: collation unit
(76) 110H: warning unit
(77) 120: storage unit
(78) 120A: master image
(79) 120B: medicine image
(80) 120C: identification information
(81) 120D: attribute information
(82) 120E: prescription information
(83) 130: display unit
(84) 140: operation unit
(85) A1F: region
(86) A1R: region
(87) A2F: region
(88) A2R: region
(89) AI: attribute information
(90) B1: button
(91) B2: button
(92) B3: button
(93) B4: button
(94) B5: button
(95) B6: button
(96) R1: region
(97) R2: region
(98) R3: region
(99) R4: region
(100) R5: region
(101) S100 to S260: steps of inspection support method
(102) SC1: screen
(103) SC2: screen
(104) SC3: screen
(105) SC4: screen
(106) SC5: screen
(107) SC6: screen
(108) SC7: screen
(109) SC3A: message
(110) SC3B: message
(111) SC4A: message
(112) SC4B: message
(113) SC5A: message
(114) SC5B: message
(115) i1: image
(116) i2: image
(117) i3A: image
(118) i3B: image
(119) i4A: image
(120) i5A: image
(121) i5B: image