Audit support system, audit support program
Patent Information
- Application Number
- JP2024041745
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2020-11-12
- Filing Date
- 2024-03-15
- Publication Date
- 2025-02-20
- Estimated Expiration
- 2041-03-17
Smart Images

Figure 0007633578000001 
Figure 0007633578000002 
Figure 0007633578000003
Abstract
Description
[Technical field]
[0001] The present invention relates to an inspection support system and an inspection support program that support the inspection of a packaging process performed by a medicine dispensing device capable of performing a packaging process in which tablets are packaged according to the timing of taking the tablets. [Background technology]
[0002] There is known a medicine dispensing device that includes a plurality of tablet cassettes that store a plurality of types of tablets, dispenses tablets from each tablet cassette based on prescription data, and performs a packaging process in which the tablets are packaged in packaging materials for each administration timing (see, for example, Patent Document 1). In addition, the medicine dispensing device may photograph the tablets to be packaged, and perform an inspection process in which the photographed image is compared with a master image that is registered in advance as a correct image of the tablet. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] International Publication No. 2016 / 047569 Summary of the Invention [Problem to be solved by the invention]
[0004] However, when the photographing environment of the photographed image in the medicine dispensing device is different from the photographing environment of the master image, the accuracy of the inspection process based on the photographed image and the master image may be low. On the other hand, when a user visually checks each of the photographed images to determine whether or not the packaging process is appropriate, the inspection process is time-consuming.
[0005] An object of the present invention is to provide an inspection support system and an inspection support program that can efficiently perform inspection work based on photographed images of tablets. [Means for solving the problem]
[0006] The inspection support system of the present invention includes an acquisition processing unit that acquires individual photographed images of tablets dispensed by a medicine dispensing device capable of packaging tablets according to the timing of taking them, a classification processing unit that classifies each of the individual photographed images into a classification group based on a reference individual photographed image corresponding to each classification group among the individual photographed images, and a display processing unit that displays the classification results by the classification processing unit.
[0007] The inspection support system of the present invention includes an acquisition processing unit that acquires individual photographed images of tablets dispensed by a medicine dispensing device capable of packaging tablets according to the timing of taking them, and a classification editing unit that classifies each of the individual photographed images into the classification group corresponding to the display position in response to a user operation to move the individual photographed images to a display position corresponding to the classification group.
[0008] The inspection support program of the present invention is an inspection support program for causing a computer to execute an acquisition step of acquiring individual photographed images of tablets dispensed by a medicine dispensing device capable of packaging tablets according to the timing of taking them, a classification step of classifying each of the individual photographed images into a classification group based on a reference individual photographed image corresponding to each classification group among the individual photographed images, and a display step of displaying the classification results obtained by the classification step.
[0009] The inspection support program of the present invention is an inspection support program for causing a computer to execute an acquisition step of acquiring individual photographed images of tablets dispensed by a medicine dispensing device capable of packaging tablets according to the timing of taking them, and a classification editing step of displaying the individual photographed images and, in response to a user operation of moving the individual photographed images to a display position corresponding to the classification group, classifying the individual photographed images into the classification group corresponding to the display position. Effect of the Invention
[0010] According to the present invention, it is possible to provide an inspection support system and an inspection support program that are capable of efficiently performing inspection work based on photographed images of tablets. [Brief description of the drawings]
[0011] [Figure 1] FIG. 1 is a diagram showing the configuration of an audit support system according to an embodiment of the present invention. [Diagram 2] FIG. 2 is an external view of the medicine dispensing device according to the embodiment of the present invention. [Diagram 3] FIG. 3 is a diagram showing a configuration of a medicine dispensing apparatus according to the embodiment of the present invention. [Figure 4] FIG. 4 is a schematic diagram showing an internal configuration of the medicine dispensing device according to the embodiment of the present invention. [Diagram 5] FIG. 5 is a schematic diagram showing a rotation unit of the medicine dispensing apparatus according to the embodiment of the present invention. [Figure 6] FIG. 6 is a diagram showing an example of a packaging result in the medicine dispensing apparatus according to the embodiment of the present invention. [Figure 7] FIG. 7 is a diagram showing an example of allocation information used in the audit support system according to an embodiment of the present invention. [Figure 8] FIG. 8 is a diagram showing an example of drive correspondence information used in the inspection support system according to the embodiment of the present invention. [Figure 9] FIG. 9 is a flowchart showing an example of a medicine dispensing process executed by the inspection support system according to the embodiment of the present invention. [Figure 10] FIG. 10 is a flowchart showing an example of an audit support process executed by the audit support system according to an embodiment of the present invention. [Figure 11] FIG. 11 is a diagram showing an example of a display screen displayed by the audit support system according to an embodiment of the present invention. [Figure 12] FIG. 12 is a diagram showing an example of a display screen displayed by the audit support system according to an embodiment of the present invention. [Figure 13]FIG. 9 is a flowchart showing an example of a classification inspection process executed by the inspection support system according to an embodiment of the present invention. [Figure 14] FIG. 14 is a diagram showing an example of a display screen displayed by the audit support system according to an embodiment of the present invention. [Figure 15] FIG. 15 is a diagram showing an example of a display screen displayed by the audit support system according to an embodiment of the present invention. [Figure 16] FIG. 16 is a diagram showing an example of a display screen displayed by the audit support system according to an embodiment of the present invention. [Figure 17] FIG. 17 is a diagram showing an example of a display screen displayed by the audit support system according to an embodiment of the present invention. [Figure 18] FIG. 18 is a diagram showing an example of a display screen displayed by the audit support system according to an embodiment of the present invention. [Figure 19] FIG. 19 is a diagram showing an example of a display screen displayed by the audit support system according to an embodiment of the present invention. [Figure 20] FIG. 20 is a diagram showing an example of a display screen displayed by the audit support system according to an embodiment of the present invention. [Figure 21] FIG. 21 is a diagram showing an example of a display screen displayed by the audit support system according to an embodiment of the present invention. [Figure 22] FIG. 22 is a diagram showing an example of a display screen displayed by the audit support system according to an embodiment of the present invention. [Diagram 23] FIG. 23 is a diagram showing an example of a display screen displayed by the audit support system according to an embodiment of the present invention. [Figure 24] FIG. 24 is a diagram showing an example of a display screen displayed by the audit support system according to an embodiment of the present invention. [Diagram 25] FIG. 25 is a diagram showing an example of a display screen displayed by the audit support system according to an embodiment of the present invention. [Figure 26] FIG. 26 is a diagram showing an example of a display screen displayed by the audit support system according to an embodiment of the present invention. [Figure 27]FIG. 27 is a diagram showing an example of a display screen displayed by the audit support system according to an embodiment of the present invention. [Figure 28] FIG. 28 is a diagram showing an example of a display screen displayed by the audit support system according to an embodiment of the present invention. [Figure 29] FIG. 29 is a diagram showing an example of a display screen displayed by the audit support system according to an embodiment of the present invention. [Diagram 30] FIG. 30 is a diagram showing an example of a display screen displayed by the audit support system according to an embodiment of the present invention. [Diagram 31] FIG. 31 is a diagram showing an example of a display screen displayed by the audit support system according to an embodiment of the present invention. [Diagram 32] FIG. 32 is a diagram showing an example of a display screen displayed by the audit support system according to an embodiment of the present invention. [Diagram 33] FIG. 33 is a diagram showing an example of a display screen displayed by the audit support system according to an embodiment of the present invention. [Diagram 34] FIG. 34 is a diagram showing an example of a display screen displayed by the audit support system according to an embodiment of the present invention. [Diagram 35] FIG. 35 is a diagram showing an example of a display screen displayed by the audit support system according to an embodiment of the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0012] The configurations and processing functions described in the following embodiments can be selected and combined as desired.
[0013] 1, an inspection support system 1 according to an embodiment of the present invention includes a dispensing support device 2, one or more client terminals 3, one or more medicine dispensing devices 4, and one or more dispensing machines 5. Users of the inspection support system 1 according to this embodiment are doctors, nurses, pharmacists, technicians, medical office staff, etc. at medical institutions such as hospitals or pharmacies where the inspection support system 1 is used.
[0014] The dispensing support device 2, the client terminal 3, the medicine dispensing device 4, and the dispensing machine 5 are connected to each other via a communication network N1 such as a LAN or the Internet so as to be able to communicate wirelessly or wired. A higher-level system 6 such as an electronic medical record system or a prescription input terminal that inputs prescription data to the dispensing support device 2 is connected to the dispensing support device 2 via the communication network N1. It is also possible that the dispensing support device 2 is capable of reading the prescription data from a prescription, or that the prescription data can be input by a user operation in the dispensing support device 2. The prescription data includes information about a patient and information about the drug, such as the type, dosage, and usage of the drug prescribed to the patient.
[0015] [Dispensing Support Device 2] The dispensing support device 2 is a computer such as a server device including a control unit 21, a storage unit 22, a communication I / F 23, a display unit 24, an operation unit 25, a drive device 26, and a code reading unit 27. The dispensing support device 2 is placed inside or outside the medical institution where the inspection support system 1 is used.
[0016] The control unit 21 includes control devices such as a CPU, a ROM, a RAM, and an EEPROM (registered trademark, the same applies below).
[0017] For example, the control unit 21 has a function of generating prescription data for dispensing (dispensing data) for causing the medicine dispensing device 4 and the dispensing equipment 5 to execute dispensing processes such as packaging process or medicine dispensing process based on the prescription data, and inputting the prescription data to the medicine dispensing device 4 and the dispensing equipment 5. As a result, the medicine dispensing device 4 and the dispensing equipment 5 execute dispensing processes based on the prescription data. Note that the prescription data input from the higher-level system 6 may be input directly to the medicine dispensing device 4.
[0018] The storage unit 22 also stores various databases such as a patient master, a user master, a medicine database, a pharmaceutical master, etc. Furthermore, the storage unit 22 also stores the prescription data.
[0019] The patient master includes information about the patient, such as patient ID, name, sex, age, medical history, prescription drug history, family information, medical department, ward, and room, etc. The user master includes information about the user, such as the pharmacy name, pharmacist name, pharmacist ID, password, user group, and processing authority.
[0020] The medicine database stores information such as a medicine code, a medicine name, a JAN code, an RSS code, a medicine bottle code, a dosage form, a unit, a specific gravity, a medicine variety, a compounding change, an excipient medicine, a caution, an allergy information, and an attached document information for each medicine in association with each other. In addition, when the medicine is a tablet, the medicine database also stores information such as a tablet color, a tablet size, an engraving information, a master image of the tablet (an external image of the front and back of the tablet), and a display image DP described later in association with each tablet. The tablets include flat tablets (disk-shaped tablets), spherical tablets, capsule tablets, and the like. The engraving information is a character or a symbol attached to the tablet itself, such as the identification information of the tablet engraved on the tablet, or the identification information of the tablet printed on the tablet. The size of the tablet includes information such as the length, width, and thickness of the tablet.
[0021] The pharmaceutical master stores information similar to that in the pharmaceutical database regarding pharmaceuticals registered in the pharmaceutical database that are prescribed at the medical institution in which the inspection support system 1 is used.
[0022] The display unit 24 is a display unit such as a liquid crystal monitor that displays various information and operation screens according to control instructions from the control unit 21. The operation unit 25 is an operation unit such as a keyboard, mouse, and touch panel that accepts user operations, and inputs operation signals corresponding to user operations to the control unit 21. The operation unit 25 accepts various operation inputs, such as a selection operation of the prescription data on the display screen displayed on the display unit 24 and an issuance operation requesting the start of dispensing of the prescription data.
[0023] The code reading unit 27 is a barcode reader capable of reading code information (such as a barcode or a two-dimensional code). For example, the code reading unit 27 is used to read the prescription data or prescription identification information for identifying the prescription data from the code information written on a prescription. The prescription data read from the prescription or the prescription data acquired from the upper system 6 based on the prescription identification information is stored in the storage unit 22 by the control unit 21.
[0024] [Client terminal 3] The client terminal 3 is a personal computer including a control unit 31, a storage unit 32, a communication I / F 33, a display unit 34, an operation unit 35, and a code reading unit 36. Each of the client terminals 3 is disposed in the medical institution where the inspection support system 1 is used. Each of the client terminals 3 is an operation terminal that displays various information based on display data transmitted from the dispensing support device 2 and accepts user operations.
[0025] The display unit 34 is a display unit such as a liquid crystal display or an organic EL display that displays various information in accordance with control instructions from the control unit 31. The operation unit 35 is an operation unit operated by a user to input various information to the client terminal 3. Specifically, the operation unit 35 includes a keyboard, a mouse (pointing device), a touch panel, and the like that accept input operations on various operation screens displayed on the display unit 34.
[0026] The code reading unit 36 is a barcode reader capable of reading code information (such as a barcode or a two-dimensional code). For example, the code reading unit 36 is used to read the prescription data or prescription identification information for identifying the prescription data from the code information written on a prescription. The prescription data read from the prescription or the prescription data acquired from the upper system 6 based on the prescription identification information is input to the dispensing support device 2 by the control unit 31.
[0027] Then, the dispensing support device 2 executes various processes in response to user operations of the client terminal 3. Moreover, the control unit 31 of the client terminal 3 transmits an operation signal to the dispensing support device 2 in response to an operation input to the operation unit 35.
[0028] [Pharmacy equipment 5] The dispensing device 5 is a device used when dispensing medicines based on prescription data. The dispensing device 5 includes, in addition to a tablet packaging device that packages tablets like the medicine dispensing device 4, a powder medicine packaging device, a liquid medicine dispensing machine, a sheet dispensing device, and a picking assistance device.
[0029] [Medicine dispensing device 4] Here, the medicine dispensing device 4 will be described with reference to Figs. 2 to 12. The medicine dispensing device 4 is a dispensing device used for packaging tablets for each administration timing. The medicine dispensing device 4 may also be capable of packaging powdered medicine together with tablets. The configuration of the medicine dispensing device 4 is not limited to that described here as long as it is capable of packaging tablets for each administration timing.
[0030] 2, 3, and 4, the medicine dispensing device 4 includes a prescription control unit 501, a tablet supplying unit 502, a packaging unit 504, a packaging control unit 505, and a barcode reader 506. The dashed line in Fig. 4 indicates the movement path of the tablets.
[0031] The prescription control unit 501, the tablet supply unit 502, the packaging unit 504, and the packaging control unit 505 are connected by a bus N2. The medicine dispensing device 4 is controlled by the prescription control unit 501 and the packaging control unit 505, and the tablets supplied from the tablet supply unit 502 are packaged by the packaging unit 504 into packaging materials in packaging units such as the timing of administration, and dispensed.
[0032] [Prescription control unit 501] The prescription control unit 501 is a computer that comprehensively controls the medicine dispensing device 4. As shown in Fig. 2 and Fig. 3, the prescription control unit 501 includes a control unit 510, a storage unit 520, a display unit 530, an operation unit 540, a communication IF 550, and the like.
[0033] The control unit 510 is a control means having a CPU, a RAM, a ROM, an EEPROM, and the like.
[0034] The memory unit 520 stores a medicine dispensing program for causing a computer such as the control unit 510 to execute a medicine dispensing process (see left side of Figure 9) described below, and an inspection support program for causing a computer such as the control unit 510 to execute an inspection support process (see Figure 10) described below, and the like.
[0035] Also, in the storage unit 520, various databases such as the patient master, the user master, the medicine database, and the pharmaceutical master are stored, similarly to the dispensing support device 2. Furthermore, the storage unit 520 also stores information such as a cassette master, allocation information 521, and drive correspondence information 522. The allocation information 521 and the drive correspondence information 522 will be described later.
[0036] The cassette master is information indicating the correspondence between cassette identification information of each of the specified cassettes 41A described below and drug identification information of drugs assigned to each of the specified cassettes 41A.
[0037] The display unit 530 is a display means such as a liquid crystal monitor that displays various information and operation screens according to control instructions from the control unit 510. For example, the display unit 530 displays various information such as a prescription data input screen and a prescription data selection screen.
[0038] The operation unit 540 is an operation means such as an operation button, a keyboard, a mouse, and a touch panel that accepts user operations, and inputs operation signals corresponding to user operations to the control unit 510. The operation unit 540 accepts various operation inputs, such as an input operation of prescription data on the input screen displayed on the display unit 530, a selection operation of prescription data on the selection screen, and an issuing operation of prescription data requesting the start of packaging of the prescription data.
[0039] The communication IF 550 acquires the prescription data from the dispensing support device 2 and stores the prescription data in the storage unit 520. For example, the communication IF 550 monitors whether the prescription data is newly stored in a predetermined storage area of the storage unit 22 provided in the dispensing support device 2, and when the prescription data is newly stored in the predetermined storage area, reads the prescription data from the predetermined storage area. Of course, the communication IF 550 may receive the prescription data transmitted from the dispensing support device 2.
[0040] [Tablet supply unit 502] As shown in FIGS. 2 to 4, the tablet supplying unit 502 includes a plurality of medicine cassettes 41, a rotating unit 44, a manual dispensing unit 45, an imaging unit 46, a passage detection unit 47, a printing unit 48, a drawing unit 49, and the like.
[0041] The plurality of drug cassettes 41 include a plurality of fixed cassettes 41A capable of dispensing a predetermined specific type of tablet one tablet (unit amount) at a time, and a plurality of unspecified cassettes 41B capable of dispensing any type of tablet one tablet (unit amount) at a time by changing the driving conditions, etc. The tablets that can be dispensed by the fixed cassette 41A and the unspecified cassette 41B are solid drugs in various forms, such as disk-shaped, spherical, or capsule-shaped. In another embodiment, the type of the drug cassette 41 may be only one type of drug cassette, either the fixed cassette 41A or the unspecified cassette 41B. The fixed cassette 41A and the unspecified cassette 41B are disclosed, for example, in JP 2015-226844 A.
[0042] The manual distribution unit 45 is used for dispensing tablets that are not suitable for dispensing from the medicine cassette 41, such as a half tablet or a quarter tablet that is less than one tablet, and is provided so as to be retractable from the medicine dispensing device 4. The manual distribution unit 45 has a plurality of cells arranged in a matrix (grid). The cells correspond to packaging units (dosing timing units) in the packaging process executed by the medicine dispensing device 4.
[0043] Specifically, the manual distribution unit 45 is equipped with an opening / closing mechanism that can open and close the bottom surface of each of the cells in sequence, and the tablets placed in each of the cells are dispensed in sequence by opening the bottom surface of each of the cells in sequence using the opening / closing mechanism.
[0044] 4, the photographing unit 46 includes cameras 461-464 provided on a moving path of the tablets from the medicine cassette 41 to the packaging unit 504 and on a moving path of the tablets from the manual distribution unit 45 to the packaging unit 504. The photographing unit 46 also includes an illumination device 468 and an illumination device 469 used when the photographing unit 46 photographs the tablets.
[0045] The illumination device 468 is provided above the rotating unit 44, and is an annular light source used to illuminate the tablet when the tablet is photographed by the camera 462. The illumination device 469 is provided below the rotating unit 44, and is an annular light source used to illuminate the tablet when the tablet is photographed by the cameras 462 and 463. The illumination devices 468 and 469 are disposed at positions capable of illuminating the tablet placement unit 441 at a photographing position P3 (described later) where photographing is performed by the cameras 462 and 463.
[0046] The cameras 461-464 are used to photograph the tablets dispensed from the medicine cassette 41 or the manual dispensing unit 45 before the tablets are packaged in packaging paper by the packaging unit 504. In this embodiment, the cameras 461-464 are capable of photographing color images, but may be capable of photographing monochrome images. The photographed images of the tablets photographed by the cameras 461-464 are stored in the storage unit 520 by the control unit 510 in association with the timing of taking the tablets in the prescription data to be packaged when the photographed images were taken, and are also transmitted to the dispensing support device 2. For example, a photographed image of a tablet corresponding to a morning timing of taking the tablet on a certain date is associated with the morning timing of taking the tablet on that certain date.
[0047] 4, the camera 461 is used to photograph the tablets dispensed from the medicine cassette 41 and supplied to the tablet placement section 441 of the rotation unit 44. In addition, the camera 464 is used to photograph the tablets contained in the manual distribution unit 45.
[0048] The camera 462 and the camera 463 are used to photograph the tablets placed on the tablet placement portion 441 from two directions, that is, from above and below. Specifically, the camera 462 photographs the tablet placement portion 441 from above in a state in which the tablet placement portion 441 is illuminated from above by the lighting device 468, and outputs the photographed image as a first photographed image. The camera 462 photographs the tablet placement portion 441 from above in a state in which the tablet placement portion 441 is illuminated from below on the opposite side to the camera 462 by the lighting device 469, and outputs the photographed image as a second photographed image. The camera 463 photographs the tablet placement portion 441 from below in a state in which the tablet placement portion 441 is illuminated from below by the lighting device 469, and outputs the photographed image as a third photographed image. The photographing by the camera 462 and the camera 463 is performed at a specific timing after one or more tablets corresponding to one taking timing are all supplied to the tablet placing unit 441. Note that, as another embodiment, the tablet may be photographed in a state where it is contained in the medicine package 451 after the packaging process of the medicine dispensing device 4, and the first photographed image, the second photographed image, and the third photographed image may be acquired.
[0049] Then, the captured images such as the first captured image, the second captured image, and the third captured image are stored in the storage unit 520 and are also transmitted to the dispensing support device 2. For example, the first captured image, the second captured image, and the third captured image are stored or transmitted in association with prescription identification information such as a prescription ID for identifying the prescription data and dosage timing identification information capable of identifying the dosage timing in the prescription data. Specifically, the dosage timing identification information includes information on the number of the packet and information such as "morning", "afternoon", and "evening" as information capable of identifying the dosage timing corresponding to the captured image.
[0050] The passage detection unit 47 includes passage detection sensors 471-474, such as optical sensors, which detect the passage of the tablets on the tablet movement path from the medicine cassette 41 to the packaging unit 504 and on the tablet movement path from the manual preparation unit 45 to the packaging unit 504. Tablet detection signals by the passage detection sensors 471-474 are input to the control unit 510.
[0051] 4, the passage detection sensor 471 detects tablets dispensed from the medicine cassette 41, and the passage detection sensor 472 detects tablets dropping from the medicine cassette 41 to the rotating unit 44. The passage detection sensor 473 detects tablets dropping from the manual distribution unit 45 to the rotating unit 44. The passage detection sensor 474 detects tablets dropping from the rotating unit 44 to the packaging unit 504, and is disposed at a position where it can detect tablets dropping from a tip of a medicine introduction section 80 (described later) provided in the rotating unit 44.
[0052] The printing unit 48 can print information on the packaging paper before the tablets are accommodated in the packaging unit 504. For example, the printing unit 48 can print information such as the patient's name, the timing of taking the medicine (or the timing of taking the medicine), the name of the medicine, or the prescribed amount on the surface of the packaging paper. In addition, in the packaging unit 504, an empty medicine packet 451 on which one-dimensional or two-dimensional code information indicating prescription identification information such as a prescription ID for identifying the prescription data is printed is added to the beginning or end of a series of medicine packets 451 obtained by packaging processing based on one of the prescription data. The code information can be read by the code reading unit 27 and the code reading unit 36. The code information may be printed on each of the medicine packets 451.
[0053] The drawing unit 49 is equipped with a drawing section such as a pen or stamp that is capable of drawing predetermined specific symbols, letters or patterns using ink on the medicine packet 451 after the tablets have been contained in the packaging unit 504.
[0054] [Rotation unit 44] As shown in Figures 4 and 5, the rotation unit 44 includes six tablet placement sections 441, a unit rotation section 442, and a medicine introduction section 80. The unit rotation section 442 is supported by a base section (not shown) so as to be rotatable about a rotation axis extending in the vertical direction. Figure 5 is a schematic diagram showing the rotation unit 44 as viewed from above.
[0055] Each of the tablet placing sections 441 is a transparent placing section on which one or more tablets corresponding to each dosage timing supplied from the medicine cassette 41 or the manual distribution unit 45 are placed. Moreover, each of the tablet placing sections 441 is disposed in an opening penetrating the unit rotation section 442 in the vertical direction, and the tablets placed on the tablet placing section 441 can be visually observed from the vertical direction of the unit rotation section 442. This allows the cameras 462 and 463 to photograph the tablet placing section 441 from above and below, thereby photographing the tablets placed on the tablet placing section 441 from above and below.
[0056] The unit rotating section 442 has six tablet placement sections 441 arranged at 60° intervals around a predetermined rotation axis, and the unit rotating section 442 can rotate the tablet placement sections 441 around the predetermined rotation axis. Specifically, the unit rotating section 442 can move each of the tablet placement sections 441 to six positions in order: a drop position P1 of the tablet from the manual distribution unit 45, a drop position P2 of the tablet from the medicine cassette 41, a position P3 where the camera 462 and the camera 463 can take pictures, a reserve position P4, a reserve position P5, and a discharge position P6 to the medicine introduction section 80. The medicine introduction section 80 is not fixed to the unit rotating section 442, but is fixed to a fixing section (not shown), and does not rotate in conjunction with the rotation of the unit rotating section 442.
[0057] In the medicine dispensing device 4, the rotation timing of the tablet placing part 441 by the unit rotation part 442 is controlled, and tablets corresponding to each of the dosage timings dispensed from the medicine cassette 41 and the manual distribution unit 45 are supplied to one tablet placing part 441. That is, when the tablet placing part 441 reaches the photographable position P3, one or a plurality of tablets are placed on the tablet placing part 441 in units of the dosage timings.
[0058] At the photographable position P3, the tablets placed on the tablet placement unit 441 for each of the taking timings are photographed by the cameras 462 and 463. Specifically, in the medicine dispensing device 4, at the photographable position P3, the tablet placement unit 441 is photographed by the camera 462 in a first lighting state in which the lighting device 468 is turned on and the lighting device 469 is turned off, and the first photographed image is acquired. Thereafter, at the photographable position P3, the tablet placement unit 441 is photographed by the cameras 462 and 463 in a second lighting state in which the lighting device 468 is turned off and the lighting device 469 is turned on, and the second photographed image is acquired from the camera 462, and the third photographed image is acquired from the camera 463. Note that the configuration of the medicine dispensing device 4 for acquiring the first photographed image, the second photographed image, and the third photographed image is not limited to this. Furthermore, the order of capturing the first captured image, the second captured image, and the third captured image is not limited to this.
[0059] The bottom surface of the tablet placing section 441 can be opened and closed by a solenoid or a motor (not shown). When the bottom surface of the tablet placing section 441 is opened at the discharge position P6, the tablet placed on the tablet placing section 441 falls into the packaging unit 504 through the medicine introduction section 80, and is inserted into the medicine bag 451 in the packaging unit 504.
[0060] [Packaging unit 504] The packaging unit 504 accommodates tablets supplied from one or both of the medicine cassette 41 and the manual distribution unit 45 of the tablet supply unit 502 in one packaging paper in packaging units based on the timing of administration, etc. For example, the packaging unit 504 packs tablets in packaging units using transparent or semi-transparent roll-shaped packaging paper and seals them by welding or the like to form the medicine bag 451. As a result, the medicine bag sheet 900 in which tablets are accommodated in each of the medicine bags 451 in packaging units is discharged from the packaging unit 504.
[0061] 6 is a diagram showing an example of a medicine packaging sheet 900 discharged from the packaging unit 504. As shown in FIG. 6, a plurality of medicine packets 451, each containing a plurality of tablets, are continuously formed in the medicine packaging sheet 900, and dotted cut lines 452 (perforations) are formed between each of the medicine packets 451 for easily separating each of the medicine packets 451. The dotted cut lines 452 are formed in the medicine packaging sheet 900 within the packaging unit 504.
[0062] [Packaging control unit 505] As shown in FIG. 3, the packaging control unit 505 includes a control unit 551 and a memory unit 552, and controls the tablet supplying unit 502, the packaging unit 504, etc., to cause the medicine dispensing device 4 to perform packaging processing.
[0063] The control unit 551 is a control means having a CPU, a RAM, a ROM, an EEPROM, and the like.
[0064] The storage unit 552 stores in advance a packaging control program for causing a computer such as the control unit 551 to execute a packaging control process (see the right side of FIG. 9) described below.
[0065] [Barcode Reader 506] The barcode reader 506 can read a code for identifying a medicine from a JAN code, an RSS code, or a QR code written on a tablet container (box, bottle, etc.) or a PTP sheet provided on a medicine shelf in a pharmacy. The barcode reader 506 may be used to read the identification information when a blank medicine package 451 on which identification information for identifying the prescription data corresponding to the medicine package sheet 900 is printed is attached to the beginning or end of the medicine package sheet 900 (see FIG. 6). The information read by the barcode reader 506 is input to the prescription control unit 501 by wireless communication from the barcode reader 506. The barcode reader 506 is, for example, a portable terminal such as a PDA or a smartphone.
[0066] [Medicine dispensing process and packaging control process] 9, an example of a procedure of a medicine dispensing process executed by the control unit 510 of the prescription control unit 501 and a packaging control process executed by the control unit 551 of the packaging control unit 505 in the medicine dispensing device 4 will be described below. Here, the processing procedures (steps) executed by the control unit 510 are referred to as steps S1, S2, ..., and the processing procedures (steps) executed by the control unit 551 are referred to as steps S11, S12, ....
[0067] <Prescription control unit 501 side: Step S1> In step S1, the control unit 510 judges whether or not a prescription data issuance request has been made. Specifically, the control unit 510 judges that a prescription data issuance request has been made when an issuance operation for issuing preregistered prescription data has been performed on the operation unit 540.
[0068] Here, the control unit 510 keeps the process on standby at step S1 until the issuance request for the prescription data is made (No side of S1). On the other hand, when the control unit 510 determines that the issuance request for the prescription data has been made (Yes side of S1), it shifts the process to step S2.
[0069] <Prescription control unit 501 side: Step S2) In step S2, the control unit 510 judges whether or not the fixed cassette 41A corresponding to all the medicine information input as medicine information indicating the tablets to be dispensed by the prescription data exists. Specifically, the control unit 510 judges whether or not the prescription data includes tablets for which the corresponding fixed cassette 41A does not exist, based on the cassette master stored in the storage unit 520. Here, when it is judged that the fixed cassette 41A corresponding to at least one of the medicine information to be dispensed does not exist (No side of S2), the control unit 510 shifts the process to step S201.
[0070] On the other hand, when it is determined that the fixed cassettes 41A corresponding to all of the medicine information to be dispensed are present (Yes side of S2), the control unit 510 shifts the process to step S7. In this case, in step S7, a request to start a packaging process using each of the fixed cassettes 41A is transmitted to the control unit 551, and the packaging process is executed by the control unit 551.
[0071] <Prescription control unit 501 side: Step S201> In step S201, if the tablet to be dispensed is a tablet that is not suitable for dispensing from the drug cassette 41 (S201: Yes), the control unit 510 transitions the processing to step S202, and if the tablet to be dispensed is a tablet that is suitable for dispensing from the drug cassette 41 (S201: No), the control unit 510 transitions the processing to step S3.
[0072] <Prescription control unit 501 side: Step S202> In step S202, the control unit 510 assigns medicine information of tablets not suitable for dispensing from the unspecified cassette 41B to the manual distribution unit 45, and shifts the process to step S6.
[0073] <Prescription control unit 501 side: Step S3> In step S3, the control unit 510 assigns, among the medicine information to be dispensed input by the prescription data, medicine information for which the corresponding fixed cassette 41A does not exist, to the unallocated unspecified cassette 41B. When the prescription data includes a plurality of pieces of medicine information for which the corresponding fixed cassette 41A does not exist, the control unit 510 executes the assignment of the unspecified cassette 41B for each of the medicine information.
[0074] Specifically, the storage unit 520 stores the allocation information 521 indicating the allocation state between the unspecified cassette 41B and the medicine information. Here, FIG. 7 is a diagram showing an example of the allocation information 521. As shown in FIG. 7, in the allocation information 521, a medicine ID indicating the type of tablet currently allocated to each of the unspecified cassettes 41B is stored as medicine information. Note that instead of the medicine ID, medicine information such as a tablet name, a medicine code, and a JAN code (or an RSS code) may be stored. Also, it is assumed that cassette numbers C1, C2, ... are set in advance as the cassette identification information in the unspecified cassette 41B. The cassette identification information is also stored in an RFID tag provided in each of the unspecified cassettes 41B. Note that in the allocation information 521, the unspecified cassette 41B to which medicine information is not currently allocated is stored as being unallocated. Specifically, the allocation information 521 shown in Figure 7 indicates that, of the unspecified cassette 41B, cassette number "C1" is assigned drug information with drug ID "M11", cassette number "C3" is assigned drug information with drug ID "M12", and cassette numbers "C2" and "C4" have not yet been assigned drug information.
[0075] <Prescription control unit 501 side: Step S4> In step S4, the control unit 510 specifies the driving condition corresponding to the medicine information of the dispensing target based on the driving correspondence information 522 (see FIG. 8), and transmits the driving condition and the cassette identification information of the unspecified cassette 41B to which the medicine information is assigned to the control unit 551. As a result, the control unit 551 drives the unspecified cassette 41B according to the driving condition.
[0076] The driving correspondence information 522 is information indicating the correspondence between the medicine information and the driving conditions for dispensing tablets corresponding to the medicine information from the unspecified cassette 41B. Here, FIG. 8 is a diagram showing an example of the driving correspondence information 522. As shown in FIG. 8, the driving correspondence information 522 stores driving conditions that are set in advance corresponding to each of the medicine information. The driving conditions include a pre-driving condition related to the adjustment of the unspecified cassette 41B before starting dispensing tablets from the unspecified cassette 41B, a driving condition related to the drive control during dispensing of tablets from the unspecified cassette 41B, and a driving stop condition related to the drive control when dispensing of tablets from the unspecified cassette 41B is stopped. The pre-driving condition indicates the adjustment content of the unspecified cassette 41B so that the unspecified cassette 41B can dispense tablets indicated by the medicine information one tablet at a time.
[0077] <Packaging control unit 505 side: Step S11> Meanwhile, in the packaging control unit 505, the control unit 551 determines in step S11 whether or not the driving conditions have been received from the control unit 510. Here, if the driving conditions have been received (Yes side of S11), the control unit 551 shifts the process to step S12, and while the driving conditions have not been received (No side of S11), the control unit 551 shifts the process to step S13. The control unit 551 stores the driving conditions received from the control unit 510 in the memory unit 552 in association with the cassette identification information received together with the driving conditions.
[0078] <Packaging control unit 505 side: Step S12> In step S12, the control unit 551 drives the unspecified cassette 41B corresponding to the cassette identification information received together with the drive conditions in accordance with the preliminary drive conditions among the drive conditions. This makes it possible for the unspecified cassette 41B to dispense tablets indicated by the medicine information assigned in step S3 one tablet at a time, thereby making it possible to control the amount of tablets dispensed.
[0079] <Prescription control unit 501 side: Step S5> In step S5, the control unit 510 displays the medicine information assigned to the unspecified cassette 41B on a display unit provided in the unspecified cassette 41B to which the medicine information is assigned in step S3. The display unit of the unspecified cassette 41B is, for example, electronic paper.
[0080] <Prescription control unit 501 side: Step S6> In step S6, the control unit 510 judges whether or not a filling completion operation indicating that filling of tablets into the unspecified cassette 41B has been completed has been performed on the operation unit 540. Specifically, when the medicine information is assigned to the unspecified cassette 41B in step S3 and the medicine information is displayed on the display unit of the unspecified cassette 41B, the user removes the unspecified cassette 41B from the tablet supplying unit 502. Then, the user puts the required number of tablets into the unspecified cassette 41B while referring to the prescription corresponding to the prescription data or the medicine information displayed on the display unit of the unspecified cassette 41B. Thereafter, the user attaches the unspecified cassette 41B to the tablet supplying unit 502 and performs the filling completion operation on the operation unit 540.
[0081] Here, the control unit 510 keeps the process on hold at step S6 until the filling completion operation is performed (No side of S6). On the other hand, when it is determined that the filling completion operation has been performed (Yes side of S6), the control unit 510 shifts the process to step S7. Note that, when a plurality of pieces of medicine information are assigned to a plurality of the unspecified cassettes 41B at step S3, it is determined at step S6 whether the tablet filling completion operation has been performed for all the unspecified cassettes 41B corresponding to each piece of medicine information.
[0082] <Prescription control unit 501 side: Step S7> In step S7, the control unit 510 transmits a request to start packaging processing based on the prescription data to the control unit 551. In particular, for packaging processing of tablets not present in the fixed cassette 41A among tablets indicated by medicine information included in the prescription data as tablets to be dispensed, the control unit 510 transmits the request to start, for example, in the following manner.
[0083] First, the control unit 510 reads the cassette identification information of the unspecified cassette 41B from the RFID tag provided in the unspecified cassette 41B, and identifies the currently attached unspecified cassette 41B. Then, the control unit 510 identifies each of the unspecified cassettes 41B that contains tablets corresponding to the medicine information indicated in the prescription data, based on the allocation information 521, among the unspecified cassettes 41B, based on the prescription data. After that, the control unit 510 transmits to the control unit 551, for each piece of medicine information indicated in the prescription data, the cassette identification information of the unspecified cassette 41B to which the medicine information is assigned, and information required for packaging processing, such as the amount of tablets to be dispensed.
[0084] <Packaging control unit 505 side: Step S13> Meanwhile, in the packaging control unit 505, the control unit 551 determines in step S13 whether or not there is a request to start the packaging process from the control unit 510. Here, if the request to start the packaging process is received (Yes in S13), the control unit 551 shifts the process to step S14, and while the request to start the packaging process is not received (No in S13), the control unit 551 shifts the process to step S11.
[0085] <Packaging control unit 505 side: Step S14> In step S14, in response to the request to start the packaging process, the control unit 551 dispenses the necessary tablets using the medicine cassette 41 and the manual distribution unit 45 of the tablet supply unit 502, and executes the packaging process in which the tablets are packaged in package units based on the timing of administration, etc., using the packaging unit 504.
[0086] Incidentally, as described above, when the packaging process is executed in the medicine dispensing device 4, the control unit 551 photographs the tablets to be packaged using the camera 462 or the camera 463, and transmits the first photographed image, the second photographed image, and the third photographed image to the control unit 510. Then, the control unit 510 stores the first photographed image, the second photographed image, and the third photographed image in the storage unit 520 in association with each administration timing of the prescription data, and also transmits them to the dispensing support device 2.
[0087] <Packaging control unit 505 side: Step S15> Thereafter, when the packaging process in the step S14 is completed, the control section 551 transmits a packaging process completion notification to the control section 510 in the following step S15.
[0088] <Prescription control unit 501 side: Step S8> In the prescription control unit 501, the control unit 510 waits for a notification of completion of the packaging process from the control unit 551 (No side of S8). Then, when the control unit 510 receives a notification of completion of the packaging process (Yes side of S8), the control unit 510 shifts the process to step S9.
[0089] <Prescription control unit 501 side: Step S9> In the next step S9, the control section 510 displays a message indicating that dispensing has been completed on the display section of the unspecified cassette 41B from which dispensing has been completed.
[0090] Incidentally, the medicine dispensing device 4 may execute an inspection process in which a photographed image of a tablet to be packaged is compared with a master image that is registered in advance as a correct image of the tablet. However, if the photographing environment of the photographed image in the medicine dispensing device 4 is different from the photographing environment of the master image, the accuracy of the inspection process based on the photographed image and the master image may be low. On the other hand, when a user visually checks each of the photographed images to determine whether or not the packaging process is appropriate, the inspection process is time-consuming. In contrast, the inspection support system 1 makes it possible to efficiently perform the inspection work based on the photographed images of the tablets.
[0091] Specifically, in the inspection support system 1, the medicine dispensing device 4, the control unit 510 includes various processing units such as an acquisition processing unit 511, a classification processing unit 512, a display processing unit 513, a classification editing unit 514, and a classification identification unit 515. The control unit 510 functions as the various processing units by executing various processes according to the inspection support program.
[0092] In this embodiment, the case will be described as an example of the inspection support system according to the present invention, in which the inspection support system 1 including at least the medicine dispensing device 4 is an example of the inspection support system according to the present invention. On the other hand, in the case where the various processing units are distributed to two or three of the dispensing support device 2, the client terminal 3, and the medicine dispensing device 4, the inspection support system 1 including two or three of the dispensing support device 2, the client terminal 3, and the medicine dispensing device 4 may be regarded as the inspection support system according to the present invention.
[0093] The acquisition processing unit 511 acquires individual photographed images MP of the tablets to be packaged by the medicine dispensing device 4 on a tablet-by-tablet basis. Specifically, the acquisition processing unit 511 acquires individual photographed images MP of the tablets on a tablet-by-tablet basis from photographed images taken by the photographing unit 46 in the medicine dispensing device 4. In particular, in this embodiment, the photographing unit 46 photographs the tablets to be packaged on a package-by-pack basis (each dose timing unit), and the acquisition processing unit 511 acquires the individual photographed images MP corresponding to each tablet by trimming the image of each tablet from the photographed image taken by the photographing unit 46. In addition, as another embodiment, the medicine dispensing device 4 may include a photographing unit capable of photographing the medicine package 451 after the tablets are packaged, and the acquisition processing unit 511 may acquire the individual photographed images MP of the tablets packaged in the medicine package 451 from the photographed image of the medicine package 451 taken by the photographing unit.
[0094] In addition, as another embodiment, the medicine dispensing device 4 may be configured to be able to photograph the tablets to be packaged one by one by the photographing unit 46. In this case, the acquisition processing unit 511 acquires an individual photographed image MP of the tablet by trimming the image of the tablet from the photographed image of the tablet photographed by the photographing unit 46 on a single tablet basis.
[0095] The classification processing unit 512 classifies each of the individual photographed images MP into the classification group based on a reference individual photographed image corresponding to each classification group among the individual photographed images MP. That is, the classification processing unit 512 classifies each of the individual photographed images MP acquired in the packaging process into the classification group based on the reference individual photographed image selected from the individual photographed images MP captured in one packaging process in the medicine dispensing device 4, not the master image registered in advance for each type of tablet in the medicine master or the like. Note that the one packaging process does not include packaging for one medicine package 451, but includes packaging for a plurality of medicine packages 451 executed based on one prescription data, for example. In addition, when the individual photographed image MP cannot be classified into the classification group based on the reference individual photographed image, there is a possibility that the classification group corresponding to the individual photographed image MP does not yet exist. Therefore, in this case, the classification processing unit 512 creates a new classification group using the individual photographed image MP as the reference individual photographed image. The classification processing unit 512 resets the classification group and the reference individual photographed image for each packaging process in the medicine dispensing apparatus 4. As a result, classification of each individual photographed image MP is performed based on the reference individual photographed image photographed in the same photographing environment (photographing distance or illuminance, etc.) as the individual photographed image MP when the packaging process is performed in the medicine dispensing apparatus 4.
[0096] Specifically, when the individual captured image MP satisfies a preset similarity condition in relation to the reference individual captured image corresponding to any one of the classification groups, the classification processing unit 512 classifies the individual captured image MP into the classification group corresponding to the reference individual captured image. In this embodiment, it is determined that the similarity condition is satisfied when the matching rate between the individual captured image MP and the reference individual captured image is equal to or greater than a preset similarity determination value. More specifically, it is considered that the classification processing unit 512 derives the matching rate between the individual captured image MP and the reference individual captured image based on the shapes and colors of the individual captured image MP and the reference individual captured image.
[0097] For example, the classification processing unit 512 derives the matching rate by image matching processing between the individual photographed image MP and the reference individual photographed image. The classification processing unit 512 may also derive the matching rate based on the outer dimensions of the individual photographed image MP and the outer dimensions of the reference individual photographed image. Furthermore, the shape is not limited to the outer shapes of the individual photographed image MP and the reference individual photographed image, but may also include characters or markings formed on the individual photographed image MP and the reference individual photographed image. The classification processing unit 512 digitizes the hues of the individual photographed image MP and the reference individual photographed image, and derives the matching rate of the digits as the color matching degree between the individual photographed image MP and the reference individual photographed image. After that, the classification processing unit 512 derives the matching rate between the individual photographed image MP and the reference individual photographed image by performing a specific calculation based on the matching rate of the shape and the matching rate of the color.
[0098] In addition, after deriving both the matching rate of the shape between the individual photographed image MP and the reference individual photographed image and the matching rate of the color between the individual photographed image MP and the reference individual photographed image, the lower of the matching rates may be used as the matching rate between the individual photographed image MP and the reference individual photographed image. In another embodiment, the similarity condition may be determined based only on the matching rate of the shape between the individual photographed image MP and the reference individual photographed image. Furthermore, when the matching rate of the shape between the individual photographed image MP and the reference individual photographed images is equal to or greater than the similarity determination value, the classification processing unit 512 may classify each of the individual photographed images MP into the classification group based on the matching rate of the color between the individual photographed image MP and the reference individual photographed images.
[0099] The display processing unit 513 executes processing for displaying the classification result by the classification processing unit 512. Specifically, the display processing unit 513 generates display data for displaying the classification result on the display unit 530, and causes the display unit 530 to display the classification result based on the display data. In addition, the display processing unit 513 may transmit the display data to the dispensing support device 2 or the client terminal 3, thereby causing the dispensing support device 2, the client terminal 3, or the like to display the classification result.
[0100] The classification editing unit 514 classifies the individual captured image MP into the classification group corresponding to the display position in response to a user operation of moving the individual captured image MP to the display position corresponding to the classification group. In this way, when there is an individual captured image MP that is not classified into the classification group by the classification processing unit 512, it is possible to classify the individual captured image MP into the classification group in response to a user operation. The classification editing unit 514 may also be capable of editing the relationship between the individual captured image MP classified by the classification processing unit 512 and the classification group.
[0101] The classification identification unit 515 identifies the type of the tablet corresponding to each of the classification groups. More specifically, the classification identification unit 515 identifies the type of tablet corresponding to each of the classification groups from among the types of tablets included as prescription drugs in the prescription data. For example, the classification identification unit 515 may identify the type of tablet corresponding to each of the classification groups based on the reference individual captured image corresponding to the classification group and a master image registered in advance in correspondence with the type of tablet. Then, the correspondence between the tablet type and the classification group identified by the classification identification unit 515 is displayed by the display processing unit 513.
[0102] In another embodiment, the classification specification unit 515 may specify the type of the tablets corresponding to each of the classification groups in response to a user operation. For example, the classification specification unit 515 displays a first screen for selecting the master image previously associated with each type of tablet to be packaged included in the prescription data on the display unit 530. Then, when the master image is selected on the first screen, the classification specification unit 515 displays a second screen for selecting the reference individual photographed image on the display unit 530. After that, when the reference individual photographed image is selected on the second screen, the classification specification unit 515 associates the classification group corresponding to the reference individual photographed image with the type of tablet corresponding to the master image selected on the first screen. Note that the classification specification unit 515 displays the reference individual photographed image corresponding to the classification group not associated with the type of tablet among the classification groups as a selection candidate on the second screen. On the other hand, the classification specifying unit 515 does not display, or displays in gray out form, the reference individual photographed image corresponding to the classification group already associated with the type of tablet on the second screen.
[0103] Furthermore, as another embodiment, the control unit 510 may support a user operation for identifying the type of the tablets corresponding to each of the classification groups. For example, the control unit 510 causes the display unit 530 to display a third screen for selecting the master image previously associated with each type of tablet to be packaged by the medicine dispensing device 4. Then, when the master image is selected on the third screen, the control unit 510 displays all the individual photographed images that satisfy the similarity condition in relation to the master image on the fourth screen. After that, when an approval operation is performed by the user, the control unit 510 classifies each of the individual photographed images into the classification group corresponding to the type of medicine corresponding to the master image, and identifies the type of medicine corresponding to the master image as the type of medicine corresponding to the classification group. That is, the classification by the classification processing unit 512 and the identification by the classification identification unit 515 are performed simultaneously. Note that the control unit 510 displays the individual photographed images MP that are not associated with the type of tablets in the classification group as selection candidates on the fourth screen. On the other hand, the control unit 510 does not display, or displays in grayout, the reference individual photographed image corresponding to the classification group already associated with the type of tablet on the fourth screen.
[0104] [Audit support processing] 10, an example of the procedure of the inspection support process executed by the control unit 510 of the medicine dispensing device 4 in the inspection support system 1 will be described. Note that the inspection support process may be executed by the control unit 21 of the dispensing support device 2.
[0105] The inspection support process is executed when a login operation is performed by a pharmacist having a preset inspection authority to the medicine dispensing device 4, or when an inspection start operation is performed to perform an inspection after the login operation. Note that login authentication to the medicine dispensing device 4 is performed based on the user master stored in the storage unit 520.
[0106] <Step S21> First, in step S21, the control unit 510 displays an inspection waiting list screen D1 for displaying a list of prescription data that are candidates for inspection on the client terminal 3. Here, Fig. 11 is a diagram showing an example of the inspection waiting list screen D1.
[0107] 11, the inspection waiting list screen D1 displays a list display area A11 in which a list of prescription data to be inspected is displayed. Specifically, the list display area A11 displays the prescription ID (prescription identification information), patient name (patient identification information), medication start date, and number of days included in the prescription data, as well as status information of a plurality of dispensing devices, such as the medicine dispensing device 4 and the dispensing device 5, connected to the inspection support system 1.
[0108] In addition, the inspection waiting list screen D1 displays operation keys K11, K12, etc. for accepting user operations. The operation key K11 is an operation key for displaying an inspection history screen D2 for displaying an inspection history by the inspection support process, and the operation key K12 is an operation part for displaying a first confirmation screen D3 for starting an inspection process for the prescription data. That is, the control part 510 can start an inspection of the preparation performed by a plurality of devices such as the medicine dispensing device 4 and the preparation device 5 in response to a user operation on the inspection waiting list screen D1. Note that, as another embodiment, only the prescription data for which the packaging process has been performed by the medicine dispensing device 4 may be displayed on the inspection waiting list screen D1.
[0109] <Step S22> In step S22, the control unit 510 determines whether or not a display operation of the inspection history screen D2 has been performed. Specifically, the control unit 510 determines that a display operation of the inspection history screen D2 has been performed when the operation key K11 on the inspection waiting list screen D1 has been operated. Then, when the control unit 510 determines that a display operation of the inspection history screen D2 has been performed (S22: Yes), it shifts the process to step S23, and when a display operation of the inspection history screen D2 has not been performed (S22: No), it shifts the process to step S24.
[0110] <Step S23> In step S23, the control unit 510 causes the inspection history screen D2 to be displayed on the display unit 530. In this manner, the control unit 510 can display the inspection history of the dispensing performed in a plurality of dispensing devices such as the medicine dispensing device 4 and the dispensing device 5 in response to a user operation on the inspection waiting list screen D1.
[0111] Here, Fig. 12 is a diagram showing an example of the inspection history screen D2. As shown in Fig. 12, the inspection history screen D2 displays a list display area A21 in which a list of prescription data for which inspection has already been completed is displayed. The list display area A21 displays information such as a prescription ID (prescription identification information), a patient name (patient identification information), a medication start date, an inspector, and an inspection date and time included in the prescription data. The list display area A21 also displays "OK" indicating that the inspection results of the medicine dispensed by each of the medicine dispensing device 4 and the dispensing device 5 connected to the inspection support system 1 were appropriate, or "NG" indicating that the inspection result was an error.
[0112] <Step S24> In step S24, the control unit 510 judges whether the inspection start operation has been performed. Specifically, the control unit 510 judges that the inspection start operation has been performed when the operation key K12 is operated in a state in which the prescription data to be inspected is selected on the inspection waiting list screen D1. Then, when the control unit 510 judges that the inspection start operation has been performed (S24: Yes), it shifts the process to step S25, and when the inspection start operation has not been performed (S24: No), it shifts the process to step S27. Note that the control unit 510 also judges that the inspection start operation has been performed for the prescription data to be inspected when, for example, the barcode reader 506 reads code information written on the medicine package 451 and the prescription data is specified based on the code information.
[0113] <Step S25> In step S25, the control unit 510 executes an automatic quantity inspection process, and shifts the process to step S26. In the automatic quantity inspection process, the control unit 510 automatically determines whether the number of tablets to be packaged for each taking timing packaged in each medicine package 451 in the packaging process based on the prescription data to be inspected is appropriate.
[0114] Specifically, in the automatic quantity inspection process, the control unit 510 obtains the number of tablets to be packaged from the second captured image stored in the storage unit 520 in association with each taking timing of the prescription data selected as the inspection target. The second captured image is an image of one or more tablets captured in units of taking timings placed on the tablet placing unit 441. The control unit 510 counts the number of tablets based on the contour lines (edges) of the images of one or more tablets included in the second captured image.
[0115] Then, the control unit 510 judges whether or not the number of tablets acquired from the second captured image corresponding to the medicine package 451 matches the number of tablets to be packaged at the timing of taking the medicine corresponding to the medicine package 451. If the control unit 510 judges that the numbers of tablets match, it judges that the inspection result of the automatic quantity inspection process is "OK", and if it judges that the numbers of tablets do not match, it judges that the inspection result of the automatic quantity inspection process is "error". Note that, if the inspection result of the automatic quantity inspection process is "error", the control unit 510 displays the inspection result on the display unit 530. Furthermore, if the inspection result of the automatic quantity inspection process is "OK", the control unit 510 may display the inspection result on the display unit 530.
[0116] <Step S26> In step S26, the control unit 510 executes a classification inspection process for inspecting the packaging process based on the prescription data to be inspected, in units of classification groups. The classification inspection process will be described later.
[0117] <Step S27> In step S27, the control unit 510 judges whether or not a termination operation for terminating the audit support process has been performed by the user. If it is judged that the termination operation for the audit support process has been performed (S27: Yes), the audit support process ends, and if it is judged that the termination operation for the audit support process has not been performed (S27: No), the process returns to step S21.
[0118] [Classification inspection processing] An example of the classification inspection process executed in step S26 will be described below with reference to the flowchart of FIG.
[0119] <Step S30> In step S30, the control unit 510 acquires tablet images of tablets to be packaged corresponding to each of the intake timings from the first photographed image and the third photographed image stored in the storage unit 520 in association with each of the intake timings of the prescription data to be inspected. Then, the control unit 510 stores each of the tablet images in the storage unit 520 in association with the intake timings corresponding to each of the tablet images. In addition, the control unit 510 stores the tablet images of the same tablet in association with the positions of each tablet image in the first photographed image and the third photographed image as images of the front and back surfaces corresponding to the tablet. Specifically, the control unit 510 identifies a combination of tablet images of the same tablet based on the positions of the tablet images in the first photographed image and the third photographed image among the combinations of the tablet images acquired from the first photographed image and the tablet images acquired from the third photographed image, and associates the tablet images of the combination. Incidentally, the step S30 is one example of an acquisition step according to the present invention, and is executed by the acquisition processing unit 511 of the control unit 510.
[0120] Specifically, the control unit 510 cuts out the image of one or more tablets included in the captured image based on the contour line (edge) by a known trimming process, and acquires the cut image as a tablet image. The method of acquiring the tablet image from the captured image is not limited to this, and other known image processing techniques may be used. Furthermore, as another embodiment, when the medicine dispensing device 4 is configured to be able to individually photograph each tablet to be packaged in the packaging process by the photographing unit 46, the control unit 510 may acquire, as the tablet image, an image photographed in the packaging process or an image of the tablet trimmed from the image.
[0121] In the following, in this embodiment, the tablet image acquired from the first photographed image is used as the individual photographed image MP.
[0122] <Step S31> In step S31, the control unit 510 selects each of the individual photographed images MP acquired in step S30 as a processing target in order each time step S31 is executed. Specifically, the control unit 510 selects the individual photographed images MP as processing targets in order from the earliest in the ingestion timing associated in step S30. For example, when the tablets to be packaged corresponding to the ingestion timing of the first packet are five tablets, the individual photographed images MP for the five tablets associated with the ingestion timing are selected in order as processing targets, and then the individual photographed images MP associated with the ingestion timing of the second packet are selected in order.
[0123] <Step S32> In steps S32, S321, and S33, the control unit 510 executes a classification process of classifying each of the individual captured images MP into the classification group based on the reference individual captured images corresponding to each of the classification groups among the individual captured images MP. The classification process is executed by the classification processing unit 512 of the control unit 510.
[0124] First, in step S32, the control unit 510 determines whether or not the classification group corresponding to the individual captured image MP selected in step S31 exists. Specifically, the control unit 510 determines whether or not the reference individual captured image that satisfies the similarity condition exists in relation to the individual captured image MP, and if the reference individual captured image that satisfies the similarity condition exists, determines that the classification group corresponding to the individual captured image MP exists. As described above, the similarity condition is that the matching rate between the individual captured image MP and the reference individual captured image is equal to or greater than the similarity determination value.
[0125] Furthermore, the control unit 510 derives the matching rate between the individual captured image MP and each of the reference individual captured images, and when it is determined that the individual captured image MP satisfies the similarity condition in relation to a plurality of the reference individual captured images, it determines that the classification group corresponding to the individual captured image MP does not exist. That is, in the step S32, when the individual captured image MP satisfies the similarity condition in relation to only one of the reference individual captured images, it is determined that the classification group corresponding to the individual captured image MP exists. Note that, as another embodiment, the control unit 510 may derive the matching rate for each of the reference individual captured images in order for the individual captured image MP, and when it is determined that the similarity condition is satisfied, it may omit deriving the matching rate corresponding to the other reference individual captured images.
[0126] If it is determined that the classification group corresponding to the individual captured image MP exists (S32: Yes), the process proceeds to step S33, and if it is determined that the classification group corresponding to the individual captured image MP does not exist (S32: No), the process proceeds to step S321. The classification group is created for each classification inspection process, and is reset by the control unit 510 when the classification inspection process ends.
[0127] <Step S321> In step S321, the control unit 510 creates a new classification group with the individual captured image MP selected in step S31 as a reference individual captured image, and stores the new classification group in the storage unit 520. Note that the individual captured image MP set as the reference individual captured image corresponding to the classification group in step S321 is also classified into the classification group. As a result, in the step S32 executed thereafter, for the individual captured image MP that satisfies the similarity condition in relation to the reference individual captured image, it is determined that the classification group corresponding to the individual captured image MP exists.
[0128] <Step S33> In step S33, the control unit 510 stores the individual captured image MP selected in step S31 in the storage unit 520 in association with the classification group determined in step S32 to be the classification group corresponding to the individual captured image MP, and shifts the process to step S34. That is, when the individual captured image MP satisfies the similarity condition in relation to the reference individual captured image, the individual captured image MP is classified into the classification group corresponding to the reference individual captured image.
[0129] <Step S34> In step S34, the control unit 510 judges whether or not all the individual photographed images MP associated with the prescription data to be inspected have been selected as processing targets in step S31. If it is judged that all the individual photographed images MP have been selected as processing targets in step S31 (S34: Yes), the process proceeds to step S35. On the other hand, if it is judged that there is an individual photographed image MP that has not been selected as processing targets in step S31 (S34: No), the process returns to step S31.
[0130] <Step S35> In step S35, the control unit 510 executes a classification specification process for specifying the types of tablets corresponding to each of the classification groups created in step S321. Note that the step S35 is executed by the classification specification unit 515 of the control unit 510.
[0131] Specifically, the control unit 510 identifies the type of the tablet corresponding to each of the classification groups based on the reference individual photographed image corresponding to each of the classification groups created in step S321 and the master image registered in advance in the pharmaceutical master in correspondence with the type of the tablet included in the prescription data. For example, when the matching rate between the reference individual photographed image and the master image is equal to or greater than the similarity determination value, the control unit 510 identifies that the classification group corresponding to the reference individual photographed image and the type of the tablet corresponding to the master image are in a corresponding relationship. In addition, when the control unit 510 cannot identify the correspondence between the classification group and the type of the tablet based on the reference individual photographed image and the master image, it sets the classification group as an unclassified group. Furthermore, the control unit 510 also sets the classification group corresponding to the reference individual photographed image as an unclassified group when the matching rate between the reference individual photographed image and a plurality of the master images is equal to or greater than the similarity determination value.
[0132] In addition, when the control unit 510 cannot identify the correspondence between the classification group and the type of tablet based on the reference individual photographed image and the master image, the control unit 510 may identify the type of tablet corresponding to the classification group or classify the classification group into the unclassified group in response to a user operation. In addition, when the master image is not registered in the medicine master, the classification group and the type of tablet cannot be associated based on the master image. Therefore, in the step S35, the control unit 510 may not execute the identification process of the classification group based on the master image, but may identify the type of tablet corresponding to the classification group in response to a user operation or classify the classification group into the unclassified group.
[0133] <Step S36> In step S36, the control unit 510 judges whether the unclassified group exists. If it is judged that the unclassified group exists (S36: Yes), the process proceeds to step S361. On the other hand, if it is judged that the unclassified group does not exist (S36: No), the process proceeds to step S37. Note that if the unclassified group exists, it is the case that the individual photographed image MP that has not been associated with the type of tablet exists.
[0134] <Step S37> In step S37, the control unit 510 executes a classification display process for displaying the classification results of the individual captured images MP into the classification groups. Note that the step S37 is executed by the display processing unit 513 of the control unit 510.
[0135] Specifically, the control unit 510 causes the display unit 530 to display a first confirmation screen D3 on which each of the individual captured images MP is displayed in a state in which the classification group corresponding to the individual captured image MP can be identified, based on a result of the group identification process in step S35. The first confirmation screen D3 is a display screen used to confirm the classification status of each of the individual captured images MP into the classification group. Here, Fig. 14 is a diagram showing an example of the first confirmation screen D3.
[0136] In the following, in this embodiment, the contents of the prescription data to be inspected are taken three times a day (morning, afternoon, and evening) for seven days, and the prescribed medicines for each of the taking timings are two tablets of a medicine named "M1 capsule", one tablet of a medicine named "M2 tablet", one tablet of a medicine named "M3 tablet", and one tablet of a medicine named "M4 tablet". In other words, in the prescription data, the prescribed amount of the medicine named "M1 capsule" is "42 tablets", the prescribed amount of the medicine named "M2 tablet" is "21 tablets", the prescribed amount of the medicine named "M3 tablet" is "21 tablets", and the prescribed amount of the medicine named "M4 tablet" is "21 tablets".
[0137] 14, the first confirmation screen D3 includes areas A31, A32, A33, etc. In the area A31, basic information such as a prescription ID, a patient name, and an age is displayed.
[0138] Each of the areas A32 displays the name of the drug (drug identification information) of the type of tablet included as a prescription drug in the prescription data and the prescribed amount (number of tablets). For example, in FIG. 14, the area A32 displayed at the top corresponding to the drug name "M1 capsule" indicates that the type of tablet is "M1 capsule" and the prescribed amount is "42" tablets. Also, the area A32 displays the master image corresponding to the type of tablet. The area A32 may display not only the master image corresponding to the type of tablet, but also a display image DP (described later) corresponding to the type of tablet. Note that the area A32 may omit one or more of the drug name, the prescribed amount, and the master image.
[0139] Each of the areas A33 is an area where the individual captured images MP corresponding to the classification group are displayed. Specifically, in each of the areas A33, the individual captured images MP corresponding to the classification group are displayed at a display position inside an encircling line L1 indicating the range of the classification group corresponding to the area A33. This allows the user to easily grasp the classification group of each of the individual captured images MP. Note that the display method of the individual captured images MP and the classification group on the first confirmation screen D3 is not limited to this, as long as the combination of the individual captured images MP and the classification group is identifiable.
[0140] Moreover, the area A33 is displayed at a display position corresponding to the area A32 in which the tablet type specified in step S35 for the classification group of the area A33 is displayed. Specifically, the area A33 is displayed at a position adjacent to the area A32 corresponding to the tablet type associated with the classification group of the area A33. This allows the user to easily grasp the correspondence between the classification group and the tablet type. Note that the display method of the classification group and the tablet type on the first confirmation screen D3 is not limited to this, as long as the combination of the classification group and the tablet type can be identified.
[0141] In addition, the first confirmation screen D3 displays an operation key K32 for inputting confirmation of the classification of each of the individual tablet photographed images displayed on the first confirmation screen D3 into each of the classification groups. Then, in step S37, when the operation key K32 is operated by the user, the control unit 510 determines that the classification of each of the individual tablet photographed images into the classification groups is completed, and shifts the process to step S38.
[0142] In this embodiment, in the classification identification process in step S35, the control unit 510 automatically identifies the types of tablets corresponding to each of the classification groups. Meanwhile, as another embodiment, the control unit 510 may identify the types of tablets corresponding to each of the classification groups in response to a user operation. For example, FIG. 15 is a diagram showing a first confirmation screen D31 which is another example of the first confirmation screen D3. As shown in FIG. 15, the control unit 510 sequentially displays the areas A33 belonging to each classification group in the first confirmation screen D31 for each classification group. In addition, the first confirmation screen D31 displays an operation unit K321 and an operation key K322 for selecting a type of tablet to which the classification group displayed on the first confirmation screen D31 is to be associated. In the operation unit K321, it is possible to display and select the medicine name and the master image of the type of tablet which are selection candidates in response to a user operation. Then, when the type of tablet is selected by the operation unit K321 and the operation key K322 is operated, the control unit 510 associates the classification group with the selected type of tablet.
[0143] <Step S38> In step S38, the control unit 510 executes a medicine confirmation process for confirming the contents of the prescription data and the individual photographed image MP. The step S38 is executed by the display processing unit 513 of the control unit 510. Specifically, in the medicine confirmation process, the control unit 510 causes the display unit 530 to display a second confirmation screen D4 for confirming the correspondence between the types of tablets included in the prescription data and the classification groups. Here, FIG. 16 is a diagram showing an example of the second confirmation screen D4.
[0144] 16, the second confirmation screen D4 displays the area A31 and the area A32 in the same manner as the first confirmation screen D3. Moreover, the second confirmation screen D4 includes, instead of the area A33 (see FIG. 14), an area A34 in which identification information (packet number) of the dosing timing in the prescription data is displayed, and an area A35 in which the individual photographed image MP associated with the dosing timing is displayed.
[0145] In addition, the second confirmation screen D4 displays an operation key K33 for checking the individual photographed images MP corresponding to each type of tablet included in the prescription data in units of the classification group in association with each classification group. When the operation key K33 is operated, the control unit 510 stores in the storage unit 520 as an inspection result that the type of tablet included in the prescription data and the individual photographed images MP have been checked for the classification group corresponding to the operation key K33.
[0146] Furthermore, the second confirmation screen D4 displays an operation key K34 for collectively confirming the individual photographed images MP corresponding to all tablet types included in the prescription data. When the operation key K34 is operated, the control unit 510 stores in the storage unit 520 as an inspection result that confirmation has been performed for all tablet types included in the prescription data and the individual photographed images MP.
[0147] In addition, the second confirmation screen D4 displays all the individual photographed images MP corresponding to each type of tablet included in the prescription data. Meanwhile, as another embodiment, the individual photographed images MP may be divided and displayed on a plurality of second confirmation screens D41 for one or more types of tablets. For example, FIG. 17 is a diagram showing an example of a second confirmation screen D41 that displays the individual photographed images MP for the classification group corresponding to each tablet type for each tablet type included in the prescription data. In addition, in the second confirmation screen D41, the individual photographed images MP may be displayed for the classification group corresponding to each tablet type for two tablet types instead of one tablet type.
[0148] In FIG. 17, in the second confirmation screen D41, the individual photographed images MP belonging to the classification group corresponding to one medicine with the name "M1 Capsule" are displayed on one screen in units of the classification group. That is, in the second confirmation screen D41, the number of classification groups displayed on one screen is smaller than that of the second confirmation screen D4, so the display size of the individual photographed images MP is larger than that of the second confirmation screen D4. Note that two tablets of the medicine with the name "M1 Capsule" are included in one taking timing, and in the second confirmation screen D41, two of the individual photographed images MP are displayed in the area A35 corresponding to each taking timing. Then, the control unit 510 sequentially displays the second confirmation screen D41 corresponding to each type of tablet included in the prescription data every time the operation key K33 displayed on the second confirmation screen D41 is operated.
[0149] Thereafter, when the control unit 510 determines that a confirmation operation has been performed on the second confirmation screen D4 or on the second confirmation screen D4 for all tablet types included in the prescription data, it terminates the classification inspection process and transitions to the step S27 (see FIG. 10) of the inspection support process.
[0150] <Step S361> On the other hand, when it is determined in step S36 that the unclassified group exists, in the subsequent step S361, the control unit 510 executes a derivation process for deriving a matching rate between the individual captured image MP belonging to the unclassified group and each of the reference individual captured images, similar to the classification processing unit 512. The matching rate derived here can be used to determine whether or not there is a similar reference individual captured image for each of the individual captured images MP belonging to the unclassified group. In another embodiment, the derivation process may be executed for the individual captured images MP of all the classified groups including the unclassified group.
[0151] <Step S362> In step S362, the control unit 510 executes a classification editing process for editing the classification group corresponding to the individual captured image MP in response to a user operation, and returns the process to the step S36 after the classification editing process is completed. Note that the step S36 is an example of a classification editing step according to the present invention, and is executed by the classification editing unit 514. Specifically, the control unit 510 causes the display unit 530 to display an editing screen D32 on which each of the individual captured images MP is displayed in a state in which the classification group associated with each of the individual captured images MP is identifiable. Here, FIG. 18 is a diagram showing an example of the editing screen D32.
[0152] As shown in FIG. 18, the control unit 510 causes the editing screen D32 to display the areas A31, A32, and A33, similarly to the first confirmation screen D3.
[0153] In the editing screen D32, the area A32 corresponding to each of the tablet types and the area A33 corresponding to each of the classification groups are displayed in a manner that allows the mutual correspondence specified in the step S35 to be identified. Then, in the area A33, the individual photographed images MP classified into the classification group corresponding to the area A33 are displayed.
[0154] For example, in the editing screen D32, the display color of the drug name in each of the areas A32 may be the same as the display color of the surrounding line L1 indicating the range of each of the areas A33. This makes it possible to identify the area A33 corresponding to the area A32 for each classification group. In addition, the mutual correspondence between the area A32 and the area A33 may be identifiable by the display positions of the areas A32 and A33.
[0155] In Fig. 18, the state in which the surrounding lines L1 corresponding to the respective regions A33 are shown in different display colors is shown by different line types for convenience of illustration, but the surrounding lines L1 in the editing screen D32 may be solid lines. Hereinafter, in the editing screen D32, the region A33 corresponding to the medicine name "M2 tablet" in the region A32 may be referred to as region A331, the region A33 corresponding to the medicine name "M3 tablet" may be referred to as region A332, and the region A33 corresponding to the medicine name "M4 tablet" may be referred to as region A333.
[0156] Then, in the editing screen D32, the control unit 510 places each of the individual captured images MP in the areas A331 to A333 based on the matching rate of each of the individual captured images MP with the reference individual captured image derived in step S361, and sets the path and range of the encircling line L1 for each of the areas A331 to A333.
[0157] Specifically, when the individual captured image MP classified into the unclassified group satisfies a preset candidate condition in relation to the classification group corresponding to the area A331 and the classification group corresponding to the area A332, the surrounding line L1 is set so as to form an overlapping area A341 where the area A331 and the area A332 overlap, and the individual captured image MP is arranged in the overlapping area A341. For example, the candidate condition is that the matching rate between the individual captured image MP and the reference individual captured image is equal to or higher than a preset candidate determination value that is lower than the similarity determination value. In another embodiment, the satisfaction of the candidate condition may be determined based on either the matching rate of shape or the matching rate of color between the individual captured image MP and the reference individual captured image.
[0158] Similarly, if the individual captured image MP classified into the unclassified group satisfies the candidate condition in relation to the classification group corresponding to the area A332 and the classification group corresponding to the area A333, the surrounding line L1 is set so as to form an overlapping area A342 in which the area A332 and the area A333 overlap, and the individual captured image MP is placed within the overlapping area A342.
[0159] Furthermore, if the individual captured image MP classified into the unclassified group satisfies the candidate condition in relation to the classification group corresponding to the area A331 and the classification group corresponding to the area A333, the surrounding line L1 is set so as to form an overlapping area A343 where the area A331 and the area A333 overlap, and the individual captured image MP is placed within the overlapping area A343.
[0160] Furthermore, if the individual captured image MP classified into the unclassified group satisfies the candidate condition in relation to all of the classified groups corresponding to the areas A331 to A333, the surrounding line L1 is set so as to form an overlapping area A344 in which the areas A331 to A333 overlap, and the individual captured image MP is placed within the overlapping area A344.
[0161] The candidate determination value, which is a determination criterion for the candidate condition, is lower than the similarity determination value, which is a determination criterion for the similarity condition, and the candidate condition is a more relaxed condition than the similarity condition. Therefore, the individual captured image MP that is determined to satisfy the similarity condition in relation to the plurality of reference individual captured images in step S32 and classified into the unclassified group in step S35 satisfies the candidate condition in relation to the plurality of classification groups, and is arranged in any of the overlapping areas A341 to A344.
[0162] Incidentally, when a tablet is standing on the tablet placement section 441, the matching rate between the individual photographed image MP corresponding to the tablet and the reference individual photographed image corresponding to each type of tablet identified in the step S35 may be less than the candidate determination value, and it may be determined that the candidate condition is not satisfied between the individual photographed image MP and all of the classification groups. Therefore, when the individual photographed image MP does not satisfy the candidate condition between the classification groups corresponding to each type of tablet identified in the step S35, the individual photographed image MP is displayed at a display position separated from all of the areas A33.
[0163] In this way, the editing screen D32 shows the classification group corresponding to the reference individual captured image to which the individual captured image MP classified into the unclassified group is similar, so that the user can easily grasp the candidate classification destinations for the individual captured image MP.
[0164] Then, the control unit 510 edits the classification group corresponding to the individual captured image MP in response to a user operation on the operation unit 540 for changing the display position of the individual captured image MP on the editing screen D32. Specifically, the control unit 510 accepts a drag-and-drop operation for moving the individual captured image MP to a display position of an area that does not overlap with other areas A33 among the areas A33 corresponding to any one of the classification groups, using the touch panel or the mouse of the operation unit 540, as a classification operation for the individual captured image MP to the classification group corresponding to the area A33. Then, the control unit 510 moves the individual captured image MP within the range of the encircling line L1 of the area A33 to which the individual captured image MP is to be moved. For example, when an operation is performed to move the individual captured image MP displayed in the overlapping area A344 to an area of the area A331 excluding the overlapping areas A341, A343, and A344, the control unit 510 classifies the individual captured image MP into the classification group of "M2 tablet" corresponding to the area A331.
[0165] The control unit 510 can edit the classification group corresponding to the individual captured image MP only for the individual captured image MP corresponding to the unclassified group. In another embodiment, the control unit 510 can edit the classification group corresponding to the individual captured image MP for all the individual captured images MP.
[0166] Meanwhile, the control unit 510 can pop up a detail screen D311 including information on the dosage timing corresponding to the individual photographed image MP selected as the target for setting the classification group among the individual photographed images MP on the editing screen D32. Here, Fig. 19 is a diagram showing an example of the detail screen D311.
[0167] As shown in FIG. 19, the detailed screen D311 displays information on the dosage timing of the prescription data corresponding to the individual photographed image MP (third packet, morning) based on the dosage timing identification information associated with the dosage timing of the individual photographed image MP. The detailed screen D311 also displays the tablet images acquired from the first photographed image and the third photographed image associated with the dosage timing of the individual photographed image MP. This allows the user to perform a classification operation of the individual photographed image MP into the classification group while grasping information about the individual photographed image MP selected as the setting target. Note that the detailed screen D311 may display only either the dosage timing information or the tablet image.
[0168] 20, when all the individual captured images MP belonging to the unclassified group are moved from the overlapping areas A341 to A344 to one of the areas A33 by a user operation on the editing screen D32, the control unit 510 displays an operation key K32 for ending editing of the classification group on the editing screen D32. Then, when the operation key K32 is operated, the control unit 510 classifies each of the individual captured images MP into the classification group corresponding to the display position based on the display position of each of the individual captured images MP on the editing screen D32, ends the classification editing process in the step S362, and returns the process to the step S36.
[0169] As described above, in the inspection support system 1, the user can judge the suitability of the tablets contained in the multiple drug packets 451 packaged in the packaging process based on the prescription data for each classification group, and the inspection work can be performed efficiently. In particular, in the inspection support system 1, the classification of the individual photographed images MP into the classification data is performed using the reference individual photographed images selected from the individual photographed images MP, not the master image. Therefore, since the classification of the individual photographed images MP into the classification group is performed based on the individual photographed images MP and the reference individual photographed images taken in the same environment, the accuracy of the classification is high, and the inspection work can be performed efficiently. In addition, in the inspection support process, there is no need to perform character recognition processing to recognize characters engraved or printed on the front or back of the tablets.
[0170] In addition, in the steps S31 to S34, the tablet image acquired from the first photographed image is used as the individual photographed image MP. On the other hand, as another embodiment, the tablet image acquired from the third photographed image may be used as the individual photographed image MP. Furthermore, each process of the steps S31 to S34 may be executed based on the tablet images acquired from the first photographed image and the third photographed image corresponding to the taking timing. In this case, it is considered that the classification result of the tablet image acquired from the first photographed image corresponding to the taking timing and the tablet image acquired from the third photographed image, in which the number of classification groups into which the individual photographed image MP is classified is closer to the number of types of tablets included as prescription drugs in the prescription data, is adopted.
[0171] Furthermore, for the individual photographed image MP associated with the unclassified group in step S35, the processing from step S33 onwards may be re-executed with the tablet image obtained from the third photographed image at the taking timing corresponding to the individual photographed image MP as the individual photographed image MP.
[0172] In the above-mentioned steps S31 to S34, the individual photographed images MP are selected as processing targets in the order of the taking timing. Meanwhile, as another embodiment, instead of the above-mentioned steps S31 to S34, when the classification group is newly created in the above-mentioned step S33, the reference individual photographed image corresponding to the classification group and the individual photographed image MP that satisfies the similarity condition may be preferentially selected as processing targets.
[0173] [Other examples of classification editing processes] Here, another example of the classification editing process in step S362 will be described.
[0174] In step S362, the control unit 510 displays the editing screen D5 instead of the editing screen D32. Here, Fig. 21 is a diagram showing an example of an editing screen D5 which is another example of the editing screen D32. The editing screen D5 is a display screen similar to the first confirmation screen D3, and in addition to the first confirmation screen D3, an area A51 corresponding to the unclassified group is displayed. The individual captured images MP associated with the unclassified group are displayed in the area A51.
[0175] Then, when a user operation is performed on the editing screen D5 to select the individual captured image MP associated with the unclassified group, the control unit 510 pops up a detail screen D51 and a detail screen D61. Here, Fig. 22 is a diagram showing an example of the detail screen D51 and the detail screen D61.
[0176] The detailed screen D51 displays information on the dosage timing of the prescription data corresponding to the individual photographed image MP (7th packet, morning) based on the dosage timing identification information associated with the dosage timing of the individual photographed image MP. The detailed screen D51 also displays the tablet images acquired from the first photographed image and the third photographed image associated with the dosage timing of the individual photographed image MP. Note that the detailed screen D51 may display only either the dosage timing information or the tablet image.
[0177] The detailed screen D61 displays information on the taking timing (7th packet, morning) corresponding to the individual photographed image MP along with information such as the prescription ID of the prescription data and the patient name based on the prescription data and the taking timing identification information for the individual photographed image MP. The detailed screen D61 also displays a list of types of tablets to be taken at the taking timing, the master image corresponding to each type of tablet, and the individual photographed image MP associated with the type of tablet. Here, when the individual photographed image MP is not associated with a type of tablet among the types of tablets, the area A61 corresponding to the type of tablet is displayed identifiable in a color scheme such as red.
[0178] Then, when an operation of moving the individual photographed image MP to the area A61 of the detail screen D61 is performed on the editing screen D5, the control unit 510 associates the individual photographed image MP with the type of tablet corresponding to the area A61. That is, the control unit 510 classifies the individual photographed image MP into the classification group corresponding to the type of tablet. In addition, in the editing screen D5, as in the editing screen D32, when all the individual photographed images MP are classified into one of the classification groups, the operation key K32 is displayed, and the classification editing process is terminated in response to the operation of the operation key K32.
[0179] In this way, even when using the editing screen D5, the control unit 510 is able to classify the individual captured image MP into the classification group corresponding to the display position in response to a user operation of moving the individual captured image MP to the display position of the classification group.
[0180] In addition, when the number of the individual captured images MP belonging to the unclassified group is equal to or greater than a preset lower limit, the control unit 510 may use the editing screen D32 in the classification editing process in step S362, and when the number of the individual captured images MP belonging to the unclassified group is less than the lower limit, the control unit 510 may use the editing screen D5 in the classification editing process in step S362.
[0181] [Example of inspection results] Incidentally, after the automatic quantity inspection process and the classification inspection process are executed, the control unit 510 may display an inspection result screen D7 showing the inspection result for the prescription data to be processed. The inspection result screen D7 may be displayed at any timing in response to a user's request to display the inspection result for any of the prescription data. The inspection result screen D7 is displayed based on the results of the automatic quantity inspection process and the classification inspection process stored in the storage unit 520 in association with the prescription data. FIG. 23 is a diagram showing an example of the inspection result screen D7.
[0182] 23, on the inspection result screen D7, the names of the medicines indicating the types of the tablets included as prescription medicines in the prescription data and the number of the tablets per timing of taking the medicines are displayed along a first direction on the inspection result screen D7. Also, on the inspection result screen D7, the inspection results corresponding to each timing of taking the medicines are displayed along a second direction perpendicular to the first direction.
[0183] On the inspection result screen D7, as the inspection result, an image P11 corresponding to the first captured image for each of the dosing timings, the number of tablets contained in the image P11, and the result of the automatic quantity inspection for the number of tablets (OK, error, etc.) are displayed. Also, on the inspection result screen D7, for each type of tablet corresponding to each of the dosing timings, the individual captured image MP corresponding to the tablet type is displayed. Note that when there are multiple tablets of one type of tablet corresponding to one dosing timing, multiple individual captured images MP are displayed corresponding to the dosing timing.
[0184] Furthermore, when a display area of any of the individual photographed images MP or a drug name is selected on the inspection result screen D7, the control unit 510 displays a pop-up auxiliary screen D71 (see FIG. 23) including the master image preregistered in the drug master for the type of tablet corresponding to the selected display area. This allows the user to easily compare the individual photographed image MP with the master image.
[0185] [Other embodiments] In the following, description of other embodiments of the present invention will be omitted for components and processing steps that are the same as those of the audit support system 1 described in the above embodiment. The present invention may also be understood as an invention of an audit support system, an audit support method, and an audit support program that are configured by selecting some of the components or processing steps described in the above embodiment and the other embodiments.
[0186] In the above embodiment, a configuration has been described in which the suitability of tablets to be dispensed by the medicine dispensing device 4 can be determined by identifying the type of tablet corresponding to each of the individual photographed images MP belonging to the classification group of the reference individual photographed image based on the matching rate between the reference individual photographed image and the master image.
[0187] On the other hand, in the inspection support system 1, the suitability of the tablets dispensed by the medicine dispensing device 4 may be determined by identifying the type of tablet corresponding to each of the individual photographed images MP based on the matching rate between each of the individual photographed images MP and the master image. For example, instead of the steps S31 to S35 of the classification inspection process (see FIG. 13), the control unit 510 executes a tablet identification process for identifying the type of tablet corresponding to each of the individual photographed images MP based on the master image registered in the medicine master in association with each type of tablet included in the prescription data, rather than the reference individual photographed image. The tablet identification process is executed by the classification identification unit 515 of the control unit 510.
[0188] In the tablet identification process, when the matching rate between the individual photographed image MP and the master image is equal to or greater than the similarity determination value, the control unit 510 identifies the type of tablet corresponding to the individual photographed image MP as the type of tablet corresponding to the master image. On the other hand, when there is no master image having the matching rate equal to or greater than the similarity determination value in relation to the individual photographed image MP, or when there are a plurality of master images having the matching rate equal to or greater than the similarity determination value in relation to the individual photographed image MP, the control unit 510 classifies the individual photographed image MP into the unclassified group. In the tablet identification process, the individual photographed image MP does not have to be classified into the classification group, but hereinafter, for convenience of explanation, a plurality of the individual photographed images MP identified as corresponding to the same tablet type may be treated as being classified into the classification group corresponding to the tablet type.
[0189] Each of the configurations described below can be applied to both cases in which the reference individual photographed image is compared with the master image and the individual photographed image MP is compared with the master image in the inspection support system 1 as described above. In the following, an example may be given in which the contents of the prescription data to be processed are taken three times a day (after breakfast, lunch, and dinner) for seven days, and include "M1 capsules", "M2 tablets", "M3 tablets", and "M4 tablets" as prescription drugs, as shown in FIG. 24 and the like. In the prescription data, the number of tablets of "M1 capsules" is 2 tablets after breakfast, 2 tablets after lunch, and 2 tablets after dinner, the number of tablets of "M2 tablets" is 1 tablet after breakfast, 1 tablet after lunch, and 0 tablets after dinner, the number of tablets of "M3 tablets" is 1 tablet after breakfast, 0 tablets after lunch, and 1 tablet after dinner, and the number of tablets of "M4 tablets" is 0 tablets after breakfast, 1 tablet after lunch, and 0 tablets after dinner.
[0190] [Other examples of confirmation screens] Fig. 24 is a diagram showing a confirmation screen D8 which is another example of the second confirmation screen D4 (see Fig. 16) displayed in the step S38. As shown in Fig. 24, the control unit 510 causes display areas A81-A86 and operation keys K81-K87, etc. to be displayed on the confirmation screen D8. Note that this display processing is executed by the display processing unit 513 of the control unit 510.
[0191] The display area A81 displays basic information such as prescription ID, usage, patient name, and total number of packages for the prescription data to be processed. The display area A82 displays the inspection results of the automatic quantity inspection process and the classification inspection process. For example, in FIG. 24, information of "quantity OK" corresponding to the case where the inspection results of the automatic quantity inspection process and the classification inspection process are both normal is displayed in the display area A82. Note that, when the inspection result of the automatic quantity inspection process is not normal and the inspection result of the classification inspection process is normal, information of "quantity NG" is displayed in the display area A82, and when the inspection result of the automatic quantity inspection process is normal and the inspection result of the classification inspection process is not normal, information of "identification check" is displayed in the display area A82. Also, when the inspection results of the automatic quantity inspection process and the classification inspection process are both abnormal, information of "quantity NG / identification check" is displayed in the display area A82. An example of a case where the inspection result of the classification inspection process is not normal is when the unclassified group is set in the classification inspection process.
[0192] In the display area A83, information on the drug name, pattern, category, and image for each type of tablet included in the prescription data is displayed in a list in the first direction (vertical direction) in the confirmation screen D8. The display order of the information on each type of tablet in the display area A83 may be different from the display order of the tablet images corresponding to each type of tablet in the display area A86, but may be arranged to be the same. In addition, in the vertical direction of the confirmation screen D8, the display position of the information on each type of tablet in the display area A83 and the display position of the tablet images of each type of tablet in the display area A86 may be the same. That is, for the same type of tablet, the information on the type of tablet and the tablet images in the display area A83 and the display area A86 may be displayed side by side. The pattern indicates the number of tablets for each period of administration corresponding to the dosage. For example, in the example shown in FIG. 24, since the dosage is "3 times a day after every meal", the pattern indicates the number of tablets for each period of administration after breakfast, after lunch, and after dinner. Specifically, for a drug with the name "M3 Tablet", the pattern is "101", which means one tablet after breakfast, none (0 tablets) after lunch, and one tablet after dinner. The classification indicates the dosage form, and for example, capsule tablets are represented by "C", flat tablets are represented by "T", etc.
[0193] Moreover, the images displayed in the display area A83 are registered in correspondence with each type of tablet in the drug database or the pharmaceutical master, and are external appearance images in which different surfaces of the tablet, such as the front and back, corresponding to the type of tablet, are photographed in advance. Here, the external appearance image may be the master image corresponding to the type of tablet, but since the master image is an image used for matching with the individual drug image MP, in order to improve the accuracy of the matching, it is considered that the master image is photographed in the same or similar shooting environment as the individual photographed image MP. Therefore, the master image is not necessarily an image that is easy to see when a user such as a pharmacist refers to it.
[0194] In contrast, in the inspection support system 1, a display image DP different from the master image is registered in the medicine database or the medicine master in association with each type of tablet. The display image DP is photographed in a different shooting environment from the master image so that the image is easy to see when the user refers to it. For example, the shooting environment is an environment such as a dispensing room where a user such as a pharmacist visually checks the medicine packaged in the medicine bag 451. The display image DP may be an external image of the tablet described in the attached document of the tablet. Then, the control unit 510 displays the display image DP corresponding to the type of tablet included in the prescription data as the image of the tablet displayed in the display area A83, instead of the master image corresponding to the type of tablet included in the prescription data. In this way, in the inspection support system 1, the master image and the display image DP can be used separately for checking the individual photographed image MP and for user reference. Therefore, by registering an image that is easy for the user to see as the display image DP in the medicine master, the user can easily understand the type of tablet by referring to the easy-to-see display image DP in the display area A83. In addition, by using the master image photographed in the same or similar photographing environment as the individual photographed image MP for collation to identify the type of tablet corresponding to the individual photographed image MP, it is possible to increase the accuracy of identifying the type of tablet.
[0195] In addition, in this embodiment, a case will be described in which information such as the display image DP corresponding to the type of the tablet included in the prescription data is displayed in the display area A83. Meanwhile, as another embodiment, information such as the display image DP corresponding to the type of tablet identified by the classification inspection process may be displayed in the display area A83. For example, in the classification inspection process, the individual photographed image MP is not only collated with the master image corresponding to the type of the tablet included in the prescription data, but also collated with the master images corresponding to other tablet types registered in the pharmaceutical master, etc., and the type of tablet corresponding to the individual photographed image MP is identified. In this case, it is considered that the control unit 510 causes the display image DP corresponding to the type of tablet identified by the classification inspection process to be displayed in the display area A83. In addition, the control unit 510 may cause the display image DP corresponding to the type of the tablet included in the prescription data and the display image DP corresponding to the type of tablet identified by the classification inspection process to be displayed in the display area A83. For example, the control unit 510 displays the display image DP corresponding to the type of tablet included in the prescription data, and if the classification inspection process identifies a tablet type different from the tablet type included in the prescription data as the tablet type corresponding to the individual photographed image, displays the display image DP corresponding to that tablet type.
[0196] In the display areas A84 to A86, the inspection results corresponding to each of the dosing timings are displayed along the second direction (horizontal direction in FIG. 24) perpendicular to the first direction (vertical direction in FIG. 24). The control unit 510 scrolls the display of the inspection results of the dosing timings in the display areas A84 to A86 in response to a scroll operation in the first direction or the second direction.
[0197] In the display area A84, information such as "1st packet", "2nd packet", "3rd packet" indicating which medicine packet the corresponding medicine packet 451 is for each of the dosing timings (package units), information such as after breakfast, after lunch, after dinner indicating the dosing time corresponding to each medicine packet 451, and the number of tablets corresponding to each medicine packet 451 acquired by the automatic quantity inspection process are displayed. In addition, in the display area A84, for the medicine packets 451 for which the inspection result of the automatic quantity inspection process is abnormal, characters or images indicating that the inspection result is abnormal are displayed together with the number of tablets.
[0198] In the display area A85, the first captured image is displayed as an image including one or more images of tablets contained in the medicine packet 451 corresponding to each of the taking timings. The second captured image or the third captured image may be displayed in the display area A85.
[0199] The operation key K81 is an operation unit that accepts a user operation for switching on / off the display of the display area A85 in which the first captured image is displayed. The control unit 510 switches on / off the display of the display area A85 in response to the operation of the operation key K81, as shown in Fig. 24 and Fig. 25. Note that the control unit 510 can set in advance as an initial setting whether or not to display the display area A85 when the confirmation screen D8 is displayed in response to a user operation.
[0200] In addition, in the medicine dispensing device 4, when a plurality of types of tablets that satisfy a division condition set in advance for determining that the accuracy of identifying the type of tablets in the classification inspection process is likely to be low for one of the dosage timings is included, the plurality of tablets may be divided and placed on the different plurality of tablet placement sections 441. For example, the division condition is that the matching rate of the master images corresponding to the plurality of types of tablets included in one of the dosage timings is a predetermined value or more. Then, the control section 510 takes the first photographed image for each of the tablet placement sections 441 used for one of the dosage timings, stores each of the first photographed images in the storage section 520 in association with the dosage timing, and displays the plurality of first photographed images in the display area A85. In addition, when the first photographed images corresponding to each of the tablet placement sections 441 are acquired for one of the dosing timings, the control section 510 executes a process for identifying the type of tablet corresponding to each of the first photographed images from the types of tablets placed on the tablet placement sections 441 corresponding to the first photographed images in the classification inspection process. This makes it possible to improve the accuracy of identifying the type of tablet in the classification inspection process even if tablets of different types having similar appearances are included in the tablets packaged in the medicine bag 451 corresponding to one of the dosing timings. Note that even when tablets are placed separately on a plurality of the tablet placement sections 441 corresponding to the same dosing timing in this way, each of the tablets is contained in one of the medicine bags 451 corresponding to the dosing timing.
[0201] In the display area A86, the tablet images trimmed from the first photographed image and the third photographed image corresponding to each of the dosing timings are displayed as images of the upper and lower surfaces of the tablet. Specifically, in the display area A86, the tablet image extracted from the first photographed image is displayed as an image of the upper surface of the tablet, and the tablet image extracted from the third photographed image is displayed as an image of the lower surface of the tablet. That is, either the upper or lower tablet image displayed in the display area A86 is the individual photographed image MP used in the classification inspection process. In this embodiment, since the tablet image extracted from the first photographed image is used as the individual photographed image MP, the tablet image of the upper surface displayed on the left side in the display area A86 is the individual photographed image MP.
[0202] In addition, only the individual photographed image MP may be displayed in the display area A86. In addition, the control unit 510 may switch between displaying the tablet images of the upper and lower surfaces and displaying only the individual photographed image MP in response to a user operation. Furthermore, when one of the tablet images of the same tablet trimmed from the first photographed image and the third photographed image contains information such as characters, symbols, or lines, the control unit 510 may display the tablet image containing the information in the display area A86 as an image of a predetermined one surface (e.g., the upper surface) and display the other tablet image in the display area A86 as an image of the other surface (e.g., the lower surface).
[0203] In addition, in the display area A86, the tablet images are displayed in order from top to bottom in order of area. For example, in the example shown in FIG. 24, the "M1 capsule" is the largest, followed by the "M2 tablet", "M3 tablet", and "M4 tablet". The display order of the tablet types in the display area A86 and the display order of the tablet types in the display area A83 may be the same or may not be the same. In addition, when there are multiple tablets corresponding to one of the timings for taking the tablets for one type of tablet identified in the classification inspection process, the tablet images in the display area A86 are displayed in multiple rows in the same number as the number of tablets.
[0204] The control unit 510 can simultaneously display a plurality of tablet images of the same type or a plurality of tablet images of different types in the display area A86. In addition, when the number of tablet images arranged vertically in the display area A86 is large, the control unit 510 may change the tablet images to be displayed by scrolling the display area A86 vertically, or reduce the size of the tablet images displayed in the display area A86. In response to this, when the number of tablet images arranged vertically in the display area A86 is equal to or greater than a preset number, the control unit 510 may hide the display area A85 to expand the display range of the display area A86, and when the number of tablet images arranged vertically in the display area A86 is less than a preset number, the control unit 510 may display the display area A85.
[0205] In addition, when a preset specific user operation is performed while the confirmation screen D8 is displayed, the control unit 510 switches the arrangement of each of the tablet images in the display area A86 between a first arrangement (see FIG. 24) and a second arrangement (see FIG. 26). For example, the specific user operation is an operation of a blank portion of the confirmation screen D8, or an operation of a specific operation unit (not shown) displayed on the confirmation screen D8. In the first arrangement, as shown in FIG. 24, each of the tablet images is continuously arranged in the first direction (vertical direction) on the confirmation screen D8. In the second arrangement, as shown in FIG. 26, each of the tablet images is displayed at a position corresponding to each classification of the tablet image in the first direction on the confirmation screen D8. That is, in the second arrangement, the tablet images corresponding to tablets of the same type are displayed at the same position in the first direction, and the tablet images corresponding to tablets of the same type are arranged in the second direction (horizontal direction).
[0206] For example, as shown in FIG. 26, in the display area A86 corresponding to the first package of the medicine package 451, the tablet images are displayed in succession in the order of "M1 capsule", "M2 tablet", and "M3 tablet". On the other hand, in the display area A86 corresponding to the second package of the medicine package 451, the tablet images of "M1 capsule" and "M2 tablet" are displayed in succession, but the display position of "M3 tablet" is blank, and the tablet image of "M4 tablet" is displayed with a space. Similarly, in the display area A86 corresponding to the third package of the medicine package 451, the space between the tablet image of "M1 capsule" and the tablet image of "M3 tablet" is blank. This allows the user to easily understand whether the contents of the tablets match the pattern corresponding to the type of tablet for each type of tablet.
[0207] The operation key K82 is an operation unit that accepts a user operation for switching the display size of the tablet image displayed in the display area A86. For example, the control unit 510 switches the display mode of the tablet image in the display area A86 between a first display mode and a second display mode, as shown in FIG. 26 and FIG. 27, in response to the operation of the operation key K82. In FIG. 26, a "real size display" indicating that the display mode of the display area A86 is the first display mode is displayed on the operation key K82, and in FIG. 27, a "magnified display" indicating that the display mode of the display area A86 is the second display mode is displayed on the operation key K82.
[0208] As shown in FIG. 26, the first display mode is a display mode in which the relative relationship of the size of each tablet image of the tablet in the first captured image is maintained. That is, in the first display mode, for all tablets, the ratio between the size of the tablet image in the first captured image displayed in the display area A85 and the size of the tablet image displayed in the display area A86 is the same. Specifically, in the first display mode, each tablet image is enlarged and displayed at the same magnification ratio, or each tablet image is displayed without being enlarged. Therefore, the user can easily grasp the difference in the actual size of each tablet image by looking at the multiple tablet images displayed in the display area A86 in a manner in which the relative relationship of the size of each tablet image is maintained.
[0209] The second display mode is a display mode in which, as shown in FIG. 27, a plurality of individual photographed images are simultaneously displayed in such a manner that the individual photographed images are enlarged at individual magnification ratios corresponding to each tablet image or each type of tablet. That is, in the second display mode, the ratio between the size of each tablet image in the first photographed image displayed in the display area A85 and the size of the tablet image displayed in the display area A86 may differ for each tablet. Specifically, the control unit 510 determines the magnification ratio of the tablet image based on the size of the tablet image. For example, the control unit 510 enlarges the tablet image at a magnification ratio at which the tablet image is the maximum size that can be displayed in the display area MA of the tablet image in the display area A86. In another embodiment, the pharmaceutical master has a magnification ratio corresponding to each type of tablet registered therein, and the control unit 510 may determine the magnification ratio of the tablet image based on the type of tablet identified in the classification inspection process as the type of tablet corresponding to the tablet image and the magnification ratio registered for each type of tablet in the pharmaceutical master. As a result, in the second display mode, the relative size relationship of each tablet image may not be maintained in the display area A86, but since it is possible to display each tablet image as large as possible, the user can easily understand the type of the tablet image by looking at the tablet image. In addition, in the second display mode, the multiple tablet images are enlarged at individual magnification rates, but as a result, the multiple tablet images may be enlarged at the same magnification rate.
[0210] The control unit 510 can set the display mode of the tablet image in the display area A86 when the confirmation screen D8 is displayed as an initial setting in advance in response to a user operation. The control unit 510 may also change the size of the display image DP displayed in the display area A83 in response to the display mode of the tablet image.
[0211] The operation key K83 is an operation unit that accepts a user operation for approving the inspection result displayed on the confirmation screen D8. In response to the operation of the operation key K83, the control unit 510 stores in the storage unit 520 the fact that the inspection result displayed on the confirmation screen D8 has been approved in association with the prescription data to be processed.
[0212] The operation key K84 is an operation unit that accepts a user operation for approving the inspection result displayed on the confirmation screen D8 in units of the dosing timings. When the operation key K84 is operated, the control unit 510 displays operation keys K841 corresponding to each of the dosing timings, as shown in Fig. 28. Then, in response to the operation of each of the operation keys K841, the control unit 510 stores in the storage unit 520 the fact that the inspection result has been approved for the dosing timing corresponding to the operation key K841.
[0213] The operation key K85 is an operation unit that accepts a user operation for starting to correct the type of tablet corresponding to the individual photographed image MP or the medicine package 451 for the inspection result displayed on the confirmation screen D8. When the operation key K85 is operated after a specific tablet type is selected on the confirmation screen D8, the control unit 510 displays an operation screen D9 (see FIG. 32) for correcting the type of tablet corresponding to the individual photographed image MP or the medicine package 451 for that tablet type.
[0214] The operation key K86 is an operation unit that accepts user operations to re-execute part or all of the packaging process in the medicine dispensing device 4 for the prescription data corresponding to the inspection result displayed on the confirmation screen D8.
[0215] The operation key K87 is an operation unit that accepts a user operation for starting the display of an operation screen D9 (see Figs. 29 and 30) on which the individual photographed images MP corresponding to each type of tablet are displayed with respect to the inspection results displayed on the confirmation screen D8. When the operation key K87 is operated, the control unit 510 causes the display unit 530 to display the operation screen D9 shown in Fig. 29 or 30.
[0216] Specifically, when the individual photographed images MP belonging to the unclassified group exist, the control unit 510 causes the display unit 530 to display an operation screen D9 for classifying the individual photographed images MP belonging to the unclassified group into a specific classification group, as shown in Fig. 29. On the other hand, when the individual photographed images MP belonging to the unclassified group do not exist, the control unit 510 causes the display unit 530 to sequentially display the operation screen D9 on which the individual photographed images MP corresponding to each type of tablet included in the prescription data are displayed, as shown in Fig. 30.
[0217] 29, when the individual captured image MP belonging to the unclassified group is displayed on the operation screen D9, the control unit 510 causes display areas A91 to A93 and operation keys K91 to K97 to be displayed on the operation screen D9. Information related to the unclassified group is displayed in the display area A91. For example, in the example shown in FIG. 29, in the display area A91, "Undetermined Drug" is displayed as the drug name indicating that the drug corresponds to the unclassified group, and it is displayed that the number of tablets is "2".
[0218] As shown in FIG. 30, when the individual photographed image MP corresponding to the type of tablet included in the prescription data is displayed on the operation screen D9, the control unit 510 omits the display of the display area A91, and displays the display areas A92 to A93 and the operation keys K91 to K95, K98, etc. on the operation screen D9. The control unit 510 displays the type of tablet currently being displayed in the display area A93 in an identifiable manner in the display area A92. For example, it is possible that the area corresponding to the type of tablet being displayed is displayed in a specific background color, or that the area corresponding to the other types of tablets other than the type of tablet being displayed is displayed in gray. In addition, in the display area A92, the classification group approved by the operation of the operation key K94 or K95 as described later may be displayed in an identifiable manner. In Figure 30, the display area A91 is omitted, but the display area A91 may be displayed in the operation screen D9 of Figure 30, containing information about the type of tablet that is currently being displayed among the types of tablets.
[0219] In addition, when the control unit 510 displays the operation screen D9 in the classification editing process, it first selects the unclassified group as a display target, and accepts classification operations of the individual photographed images MP belonging to the unclassified group on the operation screen D9. When the control unit 510 displays the operation screen D9 with each type of tablet as a display target, it reflects the classification operation performed on the unclassified group.
[0220] In the display area A92, similar to the display area A83, information on each type of tablet included in the prescription data as a prescription drug is displayed in a list. In particular, in the display area A92, for each type of tablet included in the prescription data, in addition to the drug name, pattern, category, and image, the number of tablets is displayed. Here, the number of tablets displayed in the display area A92 is the total number of tablets based on the prescription data. In addition, as another embodiment, the number of tablets displayed in the display area A92 may be the number of tablets acquired in the automatic quantity inspection process or the classification inspection process, and the total number of tablets and the number of tablets acquired in the automatic quantity inspection process or the classification inspection process may be displayed together.
[0221] In the display area A93, the individual photographed images MP corresponding to the classification group currently being displayed are displayed for each of the medicine packages 451 (taking-up timing). Specifically, in the display area A93, similar to the second confirmation screen D4, the area A34 in which identification information (packet number) of the medicine package 451 (taking-up timing) is displayed, and the area A35 in which the individual photographed images MP associated with the taking-up timing are displayed are displayed. That is, in the display area A93, each of the individual photographed images MP is displayed in a manner in which the taking-up timing corresponding to the individual photographed image MP can be identified.
[0222] In addition, when any of the individual photographed images MP is selected on the operation screen D9, the control unit 510 enlarges and displays the individual photographed image MP on a pop-up screen. Furthermore, when any of the individual photographed images MP is selected on the operation screen D9, the control unit 510 may enlarge and display the tablet image extracted from the third photographed image for the same tablet as the individual photographed image MP on a pop-up screen together with the individual photographed image MP.
[0223] The operation keys K91 and K92 are an operation unit that accepts a user operation for sequentially switching the classification groups to be displayed on the operation screen D9. The control unit 510 sequentially switches the classification groups to be displayed on the operation screen D9 back and forth in response to the operation of the operation keys K91 and K92, as shown in FIG. 29 and FIG. 30. For example, in response to the operation of the operation keys K91 or K92, a total of five classification groups, including the unclassified group and the drug names "M1 capsule", "M2 tablet", "M3 tablet", and "M4 tablet", are selected in order as display objects. The control unit 510 may switch the display object on the operation screen D9 to the type of tablet in response to an operation for selecting one of the types of tablets in the display area A92.
[0224] The operation key K93 is an operation unit for switching from the operation screen D9 to the confirmation screen D8. The control unit 510 switches the display screen of the display unit 530 from the operation screen D9 to the confirmation screen D8 in response to an operation of the operation key K93.
[0225] The operation keys K94 and K95 are an operation unit that accepts a user operation for approving the classification group displayed on the operation screen D9. The control unit 510 stores in the storage unit 520 the fact that the classification group has been approved in response to the operation of the operation key K94 or K95. That is, the control unit 510 can accept the user's approval on the operation screen D9 in units of the classification group. Note that the display of either one of the operation keys K94 and K95 may be omitted on the operation screen D9. In addition, when the display target on the operation screen D9 is the unclassified group, the control unit 510 may display the operation keys K94 and K95 on the operation screen D9 when classification is performed on all of the individual photographed images MP belonging to the unclassified group into a classification group corresponding to a specific prescription drug.
[0226] The operation keys K96 and K97 are operation units used to edit the classification destination of the individual photographed image MP in the operation screen D9. The control unit 510 classifies the individual photographed image MP into one of the classification groups according to the operation of the operation keys K96 and K97. Specifically, when an operation to select the individual photographed image MP is performed in FIG. 29, the control unit 510 selects the individual photographed image MP as an operation target, and displays the matching rate between the individual photographed image MP and the master image or the reference individual photographed image corresponding to the type of tablet in each of the classification groups in the "Probability" item field in the display area A92 as shown in FIG. 31. Note that, when the operation key K96 is operated, the control unit 510 can select the multiple individual photographed images MP selected thereafter as operation targets. In this case, the "Probability" item field in the display area A92 may display an average value of the matching rate between the multiple individual photographed images MP and the master image or the reference individual photographed image corresponding to the type of tablet in each of the classification groups.
[0227] Then, when the operation key K97 is operated after an operation of selecting one of the classification groups corresponding to each type of tablet in the display area A92 as a classification destination of the individual photographed image MP is performed, the control unit 510 classifies one or more of the individual photographed images MP selected as the operation target into the selected classification group. In addition, when a drag-and-drop operation is performed to move the selected target to a display area corresponding to one of the classification groups while one or more of the individual photographed images MP is selected, the control unit 510 may classify the one or more of the individual photographed images MP into the classification group.
[0228] Incidentally, when the tablets contained in the medicine bag 451 are not correct, a pharmacist or the like may manually perform a correction operation, such as opening the medicine bag 451 to add or remove tablets, or moving tablets between different medicine bags 451. In this case, it is desirable that the contents of the correction operation are recorded so that the contents of the correction operation can be confirmed later. Therefore, the control unit 510 can execute a correction process to correct the inspection result of the classification group corresponding to the type of the tablets in response to a user operation on the operation screen D9, and it is considered that the contents of the correction process are recorded. For example, in the correction process, the correspondence between the individual photographed image MP and the medicine bag 451 (taking timing), and the correspondence between the individual photographed image MP and the classification group, etc. can be corrected. The control unit 510 when executing the correction process is an example of a correction processing unit. Then, the control unit 510 executes a storage process to store the correction contents by the correction process in the storage unit 520 in association with the prescription data. The control unit 510 when executing the storage process is an example of a storage processing unit. This allows the user to check the modifications at a later time.
[0229] Specifically, in FIG. 30, an operation key K98 for starting the correction of the inspection result for the classification group to be displayed on the operation screen D9 is displayed. Then, the control unit 510 displays, in response to the operation of the operation key K98, operation keys K941 to K944 for accepting the correction of the inspection result and a display area A94 in which the correction content of the inspection result is displayed, on the operation screen D9, as shown in FIG. 32. Note that FIG. 32 shows a state in which the first package of the medicine bag 451 is short of tablets for the classification group in which the type of the tablets is "M1 capsule". As another embodiment, the display of the operation key K98 may be omitted, and the display area A94 and the operation keys K941 to K944 may be displayed when the operation screen D9 of FIG. 30 is displayed. Note that the inspection results for the plurality of medicine bags 451 or the individual photographed images MP may be corrected on the operation screen D9.
[0230] The operation key K941 is an operation unit for performing an additional operation to record the addition of tablets to the medicine package 451 for the classification group to be displayed on the operation screen D9. After a display area corresponding to a specific medicine package 451 is selected in the display area A93 or A94, the control unit 510 accepts an operation for adding tablets corresponding to the classification group for the medicine package 451 in response to an operation of the operation key K941. For example, as shown in FIG. 33, after a display area corresponding to the first package of the medicine package 451 is selected in the display area A93, the control unit 510 displays a state in which one additional image D941 corresponding to tablets of the classification group selected as a display object is added to the display area corresponding to the first package of the medicine package 451 in the display area A94. The additional image D941 is, for example, a preset image such as the master image, the display image DP, or the reference individual photographed image. When the operation key K941 is operated multiple times, the additional images D941 are added in the same number as the number of operations. The control unit 510 also displays the display area corresponding to the medicine package 451 that is the subject of correction in a distinguishable manner using a predetermined color scheme or the like. The control unit 510 does not change the content of the display area A93, and the state before the correction content is reflected is displayed in the display area A93. This allows the user to easily understand the state before and after the correction content is reflected.
[0231] The operation key K942 is an operation unit for performing a deletion operation to record the removal of a tablet from the medicine package 451 for the classification group to be displayed on the operation screen D9. After a display area corresponding to a specific medicine package 451 is selected in the display area A93 or A94, the control unit 510 accepts an operation for deleting a tablet corresponding to the classification group for the medicine package 451 in response to an operation of the operation key K942. For example, in FIG. 34, the display area A93 shows a state in which the first package of the medicine package 451 has one more tablet for the classification group in which the type of tablet is "M1 capsule". Then, when the operation key K942 is operated once after the display area corresponding to the first package of the medicine package 451 is selected in the display area A93, the control unit 510 displays a state in which one of the individual photographed images MP corresponding to the tablet has been deleted from the display area corresponding to the first package of the medicine package 451 in the display area A94, as shown in FIG. 34. When the operation key K942 is operated multiple times, the individual photographed images MP are deleted in the same number as the number of times the operation key K942 is operated. Also, the control unit 510 displays the display area corresponding to the medicine package 451 that is the subject of the correction in a identifiable manner using a predetermined color scheme or the like.
[0232] The operation key K943 is an operation unit for performing a moving operation to record the movement of tablets between different medicine packages 451 for the classification group to be displayed on the operation screen D9. After the operation of the operation key K943 is performed, when a display area corresponding to a specific medicine package 451 to be a movement source is selected in the display area A93 or A94, and then a display area corresponding to a specific medicine package 451 to be a movement destination is selected, the control unit 510 accepts an operation to move tablets corresponding to the classification group from the medicine package 451 to be the movement source to the medicine package 451 to be the movement destination. For example, in FIG. 35, the display area A93 shows a state in which the first medicine package 451 has one more tablet and the second medicine package 451 has one less tablet for the classification group in which the type of tablet is "M1 capsule". Then, when the first medicine package 451 is selected in the display area A93 as the source and then the second medicine package 451 is selected in the display area A93 as the destination, the control unit 510 deletes one of the individual photographed images MP from the display area corresponding to the first medicine package 451 in the display area A94, and displays the deleted individual photographed image MP in a state in which one is added to the display area corresponding to the second medicine package 451, as shown in Fig. 35. Note that, when a display area corresponding to a specific medicine package 451 to be the source is selected in the display area A93 or A94, and then a display area corresponding to a specific medicine package 451 to be the destination is selected, the control unit 510 may accept an operation to move tablets corresponding to the classification group from the source medicine package 451 to the destination medicine package 451 when the operation key K943 is operated. Furthermore, the control unit 510 displays each of the display areas corresponding to the medicine packets 451 that are the subject of the correction in a distinguishable manner using a predetermined color scheme or the like.
[0233] The control unit 510 can also accept an operation to move the individual photographed image MP belonging to the classification group displayed on the operation screen D9 to another classification group. For example, the control unit 510 moves the individual photographed image MP when the operation key K943 is operated, the individual photographed image MP belonging to the classification group displayed on the operation screen D9 is selected, and then another classification group is selected as a destination in the display area A92. The control unit 510 may also move the individual photographed image MP when the operation key K943 is operated, the individual photographed image MP belonging to the classification group displayed on the operation screen D9 is selected, and then the prescription drug corresponding to the other classification group is selected in the display area A92. The control unit 510 may select the medicine package 451 to which the individual photographed image MP is added as a destination for the classification group to which the individual photographed image MP is to be moved, or may automatically select the medicine package 451 with a shortage of tablets as a destination for the individual photographed image MP. Furthermore, the control unit 510 may identify the individual captured image MP having the lowest matching rate with the master image or the reference individual captured image for the classification group to which the individual captured image MP is moved, and replace the individual captured image MP with the individual captured image MP selected in the classification group from which the individual captured image MP is moved. That is, the control unit 510 is capable of moving or exchanging the individual captured image MP between different classification groups.
[0234] The operation key K944 is an operation unit for deciding the correction of the inspection result performed using the operation keys K941 to K943. The control unit 510 reflects the contents of the correction of the inspection result performed using the operation keys K941 to K943, etc., in response to the operation of the operation key K944, and stores the inspection result in the storage unit 520 in association with the prescription data. Specifically, the control unit 510 stores the states of the display areas A93 and A94 corresponding to before and after the correction in the storage unit 520 as the correction contents. The control unit 510 may also store a series of videos of the correction on the operation screen D9 in the storage unit 520 as the correction contents. In this way, the correction contents are stored in the storage unit 520, so that the control unit 510 can display the correction contents stored in the storage unit 520, and the user can refer to the correction contents later.
[0235] For example, as shown in Fig. 33, when the additional image D941 is added to the display area A94, an image of the display area A93 showing the state before modification and an image of the display area A94 showing the state after modification are stored as the modification contents in the storage unit 520. Also, as shown in Fig. 34, when the individual photographed image MP displayed in the display area A93 is deleted, an image of the display area A93 showing the state before modification and an image of the display area A94 showing the state after modification are stored as the modification contents in the storage unit 520. The control unit 510 may store a message or the like in which the modification contents are indicated in text in the storage unit 520.
[0236] Furthermore, when displaying the operation screen D9, if there is an individual photographed image MP whose matching rate with the master image or the reference individual photographed image of the medicine corresponding to the classification group to be displayed on the operation screen D9 is equal to or lower than a preset reference value, the control unit 510 may display the individual photographed image MP or the display area of the medicine package 451 corresponding to the individual photographed image MP in a identifiable manner by a predetermined color scheme, etc. Furthermore, when displaying the operation screen D9, the control unit 510 may display the medicine package 451 without the medicine corresponding to the classification group to be displayed on the operation screen D9 in a identifiable manner by applying a predetermined color scheme or graying out display to the display area A93.
Claims
1. An acquisition processing unit that acquires individual photographed images of tablets photographed by an imaging unit; A classification identification unit that identifies the type of tablet corresponding to the individual photographed image based on a reference image that is pre-stored in correspondence with each type of tablet; A display processing unit that displays an image that is stored in advance in association with the type of tablet identified by the classification identification unit and has a different shooting environment from the reference image, and the individual captured image; An audit support system that includes the following:
2. An acquisition step of acquiring individual photographed images of tablets photographed by an imaging unit; A classification step of identifying the type of tablet corresponding to the individual photographed image based on a reference image that is pre-stored in association with each type of tablet; A display step of displaying an image that is stored in advance in association with the type of tablet identified by the classification step and has a different shooting environment from that of the reference image and the individual photographed image; An audit support program for causing a processor to execute the above.
Citation Information
Patent Citations
Chemical sprayer, support program for chemical sprayer, and storage medium in which support program is recorded
JP2018143769A
Tablet inspection assistance method and tablet inspection assistance system
WO2012005004A1
Inspection assistance system and tablet packaging device
WO2016047569A1