Audit support system, audit support device, audit support program
Patent Information
- Application Number
- JP2022186856
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2014-08-29
- Filing Date
- 2022-11-22
- Publication Date
- 2024-10-09
- Estimated Expiration
- 2034-10-20
AI Technical Summary
【0030】 本発明によれば、処方データに含まれる複数種類の処方薬品の鑑査を効率的且つ正確に行うことのできる鑑査支援装置及び鑑査支援方法が提供される。
Smart Images

Figure 0007564459000001 
Figure 0007564459000002 
Figure 0007564459000003
Abstract
Description
[Technical field]
[0001] The present invention relates to an inspection support device and an inspection support method used to support the work of pharmacists and others who inspect medicines dispensed based on prescription data. [Background technology]
[0002] Generally, there is known an inspection support device that is used to support the work of a pharmacist who inspects medicines dispensed based on prescription data. For example, there is known a prescription inspection system that judges whether the prescription contents are appropriate based on the total amount of medicines placed on multiple weighing units (see, for example, Patent Document 1). [Prior art documents] [Patent documents]
[0003] [Patent Document 1] JP 2013-42795 A Summary of the Invention [Problem to be solved by the invention]
[0004] However, the above-mentioned pharmacy inspection system does not leave any evidence of the inspection.
[0005] An object of the present invention is to provide an audit support device and an audit support method that can leave evidence of the audit. [Means for solving the problem]
[0006] The inspection support device of the present invention includes a weighing unit, a matching processing unit that matches the weighing result of the weighing unit with prescription data, a photographing unit that can photograph the weighing unit, and a photographing processing unit that records the image photographed by the photographing unit. In addition, the inspection support method according to the present invention includes a comparison step of comparing the weighing result of the weighing unit with prescription data, and a step of recording an image captured by an imaging unit capable of capturing an image of the weighing unit when the weighing value by the weighing unit is confirmed, when the comparison by the comparison processing unit is completed, or when a predetermined photographing operation is performed.
[0007] In addition, the inspection support device of the present invention includes a plurality of weighing units, an information reading unit which reads drug identification information from drug packaging material, a weighing identification unit which identifies one or more of the weighing units to be associated with the drug identification information read by the information reading unit, and a matching processing unit which starts a matching process between prescription data and the weighing results of the one or more weighing units identified by the weighing identification unit as the weighing units corresponding to the drug identification information each time the drug identification information is read by the information reading unit. Furthermore, the inspection support method of the present invention is an inspection support method in an inspection support device having a plurality of weighing units and an information reading unit which reads drug identification information from drug packaging material, and includes a weighing identification step of identifying one or more weighing units to correspond to the drug identification information read by the information reading unit, and a comparison processing step of starting a comparison process between the weighing results of the one or more weighing units identified in the weighing identification step as the weighing units corresponding to the drug identification information and prescription data each time the drug identification information is read by the information reading unit.
[0008] According to the present invention, the collation process is started each time the medicine identification information is read, and the inspection of the prescription medicines included in the prescription data can be performed continuously and in parallel. Therefore, for example, the inspection work of each of the prescription medicines and the packing work of each of the prescription medicines into a medicine bag can be performed efficiently and accurately.
[0009] Specifically, it is considered that the weighing identification unit identifies one or more of the weighing units whose weighing value has increased from 0 after the information reading unit reads the medicine identification information as the weighing unit to be associated with the medicine identification information. In particular, it is considered that the weighing identification unit identifies one or more of the weighing units whose weighing value has increased from 0 after the information reading unit reads the medicine identification information and before the information reading unit reads different medicine identification information as the weighing unit to be associated with the medicine identification information. In this way, by placing a medicine on any one of the weighing units after reading the medicine identification information, the collation process using one or more of the weighing units can be easily executed.
[0010] Here, the prescription data is considered to be prescription data for the same dosage unit (Rp data described later). This makes it possible to continuously and in parallel inspect each prescription data for the same dosage unit contained in the same drug bag, thereby preventing the prescription drug from being mistakenly placed in the drug bag.
[0011] The collation processing unit may acquire the prescription data to be inspected based on prescription identification information written on a medicine bag read by the information reading unit. The collation processing unit may select the prescription data to be inspected from a plurality of prescription data in response to a user operation.
[0012] The inspection support device may also include a display unit and a display processing unit that displays on the display unit weighing display areas corresponding to the weighing units in the same arrangement as the weighing units, and displays the weighing results by the weighing units and the matching results by the matching processing unit in the weighing display areas, allowing a user to intuitively check the weighing results of the weighing units in the weighing display areas.
[0013] The inspection support device may also include a unit weight acquisition unit that acquires a weight per unit amount that is predetermined for each type of drug, and a unit conversion processing unit that converts the weighing result by the weighing unit into a predetermined unit based on the weight per unit amount acquired by the unit weight acquisition unit. In this case, the display processing unit may display the weighing result converted by the unit conversion processing unit in the weighing display area. This allows the weighing result to be displayed in a predetermined unit such as "tablets," "capsules," or "packets" rather than in a unit such as "mg" that indicates weight, making it easier for the user to understand whether the amount of the drug is appropriate.
[0014] Furthermore, it is possible that the collation processing unit collates the weighing result converted by the unit conversion processing unit with the prescription data. This allows the collation processing unit to use the weighing result converted by the unit conversion processing unit, and therefore simplifies processing compared to, for example, a case where the weighing result is not used and the unit of the medicine shown in the prescription data is converted into a unit of weight for collation.
[0015] In addition, the inspection support device may include a cover member that is provided to be openable and closable relative to the inspection support device and supports the display unit. In this way, the display unit is integrated with the cover member, making it possible to reduce the size of the inspection support device.
[0016] It is also possible that the cover member is rotatably supported by a rotation support part with respect to the inspection support device, and the display part is supported by the cover member in a position in which the display surface faces the weighing part when the cover member is closed. This allows, for example, a user to open the cover member and perform an inspection operation without moving his or her line of sight significantly while being able to see the weighing part and the display part at once.
[0017] Incidentally, it is conceivable that the inspection support device includes an extended placement section that can be placed across a plurality of the weighing sections. In this case, it is conceivable that the collation processing section can collate the total of the weighing results by the plurality of the weighing sections on which the extended placement section is placed with the prescription data. This allows the inspection support device to perform the inspection work by using the extended placement section even for medicines that are in large quantities or large sizes.
[0018] In addition, the display processing unit may display an extended weighing display area corresponding to the extended placement unit instead of the multiple weighing display areas, and may display the collation result of the collation processing unit in the extended weighing display area. This limits the area that the user should look at to the extended weighing display area, compared to when the collation result is displayed in multiple weighing table areas, thereby improving the user's work efficiency.
[0019] The inspection support device may include a visual inspection processing unit that displays a drug name, a drug image, and a prescription amount corresponding to a drug to be visually inspected that is specified in advance among one or more types of drugs included as prescription drugs in the prescription data, and completes the inspection of the drug to be visually inspected in response to a predetermined confirmation operation. This makes it possible to complete the inspection of the prescription drugs included in the prescription data using the inspection support device, even if the prescription data includes prescription drugs for which it is not appropriate to perform weighing inspection using the weighing unit.
[0020] Furthermore, the inspection support device may include an inspection completion notification unit that notifies the user of the completion of inspection of the prescription data when the verification by the verification processing unit or the completion of the inspection by the visual inspection processing unit is completed for all drugs included in the prescription data as prescription drugs. This allows the user to clearly recognize that the inspection of the prescription drugs included in the prescription data has been completed.
[0021] It is also conceivable that the inspection support device includes an imaging unit capable of imaging the weighing unit, and an imaging processing unit for recording the image captured by the imaging unit. More specifically, it is conceivable that the imaging processing unit records the image captured by the imaging unit when the weighing values by all the weighing units are finalized, when the collation by the collation processing unit is completed for all the medicines included in the prescription data, or when a predetermined imaging operation is performed. This makes it possible to leave a record of the state of the weighing unit in the inspection work performed using the inspection support device and to refer to it later. The imaging unit may be capable of imaging a range including the weighing display area. In particular, it is conceivable that the imaging processing unit causes the display unit to display the start of imaging when the weighing values by all the weighing units are finalized, when the collation by the collation processing unit is completed for all the medicines included in the prescription data, or when a predetermined imaging operation is performed, and then causes the imaging unit to image the weighing unit after a predetermined waiting time has elapsed. This increases the possibility that imaging will be performed at the timing when the user has evacuated their hands or the like from the imaging range of the imaging unit, thereby suppressing unnecessary imaging.
[0022] In addition, it is conceivable that the inspection support device is provided with mark lines formed continuously or intermittently on the outside of the plurality of weighing units, and the photographing processing unit records the photographed image by the photographing unit on the condition that there is no obstruction that blocks the mark lines in the photographed image by the photographing unit. As a result, for example, the photographed image by the photographing unit is not recorded when a user's hand or the like is within the photographing range of the photographing unit.
[0023] In particular, it is conceivable that the photographing processing unit records the photographed image by the photographing unit on the condition that the length or area of an obstruction that blocks the marker line in the photographed image by the photographing unit is less than a predetermined threshold value. This restricts recording of the photographed image only when an obstruction having a certain area, such as a user's hand, is present, and allows recording of the photographed image without any problem when an obstruction such as dust blocks the marker line.
[0024] Here, it is considered that a part or all of the mark lines are formed on the weighing dish provided in the weighing section or on an extended placement section placed across the multiple weighing sections, thereby making it possible to record a photographed image in a state where the mark lines on the weighing dish or the extended placement section are not blocked.
[0025] However, since the photographing unit would be an obstacle to the inspection work if it were directly above the weighing unit, it is considered that the photographing unit is set in a position to photograph the weighing unit from an oblique direction, but in this case, the image of the weighing unit will be captured in a trapezoidal shape. Therefore, it is considered that a plurality of correction indicator parts spaced apart from each other are provided in the inspection support device, and the photographing processing unit performs trapezoidal correction of the image photographed by the photographing unit based on the plurality of correction indicator parts present in the image photographed by the photographing unit. As a result, the image photographed by the photographing unit is corrected, and it is possible to obtain an image that is close to the image when the weighing unit is photographed directly above. It is also considered that the photographing unit is capable of photographing all of the weighing units simultaneously.
[0026] The present invention may also be regarded as an inspection support device comprising a plurality of weighing units, a second weighing identification unit that identifies drug identification information to be associated with each of the weighing units based on the weighing results by each of the weighing units and prescription data, an information reading unit that reads the drug identification information from the drug packaging material, and an inspection completion processing unit that completes the inspection of the drug identification information identified by the second weighing identification unit when the drug identification information is read by the information reading unit after the weighing results by the weighing units are determined.
[0027] Furthermore, the present invention may also be regarded as an inspection support method in an inspection support device having a plurality of weighing units and an information reading unit that reads drug identification information from drug packaging material, comprising a second weighing identification step of identifying drug identification information to be associated with each of the weighing units based on the weighing results by each of the weighing units and prescription data, and an inspection completion step of completing the inspection of the drug identification information identified by the second weighing identification step when the drug identification information is read by the information reading unit after the weighing results by the weighing units have been determined.
[0028] Specifically, it is conceivable that the device further includes a unit weight acquisition unit that acquires a weight per unit amount predetermined for each type of drug, and the second weighing specification unit associates the weighing unit that has obtained the weighing result that matches or is most similar to the weight of the drug converted based on the unit weight of the drug acquired by the unit weight acquisition unit with the drug identification information of the drug. In the inspection support device configured in this manner, the user can first place the drug on the weighing unit and then have the information reading unit read the drug identification information, thereby completing the weighing inspection of the drug.
[0029] Also, it is conceivable that the device further includes a unit weight acquisition unit that acquires a weight per unit amount predetermined for each type of drug, and the second weighing specification unit associates the weighing unit that has obtained the weighing result in which the quantity of the drug, obtained by converting the weighed value of the drug based on the unit weight of the drug acquired by the unit weight acquisition unit, matches or is most similar to the quantity of the drug included in the prescription data, with the drug identification information of the drug. Even with the inspection support device configured in this manner, the user can first place the drug on the weighing unit, and then have the information reading unit read the drug identification information, thereby completing the weighing inspection of the drug. Effect of the Invention
[0030] According to the present invention, an inspection support device and an inspection support method are provided that can efficiently and accurately inspect a plurality of types of prescription medicines included in prescription data. [Brief description of the drawings]
[0031] [Figure 1] FIG. 1 is a block diagram showing the configuration of an inspection support device according to an embodiment of the present invention. [Diagram 2] FIG. 2 is a diagram showing the configuration of an inspection support device according to an embodiment of the present invention. [Diagram 3] FIG. 3 is a diagram showing the configuration of an inspection support device according to an embodiment of the present invention. [Figure 4] FIG. 4 is a diagram showing the configuration of an inspection support device according to an embodiment of the present invention. [Diagram 5] FIG. 5 is a diagram showing the configuration of an inspection support device according to an embodiment of the present invention. [Figure 6] FIG. 6 is a diagram showing the configuration of an inspection support device according to an embodiment of the present invention. [Figure 7] FIG. 7 is a flowchart showing an example of an inspection support process executed by the inspection support device according to an embodiment of the present invention. [Figure 8] FIG. 8 is a diagram showing an example of a display screen of the inspection support device according to the embodiment of the present invention. [Figure 9] FIG. 9 is a diagram showing an example of a display screen of the inspection support device according to the embodiment of the present invention. [Figure 10] FIG. 10 is a diagram showing an example of a display screen of the inspection support device according to the embodiment of the present invention. [Figure 11] FIG. 11 is a diagram showing an example of a display screen of the inspection support device according to an embodiment of the present invention. [Figure 12] FIG. 12 is a diagram showing an example of a display screen of the inspection support device according to an embodiment of the present invention. [Figure 13] FIG. 13 is a flowchart showing an example of the procedure of a weighing inspection process executed by the inspection support device according to an embodiment of the present invention. [Figure 14]FIG. 14 is a diagram for explaining the trapezoid correction function of the inspection support device according to an embodiment of the present invention. [Figure 15] FIG. 15 is a diagram for explaining the keystone correction function of the inspection support device according to an embodiment of the present invention. [Figure 16] FIG. 16 is a diagram for explaining the trapezoid correction function of the inspection support device according to an embodiment of the present invention. [Figure 17] FIG. 17 is a diagram for explaining the photography control function of the inspection support device according to an embodiment of the present invention. [Figure 18] FIG. 18 is a diagram for explaining the photography control function of the inspection support device according to an embodiment of the present invention. [Figure 19] FIG. 19 is a diagram showing the configuration of an inspection support device according to another embodiment of the present invention. [Figure 20] FIG. 20 is a diagram showing the configuration of an inspection support device according to another embodiment of the present invention. [Figure 21] FIG. 21 is a diagram showing the configuration of an inspection support device according to another embodiment of the present invention. [Figure 22] FIG. 22 is a diagram showing an example of a display screen of the inspection support device according to an embodiment of the present invention. [Diagram 23] FIG. 23 is a diagram for explaining another example of the photography control function of the inspection support device according to an embodiment of the present invention. [Figure 24] FIG. 24 is a diagram for explaining another example of the photography control function of the inspection support device according to an embodiment of the present invention. [Diagram 25] FIG. 25 is a diagram for explaining another example of the photography control function of the inspection support device according to an embodiment of the present invention. [Figure 26] FIG. 26 is a diagram for explaining another example of the weighing dish and the platter of the inspection support device according to an embodiment of the present invention. [Figure 27] FIG. 27 is a diagram for explaining another example of the keystone correction function of the inspection support device according to an embodiment of the present invention. [Figure 28] FIG. 28 is a diagram for explaining another example of the trapezoid correction function of the inspection support device according to an embodiment of the present invention. [Figure 29] FIG. 29 is a block diagram showing the configuration of an inspection support device according to an embodiment of the present invention. [Figure 30A] FIG. 30A is a diagram showing an example of a display screen of an inspection support device according to an embodiment of the present invention. [Figure 30B] FIG. 30B is a diagram showing an example of a display screen of the inspection support device according to an embodiment of the present invention. [Figure 30C] FIG. 30C is a diagram showing an example of a display screen of the inspection support device according to an embodiment of the present invention. [Figure 30D] FIG. 30D is a diagram showing an example of a display screen of the inspection support device according to an embodiment of the present invention. [Figure 30E] FIG. 30E is a diagram showing an example of a display screen of an inspection support device according to an embodiment of the present invention. [Figure 31A] FIG. 31A is a diagram showing an example of a display screen of an inspection support device according to an embodiment of the present invention. [Figure 31B] FIG. 31A is a diagram showing an example of a display screen of an inspection support device according to an embodiment of the present invention. [Diagram 32] FIG. 32 is a diagram showing an example of a display screen of the inspection support device according to an embodiment of the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0032] [First embodiment] Hereinafter, an embodiment of the present invention will be described with reference to the accompanying drawings to facilitate understanding of the present invention. Note that the following embodiment is an example of the present invention and is not intended to limit the technical scope of the present invention.
[0033] [Medical System 1] 1, the medical system 1 includes an audit support device 100, a dispensing support system 200, and a prescription system 300. The audit support device 100, the dispensing support system 200, and the prescription system 300 are communicatively connected via a network N1 such as a LAN or the Internet.
[0034] [Prescription Support System 200] The dispensing support system 200 receives prescription data from a higher-level system such as an electronic medical record system or a prescription order system. The dispensing support system 200 generates dispensing data to be used in dispensing devices such as a tablet packing machine and a powdered medicine packing machine based on the prescription data, and transmits the data to the dispensing devices. The tablet packing machine can pack one or more types of tablets into packing paper for each time of taking the tablets, and the powdered medicine packing machine can pack one or more types of powdered medicine into packing paper for each time of taking the tablets. Also, the tablet packing machine or the powdered medicine packing machine capable of packing tablets and powdered medicine into the same packing paper is known. The packing paper is made of a transparent or semi-transparent material, and the medicine contained inside the packing paper is visible from the outside. The tablet packing machine or the powdered medicine packing machine also includes a packing printer that writes the patient's name, the time of taking the medicine, and the name of the medicine on the packing paper.
[0035] Here, the dispensing support system 200 stores the prescription data in a pre-set storage device in a sharable state. This allows the inspection support device 100 to acquire the prescription data from the storage device of the dispensing support system 200. It is also possible that the prescription data is actively transmitted from the dispensing support system 200 to the inspection support device 100. The prescription data acquired from the dispensing support system 200 may be, for example, data in an original format edited by the dispensing support system. The prescription data acquired by the inspection support device 100 is not limited to the prescription data acquired by the dispensing support system 200 from the upper system, but may be the dispensing data generated in the dispensing support system 200 based on the prescription data.
[0036] [Receipt System 300] The medical receipt system 300 receives medical data such as medical treatment details and prescription data from a higher-level system such as an electronic medical record system or a prescription order system. The medical receipt system 300 is used to support medical receipt operations such as calculating medical expenses based on the medical treatment data and issuing invoices.
[0037] Here, the receipt system 300 stores the prescription data in a sharable state in a preset storage device. This allows the audit support device 100 to acquire the prescription data from the storage device of the receipt system 300. It is also possible that the prescription data is actively transmitted from the receipt system 300 to the audit support device 100. The prescription data acquired from the receipt system 300 is, for example, in a text file format defined by the NSIPS specification.
[0038] [Inspection support device 100] As shown in Fig. 1 and Fig. 2, the inspection support device 100 includes a control unit 10, a display unit 20, an operation unit 30, a storage unit 40, a weighing device 50, an information reading unit 60, and an image capturing unit 70. The inspection support device 100 is used to support the work of medical personnel such as pharmacists who perform a final inspection of medicines dispensed based on the prescription data in medical institutions such as hospitals, elderly care facilities, and pharmacies. The weighing device 50, the information reading unit 60, and the image capturing unit 70 are communicably connected to the control unit 10 according to a communication standard such as USB, RS232C, or Bluetooth (registered trademark).
[0039] In this embodiment, the audit support device 100 includes a tablet terminal 80 including the control unit 10, the display unit 20, the operation unit 30, and the storage unit 40. This makes it possible to miniaturize the audit support device 100. Note that another embodiment may be one in which the audit support device 100 includes the control unit 10, the display unit 20, the operation unit 30, and the storage unit 40 individually.
[0040] The audit support device 100 is connected to a commercial AC power source by a power cord (not shown) and operates on power supplied from the commercial AC power source. The tablet terminal 80 also has a built-in secondary battery that is charged by the commercial AC power source. Therefore, even if the commercial AC power source is cut off, the tablet terminal 80 can operate for a certain period of time using the secondary battery, making it possible to back up data during a power outage, for example.
[0041] The control unit 10 includes a CPU, a ROM, a RAM, and an EEPROM. The CPU is a processor that executes various arithmetic processes according to various control programs. The ROM is a non-volatile memory in which programs such as BIOS executed by the CPU are stored in advance. The RAM and the EEPROM are volatile and non-volatile memories used by the CPU to expand the various control programs and temporarily store data.
[0042] The display unit 20 and the operation unit 30 are user interfaces that display information to the user and accept user operations under the control of the control unit 10. The display unit 20 has a liquid crystal display or an organic EL display, and the operation unit 30 has a touch panel disposed on the display unit 20. Specifically, in the audit support device 100, the control unit 10 displays various operation keys on the display unit 20 and accepts user operations by detecting the operation of the operation keys with the touch panel of the operation unit 30. The operation unit 30 may include a mouse or a keyboard. Furthermore, the operation unit 30 may have a voice operation input unit that accepts input of various information by voice recognition.
[0043] 2 and 3, the inspection support device 100 is provided with a cover member 90 that can be opened and closed relative to the inspection support device 100. Specifically, the cover member 90 is rotatably supported by a pivot support portion 91 at one end of the weighing device 50, and can be opened and closed relative to the inspection support device 100. The tablet terminal 80 is disposed on the cover member 90. In this manner, in the inspection support device 100, the tablet terminal 80 is disposed on the cover member 90, thereby making the inspection support device 100 more compact.
[0044] Here, the tablet terminal 80 is supported by the cover member 90 in a position where the display surface of the display unit 20 is exposed to the inner surface side of the cover member 90. In particular, when the cover member 90 is closed as shown in FIG. 3, the tablet terminal 80 is supported by the cover member 90 in a position where the display surface of the display unit 20 faces weighing units 51 to 54 (described later) provided in the weighing device 50. As a result, as shown in FIG. 2, when the cover member 90 is opened, the display unit 20 and the operation unit 30 face the weighing units 51 to 54 of the weighing device 50. Therefore, the user can perform the inspection work without moving his / her eyes significantly in a state where the display unit 20, the operation unit 30, and the weighing units 51 to 54 of the weighing device 50 can be seen at once.
[0045] The storage unit 40 is a storage device such as a solid state drive or a flash memory that stores various application programs and various data executed by the control unit 10. The storage unit 40 may be a hard disk drive or the like that is externally connected to the control unit 10.
[0046] The storage unit 40 stores the prescription data acquired by the control unit 10 from the dispensing support system 200, the receipt system 300, or the like. For example, the control unit 10 refers to a shared folder in a storage device of the dispensing support system 200, the receipt system 300, or the like at a predetermined timing, and acquires unacquired prescription data in the shared folder.
[0047] The storage unit 40 also stores various databases such as a drug master and a patient master. The drug master and the patient master can be updated by linking with the dispensing support system 200 or the receipt system 300. The drug master includes information such as drug code, standard amount, host code, drug name, general drug name, JAN code, RSS code, YJ code (individual drug code), GS1 code, medicine bottle code, dosage form code (powders, tablets, liquids, external medicines, etc.), form code, poisonous drugs / controlled drug types (psychotropic drugs, narcotics), management (vehicle height, safe, cool place, etc.), and unit (dispensing unit). The drug master also includes information such as weight (plain tablet) per unit amount (single), weight per PTP sheet, weight of one tablet with ears at the top of the PTP, weight of one tablet without ears at the top of the PTP, number per PTP sheet, and file name of drug image (plain drug, packaged product). The PTP sheet is a packaging material in which a plurality of tablets or a plurality of capsules are individually accommodated. In this embodiment, the PTP sheet is taken as an example for explanation, but a heat seal in which a predetermined amount of tablets or powder medicine is pre-packaged is also an example of a packaging material. Meanwhile, the patient master includes information such as the patient code, patient name, date of birth, and sex of each patient. FIG. 22 is a diagram showing an example of a master maintenance screen D13 for referring to or editing the medicine master. The control unit 10 can display the master maintenance screen D13 on the display unit 20 in response to a user operation. FIG. 22 shows a state in which the medicine master is displayed on the master maintenance screen D13. The control unit 10 can also change the contents of the medicine master and the patient master in response to a user operation. Meanwhile, the control unit 10 can identify the user of the inspection support device 100 by performing user authentication based on a user ID and a password input using the display unit 20 and the operation unit 30 when the inspection support device 100 is turned on or when the device returns from a power saving mode. Furthermore, in the inspection support device 100, the control unit 10 can set usage authority for each user in advance in response to user operations or the like.For example, it is possible to set authority types such as "general", "administrator", "maintenance manager", "support", "training", and "technician" for each user. The control unit 10 may change the processes executable by the inspection support device 100 according to the authority type corresponding to the user identified as the user. For example, master maintenance for editing the drug master, daily update operation, and inspection history inquiry operation can be executed only by the "general", "administrator", or "maintenance manager" among the authority types. In addition, software setting, hardware setting, and mother master regular update can be executed only by the "administrator" or "maintenance manager" among the authority types. The mother master is, for example, a database of medicines provided by the manufacturer of the inspection support device 100. It is also possible to make only some of the processes executable depending on the authority type. For example, it is possible to set the "administrator" among the authority types to be able to use only balance calibration for the hardware setting. In addition, it is also possible to configure the control unit 10 to be able to set the processes executable for each user, not for each authority type.
[0048] Furthermore, the storage unit 40 stores an audit support program executed by the control unit 10. The audit support program is downloaded, for example, via the network N1, or read from a recording medium by a disk drive and installed in the storage unit 40. The control unit 10 executes various processes according to the audit support program, thereby functioning as a weighing specification unit 11, a unit weight acquisition unit 12, a unit conversion processing unit 13, a matching processing unit 14, a visual audit processing unit 15, an audit completion notification unit 16, a display processing unit 17, and an image capture processing unit 18. In addition, a part or all of the control unit 10 may be an electronic circuit such as an ASIC. The operation of each processing unit of the control unit 10 will be described with reference to a flowchart below.
[0049] The weighing device 50 includes four weighing units 51 to 54 and is used to weigh the weight of a medicine. The weighing results by the weighing units 51 to 54 are input to the control unit 10. Hereinafter, in this embodiment, for convenience of explanation, the unspecified weighing units 51 to 54 may be referred to as "weighing unit 5N". Note that, in this embodiment, a configuration in which the weighing device 50 includes four weighing units 51 to 54 will be described as an example, but the weighing device 50 may include at least two weighing units.
[0050] 2, 4, and 5, the weighing section 5N includes a weighing dish 55, a load cell 56, and a mounting portion 57. Fig. 4 is a diagram showing a state in which the weighing dish 55 is removed, and Fig. 5 is a diagram showing a state in which the weighing dish 55, the mounting portion 57, and an upper surface 501 of the weighing device 50 are removed.
[0051] The weighing dish 55 is used by being placed on the placement portion 57, and the medicine to be weighed is placed on the weighing dish 55. As shown in FIG. 2, each of the weighing dishes 55 has a corner 551 on one diagonal line and a corner 552 on the other diagonal line that have different radii of roundness. Specifically, the pair of corners 551 have a smaller radius than the corner 552, and for example, one of the corners 551 is held when the weighing dish 55 is lifted by a user, and the other corner 551 is inserted into the medicine bag when the medicine on the weighing dish 55 is placed in the medicine bag. The weighing dish 55 may have a configuration in which the corners 551 and the corners 552 have the same radius of roundness.
[0052] In addition, it is considered that a non-slip member is provided on either or both of the bottom surface of the weighing dish 55 and the top surface of the mounting portion 57 to increase the frictional resistance between the bottom surface of the weighing dish 55 and the top surface of the mounting portion 57. As a result, in the inspection support device 100, the swinging of the weighing dish 55 placed on the mounting portion 57 is suppressed, and weighing using the weighing dish 55 can be stably performed. When the non-slip member is provided on the weighing dish 55, the non-slip member is provided on a part or the whole of the bottom surface of the weighing dish 55. Similarly, when the non-slip member is provided on the mounting portion 57, the non-slip member is provided on a part or the whole of the top surface of the mounting portion 57. Furthermore, it is considered that the non-slip member is an adhesive sheet. As a result, the weighing dish 55 and the placement portion 57 are temporarily fixed by the non-slip member, and the shaking of the weighing dish 55 is further suppressed, thereby preventing a situation in which the weighing by the weighing portion 5N becomes unstable. The non-slip member may be provided on a large dish 58 described later.
[0053] The load cell 56 supports the placement section 57 and is a load converter that measures the weight of the weighing object placed on the placement section 57. In the inspection support device 100, the weighing dish 55 is placed on the placement section 57, and the weight of the medicine placed on the weighing dish 55 is weighed by the load cell 56. As the load cell 56, a load cell having a small rated capacity of, for example, 300 g or 500 g and high weighing accuracy is used. Note that, as another embodiment, the weighing dish 55 and the placement section 57 may be integrally configured.
[0054] The placement portion 57 is supported by the load cell 56, and the weighing dish 55 is placed on the upper surface. In addition, a recess is formed on the upper surface of the placement portion 57 for stably placing the bottom surface of the weighing dish 55. Incidentally, it is also possible that the load cell 56 and the placement portion 57 are connected below the upper surface 501 of the weighing device 50, and a large-sized opening corresponding to the placement portion 57 is formed on the upper surface 501. However, in this case, a wide gap is generated between the upper surface 501 and the placement portion 57, and a problem occurs in that dust and the like easily enters the inside through the gap. In contrast, in the weighing device 50, the load cell 56 and the placement portion 57 are connected above the upper surface 501, and a small opening corresponding to the connection point is formed on the upper surface 501. As a result, in the weighing device 50, a structure is realized in which dust and the like are less likely to enter the inside through the opening of the upper surface 501.
[0055] In the weighing device 50, the weighing result by the load cell 56 includes the weights of the weighing dish 55 and the placement unit 57. Therefore, the control unit 10 executes tare subtraction during weighing using the load cell 56, and obtains a value obtained by subtracting the tare weights of the weighing dish 55, the placement unit 57, etc. from the weighing result of the load cell 56 as the weighing result of the medicine placed on the weighing dish 55. The tare weight is initially set at the time of shipment of the inspection support device 100, but the inspection support device 100 can also reset the tare weight at any timing. In addition, as described above, when the anti-slip member is provided on either or both of the weighing dish 55 and the placement unit 57, the weight of the anti-slip member is also included in the tare weight.
[0056] As shown in FIG. 6, the weighing device 50 can weigh medicines using a large plate 58 (an example of an extended placement section) that is larger than the weighing plate 55 instead of the weighing plates 55. The large plate 58 can be placed across the weighing sections 51 to 54. Specifically, a convex portion 581 is provided on the bottom surface of the large plate 58 at a position corresponding to the placement sections 57 of the weighing sections 51 to 54. Then, in the weighing device 50, after the weighing plate 55 is removed as shown in FIG. 4, each of the convex portions 581 of the large plate 58 is placed on each of the placement sections 57 of the weighing sections 51 to 54 as shown in FIG. 6. As a result, for example, when the rated capacity of the load cells 56 of the weighing sections 51 to 54 is 500 g, the weighing device 50 can weigh up to 2.0 kg in total by using the large plate 58. In addition, the large plate 58 is not limited to being placed on the placement portions 57 of the plurality of weighing units 51 to 54 instead of the plurality of weighing plates 55, and may be placed across the plurality of weighing plates 55 while the plurality of weighing plates 55 remain placed on the placement portions 57. This improves convenience since the user does not need to attach and detach each of the weighing plates 55. The convex portion 581 of the large plate 58, the placement portions 57, and the weighing plate 55 have shapes that allow the large plate 58 to be stable when placed on the placement portions 57 or the weighing plates 55 of the four weighing units 51 to 54.
[0057] Furthermore, a cross section 582 is formed in the large plate 58 to indicate the center position of the large plate 58. As a result, the cross section 582 serves as an index for setting the medicine at the center of the large plate 58, and the user can be prompted to set the medicine at the center of the large plate 58. Furthermore, if the medicine is not placed at the center of the large plate 58, the load acting on the weighing units 51 to 54 from the large plate 58 is biased, and it is considered that only the weighing value of one of the weighing units 51 to 54 exceeds the rated capacity. For example, if the rated capacity of each of the weighing units 51 to 54 is 200 g, when 500 g of the medicine is placed on the large plate 58, there is a risk that the weighing value of one or more of the weighing units 51 to 54 exceeds the rated capacity of 200 g. Therefore, when the large plate 58 is used, if the difference in the weighing values obtained by each of the weighing units 51 to 54 exceeds a predetermined range, i.e., if the load is not applied evenly, the control unit 10 may display a warning message such as "Please move it to the center."
[0058] In addition, the cross portion 582 serves as an index for setting the large plate 58 at the center of the weighing portion 51-54 so that the load acts evenly on the weighing portion 51-54, and it is considered that the user can easily set the large plate 58 at the center of the weighing portion 51-54. For example, an index portion for determining the center position of the weighing portion 51-54 may be formed on the upper surface 501. In this case, it is easier to set the large plate 58 at the center of the weighing portion 51-54 while referring to the cross portion 582 and the index portion. In addition, a recess 583 is formed on the inner wall surface of the large plate 58, which indicates the vertical center position and the horizontal center position of the large plate 58 in a plan view. Therefore, even if the cross portion 582 is hidden by the medicine in the large plate 58, the center position of the large plate 58 can be estimated by referring to the recess 583, and the user can easily set the large plate 58 at the center of the weighing portion 51-54. Furthermore, when the large plate 58 is photographed by the photographing unit 70, the control unit 10 can detect the center position of the large plate 58 based on the position and shape of the cross portion 582 or the recessed portion 583 included in the photographed image. For example, the control unit 10 can display a warning on the display unit 20 when the center position of the large plate 58 is outside a predetermined range.
[0059] The information reading unit 60 is a barcode reader capable of reading identification information such as one-dimensional codes such as barcodes (JAN, GS1) or two-dimensional codes such as QR codes (registered trademark), and inputs the read identification information into the control unit 10.
[0060] Specifically, the information reading unit 60 is used to read identification information (hereinafter referred to as "prescription identification information") printed on the medicine bag to identify prescription data. The prescription identification information is printed on the medicine bag by the dispensing support system 200, and includes a prescription number and an Rp number for identifying Rp data of the same usage unit to be contained in the same medicine bag. The prescription identification information may be other information such as order information as long as it is information capable of identifying the Rp data.
[0061] The information reading unit 60 is also used to read identification information (hereinafter referred to as "drug identification information") printed on a drug packaging material such as a packing paper or a PTP sheet in order to identify the drug. The drug identification information is, for example, a JAN code, an RSS code, a YJ code, or a GS1 code.
[0062] When the prescription identification information is read from the medicine bag by the information reading unit 60, the control unit 10 can obtain prescription data corresponding to the prescription identification information from the storage unit 40. When the medicine identification information is read from the packaging material by the information reading unit 60, the control unit 10 can identify the type of medicine corresponding to the medicine identification information based on the medicine master. Note that the types of medicine include the same medicine with different standard amounts as different types of medicine. For example, "Memary Tablets 5 mg", "Memary Tablets 10 mg", and "Memary Tablets 20 mg" have the same drug name but different standard amounts, and are therefore treated as different types of medicine.
[0063] As shown in FIG. 2, the photographing unit 70 includes a camera body 710 and a holding member 720 that holds the camera body 710. The camera body 710 is a digital camera used to take still or moving images of a subject. In the inspection support device 100, the photographing unit 70 photographs an image in accordance with a control instruction from the control unit 10, and the photographed image is transmitted from the photographing unit 70 to the control unit 10. It is also possible that video information of the photographing range captured by the photographing unit 70 is input to the control unit 10, and a still image is obtained from the video information by the control unit 10. In this case, the control unit 10 can determine the situation within the photographing range of the photographing unit 70 at any time based on the video information.
[0064] Here, it is considered that the photographing unit 70 is disposed at a position and orientation that allows the weighing units 51 to 54 of the weighing device 50 and the display unit 20 to be photographed simultaneously. Meanwhile, in the photographing unit 70, the camera body unit 710 is held by the holding member 720 by holding a connecting portion 711 provided on the camera body unit 710. At this time, the holding member 720 holds the camera body unit 710 in a state in which the photographing range by the camera body unit 710 can be adjusted within a predetermined range (for example, about 1 mm). For example, the holding member 720 has a swinging mechanism that can swing the holding portion that holds the connecting portion 711 of the camera body unit 710 within a range of a predetermined width. As a result, in the inspection support device 100, it is possible to easily adjust the photographing range photographed by the photographing unit 70 by finely adjusting the orientation of the camera body unit 710 held by the holding member 720. In addition, it is sufficient that the photographing unit 70 is capable of photographing at least the weighing units 51 to 54, and it is also possible in another embodiment that the photographing range does not include the display unit 20. Furthermore, the photographing unit 70 may be fixed to the cover member 90.
[0065] 2, the photographing unit 70 is supported by the support arm 71 by fixing the holding member 720 to the support arm 71, and the support arm 71 is rotatably connected to a support arm 73 via a rotation support part 72. This allows a user to rotate the support arm 71 to finely adjust the photographing range of the photographing unit 70. Meanwhile, the support arm 73 is fixed to the weighing device 50. Another embodiment may be one in which the support arm 73 is rotatably supported by the weighing device 50, and the support arm 73 is rotated when the cover member 90 is closed to allow compact folding.
[0066] [Audit support processing] An example of the procedure of the audit support process executed by the control unit 10 in accordance with the audit support program in the audit support device 100 will be described below with reference to the flowchart in Fig. 7. Specifically, the audit support process is started by the control unit 10 when the audit support device 100 is powered on or returns from a power saving mode. The audit support process ends when the audit support device 100 is shut down or when it transitions to a power saving mode after no operation has been performed for a predetermined period of time. When the audit support device 100 is powered on or returns from a power saving mode, the control unit 10 identifies the user of the audit support device 100 by performing user authentication using the display unit 20 and the operation unit 30 to input a user ID and password, etc.
[0067] <Step S11> First, in step S11, the control unit 10 displays a predetermined prescription inspection screen D10 on the display unit 20. Here, FIG. 8 is a diagram showing an example of the prescription inspection screen D10. As shown in FIG. 8, the prescription inspection screen D10 displays operation keys such as an unprocessed information key K11, a packing paper selection key K12, a visual inspection key K13, a large plate use key K14, a tare key K15, a menu key K16, an inspection completion key K17, a photographing key K18, and an image display key K19. Furthermore, the prescription inspection screen D10 displays weight display areas A11 to A14 and a prescription display area A15. Note that the prescription inspection screen D10 also displays the name of the user authenticated by the user authentication as an authenticated person. Furthermore, the control unit 10 can display an authentication screen for performing the user authentication again when, for example, an operation is performed near the user's name, and can switch the authenticated person according to the input of a user ID, a password, and the like thereafter.
[0068] The unprocessed information key K11 is an operation key for displaying a list of unprocessed prescription data for which inspection has not been completed on the prescription inspection screen D10. In response to the operation of the unprocessed information key K11, the control unit 10 displays an unprocessed display area A21 in which a list of unprocessed prescription data is displayed on the prescription inspection screen D10, as shown in Fig. 9. In the unprocessed display area A21, information such as prescription date, patient name, total Rp number, and exchange ticket number is displayed as information for identifying unprocessed prescription data.
[0069] In addition, the unprocessed display area A21 displays a search operation area A22 and a detail display key K21. The control unit 10 searches for the prescription data according to the item selected in the search operation area A22 and the input characters input in the search operation area A22, and displays the search results. For example, FIG. 9 shows a display example in which the item "date" is selected in the search operation area A22 and the characters "20131130" are input, and a list of prescription data with a prescription date of November 30, 2013 is displayed as a search result in the unprocessed display area A21. On the other hand, when the detail display key K21 is operated, the control unit 10 displays detailed information about the prescription data at the location where the detail display key K21 is displayed. The detailed information includes, for example, the contents (such as drug name, usage, and daily amount) of one or more prescription data of the same dosage unit (hereinafter referred to as "Rp data") included in the prescription data. Each of the Rp data includes one or more types of prescription drugs that have the same usage and are contained in the same drug bag.
[0070] Returning to FIG. 8, the packaging paper selection key K12 is an operation key for specifying the type of packaging paper to be used when weighing the packaging paper when the medicine identification information is read from the packaging paper by the information reading unit 60 and the medicine identification information does not include the preset specific information. For example, there are 10 types of packaging paper, such as 60 mm, 70 mm, 76 mm, 80 mm, and 90 mm, for each of cellopoly and glassine. In response to the operation of the packaging paper selection key K12, the control unit 10 displays a plurality of packaging papers registered in advance as selection candidates, and sets a preset weight corresponding to the packaging paper selected from among them as the weight of the packaging paper to be used in the weighing inspection process described below. The specific information is information for determining whether the weight of the packaging paper is known in a dispensing device such as a tablet packaging machine or a powdered medicine packaging machine in which the packaging process using the packaging paper is performed, and whether the weight of the packaging paper is included in the weight per packaging paper or the total weight of all packaging papers included in the medicine identification information. For example, the identification information is information for identifying a manufacturer of the tablet packaging machine or the powdered medicine packaging machine.
[0071] The visual inspection key K13 is an operation key for executing a visual inspection process for the prescription data displayed in the prescription display area A15. When the visual inspection key K13 is operated with one or more medicines included in the prescription data selected, the control unit 10 displays a visual inspection screen D11 for executing a visual inspection for each of the medicines selected in the prescription display area A15 on the display unit 20, as shown in Fig. 10. As shown in Fig. 10, the visual inspection screen D11 displays a medicine information display area A31, a medicine image display area A32, a target value display area A33, and an inspection input area A34 corresponding to each of the medicines.
[0072] Specifically, the control unit 10 reads out the drug name of the drug to be visually inspected selected on the prescription display screen D10 from the prescription data or Rp data and displays it in the drug information display area 31. The control unit 10 also reads out the drug image of the drug to be visually inspected from the drug master and displays it in the drug image display area A32. Furthermore, the control unit 10 reads out the target value of the drug to be visually inspected from the prescription data or Rp data and displays it. The control unit 10 associates the numerical value inputted in the inspection input area A34 with the drug to be visually inspected and stores it in the storage unit 40 as an inspection history. Here, the units such as "tablet", "g", "packet", and "capsule" displayed in the inspection input area A34 are units preset for each drug in the drug master. In addition, if it is not possible to display all of the drugs to be visually inspected on the visual inspection screen D11, the control unit 10 scrolls the display of the drugs to be visually inspected in response to a left / right flick operation or an arrow key operation on the visual inspection screen D11.
[0073] Then, when a confirmation key K31 is operated on the visual inspection screen D11, the control unit 10 processes it as the visual inspection of the drug subject to visual inspection being displayed on the visual inspection screen D11 being completed, and stores it as an inspection history in the memory unit 40. In this way, in the visual inspection process, information such as the drug name, drug image, and target value of the drug subject to visual inspection is displayed on the visual inspection screen D11, so that the user can easily perform visual inspection of the drug subject to visual inspection by referring to the visual inspection screen D11.
[0074] Returning to FIG. 8, the large plate use key K14 is an operation key for executing the weighing inspection process using the large plate 58. In response to the operation of the large plate use key K14, the control unit 10 displays one weighing display area A41 on the prescription inspection screen D10 instead of the weighing display areas A11 to A14, as shown in FIG. 11. It is considered that the control unit 10, for example, grays out or hides the weighing display areas A11 to A14. The weighing display area A41 displays the sum of all the weighing values of the weighing units 51 to 54 as the weighing result. Also, the weighing display area A41 displays the result of matching the weighing result when the large plate 58 is used with the prescription data in the weighing inspection process described later. As a result, the inspection support device 100 can execute weighing inspection using the large plate 58 even for a large amount of medicine or a large-sized medicine that is difficult to weigh on each of the weighing plates 55.
[0075] The tare key K15 is used for starting a tare process for updating the set value of the tare weight for the tare weight corresponding to each of the weighing units 51 to 54 in the weighing device 50. For example, when using the large plate 58, the user places the large plate 58 on the weighing units 51 to 54 and then operates the tare key K15. This causes the control unit 10 to set the current weighing value of each of the weighing units 51 to 54 as the tare weight of each of the weighing units 51 to 54. Therefore, the control unit 10 can weigh the weight of the medicine placed on the weighing plate 58 by subtracting the tare weight from the weighing value measured by the weighing units 51 to 54. At this time, when the large plate 58 is placed on each of the weighing plates 55, the weight of the four weighing plates 55 is also included in the tare weight. When the large dish 58 is changed to the weighing dish 55, the tare weight subtraction key K15 is operated and the tare weight corresponding to the weighing dish 55 is set.
[0076] The menu key K16 is an operation key for displaying a menu of various functions of the inspection support device 100. In response to the operation of the menu key K16, the control unit 10 displays a menu screen for performing operations such as initial setting, master registration, environment setting, software version update, or history inquiry.
[0077] The inspection completion key K17 is operated in the inspection support device 100 when the inspection of the medicines that have not been inspected among the Rp data currently displayed on the prescription inspection screen D10 is terminated without performing the visual inspection process or the weighing inspection process described later. In response to the operation of the inspection completion key K17, the control unit 10 completes the inspection of the medicines that have not been inspected among the Rp data currently displayed on the prescription inspection screen D10, stores the history in the storage unit 40, and then terminates the inspection of the Rp data. As a result, even if there are uninspected medicines that the pharmacist can visually determine to be proper, the inspection of the displayed Rp data can be completed by operating the inspection completion key K17, thereby speeding up the inspection work. Note that when the inspection is forcibly completed by operating the inspection completion key K17, the control unit 10 may display an inspection completion screen indicating that the inspection has been completed on the display unit 20. On the inspection completion screen, weighed and inspected drugs inspected in a weighing inspection process described below are marked with a check mark of a predetermined first color, and visually inspected drugs inspected in a visual inspection process described below are marked with a check mark of a predetermined second color different from the first color. Furthermore, uninspected drugs not inspected in the weighing inspection process or the visual inspection process are displayed in a manner (e.g., without a check mark) that is distinguishable from the weighed and inspected drugs and the visually inspected drugs. Note that, on the inspection completion screen, it is only necessary to be able to distinguish between the weighed and inspected drugs, the visually inspected drugs, and the uninspected drugs on the inspection completion screen, and for example, the background colors of each may be different.
[0078] The photographing key K18 is an operation key for recording the photographed image by the photographing unit 70. The control unit 10 causes the photographing unit 70 to photograph an image in response to the operation of the photographing key K18. Then, the control unit 10 associates the photographed image with the prescription data to which the Rp data currently displayed on the prescription inspection screen D10 belongs, and records it in the storage unit 40 as an inspection history. This allows the control unit 10 to display the photographed image stored in the storage unit 40 for each prescription data. Note that, as another embodiment, the control unit 10 may associate the photographed image with each Rp data and store it in the storage unit 40. As another method of use, after the inspection of medicines using the inspection support device 100 is completed, the user may place the prescription, drug bag, and medicine corresponding to the prescription data that was the subject of the inspection within the photographing range of the photographing unit 70, such as the upper surface 501 of the weighing device 50, and then operate the photographing key K18. As a result, the prescription, the medicine envelope, and the medicine are photographed by the photographing unit 70, and the photographed images are recorded in the memory unit 40 as an inspection history in association with the prescription data.
[0079] FIG. 12 is a diagram showing an example of an inspection history inquiry screen D12 for referring to the inspection history in the inspection support device 100. The inspection history inquiry screen D12 displays an extraction condition display area A51 in which conditions for extracting the inspection history stored in the storage unit 40 can be input, a list display area A52 that displays the extraction result, and a history content display area A53 in which the content of the inspection history selected in the list display area A52 is displayed. Specifically, in the extraction condition display area A51, it is possible to input the inspection period (inspection date and time), prescription date, patient name, drug name, pharmacist name, and yellow judgment presence or absence. Here, FIG. 32 is a diagram showing an example of an input screen for the inspection period. In the input screen shown in FIG. 32, it is possible to input the start date and time (year, month, day, hour, minute, second) of the inspection date and time and the end date and time (year, month, day, hour, minute, second) of the inspection date and time. Then, the control unit 10 reads out the inspection history that matches the conditions input in the extraction condition display area A51 from the storage unit 40 and displays it in a list on the inspection history inquiry screen D12. In the history content display area A53, the target column displays the target value (values such as tablets, capsules, and sheets) of the medicine corresponding to the prescription data, and the inspection column displays the converted value (values such as tablets, capsules, and sheets) obtained by converting the weighed value of the medicine weighed by the inspection support device 100 into the unit of the medicine. However, the word "visual" is displayed in the inspection column of the medicine that has been inspected by the visual inspection process described later among the prescription medicines. In addition, in the inspection history inquiry screen D12, a thumbnail image of the image captured by the photographing unit 70 stored in the storage unit 40 as the inspection history of the prescription data selected in the list display area A52 is displayed as the image display key K19 in the same manner as in the prescription inspection screen D10. When the prescription, the medicine bag, and the medicine are photographed by the photographing unit 70, thumbnail images of the photographed images are also displayed as the image display keys K19. In response to an operation of the image display keys K19, the control unit 10 causes the photographed image corresponding to the image display keys K19 to be enlarged and displayed on the inspection history inquiry screen D12.
[0080] Returning to FIG. 8, the image display key K19 is a thumbnail image of an image captured by the photographing unit 70 and stored in the storage unit 40 as an inspection history of the prescription data displayed in the prescription display area A15. In FIG. 8 and FIG. 12, "Image 1" to "Image 4" are displayed as names of thumbnail images under the image display key K19, but it is also possible to use "Rp number" and "serial number" as names of thumbnail images. For example, when the Rp number is "01", the name of the first image is "01-1" and the name of the second image is "01-2". In addition, the control unit 10 enlarges and displays the thumbnail image corresponding to the image display key K19 in response to the operation of the image display key K19.
[0081] The weighing display areas A11 to A14 are display areas corresponding to the weighing units 51 to 54, respectively, and the weighing results by the weighing units 51 to 54 are displayed in the weighing display areas A11 to A14. Here, in the display unit 20, the weighing display areas A11 to A14 are displayed in the same arrangement as the weighing units 51 to 54. For example, the weighing display area A11 corresponding to the weighing unit 51 is arranged in the upper left as in the weighing unit 51, and the weighing display area A12 corresponding to the weighing unit 52 is arranged in the upper right as in the weighing unit 52. In this way, the control unit 10 causes the weighing display areas A11 to A14 corresponding to the weighing units 51 to 54 to be displayed on the display unit 20 in the same arrangement as the weighing units 51 to 54. Such display processing is executed by the display processing unit 17 of the control unit 10. Hereinafter, in this embodiment, for convenience of explanation, the unspecified weight display areas A11 to A14 may be referred to as "weight display area A1M".
[0082] The prescription display area A15 is a display area in which a list of prescription drug names and drug images included in the Rp data to be displayed is displayed together with the patient name and patient code. For drugs for which drug images are not registered in the pharmaceutical master, the text "no image" is displayed instead of the drug image. In addition, in the prescription display area A15, prescription drugs included in the Rp data can be selected, and one or more selected prescription drugs are marked with a check mark and in a selected state. Also, when drug identification information is read by the information reading unit 60, the prescription drug corresponding to the drug identification information is marked with a check mark and in a selected state. Among the prescription drugs displayed in the prescription display area A15, drugs that have already been inspected in the visual inspection process described below are displayed with a background color different from that of other drugs.
[0083] <Steps S12 to S13> Next, in steps S12 to S13, the control unit 10 judges whether or not an operation has been performed to identify prescription data to be inspected in the inspection support device 100. Specifically, in step S12, the control unit 10 judges whether or not the prescription identification information written on the medicine bag has been read by the information reading unit 60. In addition, in step S13, the control unit 10 judges whether or not an operation has been performed to select prescription data from an unprocessed list. Then, when the prescription data has been identified (S12 or S13: Yes side), the control unit 10 shifts the process to step S14.
[0084] <Step S14> In step S14, the control unit 10 reads out the prescription data specified in step S12 or step S13. Specifically, when the prescription identification information is read out from the medicine bag in step S12, the control unit 10 reads out the Rp data corresponding to the prescription identification information from the storage unit 40. That is, the control unit 10 can obtain the prescription data to be inspected based on the prescription identification information of the medicine bag read out by the information reading unit 60. Here, this processing is executed by the collation processing unit 14 of the control unit 10. It is to be noted that the control unit 10 may specify the Rp data as the inspection target when the Rp data is selected in the detailed information displayed in response to the operation of the detail display key K21 in the unprocessed display area A21.
[0085] In addition, when unprocessed prescription data is selected in step S13, the control unit 10 reads out the selected prescription data from the storage unit 40. That is, the control unit 10 can select the prescription data to be inspected from a plurality of prescription data in response to a user operation. Here, this process is executed by the collation processing unit 14 of the control unit 10.
[0086] 8 is a display example of the prescription inspection screen D10 when unprocessed prescription data is selected in step S13. When prescription data is selected in step S13, the Rp data to be inspected is not specified even if the prescription data includes multiple Rp data. Therefore, as shown in FIG. 8, the prescription display area A15 displays a designated Rp No. "1 / 3" to indicate the Rp data currently to be displayed among the Rp data included in the prescription data.
[0087] For example, the designated RpNo "1 / 3" indicates that the prescription data includes three Rp data, and the first Rp data is currently displayed. The control unit 10 changes the designated RpNo by operating "+" and "-" displayed in the prescription display area A15, or by directly inputting a numerical value, and displays the Rp data corresponding to the changed designated RpNo in the prescription display area A15. When the information reading unit 60 reads the medicine identification information from the medicine packaging material, the control unit 10 searches for Rp data including the medicine corresponding to the medicine identification information from the prescription data displayed in the prescription display area A15, and displays the Rp data in the prescription display area A15.
[0088] On the other hand, when the prescription identification information is read from the medicine bag in step S12, the Rp data to be inspected can be specified by the prescription identification information. Therefore, when the prescription identification information is read from the medicine bag in step S12, the prescription inspection screen D10 displays the Rp data corresponding to the prescription identification information, and the display of the specified RpNo in the prescription display area A15 is omitted.
[0089] <Step S15> Next, in step S15, if there is a visual inspection set medicine in the prescription data or the Rp data that is set in advance as a medicine to be inspected in the visual inspection process (S15: Yes side), the control unit 10 shifts the process to step S151 and executes the visual inspection process described below. In this case, the visual inspection set medicine is identified as a visual inspection target medicine that is a target of visual inspection. The visual inspection set medicine is, for example, a medicine that does not have a barcode on the packaging material of the medicine, or a medicine that is a mixture of water and paste. Note that, if there is no medicine to be treated as a visual inspection target medicine in the prescription data or the Rp data (S15: No side), the process shifts to step S16. In addition, it is also possible to omit the step S15 as another embodiment.
[0090] <Step S16> In step S16, if an operation to start visual inspection is performed (S16: Yes side), the control unit 10 shifts the process to step S151, and if an operation to start visual inspection is not performed (S16: No side), the control unit 10 shifts the process to step S17. Specifically, the control unit 10 determines that an operation to start visual inspection is performed when the visual inspection key K13 is operated with one or more prescription drugs displayed on the prescription inspection screen D10 selected. In this case, the one or more prescription drugs selected on the prescription inspection screen D10 are identified as drugs to be visually inspected.
[0091] <Step S17> In step S17, if the medicine identification information is read from the packaging paper that is the packaging material for the medicine (S17: Yes side), the control unit 10 shifts the process to step S171 and executes a visual inspection process described below. Note that, for example, the medicine identification information corresponding to the medicine packaged in the packaging paper is recorded in the packaging paper by a code such as a QR code (registered trademark). Also, if the medicine identification information is not read from the packaging paper (S17: No side), the control unit 10 shifts the process to step S18.
[0092] <Step S18> In step S18, if the drug identification information is read from a PTP sheet, which is a packaging material for the drug (S18: Yes side), the control unit 10 identifies the prescription drug corresponding to the drug identification information as a drug to be weighed and inspected, and shifts the process to step S19 to execute the weighing inspection process described below. If the drug identification information is not read from a PTP sheet (S18: No side), the control unit 10 returns the process to step S16. Note that, even if the drug identification information is read, if the drug corresponding to the drug identification information is registered in advance as a drug that is not to be subjected to weighing inspection processing, or if the weight per unit amount of the drug corresponding to the drug identification information is not stored in the drug master, the control unit 10 may shift the process to step S151 in another embodiment.
[0093] In addition, even if the medicine identification information has not been read (S18: No side), when only one medicine displayed on the prescription inspection screen D10 is selected and a predetermined operation to start the weighing inspection process is performed, the control unit 10 can shift the process to step S19 and execute the weighing inspection process for that medicine. For example, the operation to start the weighing inspection process is a long press operation on the display area of the medicine, or an operation of a weighing inspection key (not shown) displayed on the prescription inspection screen D10. On the other hand, if the operation to start the weighing inspection process is not performed, the process is returned to the step S16. Note that the target medicine for which the operation to start the weighing inspection process is performed arbitrarily includes, for example, a medicine without the medicine identification information attached to the packaging material, a medicine with multiple sheets as one package, and a medicine after being packaged by a tablet packaging machine.
[0094] <Steps S151 and S171> In step S151 or step S171, the control unit 10 executes a visual inspection process for supporting a user in visually checking a drug image of the drug to be visually inspected. Here, the visual inspection process is executed by the visual inspection processing unit 15 of the control unit 10.
[0095] In the visual inspection process, the control unit 10 first causes the display unit 20 to display the visual inspection screen D11 (see FIG. 10). The control unit 10 causes one or more prescription drugs identified in steps S15 to S17 to be displayed on the visual inspection screen D11 as the drugs to be visually inspected. Specifically, when the drug identification information of the packaging paper is read in step S17, the control unit 10 identifies one or more drugs contained in the packaging paper as the drugs to be visually inspected based on the drug identification information. Then, the control unit 10 reads out the drug name, drug image (plain tablet image), target value, and the like of the drug to be visually inspected from the prescription data, the Rp data, or the drug master, and displays them on the visual inspection screen D11. Thereafter, when the confirmation key K31 on the visual inspection screen D11 is operated, the control unit 10 processes the visual inspection of the drug to be visually inspected being displayed on the visual inspection screen D11 as having ended, and stores this as an inspection history in the storage unit 40. It is also conceivable that the control unit 10 may determine that the visual inspection has ended when a preset, predetermined time has elapsed after the display of the visual inspection screen D11, and may automatically erase the visual inspection screen D11. Furthermore, it is also conceivable that the control unit 10 may, after displaying the visual inspection screen D11, automatically pop up enlarged screens of the drug images in sequence, and erase them after a predetermined time has elapsed.
[0096] Incidentally, when the control unit 10 reads the medicine identification information from the PTP sheet by the information reading unit 60 while the visual inspection screen D11 is being displayed, it is possible to store in the storage unit 40 as an inspection history that a match was performed using the medicine identification information for the medicines displayed on the visual inspection screen D11 that correspond to the medicine identification information. As a result, for example, when a medicine removed from a PTP sheet is packaged in the packaging paper by a tablet packaging machine or a powder packaging machine, the information reading unit 60 reads the GS1 code or the like from the PTP sheet after the removal, thereby reducing the effort of visually inspecting at least some of the medicines packaged in the packaging paper. For example, the result of the matching process of the medicine identification information in the visual inspection is reflected in the result of "barcode confirmation" in the history display area A53 in FIG. 12.
[0097] In addition, when the medicine identification information of the packaging paper is read in the step S17, the user needs to perform the inspection in the visual inspection process by referring to the medicine in the packaging paper and the visual inspection screen D11. In contrast, it is considered that the medicine identification information printed on the packaging paper in a dispensing device such as the tablet packaging machine or the powder medicine packaging machine includes packaging information related to the contents such as the medicine name, dosage form, dispensing amount (weight or quantity) of all the medicines contained in the packaging paper, and patient information. Therefore, when the medicine identification information of the packaging paper is read in the step S17, the control unit 10 compares the packaging information included in the medicine identification information with the prescription data, and if the comparison results match, it is considered that the inspection of each medicine contained in the packaging paper is completed without performing the visual inspection process and the weighing inspection process. This can reduce the effort of visually inspecting the medicines packaged in the packaging paper by the dispensing device.
[0098] <Step S172> After executing step S171, in step S172, the control unit 10 determines whether the weighing inspection setting is set to ON or not, and if the weighing inspection setting is set to ON (S172: Yes side), the control unit 10 shifts the process to step S19. On the other hand, if the weighing inspection setting is set to OFF (S172: No side), the control unit 10 shifts the process to step S20. The weighing inspection setting is a setting regarding whether or not to execute the weighing inspection process using the weighing device 50 together with the visual inspection process when the medicine identification information is read from the packaging paper in step S17. The control unit 10 can arbitrarily change the content of the weighing inspection setting in response to a user operation such as when setting the environment of the inspection support device 100. In addition, the control unit 10 may switch whether or not to execute the weighing inspection process in response to a subsequent user operation when the medicine identification information is read from the packaging paper in step S17. Furthermore, the weighing inspection setting is not limited to cases where the medicine identification information is read from the packet paper, but may also be effective for medicines that have been predetermined as medicines that can be weighed by the inspection support device 100.
[0099] <Step S19> Then, in step S19, the control unit 10 starts a weighing inspection process including a comparison process for comparing the weighing result by the weighing unit 5N with the prescription data. The process is an example of a comparison process step, and is executed by the comparison processing unit 14. Specifically, in step S19, the control unit 10 starts a new weighing inspection process corresponding to the medicine identification information, and then shifts the process to step S20. That is, the control unit 10 starts the weighing inspection process corresponding to the medicine identification information individually every time the medicine identification information is read in step S18. Therefore, when the medicine identification information is read sequentially from a plurality of PTP sheets, a plurality of the weighing inspection processes are started by the control unit 10, and the weighing inspection processes are executed in parallel. Also, when the weighing inspection setting is ON, the weighing inspection process is started individually each time the medicine identification information is read from the packaging paper.
[0100] Incidentally, when the medicine identification information of the packaging paper includes the weight of one package including the weight of the packaging paper or the total weight of all the packaging papers, the weighing inspection process of step S19 executed when the medicine identification information is read from the packaging paper may compare the weighing result by the weighing unit 5N with the weight of one package including the weight of the packaging paper or the total weight of all the packaging papers included in the medicine identification information. Note that dispensing data or packaging data at the time of dispensing executed based on the prescription data in this way are also examples of the prescription data. In addition, when the medicine identification information of the packaging paper does not include the weight of one package including the weight of the packaging paper or the total weight of all the packaging papers, the control unit 10 may add the number of packages of the medicine to be weighed and the weight corresponding to the inspection packaging paper to a target value according to the type of packaging paper selected after the operation of the packaging paper selection key K12 or the type of packaging paper initially set, and execute the weighing inspection process. Furthermore, if the drug identification information of the packet paper does not include the weight of one packet including the weight of the packet paper or the total weight of all the packet papers, the control unit 10 may calculate the total weight based on the name of the drug packaged in the packet paper, YJ code, fraction, etc., and compare this value with the weighing result by the weighing unit 5N.
[0101] <Step S20> Thereafter, in step S20, the control unit 10 judges whether or not inspection has been completed for all of the prescription drugs included in the Rp data identified in step S12 or the prescription data identified in step S13. Specifically, the control unit 10 judges whether or not inspection by either the visual inspection process or the weighing inspection process has been completed for all drugs included in the Rp data or the prescription data. Here, when the control unit 10 judges that inspection has been completed for all of the prescription drugs (S20: Yes side), it shifts the process to step S21. Also, when the control unit 10 judges that there are prescription drugs remaining that have not been inspected (S20: No side), it returns the process to the step S16.
[0102] <Step S21> In step S21, the control unit 10 displays an inspection completion notification on the display unit 20 to the effect that the inspection of the Rp data or the prescription data has been completed, and returns the process to step S11. Here, this process is executed by the inspection completion notification unit 16 of the control unit 10. As a result, the user can clearly understand that the inspection of the Rp data or the prescription data has been completed by referring to the display on the display unit 20. In addition, it is also conceivable that the inspection support device 100 is connected to a printer via the network N1. In this case, it is conceivable that the control unit 10 can print, using the printer, an inspection implementation record for the Rp data or the prescription data for which the inspection has been completed in step S21. The inspection implementation record includes, for example, patient information (patient name, patient ID, age, sex, etc.), usage, medicine, inspection results (weighing results, target values, collation results, etc.), and the like. Specifically, the control unit 10 may automatically print the audit record in step S21, or may print the audit record in response to a user operation on the screen on which the audit completion notification is displayed. The control unit 10 may set in advance whether or not to automatically print the audit record in response to a user operation. The control unit 10 may also be capable of printing a medicine envelope based on the Rp data or the prescription data using the printer.
[0103] In addition, when the prescription data is specified in step S13, the control unit 10 may cause the display unit 20 to display an inspection completion notice each time inspection of the Rp data included in the prescription data is completed. This allows inspection to be performed in units of the Rp data, making it possible to collectively inspect each prescription drug to be contained in the same drug bag.
[0104] [Weight Inspection Processing] Next, the weighing inspection process started in step S19 will be described with reference to FIG.
[0105] <Step S30> First, in step S30, the control unit 10 judges whether or not the medicine corresponding to the medicine identification information read from the PTP sheet or the packaging paper is included in the prescription data or Rp data to be inspected displayed in the prescription display area A15. Here, if it is judged that the medicine corresponding to the medicine identification information is included in the prescription data or Rp data to be inspected (S30: Yes side), the process proceeds to step S31. On the other hand, if it is judged that the medicine corresponding to the medicine identification information is not included in the prescription data or Rp data to be inspected (S30: No side), the control unit 10 proceeds to step S301. Note that even if the inspection target is prescription data, if a setting is made in advance to perform inspection for each Rp data, the control unit 10 may judge whether or not the medicine corresponding to the medicine identification information read in step S30 is included in the Rp data currently displayed in the prescription display area A15.
[0106] <Step S301> In step S301, the control unit 10 ends the weighing inspection process after displaying an error message on the display unit 20. For example, the error message includes a warning that the drug identification information read by the information reading unit 60 does not match the prescription data or the Rp data.
[0107] <Step S31> In step S31, the control unit 10 acquires the weight per unit amount of the drug (hereinafter referred to as "unit weight") corresponding to the drug identification information read in step S17 or step S18 from the drug master stored in the storage unit 40. This process is executed by the unit weight acquisition unit 12 of the control unit 10. The control unit 10 may acquire the unit weight of the drug from an external storage device. For example, if the drug identification information is a tablet, the weight per unit amount of the tablet is read from the drug master.
[0108] However, when the unit weight is less than 1.6g, the influence of the error becomes large. Therefore, when the unit weight acquired in step S31 is less than a predetermined value such as 1.6g, the control unit 10 may change the background color of the weighing display area A11-A14 to a predetermined light yellow or the like. This allows the user to perform the inspection work while paying attention to the small unit weight. It is also possible that the prescription data or the Rp data includes the same drug with different dosages or usage. In this case, the control unit 10, for example, initially specifies the topmost drug displayed in the prescription display area A15 among the same drugs corresponding to the drug identification information as the drug to be weighed and inspected, and subsequently specifies the topmost drug displayed in the prescription display area A15 among the drugs whose inspection has not been completed as the drug to be weighed and inspected. In another embodiment, the control unit 10 may also change the background color of the weighing display areas A11 to A14 to a predetermined light yellow or the like if the unit weight acquired in step S31 is equal to or greater than a predetermined allowable maximum value.
[0109] <Step S32> Next, in step S32, the control unit 10 judges whether or not the weighed value of any of the weighing units 5N has increased from 0. If the control unit 10 judges that the weighed value of any of the weighing units 51-54 has increased from 0 (S32: Yes side), the control unit 10 shifts the process to step S33. On the other hand, if the control unit 10 judges that the weighed value of the weighing units 51-54 has not changed from 0 (S32: No side), the control unit 10 shifts the process to step S35.
[0110] <Step S33> In step S33, the control unit 10 specifies the weighing unit 5N whose weighed value has increased from 0 in step S32 as the weighing unit to be associated with the medicine identifying information read in step S17 or S18. That is, the control unit 10 specifies one or more weighing units 5N whose weighed value has increased from 0 after the information reading unit 60 reads the medicine identifying information as the weighing unit to be associated with the medicine identifying information. The specification process is an example of a weighing specification step, and is executed by the weighing specification unit 11 of the control unit 10. For example, if the weighed values of a plurality of weighing units 5N increase from 0 after the medicine identifying information is read and before the medicine identifying information is read again, the plurality of weighing units 5N are associated with the medicine identifying information previously read. This allows the user to divide a bundle of medicines of the same kind into a plurality and place them on the weighing unit 5N.
[0111] In the inspection support device 100 configured in this manner, if there is a weighing unit among the weighing units 5N whose weighing value has increased from a value greater than 0 (S32: No), the control unit 10 does not identify that weighing unit as the weighing unit to be associated with the medicine identifying information. Therefore, even if weighing by the weighing unit 5N to be associated with the medicine identifying information read previously and weighing by the weighing unit 5N to be associated with the medicine identifying information read next proceed simultaneously, the control unit 10 can distinguish between the weighing units 5N and associate them with the medicine identifying information.
[0112] Furthermore, if the weighing value of the weighing unit 5N returns to 0 after the weighing unit 5N corresponding to the medicine identifying information is specified in step S33 and before the weighing unit 5N corresponding to the medicine identifying information is determined in steps S35 or S36 described below, the control unit 10 cancels the association between the weighing unit 5N and the medicine identifying information. In this case, the control unit 10 also resets the display in the weighing display area A1M corresponding to the weighing unit 5N.
[0113] <Step S34> In step S34, the control unit 10 starts displaying the amount of drug according to the weighing value by the weighing unit 5N specified in step S33. Specifically, the control unit 10 converts the weighing result by the weighing unit 5N into a predetermined unit and displays it in the weighing display area A1M corresponding to the weighing unit 5N. Thereafter, the weighing result by the weighing unit 5N is continuously updated and displayed in the weighing display area A1M. Note that the real-time update of the display of the weighing result is executed until the weighing result by the weighing unit 5N is stably determined. Here, the process of converting the weighing result by the weighing unit 5N into a predetermined unit based on the unit weight acquired in step S31 is executed by the unit conversion processing unit 13 of the control unit 10. In addition, the process of displaying the weighing result by the weighing unit 5N converted into a predetermined unit in the weighing display area A1M is executed by the display processing unit 17 of the control unit 10. The unit of the medicine after conversion of the weighing result (tablet, capsule, packet, piece, g, etc.) is the same as the unit of the medicine used in the prescription data (tablet, capsule, packet, piece, g, etc.).
[0114] Incidentally, in the inspection support device 100, it is considered that the accuracy (range) of weighing by the weighing unit 5N is switchable. Specifically, it is considered that the weighing unit 5N is provided with a weighing control unit that inputs the weighing value measured using the load cell 56 to the control unit 10. The weighing control unit is, for example, a control unit such as an ASIC or an MPU. And, it is considered that the weighing control unit changes the number of decimal points of the weighing value input to the control unit 10 as the weighing result of the load cell 56 of the weighing unit 5N in response to a control instruction from the control unit 10. For example, it is considered that the weighing control unit is capable of switching between a first range mode in which the weighing value is input to the control unit 10 with an accuracy up to one decimal place and a second range mode in which the weighing value is input to the control unit 10 with an accuracy up to two decimal places in response to a control instruction from the control unit 10.
[0115] In such a configuration, the control unit 10 can switch the operation mode of the weighing control unit to the first range mode or the second range mode depending on the situation. For example, the control unit 10 usually operates the weighing control unit of the weighing unit 5N in the second range mode to obtain a weighing value from the weighing unit 5N with an accuracy of up to two decimal places. On the other hand, as the usage environment of the inspection support device 100, an environment in which the value of the weighing value of the weighing unit 5N is difficult to stabilize due to the influence of, for example, wind or vibration is also assumed. Therefore, when the value of the weighing value of the weighing unit 5N is not stable even after a preset predetermined time has elapsed, the control unit 10 can operate the weighing control unit of the weighing unit 5N in the first range mode to obtain a weighing value from the weighing unit 5N with an accuracy of up to one decimal place. In this case, when the value of the weighing value of the weighing unit 5N is stable, the control unit 10 obtains the weighing value as a weighing result. In addition, if a situation in which the second decimal place of the weighing value of the weighing unit 5N does not stabilize even after the specified time has elapsed occurs repeatedly a specified number of times within a specified period of time, the control unit 10 may change the normal initial operating mode of the weighing control unit of the weighing unit 5N from the second range mode to the first range mode.
[0116] <Step S35> In step S35, the control unit 10 judges whether or not the medicine identifying information corresponding to another medicine has been read by the information reading unit 60. Here, when the control unit 10 judges that the medicine identifying information corresponding to another medicine has been read (S35: Yes side), it shifts the process to step S351.
[0117] Furthermore, when the control unit 10 determines that the medicine identification information corresponding to another medicine has not been read (S35: No side), it shifts the process to step S36. As a result, in the weighing inspection process, the control unit 10 identifies one or more of the weighing units 5N whose weighing value has increased from 0 during the period from when the information reading unit 60 reads the medicine identification information until when the information reading unit 60 reads different medicine identification information (S35: Yes side) as the weighing unit corresponding to the medicine identification information (S33). Here, this process is executed by the weighing identification unit 11 of the control unit 10.
[0118] <Step S36> In step S36, the control unit 10 judges whether or not a preset predetermined time has elapsed since the weighing unit 5N corresponding to the medicine identification information was identified in step S33. Here, when the control unit 10 judges that the predetermined time has elapsed (S36: Yes side), it shifts the process to step S351, and returns the process to step S32 until the predetermined time has elapsed (S36: No side).
[0119] In this embodiment, the case where the process (S33) for allocating the weighing unit 5N to the drug to be inspected is not executed even if the predetermined time has elapsed, and the weighing unit 5N corresponding to the drug to be inspected is confirmed will be described, but this is not limited thereto. For example, a configuration is also conceivable in which the control unit 10 is capable of confirming the weighing unit 5N corresponding to the drug to be inspected in response to an operation of a predetermined confirmation key or the like. Also, a configuration is also conceivable in which the control unit 10 is capable of executing a collation process described later in step S37 from time to time after step S33, and confirming the weighing unit 5N corresponding to the drug to be inspected on the condition that the weighing result of the weighing unit 5N corresponding to the drug to be inspected matches the prescription data.
[0120] <Step S351> In step S351, the control unit 10 judges whether or not all of the weighing values of one or more of the weighing units 5N identified in step S33 as the weighing unit corresponding to the medicine identification information have been determined. The weighing value of the weighing unit 5N is determined, for example, when the weighing value of the weighing unit 5N is stable without fluctuating for a predetermined time. Here, when the control unit 10 judges that the weighing values of all of the weighing units have been determined (S351: Yes side), it shifts the process to step S37, and repeatedly executes the judgment of step S351 until the weighing values of all of the weighing units 5N are determined (S351: No side).
[0121] <Step S37> In step S37, the control unit 10 calculates the sum of the weighing results by one or more of the weighing units 5N identified in step S33 as the weighing unit corresponding to the same drug, and compares the sum with the prescription data. Specifically, the control unit 10 determines whether the sum of the weighing results by each of the weighing units 5N converted into a unit determined in advance in step S34 matches the prescription quantity, which is a target value indicated in the prescription data.
[0122] For example, when the target value of the drug to be weighed and inspected shown in the prescription data is 9 tablets, and the unit weight of the drug to be weighed and inspected is 2.2 g, the quantity of the drug placed on the weighing unit 5N is 9 tablets when the weighed value by the weighing unit 5N is 19.8 g. In response to this, the control unit 10 may determine that the collation result is a match when the drug quantity calculated based on the weighed value by the weighing unit 5N and the unit weight is 8.5 tablets or more and 9.4 tablets or less, and may determine that the collation result is a mismatch when the weighed value is 8.4 tablets or less or 9.5 tablets or more. That is, the control unit 10 may perform the collation by rounding off the first decimal place of the drug quantity. Note that the error that the control unit 10 allows in the collation process can be set in advance, and the rounding off of the first decimal place is merely one example. For example, it is conceivable that the control unit 10 determines that the collation result is a match when the weighing result is within ±0.1 tablets of the target value or within ±0.2 tablets of the target value.
[0123] Furthermore, when there are a plurality of the weighing units 5N associated with the drug subject to weighing inspection, the control unit 10 compares the total number of tablets of the drug subject to weighing inspection in the prescription data or the Rp data with the sum of the number of tablets into which the weighing values of the plurality of the weighing units 5N are converted. This allows the user to easily perform weighing inspection by placing the drug subject to weighing inspection on any number of the weighing units 5N in the same procedure as when using one weighing unit 5N, without the need for special operations, even when using a plurality of the weighing units 5N for one drug subject to weighing inspection. As a comparison method when there are multiple weighing units 5N corresponding to the drug subject to weighing inspection, the control unit 10 may determine whether the difference between the total weight value obtained by multiplying the number of PTP sheets obtained by dividing the total number of tablets of the drug subject to weighing inspection in the prescription data or the Rp data by the number of tablets per PTP sheet corresponding to the drug subject to weighing inspection and the total weight value obtained by multiplying the number of PTP sheets by the weight per PTP sheet and the sum of the weighing values of the multiple weighing units 5N is within a predetermined allowable error.
[0124] Incidentally, when the drug to be inspected is a tablet or a capsule, the control unit 10 may calculate the number of PTP sheets of the drug to be inspected and the presence or absence of a fraction less than one sheet based on the number per PTP sheet stored in the pharmaceutical master corresponding to the drug to be inspected and the prescription data or the Rp data.The control unit 10 may add a predetermined value, which is preset as the weight of the edge of the PTP sheet, to the target value depending on the number of PTP sheets and the presence or absence of a fraction.
[0125] For example, the control unit 10 may determine that there is an ear when a fraction exists and add the weight of the ear. This allows the target value to approximate a value that takes into account the weight of the ear of the PTP sheet, and the matching is performed with high accuracy. It is also possible to configure the system so that, when a fraction of the PTP sheet exists, it is possible to select in advance whether to calculate with or without ears. The control unit 10 may also change the value added to the target value for the fraction of the PTP sheet with ears at all times, and when the matching result does not match, display a message such as "Does the fraction have ears?" suggesting that the matching result may not match because the fraction has ears.
[0126] In addition, in the inspection support device 100, the control unit 10 may display "without ears" and "with ears" operation keys for inputting the presence or absence of ears in the PTP sheet of the fraction on the display unit 20. When the operation of the "without ears" operation key is detected by the operation unit 30, the control unit 10 may determine that the PTP sheet on which the fraction has occurred does not have ears, and when the operation of the "with ears" operation key is detected by the operation unit 30, the control unit 10 may determine that the PTP sheet on which the fraction has occurred has ears, and compare the weighing value with the target value.
[0127] Furthermore, the control unit 10 may add a predetermined value, which is preset as the weight of a rubber band, to the target value according to the number of the PTP sheets. For example, when the number of the PTP sheets is 0 to 2, the weight of a predetermined small-sized rubber band may be added to the target value as the predetermined value. When the number of the PTP sheets is 3 to 5, the weight of a predetermined medium-sized rubber band may be added to the target value as the predetermined value. When the number of the PTP sheets is 6 to 10, the weight of a predetermined large-sized rubber band may be added to the target value as the predetermined value. This allows the target value to approximate a value that takes into account the weight of the rubber bands that bind the PTP sheets, and the matching is performed with high accuracy. For example, the control unit 10 can set, as initial settings for the inspection support device 100, "weight of ear (0-99.99)", "weight of large rubber band (0-99.99)", "weight of medium rubber band (0-99.99)", "weight of small rubber band (0-99.99)", "number of rubber band sheets to be applied (small: 0.0-2.0, medium: 3.0-5.0, large: 6.0-10.0, etc.)", "weight inspection of each package (perform, do not perform, etc.)", "QR weight data (per day, per package, etc.)", "inspection unit (RP unit, prescription unit, etc.)", "handling of third decimal place when displayed in g (round up, truncate, etc.)", "weight of rubber band when QR code of packaged product is read (add, do not add, etc.)", etc., in response to user operations. In addition, the control unit 10 can set, in response to user operations, the following initial settings for the inspection support device 100: "Scale 1 rubber band selection default value," "Scale 2 rubber band selection default value," "Scale 3 rubber band selection default value," and "Scale 4 rubber band selection default value," which indicate the initial selection state of rubber bands when weighing by each of the weighing units 51 to 54; "large plate rubber band selection default value," which indicates the initial selection state of rubber bands when weighing using the large plate 58; "Scale 1 fractional presence / absence selection default value," "Scale 2 fractional presence / absence selection default value," "Scale 3 fractional presence / absence selection default value," and "Scale 4 fractional presence / absence selection default value," which indicate the initial selection state of whether or not fractions are used when weighing by each of the weighing units 51 to 54; and "number of drugs weighed when measuring a single drug (0-999)," which indicates the number of drugs weighed when measuring the value per unit amount (single) of drug.
[0128] In addition, in the inspection support device 100, the control unit 10 may display operation keys such as "large rubber", "medium rubber", "small rubber", and "no rubber" on the display unit 20 to input the size or type of rubber bands to be used to bind the PTP sheets. In this case, the control unit 10 may switch the size of the rubber bands used in the PTP sheets in response to the operation of operation keys such as "large rubber", "medium rubber", "small rubber", and "no rubber". This allows the weighing value to be compared with the target value in consideration of the weight of the rubber bands placed on the weighing unit 5N together with the PTP sheets. In particular, the size or type of rubber bands used to bind the PTP sheets may differ depending not only on the number of PTP sheets but also on the size of the PTP sheets. Therefore, there are cases where the size or type of rubber bands cannot be uniquely determined by the number of PTP sheets alone. In contrast, in a configuration in which the size or type of rubber bands can be arbitrarily selected in response to the operation of operation keys such as "large rubber", "medium rubber", "small rubber", and "no rubber", as described above, the user can set the size or type of rubber bands by looking at the rubber bands used in the actual PTP sheets. Also, for example, when multiple PTP sheets are bound with rubber bands, if the bundle of PTP sheets is divided into multiple pieces and placed on multiple weighing units 5N, it is possible that rubber bands are placed on only one of the weighing units 5N. In particular, it is possible that rubber bands are placed on the weighing unit 5N on which a number of PTP sheets that do not require rubber bands are placed. Also, even if the number of PTP sheets corresponds to "small rubber", it is possible that the PTP sheets are placed on the weighing unit 5N together with "large rubber" rubber bands. Even in this case, in a configuration in which the size or type of rubber band can be arbitrarily selected by operating operation keys such as "large rubber", "medium rubber", "small rubber", and "no rubber" as described above, the user can set the presence or absence, size, or type of rubber bands corresponding to each of the weighing units 5N depending on whether or not a rubber band is placed together with the actual PTP sheet.
[0129] In addition, since the method of reflecting (calculating) the weight of the ear of the PTP sheet to the target value and the method of reflecting (calculating) the weight of the rubber band to the target value differ for each pharmacy or medical institution, it is considered that these reflection methods can be set in advance. For example, as a method of reflecting the target value of the weight of the ear of the PTP sheet, a first calculation formula based on a first internal rule corresponding to the ear and a second calculation formula based on a second internal rule corresponding to the earless are set, and when the ear of the PTP sheet is selected, the control unit 10 corrects the target value or weighing value based on the first calculation formula corresponding to the first internal rule, and when the earless PTP sheet is selected, the control unit 10 corrects the target value or weighing value based on the second calculation formula corresponding to the second internal rule. In addition, as a method of dispensing the PTP sheet, a method of leaving the ear may be specified, for example, "leave the ear in the case of one tablet." Therefore, if the result of comparing the weighing value with the target value according to the way in which the PTP sheet is left with the ears is not appropriate, it is possible to inform the user that the way in which the ears are left with the PTP sheet may be inappropriate by displaying it on the display unit 20. For example, if the number of PTP sheets to be dispensed based on the prescription data is a fraction of one tablet, the PTP sheet for that one tablet should have an ear left, so it is possible to compare the weighing value with the target value assuming that the PTP sheet for one tablet has an ear. This makes it possible to inform the user that the way in which the PTP sheet is left with the ears may not be observed, thereby realizing an educational function.
[0130] <Step S38> In step S38, if the comparison result in step S37 is a match (S38: Yes side), the control unit 10 transitions the process to step S39, and if the comparison result in step S37 is a mismatch (S38: No side), the control unit 10 transitions the process to step S381.
[0131] <Step S381> In step S381, the control unit 10 displays an error message in the weighing display area A1M corresponding to each of one or more weighing units 5N identified in step S33 as the weighing units corresponding to the same drug. For example, the error message may be "The actual measurement value of the drug to be inspected exceeds (or falls short of) the upper or lower limit. If you wish to approve the inspection, press the OK key. If you wish to reweigh, press the Cancel key." The control unit 10 also displays the OK key and the Cancel key on the display unit 20 together with the error message. If the OK key is operated, the control unit 10 determines that the inspection of the drug to be inspected is complete. On the other hand, if the Cancel key is operated, the control unit 10 displays a message such as "Please remove the drug to be inspected and weigh it again" and shifts the process to step S31.
[0132] <Step S39> In step S39, the control unit 10 displays the amount of the weighing result corresponding to the weighing unit 5N after the weighing value is determined in the weighing display area A1M corresponding to one or more weighing units 5N identified in step S33 as the weighing unit corresponding to the same drug, converted into a predetermined unit, and displays that the collation result is a match. In this manner, the process of displaying the weighing result by the weighing unit 5N and the collation result by step S38 in the weighing display area A1M is executed by the display processing unit 17 of the control unit 10. Note that, when the large plate 58 is used, the control unit 10 displays the collation result in the weighing display area A41 (see FIG. 11). Also, in step S39, the control unit 10 stores either or both of the weighing value, which is the weighing result of the weighing unit 5N, and the converted value (unit value of tablet, capsule, piece, etc.) converted into the unit of the drug together with the prescription data in the storage unit 40 as an inspection history. Thereby, when the control unit 10 displays the inspection history on the inspection history inquiry screen D12, it is possible to display the weighing value or the conversion value together with the contents of the prescription data.
[0133] Incidentally, it is also conceivable that a printer is connected to the inspection support device 100 according to a communication standard such as USB, RS232C, or Bluetooth (registered trademark). In this case, it is conceivable that the control unit 10 causes the printer to print out the weighing result in the step S37 in the step S39 or step S381. In addition, for example, the inspection start date and time, prescription number, voucher number, patient ID, patient name, medical department, inspector, prescription data, and Rp data are printed in the journal output by the printout. In addition, it is conceivable that a JAN code is printed in the journal as drug identification information included in the prescription data or the Rp data. In addition, it is also conceivable that the control unit 10 is configured to convert a GS1 code into a JAN code and print it out.
[0134] <Step S40> Next, in step S40, the control unit 10 waits for the timing of recording the captured image by the photographing unit 70 (S40: No side). Specifically, when all the weighing values of the four weighing units 51-54 are confirmed, or when the weighing inspection process is completed for all the medicines included as prescription drugs in the prescription data or the Rp data (when there are no other medicines remaining as inspection targets in the prescription data or the Rp data), the control unit 10 judges that the captured image by the photographing unit 70 is to be recorded (S40: Yes side), and the process proceeds to step S41. The case where the weighing inspection process is completed for all the medicines included as prescription drugs in the prescription data or the Rp data is, for example, when the Rp data includes six types of prescription drugs, and first, the four types of prescription drugs are weighed using the four weighing units 51-54, and then the remaining two types of prescription drugs are weighed using the two weighing units 5N. It is also possible that the imaging unit 70 performs imaging when the weighing values of all the weighing units 51 to 54 become stable, instead of after the collation process of all the weighing units 51 to 54 is completed.
[0135] <Step S41> In step S41, the control unit 10 records the image captured by the photographing unit 70, and stores the captured image in the storage unit 40 as the inspection history in association with the prescription data or the Rp data displayed on the prescription inspection screen D10. The photographing unit 70 simultaneously photographs the weighing dishes 55 of all the weighing units 51 to 54. When the large dish 58 is placed on the weighing units 51 to 54, the large dish 58 is photographed. This process is executed by the photographing processing unit 18 of the control unit 10. As a result, as described above, it is possible to check the photographed image when referring to the inspection history on the inspection history inquiry screen D12 or the like. Incidentally, when the control unit 10 judges that the recording timing has arrived in the step S40, it is considered that the control unit 10 causes the display unit 20 to display an indication of the start of shooting such as "shooting will start" and then causes the photographing unit 70 to photograph the weighing units 51 to 54 after a predetermined waiting time (for example, about 2 seconds) has elapsed. This is expected to encourage the user to move their hands out of the range of shooting by the photographing unit 70, and unnecessary shooting can be suppressed. Note that the weighing inspection process is executed individually for each of the weighing units 5N, but the photographing process of the step S41 is executed as a common process. In this way, all of the weighing units 51 to 54 are photographed simultaneously after the weighing values of all of the weighing units 51 to 54 have stabilized, so that a photographed image that is valid as evidence of the inspection by the inspection support device 100 is stored. That is, only one photographing is executed when the recording timing arrives. Note that, as another embodiment, photographing by the photographing unit 70 at individual timings for each of the weighing inspection processes can be considered. In this case, the association between each of the weighing units 51-54 and the medicine identifying information is individually cancelled. For example, if the weighed value of the weighing unit 5N decreases after the weighing value of the weighing unit 5N is finalized and the collation process is completed, the association between the weighing unit 5N and the medicine identifying information may be cancelled. Furthermore, it is also possible that the weighing unit 70 will photograph the weighing unit 5N at the timing when the photographing key K18 is operated after the weighing value of the weighing unit 5N has stabilized, and the association between the weighing unit 5N and the medicine identifying information will be cancelled.
[0136] In another embodiment, the control unit 10 may record the captured image by the photographing unit 70, and then extract images of predetermined areas corresponding to the weighing units 51 to 54 from the captured image. In this case, the control unit 10 also extracts images of the predetermined areas corresponding to the weighing display areas A11 to A14. Then, the control unit 10 stores the images corresponding to the weighing units 51 to 54 and the images corresponding to the weighing display areas A11 to A14 as individual image data in the storage unit 40. The control unit 10 may store the video information received from the photographing unit 70 in the storage unit 40 in association with the prescription data as an inspection history.
[0137] In addition, after the collation process is completed, if it is determined in step S40 that the photographing key K18 displayed on the prescription inspection screen D10 has been operated, the control unit 10 may record the image photographed by the photographing unit 70. Note that the image photographed by the photographing unit 70 may be recorded on the condition that the collation of the weighing result of the weighing unit 5N corresponding to the medicine identification information with the prescription data is completed.
[0138] Furthermore, it is also conceivable that the range in which the user of the inspection support device 100 performs the task of putting medicines into a medicine bag is included in the photographing range of the photographing unit 70, and the photographed image by the photographing unit 70 is recorded a predetermined time after the occurrence of the event of the recording timing. This makes it possible for the photographing unit 70 to photograph the task of putting medicines into a medicine bag after inspection by the inspection support device 100.
[0139] <Step S42> Thereafter, in step S42, the control unit 10 cancels the association between all of the medicine identification information and the weighing units 5N performed in step S33. This enables the control unit 10 to execute a weighing inspection process for the next medicine using the weighing units 5N whose association with the medicine identification information has been cancelled. The control unit 10 resets (erases) the display in the weighing display area A1M corresponding to the weighing units 5N whose association with the medicine identification information has been cancelled.
[0140] As described above, by using the inspection support device 100, the weighing inspection process (S19) is started every time medicine identification information is read from a packaging material such as a medicine PTP sheet, and the inspection of the prescription medicines included in the prescription data or the Rp data can be performed continuously and in parallel. Therefore, for example, the inspection work of each of the prescription medicines and the work of putting each of the prescription medicines into a medicine bag can be performed efficiently and accurately.
[0141] In addition, in the weighing inspection process, the weighing unit whose weighing value has increased from 0 during the period from when the drug identification information is read from the packaging material of a drug until the drug identification information is read from the packaging material of a different drug is identified as the weighing unit corresponding to the drug subject to the weighing inspection. Therefore, before the weighing value of the weighing unit 5N corresponding to one of the drug identification information becomes stable, it is possible to have the information reading unit 60 read the other drug identification information and start weighing by the other weighing unit 5N. Therefore, the user can efficiently and accurately inspect multiple types of drugs included in the prescription data or the Rp data.
[0142] Specifically, the inspection support device 100 is configured to include four weighing units 51 to 54, and the weighing inspection process using the weighing units 51 to 54 is executed individually. For example, when the Rp data includes four types of tablets as prescription drugs, the user reads the medicine identification information of the PTP sheet of the first tablet with the information reading unit 60 and places the PTP sheet on the weighing unit 5N. After that, the user reads the medicine identification information of the PTP sheet of the second tablet with the information reading unit 60 and places the PTP sheet on the weighing unit 5N. At this time, the reading of the medicine identification information of the PTP sheet of the second tablet may be performed before the weighing value of the first weighing unit 5N becomes stable. Then, in each of the weighing inspection processes started for each of the medicine identification information, the inspection result based on the weighing result by the weighing unit 5N is displayed in the weighing display area A1M. The user then reads the medicine identification information of the PTP sheet of the third tablet with the information reading unit 60 and places the PTP sheet on the weighing unit 5N, and reads the medicine identification information of the PTP sheet of the fourth tablet with the information reading unit 60 and places the PTP sheet on the weighing unit 5N. At this time, the comparison of the weighing results by each of the weighing units 5N with the prescription data or the Rp data is started individually when the medicine identification information is read. Therefore, the comparison process by each of the weighing units 5N is completed sequentially. Therefore, the time from when the last (fourth) PTP sheet is placed on the weighing unit 5N to when the weighing results by all of the weighing units 5N are compared after the PTP sheets of all four types of tablets are placed on the weighing unit 5N can be shortened.
[0143] On the other hand, since the inspection support device 100 has four weighing units 51 to 54, if five types of medicines are included in the Rp data, the PTP sheet of the fifth medicine cannot be placed even if the medicine identification information of the PTP sheet is read by the information reading unit 60. Therefore, as another embodiment, the control unit 10 cancels the association between the weighing unit 5N and the medicine identification information each time the weighing result by the weighing unit 5N is matched with the prescription data or the Rp data. As a result, even if the Rp data includes five or more types of medicines, which is more than the number of the weighing units 51 to 54 of the inspection support device 100, it is possible to sequentially perform weighing inspection of five or more types of medicines in parallel by repeatedly using the weighing units 51 to 54. That is, when the weighing inspection process corresponding to any one of the first to fourth medicines is completed, the user can read the medicine identification information of the fifth medicine with the information reading unit 60 and place the PTP sheet on the weighing unit 5N, and the medicines for which the inspection has been completed first can be placed in the medicine bag first. Therefore, the user can efficiently and accurately inspect the PTP sheets of more types than the number of the weighing units 5N. However, in this case, the photographing in steps S40 to S41 cannot be performed. Therefore, this type of configuration is suitable for, for example, when the inspection support device 100 does not have a recording function for the image captured by the photographing unit 70, when the recording function is set to be disabled, when the timing for recording the captured image is the operation of the photographing key K18, or when the timing for recording the captured image is the completion of the comparison of the weighing result of the weighing unit 5N with the prescription data.
[0144] [Keystone correction function] 2, the photographing unit 70 is disposed in a position to photograph images of the weighing units 51-54 from an oblique direction. In this case, the images of the weighing units 51-54 photographed by the photographing unit 70 are deformed into a trapezoidal shape. Therefore, it is considered that the control unit 10 has a keystone correction function for performing keystone correction processing on the photographed images.
[0145] For the keystone correction process, a conventionally known technique may be used. For example, as shown in FIG. 14, the inspection support device 100 is provided with a plurality of correction indicator parts P1 to P4 spaced apart from each other within the shooting range of the shooting unit 70. The control unit 10 executes keystone correction of the image P0 captured by the shooting unit based on the plurality of correction indicator parts P1 to P4 present in the image captured by the shooting unit 70. Here, the keystone correction process is executed by the shooting processing unit 18 of the control unit 10. Specifically, the control unit 10 detects vertices P11 to P14 outside the correction indicator parts P1 to P4 by image matching or the like. Then, the control unit 10 executes keystone correction by projective transformation on the image P0 captured by the shooting unit 70 so that the vertices P11 to P14 are in a positional relationship that becomes the vertices of a predetermined rectangle, as shown in FIG.
[0146] It is also considered that the captured image P0 of the entire shooting range of the imaging unit 70 may include unnecessary areas. Therefore, it is considered that the control unit 10, after performing the keystone correction process, trims a predetermined range based on the positions of the vertices P11 to P14. Specifically, as shown in FIG. 15, the control unit 10 trims the captured image P0 by setting the range of positions spaced apart by distances L11 to L18 from the positions of the vertices P11 to P14 as the effective image. Thereby, unnecessary parts are removed from the captured image P0 of the entire shooting range of the imaging unit 70, and it is possible to obtain a captured image P10 within a predetermined range as shown in FIG. 16.
[0147] [Shooting control function] Furthermore, in step S41, when an obstruction such as a user's hand is present within the photographing range of the photographing unit 70 when recording the photographed image by the photographing unit 70, each of the weighing units 5N cannot be photographed normally. Therefore, it is considered that the control unit 10 restricts recording of the photographed image by the photographing unit 70 when an obstruction is present in the photographed image by the photographing unit 70.
[0148] Specifically, as shown in Fig. 14, in the inspection support device 100, a mark line P5 is provided on the upper surface 501 of the weighing device 50 so as to surround the outside of the weighing units 51 to 54. Then, the control unit 10 detects the mark line P5 from the image captured by the photographing unit 70 in step S41, and judges whether or not an object that blocks the mark line P5 is present on the mark line P5. Here, if no object is present, the control unit 10 stores the image captured by the photographing unit 70 in the storage unit 40 in association with the prescription data or the Rp data. On the other hand, when the obstruction is present, the control unit 10 displays a message such as "shooting failed" on the display unit 20, discards the image captured by the photographing unit 70, and causes the photographing unit 70 to photograph the weighing units 51 to 54 at a predetermined interval (for example, every 2 seconds) to determine whether or not there is an obstruction blocking the marker line P5 in the photographed image. Then, the photographing by the photographing unit 70 is repeatedly performed until a photographed image in which the obstruction is not present is obtained. As a result, photographed images that are unnecessary as evidence due to the presence of the obstruction are deleted, and only valid photographed images are recorded in the storage unit 40, thereby reducing the amount of data stored in the storage unit 40. The timing for deleting the photographed image is, for example, when it is determined that the obstruction is present, or when a photographed image in which the obstruction is not present is obtained. That is, the control unit 10 records the photographed image by the photographing unit 70 on the condition that there is no obstruction blocking the marker line P5. This process is executed by the photographing processing unit 18 of the control unit 10.
[0149] In this way, the control unit 10 monitors the presence of the obstruction in the image captured by the photographing unit 70, and records the image captured by the photographing unit 70 at the timing when the obstruction no longer exists. This allows the photographing unit 70 to normally photograph each of the weighing units 5N. In addition, the control unit 10 may display a warning on the display unit 20 when an obstruction that obstructs the mark line P5 is present on the mark line P5. This may prompt the user to remove the obstruction from the photographing range, and may also prevent the user from removing the medicine before the photographed image by the photographing unit 70 is recorded. In this case, the control unit 10 may stop photographing by the photographing unit 70 after the obstruction is detected until the user next operates the photographing key K18, and may cause the photographing unit 70 to photograph after a predetermined time (e.g., 2 seconds) has elapsed in response to the operation of the photographing key K18. This may prevent the photographing unit 70 from taking unnecessary photographs. In addition, if an image without the obstruction is not obtained even after the photographing unit 70 has photographed a predetermined number of times, the control unit 10 may suspend photographing for a predetermined time interval and resume photographing after the user operates the photographing key K18.
[0150] However, when the captured image is recorded using as a judgment index whether the mark line P5 is blocked or not, even if the mark line P5 is only slightly blocked by dust or the like, recording of the captured image by the photographing unit 70 is restricted. Therefore, it is considered that the control unit 10 calculates the area of the blocking object present in the captured image by the photographing unit 70, and records the captured image by the photographing unit 70 on the condition that the area is less than a predetermined threshold value.
[0151] Specifically, the control unit 10 performs binarization processing based on a discriminant analysis method on the image captured by the imaging unit 70, and also performs image processing to paint the area inside the mark line P5 black. Note that this processing is considered to be performed on the captured image P10 after the image captured by the imaging unit 70 has been corrected by the keystone correction processing. At this time, if the mark line P5 is not blocked, the entire mark line P5 in the captured image P10 will be painted black.
[0152] On the other hand, as shown in Fig. 17, when the mark line P5 is covered by an obstruction H1 such as a user's hand in the captured image P10, a part of the obstruction H1 forms a part of the mark line P5. As a result, as shown in Fig. 18, in the captured image P20 in which the inside of the mark line P5 is filled in black, the area H2 corresponding to the obstruction H1 becomes white. Then, the control unit 10 calculates the area of the area H2 corresponding to the obstruction H1. Here, when the area of the area H2 is less than a preset threshold, the control unit 10 records the image captured by the image capture unit 70, and when the area of the area H2 is equal to or greater than the preset threshold, the control unit 10 waits without recording the image captured by the image capture unit 70.
[0153] Thereafter, when the area of the region H2 becomes less than the threshold value, the control unit 10 records the image captured by the photographing unit 70. In this manner, the control unit 10 records the image captured by the photographing unit 70 on the condition that the area of the region H1 corresponding to the obstruction H1 in the image captured by the photographing unit 70 in the image P20 captured by the photographing unit 70 is less than a predetermined threshold value. Here, this processing is executed by the photographing processing unit 18 of the control unit 10. As a result, recording of the image captured by the photographing unit 70 is restricted only when the obstruction H1 having a certain predetermined area is present, and recording of the image captured by the photographing unit 70 can be executed when the marker line P5 is obstructed by small dust. Specifically, when an obstruction having a predetermined area exists on the mark line P5, the control unit 10 may notify the presence of the obstruction by displaying an error message on the display unit 20, and then, after a predetermined time (e.g., 2 seconds) has elapsed, obtain an image captured by the image capture unit 70 and determine again whether the obstruction exists. Note that, when the error occurs repeatedly a predetermined number of times, the control unit 10 may notify the presence of the obstruction by displaying, instead of the error message, a message indicating that maintenance is required or that there is a possibility of a breakdown on the display unit 20. Here, the control unit 10 may erase the image captured by the image capture unit 70 when the obstruction H1 exists, and store only the image captured when the obstruction H1 does not exist. This can reduce the storage capacity required to store the captured images.
[0154] In the inspection support device 100, when a part of the mark line P5 is stained or scratched, the control unit 10 may determine that the mark line P5 is always shielded by the shielding object H1. When the control unit 10 determines that the mark line P5 is shielded by the shielding object H1, the control unit 10 may accumulate and store the position of the shielding object H1 as a history in the storage unit 40. When the control unit 10 determines that the mark line P5 is shielded by the shielding object H1, the control unit 10 may refer to the history stored in the storage unit 40, and when the shielding object H1 is detected in a certain range during multiple predetermined photographing by the photographing unit 70, the control unit 10 may exclude the certain range from the detection target of the shielding object H1. This makes it possible to perform inspection using the inspection support device 100 while eliminating the influence of dirt or scratches even if the mark line P5 is stained or scratched.
[0155] At this time, when the obstruction H1 is detected in the specific range, the control unit 10 may cause the display unit 20 to display a message screen or the like that prompts the user to remove or repair the dirt or damage on the mark line P5. This is expected to encourage the user to remove or repair the dirt or damage on the mark line P5. The control unit 10 may also cause the message screen to display an operation key for inputting whether the dirt or damage on the mark line P5 cannot be removed or repaired. Then, when the user operates an operation key corresponding to the case where the dirt or damage cannot be removed or repaired, the control unit 10 may then exclude the specific range from the detection target for the obstruction H1. This allows the user to select whether to exclude the specific range from the detection target, making it possible to operate according to each user. In addition, after excluding the specific range from the detection target, if the obstruction H1 is no longer detected in the specific range in the image captured by the photographing unit 70, the control unit 10 may cancel the exclusion of the specific range from the detection target.
[0156] [Second embodiment] Incidentally, in the inspection support device 100, in order to weigh medicines with high accuracy using the weighing device 50, the rated capacity of the load cell 56 becomes small, and even if the large plate 58 is used, it is not possible to weigh a large amount. For example, when the rated capacity of the load cell 56 is 500 g, the weighing device 50 can weigh up to a total of 2.0 kg, but the minimum accuracy is 0.1 g. In contrast, when the rated capacity of the load cell 56 is 300 g, the minimum accuracy can be increased to 0.05 g, but the weighing device 50 can weigh up to a total of 1.2 kg.
[0157] Therefore, it is conceivable that the inspection support device 100 is provided with a plurality of sets of weighing scales with different rated capacities, and the combination of weighing scales to be used can be changed depending on the size of the weighing dish to be used. This makes it possible to selectively use a weighing scale with high accuracy and a weighing scale with large capacity as necessary.
[0158] Specifically, it is conceivable that the weighing device 50 is provided with large-capacity load cells having a rated capacity larger than that of the load cells 56 on both the left and right sides of the four load cells 56, in addition to the load cells 56 corresponding to the weighing sections 51 to 54. When the load cells 56 are used, the weighing dish 55 is used, and when the large-capacity load cells are used, a large dish supported by the two large-capacity load cells is used.
[0159] For example, the rated capacity of the load cell 56 may be 300 g, and the rated capacity of the large-capacity load cell may be 3 kg. As a result, when weighing is performed using the load cell 56, it is possible to perform weighing with high accuracy, with a minimum accuracy of 0.05 g, even though the capacity is small. On the other hand, when weighing is performed using the large-capacity load cell, it is possible to perform weighing with a minimum accuracy of 0.5 g, but with a large capacity.
[0160] [Third embodiment] Incidentally, the inspection support device 100 may be affected by wind from the surroundings during weighing in the weighing device 50. For this reason, the inspection support device 100 may be configured to include windshield plates 92 and 93 capable of covering the periphery of the weighing sections 51 to 54 of the weighing device 50, as shown in Figures 19 and 20. For example, the windshield plates 92 and 93 are made of transparent resin such as an acrylic plate.
[0161] Each of the windshields 92 can be stored inside the weighing device 50 via an elongated opening 502 formed on an upper surface 501 of the weighing device 50. The windshield 93 is rotatably supported by the cover member 90 via a rotation support part 94. In the inspection support device 100 according to this embodiment, a photographing part 74 is provided attached to the cover member 90 in place of the photographing part 70, and the windshield 93 has an opening 931 formed at a position corresponding to the photographing range of the photographing part 74. This allows the weighing parts 51 to 54 to be photographed by the photographing part 74 even when the windshield 93 is in use.
[0162] The windshield plate 93 can be rotated by a user to the inner surface side of the cover member 90 as necessary and disposed above the weighing units 51 to 54, thereby preventing wind from above. When the windshield plate 93 is not required, the windshield plate 93 can be folded by rotating it to the outer surface side of the cover member 90, as shown in FIG.
[0163] In addition, it is considered that the windshield plate 92 can be raised and lowered with respect to the opening 502 of the weighing device 50 manually by a user, but it is also considered that the windshield plate 92 can be raised and lowered in conjunction with the opening and closing operation of the cover member 90. Here, Fig. 21 is a schematic cross-sectional view for explaining an example of a lifting mechanism 503 that supports the windshield plate 92 in the weighing device 50 so that it can be raised and lowered.
[0164] 21, the lifting mechanism 503 has a wire 504, a pulley 505, and a weight 506. The weight 506 is suspended by the wire 504 via the pulley 505, and the end of the wire 504 opposite to the weight 506 is fixed to the lower end of the windshield plate 92. The weight of the weight 506 is greater than that of the windshield plate 92.
[0165] In the lifting mechanism 503 configured as described above, when the cover member 90 is closed and the windshield plate 92 is pushed downward by the cover member 90, the windshield plate 92 is stored in the weighing device 50 through the opening 502. On the other hand, when the cover member 90 is opened, the weight 506 moves downward and the windshield plate 92 rises, and the windshield plate 92 protrudes upward from the weighing device 50 through the opening 502. Therefore, a user can lift and lower the windshield plate 92 simply by opening and closing the cover member 90. In addition, for cases where the windshield plate 92 does not need to be used, it is also considered that the lifting mechanism 503 is provided with a locking mechanism that locks the windshield plate 92 so that it does not rise when the cover member 90 is open. Note that another embodiment may be considered in which the outer peripheral surface of the weighing device 50 is made of metal and a windshield plate having a magnet on the outer peripheral surface is detachable.
[0166] [Fourth embodiment] Here, other examples of the shooting control function will be described with reference to FIGS.
[0167] 23, on an upper surface 501 of the weighing device 50 of the inspection support device, instead of the mark line P5, a plurality of mark lines P21 to P24 are formed intermittently around the outer periphery of the weighing dish 55 placed on the placement portion 57 of the weighing sections 51 to 54. Note that on the upper surface 501, instead of the correction index portions P1 to P4, correction index portions P15 to P18 are formed.
[0168] Then, the control unit 10 judges whether any of the mark lines P21 to P24 is covered by an obstruction. Specifically, the control unit 10 extracts the mark lines P21 to P24 from the image captured by the imaging unit 70 as shown in Fig. 25, and executes a binarization process to convert the area other than the mark lines P21 to P24 to white. Here, Fig. 24 shows a state in which the mark line P23 is covered by the obstruction H1, which is the user's finger. The extraction of the mark lines P21 to P24 can be realized, for example, by searching for line segments of a predetermined width or a predetermined color by image processing.
[0169] After that, the control unit 10 judges whether the mark lines P21 to P24 in the captured image after the binarization process are covered by an obstruction. Specifically, the control unit 10 measures the length or area of the white area in the mark lines P21 to P24, and judges that any of the mark lines P21 to P24 is covered by an obstruction when the length or area is equal to or greater than a predetermined threshold. Here, FIG. 25 is a diagram showing an example of the captured image after the binarization process, and in the example shown in FIG. 25, the control unit 10 detects a white area H3 on the mark line P23 and judges that the mark line P23 is covered. Then, as described above, when a captured image in which any of the mark lines P21 to P24 is not covered is obtained, the control unit 10 stores the captured image in the storage unit 40 in association with the prescription data or the Rp data.
[0170] Incidentally, even if the mark lines P21 to P24 are formed on the upper surface 501 of the weighing device 50, the mark lines P21 to P24 may be blocked by the weighing dish 55 or the large dish 58 when the weighing dish 55 or the large dish 58 is placed on the weighing section 51 to 54, depending on the size of the weighing dish 55 or the large dish 58. Therefore, as shown in FIG. 26(A), it is considered that a black mark line P19 is formed on the edge portion 553 of the weighing dish 55 similar to the mark lines P21 to P24. As a result, even if the mark lines P21 to P24 are blocked by the weighing dish 55, the mark lines P21 to P24 are interpolated by the mark line P19, so that the photography control function can be effectively executed. In addition, another embodiment is also contemplated in which the control unit 10 determines whether the mark line P19 formed on each of the weighing dishes 55 is blocked or not, and causes the photographing unit 70 to perform photographing if the mark line P19 of the weighing dish 55 is not blocked.
[0171] Also, as shown in FIG. 26(B), black mark lines P21-P24 are formed on the edge 581 of the large plate 58 similar to the mark lines P21-P24. This allows the imaging control function to be effectively executed even if the mark lines P21-P24 are blocked by the large plate 58. Furthermore, when the large plate 58 is placed on the weighing units 51-54, if the correction indicator parts P15-P18 are covered by the large plate 58, the keystone correction process using the correction indicator parts P15-P18 cannot be executed. Therefore, it is considered that correction indicator parts P25-P28 similar to the correction indicator parts P15-P18 are formed on the edge 581 of the large plate 58. This allows the keystone correction process to be effectively executed even if the correction indicator parts P15-P18 are covered by the large plate 58.
[0172] Here, another example of the keystone correction process will be described with reference to FIGS.
[0173] In the keystone correction process, the correction index portions P15 to P18 are extracted, but at this time, if a process such as image matching is executed for the entire photographing range by the photographing unit 70, the processing load becomes large and the processing time becomes long. Therefore, in the keystone correction process, it is considered that the control unit 10 extracts only a predetermined specific search range as a detection target.
[0174] For example, as shown in Fig. 27, the control unit 10 extracts the correction indicator parts P15-P18 by setting a part of detection ranges P31-P34 defined by predetermined position coordinates in the captured image P30 captured by the imaging unit 70 as detection targets. For example, in Fig. 27, the detection ranges P31-P34 are specific rectangular ranges located a predetermined distance inward from the upper end, lower end, left end, right end, etc. of the captured image P30. As a result, the control unit 10 only needs to detect the correction indicator parts P15-P18 by setting only the detection ranges P31-P34 as detection targets, and therefore the processing load is reduced and the processing time is shortened compared to the case where the entire captured image P30 is set as the detection target.
[0175] At this time, the control unit 10 performs binarization processing on each of the detection ranges P31-P34 in the captured image P30 captured by the imaging unit 70, and detects the correction indicator portions P15-P18 from the image after the binarization processing. In the following, a case will be described as an example in which the binarization processing is performed on the detection area P34 out of the detection areas P31-P34 shown in Fig. 27, and the correction indicator portion P18 is detected from the image after the binarization processing, but the same applies to the detection areas P31-P33.
[0176] In the inspection support device 100, as shown in FIG. 28(A), the brightness of the background region included in the detection range P34 of the captured image P30 changes depending on the illuminance environment in which the inspection support device 100 is placed. Therefore, when a binarization process is performed using a predetermined threshold, if the brightness of the background region is darker than the threshold, the background region may become a black image. Therefore, it is preferable that the control unit 10 performs a binarization process based on a discriminant analysis method as the binarization process. The discriminant analysis method is a method for automatically determining a threshold value so that the separation between two classes is best in the histogram of the image. As a result, the control unit 10 can obtain a binarized detection image P341 in which the background region becomes a white image as shown in FIG. 28(B) even if the illuminance environment in which the inspection support device 100 is used is different and the brightness of the background region is different, as shown in FIG. 28(A), for example.
[0177] In addition, in order to allow some positional variation of the correction indicator portion P18 in the detection image P341, the detection range P34 is set to be somewhat larger than the correction indicator portion P18. Therefore, as shown in FIG. 28(B), the detection image P341 includes the weighing dish 55, the mark line P23, and a part of the mark line P24 as unnecessary images other than the correction indicator portion P18. Therefore, when the control unit 10 detects the correction indicator portion P18 from the detection range P34, there is a risk that the unnecessary image part is erroneously detected as the correction indicator portion P18. Therefore, it is considered that the control unit 10 detects the correction indicator portion P18 by detecting only element images in a specific range of which the area is predetermined among the element images included in the detection image P341. For example, when the area of the correction indicator portion P18 is α, the specific range is set as a range in which the difference from α is equal to or less than a predetermined allowable value β (α-β or more and α+β or less).
[0178] As a result, images whose areas are smaller than the correction index portion P18 by the tolerance value β or more and images whose areas are larger than the correction index portion P18 by the tolerance value β or more are excluded from detection targets. Therefore, even if the detection image P341 includes an image other than the correction index portion P18 as shown in Fig. 28(B), it is possible to extract only the correction index portion P18 as shown in Fig. 28(C).
[0179] Furthermore, as described above, the control unit 10 detects the vertex P181 of the correction index portion P18 in the keystone correction process. Here, the correction index portion P18 is a right-angled triangle including the vertex P181 as one of its vertices, as shown in Fig. 23. In response to this, the control unit 10 may detect the vertex P181 by image matching using a template image P343 including a right-angled portion including the vertex P181 of the correction index portion P18 and a blank area outside the right-angled portion, as shown in Fig. 28(C).
[0180] Specifically, in the example shown in Fig. 28(C), the template image P343 is a rectangular image in which the first quadrant is a black image and the second to fourth quadrants are white images. This makes it possible to specify the center position of the template image P343 when the template image P343 and the corrected indicator portion P18 match as the position coordinates of the vertex portion P181 in the corrected indicator portion P18. In this way, the inspection support device 100 can extract each of the corrected indicator portions P15 to P18 from the captured image P30 and specify the position coordinates of the vertices with high accuracy, so that it is possible to perform a highly accurate keystone correction process on the captured image P30.
[0181] [Fifth embodiment] Incidentally, in each of the above-mentioned embodiments, a case has been described in which a user first causes the information reading unit 60 to read the medicine identification information in the inspection support device 100, and then causes the weighing unit 5N to weigh the medicine, thereby performing weighing inspection of the medicine. On the other hand, it is also conceivable that a user first places the medicine on the weighing unit 5N, and then causes the information reading unit 60 to read the medicine identification information. In other words, a configuration is also conceivable in which the order of reading the medicine identification information and placing the medicine is reversed from that in each of the above-mentioned embodiments.
[0182] Specifically, in the inspection support device 100, the control unit 10 may identify medicine identifying information to be associated with each of the weighing units 51-54 based on the weighing result by each of the weighing units 51-54 and the prescription data (or Rp data). The process is an example of a second weighing identification unit, and the control unit 10 when executing the process is an example of a second weighing identification unit. Then, when the medicine identifying information is read by the information reading unit 60 after the weighing result by the weighing unit 5N is determined, the control unit 10 completes the inspection of the identified medicine identifying information. The process is an example of an inspection completion step, and the control unit 10 when executing the process is an example of an inspection completion processing unit. That is, after the drug is placed on the weighing unit 5N and the drug identification information of the drug placed on the weighing unit 5N is provisionally identified from the drug identification information included in the prescription data, the drug identification information is read by the information reading unit 60 to confirm the identification, and the weighing inspection of the drug is completed. In this case, at the time when the drug is placed on the weighing unit 5N and the weighing value is confirmed, the weighing result of the drug is collated with the prescription data.
[0183] In particular, the control unit 10 may associate the weighing unit 5N, which has obtained the weighing result that matches or is most similar to the quantity of the medicine included in the prescription data, with the medicine identification information of the medicine. Specifically, the unit weight acquisition unit 12 reads out a weight per unit amount (unit weight) that is predetermined corresponding to the medicine identification information of each medicine included in the prescription data from the medicine master. Next, the control unit 10 converts the quantity of the medicine included in the prescription data into the weight of the medicine based on the unit weight. Then, the control unit 10 specifies, among the weighing units 51 to 54, the weighing unit 5N, which has obtained a weighing result that matches or is most similar to the weight of the medicine after conversion, as the weighing unit corresponding to the medicine identification information. That is, the control unit 10 associates the medicine identification information included in the prescription data with the weighing unit 5N based on the prescription data, the medicine master, and the weighing result of the weighing unit 5N. Thereafter, the control unit 10 causes the display unit 20 to display the correspondence between the medicine identification information and the weighing unit 5N, and then completes the inspection of the medicine identification information at the timing when the medicine identification information is read by the information reading unit 60. At this time, the control unit 10 stores the correspondence between the medicine identification information and the weighing result of the weighing unit 5N in the storage unit 40 as an inspection history of the prescription data.
[0184] This makes it possible, for example, when the prescription data includes only one type of drug, or when the prescription data includes multiple types of drugs with extremely different weights, to first set the drug in the weighing unit 5N and then read the drug identification information of the drug by the information reading unit 60.
[0185] In addition, in the inspection support device 100, it is considered that the control unit 10 displays a switching operation key on the display unit 20, and the order of reading the medicine identification information and placing the medicine is switched according to the operation of the switching operation key. That is, it is considered that a configuration is possible in which both a first operation mode in which the medicine identification information is read first and a second operation mode in which the medicine is placed on the weighing unit 5N first can be switched and used. Furthermore, it is considered that the control unit 10 automatically switches between the first operation mode and the second operation mode according to the order of reading by the information reading unit 60 and the change in the weighing value of the weighing unit 5N. Specifically, it is considered that the control unit 10 executes the first operation mode when the medicine identification information is read by the information reading unit 60 before the weighing value of the weighing unit 5N changes, and executes the second operation mode when the weighing value of the weighing unit 5N changes before the medicine identification information is read by the information reading unit 60. This makes it possible to flexibly respond to different operations for each user, improving work efficiency.
[0186] In addition, when the weighing result of the medicine set in the weighing unit 5N matches or approximates the weight of a plurality of medicines included in the prescription data, the control unit 10 may display that fact and an operation key for selecting one of the medicines on the display unit 20, and select medicine identification information to be associated with the weighing unit 5N in response to the operation of the operation key. In this case, the control unit 10 completes the inspection of the medicine identification information at the timing when the medicine identification information is read by the information reading unit 60. This makes it possible to perform inspection even when the prescription data includes a plurality of medicines with similar total weights. On the other hand, the control unit 10 may display an error on the display unit 20 when the weighing result of the medicine set in the weighing unit 5N does not match or approximate the weight of any of the medicines included in the prescription data.
[0187] As another example of a method for associating the weighing unit 5N with the drug identification information of the drug, the following method can be considered. That is, the unit weight acquisition unit 12 reads out from the drug master a weight per unit amount (unit weight) that is predetermined in correspondence with the drug identification information of each drug included in the prescription data. Then, the control unit 10 converts the weighed value of the weighing unit 5N, among the weighing units 51 to 54, whose weighed value has changed, into the quantity of the drug based on the unit weight. Then, the control unit 10 specifies, among the weighing units 51 to 54, the weighing unit 5N, which has obtained a weighing result that matches or is most similar to the converted quantity of the drug, as the weighing unit corresponding to the drug identification information. At this time, when the drug is placed on the weighing unit 5N and the weighed value is determined, the weighing result of the drug is collated with the prescription data. Thereafter, the control unit 10 displays the correspondence between the medicine identification information and the weighing unit 5N on the display unit 20, and then completes the inspection of the medicine identification information at the timing when the medicine identification information is read by the information reading unit 60. At this time, the control unit 10 stores the correspondence between the medicine identification information and the weighing result of the weighing unit 5N in the storage unit 40 as the inspection history of the prescription data. Even in this case, for example, when the prescription data includes only one type of medicine, or when the prescription data includes multiple types of medicines with extremely different weights, it is possible to perform an operation in which a medicine is first set in the weighing unit 5N and then the medicine identification information of the medicine is read by the information reading unit 60.
[0188] In addition, even if the weighing result of the medicine set in the weighing unit 5N matches or approximates the quantity of multiple medicines included in the prescription data, the control unit 10 may display that fact and an operation key for selecting one of the medicines on the display unit 20, and select the medicine identification information to be associated with the weighing unit 5N in response to the operation of the operation key. In this case, the control unit 10 completes the inspection of the medicine identification information at the timing when the medicine identification information is read by the information reading unit 60. This makes it possible to perform inspection even if the prescription data includes multiple medicines with similar total amounts. On the other hand, the control unit 10 may display an error on the display unit 20 when the weighing result of the medicine set in the weighing unit 5N does not match or approximate the quantity of any of the medicines included in the prescription data.
[0189] [Sixth embodiment] 29, the inspection support device 100 may include an automatic update processing unit 191 that executes an automatic update process to automatically update the weight per unit amount or the weight per PTP sheet in the medicine master according to the weighing value at the time of actual inspection. Specifically, the control unit 10 functions as the automatic update processing unit 191 by executing various processes according to the inspection support program.
[0190] First, the control unit 10 can switch between enabling and disabling an automatic update function that executes the automatic update process, for example, in response to a user's operation input using the display unit 20 and the operation unit 30 during initial setup of the audit support device 100 or when weighing audits begin. For example, the control unit 10 sets an automatic update flag provided in an EEPROM within the control unit 10 to "1" when the automatic update function is enabled, and sets it to "0" when the automatic update function is disabled. Thereby, the control unit 10 can thereafter determine whether the automatic update function is enabled or disabled based on the value of the automatic update flag.
[0191] Then, when the automatic update function is enabled, when the control unit 10 determines that the collation results match in step S38 in the weighing inspection process (see FIG. 13), the control unit 10 accumulates and stores in the storage unit 40 the prescription quantity (number of tablets, etc.) which is a target value indicated in the prescription data and the total (weight) of the weighing results by one or more of the weighing units 5N for each drug included in the prescription data. As a result, the storage unit 40 accumulates and stores the prescription quantity and the weighing results corresponding to each drug. The control unit 10 accumulates and stores the prescription quantity and the weighing results for a predetermined number of times (for example, about 50 to 100 times) in the storage unit 40, and erases or overwrites data exceeding the predetermined number of times in order from the oldest data. In another embodiment, the control unit 10 may store the prescription quantity and the total of the weighing results in the storage unit 40 in step S37 before step S38. In this case, the control unit 10 may store the prescription quantity and the sum of the weighing results as is if it is determined in step S38 that the comparison results match, and may erase the prescription quantity and the sum of the weighing results if it is determined in step S38 that the comparison results do not match.
[0192] Thereafter, in step S21 of the inspection support process, the control unit 10 updates the weight per unit amount or the weight per PTP sheet stored in the medicine master for each medicine included in the prescription data based on the prescription quantity and the weighing result accumulated and stored in the storage unit 40. For example, the control unit 10 calculates an integrated value D1 of the prescription quantity accumulated and stored in the storage unit 40 and an integrated value D2 of the sum of the weighing results accumulated and stored in the storage unit 40. Then, if the medicine is a medicine packaged in a PTP sheet, the integrated value D2 is divided by the integrated value D1 to indicate the weight per unit amount, and the value is multiplied by the number of pieces per PTP sheet to update the contents of the medicine master as the weight per PTP sheet. Note that if the medicine is not a medicine packaged in a PTP sheet, the integrated value D2 is divided by the integrated value D1 to update the contents of the medicine master as the weight per unit. This makes it possible to suppress the influence of, for example, errors in the weighing values due to deterioration over time of the weighing unit 5N, or errors in the weighing results of the weighing unit 5N due to the usage environment of the inspection support device 100.
[0193] [Seventh embodiment] 29, the inspection support device 100 may include a weighing relaxation processing unit 192 that executes the weighing inspection process in a weighing relaxation mode in which the weighing result is compared with the target value in units of the number of PTP sheets when the drug to be weighed is a drug contained in a PTP sheet. Specifically, the control unit 10 functions as the weighing relaxation processing unit 192 by executing various processes according to the inspection support program.
[0194] First, the control unit 10 can switch between the weighing relaxation mode and the normal mode in which the weighing relaxation process is not executed, for example, in response to a user's operation input using the display unit 20 and the operation unit 30 at the time of initial setting or at the start of weighing inspection in the inspection support device 100. For example, the control unit 10 sets a mode flag provided in the EEPROM in the control unit 10 to "1" when the weighing relaxation mode is selected, and sets it to "0" when the normal mode is selected. Thereby, the control unit 10 can determine the current operation mode based on the value of the mode flag. However, when executing the weighing inspection process, even if the weighing relaxation function is enabled, the control unit 10 does not execute the weighing relaxation mode if the weighing object in the inspection support device 100 is not a PTP sheet, and executes the weighing relaxation mode only when the weighing object is a PTP sheet.
[0195] In the weighing relaxation mode, it is not necessary to perform weighing with high accuracy by the weighing unit 5N. On the other hand, as described above, the control unit 10 may be configured to switch the operation mode of the weighing control unit to either the first range mode or the second range mode by transmitting a control instruction to the weighing control unit of the weighing unit 5N. In this case, the control unit 10 may set the operation mode of the weighing control unit to the first range mode in the weighing relaxation mode, and set the operation mode of the weighing control unit to the second range mode in the normal mode. This reduces the time until the weighing value of the weighing unit 5N in the weighing relaxation mode becomes stable, and a highly accurate weighing value is obtained as the weighing result of the weighing unit 5N in the normal mode.
[0196] <Normal mode> First, a simple example of a specific process flow when the weighing inspection process (see FIG. 13) is executed in the normal mode will be described below. Here, the weighing relaxation function is set to disabled, and the medicine identification information is read from the PTP sheet in step S18.
[0197] In the normal mode, in step S31, the control unit 10 obtains from the pharmaceutical master the weight per PTP and the number per PTP of the pharmaceutical corresponding to the pharmaceutical identification information read in step S17 or step S18.
[0198] Then, in step S37, the control unit 10 compares the total of the weighing results by one or more of the weighing units 5N with the prescription data. First, the control unit 10 calculates the actual number of sheets C1 by subtracting the weight of the rubber bands according to the number of PTP sheets from the total of the weighing results by one or more of the weighing units 5N, and dividing the result by the weight per PTP sheet ((total of weighing results-weight of rubber bands) / weight per PTP sheet). Note that the weight of the rubber bands is a predetermined value that is preset as the weight of the rubber bands corresponding to the number of PTP sheets, for example, and the number of PTP sheets is calculated based on the prescription quantity, which is a target value indicated in the prescription data, and the number per PTP sheet. Also, the weight of the rubber bands may be a constant value regardless of the number of PTP sheets. Then, the control unit 10 calculates the actual number of tablets C2 by multiplying the number of sheets C1 by the number of tablets per PTP sheet, and calculates the number of tablets C3 by rounding off the first decimal place of the number of tablets C2. After that, the control unit 10 executes a comparison between the weighing result and the prescription data by determining whether the number of tablets C3 indicating the number of tablets actually weighed matches the prescribed quantity, which is a target value indicated in the prescription data.
[0199] <Weight reduction mode> Next, an example of a specific process flow when the weighing inspection process (see FIG. 13) is executed in the weighing relaxation mode will be described. Here, the weighing relaxation function is set to be enabled, and the medicine identification information is read from the PTP sheet in step S18.
[0200] In the weighing relaxation mode, in step S31, the control unit 10 obtains the weight per PTP sheet and the number per PTP sheet of the drug corresponding to the drug identification information read in step S18 from the drug master stored in the storage unit 40. Also, in step S31, the control unit 10 calculates the target number of sheets C11 by dividing the number of tablets (prescription quantity) which is the target value indicated in the prescription data by the number per PTP sheet, and calculates the number of sheets C12 by rounding down the first decimal place of the number of sheets C11. For example, if the number of tablets (prescription quantity) which is the target value indicated in the prescription data is 28 tablets and the number per PTP sheet is 10 tablets, the number of sheets C11 is 28 / 10=2.8 sheets, and the number of sheets C12 by rounding down the first decimal place is 2 sheets.
[0201] Then, in step S37, the control unit 10 compares the total of the weighing results by one or more of the weighing units 5N with the prescription data. First, the control unit 10, as in the normal mode, calculates the number of sheets C1 by subtracting the weight of the rubber bands according to the number of PTP sheets from the total of the weighing results by one or more of the weighing units 5N, and dividing the result by the weight per PTP ((total of weighing results-weight of rubber bands) / weight per PTP). Then, the control unit 10 calculates the number of sheets C13 by rounding down the number of sheets C1 to one decimal place. After that, the control unit 10 executes the comparison between the weighing results and the prescription data by determining whether the number of sheets C13 indicating the number of PTP sheets actually weighed matches the number of sheets C12 indicating the number of PTP sheets corresponding to the target value indicated in the prescription data. In the weighing relaxation mode, the units displayed for the target values and the converted values in the weighing display areas A11 to A14 are changed to "sheets."
[0202] <Second weighing relaxation mode> Here, a second weighing mitigation mode, which is another example of the weighing mitigation mode, will be described. Specifically, in the weighing mitigation mode, an operation button for designating whether or not to remove the fraction of the PTP sheet is displayed in the weighing display areas A11 to A14. Then, the control unit 10 executes the weighing mitigation mode when the operation button is used to designate not to remove the fraction, and executes a second weighing mitigation mode, which will be described below, when the operation button is used to designate the fraction to be removed.
[0203] Incidentally, a threshold value C31 used when calculating the number of sheets is stored in the EEPROM of the control unit 10. The threshold value C31 is a preset value less than 1, and is set to, for example, 0.2 or 0.5. The control unit 10 can arbitrarily set the threshold value C31 in response to, for example, a user's operation input using the display unit 20 and the operation unit 30 at the time of initial setting of the inspection support device 100 or at the start of weighing inspection.
[0204] In the second weighing relaxation mode, in step S31, the control unit 10 calculates the target number of sheets C11 by dividing the number of tablets (prescription quantity), which is the target value indicated in the prescription data, by the number per PTP sheet, and calculates the number of sheets C12 by rounding down the first decimal place of the number of sheets C11. At this time, the control unit 10 temporarily stores a fraction C111, which is the value of the first decimal place of the number of sheets C11, in RAM or EEPROM. Note that the value is not limited to the first decimal place of the number of sheets C11, but the first and second decimal places, or the entire decimal part may be stored as the fraction C111.
[0205] Thereafter, in step S37, the control unit 10 compares the total of the weighing results by one or more of the weighing units 5N with the prescription data. First, as described above, the control unit 10 calculates the number of sheets C1 by dividing the value obtained by subtracting the weight of the rubber bands according to the number of PTP sheets from the weighing results by the weighing unit 5N by the weight per PTP ((total of weighing results-weight of rubber bands) / weight per PTP). Next, the control unit 10 calculates the number of sheets C4, which is the value obtained by subtracting the fraction C111 from the number of sheets C1. At this time, if multiple weighing units 5N are associated with the same drug, the control unit 10 updates in advance the fraction C111 to a value obtained by dividing the fraction C111 by the number of the weighing units 5N. When the sheet number C1 is greater than "-0.5" and the sheet number C4 is smaller than "0", the control unit 10 sets the sheet number C4 to "0".
[0206] Then, when the decimal part of the number of sheets C4 is smaller than the threshold C31, the control unit 10 calculates the number of sheets C5 by rounding down the first decimal place of the number of sheets C4. On the other hand, when the decimal part of the number of sheets C4 is equal to or larger than the threshold C31, the control unit 10 calculates the number of sheets C5 by rounding up the first decimal place of the number of sheets C4. After that, the control unit 10 calculates the number of sheets C14, which is the total of the number of sheets C5 calculated based on the weighing results by one or more of the weighing units 5N, and determines that the collation result is a match when the number of sheets C14 is within a predetermined allowable error with respect to the number of sheets C12. That is, the collation result is determined to be a match when "the number of sheets C12 - the preset lower limit allowable value" ≦ "the number of sheets C5" ≦ "the number of sheets C12 + the preset upper limit allowable value".
[0207] Specifically, consider a case where the target number of tablets is "21", the number per PTP is "10", the weight per PTP sheet is "2 g", the threshold C31 is "0.2", the weighing value of the weighing unit 5N is "4.4 g", the upper limit tolerance is "1", and the lower limit tolerance is "1". Note that, in this case, one weighing unit 5N is associated with one drug.
[0208] In this case, the control unit 10 first divides the target value "21" by the number of pieces per PTP sheet "10" to calculate the number of sheets C11 as "2.1", and then rounds down the number of sheets C11 to 1 to calculate the number of sheets C12 as "2". The control unit 10 also stores the value of the first decimal place of the number of sheets C11, "0.1", as the fraction C111.
[0209] Next, the control unit 10 calculates the number of sheets C1 as "2.2" by dividing the weighing value of the weighing unit 5N, "4.4 g," by the weight of one PTP sheet, "2 g." The control unit 10 also calculates the number of sheets C4 as "2.1" by subtracting the fraction C111, "0.1," from the number of sheets C1.
[0210] Thereafter, the control unit 10 calculates the number of sheets C5 by rounding down the first decimal place of the number of sheets C4 to "2" because the decimal part of the number of sheets C4, "0.1", is smaller than the threshold value C31, "0.2". If the decimal part of the number of sheets C4 is equal to or greater than the threshold value C31, "0.2", the control unit 10 calculates the number of sheets C5 by rounding up the first decimal place of the number of sheets C4 to "3".
[0211] The control unit 10 then determines that the collation results are a match because the value "1" obtained by subtracting the lower limit tolerance value "1" from the number of sheets C12 "2" is less than or equal to the number of sheets C5 "2" and the value "3" obtained by adding the number of sheets C12 "2" to the upper limit tolerance value "1" is greater than or equal to the number of sheets C5 "2". Note that the control unit 10 determines that the collation results are a mismatch when the condition "the number of sheets C12 - the preset lower limit tolerance value" <= "the number of sheets C5" <= "the number of sheets C12 + the preset upper limit tolerance value" is not satisfied.
[0212] Incidentally, in the weighing relaxation mode or the second weighing relaxation mode, when the target value is a number (e.g., 3 tablets) less than the number per PTP (e.g., 10 tablets), the target number of sheets to be compared may become "0". On the other hand, after the drug to be weighed is selected, before the drug is placed on the weighing unit 5N, for example, if the weighing unit 5N is touched by the user's hand or is affected by wind, the value of the weighing unit 5N may increase instantaneously and return to "0". In this case, the weighing result of the weighing unit 5N becomes "0g" and the number of sheets becomes "0", so it is considered that the comparison result is determined to be a match. Therefore, if the weighing value of the weighing unit 5N increases from "0" and then returns to "0" within a predetermined specific time, the control unit 10 may not perform a comparison based on the weighing result by the weighing unit 5N. This prevents the comparison result from being determined to be a match when, for example, the weighing unit 5N is touched by the user's hand or is affected by wind. In addition, if the weighing value of the weighing unit 5N increases from "0" and then returns to "0" without stabilizing, the control unit 10 may not perform a comparison based on the weighing result by the weighing unit 5N.
[0213] In addition, when the weighing value of the weighing unit 5N increases from "0" and then drops and stabilizes at a preset specific value or higher, it is possible that a drug is placed on the weighing unit 5N. In such a case, the control unit 10 may execute a comparison based on the stable weighing result. On the other hand, when the weighing value of the weighing unit 5N increases from "0" and then drops to "0" via the specific value, the control unit 10 does not execute a comparison based on the weighing result by the weighing unit 5N. The specific value may be, for example, a constant value that is preset. In addition, the control unit 10 may calculate, as the specific value each time, a value of a predetermined percentage of a target weight corresponding to a target value (such as the number of tablets) of a drug associated with the weighing unit 5N, or a value obtained by subtracting a predetermined value from the target weight. In this case, too, for example, when the weighing unit 5N is touched by a user's hand or is affected by wind, the comparison result is prevented from being determined as a match. Furthermore, the control unit 10 may determine whether or not to execute a comparison based on both the specific time and the specific value.
[0214] [Eighth embodiment] Incidentally, in step S37, when the weighing results such as the number of tablets or sheets weighed by each of the weighing units 5N are compared with the target value, the control unit 10 may classify the degree of error contained in the weighing results into a plurality of predetermined stages and execute processing according to the classification. Specifically, even if the weighing results match the target value, the number of medicines or the number of sheets calculated as the weighing result is corrected by rounding off, rounding up, or rounding down the actual value. Therefore, even if the comparison results match, depending on the content of the correction, it may be possible that the number of medicines does not actually match the target value. Therefore, the control unit 10 may change the display mode such as the background color of the weighing display area A1M according to the degree of error contained in the weighing result.
[0215] For example, when the control unit 10 rounds off the medicine quantity obtained as the weighing result by the weighing unit 5N, if the corrected medicine quantity is likely to be inappropriate, such as when a difference value C6 between the medicine quantity and the rounded medicine quantity (hereinafter referred to as the "corrected medicine quantity") is ±0.5 or more (+0.5 or more or -0.5 or less), the control unit 10 displays the background of the weighing display area A1M where the weighing result is obtained in a predetermined first specific color such as transparent or red. Also, if the control unit 10 considers that the corrected medicine quantity is likely to be appropriate but the judgment is questionable, such as when the difference value C6 is ±0.25 or more and less than ±0.5 (+0.25 or more and less than +0.5, or -0.25 or less and greater than -0.5), the control unit 10 displays the background of the weighing display area A1M where the weighing result is obtained in a predetermined second specific color such as gray. Then, when the corrected drug quantity is likely to be appropriate, such as when the difference value C6 is less than ±0.25 (less than +0.25 and greater than -0.25), the control unit 10 displays the background of the weighing display area A1M where the weighing result was obtained in a predetermined third specific color, such as light green.
[0216] This allows the user to judge whether the corrected drug quantity is appropriate or not by referring to the color scheme of the weighing display area A1M. For example, if the background color of the weighing display area A1M is the first specific color, the user can judge that the corrected drug quantity is not appropriate, if the background color of the weighing display area A1M is the second specific color, the user can judge that the corrected drug quantity may be inappropriate and therefore visual confirmation is necessary, and if the background color is the third specific color, the user can judge that the corrected drug quantity is appropriate. Note that the change in the display mode of the weighing display area A1M is not limited to the background color, and for example, the color scheme of the edge of the weighing display area A1M may be changed. Furthermore, the control unit 10 may change the color scheme (character color or background color) of the area in the prescription display area A15 where the drug associated with the weighing unit 5N from which the weighing result was obtained is displayed to the first specific color, the second specific color, the third specific color, or the like.
[0217] The control unit 10 may also display on the display unit 20 a message that is preset according to the degree of error included in the weighing result. For example, when the difference value C6 is ±0.5 or more, the control unit 10 may cause the display unit 20 to display a message indicating that the corrected drug quantity is likely to be inappropriate or that the corrected drug quantity is likely to include an error factor. When the difference value C6 is ±0.25 or more and less than ±0.5, the control unit 10 may cause the display unit 20 to display a message indicating that the corrected drug quantity is likely to be appropriate but prompting the user to visually confirm the corrected drug quantity. When the difference value C6 is less than ±0.25, the control unit 10 may cause the display unit 20 to display a message indicating that the corrected drug quantity is likely to be appropriate.
[0218] Furthermore, a configuration is conceivable in which the control unit 10 can set in advance a determination process in a case where the appropriateness of the corrected drug quantity is considered to be questionable, such as when the difference value C6 is equal to or more than ±0.25 and less than ±0.5, in response to a user operation in initial setting, etc. For example, as an example of the determination process, it is conceivable to determine that the corrected drug quantity is appropriate and set the color scheme of the weighing display area A1M to the second specific color.
[0219] As another example of the determination process, a message indicating that the corrected drug quantity is questionable may be displayed along with an operation button for selecting whether the corrected drug quantity is appropriate or not. In this case, when an operation is performed on the operation button indicating that the corrected drug quantity is appropriate, the control unit 10 may determine that the corrected drug quantity is appropriate and set the color scheme of the weighing display area A1M to the second specific color. On the other hand, when an operation is performed on the operation button indicating that the corrected drug quantity is not appropriate, the control unit 10 may determine that the corrected drug quantity is not appropriate and start re-weighing and collation by the weighing unit 5N.
[0220] Specifically, consider the case where the weight per PTP is "10g", the number of tablets per PTP is "10 tablets", the target value is "35 tablets", and the weighing units 51 to 53 obtain three types of weighed values under the following first to third conditions. The first condition is: weighing unit 51: 10.1g, weighing unit 52: 13g, and weighing unit 53: 12.2g. The second condition is: weighing unit 51: 10.1g, weighing unit 52: 13.4g, and weighing unit 53: 12.2g. The third condition is: weighing unit 51: 10.1g, weighing unit 52: 13.4g, and weighing unit 53: 12.8g. The control unit 10 calculates the weight of one tablet as "1 g" obtained by dividing the weight of one PTP by the number of tablets per PTP, and executes the following process.
[0221] <In the case of the first condition> First, in the case of the first condition, the control unit 10 calculates the drug quantity of "10.1 tablets" for the weighing unit 51 because the weighing value is "10.1 g", and then calculates the corrected drug quantity of "10 tablets". Similarly, the control unit 10 calculates the drug quantity of "13.0 tablets" for the weighing unit 52 because the weighing value is "13 g", and then calculates the corrected drug quantity of "13 tablets". Furthermore, the control unit 10 calculates the drug quantity of "12.2 tablets" for the weighing unit 53 because the weighing value is "12.2 g", and then calculates the corrected drug quantity of "12 tablets". In these cases, the difference value C6 is "0.1 tablets", "0.0 tablets", and "0.2 tablets", respectively, so the background of the weighing display areas A11 to A13 corresponding to the weighing units 51 to 53 becomes the third specific color. In the case of the first condition, the total corrected medicine quantity, which is the weighing result, is 35 tablets, and therefore the control unit 10 determines that the comparison result between the weighing result and the target value matches.
[0222] <In the case of the second condition> On the other hand, in the case of the second condition, the control unit 10 calculates the drug quantity as "13.4 tablets" for the weighing unit 52 because the weighing value is "13.4 g", and then calculates the corrected drug quantity as "13 tablets". In this case, the difference value C6 is "0.4 tablets", so the background of the weighing display area A12 corresponding to the weighing unit 52 becomes the second specific color. In the case of the second condition, the weighing units 51 and 53 are the same as the first condition. In the case of the second condition, the total of the corrected drug quantities, which are the weighing results, is 35 tablets, so the control unit 10 determines that the comparison result between the weighing result and the target value is a match, but displays the background color of the weighing display area A12 corresponding to the weighing unit 52 in the second specific color, such as gray.
[0223] <In the case of the third condition> In addition, in the case of the third condition, the control unit 10 calculates the drug quantity as "12.8 tablets" for the weighing unit 53 because the weighing value is "12.8 g", and then calculates the corrected drug quantity as "13 tablets". In this case, the difference value C6 is "0.2 tablets", so the background of the weighing display area A13 corresponding to the weighing unit 52 becomes the third specific color. In the case of the third condition, the weighing units 51 and 52 are the same as the second condition, and the total of the corrected drug quantities, which are the weighing results, becomes 36 tablets, which is different from the target value. Therefore, the control unit 10 determines that the comparison result between the weighing result and the target value does not match, and displays the background color of the weighing display area A12 corresponding to the weighing unit 52 in the second specific color, such as gray.
[0224] Incidentally, even if the comparison result is a mismatch in step S37, if the user judges that the comparison result is a mismatch due to the influence of wind or attachments of the medicine, and it is clear that there is no problem in processing the comparison result as a match, and performs a predetermined user operation, the control unit 10 may process the comparison result as a match. In this case, the control unit 10 may display the color scheme (background color or border color) of the weighing display area A1M corresponding to the weighing unit 5N, and the color scheme (text color or background color) of the area corresponding to the medicine in the prescription display area A15 in the first specific color or a predetermined fourth specific color. Furthermore, when the predetermined user operation is performed, the control unit 10 displays a comment field for inputting the reason for processing the comparison result as a match, and records the comment input by the user in the comment field in association with the prescription data. As described above, the background color of the visually inspected medicine in the prescription display area A15 may be different from that of other medicines. Furthermore, when the visually inspected medicine is placed on the weighing unit 5N, the control unit 10 may display the color scheme (background color or border color) of the weighing display area A1M corresponding to the weighing unit 5B in a fifth specific color, such as a predetermined light blue.
[0225] [Ninth embodiment] 29, the inspection support device 100 may include a calibration processing unit 193 capable of executing a calibration process for calibrating the weighing units 51 to 54. Specifically, the control unit 10 functions as the calibration processing unit 193 by executing various processes in accordance with the inspection support program. Here, FIGS. 30A to 30E are diagrams showing example transitions of a display screen when the calibration process is executed by the calibration processing unit 193.
[0226] Specifically, when an operation for performing the initial setting of the inspection support device 100 is performed and then an operation for starting "balance calibration" is performed, the calibration processing unit 193 displays a navigation screen for performing calibration of any of the weighing units 51 to 54 on the display unit 20, as shown in Figs. 30A to 30E. Figs. 30A to 30E show that the contents of the calibration process include the steps of "1. Designation of balance", "2. Preparation", "3. Placement of weight", "4. Remove weight", and "5. Completion". Also, in Figs. 30A to 30E, the currently executed step in the calibration process is displayed by coloring the part corresponding to that step. For example, in Fig. 30A, only the part corresponding to "1. Designation of balance" is colored, and in Fig. 30B, the parts corresponding to "1. Designation of balance" and "2. Preparation" are colored. The display and processing of each step will be described below.
[0227] First, FIG. 30A is a first display screen corresponding to "1. Designation of balance". The first display screen displays the message "Calibrate the A / D 100g correction weight width of the balance. Select the balance to be calibrated and press the "Next" button." along with the message "Balance 1", "Balance 2", "Balance 3", and "Balance 4" corresponding to the weighing units 51 to 54 as options. When one of "Balance 1", "Balance 2", "Balance 3", and "Balance 4" is selected and the "Next" operation key is operated, the calibration processing unit 193 selects one of the weighing units 51 to 54 corresponding to the selected balance (hereinafter, referred to as the calibration target weighing unit) as the calibration target in the calibration process.
[0228] Next, Fig. 30B is the second display screen corresponding to "2. Preparation". The second display screen displays the message "Please make sure that nothing is placed on balance 1 and press the 'Next' button." When the "Next" operation key is operated here, the calibration processing unit 193 determines that nothing is placed on the calibration target weighing unit (the weighing value is 0).
[0229] Next, Fig. 30C is a third display screen corresponding to "3. Place weight." The third display screen displays the message "Place a weight (200g) on the balance 1 and press the 'Next' button." When the 'Next' operation key is operated, the calibration processing unit 193 determines that a weight (200g) has been placed on the calibration target weighing unit, and executes weighing by the calibration target weighing unit.
[0230] Then, Fig. 30D shows a fourth display screen corresponding to "4. Remove the weight". The fourth display screen displays the message "Remove the weight (200g) from the balance 1 and press the 'Next' button." When the "Next" operation key is operated here, the calibration processing unit 193 determines that nothing is placed on the calibration target weighing unit (weighing value is 0). At this time, the calibration processing unit 193 calibrates the calibration target weighing unit based on the weighing result when a weight is placed on the calibration target weighing unit and the weighing result when no weight is placed on the calibration target weighing unit. Specifically, the calibration processing unit 193 updates the setting value corresponding to the weighing unit to be calibrated among "A / D100g correction weight width (balance 1)", "A / D100g correction weight width (balance 2)", "A / D100g correction weight width (balance 3)", and "A / D100g correction weight width (balance 4)" corresponding to the weighing units 51 to 54. For example, the calibration processing unit 193 records, as the A / D100g correction weight width, an analog value per 1 g calculated by dividing the difference between the analog signal output from the load cell 56 of the weighing unit to be calibrated when the weight is not placed and the analog signal output from the load cell 56 of the weighing unit to be calibrated when the weight is placed, by the weight of the weight (200 g). As a result, in the inspection support device 100, the value of the analog signal output from the load cell 56 of the calibration target weighing unit is converted into a weighing result of a digital signal using the value of the A / D 100g correction weight width calibrated by the calibration processing unit 193.
[0231] FIG. 30E is a fifth display screen corresponding to "5. Completed." On the fifth display screen, if the calibration by the calibration process is normally performed, a message "Calibration of balance 1 is completed." is displayed. If an error occurs during the calibration by the calibration process, a message "Calibration of balance 1 failed." is displayed on the fifth display screen. For example, the calibration processing unit 193 determines that an error has occurred when a weighing result equal to or greater than a preset value is obtained in a state where no weight is supposed to be placed on the weighing unit to be calibrated, or when a weighing result outside a preset range is obtained in a state where a weight (200 g) is supposed to be placed on the weighing unit to be calibrated.
[0232] [Tenth embodiment] The audit support device 100 also has a reception result inquiry function for inquiring about the reception result of the prescription data received by the audit support device 100. Specifically, the display processing unit 17 of the control unit 10 executes a reception result inquiry process for realizing the reception result inquiry function. In the audit support device 100, the control unit 10 judges whether the prescription data received by the audit support device 100 is normal or not, and stores the judgment result in the storage unit 40 in association with the prescription data. For example, the control unit 10 judges that the prescription data was not received normally when information required for the prescription data is missing, such as when the prescription data does not include a drug name or when the prescription data does not include a dosage (fraction).
[0233] When a user operation is performed to display a list of prescription data received by the inspection support device 100, the display processing unit 17 displays a screen preset as an initial screen from among the unprocessed list screen shown in FIG. 31A and the unprocessed list screen shown in FIG. 31B. In addition, the display processing unit 17 switches the display content of the unprocessed list screen to a list of normal prescription data (FIG. 31A) and a list of abnormal prescription data (FIG. 31B) in response to the operation of an operation key corresponding to "normal" and an operation key corresponding to "abnormal" on the unprocessed list screen. On the unprocessed list screen shown in FIG. 31A, prescription date, patient name, total Rp number, exchange ticket number, etc. are displayed for prescription data normally received by the inspection support device 100. On the other hand, on the unprocessed list screen shown in FIG. 31B, occurrence date and time, patient name, abnormality reason, etc. are displayed for abnormal prescription data that the inspection support device 100 could not normally receive. In addition, the display processing unit 17 can search and display prescription data on the unprocessed list screen by targeting items such as "date," "ID," "name," or "voucher." For example, in Fig. 31A, the search results for prescription data corresponding to the date of November 30, 2013 are displayed, and in Fig. 31B, the search results for prescription data corresponding to the date of June 16, 2014 are displayed. [Explanation of symbols]
[0234] 10: Control section 20: Display section 30:Operation unit 40: Storage section 50: Weighing device 51-54: Weighing section 55: Weighing dish 56: Load cell 60: Information reading unit 70: Photography Department 80: Tablet device 90: Cover material 100: Inspection support device
Claims
1. The present invention is provided with a control unit which judges whether a value obtained by converting a target value, which is the number of tablets shown in the prescription data, into a unit of the number of sheets in which a predetermined number of tablets are contained agrees with a value obtained by converting a weighing result by the weighing unit into a unit of the number of sheets based on the type of tablets specified as the subject of weighing among the prescription tablets shown in the prescription data, and a weighing control unit; The weighing control unit is a first range mode in which the weighing value by the weighing unit is input to the control unit as the weighing result with a predetermined first accuracy, and a second range mode in which the weighing value by the weighing unit is input to the control unit as the weighing result with a second accuracy higher than the first accuracy, The control unit is A first mode is switchable in which it is determined whether or not a value obtained by converting the target value into a unit of the number of sheets of the sheet coincides with a value obtained by converting the weighing result into a unit of the number of sheets of the sheet, and a second mode is switchable in which it is determined whether or not a number of tablets calculated based on the weighing result coincides with the target value, When the weighing control unit is in the first mode, the operation mode of the weighing control unit is set to the first range mode, and when the weighing control unit is in the second mode, the operation mode of the weighing control unit is set to the second range mode. Inspection support system.
2. In the first mode, the control unit converts the target value into a value in units of the number of sheets by rounding down the decimal point of a value obtained by dividing the number of tablets, which is the target value, by the number of tablets per sheet of the sheet, and converts the weighing result into a value in units of the number of sheets of the sheet by rounding down the decimal point of a value obtained by dividing the weighing result by the weight per sheet of the sheet.
2. An audit support system according to claim 1.
3. In the first mode, the control unit converting the target value into a value in units of the number of tablets on the sheet by dividing the target value of the number of tablets on one sheet by discarding any digits below the decimal point; the weighing result is divided by the weight per sheet, and the decimal value truncated when converting the target value into a value in units of the number of sheets is subtracted from the value obtained by dividing the weighing result by the weight per sheet, and if the decimal portion of the value obtained after the subtraction is smaller than a preset threshold value, the decimal portion is truncated to convert the weighing result into a value in units of the number of sheets, and if the decimal portion of the value obtained after the subtraction is equal to or greater than the threshold value, the decimal portion is rounded up to convert the weighing result into a value in units of the number of sheets; 2. An audit support system according to claim 1.
4. The weighing result is a value obtained by subtracting a weight of the rubber bands corresponding to the number of the sheets from the weighing value obtained by the weighing unit.
4. An audit support system according to claim 2 or 3.
5. The control unit displays a value obtained by converting the target value into a unit of the number of sheets and a value obtained by converting the weighing result into a unit of the number of sheets on a display unit on which the weighing result by the weighing unit is displayed. An audit support system according to any one of claims 1 to 4.
6. the control unit, in the first mode, determines that the target value and the weighing result are consistent when a difference between the target value converted into a unit of the number of sheets and the weighing result converted into a unit of the number of sheets is within a predetermined allowable error. An audit support system according to any one of claims 1 to 5.
7. On the computer, A first step of converting a target value, which is the number of tablets indicated in the prescription data, into a value in units of the number of sheets on which a predetermined number of tablets are accommodated; A second step of converting the weighing result by the weighing unit into a value in units of the number of sheets based on the type of tablet identified as the weighing target; a third step of determining whether or not the value converted in the first step coincides with the value converted in the second step; a step of setting an operation mode of a weighing control unit capable of switching between a first range mode in which the weighing value by the weighing unit is input to the computer as the weighing result with a predetermined first accuracy and a second range mode in which the weighing value by the weighing unit is input to the computer as the weighing result with a second accuracy higher than the first accuracy to the first range mode when the operation mode is a first mode in which it is determined whether or not a value obtained by converting the target value into a unit of the number of sheets and a value obtained by converting the weighing result into a unit of the number of sheets match, and setting the operation mode to the second range mode when the operation mode is a second mode in which it is determined whether or not the number of tablets calculated based on the weighing result matches the target value; An audit support program to help implement the above.
Citation Information
Patent Citations
Method and device for inspection of quantity of dispensed medicine
JP2004216144A
Weight verification system for prescription drug
JP2005066272A
Medicine-weighing apparatus
JP2006280916A
Dispensing inspection system
JP2013042795A
Drug delivery device and method for calculating amount of remaining drug
WO2013069783A1
