WO2020209100A1 - 薬品払出システム、薬品払出プログラム - Google Patents

薬品払出システム、薬品払出プログラム Download PDF

Info

Publication number
WO2020209100A1
WO2020209100A1 PCT/JP2020/014005 JP2020014005W WO2020209100A1 WO 2020209100 A1 WO2020209100 A1 WO 2020209100A1 JP 2020014005 W JP2020014005 W JP 2020014005W WO 2020209100 A1 WO2020209100 A1 WO 2020209100A1
Authority
WO
WIPO (PCT)
Prior art keywords
tablet
drug
cassette
dispensing
chemical
Prior art date
Application number
PCT/JP2020/014005
Other languages
English (en)
French (fr)
Inventor
昌尚 西尾
寺田 哲也
幸典 小出
Original Assignee
株式会社湯山製作所
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 株式会社湯山製作所 filed Critical 株式会社湯山製作所
Priority to CN202080027213.7A priority Critical patent/CN113677308B/zh
Priority to JP2020537026A priority patent/JP6874911B2/ja
Priority to KR1020217031903A priority patent/KR20210149722A/ko
Publication of WO2020209100A1 publication Critical patent/WO2020209100A1/ja

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61JCONTAINERS SPECIALLY ADAPTED FOR MEDICAL OR PHARMACEUTICAL PURPOSES; DEVICES OR METHODS SPECIALLY ADAPTED FOR BRINGING PHARMACEUTICAL PRODUCTS INTO PARTICULAR PHYSICAL OR ADMINISTERING FORMS; DEVICES FOR ADMINISTERING FOOD OR MEDICINES ORALLY; BABY COMFORTERS; DEVICES FOR RECEIVING SPITTLE
    • A61J7/00Devices for administering medicines orally, e.g. spoons; Pill counting devices; Arrangements for time indication or reminder for taking medicine
    • A61J7/0076Medicament distribution means
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61JCONTAINERS SPECIALLY ADAPTED FOR MEDICAL OR PHARMACEUTICAL PURPOSES; DEVICES OR METHODS SPECIALLY ADAPTED FOR BRINGING PHARMACEUTICAL PRODUCTS INTO PARTICULAR PHYSICAL OR ADMINISTERING FORMS; DEVICES FOR ADMINISTERING FOOD OR MEDICINES ORALLY; BABY COMFORTERS; DEVICES FOR RECEIVING SPITTLE
    • A61J3/00Devices or methods specially adapted for bringing pharmaceutical products into particular physical or administering forms
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61JCONTAINERS SPECIALLY ADAPTED FOR MEDICAL OR PHARMACEUTICAL PURPOSES; DEVICES OR METHODS SPECIALLY ADAPTED FOR BRINGING PHARMACEUTICAL PRODUCTS INTO PARTICULAR PHYSICAL OR ADMINISTERING FORMS; DEVICES FOR ADMINISTERING FOOD OR MEDICINES ORALLY; BABY COMFORTERS; DEVICES FOR RECEIVING SPITTLE
    • A61J7/00Devices for administering medicines orally, e.g. spoons; Pill counting devices; Arrangements for time indication or reminder for taking medicine
    • A61J7/0076Medicament distribution means
    • A61J7/0084Medicament distribution means for multiple medicaments
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16HHEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
    • G16H20/00ICT specially adapted for therapies or health-improving plans, e.g. for handling prescriptions, for steering therapy or for monitoring patient compliance
    • G16H20/10ICT specially adapted for therapies or health-improving plans, e.g. for handling prescriptions, for steering therapy or for monitoring patient compliance relating to drugs or medications, e.g. for ensuring correct administration to patients
    • G16H20/13ICT specially adapted for therapies or health-improving plans, e.g. for handling prescriptions, for steering therapy or for monitoring patient compliance relating to drugs or medications, e.g. for ensuring correct administration to patients delivered from dispensers
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16HHEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
    • G16H40/00ICT specially adapted for the management or administration of healthcare resources or facilities; ICT specially adapted for the management or operation of medical equipment or devices
    • G16H40/40ICT specially adapted for the management or administration of healthcare resources or facilities; ICT specially adapted for the management or operation of medical equipment or devices for the management of medical equipment or devices, e.g. scheduling maintenance or upgrades
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16HHEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
    • G16H50/00ICT specially adapted for medical diagnosis, medical simulation or medical data mining; ICT specially adapted for detecting, monitoring or modelling epidemics or pandemics
    • G16H50/50ICT specially adapted for medical diagnosis, medical simulation or medical data mining; ICT specially adapted for detecting, monitoring or modelling epidemics or pandemics for simulation or modelling of medical disorders

Definitions

  • the present invention relates to a chemical dispensing system and a chemical dispensing program capable of simulating a chemical dispensing operation in which a chemical is dispensed from a chemical cassette by a chemical dispensing device.
  • the chemical dispensing device capable of automatically dispensing various chemicals is provided with a plurality of chemical cassettes capable of dispensing a predetermined type of chemicals (see, for example, Patent Document 1).
  • the utilization efficiency of the chemical dispenser may decrease. ..
  • An object of the present invention is to provide a drug withdrawal system and a drug withdrawal program capable of supporting effective selection of a drug type that can be withdrawn from a drug cassette.
  • the drug dispensing system is a drug dispensing device capable of performing a drug dispensing operation of dispensing one or more chemical types based on chemical dispensing data, and is a drug dispensing device capable of dispensing chemicals from a chemical cassette in the chemical dispensing operation.
  • a first processing unit that accepts estimation conditions related to selection of a chemical type, and a simulation of the chemical dispensing operation that is executed based on a plurality of the chemical dispensing data when the estimation conditions accepted by the first processing unit are applied. It includes a second processing unit that outputs the result.
  • the drug dispensing program according to the present invention is a drug dispensing device capable of performing a drug dispensing operation of dispensing one or more chemical types based on chemical dispensing data, and is a drug dispensing device capable of dispensing chemicals from a chemical cassette in the chemical dispensing operation.
  • This is a drug dispensing program for causing one or more processors to execute the second step of output.
  • a drug dispensing system and a drug dispensing program capable of supporting effective selection of a chemical type that can be dispensed from a chemical cassette are provided.
  • FIG. 1 is a perspective view of a tablet storage / removal device provided with an adjustment device.
  • FIG. 2 is a perspective view of the tablet cassette and the base.
  • FIG. 3 is a perspective view of the tablet cassette with the lid removed.
  • FIG. 4 is a perspective view seen from the bottom of the tablet cassette.
  • FIG. 5 is a cross-sectional view of the cassette body.
  • FIG. 6 is a perspective view of the tablet cassette with the rotor removed.
  • FIG. 7 is an exploded perspective view of the rotor drive unit of the cassette body.
  • FIG. 8A is an exploded perspective view of the partition adjusting mechanism of the cassette body.
  • FIG. 8B is a cross-sectional view of the cassette body showing the entry position of the partition member.
  • FIG. 9 is an overall perspective view of the rotor.
  • FIG. 10 is a perspective view seen from the bottom of the rotor.
  • FIG. 11 is an exploded perspective view of the depth adjusting mechanism.
  • FIG. 12 is an exploded perspective view of the height adjusting mechanism.
  • FIG. 13 is an exploded perspective view of the width adjusting mechanism.
  • FIG. 14 is a cross-sectional view of a cassette body for explaining a state of adjusting the depth by the depth adjusting mechanism.
  • FIG. 15 is a cross-sectional view of a cassette body for explaining a height adjustment state by the height adjustment mechanism.
  • FIG. 16 is a plan view (a) and a bottom view (b) of a movable member and a width adjusting member for explaining a width adjusting state by the width adjusting mechanism.
  • FIG. 17 is a perspective view of the adjusting device.
  • FIG. 11 is an exploded perspective view of the depth adjusting mechanism.
  • FIG. 12 is an exploded perspective view of the height adjusting mechanism.
  • FIG. 13 is an exploded perspective view of the width
  • FIG. 18 is a perspective view of the inside of the adjusting device as viewed from the front.
  • FIG. 19 is an internal side view of the adjusting device.
  • FIG. 20 is a plan view of the rear frame of the adjusting device.
  • FIG. 21 is a plan view of the sensor mount of the adjusting device.
  • FIG. 22 is an exploded perspective view of the adjustment shaft.
  • FIG. 23 is a perspective view of the inside of the adjusting device as viewed from the rear.
  • FIG. 24 is a control system diagram of the adjusting device.
  • FIG. 25 is a control flowchart of the adjusting device.
  • FIG. 26 is a perspective view showing a state in which the tablet cassette and the rotor are mounted on the adjusting device.
  • FIG. 26 is a perspective view showing a state in which the tablet cassette and the rotor are mounted on the adjusting device.
  • FIG. 27 is a partially enlarged perspective view showing a depth adjusting state by the adjusting device.
  • FIG. 28 is a partially enlarged perspective view showing a height adjusting state by the adjusting device.
  • FIG. 29 is a partially enlarged perspective view showing a width adjusting state by the adjusting device.
  • FIG. 30 is a partially enlarged side view showing an adjusted state of the approach position of the partition member by the adjusting device.
  • FIG. 31 is a perspective view (a) showing a modified example of the rotor mounting portion and the sensor mounting base of the adjusting device, and a perspective view (b) showing a state in which the rotor mounting portion is removed.
  • FIG. 32 is a diagram showing an example of information used in the drug dispensing system.
  • FIG. 32 is a diagram showing an example of information used in the drug dispensing system.
  • FIG. 33 is a block diagram showing a drug dispensing system.
  • FIG. 34 is a flowchart showing an example of the allocation start process executed by the drug dispensing system.
  • FIG. 35 is a diagram showing an example of a display screen displayed by the drug dispensing system.
  • FIG. 36 is a diagram showing an example of a display screen displayed by the drug dispensing system.
  • FIG. 37 is a diagram showing an example of a display screen displayed by the drug dispensing system.
  • FIG. 38 is a flowchart showing an example of a cassette adjustment process executed by the chemical dispensing system.
  • FIG. 39 is a flowchart showing an example of a cassette adjustment process executed by the drug dispensing system.
  • FIG. 34 is a flowchart showing an example of the allocation start process executed by the drug dispensing system.
  • FIG. 35 is a diagram showing an example of a display screen displayed by the drug dispensing system.
  • FIG. 36 is a diagram showing an example of a display screen displayed by
  • FIG. 40 is a flowchart showing an example of a rotor cleaning process executed in the chemical dispensing system.
  • FIG. 41 is a diagram showing an example of a label output by the chemical dispensing system.
  • FIG. 42 is a flowchart showing an example of a tablet dispensing process executed by the drug dispensing system.
  • FIG. 43 is a flowchart showing an example of a filling process executed by the chemical dispensing system.
  • FIG. 44 is a flowchart showing an example of a simulation process executed by the drug dispensing system.
  • FIG. 45 is a diagram showing an example of a display screen in a simulation process executed by a drug dispensing system.
  • FIG. 46 is a diagram showing an example of a display screen in a simulation process executed by a drug dispensing system.
  • FIG. 47 is a diagram showing an example of a display screen in a simulation process executed by the drug dispensing system.
  • FIG. 48 is a diagram showing an example of a display screen in the simulation process executed by the drug dispensing system.
  • FIG. 49 is a diagram showing an example of a display screen in the simulation process executed by the drug dispensing system.
  • FIG. 50 is a diagram showing an example of a display screen in a simulation process executed by a drug dispensing system.
  • FIG. 1 shows a tablet dispensing device 1 capable of dispensing a type and number of tablets according to a prescription.
  • the tablet dispensing device 1 is provided with a large number of tablet cassettes 2 detachably attached to each base 3.
  • the adjusting device 100 according to the present invention is installed on the table 4 provided next to the tablet dispensing device 1. First, the structure of the tablet cassette 2 will be described, and then the adjusting device 100 will be described.
  • the "tablet" in the present invention includes not only tablets in a narrow sense but also drugs such as capsule tablets and sugar-coated tablets that can be dispensed in the tablet cassette 2.
  • FIG. 2 shows a tablet cassette 2 and a base 3 mounted on the tablet dispensing device 1.
  • the tablet cassette 2 includes a cassette main body 5, a lid 6 that opens and closes and detachably covers the upper opening of the cassette main body 5, a skirt portion 7 provided at the lower part of the cassette main body 5, and a cassette main body as shown in FIG. Includes the rotor 8 housed in 5.
  • pockets 6a and 7a for storing labels or cards that can identify tablets stored in the tablet cassette 2 are formed on the upper surface of the lid 6 and the front surface of the skirt portion 7.
  • a slide portion 7b that slides into the mounting guide 3a of the base 3 shown in FIG. 2 and an elastic engaging piece that engages with the locking portion 3b of the mounting guide 3a. 7c is provided on the inner surface of the skirt portion 7.
  • the cassette body 5 includes a rectangular upper portion 5a that opens upward, an inverted conical inclined portion 5b, a cylindrical tubular portion 5c, and a bottom portion 5d.
  • the rotor 8 is accommodated in the internal space from the bottom portion 5d to the inclined portion 5b, and a large number of tablets T can be accommodated above the rotor 8.
  • a tablet discharge hole 9 is formed from the lower portion of the inclined portion 5b to the bottom portion 5d.
  • the tablet discharge hole 9 communicates with the tablet discharge path 3c formed in the base 3 shown in FIG.
  • a partition member 20 and a partition adjusting mechanism M1 described later for adjusting the position of the partition member 20 are attached to the outside of the cassette body 5.
  • the tip of the partition member 20 is inserted from the outside of the inclined portion 5b into the inside through the slit 9a shown in FIG. 6 formed above the tablet discharge hole 9.
  • a rotor shaft hole 11 in which the rotor drive unit 10 shown in FIG. 6 is housed is formed in the center of the bottom portion 5d.
  • the rotor drive unit 10 includes a drive shaft 12 penetrating the rotor shaft hole 11 and an engagement shaft 13 that engages with the upper end of the drive shaft 12 and rotates integrally with the drive shaft 12.
  • a drive gear 14 that engages with the lower end of the drive shaft 12 and rotates integrally with the drive shaft 12, and a central shaft 15 that penetrates the engagement shaft 13, the drive shaft 12, and the drive gear 14 and integrates them.
  • the engaging shaft 13 includes a circular base portion 13a that abuts on the upper end surface of the drive shaft 12, an engaging piece 13b that protrudes downward from the outer peripheral edge of the base portion 13a and is located at a peripheral 6 equal distribution position, and an adjacent engaging piece.
  • the connecting portion 13c that connects the lower ends of 13b.
  • the inner surfaces of the engaging piece 13b and the connecting portion 13c are slidably provided on the outer peripheral surface of the annular protrusion 11a provided on the edge of the rotor shaft hole 11 via the ring 16.
  • the engaging piece 13b engages with the slit 44a between the engaging pieces 44 of the engaging recess 41a of the rotor 8 shown in FIG. 10, and exerts the rotational force of the rotor drive unit 10 on the rotor 8. Communicate to.
  • the rotor 8 has various sizes, but in order to prevent the rotor 8 from being incorrectly mounted on the rotor drive unit 10, the engaging piece 13b and the engaging piece 13b are provided for each size of the rotor 8.
  • the number of slits 44a may be 6, 5, or 4.
  • a collar 15a and a hole 15b are formed at the upper end of the central shaft 15.
  • An annular magnet 15c is inserted into the hole 15b of the central shaft in a stacked state, and is fixed by a screw 15d.
  • the magnet 15c may be a single columnar magnet.
  • the lower end of the central shaft 15 penetrates the gear cover 17 attached to the bottom portion 5d of the cassette body 5 shown in FIG. 4 and is prevented from coming off by the C-shaped retaining ring 15e.
  • the drive gear 14 is driven by engaging with the motor gear 3d of the base 3 shown in FIG. 2 via the intermediate gear 18 shown in FIG.
  • the motor gear 3d is connected to a motor that is driven when the tablet is dispensed from the tablet cassette 2 mounted on the base 3, and the driving force of the motor is transmitted from the motor gear 3d to the drive gear 14, so that the tablet Tablets are dispensed from cassette 2.
  • the drive gear 14 is locked with a locking claw 19a at one end of a locking lever 19 provided on the bottom surface of the cassette body 5.
  • the operating portion 19b at the other end of the locking lever 19 extends in the mounting direction of the tablet cassette 2.
  • the tablet cassette 2 is attached to the base 3, the operating portion 19b of the locking lever 19 comes into contact with the predetermined contact portion 3e of the base 3 shown in FIG. 2, and the locking lever 19 resists the urging force of the spring 19c.
  • the locking claw 19a is separated from the drive gear 14, and the drive gear 14 can be rotationally driven.
  • the operating portion 19b of the locking lever 19 is separated from the contact portion 3e of the base 3, the locking lever 19 is rotated by the urging force of the spring 19c, and the locking claw 19a is used. Is locked to the drive gear 14 to prevent the drive gear 14 from rotating. As a result, it is possible to prevent the tablet T from falling due to the unexpected rotation of the rotor 8 of the pulled out tablet cassette 2.
  • Partition adjustment mechanism> As shown in FIG. 8A, the partition member 20 is formed in a comb shape that is curved upward. The partition member 20 can be moved back and forth with respect to the rotor 8 by the partition adjusting mechanism M1.
  • the partition adjusting mechanism M1 includes a first fixing member 21, a second fixing member 22, a movable member 23, and a partition adjusting member 24.
  • an upper case portion 21a in which the slide portion 23c of the movable member 23 and the stopper 28 are housed is formed.
  • Mounting holes 21b are formed on both sides of the upper case portion 21a of the first fixing member 21.
  • a pair of elastic pieces 21c that press and stabilize the movable member 23 are formed on the lower surface of the first fixing member 21.
  • a protrusion 21d that engages with the groove 23d of the movable member 23 is formed.
  • a lower case portion 22a in which the slide portion 23c of the movable member 23 and the stopper 28 are housed is formed in the center of the second fixing member 22.
  • Inverted U-shaped notches 22b are formed on the lower edges on both sides of the lower case portion 22a of the second fixing member 22.
  • a semicircular notch 27 is formed on the lower edge of the upper case portion 21a and the upper edge of the lower case portion 22a of the movable member accommodating portion 25 to support both ends of the partition adjusting member 24 in the axial direction so as not to be movable in the axial direction. Has been done.
  • the movable member 23 is formed with a holding portion 23a for holding the partition member 20 at the lower end and a slide portion 23c having a screw hole 23b at the upper end. Grooves 23d are formed at both ends of the upper surface of the movable member 23.
  • the partition adjusting member 24 has a screw portion 24a and an engagement gear 24b that are screwed into the screw hole 23b of the slide portion 23c of the movable member 23.
  • a stopper 28 is locked to the engaging gear 24b so that it can be fixed at a required position.
  • the slide portion 23c of the movable member 23 is housed in the lower case portion 22a of the second fixing member 22 from below, and the partition adjusting member 24 is screwed into the slide portion 23c to penetrate. After that, both ends of the partition adjusting member 24 are placed in the notches 27 of the lower case portion 22. Further, the stopper 28 is housed in the lower case portion 22a of the second fixing member 22.
  • the partition member 20 held by the movable member 23 can move forward or backward toward the rotor 8 in the cassette body 5 to adjust the tip position 20a of the partition member 20. That is, as shown in FIG. 8B (a), when the tablet T is thick, the rotor body 31 of the rotor 8 is raised to raise the lower inclined outer surface 35c and the inclined portion 5b of the cassette body 5 as described in detail later.
  • the depth D of the groove of the tablet guide path 8b between the tablet guide path 8b and the tablet guide path 8b is increased, and the tip of the partition member 20 is also advanced toward the rotor 8 accordingly.
  • FIG. 8B (b) when the tablet T is thin, the rotor body 31 of the rotor 8 is lowered to provide the tablet guide path 8b between the lower inclined outer surface 35c and the inclined portion 5b of the cassette body 5.
  • the depth D of the groove is reduced, and the tip of the partition member 20 is also retracted from the rotor 8 accordingly.
  • the rotor 8 generally has a conical shape on the upper surface, an inverted conical shape on the side surface, and a flat bottom surface.
  • a tablet pocket 8a is provided on the upper side surface of the rotor 8 in the circumferential direction, and a plurality of tablet guide paths 8b extending downward from the tablet pocket 8a are provided at equal intervals in the circumferential direction.
  • the tablet pocket 8a is formed of an outer peripheral surface of the rotor body 31 described later, a first horizontal projecting piece 73 of the first movable member 60 and a second horizontal projecting piece 82 of the second movable member 61 described later, and is formed by the cassette body 5
  • the tablets T contained in the cassette body 5 are received and aligned in the circumferential direction, surrounded by the inclined portion 5b of the above.
  • the tablet guide path 8b includes a lower inclined outer surface 35c of the rotor body 31 described later, a first vertical projecting piece 72 of the first movable member 60 described later, and a second vertical projecting piece 81 of the second movable member 61 described later. It is formed in a groove shape by the tablet support 55 of the annular elevating member 51 described later. Then, the tablet guide path 8b is covered with the inclined portion 5b of the cassette body 5, receives the tablets T aligned in the tablet pocket 8a, and guides them downward.
  • the tablet guide path 8b adjusts the depth, height, and width of the groove according to the shape or size of the tablet contained in the tablet cassette, and the tablet smoothly passes through the tablet guide path 8b, as shown in FIG. It is necessary to be discharged from the tablet discharge hole 9 shown. That is, the tablet cassette 2 can dispense tablets of any tablet type by adjusting the tablet guide path 8b of the rotor 8 provided in the tablet cassette 2.
  • the "depth" of the groove of the tablet guide path 8b is a dimension in the thickness direction of the tablet passing through the tablet guide path 8b, and is a dimension of the inclined portion 5b of the cassette body 5 and the downward protrusion 35 of the rotor body 31. It is a dimension D between the lower inclined outer surface 35c.
  • the "height" of the groove is a dimension in the height direction of the tablet passing through the tablet guide path 8b, and is a dimension H between the partition member 20 and the tablet support 55 of the annular elevating member 51 of the rotor 8.
  • the "width” of the groove is a dimension in the width direction of the tablet passing through the tablet guide path 8b, and is a dimension of the first vertical projecting piece 72 of the first movable member 60 and the second vertical projecting piece 81 of the second movable member 61. The dimension W between them.
  • the rotor 8 has a depth adjusting mechanism M2, a height adjusting mechanism M3, and a width adjusting mechanism M4 in order to adjust the groove shape of the tablet guide path 8b. Hereinafter, these will be described in order.
  • FIG. 11 shows a member constituting the depth adjusting mechanism M2.
  • the depth adjusting mechanism M2 includes a rotor cover 30, a rotor main body 31, a rotor base 32, and a depth adjusting member 33.
  • the rotor cover 30 has an umbrella shape as a whole.
  • the upper surface of the rotor cover 30 is formed in a cylindrical shape.
  • the rotor main body 31 has a circular base portion 34, a downward protrusion 35, an annular portion 36, and a guide portion 37.
  • a shaft portion 38 is provided in the center of the base portion 34, and a screw hole (not shown) is formed in the shaft portion 38.
  • Two holes 34a and 34b are formed on the upper surface of the base portion 34 to expose the height adjusting member 52 and the width adjusting member 64, which will be described later.
  • the downward protrusion 35 extends downward from the 6-equal arrangement position on the outer peripheral edge of the base 34.
  • the downward protrusion 35 includes a vertical inner surface 35a, an upper inclined outer surface 35b that inclines downward from the outer peripheral edge of the base 34, and a lower inclined outer surface 35c that inclines downward from the lower end of the upper inclined outer surface 35b. And 35d on both sides, and are formed in a triangular shape when viewed from the side surface.
  • the lower inclined outer surface 35c forms the bottom surface of the groove of the tablet guide path 8b.
  • a slit 35e is formed at the lower end of the downward protrusion 35.
  • the annular portion 36 is concentrically formed on the outside of the base portion 34 and is connected to the base portion 34 via a downward protrusion 35.
  • the guide portion 37 extends downward from the 6-equal arrangement position on the outer peripheral edge of the base portion 34 between the downward protrusions 35.
  • Guide edges 37a are formed on both sides of the inner surface of the guide portion 37 so that the guide pieces 40 of the rotor base 32, which will be described later, are slidably engaged with each other.
  • the rotor body 31 and the rotor base 32 rotate integrally.
  • a protrusion 37b serving as a detection portion for detecting the zero point is formed.
  • the rotor base 32 has an annular base portion 39, a guide piece 40, and an engaging portion 41.
  • An annular wall 42 is formed on the upper surface of the base 39.
  • a vertical slit 42a extending in the axial direction is formed on the annular wall 42 at a position where the circumference 6 is evenly distributed.
  • the guide piece 40 is positioned at an equal distribution around the outer peripheral edge of the base 39, and protrudes upward between the adjacent vertical slits 42a.
  • the guide piece 40 is formed so as to slidably engage with the guide edge 37a of the guide portion 37 of the rotor main body 31.
  • a reinforcing rib 43 is provided between the guide piece 40 and the annular wall 42.
  • the engaging portion 41 has an engaging piece 44 that rises upward from a peripheral 6 equal arrangement position on the inner peripheral edge of the base 39, and a circular protrusion 45 provided at the upper end of the engaging piece 44.
  • the engaging portion 41 forms an engaging recess 41a with which the rotor driving portion 10 engages, as shown in FIG.
  • the engaging piece 13b of the rotor drive unit 10 is engaged with the slit 44a between the adjacent engaging pieces 44.
  • a magnetic plate 46 that attracts to a magnet 15c provided on the central shaft 15 of the rotor drive unit 10 is embedded.
  • a depth adjusting member 33 is supported at the center of the upper surface of the circular protrusion 45.
  • the circular protrusion 45 has a hole 45a for accommodating a stopper 48 for preventing the depth adjusting member 33 from freely rotating, and a screw (not shown) inserted into two screw insertion holes 93 of the second support member 63 described later. Two screw holes 45b to be screwed are formed.
  • the depth adjusting member 33 has a male screw portion 33a and a gear portion 33b at the lower end.
  • the male screw portion 33a is screwed into a screw hole (not shown) of the shaft portion 38 of the rotor main body 31, and the gear portion 33b at the lower end is supported by the circular protrusion 45 of the rotor base 32.
  • An engaging portion 33c is formed at the upper end of the male screw portion 33a, which protrudes from the shaft portion 38 of the rotor main body 31 and is exposed so that the rotation can be adjusted from the outside.
  • the tip of a stopper 48 made of an elastic piece is locked between the teeth of the gear portion 33b.
  • the gear portion 33b is restrained from moving in the axial direction by the first support member 62 and the rotor base 32, and the guide edge 37a of the rotor body 31 engages with the guide piece 40 of the rotor base 32.
  • the rotor body 31 is restricted from rotating with respect to the rotor base 32. In this way, when the depth adjusting member 33 is rotated while the rotor base 32 is not rotating, the rotor body 31 having a screw hole (not shown) screwed with the male screw portion 33a of the depth adjusting member 33 rotates the rotor 8. Ascends or descends in the axial direction. Along with this, the lower inclined outer surface 35c of the downward protrusion 35 of the rotor body 31 forming the bottom surface of the tablet guide path 8b also rises or falls.
  • the lower inclined outer surface 35c of the downward protrusion 35 is inclined from the outer side to the inner side in the radial direction from the top to the bottom, and is parallel to the inverted conical inclined portion 5b of the cassette body 5. It has become. Therefore, when the lower inclined outer surface 35c of the downward protrusion 35 of the rotor main body 31 is lowered, the distance between the lower inclined outer surface 35c of the downward protrusion 35 and the conical inclined portion 5b of the cassette body 5 is reduced, and the tablet The depth of the guide path 8b can be made shallow (D1).
  • the depth of the tablet guide path 8b can be increased (D2).
  • D2 The depth of the tablet guide path 8b can be adjusted according to the thickness of the tablet T passing through the tablet guide path 8b.
  • the gear portion 33b of the depth adjusting member 33 shown in FIG. 11 rotates, the tip of the stopper 48 gets over the teeth of the gear portion 33b and engages between the teeth, so that the depth adjusting member 33 is suitable.
  • the rotor body 31 can be fixed at a desired height position by stopping at a position.
  • FIG. 12 shows a member constituting the height adjusting mechanism M3.
  • the height adjusting mechanism M3 includes a tubular rotating member 50, an annular elevating member 51, and a height adjusting member 52.
  • a male screw portion 50a is formed in the lower part of the outer circumference, and a driven gear 50b is formed in the upper part of the inner circumference.
  • a stopper 53 that prevents the tubular rotating member 50 from freely rotating is engaged with the driven gear 50b.
  • arms 54 are radially projected at 6 equal distribution positions on the outer circumference, and a tablet support 55 is formed at the tip of each arm 54.
  • the tablet support base 55 is inclined so as to be orthogonal to the tablet guide path 8b so that the lowest tablet T in the tablet guide path 8b can be supported.
  • a female screw portion 51a screwed with the male screw portion 50a of the tubular rotating member 50 is formed on the inner surface of the annular elevating member 51.
  • the height adjusting member 52 has a drive gear 52a at the lower end that meshes with the driven gear 50b of the tubular rotating member 50.
  • An engaging portion 52b is formed at the upper end of the height adjusting member 52, and the height adjusting member 52 protrudes from the hole 34a on the upper surface of the base portion 34 of the rotor main body 31 to be exposed so that the rotation can be adjusted from the outside.
  • the height adjusting member 52 is held immovably in the vertical direction at the edge of the hole 90 of the second support member 63, which will be described later.
  • the tubular rotating member 50 and the annular elevating member 51 are housed in the annular recess 47 of the rotor base 32 in a state of being screwed together, and the arm 54 of the annular elevating member 51 slides into the vertical slit 42a of the annular wall 42 of the rotor base 32.
  • the tablet support 55 projects outward from the annular wall 42 of the rotor base 32 to support the lowest tablet T in the tablet guide 8b.
  • the height adjusting member 52 of the height adjusting mechanism M3 is rotated to the left or right.
  • the partition member 20 since the partition member 20 is fixed to the cassette body 5 in the height direction, the partition member 20 itself is not moved to adjust the height H of the tablet guide path 8b, but the partition member 20 is not moved.
  • the height H of the partition member 20 from the tablet support 55 of the tablet guide path 8b is adjusted by raising and lowering the tablet support 55 below the member 20 and adjusting the distance between the partition member 20 and the tablet support 55. To adjust.
  • the tubular rotating member 50 rotates.
  • the tubular rotating member 50 is restrained from moving up and down by the second support member 63 and the rotor base 32.
  • the annular elevating member 51 having the female threaded portion 51a screwed into the male threaded portion 50a of the tubular rotating member 50 is restricted in rotation by the arm 54 penetrating the vertical slit 42a of the annular wall 42 of the rotor base 32. Therefore, the rotation of the tubular rotating member 50 causes the annular elevating member 51 to move up and down, and the tablet support base 55 of the annular elevating member 51 to move up and down.
  • FIG. 13 shows a member constituting the width adjusting mechanism M4.
  • the width adjusting mechanism M4 includes a first movable member 60, a second movable member 61, a first support member 62, a second support member 63, and a width adjusting member 64.
  • the first movable member 60 is composed of an upper member 60a and a lower member 60b, and the engaging protrusion 65 of the upper member 60a and the engaging protrusion 66 of the lower member 60b are engaged with each other. Can rotate integrally.
  • the upper member 60a of the first movable member 60 is formed with a substantially semicircular notch 68 and an elongated hole 69 adjacent to each other on the inner circumference of the annular base portion 67.
  • a protrusion 68a and B protrusion 68b facing the first movable member 60 in the circumferential direction are formed on the edge of the notch 68 facing the center of the notch 68 when the first movable member 60 is viewed from above. ing.
  • the A protrusion 68a and the B protrusion 68b are cam followers that are in sliding contact with the A cam 94a and the B cam 94b of the first adjustment shaft 94, which will be described later.
  • the lower member 60b of the first movable member 60 has an annular base portion 70, six wall portions 71, a first vertical projecting piece 72, and a first horizontal projecting piece 73.
  • the six wall portions 71 project downward from the peripheral 6 equal distribution positions on the outer peripheral edge of the base 70.
  • the first vertical projecting piece 72 projects outward from the left end when viewed from the front of the wall portion 71, and forms the right surface of the tablet guide path 8b described above.
  • the first vertical projecting piece 72 is formed with a notch 72a into which the partition member 20 is fitted.
  • the first horizontal projecting piece 73 extends from the upper end of the first vertical projecting piece 72 horizontally in the circumferential direction toward the right side when viewed from the front, and forms the bottom surface of the tablet pocket 8a described above.
  • the second movable member 61 is composed of the upper member 61a and the lower member 61b like the first movable member 60, but the engaging protrusion 74 of the upper member 61a and the engaging recess 75 of the lower member 61b are engaged with each other. Both can rotate integrally.
  • the upper member 61a of the second movable member 61 is formed with a substantially semicircular notch 77 and an elongated hole 78 adjacent to each other on the inner circumference of the annular base portion 76.
  • a protrusion 77a and B protrusion 77b facing each other in the circumferential direction of the second movable member 61 are formed on the edge of the notch 77 facing the second movable member 61 when viewed from above.
  • the A protrusion 77a and the B protrusion 77b are cam followers that are in sliding contact with the A cam 95a and the B cam 95b of the second adjustment shaft, which will be described later.
  • the lower member 61b of the second movable member 61 has an annular base portion 79, six wall portions 80, a second vertical projecting piece 81, and a second horizontal projecting piece 82.
  • the six wall portions 80 project downward from the peripheral 6 equal distribution positions on the outer peripheral edge of the base portion 79.
  • the second vertical projecting piece 81 projects outward from the right end when viewed from the front of the wall portion 80, and forms the left side surface of the tablet guide path 8b described above.
  • the second vertical projecting piece 81 is formed with a notch 81a into which the partition member 20 is fitted.
  • the second horizontal projecting piece 82 extends from the upper end of the second vertical projecting piece 81 horizontally in the circumferential direction toward the left side when viewed from the front, and together with the first horizontal projecting piece 73 of the first movable member 60, the tablet described above. It forms the bottom surface of the pocket 8a.
  • the tip of the second horizontal projecting piece 82 of the second movable member 61 is formed so as to overlap under the tip of the first horizontal projecting piece 73 of the first movable member 60.
  • the first support member 62 has a circular shape having an outer diameter larger than the inner diameter of the upper member 60a of the first movable member 60, and has a circular protrusion 83 on the lower surface.
  • holes 84 and 84a through which the width adjusting member 64 described later penetrates, holes 85 through which the depth adjusting member 33 of the depth adjusting mechanism M2 penetrates, and the height of the height adjusting mechanism M3.
  • a hole 86 through which the height adjusting member 52 passes and two screw insertion holes 87 are formed.
  • the second support member 63 has a circular shape having an outer diameter larger than the inner diameter of the upper member 60a of the first movable member 60, and the annular protrusion 83 into which the circular protrusion 83 of the first support member 62 fits on the upper surface. 88 is formed.
  • a hole 89 through which the depth adjusting member 33 of the depth adjusting mechanism M2 penetrates, a hole 90 through which the height adjusting member 52 of the height adjusting mechanism M3 penetrates, and a notch 90a.
  • Two screw holes 92 into which screws are screwed and two screw insertion holes 93 are formed.
  • the first support member 62 and the second support member 63 are made of the first movable member 60,
  • the second movable member 61 is integrated while being sandwiched.
  • a screw (not shown) into the screw hole 45b of the rotor base 32 from the screw insertion hole 93 of the second support member 63 and tightening the screw, the second support member 63 is fixed to the rotor base 32 and the second support is supported.
  • the tubular rotating member 50 of the height adjusting mechanism M3 is held between the member 63 and the rotor base 32, and the movement in the axial direction is restricted.
  • the width adjusting member 64 includes a first adjusting shaft 94 and a second adjusting shaft 95.
  • the first adjusting shaft 94 is arranged in the notch 68.
  • the second adjusting shaft 95 is arranged in the elongated hole 69.
  • the second adjusting shaft 95 is provided with a stopper 96 that prevents the width adjusting member 64 from freely rotating.
  • a cam 94a, B cam 94b, and gear 94c are formed on the first adjustment shaft 94 in this order from the upper end.
  • the A cam 94a is formed so that the radius of the cam surface increases in a range of 360 ° clockwise when the width adjusting member 64 is viewed from above, and the A protrusion 68a of the first movable member 60 is formed. It is designed to be in contact with.
  • the B cam 94b is formed so that the radius of the cam surface increases in a range of 360 ° counterclockwise when the width adjusting member 64 is viewed from above, and is in sliding contact with the B protrusion 68b of the first movable member 60. It has become.
  • the maximum radius portion of the A cam 94a and the maximum radius portion of the B cam 94b are located 180 ° apart.
  • the upper end of the first adjusting shaft 94 is supported by the hole 84a of the first support member 62, and the lower end is supported by the hole 91a of the second support member 63.
  • the second adjusting shaft 95 is formed with the A cam 95a, the B cam 95b, the gear 95c, and the engaging portion 95d in this order from the lower end.
  • the A cam 95a is formed so that the radius of the cam surface increases in a range of 360 ° clockwise when the width adjusting member 64 is viewed from below, and comes into sliding contact with the A protrusion 77a of the second movable member 61.
  • the B cam 95b is formed so that the radius of the cam surface increases in a range of 360 ° counterclockwise when the width adjusting member 64 is viewed from below, and is in sliding contact with the B protrusion 77b of the second movable member 61. It has become.
  • the maximum radius portion of the A cam 95a and the maximum radius portion of the B cam 95b are located 180 ° apart.
  • the gear 95c of the second adjusting shaft 95 is configured to mesh with the gear 94c.
  • the upper end of the second adjusting shaft 95 penetrates the elongated hole 69 of the first support member 62, protrudes from the rotor main body 31, and is exposed from the hole 34a, so that the rotation can be adjusted from the outside.
  • the lower end of the second adjusting shaft 95 is supported by the hole 91b of the second support member 63.
  • the upper end of the first adjusting shaft 94 may penetrate the first support member 62 and protrude from the rotor main body 31 to be exposed so that the rotation can be adjusted from the outside.
  • the B cam 95b of the second adjusting shaft 95 slides against the B protrusion 77b of the second movable member 61 and presses the second adjusting shaft 95.
  • the movable member 61 rotates counterclockwise in FIG. 16 (b) and clockwise in FIG. 16 (a).
  • the first movable member 60 and the second movable member 61 rotate in opposite directions, and the distance between the first vertical projecting piece 72 of the first movable member 60 and the second vertical projecting piece 81 of the second movable member 61 That is, the width of the tablet guide path 8b can be increased or decreased.
  • a tablet pocket 8a extending in the circumferential direction on the upper side surface of the rotor 8 and a plurality of tablet guide paths extending downward from the upper side surface of the rotor 8 are provided. It has 8b.
  • the tablet T contained in the cassette body 5 enters the tablet pocket 8a while being stirred by the rotation of the rotor 8, enters the tablet guide path 8b from the tablet pocket 8a, and the tablet guide path 8b is a tablet.
  • the partition member 20 fixed to the cassette body 5 enters between the lowermost tablet T of the tablet guide path 8b and the tablet T above it.
  • the tablet T above the partition member 20 is prevented from falling downward by the partition member 20.
  • the lowest tablet T below the partition member 20 is on the tablet support 55, but since the tablet support 55 is inclined, it falls down toward the tablet discharge hole 9 on the tablet support 55 and discharges the tablet. It is discharged from the hole 9.
  • the tablet T discharged from the tablet discharge hole 9 is discharged through the tablet discharge path 3c of the base 2 shown in FIG. As a result, one tablet T is discharged each time the tablet guide path 8b turns to the tablet discharge hole 9.
  • the rotation angle of the rotor 8 By adjusting the rotation angle of the rotor 8, the number of tablets T according to the prescription can be dispensed.
  • the tablet guide path 8b uses the above-mentioned partition adjusting mechanism M1, depth adjusting mechanism M2, height adjusting mechanism M3, and width adjusting mechanism M4 to determine the entry position of the partition member 20 with respect to the thickness of the tablet T and the thickness of the tablet T.
  • the depth D corresponding to the tablet, the height H corresponding to the height of the tablet, and the width W corresponding to the width of the tablet T can be adjusted. Therefore, the tablet guide path 8b having an appropriate size can be obtained according to the shape or size of the tablet T housed in the cassette body 5.
  • the entire tablet cassette 2 or the rotor 8 is not replaced, and the same tablet cassette 2 or the rotor 8 is used to adjust the tablet guide path 8b to match the various tablets T, thereby discharging the tablet T. be able to.
  • Such adjustment can be automatically performed by the adjustment device described below.
  • FIG. 17 shows the tablet cassette adjusting device 100 according to the present invention.
  • the adjusting device 100 engages the adjusting members 33, 52, and 64 of the adjusting mechanisms M2, M3, and M4 for adjusting the depth, height, and width of the groove of the tablet guide path 8b of the tablet cassette 2 described above.
  • the adjustment mechanism is operated by engaging with the portions 33c, 52b, 95d, and the size of the tablet guide path 8b is adjusted according to the shape or size of the tablet T housed in the cassette body 5.
  • the adjusting device 100 engages with the engaging gear 24b of the partition adjusting member 24 of the partition adjusting mechanism M1 for adjusting the approach position of the partition member 20 to operate the partition adjusting mechanism M1 and enters the cassette body 5.
  • the entry position of the partition member 20 is adjusted according to the shape or size of the tablet T to be accommodated and the depth of the groove of the tablet guide path 8b.
  • the adjusting device 100 includes an apparatus main body 101, a cassette mounting unit 102, a rotor mounting unit 103, an elevating table 104 shown in FIG. 18, and an elevating operation unit 105.
  • the device main body 101 is provided behind the lower frame 106 shown in FIG. 18, the side frames 107 rising from both ends of the lower frame 106, the upper frame 108 provided at the upper end of the side frame 107, and the upper frame 108. It has a rear frame 109.
  • the cassette mounting unit 102 has a cassette mounting base 110 provided on the upper frame 108.
  • the cassette mounting base 110 has a mounting guide 110a and a locking portion 110b so that the tablet cassette 2 can be mounted, similarly to the base 3 of the tablet dispensing device 1.
  • a partition adjusting shaft 111 is provided on the rear frame 109 behind the cassette mounting base 110 as shown in FIGS. 19 and 20.
  • the partition adjusting shaft 111 has a drive gear 112 that engages with the engaging gear 24b of the partition adjusting member 24 of the tablet cassette 2 when the tablet cassette 2 is mounted.
  • the partition adjusting shaft 111 is driven by the partition adjusting motor 113.
  • a detection lever 116 of the partition zero point detection sensor 115 with which the movable member 23 of the partition adjusting mechanism M1 of the tablet cassette 2 abuts protrudes from the inclined frame 114 in front of the rear frame 109.
  • the detection lever 116 is L-shaped and is rotatably provided around the support shaft 117, and has a detection unit 116a detected by the partition zero point detection sensor 115.
  • the rotor mounting portion 103 has a sensor mounting base 118 provided on the lower frame 106 shown in FIG.
  • a rotor mounting protrusion 119 is provided on the upper surface of the sensor mounting base 118.
  • the rotor mounting protrusion 119 has an engaging shaft 120 having the same shape as the engaging shaft 13 of the rotor driving unit 10 of the cassette body 5, so that the rotor 8 can be mounted.
  • a depth zero point detection sensor 121, a height zero point detection sensor 122, and a width zero point detection sensor 123 are provided on the side surface of the sensor mounting base 118, respectively.
  • the protrusions 37b of the guide portion 37 of the rotor 8 mounted on the rotor mounting portion 103, the lower surface of the tablet support base 55, and the first vertical projecting piece 72 are opposed to each other and come into contact with each other.
  • the elevating table 104 can be elevated by engaging sliders 125 provided on vertical portions 124 at both ends with guide rails 126 provided on side frames 107 of the apparatus main body 101. ..
  • a depth adjusting shaft 127, a height adjusting shaft and 128, and a width adjusting shaft 129 extending in the vertical direction are rotatably provided on the front portion of the elevating table 104.
  • the depth adjusting shaft 127 includes an upper large diameter portion 130, a lower small diameter portion 131, and a step portion 132 between the large diameter portion 130 and the small diameter portion 131, and the large diameter portion
  • the pulley 133 is attached to the upper end of the 130
  • the engaging shaft 134 is attached to the lower end of the small diameter portion 131.
  • the engaging shaft 134 has an engaging portion 134a formed at the lower end thereof to engage with the engaging portion 33c of the depth adjusting member 33, and a hole 134b into which the lower end of the small diameter portion 131 is inserted at the upper end and a depth adjusting shaft.
  • a slit 134c into which the pin 135 provided at the lower part of 127 is fitted is formed.
  • a spring 136 is mounted between the stepped portion 132 of the depth adjusting shaft 127 and the upper end of the engaging shaft 134.
  • the height adjusting shaft 128 and the width adjusting shaft 129 have the same configuration as the depth adjusting shaft 127.
  • a depth drive shaft 137, a height drive shaft 138, and a width drive shaft 139 are provided at the rear of the elevating table 104.
  • Pulleys 140 are provided on the drive shafts 137, 138, and 139, and are connected to the depth adjusting shaft 127, the height adjusting shaft 128, the pulley 133 of the width adjusting shaft 129, and the belt 141.
  • Each drive shaft 137, 138, and 139 can be rotationally driven by a depth adjusting motor 142, a height adjusting motor 143, and a width adjusting motor 144.
  • the elevating operation unit 105 includes the lever 145, the handle 146, and the lever position detection sensor 147.
  • a pair of levers 145 are provided on the outside of the side frames 107 on both sides, one end is rotatably provided on a support shaft 148 provided between the side frames 107, and the other end is connected to each other by a connecting bar 149.
  • the lever 145 is formed with an elongated hole 151 into which the roller 150 provided in the vertical portion 124 of the elevating table 104 shown in FIG. 18 is fitted.
  • the lever 145 on the right side when viewed from the front is formed with an arc portion 152 centered on the support shaft 148, and a plurality of notches 152a and 152b are formed on the edge of the arc portion 152.
  • the handle 146 is slidably attached to the tip of the lever 145 on the right side when viewed from the front along the longitudinal direction of the lever 145. Further, the handle 146 is urged by the spring 153 toward the support shaft 148 of the lever 145. An engaging claw 154 is formed at the tip of the handle 146. When the handle 146 is pushed downward, the engaging claw 154 engages with the engaging portion 155a of the stopper member 155 attached to the side frame 107 and is held at a predetermined lower position.
  • the lever position detection sensor 147 is attached to the side frame 107, and detects the positions of the lever 145 by detecting the notches 152a and 152b of the arc portion 152 of the lever 145 as the lever 145 rotates. ing.
  • FIG. 24 is a system configuration diagram of the adjusting device 100.
  • the adjusting device 100 is connected to the control device 200, the display unit 201, and the storage unit 202.
  • the detection signals of the depth, height, and width zero point detection sensors 121, 122, 123 and the partition zero point detection sensor 115 are input to the control device 200. Further, the detection signal of the lever position detection sensor 147 is input to the control device 200. Further, each start signal of the first start button 203 provided on the cassette mounting portion 102 and the second start button 204 provided on the rotor mounting portion 103 is input to the control device 200.
  • the storage unit 202 contains a drug code and a drug name, which are drug identification information that can identify the tablet type, a tablet shape, dimensions such as tablet length, width, height, and thickness, and is suitable for the tablet.
  • the tablet mounting master D11 (see FIG. 32 (A)) in which at least the approach position of the partition member 20 to the tablet guide path 8b is associated with it is stored.
  • the tablet mounting master D11 stores information on tablets registered in advance as tablets that can be dispensed by the drug dispensing system 500.
  • the storage unit 202 stores, for example, a correction coefficient with respect to the standard dimension
  • the control device 200 stores the depth of the tablet guide path 8b suitable for the tablet based on the correction coefficient and the size of the tablet. Each dimension of height and width can be derived.
  • the depth, height, and width dimensions of the tablet guide path 8b suitable for the tablet may be stored in the tablet mounting master D11.
  • a numerical value (tablet thickness, etc.) related to the entry position for example, a correction coefficient for the standard entry position, etc. are stored in the tablet mounting master D11.
  • the tablet mounting master D11 includes a drug classification (classification code), a drug component (ingredient code), a JAN code, an RSS code, a drug bottle code, a dosage form, a unit, a specific gravity, a drug type, a compounding change, and an excipient. Precautions, size types, tablet appearance images, etc. are also registered in association with each other. Further, the tablet mounting master D11 may be edited by the control device 200 based on a user operation or the like.
  • the storage unit 202 in addition to the same information as the tablet type stored in the tablet mounting master D11 for a plurality of tablets, a standard amount, a host code, a general drug name, a JAN code, an RSS code, and a YJ code ( Information such as individual drug code), GS1 code, medicine bottle code, dosage form code (powder, tablet, liquid medicine, external medicine, etc.), form code, powerful / controlled drug type (psychotropic drug, drug), appearance image, etc.
  • the stored drug master is stored.
  • the control device 200 reflects the information stored in the drug master on the tablet mounting master D11 in response to a user operation, or causes the display unit 201 to display the information stored in the drug master. Is possible.
  • the control device 200 includes a tablet mounting master D11 stored in the storage unit 202, a depth zero point detection sensor 121, a height zero point detection sensor 122, a width zero point detection sensor 123, a partition zero point detection sensor 115, and a lever. Based on the detection signals from the position detection sensor 147, the first start button 203, and the second start button 204, the depth, height, and width adjustment motors 142, 143, 144 and the partition adjustment motor 113 are driven to drive the cassette. The size of the tablet guide path 8b and the entry position of the partition member 20 are adjusted according to the shape or size of the tablet T housed in the main body 5.
  • the tablet cassette 2 to be replaced with the tablet T is taken out from the tablet dispensing device 1. If tablet T remains in the tablet cassette 2, remove it. As shown in FIG. 26, the label 157 of the newly contained tablet T box 156 may be detached and inserted into the pocket 6a of the tablet cassette 2.
  • step 1 the tablet cassette 2 taken out from the tablet dispensing device 1 is mounted on the cassette mounting portion 102 of the adjusting device 100.
  • step 2 select the tablet to be newly contained in the tablet cassette 2 from the tablet list displayed on the display unit 201, and press the OK button on the display unit 201.
  • a bar code reader (not shown) may be used to read the tablet from the bar code on label 157 inserted into pocket 6a of the tablet cassette 2.
  • the partition adjusting motor 113 is driven in step 3, the partition member 20 is retracted, and the tip of the partition member 20 is at least the notch 72a of the first movable member 60 of the cassette body 5. And retract from the notch 81a of the second movable member 61. As a result, the rotor 8 can be taken out from the cassette body 5.
  • step 4 the rotor 8 is taken out from the cassette body 5 of the tablet cassette 2, the rotor cover 30 of the rotor 8 is removed, and the engaging portions of the depth adjusting member 33, the height adjusting member 52, and the width adjusting member 64 are exposed. Let me.
  • step 5 the rotor 8 taken out from the cassette main body 5 is mounted on the rotor mounting portion 103 of the adjusting device 100 as shown in FIG.
  • step 6 the handle 146 of the adjusting device 100 is grasped and the lever 145 is lowered.
  • the engaging portions 134a of the depth adjusting shaft 127, the height adjusting shaft 128, and the width adjusting shaft 129 are engaged with the depth adjusting member 33, the height adjusting member 52, and the width adjusting member 64 of the rotor 8.
  • the engaging portions of the depth adjusting shaft 127, the height adjusting shaft 128, and the width adjusting shaft 129 are formed of the depth adjusting member 33, the height adjusting member 52, and the width adjusting member 64 of the rotor 8 by the urging force of the spring 136. It is maintained in an engaged state with each engaging portion.
  • the lever 145 is held in the pushed-down state by engaging the handle 146 with the urging force of the spring 153 and engaging the engaging claw 154 with the engaging portion 155a of the stopper member 155. Further, since the pressed position of the lever 145 is detected by the lever position detection sensor 147, the control device 200 determines that the preparation for the tablet guide path adjustment is complete.
  • the depth, height, and width adjustment motors 142, 143, and 144 are driven in step 8, and the tablet guide path of the rotor 8 is driven according to the selected tablet.
  • the depth, height, and width of 8b are adjusted to the master values stored in the storage unit 202.
  • the inside of the cassette body 5 of the tablet cassette 2 mounted on the cassette mounting portion 102 can be cleaned.
  • each adjustment motor 142 for adjusting the depth zero point detection sensor 121, the height zero point detection sensor 122, and the width zero point detection sensor 123 detects the zero point. That is, as shown in FIG. 27, the depth adjusting mechanism M2 is operated by the rotation of the depth adjusting shaft 127, the guide portion 37 of the rotor main body 31 moves downward, and the protrusion 37b at the lower end of the guide portion 37 has a depth. Since the detection unit 121a of the zero point detection sensor 121 is pressed, the depth zero point is detected. Further, as shown in FIG.
  • the height adjustment mechanism M3 is activated by the rotation of the height adjustment shaft 128, the tablet support base 55 moves downward, and the lower surface of the tablet support base 55 is the height zero point detection sensor 122. Since the detection unit 122a of the above is pressed, the height zero point is detected. Further, as shown in FIG. 29, the width adjusting mechanism M4 is activated by the rotation of the width adjusting shaft 129, and the first vertical projecting piece 72 of the first movable member 60 and the second vertical projecting piece 81 of the second movable member 61 are operated. Move in directions away from each other, and the first vertical projecting piece 72 of the first movable member tilts the detection unit 123a of the width zero point detection sensor 123, so that the width zero point is detected.
  • the detection unit 123a of the width zero point detection sensor 123 may be provided on the side of the second vertical projecting piece 81.
  • the first vertical projectile 72 and the second vertical projectile 81 are moving away from each other, one of the two vertical projectiles tilts the detection unit 123a, and then the other unit 123a.
  • the first vertical projecting piece 72 and the second vertical projecting piece 81 are half the distance from the respective positions of the first vertical projecting piece 72 and the second vertical projecting piece 81 when the detection unit 123a that has fallen first falls down.
  • the state in which the first vertical projecting piece 72 and the second vertical projecting piece 81 are moved in a direction away from each other may be set as the width zero point.
  • the adjustment motors 142, 143, and 144 are operated in the other directions until the depth, height, and width of the tablet guide path 8b corresponding to the selected tablet reach the master values stored in the storage unit 202.
  • the rotor cover 30 is attached to the rotor 8 for which the depth, height, and width have been adjusted in step 9, and the rotor cover 30 is returned to the tablet cassette 2 of the cassette mounting portion 102.
  • step 10 When the second start button 204 is pressed in step 10, the partition adjustment motor 113 is driven in step 11, and the position of the partition member 20 with respect to the tablet guide path 8b of the rotor 8 becomes the master value according to the selected tablet. It will be adjusted.
  • the partition adjusting shaft 111 is rotated by the drive of the partition adjusting motor 113, the partition adjusting mechanism M1 is operated, the movable member 23 is moved rearward, and the movable member 23 is moved. Since the detection unit detection lever 116 of the partition zero point detection sensor 115 is pressed, the detection unit 116a moves and the partition zero point detection sensor 115 detects the partition zero point. Next, the partition motor 113 is operated in the other direction until the approach position of the partition member 20 to the tablet guide path 8b according to the selected tablet reaches each master value.
  • step 12 a new tablet is accommodated in the tablet cassette 2 for which the adjustment of the tablet guide path has been completed, and the new tablet is attached to the predetermined position of the tablet dispensing device 1.
  • FIG. 31 shows a modified example of the sensor mounting base 118 and the rotor mounting portion 103 of the adjusting device 100.
  • the sensor mounting base 118 is provided with a coil spring 118a in the center and a slide shaft 118b inside the coil spring 118a.
  • a magnet 118c is attached to the upper end of the slide shaft 118b.
  • a depth zero point detection sensor 121, a height zero point detection sensor 122, and a width zero point detection sensor 123 are provided around the coil spring 118a, respectively.
  • an opening 118d is formed at a position corresponding to three links 103e, which will be described later, at a position where the circumference is equal to three.
  • the rotor mounting portion 103 is supported by the sensor mounting base 118 via a coil spring 118a, and can move in the vertical direction along the slide shaft 118b of the sensor mounting base 118.
  • the rotor mounting portion 103 has a rotor mounting protrusion 119 into which the engaging recess 41a of the rotor 8 shown in FIG. 10 is fitted.
  • the rotor mounting protrusion 119 has engaging pieces 119S and 119L that engage with large and small engaging holes 41S and 41L (only 41L is shown in FIG. 10) formed in the engaging recess 41a of the rotor 8 shown in FIG. Is formed. Therefore, the rotor 8 can be mounted only at one position in the rotation direction. It is preferable that the rotor 8 is provided with a mark indicating the mounting direction so that the engaging holes 41S and 41L are securely engaged with the engaging pieces 119S and 119L.
  • the rotor mounting portion 103 has opening holes 103a, 103b, and 103c around the rotor mounting protrusion 119, which desire the depth zero point detection sensor 121, the height zero point detection sensor 122, and the width zero point detection sensor 123, respectively. It is formed. Further, the rotor mounting portion 103 is formed with a hole 103d in which the rotor receiving portion 103g of the three links 103e described later protrudes. Three links 103e are arranged on the back surface of the rotor mounting portion 103. The link 103e is rotatably provided by a support shaft 103f, and has a rotor receiving portion 103g at one end and a cam portion 103h at the other end.
  • the rotor receiving portion 103g protrudes upward from the hole 103d of the rotor mounting portion 103, and the end of the cam portion 103h is on the edge of the opening 118d of the sensor mounting base 118. It is in contact. In this state, even if an external force other than the rotor 8 acts on the rotor mounting portion 103, the rotor does not descend downward. Therefore, the detection units 121a, 122a, 123a of the sensors 121, 122, 123 are not exposed from the opening holes 103a, 103b, 103c, respectively, and the sensors 121, 122, 123 can be protected.
  • the depth, height, and width of the groove of the tablet guide can be adjusted, but one or two of the depth, height, and width of the groove can be adjusted. You may do so.
  • the adjustment shaft is manually raised and lowered by the lever, it may be raised and lowered automatically.
  • the tablet cassette 2 is placed in the adjusting device 100 with the lid 6 of the tablet cassette 2 opened and the rotor cover 30 removed, and the rotor 8 in the tablet cassette 2 is placed. At least one of the depth, height, and width of the tablet guide path 8b, or the entry position of the partition member 20 may be adjusted.
  • the tablet dispensing device 1 and the adjusting device 100 are communicably connected to the control device 200 via a network N such as a LAN, and the operations of the tablet dispensing device 1 and the adjusting device 100 are controlled by the control device 200.
  • the control device 200 is an information processing device such as a personal computer.
  • the adjusting device 100 is also provided with a control unit such as a CPU capable of executing various processes, and the control unit can communicate with the control device 200 or the like.
  • the component of the chemical dispensing system according to the present invention is provided in the control device 200, and the single unit of the control device 200 corresponds to the chemical dispensing system according to the present invention.
  • the tablet dispensing device 1 or the adjusting device 100 has the same function as the control device 200 described in the present embodiment, the tablet dispensing device 1 or the adjusting device 100 is used as the drug dispensing system according to the present invention. You may catch it.
  • the components of the drug dispensing system according to the present invention may be dispersedly provided in any two or more of the tablet dispensing device 1, the adjusting device 100, and the control device 200.
  • the control device 200 may be mounted on the tablet dispensing device 1 or the adjusting device 100.
  • the control target of the drug dispensing system is a drug dispensing device capable of dispensing multiple drug types contained in a plurality of drug cassettes for various dosage forms such as tablets, powders, or liquids. May be good.
  • the tablet dispensing device 1 includes a control unit 300, a reader / writer 301, a hand-spreading unit 302, and the like, and the adjusting device 100 includes a reader / writer 501.
  • An RFID tag 601 is provided on the cassette body 5 of the tablet cassette 2.
  • the RFID tag 601 is an example of a non-volatile storage unit capable of storing data.
  • a storage unit capable of reading and writing data by another storage method such as a contact type may be used.
  • the hand-spreading unit 302 is used to dispense tablets of a tablet type that are not contained in the tablet cassette 2, and is also generally referred to as a DTA (Detatable Tablet Adapter).
  • the hand-spreading unit 302 is also used for dispensing chemicals that are not suitable for dispensing from the tablet cassette 2, such as tablets such as half tablets or 1/4 tablets of less than one tablet.
  • the hand-spreading unit 302 includes a plurality of DTA cells provided in a matrix shape (lattice shape). Then, tablets of the tablet type included in the prescription data as prescription drugs but not payable from the tablet cassette 2 are put into each of the DTA cells in units of the time of administration.
  • the hand-spreading unit 302 opens the bottom surface of each of the DTA cells at a required timing based on the prescription data by a predetermined driving means such as a motor, whereby each of the DTA cells is opened. It is possible to pay out the tablets charged in. Similar to the hand-spraying unit 302, a hand-spreading unit capable of delivering chemicals in units of the DTA cell is disclosed in, for example, Japanese Patent Application Laid-Open No. 2006-110386.
  • the control unit 300 has control devices such as a CPU, ROM, RAM, and EEPROM (registered trademark).
  • the CPU is a processor that executes various arithmetic processes.
  • the ROM is a non-volatile storage unit in which information such as a control program for causing the CPU to execute various processes is stored in advance.
  • the RAM is a volatile storage unit, and the EEPROM is a non-volatile storage unit.
  • the RAM and the EEPROM are used as temporary storage memories (work areas) for various processes executed by the CPU.
  • control unit 300 includes a processing unit such as an abnormality determination unit 311.
  • control unit 300 functions as various processing units by executing various processing according to a chemical dispensing program stored in advance in the ROM or the like using the CPU.
  • a part or all of the processing unit may be an electronic circuit.
  • the abnormality determination unit 311 determines whether or not the drive current of the drive unit used for dispensing the tablet from the tablet cassette 2 is equal to or higher than a preset abnormal current value. That is, the abnormality determination unit 311 executes a process for detecting an abnormality in the drive unit.
  • the abnormal current value is set or changed by the abnormal processing unit 418 of the control unit 401, which will be described later.
  • the reader / writer 301 is provided in the tablet dispensing device 1 at a position where the RFID tag 601 of the tablet cassette 2 mounted on the base 3 can be accessed when the tablet cassette 2 is mounted on the base 3. Then, the reader / writer 301 can read the data from the RFID tag 601 provided in the tablet cassette 2 and can write the data to the RFID tag 601.
  • the reader / writer 501 is provided in the adjusting device 100 at a position where the RFID tag 601 of the tablet cassette 2 mounted on the cassette mounting portion 102 can be accessed when the tablet cassette 2 is mounted on the cassette mounting portion 102. ing. Then, the reader / writer 501 can read the data from the RFID tag 601 provided in the tablet cassette 2 and can write the data to the RFID tag 601.
  • the RFID tag 601 includes an updatable area 611 and a non-updatable area 612, as shown in FIG. 33.
  • the updatable area 611 is an area in which data can be read and written by a reader / writer such as the reader / writer 301 and 501.
  • the non-updatable area 612 is an area in which data can be read by a reader / writer such as reader / writers 301 and 501, but data cannot be written.
  • the updatable area 611 includes tablet type information D21 (FIG. 32 (FIG. 32)) including drug identification information such as a drug code or a drug name for identifying the tablet type assigned to the tablet cassette 2 provided with the RFID tag 601. B)) is stored.
  • the tablet type information D21 also includes information such as stability coefficient, placement restriction, size type, model number, and branch number.
  • the tablet type information D21 may store the tablet size (length, width, height, thickness).
  • the stability coefficient is a coefficient indicating the ease of bouncing and rolling depending on the shape and hardness of the tablet. For example, the time (maximum) until the tablet discharged from each tablet cassette 2 falls and stabilizes at the discharge port. Is used to calculate.
  • the arrangement restriction is information regarding the restriction of the mounting position when the tablet cassette 2 is mounted on the tablet dispensing device 1, and is, for example, "all stages possible", “half or less", “only the lower two rows” This is information for limiting the position where the tablet cassette 2 can be mounted by the height.
  • the size type is the size of the tablet cassette 2, and is determined according to the number of tablets that can be accommodated, such as L, LM, M, S, and SS.
  • the model number is an identification number of the tablet dispensing device 1 on which the tablet cassette 2 is mounted when there are a plurality of tablet dispensing devices 1.
  • the branch number is a number assigned to distinguish between a plurality of tablet cassettes 2 containing tablets of the same type.
  • the non-updatable area 612 includes cassette information D22 (FIG. 32) including information such as a cassette number indicating unique identification information for identifying the tablet cassette 2 provided with the RFID tag 601 and the cassette type of the tablet cassette 2. (See (B)) is stored in advance.
  • the cassette type is information for identifying a plurality of types of tablet cassettes 2 having different conforming conditions for the tablets that can be dispensed.
  • the conforming conditions include one or both of minimum and maximum values for sizes such as tablet width, height, and thickness.
  • the conforming conditions may include the shape of tablets such as capsule tablets or flat round tablets.
  • the B type having a (diameter) y2 mm or more and less than y3 mm and a tablet shape of a capsule tablet is included.
  • the cassette type of the tablet cassette 2 may be three or more, such as A type, B type, and C type, which have different compatibility conditions for the tablets that can be dispensed.
  • each of the tablet cassettes 2 may be configured to be compatible with all tablets, and in this case, the cassette information D22 may not include the cassette type information.
  • the control device 200 is an information processing device such as a computer including a control unit 401, an operation unit 402, a display unit 201, a storage unit 202, and the like.
  • the control unit 401 determines the size of the tablet guide path 8b of the tablet cassette 2 and the approach position of the partition member 20 based on the tablet type assigned to the tablet cassette 2 and the size and entry position of the tablet mounting master D11. It can be adjusted by the adjusting device 100.
  • the storage unit 202 contains a cassette number which is identification information of the tablet cassette 2 and a drug code which is drug identification information of the tablet assigned to the tablet cassette 2.
  • the allocation correspondence information D31 associated with the collated flag indicating whether or not the collation code described later has been collated is stored.
  • the control unit 401 controls the tablet dispensing device 1 with reference to the correspondence between the drug code and the cassette number in the allocation correspondence information D31, and sets the specific tablet shown in the prescription data into the tablet cassette corresponding to the tablet. It is possible to pay out from 2.
  • the allocation correspondence information D31 can store more information about the tablet cassette 2 than the number of tablet cassettes 2 that can be attached to the tablet dispensing device 1, and the tablet dispensing device 1 stores the information in the allocation correspondence information D31.
  • the tablet cassette 2 mounted on the tablet dispensing device 1 may be used to dispense tablets.
  • the storage unit 202 has a cassette of the tablet cassette 2 mounted on the tablet dispensing device 1 for each tablet dispensing device 1 connected to the drug dispensing system 500.
  • the base master D41 in which the number and the base number for identifying the base 3 of the tablet dispensing device 1 to which the tablet cassette 2 is mounted is associated is stored.
  • the control unit 401 updates the base master D41 according to the attachment / detachment result of the tablet cassette 2.
  • control unit 401 is mounted on the tablet cassette 2 mounted on each tablet dispensing device 1 and the tablet cassette 2 in the drug dispensing system 500 based on the base master D41 corresponding to each tablet dispensing device 1. It is possible to identify the base 3 that has been used.
  • the display unit 201 is a display means such as a liquid crystal display, an organic EL display, or a projector capable of displaying various information.
  • the operation unit 402 is an operation means such as a mouse, a keyboard, and a touch panel that can accept user operations.
  • the display unit 201 and the operation unit 402 may be touch panel displays capable of accepting user operations.
  • the control unit 401 has control devices such as a CPU, ROM, RAM, and EEPROM (registered trademark).
  • the CPU is a processor that executes various arithmetic processes.
  • the ROM is a non-volatile storage unit in which information such as a control program for causing the CPU to execute various processes is stored in advance.
  • the RAM is a volatile storage unit, and the EEPROM is a non-volatile storage unit.
  • the RAM and the EEPROM are used as temporary storage memories (work areas) for various processes executed by the CPU.
  • the control unit 401 includes an allocation processing unit 411, a determination processing unit 412, an output processing unit 413, a first display processing unit 414, a cleaning processing unit 415, a code output processing unit 416, a restriction processing unit 417, and an abnormality processing unit 418. It includes various processing units such as a notification processing unit 419, a conformity determination processing unit 420, and a second display processing unit 421. Specifically, the control unit 401 functions as the various processing units by executing various processing according to the drug dispensing program stored in advance in the ROM or the storage unit 202 by using the CPU. A part or all of the processing unit may be an electronic circuit.
  • the allocation processing unit 411 accepts the tablet type in the tablet cassette 2 which is an example of the first tablet cassette capable of paying out the tablets of any tablet type assigned in advance according to the user operation.
  • the tablet cassette 2 to be assigned by the tablet type by the allocation processing unit 411 may be referred to as a target tablet cassette 2A.
  • the allocation processing unit 411 displays a list of selection candidate tablet types on the display unit 201, and accepts the selection of the tablet type in response to a user operation on the operation unit 402.
  • the allocation processing unit 411 assigns the read tablet type to the allocation target. It may be accepted as a tablet type.
  • the allocation processing unit 411 can allocate the tablet type received according to the user operation to the tablet cassette 2. On the other hand, the allocation processing unit 411 puts the tablet cassette 2 in a state in which the tablet type is not assigned while the tablet cassette 2 is being adjusted by the adjusting device 100.
  • the determination processing unit 412 determines whether or not the tablet cassette 2 which is the second tablet cassette corresponding to the same tablet type as the tablet type received by the allocation processing unit 411 exists. That is, the determination processing unit 412 executes a process for confirming the presence or absence of duplicate allocation of tablet types.
  • the tablet cassette 2 to which the tablet type accepted by the allocation processing unit 411 has already been assigned may be referred to as an existing tablet cassette 2B.
  • the tablet cassette 2 is an example of the second tablet cassette will be described, but in addition to the tablet cassette 2, the tablet type fixed cassette in which the tablet type of the tablet that can be dispensed is predetermined is defined. Is also an example of the second tablet cassette when the tablet can be attached to the tablet dispensing device 1.
  • the output processing unit 413 outputs the determination result by the determination processing unit 412. Specifically, when the determination processing unit 412 determines that the existing tablet cassette 2B corresponding to the same tablet type as the tablet type received by the allocation processing unit 411 exists, the output processing unit 413 displays to that effect. Display on 201. For example, a message such as "There is already a tablet cassette corresponding to the same tablet type" is displayed. When the determination processing unit 412 determines that the existing tablet cassette 2B corresponding to the same tablet type as the tablet type received by the allocation processing unit 411 does not exist, the output processing unit 413 indicates that fact. It is not necessary to display it on 201.
  • the output method to the effect that the existing tablet cassette 2B exists may be blinking of the display screen, change of the display character color, buzzer sound, or the like. Further, when the existing tablet cassette 2B exists, the total number of the existing tablet cassettes 2B currently existing or the total count including the existing tablet cassette 2B currently existing and the target tablet cassette 2A is displayed as the determination result. May be good. At this time, after the determination processing unit 412 determines that the existing tablet cassette 2B corresponding to the same tablet type as the tablet type received by the allocation processing unit 411 exists, the allocation processing unit 411 sets the tablet type as the target tablet. When a user operation to assign to the cassette 2A is performed, the tablet type can be assigned to the target tablet cassette 2A.
  • the first display processing unit 414 can display the tablet type currently assigned to the target tablet cassette 2A mounted on the adjusting device 100 capable of adjusting the tablet guide path 8b on the display unit 201 or the like.
  • the cleaning processing unit 415 can shift the tablet guide path 8b to a preset cleanable state before the tablet guide path 8b of the target tablet cassette 2A is adjusted according to the tablet type by the adjusting device 100. Is. Specifically, it is conceivable that the cleaning processing unit 415 enables cleaning of the rotor 8 by widening the width of the tablet guide path 8b to the maximum size while adjusting the tablet guide path 8b of the target tablet cassette 2A.
  • the code output processing unit 416 can output a collation code indicating the tablet type after adjusting the target tablet cassette 2A according to the tablet type by the adjusting device 100.
  • the verification code also includes the cassette number of the target tablet cassette 2A.
  • the code output processing unit 416 outputs the collation code to a printer or label printing device (not shown) connected to the control device 200 and prints it as a printed matter such as a sticker.
  • the collation code is a one-dimensional code or a two-dimensional code that can be read by a bar code reader (not shown) that can be connected to the control device 200. Then, the printed matter output by the code output processing unit 416 is attached to the target tablet cassette 2A and used to identify the tablet type assigned to the target tablet cassette 2A.
  • the restriction processing unit 417 permits the tablet withdrawal from the target tablet cassette 2A on the condition that the collation based on the collation code is completed for the target tablet cassette 2A by the tablet dispensing device 1. That is, the restriction processing unit 417 restricts (prohibits) the withdrawal of tablets from the target tablet cassette 2A until the tablet dispensing device 1 completes the collation of the target tablet cassette 2A based on the collation code. In addition, the restriction processing unit 417 may permit the payout of the tablet when the payout of the tablet is permitted by the user operation even when the collation based on the collation code is not completed.
  • the abnormality processing unit 418 sets the abnormal current value according to the tablet type assigned to the target tablet cassette 2A. Further, the exception handling unit 418 may set the abnormal current value according to the cassette type of the target tablet cassette 2A.
  • the notification processing unit 419 notifies that when the tablet type currently assigned to the target tablet cassette 2A and the tablet type received by the allocation processing unit 411 are the same. Specifically, the notification processing unit 419 determines in the allocation correspondence information D31 whether or not the tablet type currently assigned to the target tablet cassette 2A and the tablet type accepted by the allocation processing unit 411 are the same. If they are the same, a display unit 201 or the like is displayed to that effect to notify the user.
  • the conformity determination processing unit 420 determines whether or not the size or shape of the tablet corresponding to the tablet type received by the allocation processing unit 411 conforms to the target tablet cassette 2A. Specifically, the conformity determination processing unit 420 determines whether or not the size or shape of the tablet corresponding to the tablet type is suitable based on the cassette type of the target tablet cassette 2A. Then, the determination result by the conformity determination processing unit 420 is displayed on the display unit 201 by the output processing unit 413.
  • the second display processing unit 421 can display information such as the cassette type of the tablet cassette 2 suitable for the tablet corresponding to the tablet type on the display unit 201 or the like. Is.
  • the control unit 401 of the control device 200 starts the allocation start process in response to a predetermined user operation on the operation unit 402. After mounting the assigned tablet cassette 2A on the cassette mounting unit 102, the user performs the predetermined user operation to start the allocation start process.
  • step S21 the control unit 401 executes a process for selecting the tablet type to be assigned to the target tablet cassette 2A according to the user operation, and shifts the process to step S22 after the process is completed.
  • the step S21 is executed by the allocation processing unit 411 of the control unit 401. Specifically, the control unit 401 displays the operation screen P1 for setting the tablet type to be assigned to the target tablet cassette 2A on the display unit 201, and accepts the tablet type setting operation on the operation screen P1.
  • FIG. 35 is a diagram showing an example of the operation screen P1.
  • extraction conditions for extracting the tablet type can be set according to the drug code or the drug name
  • the control unit 401 extracts a list of tablet types from the tablet mounting master D11 based on the extraction conditions. And display it as a selection target.
  • the list of tablet types may be extracted from the drug master and displayed. Then, when the tablet type is selected from the tablet types displayed in the list of tablet types according to the user operation, the control unit 401 selects the tablet type as the tablet type to be assigned to the target tablet cassette 2A.
  • step S22 the control unit 401 determines whether or not the existing tablet cassette 2B corresponding to the same tablet type as the tablet type selected in step S21 exists.
  • the determination step of step 22 is executed by the determination processing unit 412 of the control unit 401.
  • the process proceeds to step S23. If it is not determined that the existing tablet cassette 2B exists (S22: No), the process proceeds to step S25.
  • the control unit 401 uses the existing tablet cassette 2B corresponding to the same tablet type as the tablet type selected in step S21 based on the allocation correspondence information D31 stored in the storage unit 202 to provide the tablet dispensing device 1. Determine if it is already implemented in.
  • the existing tablet cassette 2B may include a tablet type fixed cassette in which a tablet type that can be dispensed is predetermined, in addition to the tablet cassette 2 after the tablet type is assigned by the allocation processing unit 411.
  • the tablet dispensing device 1 may be provided with a special tablet cassette in which the tablet type corresponding to the tablet that can be dispensed can be arbitrarily assigned while being attached to the tablet dispensing device 1.
  • the control unit 401 temporarily allocates the tablet of the tablet type contained in the specific one or a plurality of prescription data to the special tablet cassette, and after the dispensing of the amount of the tablet corresponding to the specific prescription data is completed, the control unit 401 The allocation may be canceled.
  • the same tablet type as the tablet type selected in step S21 may be temporarily assigned to the special tablet cassette, but the control unit 401 has already assigned the special tablet cassette to the special tablet type. It is conceivable that the tablet cassette 2 is not judged as the tablet cassette 2.
  • the control unit 401 has already assigned the special tablet cassette to the tablet type. Judging as the assigned tablet cassette 2 is also considered as another embodiment.
  • the tablet cassette 2 is concerned. Similarly, it is conceivable that the tablet cassette 2 to which the same tablet type has already been assigned is not judged as the tablet cassette 2.
  • the determination processing unit 412 already has an existing tablet cassette 2B corresponding to the same tablet type as the tablet type accepted by the allocation processing unit 411 in any of the plurality of tablet dispensing devices 1. It is conceivable to determine whether or not it exists. Further, the determination processing unit 412 attaches the existing tablet corresponding to the same tablet type as the tablet type accepted by the allocation processing unit 411 to any one of the predetermined tablet dispensing devices 1 among the plurality of tablet dispensing devices 1. It may be determined whether or not the cassette 2B exists.
  • the determination processing unit 412 corresponds to the same tablet type as the tablet type accepted by the allocation processing unit 411 in the tablet dispensing device 1 to which the target tablet cassette 2A is mounted among the plurality of tablet dispensing devices 1. It is conceivable to determine only whether or not the existing tablet cassette 2B exists.
  • the allocation correspondence information D31 includes not only the tablet cassette 2 currently mounted on the tablet dispensing device 1 but also the tablet type information currently assigned to the tablet cassette 2 not currently mounted on the tablet dispensing device 1. Is done. Therefore, the control unit 401 sets not only the tablet cassette 2 mounted on the tablet dispensing device 1 but also the tablet cassette 2 not mounted on the tablet dispensing device 1 as a determination range, and whether or not the existing tablet cassette 2B exists. It is possible to determine whether or not. It is conceivable that the allocation correspondence information D31 stores the mounting state information regarding whether or not each of the tablet cassettes 2 is mounted on the tablet dispensing device 1, and the mounting state information is appropriately updated by the control unit 401.
  • the control unit 401 determines whether or not the existing tablet cassette 2B exists only for the tablet cassette 2 currently mounted on the tablet dispensing device 1 based on the allocation correspondence information D31 and the mounting state information. You may. Further, when the base master D41 is mounted on the tablet dispensing device 1 for each of the tablet cassettes 2, the identification information of the mounted base 3 is stored and is not mounted on the tablet dispensing device 1. In some cases, it is possible that information indicating that the tablet is not mounted (for example, the identification information of the base 3 is blank) is stored. In this case, the control unit 401 sets the determination range not only for the tablet cassette 2 mounted on the tablet dispensing device 1 but also for the tablet cassette 2 not mounted on the tablet dispensing device 1 based on the base master D41. It is possible to determine whether or not the tablet cassette 2B is present.
  • step S23 the control unit 401 displays and outputs to the display unit 201 that the tablet cassette 2 corresponding to the tablet type selected in step S21 already exists, and notifies the user. That is, the control unit 401 notifies that the tablet cassettes 2 corresponding to the same tablet type will be duplicated. The control unit 401 also notifies that fact when the tablet type currently assigned to the target tablet cassette 2A in the allocation correspondence information D31 and the tablet type accepted by the allocation processing unit 411 are the same.
  • the notification process of step S23 is executed by the notification processing unit 419 of the control unit 401. This prevents the same tablet type from being assigned to two or more tablet cassettes 2.
  • step S24 the control unit 401 determines whether or not a user operation has been performed to continuously assign the tablet type selected in step S21 to the target tablet cassette 2A. Specifically, the control unit 401 may display a display screen on the display unit 201 for accepting a continuous operation and a cancel operation to assign the tablet type selected in step S21 to the target tablet cassette 2A as it is.
  • the process proceeds to step S25, and if it is determined that the cancel operation has been performed (S24: No), the process proceeds to step S21. Be returned. Thereby, the same tablet type can be assigned to a plurality of tablet cassettes 2 according to the user's intention.
  • step S25 the control unit 401 causes the display unit 201 to display the operation screen P2 for accepting the start operation of assigning the tablet type to the target tablet cassette 2A.
  • FIG. 36 is a diagram showing an example of the operation screen P2.
  • the operation screen P2 includes a display area A1 in which information on the tablet type selected in step S21 is displayed, and a display area A2 in which information on the tablet type currently assigned to the target tablet cassette 2A is displayed. ..
  • the control unit 401 displays the tablet type information selected in step S21 in the display area A1 based on the tablet mounting master D11. For example, in the display area A1, a drug code and a drug name that can identify the drug corresponding to the tablet type selected in step S21, a cassette type of the tablet cassette 2 corresponding to the tablet type, and a tablet corresponding to the tablet type. The appearance image of the type is displayed. In this way, when the tablet type assigned to the target tablet cassette 2A is selected, the control unit 401 displays the operation screen P2 including information such as the cassette type suitable for the tablet type.
  • the display process is executed by the second display process unit 421 of the control unit 401.
  • the tablet mounting master D11 does not store the cassette type information of the tablet cassette 2, and the control unit 401 sets the tablet dimensions such as the length, height, width, and thickness stored in the tablet mounting master D11. Based on this, the cassette type of the matching tablet cassette 2 may be determined and displayed in the display area A1. In addition, information on whether or not the tablet type is compatible with the target tablet cassette 2A may be displayed on the operation screen P2.
  • control unit 401 controls the reader / writer 501 of the adjusting device 100, reads the tablet type information D21 and the cassette information D22 from the RFID tag 601 of the target tablet cassette 2A mounted on the cassette mounting unit 102, and reads the target tablet.
  • the tablet type information assigned to the cassette 2A is displayed in the display area A2. Specifically, in the display area A2, a drug code and a drug name that can identify the tablet corresponding to the tablet type, a cassette type of the target tablet cassette 2A, an external image of the tablet type assigned to the target tablet cassette 2A, and the like are displayed. Is displayed.
  • the control unit 401 selects the target tablet cassette 2A to be assigned in the step S21 according to the user operation. In this case, the control unit 401 may display the tablet type information assigned to the selected target tablet cassette 2A in the display area A2 based on the allocation correspondence information D31 and the tablet mounting master D11. In this way, the control unit 401 displays the operation screen P2 including information such as the tablet type currently assigned to the target tablet cassette 2A.
  • the display process is executed by the first display process unit 414 of the control unit 401.
  • the operation screen P2 includes an operation key K3 for expanding the tablet type information displayed in the display area A1.
  • the control unit 401 expands the display area A1 on the operation screen P2 as shown in FIG. 37, and sets the tablet type as information on the tablet type displayed in the display area A1.
  • Information on the JAN code or GS1 code of the corresponding tablet, tablet size (length, width, height, thickness), stability coefficient, placement restriction, size type, etc. is displayed based on the tablet mounting master D11.
  • the control unit 401 releases the expansion of the display area A1 on the operation screen P2 as shown in FIG. 36.
  • the control unit 401 may change the tablet length, width, height, and thickness values corresponding to the tablet types registered in the tablet mounting master D11 according to the user operation in the display area A1. It is possible.
  • the operation screen P2 includes an operation key K2 for selecting whether or not to clean the rotor 8 in the cassette adjustment process described later. Then, in step S51 of the rotor cleaning process (see FIG. 40) described later, the control unit 401 determines whether or not to clean the rotor 8 according to the selected state of the operation key K2 on the operation screen P2.
  • step S22 when it is determined in step S22 that the existing tablet cassette 2B exists, steps S23 and S24 are omitted, and the operation screen P2 displayed in step S25 is selected in step S21. It may be displayed that the tablet cassette 2 corresponding to the tablet type already exists.
  • the control unit 401 accepts the operation of the operation key K1 as a user operation to continuously assign the tablet type selected in step S21 to the target tablet cassette 2A. Further, the control unit 401 can accept the operation of the cancel key (not shown) displayed on the operation screen P2 as a user operation for canceling the allocation of the tablet type selected in step S21 to the target tablet cassette 2A. Conceivable.
  • step S26 the control unit 401 determines whether or not the tablet type assignment start operation to the target tablet cassette 2A has been performed.
  • the operation screen P2 includes an operation key K1 that accepts an operation for starting the assignment of the tablet type to the target tablet cassette 2A, and the control unit 401 controls the target tablet when the operation key K1 is operated. It is determined that the operation to start the assignment of the tablet type to the cassette 2A has been performed.
  • S26: Yes the process proceeds to step S27. Until it is determined that the start operation has been performed (S26: No), the process waits in the step S26.
  • step S27 the control unit 401 determines whether or not the tablet type selected in step S21 matches the target tablet cassette 2A mounted on the cassette mounting unit 102. Specifically, the control unit 401 determines whether or not the tablet type assigned to the target tablet cassette 2A satisfies the conformity condition (tablet size or shape, etc.) of the cassette type of the target tablet cassette 2A. For example, it is determined whether or not the size or shape of the tablet corresponding to the tablet type assigned to the target tablet cassette 2A is within the range of the conforming condition of the cassette type in the cassette information D22 of the target tablet cassette 2A.
  • the conformity condition tablette size or shape, etc.
  • the cassette type registered in the tablet mounting master D11 or the drug master or the like as the cassette type matching the tablet type assigned to the target tablet cassette 2A and the cassette type stored in the cassette information D22 of the target tablet cassette 2A match. It may be judged to be suitable if it is.
  • the tablet cassette 2 may be compatible with all tablet types, and in this case, the step S26 can be omitted.
  • step S27: Yes when it is determined that the tablet type assigned to the target tablet cassette 2A is suitable for the target tablet cassette 2A (S27: Yes), the allocation start process is completed and the cassette adjustment process is started. On the other hand, if it is determined that the tablet type assigned to the target tablet cassette 2A does not conform to the target tablet cassette 2A (S27: No), the process proceeds to step S28 and an error message is displayed on the display unit 201 or the like. After notifying the user, the process returns to step S21.
  • step S30 the control unit 401 determines whether or not the information can be read from the RFID tag 601 of the target tablet cassette 2A. Specifically, the control unit 401 transmits a control signal to read the tablet type information D21 and the cassette information D22 from the RFID tag 601 of the target tablet cassette 2A to the adjusting device 100, and reads from the adjusting device 100. Wait for the completion notification to be received. As a result, the adjusting device 100 reads the tablet type information D21 and the cassette information D22 from the RFID tag 601 of the target tablet cassette 2A by the reader / writer 501, and when the reading is completed, sends a read completion notification to the control device 200.
  • step S31 the process waits in step S21 until it is determined that is possible. If it is not determined that the information can be read from the RFID tag 601 of the target tablet cassette 2A even after the elapse of a predetermined time, the control unit 401 displays an error on the display unit 201 or the like to notify the user.
  • step S31 the control unit 401 acquires the tablet type information D21 and the cassette information D22 read from the RFID tag 601 of the target tablet cassette 2A mounted on the cassette mounting unit 102 of the adjusting device 100 from the adjusting device 100. It is stored in the storage unit 202. Specifically, the control unit 401 receives the tablet type information D21 and the cassette information D22 from the adjustment device 100 by transmitting a transmission request for the tablet type information D21 and the cassette information D22 to the adjustment device 100.
  • step S32 the control unit 401 erases the contents of the tablet type information D21 stored in the RFID tag 601 of the target tablet cassette 2A mounted on the cassette mounting unit 102 of the adjusting device 100. That is, the control unit 401 executes a process for canceling the assignment of the tablet type to the target tablet cassette 2A. Further, the control unit 401 erases the drug code associated with the target tablet cassette 2A in the allocation correspondence information D31. That is, during the adjustment of the target tablet cassette 2A by the adjusting device 100, the tablet type is not assigned to the target tablet cassette 2A. This prevents the target tablet cassette 2A for which the adjustment of the rotor 8 has not been normally completed from being used in the tablet dispensing device 1.
  • step S33 the control unit 401 executes a removal preparation process for enabling the rotor 8 to be taken out from the target tablet cassette 2A.
  • the control unit 401 drives the partition adjusting mechanism M1 to retract the partition member 20 so that the tip of the partition member 20 is at least the notch 72a of the first movable member 60 of the cassette body 5 of the tablet cassette 2 and the notch 72a.
  • the rotor 8 is retracted from the notch 81a of the second movable member 61 so that the rotor 8 can be taken out from the cassette body 5.
  • the process proceeds to step S34.
  • the adjusting device 100 attaches the rotor to the tablet cassette 2.
  • the rotor 8 may be adjustable while the 8 is mounted.
  • step S34 the control unit 401 displays a predetermined start notification information for starting the adjustment operation of the rotor 8 on the display unit 201 and notifies the user.
  • the start notification information prompts that the rotor 8 be removed from the target tablet cassette 2A, set in the rotor mounting portion 103 of the adjusting device 100, the lever 145 is lowered, and the first start button 203 is pressed.
  • step S35 the control unit 401 determines whether or not the start operation of the adjustment operation of the rotor 8 has been performed. Specifically, the control unit 401 determines that the start operation has been performed when the first start button 203 is pressed. Then, when it is determined that the start operation has been performed (S35: Yes), the process proceeds to step S36. The process waits in step S35 until it is determined that the start operation has been performed (S35: No).
  • step S36 the control unit 401 determines whether or not the lever 145 has transitioned to a predetermined depressed state based on the detection result of the lever position detection sensor 147. Then, when it is determined that the lever 145 has transitioned to the depressed state (S36: Yes), the process proceeds to step S362. On the other hand, when it is determined that the lever 145 has not transitioned to the depressed state (S36: No), the process proceeds to step S361.
  • step S361 the control unit 401 notifies the user by displaying an error message indicating that the lever 145 has not transitioned to the depressed state on the display unit 201. After that, the process returns to step S35.
  • Step S362 the control unit 401 executes a rotor cleaning process for enabling the user to clean the rotor 8 of the tablet cassette 2.
  • the rotor cleaning process is executed by the cleaning process unit 415 of the control unit 401.
  • the step S362 may be omitted.
  • an example of the procedure for the rotor cleaning process will be described with reference to FIG. 40.
  • step S51 the control unit 401 determines whether or not to clean the rotor 8. Specifically, the control unit 401 sets a cleaning flag in the RAM or the like of the control unit 401 when "cleaning" is selected on the operation key K2 (see FIG. 36) on the operation screen P2 in the allocation start process. Set to ON. Then, in step S51, the control unit 401 determines that the rotor 8 is cleaned when the cleaning flag is ON. The control unit 401 sets the cleaning flag to OFF at the end of the rotor cleaning process.
  • S51: Yes the process proceeds to step S52.
  • the rotor cleaning process is completed and the process proceeds to step S37.
  • step S52 the control unit 401 transmits a cleaning start instruction for adjusting the rotor 8 to a cleanable state to the adjusting device 100.
  • the control unit 401 shifts the tablet guide path 8b of the target tablet cassette 2A by the adjusting device 100 to a preset cleanable state.
  • the control unit 401 transmits a cleaning start instruction for causing the adjusting device 100 to perform the fully opening operation of the rotor 8. ..
  • the adjusting device 100 executes a fully open operation of fully opening the width of the tablet guide path 8b of the rotor 8 to the maximum size based on the cleaning start instruction, and the user can clean the rotor 8. ..
  • step S53 the control unit 401 determines whether or not the rotor 8 by the adjusting device 100 has transitioned to the cleanable state. Specifically, when the control unit 401 receives the end notification of the fully open operation of the rotor 8 from the adjusting device 100, the control unit 401 determines that the rotor 8 has transitioned to the cleanable state. Then, when it is determined that the rotor 8 has transitioned to the cleanable state (S53: Yes), the process proceeds to step S54, and until it is determined that the rotor 8 has transitioned to the cleanable state (S53: Yes). No), the process waits in the step S53.
  • step S54 the control unit 401 displays the cleaning possible information indicating that the rotor 8 can be cleaned on the display unit 201 and notifies the user.
  • the cleaningable information includes raising the lever 145 to remove the rotor 8 from the rotor mounting portion 103, returning the rotor 8 to the rotor mounting portion 103 after cleaning, lowering the lever 145, and pressing the first start button 203. Includes messages and images prompting the user to press. It should be noted that raising the lever 145 to remove the rotor 8 from the rotor mounting portion 103, returning the rotor 8 to the rotor mounting portion 103 after cleaning, lowering the lever 145, and pressing the first start button 203 are individually performed. A message or an image for prompting the user may be displayed in order according to the user operation.
  • step S55 the control unit 401 determines whether or not the start operation of the adjustment operation has been performed. Specifically, the control unit 401 determines that the start operation has been performed when the first start button 203 is pressed. Then, when it is determined that the start operation has been performed (S55: Yes), the rotor cleaning process is completed, and the process proceeds to step S37. Until it is determined that the start operation has been performed (S55: No), the process waits in step S55. As a result, the user can clean the rotor 8 after removing the rotor 8 and before pressing the first start button 203.
  • the rotor cleaning process is executed during the cassette adjustment process, and the user cleans the rotor 8 of the target tablet cassette 2A when the tablet type is assigned to the target tablet cassette 2A. It is possible to do.
  • step S37 the control unit 401 transmits an adjustment instruction for adjusting the rotor 8 to the size corresponding to the tablet type selected in step S21 to the adjusting device 100.
  • the adjusting operation of the rotor 8 by the adjusting device 100 is started.
  • the control unit 401 reads information such as the height, width, thickness, and other dimensions of the tablet used for adjusting the rotor 8 from the tablet mounting master D11, and gives an adjustment instruction including the information. Send to 100.
  • the adjusting device 100 executes an adjusting operation for adjusting the tablet guide path 8b of the rotor 8 based on the adjusting instruction, and when the adjusting operation is completed, sends a completion notification to the control unit 401.
  • the adjustment instruction includes information on the adjustment amount of the tablet guide path 8b of the rotor 8 instead of the tablet size, and the adjustment device 100 sets the tablet guide path 8b of the rotor 8 based on the information on the adjustment amount. You may adjust.
  • step S38 the control unit 401 determines whether or not the adjustment operation of the rotor 8 by the adjustment device 100 is completed. Specifically, when the control unit 401 receives the notification of the end of the adjustment operation of the rotor 8 from the adjustment device 100, the control unit 401 determines that the adjustment operation of the rotor 8 has been completed. Then, when it is determined that the adjustment operation of the rotor 8 is completed (S38: Yes), the process proceeds to step S39, and until it is determined that the adjustment operation of the rotor 8 is completed (S38: No). , The process waits in the step S38.
  • step S39 the control unit 401 displays the predetermined end notification information for ending the adjustment of the rotor 8 on the display unit 201 and notifies the user.
  • the lever 145 was raised, the rotor 8 was removed from the rotor mounting portion 103, the rotor 8 was set in the tablet cassette 2, and the tablet cassette 2 was mounted on the rotor mounting portion 103.
  • it includes a message or an image prompting the operation unit 402 to perform the completion operation.
  • the lever 145 is raised, the rotor 8 is removed from the rotor mounting portion 103, the rotor 8 is set in the tablet cassette 2, the tablet cassette 2 is attached to the cassette mounting portion 102, and the tablet cassette 2 is attached.
  • a message or an image for individually prompting the user to perform the mounting confirmation operation may be displayed in order according to the user operation.
  • step S40 the control unit 401 determines whether or not a mounting confirmation operation indicating that the target tablet cassette 2A has been mounted on the cassette mounting unit 102 has been performed.
  • the process proceeds to step S41, and the process is performed until it is determined that the mounting confirmation operation has been performed (S40: No). Wait in step S40.
  • step S41 the control unit 401 determines whether or not the lever 145 has transitioned to a predetermined push-up state based on the detection result of the lever position detection sensor 147. Then, when it is determined that the lever 145 has transitioned to the pushed-up state (S41: Yes), the process proceeds to step S42. On the other hand, when it is determined that the lever 145 has not transitioned to the pushed-up state (S41: No), the process proceeds to step S411.
  • step S411 the control unit 401 notifies the user by displaying a message indicating that the lever 145 has not transitioned to the pushed-up state on the display unit 201, and returns the process to step S40.
  • step S42 the control unit 401 reads the cassette information D22 of the target tablet cassette 2A from the RFID tag 601 of the target tablet cassette 2A mounted on the cassette mounting unit 102 by the reader / writer 501.
  • step S43 the control unit 401 has the cassette number of the cassette information D22 read from the RFID tag 601 in step S42 and the cassette number of the cassette information D22 read from the RFID tag 601 and stored in the storage unit 202 in step S31.
  • the identity of the target tablet cassette 2A is determined. That is, it is determined whether or not the target tablet cassette 2A before and after the attachment / detachment of the rotor 8 is the same.
  • the process proceeds to step S44, and if it is determined that they are not the same (S43: No), the process proceeds to step S431. In this way, since the identity of the target tablet cassette 2A is confirmed in step S43, it is possible to prevent the rotor 8 from being mounted on different target tablet cassettes 2A.
  • the RFID tag 601 is provided on the cassette body 5 of the tablet cassette 2
  • the RFID tag 601 is provided on the rotor 8 and the adjusting device reads the RFID tag 601 of the rotor 8.
  • the reader / writer 301 is provided at a possible position as another embodiment.
  • each of the cassette body 5 and the rotor 8 of the tablet cassette 2 is provided with an RFID tag in which unique information that can identify the cassette body 5 and the rotor 8 is stored, and the adjusting device 100 is provided with the RFID tag. It is conceivable that one or more reader / writers that can read each of them are provided.
  • control unit 401 reads information from each of the cassette body 5 and the RFID tag of the rotor 8 before and after the attachment / detachment of the rotor 8, and the combination of the cassette body 5 of the tablet cassette 2 and the rotor 8 matches before and after the attachment / detachment of the rotor 8. It is conceivable to judge whether or not to do so.
  • step S431 the control unit 401 displays an error on the display unit 201 indicating that the target tablet cassette 2A installed before the rotor 8 is removed and the current target tablet cassette 2A are different from each other, and notifies the user.
  • the process returns to step S40.
  • step S431 the cassette number of the target tablet cassette 2A that was installed before the rotor 8 was removed may be notified.
  • step S44 the control unit 401 executes a mounting confirmation process for confirming the mounting of the rotor 8 on the target tablet cassette 2A.
  • the control unit 401 drives the partition adjusting mechanism M1 to advance the partition member 20, and the tip of the partition member 20 is a notch 72a and a first movable member 60 of the cassette body 5 of the tablet cassette 2. 2
  • the rotor 8 is fitted into the notch 81a of the movable member 61 so that the rotor 8 cannot be taken out from the cassette body 5.
  • the insertion position of the partition member 20 at this time is the insertion position corresponding to the tablet type selected in step S21.
  • the process proceeds to step S45.
  • Step S45 the control unit 401 uses the reader / writer 501 to determine the drug code, stability coefficient, arrangement restriction, and branch number in the tablet type information D21 of the updatable region 611 of the RFID tag 601 of the target tablet cassette 2A in step S21. Update to the drug code, stability coefficient, placement restriction, and branch number corresponding to the selected tablet type. That is, the control unit 401 executes a process for assigning the tablet type to the target tablet cassette 2A. Here, such processing is executed by the allocation processing unit 411 of the control unit 401.
  • step S46 the control unit 401 updates the drug identification information corresponding to the target tablet cassette 2A in the allocation correspondence information D31 to the drug identification information corresponding to the tablet type selected in step S21, and sets the collated flag. Set to OFF.
  • processing is executed by the allocation processing unit 411 of the control unit 401.
  • step S47 the control unit 401 displays a label P3 showing a collation code including information such as a drug code of the tablet type assigned to the target tablet cassette 2A in the cassette adjustment process and a cassette number of the target tablet cassette 2A. Output. Specifically, the control unit 401 transmits the data of the label P3 to a printer or a label printing device (not shown) connected to the control device 200 to print the data. The step S47 is executed by the code output processing unit 416 of the control unit 401. Further, the collation code may indicate only the information of the tablet type.
  • FIG. 41 is a diagram showing an example of the printing result of the label P3.
  • the label P3 includes a sticker P21 and a sticker P22 on which the collation code is printed.
  • the label P3 also shows information on the tablet type before and after the allocation to the target tablet cassette 2A, information on the powerful drug / controlled drug type of the assigned tablet type, and the like.
  • each of the seals P21 and P22 is attached to the front surface or side surface and the upper surface (lid 6) of the target tablet cassette 2A.
  • the label P3 may include one or three or more stickers showing the collation code.
  • step S48 the control unit 401 displays an adjustment end notification to the effect that the cassette adjustment process is completed and the target tablet cassette 2A can be removed on the display unit 201 to notify the user.
  • the cassette adjustment process is executed by the control unit 401, so that it is possible to support the user in assigning the tablet type to the tablet cassette 2.
  • the tablet dispensing process is executed by the control unit 401 of the control device 200 and the control unit 300 of the tablet dispensing device 1.
  • the tablet dispensing process may be independently executed by the control unit 300 of the tablet dispensing device 1.
  • step S61 the control unit 401 determines whether or not the dispensing start operation for the specific prescription data has been performed on the operation unit 402. For example, the control unit 401 selects arbitrary prescription data as a dispensing target from the prescription data input to the control device 200 from a higher-level system such as an electronic chart system (not shown) by a user operation, and starts dispensing the prescription data. It is determined that the dispensing start operation has been performed when the operation for performing the operation is performed on the operation unit 402.
  • the process proceeds to step S62, and the process is performed until it is determined that the dispensing start operation has been performed (S61: No). Wait in step S61.
  • the control unit 401 corresponds to the plurality of patients belonging to the group. It is also possible to have the tablet dispensing device 1 execute the tablet dispensing operation based on each of the data.
  • the group is a preset unit of patients or users, such as a ward or room in which a plurality of patients are hospitalized, or a facility in which a plurality of users taking a drug reside.
  • History information including information that the execution type of "prescription" is "batch” is stored in the storage unit 202 in association with the prescription data. Further, when the control unit 401 causes the tablet dispensing device 1 to execute the tablet dispensing operation based on the prescription data corresponding to the patient according to the patient's selection, the execution type of "prescription" is "individual". The history information including the information to that effect is stored in the storage unit 202 in association with the prescription data.
  • the control unit 401 has performed the tablet dispensing operation based on each of the prescription data in a group unit or individually in a patient unit based on the history information stored in the storage unit 202. It is possible to judge.
  • the history information also includes information such as a dispensing date (date and day of the week), which is an execution date of the tablet dispensing operation executed based on the drug dispensing data.
  • step S62 the control unit 401 specifies a control target for paying out the tablet included as the prescription drug in the prescription data based on the allocation correspondence information D31. More specifically, the control unit 401 identifies the tablet cassette 2 corresponding to the drug code of the tablet to be dispensed based on the allocation correspondence information D31 and the base master D41, and dispenses the tablet to which the tablet cassette 2 is mounted. Identify the device 1. Then, based on the base master D41, the control unit 401 specifies the base 3 on which the tablet cassette 2 is mounted in the tablet dispensing device 1 as a control target when the tablet corresponding to the drug code is dispensed. ..
  • the control unit 401 When the control unit 401 has a plurality of tablet cassettes 2 corresponding to the same drug code in the drug dispensing system 500, the control unit 401 has a higher predetermined priority among the plurality of tablet cassettes 2 (for example, a branch number). It is conceivable to specify the base 3 of the tablet dispensing device 1 to which the tablet cassette 2 is mounted as a control target when the tablet corresponding to the drug code is dispensed. On the other hand, when the tablet cassette 2 corresponding to the drug code does not exist in the drug dispensing system 500, the control unit 401 indicates that the tablet cassette 2 corresponding to the drug code should be attached to the tablet dispensing device 1 such as the display unit 201. Is displayed to notify the user. When the prescription data includes a plurality of tablet types as prescription drugs, a plurality of control targets for paying out each of the tablets are specified. Then, when the control target for dispensing all the tablets is specified, the process proceeds to step S63.
  • a branch number for example, a
  • the control unit 401 specifies the hand-spreading unit 302 as a control target for the tablets included in the prescription data as prescription drugs that cannot be dispensed from the tablet cassette 2 in the tablet dispensing device 1. ..
  • the control unit 401 causes the display unit 201 to display a display screen or the like for supporting the loading of the tablet into each of the DTA cells of the hand-spreading unit 302. Then, in the tablet dispensing operation described later, the tablets dispensed from the hand-spreading unit 302 are also packaged together with the tablets dispensed from the tablet cassette 2 in the packaging paper corresponding to each administration time.
  • step S63 the control unit 401 determines whether or not the collation based on the collation code is completed for each of the tablet cassettes 2 specified in step S62. Specifically, the control unit 401 determines that the collation is completed for each of the tablet cassettes 2 specified in step S62 when the collated flag stored in the allocation correspondence information D31 is "ON". ..
  • the process proceeds to step S67, and if it is determined that the collation is not completed (S63: No), the process proceeds to step S64. Transition.
  • step S64 the control unit 401 displays a message on the display unit 201 indicating that the collation of the tablet cassette 2 has not been completed and that the collation code corresponding to the tablet cassette 2 should be read to notify the user. Then, the process proceeds to step S65.
  • the collation code is a one-dimensional code or a two-dimensional code including a tablet-type drug code or the like assigned to the tablet cassette 2 as described above, and is printed on the stickers P21 and P22 in step S47. Is.
  • the location where the tablet cassette 2 is mounted is specified based on the base master D41, and information indicating the location is provided together with the message. It may be displayed.
  • step S65 the control unit 401 waits for the collation of the unmatched tablet cassette 2 (S65: No). Specifically, the control unit 401 is attached to the tablet storage unit such as the original box of the tablet and the collation code printed on the seal P21 or P22 by a bar code reader (not shown) that can be connected to the tablet dispensing device 1. When the tablet code such as the one-dimensional code or the two-dimensional code is read and the collation code and the tablet type indicated by the tablet code match, it is determined that the tablet cassette 2 has been collated. .. Further, the control unit 401 may collate whether or not the collation code printed on the sticker P21 and the collation code printed on P22 are the same.
  • the control unit 401 reads the collation code by a bar code reader (not shown) that can be connected to the tablet dispensing device 1, and the cassette number of the tablet cassette 2 included in the collation code is displayed. If it matches the cassette number of the tablet cassette 2 determined to be unverified in step S64, it may be determined that the tablet cassette 2 has been collated. Further, when the tablet type indicated by the collation code, the tablet type indicated by the tablet code, and the tablet type assigned to the tablet cassette 2 specified in step S62 all match, the control unit 401 determines. It may be determined that the tablet cassette 2 has been collated. Here, when it is determined that the unmatched tablet cassette 2 has been collated (S65: Yes), the process proceeds to step S66. On the other hand, until the unmatched tablet cassette 2 is collated (S65: No), the process waits in step S65. That is, the control unit 401 limits the use of the tablet cassette 2 for which verification has not been completed after the tablet type has been assigned.
  • step S66 the control unit 401 updates the collated flag corresponding to the tablet cassette 2 in the allocation correspondence information D31 to "ON", and returns the process to step S63. As a result, the control unit 401 repeatedly executes steps S64 to S66 until the collation for each of the tablet cassettes 2 specified in step S62 is completed.
  • step S67 the control unit 401 transmits a tablet payout start instruction for starting the tablet payout by each of the tablet cassettes 2 specified in step S62 to the tablet payout device 1, and returns the process to step S61.
  • the tablet payout start instruction includes the cassette number of the tablet cassette 2 specified based on the prescription data, the stability coefficient corresponding to the tablet type assigned to the tablet cassette 2, and the prescription shown in the prescription data. Information such as the number of tablets to be paid out corresponding to the amount is included.
  • the tablet dispensing device 1 executes the dispensing of the number of tablets to be dispensed from each of the tablet cassettes 2 based on the tablet dispensing start instruction.
  • the control unit 401 when the control unit 401 needs to use the hand-spreading unit 302 in the tablet payout operation based on the prescription data, the control unit 401 is put into each of the DTA cells of the hand-spreading unit 302 in the tablet payout start instruction. Send including information such as tablets. As a result, the tablet dispensing device 1 can appropriately dispense tablets from the hand-spreading unit 302 in the tablet dispensing operation based on the tablet dispensing start instruction.
  • the storage unit 202 stores abnormality detection correspondence information in which the tablet type and the abnormal current value are associated with each other.
  • the abnormal current value may differ depending on the tablet type, as well as the shape or hardness of the tablet. For example, it is conceivable that the abnormal current value differs between tablets in a narrow sense and capsule tablets.
  • the control unit 401 has an abnormality in a drive unit such as a motor used for dispensing tablets from each of the tablet cassettes 2 based on the tablet type associated with each tablet cassette 2 and the abnormality detection correspondence information. Set the abnormal current value to detect.
  • the setting process is executed by the error handling unit 418 of the control unit 401.
  • the storage unit 202 stores the abnormality detection correspondence information in which the cassette type and the abnormal current value are associated with each other, and the control unit 401 corresponds to each cassette type of the tablet cassette 2 and the abnormality detection correspondence. It is also conceivable to set the abnormal current value corresponding to each of the tablet cassettes 2 based on the information. Then, the control unit 401 includes the abnormal current value corresponding to each of the tablet cassettes 2 set as a threshold value used for detecting an abnormality at the time of driving each of the tablet cassettes 2 in the tablet payout start instruction, and the tablet payout device 1 Send to. As a result, the tablet dispensing device 1 detects the abnormality of each of the tablet cassettes 2 based on the abnormal current value (step S76).
  • the abnormal current value setting process may be executed by the control unit 300 of the tablet dispensing device 1. Further, the abnormal current value may be set to a different value between the tablet type fixed cassette and the tablet cassette 2.
  • the control unit 300 determines whether or not to start filling the tablet cassette 2 with tablets.
  • the tablet dispensing device 1 is provided with a workbench for filling the tablet cassette 2 with tablets, and the tablet cassette 2 is placed on the workbench.
  • a mounting sensor for detecting and a reader / writer for reading information from the RFID tag 601 of the mounted tablet cassette 2 are provided. Then, when the mounting sensor detects that the tablet cassette 2 is mounted on the workbench, the control unit 300 reads the cassette number of the tablet cassette 2 from the RFID tag 601 by the reader / writer, and the tablet It is determined that the packing of the tablets is started with the cassette 2 as the filling target.
  • step S71 it is determined that the tablet cassette 2 is mounted on the workbench on the condition that the installation of the mounting sensor is omitted and the information is read from the RFID tag 601 by the reader / writer.
  • step S72 it is determined that the filling of the tablet into the tablet cassette 2 is not started (S71). : No)
  • the process proceeds to step S73.
  • step S72 the control unit 300 executes a filling process for filling the tablet cassette 2 selected by the user operation with tablets.
  • a filling process for filling the tablet cassette 2 selected by the user operation with tablets.
  • step S721 the control unit 300 determines whether or not the collation of the tablet cassette 2 to be filled has been completed.
  • the process proceeds to step S725, and when it is determined that the collation is not completed (S721: No), the process proceeds to step S722. Transition.
  • the control unit 300 determines whether or not the collation of the tablet cassette 2 to be filled has been completed based on the collated flag of the allocation correspondence information D31. For example, the control unit 300 acquires the allocation correspondence information D31 from the control unit 401, or the allocation correspondence information D31 is transmitted from the control unit 401 to the control unit 300 at the timing when the control unit 401 updates the allocation correspondence information D31. It is possible that The method is not limited to these as long as the control unit 300 can refer to the correspondence between the cassette number of the tablet cassette 2 and the collated flag in the allocation correspondence information D31.
  • step S722 the control unit 300 provides the tablet dispensing device 1 with a message or an image indicating that the tablet cassette 2 needs to be collated and that the collation code corresponding to the tablet cassette 2 should be read. It is displayed on the illustrated display device or display unit 201 or the like to notify the user, and the process proceeds to step S723.
  • the location where the tablet cassette 2 is mounted is specified based on the base master D41, and information indicating the location is provided together with the message. It may be displayed.
  • step S723 the control unit 300 waits for the collation of the unmatched tablet cassette 2 (S723: No). Specifically, the control unit 300 is attached to a storage unit such as a tablet base box to be filled with the collation code printed on the seal P21 or P22 by a bar code reader (not shown) that can be connected to the control device 200. When the tablet code such as the one-dimensional code or the two-dimensional code is read and the collation code and the tablet type indicated by the tablet code match, it is determined that the tablet cassette 2 has been collated. .. Further, the control unit 300 may collate whether or not the collation code printed on the stickers P21 and P22 is the same.
  • control unit 300 reads the collation code by a bar code reader (not shown) that can be connected to the control device 200, and the cassette number of the tablet cassette 2 included in the collation code is not yet available. If it matches the cassette number of the collated tablet cassette 2, it may be determined that the collated tablet cassette 2 has been collated. Further, when the tablet type indicated by the collation code, the tablet type indicated by the tablet code, and the tablet type assigned to the tablet cassette 2 to be filled all match, the control unit 300 performs the tablet cassette. It may be determined that the collation has been performed for 2. Here, when it is determined that the unmatched tablet cassette 2 has been collated (S723: Yes), the process proceeds to step S724.
  • step S724 the control unit 300 executes a process for updating the collated flag corresponding to the tablet cassette 2 to be filled in the allocation correspondence information D31 to “ON”. Specifically, the control unit 300 notifies the control unit 401 of a control instruction for setting the collated flag of the tablet cassette 2 to be filled to ON. Then, when the control unit 401 receives the control instruction, the control unit 401 updates the collated flag of the tablet cassette 2 to be filled in the allocation correspondence information D31 stored in the storage unit 202 to ON. As a result, the tablet cassette 2 to be filled can be used in the tablet dispensing device 1.
  • step S725 the control unit 300 executes a predetermined filling support process for the tablet cassette 2 to be filled.
  • a predetermined filling support process display of the tablet type of the tablet corresponding to the tablet cassette 2, acceptance of input such as the number of tablets to be filled in the tablet cassette 2 and the lot number, and the stock amount of the tablets in the tablet cassette 2 Updates etc. are included.
  • the work of filling the tablet cassette 2 with tablets is performed by the user.
  • step S724 When the collated flag is set to "ON" in step S724, that is, when the collated flag is "OFF" when the filling process is executed, the filling support process is executed. At this time, it is conceivable to execute a test mode in which tablets are dispensed from the tablet cassette 2. For example, in the test mode, the test mode ends when a preset number of tablets are dispensed from the filled tablet cassette 2 and a confirmation operation is performed by the user. This makes it possible to confirm whether or not the rotor 8 of the tablet cassette 2 is normally adjusted.
  • step S73 when the control unit 300 determines that the tablet payout start instruction has been received (S73: Yes), the process proceeds to step S74, and it is determined that the tablet payout start instruction has not been received. (S73: No), the process is returned to step S71.
  • step S74 the control unit 300 sets the abnormal current value at the time of driving each of the tablet cassettes 2 used this time, based on the tablet payout start instruction.
  • the control unit 300 when executing the processing may be regarded as the abnormality processing unit according to the present invention.
  • step S75 the control unit 300 controls the tablet dispensing device 1 based on the tablet dispensing start instruction, and includes the tablet cassette 2 and the hand-spreading unit 302 of the tablet dispensing device 1 as prescription drugs in the prescription data.
  • the required amount of tablets to be dispensed is dispensed, and the tablet dispensing operation of packaging the tablets into a packaging paper is started at each time of administration.
  • the tablet dispensed from the tablet cassette 2 and the tablet dispensed from the hand-spreading unit 302 may be packaged together.
  • the prescription data may include Rp data in which tablets of one or more tablet types included as prescription drugs in the prescription data are summarized for each usage.
  • the prescription data when the prescription data does not include a plurality of Rp data, the prescription data corresponds to the drug withdrawal data according to the present invention, and one tablet is executed based on one prescription data.
  • the dispensing operation corresponds to the drug dispensing operation according to the present invention.
  • each of the Rp data corresponds to the drug dispensing data according to the present invention, and one tablet dispensing operation executed based on one Rp data is the present invention.
  • the prescription data is the drug dispensing data according to the present invention.
  • the tablet dispensing operation corresponds to the drug dispensing operation according to the present invention.
  • one tablet dispensing operation including the packaging operation on the packaging paper for a plurality of administration times is executed based on one prescription data or Rp data.
  • the number of tablet dispensing operations is equivalent to the number of drug dispensing operations in the present invention.
  • step S76 the control unit 300 determines whether or not the drive current of the drive unit used for dispensing the tablet from the tablet cassette 2 is equal to or greater than the preset abnormal current value for the tablet dispensing operation.
  • the determination process is executed by the abnormality determination unit 311 of the control unit 300.
  • the control unit 300 determines that the abnormal current value or more is equal to or higher than the abnormal current value (S76: Yes)
  • the process proceeds to step S78.
  • step S77 the control unit 300 interrupts the tablet dispensing operation by the tablet dispensing device 1. Specifically, when tablets are clogged between the rotor 8 and the cassette body 5 in the tablet cassette 2 and the rotor 8 does not rotate, the current flowing through the drive unit such as the drive motor of the rotor 8 increases. Therefore, in step S77, the control unit 300 displays, for example, the possibility of tablet clogging on the display unit 202 or the like to notify the user, or executes a clogging clearing process such as reverse rotation of the rotor 8. It is also possible. The control unit 300 restarts the tablet dispensing operation when the tablet cassette 2 whose abnormality is detected in step S76 is attached / detached or when the user performs a restart operation, for example, and steps the process. It is conceivable to shift to S78.
  • step S78 the control unit 300 determines whether or not the tablet payout operation based on the tablet payout start instruction by the tablet payout device 1 is completed. Here, if it is determined that the tablet dispensing operation has not been completed (S78: No), the process is returned to step S76, and if it is determined that the tablet dispensing operation has been completed (S78: Yes), the process is performed. Is returned to step S71.
  • the tablet dispensing device 1 when the tablet dispensing device 1 first uses the tablet cassette 2 by executing the tablet dispensing process, the tablet type assigned to the tablet cassette 2 is selected. Withdrawal of tablets from the tablet cassette 2 is permitted provided that the corresponding collation code is read.
  • control unit 401 executes the rotor cleaning mode when the user performs a rotor cleaning mode start operation on the operation unit 402.
  • the control unit 401 executes the same process as the cassette adjustment process after setting the cleaning flag to ON. As a result, it is determined that the rotor 8 is cleaned in step S51 of the rotor cleaning process (FIG. 40).
  • the control unit 401 corresponds to the tablet type stored in the storage unit 202 in the storage unit 202 in the drug code assigned to the target tablet cassette 2A in the allocation correspondence information D31. Update to the drug code to be used. Further, in step S45, the control unit 401 uses the reader / writer 501 to store the drug code in the tablet type information D21 of the updatable area 611 of the RFID tag 601 of the target tablet cassette 2A in the storage unit 202 in the step S31. Update to the drug code corresponding to the tablet type. That is, the control unit 401 reassigns the tablet type assigned to the target tablet cassette 2A before the execution of the rotor cleaning mode to the target tablet cassette 2A. After that, when the cassette adjustment process is completed, the rotor cleaning mode ends.
  • the user can clean the rotor 8 of the tablet cassette 2 at an arbitrary timing without changing the assignment of the tablet type to the tablet cassette 2. It is possible.
  • the tablet dispensing device 1 may be equipped with the tablet-type fixed cassette capable of dispensing a predetermined tablet-type tablet.
  • the tablet type of the tablet that can be dispensed from each of the tablet cassette 2 mounted on the tablet dispensing device 1 and the drug cassette such as the tablet type fixed cassette is appropriately selected according to the usage status of the tablet dispensing device 1. Without this, for example, the user often needs to collect tablets to be put into the hand-spreading unit 302, and the utilization efficiency of the tablet dispensing device 1 may decrease.
  • the drug dispensing system 500 includes a simulation function that supports effective selection of tablet types of tablets that can be dispensed from the drug cassette.
  • the simulation function will be described.
  • the control unit 401 of the control device 200 includes a first processing unit 422 and a second processing unit 423.
  • the control unit 401 functions as the first processing unit 422 and the second processing unit 423 by executing various processes according to the drug dispensing control program stored in advance in the ROM or the storage unit 202 using the CPU.
  • one or both of the first processing unit 422 and the second processing unit 423 may be electronic circuits.
  • the functions of the first processing unit 422 and the second processing unit 423 may be realized by the control unit 300 of the tablet dispensing device 1, and the control unit 401 of the control device 200 and the control unit 300 of the tablet dispensing device 1 cooperate with each other. It may be realized by working and executing the process.
  • the first processing unit 422 is a tablet dispensing device 1 capable of performing a chemical dispensing operation of dispensing one or a plurality of chemical types based on the chemical dispensing data, and the chemicals that can be dispensed from the chemical cassette in the chemical dispensing operation. Accepts estimation conditions for drug type selection.
  • the tablet dispensing device 1 is an example of a drug dispensing device, and in the tablet dispensing device 1, a tablet dispensing operation in which tablets (drugs) of a plurality of tablet types (drug types) are dispensed from a plurality of the drug cassettes. Is executed as the drug dispensing operation.
  • the second processing unit 423 outputs a simulation result of the tablet dispensing operation executed based on the plurality of drug dispensing data when the estimation conditions accepted by the first processing unit 422 are applied. Specifically, the second processing unit 423 includes all of the tablet payout operations executed based on the plurality of drug payout data when the estimation condition is applied, which are included in the drug payout data as the payout target. A first index value including at least one of the ratio or the number of tablet dispensing operations that the tablet of the tablet type can be dispensed from the drug cassette is output as the simulation result.
  • the control unit 401 starts the simulation process in response to a predetermined user operation on the operation unit 402.
  • the present invention may be regarded as an invention of a simulation method including a part or a plurality of steps of the simulation process. Further, in the present embodiment, the case where the simulation process is executed for one tablet dispensing device 1 will be described, but when a plurality of tablet dispensing devices 1 are included in the drug dispensing system 500, the control unit 401 It is possible to select the tablet dispensing device 1 to be the target of the simulation process according to the user operation and execute the simulation process.
  • step S81 the control unit 401 derives a second index value relating to the tablet dispensing operation executed by the current tablet dispensing device 1 in which the tablet type that can be dispensed from the drug cassette of the tablet dispensing device 1 has already been selected. ..
  • the current tablet dispensing device 1 in which the tablet type that can be dispensed from the drug cassette has already been selected may be simply referred to as "current tablet dispensing device 1".
  • the second index value is a simulation value related to the tablet dispensing operation executed by the current tablet dispensing device 1 before the estimation conditions set in steps S85 to S86 described later are applied. Specifically, in the present embodiment, the second index value is among the tablet dispensing operations executed by the current tablet dispensing device 1 based on the plurality of drug dispensing data set as the target of the simulation process. , The ratio and number of tablet dispensing operations in which tablets of all tablet types included in the drug dispensing data as a payout target can be dispensed from the drug cassette.
  • the control unit 401 performs the tablet dispensing operation on a plurality of drug dispensing data input to the tablet dispensing device 1 in a predetermined period such as a past month or one year. 2 Derivation of index values.
  • the plurality of target drug withdrawal data may be referred to as “estimation target data”.
  • the second index value may be either one of the ratio and the number of times of the tablet dispensing operation.
  • the storage unit 202 stores a mounted drug master in which the drug that can be dispensed from the drug cassette by the tablet dispensing device 1 is registered among the drugs stored in the drug master.
  • the mounted drug master is not limited to the drugs that can be dispensed by the drug cassette mounted on the current tablet dispensing device 1, and can be dispensed by the drug cassette that is not mounted on the current tablet dispensing device 1. Drugs are also registered.
  • the control unit 401 uses all the tablets included in the drug payout data as the payout target for each of the drug payout data included in the estimation target data based on the mounted drug master stored in the storage unit 202.
  • the mounted drug master may be stored in the tablet dispensing device 1, and the control unit 401 may be able to acquire the mounted drug master from the tablet dispensing device 1.
  • control unit 401 uses only the drug cassette mounted on the current tablet dispensing device 1 based on the mounted drug master, the allocation correspondence information D31, and the base master D41. Therefore, for each of the drug payout data included in the estimation target data, it is possible to determine whether or not tablets of all tablet types included in the drug payout data as payout targets can be dispensed.
  • the control unit 401 uses only the drug cassette mounted on the current tablet dispensing device 1 for each of the drug dispensing data included in the estimation target data. It is possible to determine whether or not all tablet types included in the drug withdrawal data to be withdrawn can be dispensed.
  • the tablet dispensing device 1 If the drug cassette capable of dispensing tablets in units of less than one half tablet or 1/4 tablet cannot be attached to the tablet dispensing device 1, the tablets registered in the mounted drug master Even if it is a type of tablet, it cannot be dispensed at a dose containing a small number of tablets or less, such as "0.5 tablet", "1.5 tablet”, or "0.25 tablet". Therefore, if the tablet type included in the drug payout data includes a tablet type containing the number of tablets having a dose of a minority or less, the tablet payout is executed based on the drug payout data. Regarding the operation, the control unit 401 determines that the tablets of all tablet types cannot be dispensed from the drug cassette.
  • a tablet cassette 2 capable of dispensing less than one tablet can be attached to the tablet dispensing device 1, the tablets are dispensed at a dose including a minority number or less by using the tablet cassette 2. Since it may be possible to issue the tablet, even if the tablet type included in the drug withdrawal data includes the number of tablets having a dose of a minority or less, it is based on the drug withdrawal data. With respect to the tablet dispensing operation to be executed, whether or not tablets of all tablet types can be dispensed from the drug cassette is determined based on the mounted drug master.
  • the case where the same type of drug is used at a dose that does not include the number of decimal places and the case where it is used at a dose that includes the number of tablets below the decimal point are registered as separate records. May be good.
  • step S82 when the tablet dispensing operation is executed by the current tablet dispensing device 1 based on the estimated target data, the control unit 401 currently dispenses the tablets from the drug cassette in ascending order of frequency.
  • the tablet dispensing device 1 generates a first list showing the types of tablets that can be dispensed from the drug cassette.
  • mounted chemicals tablets that can be dispensed from the drug cassette by the tablet dispensing device 1
  • unmounted chemicals tablets that cannot be dispensed from the drug cassette by the tablet dispensing device 1
  • control unit 401 performs the tablet type of the mounted drug in ascending order of the number of tablet dispensing operations in which the tablet is dispensed from the drug cassette among the tablet dispensing operations executed based on the estimation target data.
  • the first list is generated.
  • the tablet types when the tablet types are arranged in ascending order of the number of tablet dispensing operations in which the tablets are dispensed from the drug cassette, the tablet types having the same rank are obtained.
  • the control unit 401 has a larger number of tablets to be dispensed in the tablet payout operation executed based on the estimation target data or an average value of the number of tablets (the number of tablets / the number of times of the tablet payout operation).
  • the first list may be generated so that the order of the tablet types is high.
  • the control unit 401 arranges the tablet types in ascending order of the number of tablets dispensed from the drug cassette. May be generated.
  • step S83 when the current tablet payout device 1 executes the tablet payout operation based on the estimation target data, the control unit 401 pays out the current tablet payout device in descending order of frequency of need for payout. 1 produces a second list showing the types of tablets for which tablets cannot be dispensed from the drug cassette.
  • the control unit 401 of the unmounted chemicals in descending order of the number of tablet dispensing operations in which tablets are not dispensed from the drug cassette.
  • the control unit 401 arranges the tablet types in descending order of the number of tablet dispensing operations in which the tablets are dispensed using the hand-spreading unit 302 among the tablet dispensing operations executed based on the estimation target data. It is conceivable to generate a second list.
  • the tablet types when the tablet types are arranged in descending order of the number of tablet dispensing operations in which tablets are not dispensed from the drug cassette, the tablet types having the same rank are used. If is present, the control unit 401 generates the second list so that the tablet type having the larger number of tablets to be dispensed is ranked higher in the tablet dispensing operation executed based on the estimation target data. May be good. Further, as another embodiment, in the tablet dispensing operation executed by the control unit 401 based on the estimation target data, the number of tablets not dispensed from the drug cassette or the average value of the number of tablets (the number of tablets /).
  • the second list may be generated in which the tablet types are arranged in descending order of the number of times of the tablet dispensing operation). For example, in the tablet dispensing operation executed based on the estimation target data, the control unit 401 arranges the tablet types in descending order of the number of tablets dispensed using the hand-spreading unit 302 or the average value. It is conceivable to generate two lists.
  • step S84 the control unit 401 outputs the simulation screen P11 used for setting and displaying the simulation process to the display unit 201 and displays it on the display unit 201.
  • FIG. 45 is a diagram showing an example of the simulation screen P11. As shown in FIG. 45, the control unit 401 displays the display areas A11 to A17 on which various information is displayed and the operation keys K11 to K14 that accept various operations on the simulation screen P11.
  • the first list generated in step S82 is displayed in the display area A11. Specifically, in the display area A11, the current tablet dispensing device 1 is executed in the tablet dispensing operation based on the estimation target data in ascending order of frequency with which the tablets are dispensed from the drug cassette. The drug code and drug name indicating the tablet type of the tablet that can be dispensed from the drug cassette in 1 are displayed together with the order.
  • the second list generated in step S83 is displayed in the display area A12. Specifically, in the display area A12, the tablet payout device 1 performs the tablet payout operation based on the estimation target data in descending order of the frequency with which the current tablet payout device 1 requires payout.
  • the drug code and drug name indicating the tablet type of the tablet that cannot be dispensed from the drug cassette are displayed together with the order.
  • the cassette type of the drug cassette corresponding to each tablet type is displayed. Specifically, when the drug cassette corresponding to the tablet type is the tablet cassette 2, the information of "A" or "B” corresponding to the A type or the B type is used as the cassette type of the tablet cassette 2. Is displayed. Further, when the drug cut corresponding to the tablet type is the tablet type fixed cassette, "-" indicating that fact is displayed. Thereby, the user can easily grasp the tablet types that can be dispensed by the tablet cassette 2 of the same cassette type among the tablet types displayed in each of the display area A11 and the display area A12.
  • the "drug M1" displayed in the display area A11 and the “drug M8” displayed in the display area A12 have the same cassette type "A", so that the "drug M1" is accommodated. It can be seen that the existing tablet cassette 2 can be used as the tablet cassette 2 for paying out the "medicine M8". Further, since both the “drug M2" displayed in the display area A11 and the “drug M6" displayed in the display area A12 are the tablet-type fixed cassettes, the "drug M2" is contained. It can be seen that the tablet-type fixed cassette can be replaced with the tablet-type fixed cassette corresponding to "drug M6".
  • the tablet type in which the cassette type of the tablet cassette 2 is displayed in the display area A12 is not limited to the tablet cassette 2 of the cassette type, and the tablet type fixed cassette can also be paid out.
  • the corresponding number of times indicating the total number of tablet dispensing operations executed based on all the drug dispensing data included in the estimation target data is displayed.
  • the drug withdrawal data is prescription data including a plurality of Rp data
  • at least two or more Rp data among the plurality of Rp data are collected once in the tablet dispensing device 1.
  • Tablet dispensing operation may be performed. That is, a bundling process may be performed in which a plurality of tablets of the same dosing time contained in two or more Rp data as drugs to be dispensed are packaged in one packaging paper.
  • the control unit 401 counts one tablet dispensing operation that aggregates a plurality of Rp data as one total number of times. For example, when a plurality of Rp data are integrated to generate one packaged data in the packaging process, the number of the packaged data may be counted as the total number of times.
  • the process of integrating the plurality of Rp data into one packaged data is executed by either the tablet dispensing device 1 or the control device 2.
  • the control unit 401 may count the number of a plurality of Rp data included in the drug payout data as the total number of times as another embodiment.
  • the second index value derived in step S83 is displayed in the display area A14. Specifically, in the display area A14, the total number of tablet dispensing operations executed based on all the drug dispensing data included in the estimation target data by the current tablet dispensing device 1 (the corresponding number of times in the display area A13). ), The mounting drug sufficiency rate indicating the rate and number of tablet dispensing operations in which tablets of all tablet types can be dispensed from the drug cassette and the numerical value indicating the number of mounted drug sufficiency are displayed as the second index value. Further, in the display area A14, a display area A141 in which the mounting chemical sufficiency rate is shown by a pie chart is displayed.
  • the first index value derived in step S88 described later is displayed. Specifically, in the display area A15, the total number of tablet dispensing operations executed based on all the drug dispensing data included in the estimation target data by the tablet dispensing device 1 after applying the estimation conditions described later ( Of the corresponding number of times in the display area A13), the numerical value indicating the mounted drug sufficiency rate and the mounted drug sufficiency indicating the rate and number of tablet dispensing operations in which tablets of all tablet types can be dispensed from the drug cassette is the first index. Displayed as a value. Further, in the display area A15, the display area A151 in which the mounting chemical sufficiency rate is shown by a pie chart is displayed.
  • comparison information indicating the comparison result between the first index value displayed in the display area A15 and the second index value displayed in the display area A14 is displayed.
  • information on whether or not the first index value is improved from the second index value is displayed as comparative information.
  • an image showing an up arrow is displayed below the character "effect" as information indicating that the first index value is improved from the second index value. Has been done.
  • the user can easily grasp the presence or absence of the effect of applying the estimation condition by looking at the display area A16.
  • the display area A16 when the first index value is improved from the second index value, the background is displayed in blue, and the first index value is improved from the second index value. If not, the background may be displayed in red.
  • the estimated values of the working hours and labor costs of the dispensing worker, which are reduced by applying the estimation conditions are displayed.
  • the control unit 401 needs to be charged into the hand-spreading unit 302 of the tablet dispensing device 1 in each of the tablet dispensing operations executed based on the estimated target data by applying the estimation conditions.
  • the value calculated by multiplying the decrease by a preset dispensing time coefficient is applied to the estimation condition. It is displayed as an estimated value of the working time of the dispensing worker reduced by.
  • the work time of the dispensing worker reduced by applying the estimation condition is one day obtained by dividing the total of the reduced work time by the number of dispensing days of the drug payout data included in the estimation target data. It is displayed as a unit value or a monthly value divided by the number of months to which the dispensing date of the drug withdrawal data included in the estimation target data belongs.
  • the control unit 401 reduces the value calculated by multiplying the working hours of the dispensing worker, which is reduced by applying the estimation condition, by a labor cost coefficient such as an hourly wage set in advance, by applying the estimation condition. It is displayed as an estimated value of the labor cost of the dispensing worker.
  • the total of the reduced labor cost is calculated as the dispensing date of the drug payout data included in the estimation target data in the same manner as the working time. It is displayed as a daily value divided by the number of days of, or a monthly value divided by the number of months to which the dispensing date of the drug withdrawal data included in the estimation target data belongs.
  • control unit 401 changes the criteria for determining the display order of the tablet types in the first list and the second list displayed in the display area A11 and the display area A12 according to the user operation of the operation key K11. Is possible. Specifically, the control unit 401 pays out the display order of the tablet type according to the operation of the operation key K11 by the "drug Rp number of times" based on the number of times the tablet payout operation is executed and the tablet payout operation. It is conceivable to make a judgment based on either the "number of tablets to be dispensed" based on the number of tablets to be dispensed or the "number of prescriptions to be dispensed” based on the number of executions of the tablet dispensing operation in units of prescription data. ..
  • the control unit 401 performs a tablet from the drug cassette out of the total number of tablet dispensing operations executed based on the estimated target data in the first list.
  • the tablet types are displayed side by side in ascending order of the number of tablet payout operations.
  • the control unit 401 describes the tablet in the first list in ascending order of the number of tablets to be dispensed in the tablet payout operation executed based on the estimation target data. Display the tablet types side by side.
  • the control unit 401 performs the tablet dispensing operation based on the prescription data out of the total number of the prescription data included in the estimation target data in the first list.
  • the tablet types are displayed side by side in ascending order of the number of prescription data to be paid out.
  • the control unit 401 performs the tablet dispensing operation according to the selection of the “drug Rp number”, the “drug dispensing number”, or the “drug prescribing number” with the operation key K11.
  • the tablet types are displayed side by side in descending order of the number of times, the number of tablets, or the number of prescription data.
  • control unit 401 executes a process of accepting a user operation for setting the range of the estimation target data, the extraction condition, and the like in response to the user operation of the operation key K12. Further, the control unit 401 executes a process for starting the adjustment of the tablet cassette 2 by the adjusting device 100 in response to the user operation of the operation key K13. For example, it is conceivable that the control unit 401 starts adjusting the tablet cassette 2 by the adjusting device 100 based on the selection state in the display area A11 and the display area A12.
  • step S85 the control unit 401 determines whether or not the user operation for selecting the tablet type of the mounted drug has been performed on the operation unit 402 in the display area A11.
  • the tablet type selection operation in the display area A11 is performed in a state where the cursor indicating the operation position of the mouse of the operation unit 402 is located in the specific tablet type to be selected. It is a left-click operation.
  • the control unit 401 may determine that the tablet type has been selected when the operation key for reflecting the selection is operated after the tablet type is selected in the display area A11.
  • step S86 the control unit 401 determines whether or not the user operation for selecting the tablet type of the unmounted drug has been performed on the operation unit 402 in the display area A12.
  • the tablet type selection operation in the display area A12 is a left-click operation of the mouse performed in a state where the cursor indicating the operation position of the mouse of the operation unit 402 is located in the specific tablet type. is there.
  • the process proceeds to step S87, and the tablet type of the unmounted drug is selected in the display area A12. If it is determined that the process has not been performed (S86: No), the process proceeds to step S90.
  • the control unit 401 may determine that the tablet type has been selected when the operation key for reflecting the selection is operated after the tablet type is selected in the display area A12.
  • step S87 the control unit 401 sets the estimation conditions according to the operations in the display areas A11 and A12. Specifically, the control unit 401 sets the estimation condition as the tablet type of the mounted drug selected in the display area A11 as the tablet type of the unmounted drug that cannot be dispensed from the tablet dispensing device 1. Using only the drug cassette mounted on the current tablet dispensing device 1, tablets of all tablet types included in the drug dispensing data as the payout target for each of the drug dispensing data included in the estimation target data. When determining whether or not the tablet can be dispensed, in the simulation in step S88 described later, it is assumed that the drug cassette corresponding to the tablet type selected in the display area A11 is not attached to the tablet dispensing device 1. Be treated.
  • the control unit 401 sets the estimation condition as the tablet type of the mounted drug selected in the display area A12 as the tablet type of the mounted drug that can be dispensed from the tablet dispensing device 1.
  • each of the drug dispensing data included in the estimation target data is a tablet of all tablet types included in the drug dispensing data as a payout target.
  • step S88 when the estimation conditions set in step S87 are applied, the control unit 401 executes a simulation of the tablet dispensing operation executed based on the estimation target data in the tablet dispensing device 1.
  • the first index value is derived as a simulation result.
  • the control unit 401 includes comparative information indicating the comparison result of the first index value and the second index value in the simulation, and the working time and labor of the dispensing worker reduced when the estimation condition is applied.
  • the estimated value of the cost is derived as the simulation result.
  • the control unit 401 is executed by the tablet dispensing device 1 based on all the drug dispensing data included in the estimation target data.
  • the mounted drug sufficiency rate and the number of mounted drug sufficiency indicating the ratio and number of tablet dispensing operations in which tablets of all tablet types can be dispensed from the drug cassette It is calculated as the first index value.
  • step S89 the control unit 401 outputs the first index value derived in step S88, the comparison information, the reduced working time, the labor cost, and the like as simulation results.
  • the step S89 is an example of the second step according to the present invention, and is executed by the second processing unit 423 of the control unit 401. Specifically, as shown in FIG. 45, the control unit 401 displays the simulation result in the display area A15 of the simulation screen P11.
  • the control unit 401 may be able to reflect the content of the estimation condition in the simulation in the mounted chemical master in response to a specific user operation on the simulation screen P11.
  • step S90 when the end operation for ending the simulation process is performed (S90: Yes), the control unit 401 ends the simulation process, and if the end operation is not performed (S90: No), The process returns to step S85.
  • the end operation is an operation of the operation key K14 on the simulation screen P11.
  • the simulation function when the estimation condition is applied, the simulation result of the tablet dispensing operation executed by the tablet dispensing device 1 based on the estimation target data is output. Thereby, the user can select the tablet type of the tablet to be contained in the drug cassette of the tablet dispensing device 1 with reference to the simulation result. Further, the first index value and the second index value corresponding to before and after the application of the estimation condition are displayed, and the higher the value of the first index value and the second index value, the more to the hand-spreading unit 302. This indicates that the load of the tablet loading operation is reduced.
  • the user can dispense tablets of all tablet types from the drug cassette with the tablet dispensing device 1, and tablets to the hand-spreading unit 302. It is possible to perform a simulation for selecting the tablet type of the mounted drug so that the ratio or the number of tablet dispensing operations that require the loading operation of the tablet is reduced.
  • the control unit 401 selects the tablet type displayed in the display area A12 as the tablet selected in the display area A11.
  • the tablet type may be limited to be accommodated in the tablet cassette 2 of the same cassette type as the cassette type of the tablet cassette 2 corresponding to the type.
  • the user subsequently stores the tablet in the tablet cassette 2 from the tablet types of the tablets that can be used in the tablet cassette 2. It is possible to easily select the tablet type of the tablet to be used.
  • the control unit 401 can accommodate the tablets in the tablet cassette 2 of the same cassette type as the cassette type of the tablet cassette 2 corresponding to the tablet type. Only the tablet type may be displayed in the display area A11.
  • the control unit 401 executes a process of accepting a user operation for setting the extraction conditions of the estimation target data in the simulation process. To do. Specifically, the control unit 401 causes the display unit 201 to display the detailed simulation screen P12 in which the extraction conditions of the estimation target data can be set in response to the operation of the operation key K12 on the simulation screen P11. The control unit 401 alternately switches between the simulation screen P11 and the detailed simulation screen P12 in response to the operation of the operation key K12, and causes the display unit 201 to display the simulation screen P11.
  • the initial display screen in the simulation process may be the detailed simulation screen P12.
  • FIG. 46 is a diagram showing an example of the detailed simulation screen P12 displayed when the operation key K12 is operated.
  • the parts of the detailed simulation screen P12 that are different from the simulation screen P11 will be mainly described, and the description of the same contents will be omitted.
  • the control unit 401 indicates the number of times the tablet payout operation is executed for each tablet type as a payout target in the display area A11 and the display area A12. "Number of times” is displayed.
  • the control unit 401 may also display the "Rp number of times” in the display area A11 and the display area A12 of the simulation screen P11.
  • the display order of the tablet type is set to "drug Rp count” by operating the operation key K11
  • the "Rp count” is displayed in the display areas A11 and A12
  • the "drug dispensed tablet count” is displayed. If set, it is possible that the "number of tablets” is displayed in the display areas A11 and A12, or the "Rp number of times” is not displayed in the display areas A11 and A12.
  • the detailed simulation screen P12 displays a display area A21 for setting the extraction conditions of the estimation target data, the display conditions of the first list and the second list, and the like. .. Further, on the detailed simulation screen P12, an operation key K15 for accepting a simulation start operation is also displayed.
  • the control unit 401 sets the execution type of "prescription” indicating the execution unit of the tablet dispensing operation to either “individual” or “collective” as the extraction condition of the estimation target data. It is possible to accept user operations for setting.
  • “individual” is selected when the drug payout data when the drug payout operation is executed individually for each patient or the user is used as the estimation target data.
  • “batch” refers to a plurality of the drug dispensing data when the drug dispensing operation is collectively executed for a plurality of patients or users belonging to a group such as a facility unit in which the drug dispensing operation is preset. It is selected when it is used as the estimation target data.
  • control unit 401 executes the "prescription" selected in the display area A21 based on the execution type history stored in association with the drug payout data (prescription data) stored in the storage unit 202.
  • the drug payout data corresponding to the type is extracted as the estimation target data.
  • control unit 401 can accept a user operation for setting the "day of the week” of the dispensing date as the extraction condition of the estimation target data in the display area A21. It should be noted that a plurality of days of the week may be selectable as the extraction condition of the "day of the week”. Further, the control unit 401 can accept a user operation for setting the range of the "dispensing date” as the extraction condition of the estimation target data in the display area A21. In addition, the control unit 401 can accept a user operation for setting various information such as "clinical department", “prescription classification", and “ward” as extraction conditions of the estimation target data in the display area A21. .. Further, when "Batch” is selected as the execution type of "Prescription” in the display area A21, the control unit 401 uses the "Batch code” that can identify the group as the extraction condition of the estimation target data. It is possible to accept user operations for setting.
  • control unit 401 sets display conditions in the display area A21 for narrowing down the tablet types to be displayed in the display area A11 and the display area A12 by the cassette type of the drug cassette to which the tablet of the tablet type can be dispensed. It is possible to accept user operations for. Specifically, the control unit 401 has any one of "A type", “B type”, “C type”, “fixed”, “excluding fixed”, and “all” as the type of "cassette type” of the chemical cassette. It is possible to accept user operations that selectively select. Note that “fixed” is selected when only the tablet-type fixed cassette is to be displayed. Further, “exclude fixed” is selected when excluding the tablet-type fixed cassette from the target.
  • control unit 401 selects two or more cassette types from a plurality of cassette types such as “A type”, “B type”, “C type”, and “fixed” in the display area A21. It may be possible to accept user operations for this purpose.
  • the control unit 401 can accept a user operation for setting the number of tablets to be displayed in the first list and the second list in the display area A11 and the display area A12 as display conditions. ..
  • the tablet types displayed in the display area A11 and the display area A12 according to the user operation of the operation key K11 are displayed in the first list and the second list. It is also possible to set a judgment criterion of ranking as a display condition.
  • the control unit 401 performs the extraction.
  • the drug dispensing data which is the estimation target data, is extracted based on the conditions, the simulation is executed, and the tablet types are displayed in the first list and the second list based on the display conditions.
  • the control unit 401 executes the simulation process from step S81. Then, in the simulation process, the control unit 401 displays the execution type of "prescription” among the drug payout data stored in the storage unit 202 based on the history information stored in the storage unit 202. It matches the execution type of "prescription” set in the "prescription” column of the area A21, the dispensing date is within the range of the date set in the "dispensing date” column of the display area A21, and the "day”. , "Clinical department”, “prescription classification”, “ward”, and “collective code”, the drug payout data matching the contents set in the fields is extracted as the estimation target data. In addition, either one or both of the drug payout data and the history information is stored in the tablet payout device 1, and the control unit 401 receives one or both of the drug payout data and the history information from the tablet payout device 1. Is also conceivable to read.
  • the control unit 401 generates the first list and the second list based on the estimation target data, and the first list and the first list of the number set in the "display number" column of the display area A21. 2
  • the list is displayed in the display area A11 and the display area A12, respectively.
  • the control unit 401 sets the tablet type to be displayed in the first list and the second list of the display area A11 and the display area A12 in the "cassette type" column of the display area A21. Narrow down to the tablet types of tablets that can be dispensed with a cassette.
  • control unit 401 is a tablet of a tablet that can be dispensed with the drug cassette of the cassette type whose display target is set in the "cassette type" column of the display area A21 in either the first list or the second list. It may be possible to narrow down to the type.
  • the display area A11 is displayed on the left side and the display area A12 is displayed on the right side, but the display positions may be reversed.
  • the control unit 401 pays out the drug when a history display operation preset for the specific tablet type is performed in the first list and the second list of the display area A11 and the display area A12.
  • the history screen P13 showing the history may be displayed.
  • the history display operation is a right-click operation of the mouse performed in a state where the cursor indicating the operation position of the mouse of the operation unit 402 is located in the specific tablet type to be selected.
  • FIGS. 49 and 50 are diagrams showing an example of the history screen P13, and FIG. 49 is an example of the history screen P13 when "individual” is selected as the execution type of the "prescription". , FIG. 50 is an example of the history screen P13 when "Batch" is selected as the execution type of "Prescription".
  • the dispensing date, dose, usage name, and number of days are displayed for the drug to be selected, and on the history screen P13 shown in FIG. 50, the drug to be selected is displayed.
  • the batch code, dose, dose name, and number of days are displayed for.
  • control unit 401 excludes a preset tablet type of one or a plurality of specific excluded drugs from the tablet types to be displayed in the second list of the display area A12 of the simulation screen P11 or the detailed simulation screen P12. May be possible.
  • the control unit 401 can accept the setting of the tablet type of the excluded drug from the display target in the second list according to the user operation in the initial setting or the like.
  • "blank printing" used when outputting an empty package in which tablets are not packaged on the packaging paper from the tablet dispensing device 1 may be registered as a kind of drug for convenience. is there.
  • the drug payout data includes "blank print" as a prescription drug, an empty packing paper is output in the tablet payout operation executed by the tablet payout device 1.
  • “blank print” when such "blank print” is often used, “blank print” may be displayed in the second list of the display area A12, and the display area of the display area A12 is wasted. It may be used and reduce the amount of information useful to the user.
  • "blank printing” is set as the tablet type of the excluded drug, the tablet type of the excluded drug is not displayed in the second list, so that the user is presented with as much useful information as possible. It is possible.
  • the excluded chemicals include chemicals that are not suitable for withdrawal from the chemical cassette, such as chemicals that are sensitive to moisture, or half tablets or 1/4 that are generally less than 1 tablet per dose. It is conceivable that chemicals including tablets will be registered.
  • the drug cassette that can be attached to the tablet dispensing device 1 is one in which tablets cannot be dispensed in units of less than one tablet, such as half tablets or 1/4 tablets, the number of tablets after the decimal point is included.
  • the tablet type of the tablet, which is often dispensed by dose, is easily displayed in the second list.
  • tablets that are often used at doses that include the number of tablets after the decimal point cannot be dispensed from the drug cassette even if they are set as the mounting drug.
  • the mounting chemical sufficiency rate does not improve.
  • the control unit 401 when the control unit 401 generates the second list, the number of times of the tablet dispensing operation when the dose is the number of tablets after the decimal point is set to "Rp" corresponding to the tablet type of the tablet that cannot be dispensed from the drug cassette. It is conceivable that the number of times is not counted. As a result, in the second list, it is possible to preferentially present to the user a tablet type in which the sufficiency rate of the mounted drug is likely to be improved by registering as the mounted drug.
  • Multiple connection simulation function As described above, a plurality of tablet dispensing devices 1 may be connected to the drug dispensing system 500.
  • the control unit 401 has a plurality of connection simulation functions for executing the simulation process for the plurality of tablet dispensing devices 1.
  • an example of the simulation process executed by the multiple connection simulation function will be described by taking as an example a case where the drug dispensing system 500 includes two tablet dispensing devices 1. When distinguishing between the two tablet dispensing devices 1, they may be referred to as "Unit 1 tablet dispensing device 1" and "Unit 2 tablet dispensing device 1".
  • the drug stored in the drug master and which can be dispensed from the drug cassette is stored in the storage unit 202 of the control device 200.
  • the mounted drug master in which is registered is stored in association with each tablet dispensing device 1. That is, in the drug dispensing system 500, the chemicals that can be dispensed from the chemical cassette can be individually set for each tablet dispensing device 1, and the chemicals that can be dispensed from the chemical cassette may differ for each tablet dispensing device 1.
  • the control unit 401 refers to the mounted drug master corresponding to each of the tablet dispensing devices 1, and if the contents of the mounted drug master are different, FIG. 47. And as shown in FIG. 48, switching tabs T11 and T12 for switching and displaying the first list and the second list corresponding to each of the tablet dispensing devices 1 are displayed. If the contents of the mounted drug master corresponding to each of the tablet dispensing devices 1 are the same, or if one mounted drug master is commonly used for each of the tablet dispensing devices 1, the tablet The switching tabs T11 and T12 for switching and displaying the first list and the second list corresponding to each of the payout devices 1 may not be displayed.
  • the control unit 401 indicates that the number of connected tablet dispensing devices 1 in the drug dispensing system 500 or that a plurality of tablet dispensing devices 1 are connected. Can be displayed on the detailed simulation screen P12. Further, although the detailed simulation screen P12 will be described as an example here, the same applies to the simulation screen P11.
  • step S81 of the simulation process the control unit 401 performs the tablet dispensing device 1 in a state before the estimation conditions corresponding to the tablet dispensing device 1 are not applied to the tablet dispensing device 1.
  • the second index value corresponding to the drug dispensing operation executed based on the estimation target data in the tablet dispensing device 1 is derived.
  • the second index value is derived based on the mounted drug master corresponding to the tablet dispensing device 1 and the estimation target data. That is, the control unit 401 includes all the drug payout data included in the estimation target data in the second index value when it is assumed that the tablet payout device 1 of Unit 1 pays out, and the estimation target data.
  • the second index value when it is assumed that all the drug payout data to be paid out by the tablet payout device 1 of Unit 2 is derived. As described above, since the mounted drug master is registered for each tablet dispensing device 1, the second index value derived here may differ for each tablet dispensing device 1.
  • the control unit 401 dispenses the tablets for each tablet dispensing device 1 based on the mounted drug master corresponding to the tablet dispensing device 1 and the estimation target data.
  • the first list and the second list corresponding to each device 1 are generated. That is, when the tablet dispensing operation of the control unit 401 is executed based on the estimation target data in the tablet dispensing device 1 of the first unit, the tablet type that can be dispensed from the drug cassette by the tablet dispensing device 1 of the first unit is determined.
  • the first list shown and the second list showing the types of tablets for which tablets cannot be dispensed from the drug cassette are generated by the tablet dispensing device 1 of Unit 1.
  • control unit 401 can dispense from the drug cassette in the tablet dispensing device 1 of the second unit when the tablet dispensing operation is executed in the tablet dispensing device 1 of the second unit based on the estimated target data.
  • the first list showing the above and the second list showing the types of tablets for which tablets cannot be dispensed from the drug cassette are generated by the tablet dispensing device 1 of Unit 2.
  • the control unit 401 sets the tablet dispensing device 1 for the plurality of tablet dispensing devices 1 in response to the selection operation of the plurality of switching tabs T11 and T12 on the detailed simulation screen P12. It is possible to display the first list and the second list corresponding to each.
  • the control unit 401 sets the estimation conditions corresponding to each tablet dispensing device 1 in steps S85 to S87 of the simulation process. Specifically, in the state where the switching tab T11 is selected, the control unit 401 determines the tablet type of the mounted drug and the unmounted drug in the first list and the second list corresponding to the tablet dispensing device 1 of the first unit. Depending on the selection of, the tablet type of the unmounted drug that cannot be dispensed from the tablet dispensing device 1 of Unit 1 and the tablet type of the mounted drug that can be dispensed from the tablet dispensing device 1 of Unit 1 are selected. This is set as the estimation condition of the tablet dispensing device 1. For example, in FIG. 47, in the display area A11, “drug M1” and “drug M3” are selected as unmounted chemicals in the estimation condition, and in the display area A12, “drug M7” is selected as the mounted chemical in the estimated condition. Has been done.
  • the control unit 401 sets the tablet types of the mounted drug and the unmounted drug in the first list and the second list corresponding to the tablet dispensing device 1 of the second unit.
  • the tablet type of the unmounted drug that cannot be dispensed from the tablet dispensing device 1 of Unit 2 and the tablet type of the mounted drug that can be dispensed from the tablet dispensing device 1 of Unit 2 are selected. It is set as the estimation condition of the tablet dispensing device 1. For example, in FIG. 48, in the display area A11, “drug M2” and “drug M3” are selected as unmounted chemicals in the estimation condition, and in the display area A12, “drug M6” is selected as the mounted chemical in the estimated condition. Has been done.
  • control unit 401 individually accepts the setting of the estimation condition corresponding to each tablet dispensing device 1 according to the selection of the tablet type in the first list and the second list corresponding to each tablet dispensing device 1. It is possible.
  • the estimation condition setting process is executed by the first processing unit 422 of the control unit 401.
  • step S88 of the simulation process the control unit 401 uses the tablet dispensing device 1 when the estimation conditions corresponding to the drug dispensing device 1 are applied to the tablet dispensing device 1 for each tablet dispensing device 1.
  • the first index value corresponding to the drug dispensing operation executed based on the estimation target data is derived. That is, the control unit 401 derives the first index value for each tablet dispensing device 1 based on the mounted drug master corresponding to the tablet dispensing device 1, the estimation conditions, and the estimation target data. .. As described above, since the mounted drug master is registered for each tablet dispensing device 1, the first index value derived here may differ for each tablet dispensing device 1.
  • the control unit 401 has the smallest first index value, the largest first index value, and the smallest second index value among the first index value and the second index value corresponding to each of the tablet dispensing devices 1.
  • the index value, the maximum second index value, and the like are output as the simulation result.
  • the display area A14 displays the range between the minimum second index value and the maximum second index value numerically
  • the display area A15 displays the range.
  • the range between the minimum first index value and the maximum first index value is displayed numerically.
  • the control unit 401 causes the pie chart displayed in the display area A141 to display the minimum area A142 showing the second index value and the maximum area A143 showing the second index value.
  • the control unit 401 displays the minimum area A152 showing the first index value and the maximum area A153 showing the first index value.
  • the display mode A142 and the display area A143 of the pie chart of the area A141 have different display modes such as color scheme
  • the display mode A152 and the display area A153 of the pie chart of the display area A151 have different display modes such as color scheme. ..
  • In the display area A14 and the display area A141 only one of the minimum second index value and the maximum second index value may be displayed.
  • the display area A15 and the display area A151 may display only one of the minimum second index value and the maximum second index value. Only one of the minimum first index value and the maximum first index value may be displayed.
  • the control unit 401 performs the drug dispensing operation based on the plurality of drug dispensing data when the estimation condition is not applied in step S81 of the simulation process.
  • a fourth index value including at least one of the ratio or the number of drug dispensing operations that can be dispensed from the drug cassette is derived in any of the plurality of tablet dispensing devices 1 for all tablet types included in the payout data as a payout target. It is conceivable to do. That is, when the estimation conditions are not applied, the control unit 401 applies each of the drug dispensing data included in the estimation target data to either the tablet dispensing device 1 of the first unit or the tablet dispensing device 1 of the second unit. Even when assigned, the rate or number of chemical dispensing operations that can be dispensed from the chemical cassette is derived as the fourth index value.
  • the control unit 401 performs the drug dispensing operation among the drug dispensing operations executed based on the plurality of drug dispensing data when the estimation condition is applied in step S88 of the simulation process.
  • a third index value including at least one of the ratio or the number of drug dispensing operations that can be dispensed from the drug cassette in any of the plurality of tablet dispensing devices 1 for all tablet types included in the drug dispensing data as a payout target. It is conceivable to derive it. That is, when the estimation conditions are applied, the control unit 401 assigns each of the drug dispensing data included in the estimation target data to either the tablet dispensing device 1 of the first unit or the tablet dispensing device 1 of the second unit. Even in such a case, the ratio or the number of times of the chemical dispensing operation that can be dispensed from the chemical cassette is derived as the third index value.
  • the control unit 401 has the maximum first index value and the maximum second index value among the first index value and the second index value corresponding to each of the tablet dispensing devices 1, and the third index value. And the fourth index value are output as the simulation result. Specifically, as shown in FIGS. 47 and 48, the display area A14 is displayed with a numerical value in the range between the fourth index value and the maximum second index value, and the display area A15 is displayed with the second index value. The range between the three index values and the maximum first index value is displayed numerically. Further, the control unit 401 causes the pie chart displayed in the display area A141 to display the area A142 showing the fourth index value and the area A143 showing the maximum second index value.
  • the control unit 401 causes the pie chart displayed in the display area A151 to display the area A152 showing the third index value and the area A153 showing the maximum first index value.
  • the display area A14 and the display area A141 only one of the fourth index value and the maximum second index value may be displayed.
  • the first index value and the maximum second index value may be displayed. Only one of the three index values and the maximum first index value may be displayed.
  • the fourth index value and the minimum second index value may be displayed.
  • the third index value and the minimum value may be displayed. The first index value of the above may be displayed.
  • the tablet dispensing device 1 that executes the tablet dispensing operation based on the drug dispensing data included in the estimation target data, only one of the tablet dispensing device 1 of Unit 1 and the tablet dispensing device 1 of Unit 2 can be selected. Configuration is also conceivable. In this case, since there is no error in the mounting chemical sufficiency rate, the area A143 of the pie chart of the display area A141 and the area A153 of the pie chart of the display area A151 are not displayed.
  • the control unit 401 refers to the drug payout data for the drug payout data in which the tablet payout operation is executed by the tablet payout device 1 of the first unit among the plurality of drug payout data included in the estimation target data.
  • the number of times the mounted chemicals are filled which indicates the number of times the chemicals can be dispensed from the chemical cassette in the tablet dispensing device 1 of Unit 1, for all the chemicals of the chemical type included in the subject to be dispensed, is calculated.
  • the control unit 401 also has the drug payout data for the drug payout data in which the tablet payout operation is executed by the tablet payout device 1 of Unit 2 among the plurality of drug payout data included in the estimation target data.
  • the number of times the mounted chemicals are filled which indicates the number of times the chemicals are dispensed from the chemical cassette, is calculated in the tablet dispensing device 1 of Unit 2 for all the chemicals of the chemical type included in the subject to be dispensed.
  • the control unit 401 may derive a value (total number of times of filling of the mounted chemicals / total number of times) obtained by dividing the number of times of filling of both the mounted chemicals by the total number of times (corresponding number of times) as the specific number of times of filling the mounted chemicals. It is possible. Therefore, even in this case, it is conceivable that the pie chart area A143 of the display area A141 is not displayed.
  • the control unit 401 performs a detailed simulation. In the display area A21 of the screen P12, it may be possible to accept the input of "device information of the tablet dispensing device" as the extraction condition. In this case, the control unit 401 extracts the drug payout data in which the tablet payout operation is executed by the tablet payout device 1 having the machine number input in the “tablet payout device unit information” as the estimation target data.
  • the case where the mounted drug master corresponding to the tablet dispensing device 1 is stored in the storage unit 202 and the estimation condition can be set for each tablet dispensing device 1 is taken as an example. I explained.
  • a number of the mounted drug masters smaller than the number of the tablet dispensing devices 1 is stored in the storage unit 202, and a plurality of tablet dispensing devices 1 are associated with the same mounted drug master.
  • the situation is also possible. For example, it is conceivable that three tablet dispensing devices 1 are connected to the tablet dispensing system 500, and the two mounted drug masters are stored in the storage unit 202.
  • control unit 401 can individually accept the setting of the estimation condition for each mounted drug master instead of the configuration that can individually accept the setting of the estimation condition for each tablet dispensing device 1. Can be considered. Then, in the simulation process, the control unit 401 uses the tablet dispensing device 1 associated with the mounted drug master when the estimation conditions corresponding to the mounted drug master are applied to each mounted drug master. It is conceivable to output simulation results such as the first index value or the third index value for the drug dispensing operation executed based on the plurality of drug dispensing data. The same applies to the second index value.
  • control unit 401 is executed by the tablet dispensing device 1 associated with each of the mounted drug masters based on the plurality of drug dispensing data. It is conceivable to output simulation results such as the second index value or the fourth index value for the chemical dispensing operation.
  • a plurality of the mounted drug masters are stored in the storage unit 202, and the control unit 401 stores the mounted drug master associated with the tablet dispensing device 1 in the storage unit 202.
  • a configuration that can be selected from the plurality of mounted chemical masters is also conceivable. In this case as well, it is conceivable that the control unit 401 can individually accept the setting of the estimation condition for each of the mounted chemical masters. Then, in the simulation process, the control unit 401 uses the tablet dispensing device 1 associated with the mounted drug master when the estimation conditions corresponding to the mounted drug master are applied to each mounted drug master.

Abstract

【課題】薬品カセットから払い出し可能な薬品種別の効果的な選定を支援することが可能な薬品払出システム及び薬品払出プログラムを提供すること。 【解決手段】本発明に係る薬品払出システム500は、薬品払出データに基づいて一又は複数の薬品種別の薬品を払い出す薬品払出動作を実行可能な薬品払出装置で前記薬品払出動作において薬品カセットから払い出し可能な薬品の薬品種別の選定に関する推定条件を受け付ける第1処理部422と、前記第1処理部422により受け付けられた前記推定条件を適用した場合に複数の前記薬品払出データに基づいて実行される前記薬品払出動作のシミュレーション結果を出力する第2処理部423とを備える。

Description

薬品払出システム、薬品払出プログラム
 本発明は、薬品払出装置により薬品カセットから薬品を払い出す薬品払出動作のシミュレーションが実行可能な薬品払出システム及び薬品払出プログラムに関する。 
 各種の薬品を自動で払い出し可能な薬品払出装置には、予め定められた種別の薬品を払い出すことが可能な薬品カセットが複数設けられる(例えば、特許文献1参照)。 
国際公開第2011/024852号
 ところで、薬品払出装置に搭載される薬品カセット各々から払い出し可能な薬品種別が当該薬品払出装置の利用状況に応じて適切に選択されていなければ、当該薬品払出装置の利用効率が低下するおそれがある。 
 本発明の目的は、薬品カセットから払い出し可能な薬品種別の効果的な選定を支援することが可能な薬品払出システム及び薬品払出プログラムを提供することにある。 
 本発明に係る薬品払出システムは、薬品払出データに基づいて一又は複数の薬品種別の薬品を払い出す薬品払出動作を実行可能な薬品払出装置で前記薬品払出動作において薬品カセットから払い出し可能な薬品の薬品種別の選定に関する推定条件を受け付ける第1処理部と、前記第1処理部により受け付けられた前記推定条件を適用した場合に複数の前記薬品払出データに基づいて実行される前記薬品払出動作のシミュレーション結果を出力する第2処理部とを備える。 
 本発明に係る薬品払出プログラムは、薬品払出データに基づいて一又は複数の薬品種別の薬品を払い出す薬品払出動作を実行可能な薬品払出装置で前記薬品払出動作において薬品カセットから払い出し可能な薬品の薬品種別の選定に関する推定条件を受け付ける第1ステップと、前記第1ステップで受け付けられた前記推定条件を適用した場合に複数の前記薬品払出データに基づいて実行される前記薬品払出動作のシミュレーション結果を出力する第2ステップと、を一又は複数のプロセッサーに実行させるための薬品払出プログラムである。 
 本発明によれば、薬品カセットから払い出し可能な薬品種別の効果的な選定を支援することが可能な薬品払出システム及び薬品払出プログラムが提供される。 
図1は、調整装置を備えた錠剤収納取出装置の斜視図である。 図2は、錠剤カセットとベースの斜視図である。 図3は、錠剤カセットの蓋を取り外した状態の斜視図である。 図4は、錠剤カセットの底から見た斜視図である。 図5は、カセット本体の断面図である。 図6は、錠剤カセットのロータを取り外した状態の斜視図である。 図7は、カセット本体のロータ駆動部の分解斜視図である。 図8Aは、カセット本体の仕切調整機構の分解斜視図である。 図8Bは、仕切部材の進入位置を示すカセット本体の断面図である。 図9は、ロータの全体斜視図である。 図10は、ロータの底から見た斜視図である。 図11は、深さ調整機構の分解斜視図である。 図12は、高さ調整機構の分解斜視図である。 図13は、幅調整機構の分解斜視図である。 図14は、深さ調整機構による深さの調整状態を説明するカセット本体の断面図である。 図15は、高さ調整機構による高さの調整状態を説明するカセット本体の断面図である。 図16は、幅調整機構による幅の調整状態を説明する可動部材と幅調整部材の平面図(a)及び底面図(b)である。 図17は、調整装置の斜視図である。 図18は、調整装置の内部の前方から見た斜視図である。 図19は、調整装置の内部側面図である。 図20は、調整装置の後部フレームの平面図である。 図21は、調整装置のセンサ取付台の平面図である。 図22は、調整軸の分解斜視図である。 図23は、調整装置の内部の後方から見た斜視図である。 図24は、調整装置の制御システム図である。 図25は、調整装置の制御フローチャートである。 図26は、調整装置に錠剤カセット及びロータを装着した状態を示す斜視図である。 図27は、調整装置による深さ調整状態を示す一部拡大斜視図である。 図28は、調整装置による高さ調整状態を示す一部拡大斜視図である。 図29は、調整装置による幅調整状態を示す一部拡大斜視図である。 図30は、調整装置による仕切部材の進入位置の調整状態を示す一部拡大側面図である。 図31は、調整装置のロータ載置部とセンサ取付台の変形例を示す斜視図(a)、ロータ載置部を取り外した状態を示す斜視図(b)である。 図32は、薬品払出システムで用いられる情報の一例を示す図である。 図33は、薬品払出システムを示すブロック図である。 図34は、薬品払出システムで実行される割当開始処理の一例を示すフローチャートである。 図35は、薬品払出システムで表示される表示画面の一例を示す図である。 図36は、薬品払出システムで表示される表示画面の一例を示す図である。 図37は、薬品払出システムで表示される表示画面の一例を示す図である。 図38は、薬品払出システムで実行されるカセット調整処理の一例を示すフローチャートである。 図39は、薬品払出システムで実行されるカセット調整処理の一例を示すフローチャートである。 図40は、薬品払出システムで実行されるロータ清掃処理の一例を示すフローチャートである。 図41は、薬品払出システムで出力されるラベルの一例を示す図である。 図42は、薬品払出システムで実行される錠剤払出処理の一例を示すフローチャートである。 図43は、薬品払出システムで実行される充填処理の一例を示すフローチャートである。 図44は、薬品払出システムで実行されるシミュレーション処理の一例を示すフローチャートである。 図45は、薬品払出システムで実行されるシミュレーション処理における表示画面の一例を示す図である。 図46は、薬品払出システムで実行されるシミュレーション処理における表示画面の一例を示す図である。 図47は、薬品払出システムで実行されるシミュレーション処理における表示画面の一例を示す図である。 図48は、薬品払出システムで実行されるシミュレーション処理における表示画面の一例を示す図である。 図49は、薬品払出システムで実行されるシミュレーション処理における表示画面の一例を示す図である。 図50は、薬品払出システムで実行されるシミュレーション処理における表示画面の一例を示す図である。
 以下、本発明の実施形態を添付図面に従って説明する。
 図1は、処方に応じた種類と個数の錠剤を払い出すことができる錠剤払出装置1を示す。錠剤払出装置1には、多数の錠剤カセット2がそれぞれのベース3に着脱可能に設けられている。錠剤払出装置1の横に設けられた台4には、本発明に係る調整装置100が設置されている。まず、錠剤カセット2の構造について説明した後、調整装置100について説明する。なお、本発明でいう「錠剤」には、狭義の錠剤のほか、カプセル錠、糖衣錠など錠剤カセット2で払出可能な薬剤を含む。 
 図2は、錠剤払出装置1に装着される錠剤カセット2及びベース3を示す。錠剤カセット2は、カセット本体5と、該カセット本体5の上方開口を開閉かつ着脱可能に覆う蓋6と、カセット本体5の下部に設けられたスカート部7と、図3に示すようにカセット本体5に収容されたロータ8とを含む。 
 蓋6の上面とスカート部7の正面には、錠剤カセット2に収容される錠剤を識別することができるラベル又はカードが収容されるポケット6a、7aが形成されている。図4に示すように、スカート部7の内側面には、図2に示すベース3の装着ガイド3aに摺接するスライド部7bと、装着ガイド3aの係止部3bに係合する弾性係合片7cとが設けられている。 
<カセット本体の構造>
 図5に示すように、カセット本体5は、上方に開口する矩形の上部5aと、逆円錐状の傾斜部5bと、円筒筒状部5cと、底部5dとを含む。底部5dから傾斜部5bまでの内部空間には、ロータ8が収容されるとともに、ロータ8より上方に多数の錠剤Tが収容可能になっている。傾斜部5bの下部から底部5dにかけて錠剤排出孔9が形成されている。錠剤排出孔9は、図2に示すベース3に形成された錠剤排出路3cに連通している。カセット本体5の外側には、仕切部材20と、該仕切部材20の位置を調整する後述する仕切調整機構M1とが取り付けられている。該仕切部材20の先端は傾斜部5bの外側から錠剤排出孔9の上方に形成された図6に示すスリット9aを介して内側に差し込まれている。底部5dの中央には、図6に示すロータ駆動部10が収容されるロータ軸孔11が形成されている。 
<ロータ駆動部>
 図7に示すように、ロータ駆動部10は、ロータ軸孔11に貫通する駆動軸12と、該駆動軸12の上端に係合して該駆動軸12と一体に回転する係合軸13と、駆動軸12の下端に係合して該駆動軸12と一体に回転する駆動ギア14と、係合軸13、駆動軸12及び駆動ギア14を貫通してこれらを一体化する中心軸15とを含む。係合軸13は、駆動軸12の上端面に当接する円形の基部13aと、該基部13aの外周縁から下方に突出する周6等配位置にある係合片13bと、隣接する係合片13bの下端を連結する連結部13cとを含む。係合片13b及び連結部13cの内面は、リング16を介して、ロータ軸孔11の縁に設けられた環状突起11aの外周面に摺動自在に設けられている。係合片13bは、ロータ8を装着したときに、図10に示すロータ8の係合凹部41aの係合片44間のスリット44aに係合して、ロータ駆動部10の回転力をロータ8に伝達する。なお、ロータ8には種々の大きさのものがあるが、ロータ8のカセット本体5のロータ駆動部10への装着間違いを防止するために、ロータ8の大きさ毎に、係合片13b及びスリット44aの数を6個、5個、4個にしてもよい。中心軸15の上端には、鍔15a及び孔15bが形成されている。中心軸の孔15bには、環状の磁石15cが3個の積重ねられた状態で挿入され、ねじ15dで固定されている。磁石15cは、1個の円柱状のものでもよい。中心軸15の下端は、図4に示すカセット本体5の底部5dに取り付けられたギアカバー17を貫通してC形止め輪15eにより抜け止めされている。駆動ギア14は、図4に示す中間ギア18を介して、図2に示すベース3のモータギア3dに係合して駆動されるようになっている。モータギア3dは、ベース3に装着された錠剤カセット2から錠剤を払い出す際に駆動されるモータに連結されており、当該モータの駆動力がモータギア3dから駆動ギア14に伝達されることにより、錠剤カセット2から錠剤が払い出される。 
 駆動ギア14には、図4に示すように、カセット本体5の底面に設けられた係止レバー19の一端の係止爪19aが係止している。係止レバー19の他端の作動部19bは錠剤カセット2の装着方向に延びている。錠剤カセット2をベース3に装着すると、係止レバー19の作動部19bが図2に示すベース3の所定の当接部3eに当接して係止レバー19をばね19cの付勢力に抗して回動させ、係止爪19aが駆動ギア14から離脱して、駆動ギア14が回転駆動可能となる。また、錠剤カセット2をベース3から引き出すと、係止レバー19の作動部19bがベース3の当接部3eから離れ、係止レバー19がばね19cの付勢力で回動し、係止爪19aが駆動ギア14に係止して、駆動ギア14の回転が阻止される。この結果、引き出した錠剤カセット2のロータ8の不意の回転により錠剤Tが落下するのを防止することができる。 
<仕切調整機構>
 図8Aに示すように、仕切部材20は、上に凸に湾曲した櫛状に形成されている。仕切部材20は、仕切調整機構M1によりロータ8に対して進退移動可能になっている。仕切調整機構M1は、第1固定部材21と、第2固定部材22と、可動部材23と、仕切調整部材24とを含む。 
 第1固定部材21の中央には、可動部材23のスライド部23cとストッパ28が収容される上ケース部21aが形成されている。第1固定部材21の上ケース部21aの両側には取付孔21bが形成されている。第1固定部材21の下面には、可動部材23を押圧して安定させる1対の弾性片21cが形成されている。弾性片21cの先端には、可動部材23の溝23dに係合する突部21dが形成されている。 
 第2固定部材22の中央には、可動部材23のスライド部23cとストッパ28が収容される下ケース部22aが形成されている。第2固定部材22の下ケース部22aの両側の下縁には、逆U字形の切欠き22bが形成されている。第1固定部材21の上ケース部21aと第2固定部材22の下ケース部22aは、互いに組み合わされると、可動部材23のスライド部23cを収容する下方に開口した可動部材収容部25と、ストッパ28が収容されるストッパ収容部26とを形成する。可動部材収容部25の上ケース部21aの下縁と下ケース部22aの上縁には、仕切調整部材24の軸方向の両端を軸方向に移動不能に支持する半円の切欠き27が形成されている。 
 可動部材23は、下端に仕切部材20を保持する保持部23aと、上端にねじ穴23bを有するスライド部23cとが形成されている。可動部材23の上面両端部には、溝23dが形成されている。 
 仕切調整部材24は、可動部材23のスライド部23cのねじ穴23bに螺合するねじ部24aと係合ギア24bを有している。係合ギア24bにはストッパ28が係止して所要位置に固定できるようになっている。可動部材23の溝23dと、第1固定部材21の突部21dが係合することにより、可動部材23は仕切調整部材24の回転方向に固定されているので、仕切調整部材24が回転すると、可動部材23が仕切調整部材24の軸方向に移動するようになっている。 
 仕切調整機構M1を組み立てるには、まず、可動部材23のスライド部23cを、第2固定部材22の下ケース部22aに下方から収容し、仕切調整部材24をスライド部23cに螺合して貫通させた後、仕切調整部材24の両端を下ケース部22の切欠き27に載置する。また、第2固定部材22の下ケース部22aにストッパ28を収容する。この状態で、仕切調整部材24が第1固定部材21と第2固定部材の切欠き27が形成する孔を貫通するように第2固定部材22に第1固定部材21を重ね合わせると、上ケース部21aに設けられた弾性係止片22eの爪22fが下ケース部22aの下縁に係止して一体に組み付けられる。また、係合ギア24bよりも切欠き27の大きさが小さいので、係合ギア24bは軸方向に移動不能に上ケース部22aと下ケース部22bに固定される。続いて、第2固定部材22の切欠き22bと第1固定部材21の取付孔21bに固定ねじ29を通してカセット本体5の背面のねじ穴5eにねじ込むことで、カセット本体5に固定される。 
 仕切調整機構M1の仕切調整部材24を回転させると、スライド部23cが第1固定部材21の上ケース部21aと第2固定部材22の下ケース部22bの可動部材収容部25内で移動するので、図8Bに示すように、可動部材23に保持した仕切部材20がカセット本体5内のロータ8に向かって前進又は後退して、仕切部材20の先端位置20aを調整することができる。すなわち、図8B(a)に示すように、錠剤Tの厚さが厚い場合は、後に詳述するようにロータ8のロータ本体31を上昇させて下部傾斜外面35cとカセット本体5の傾斜部5bとの間の錠剤案内路8bの溝の深さDを大きくするが、これに伴って、仕切部材20の先端もロータ8に向かって前進させる。図8B(b)に示すように、錠剤Tの厚さが薄い場合は、ロータ8のロータ本体31を下降させて下部傾斜外面35cとカセット本体5の傾斜部5bとの間の錠剤案内路8bの溝の深さDを小さくするが、これに伴って、仕切部材20の先端もロータ8にから後退させる。 
<ロータの全体構造>
 ロータ8は、図9、10に示すように、概略、上面が円錐形、側面が逆円錐形、底面が平坦な形状を有している。ロータ8の側面上部には、周方向に錠剤ポケット8aが設けられ、該錠剤ポケット8aから下方に延びる複数の錠剤案内路8bが周方向に等間隔に設けられている。 
 錠剤ポケット8aは、後述するロータ本体31の外周面と、後述する第1可動部材60の第1水平突片73と第2可動部材61の第2水平突片82とで形成され、カセット本体5の傾斜部5bに囲まれて、カセット本体5内に収容された錠剤Tを受け入れて周方向に整列させる。 
 錠剤案内路8bは、後述するロータ本体31の下部傾斜外面35cと、後述する第1可動部材60の第1垂直突片72と、後述する第2可動部材61の第2垂直突片81と、後述する環状昇降部材51の錠剤支持台55とにより溝状に形成される。そして、錠剤案内路8bは、カセット本体5の傾斜部5bに覆われて、錠剤ポケット8aに整列している錠剤Tを受け入れて下方に案内する。 
 錠剤案内路8bは、錠剤カセットに収容される錠剤の形状又は大きさに応じて、溝の深さ、高さ、幅を調整し、錠剤が円滑に錠剤案内路8bを通過し、図5に示す錠剤排出孔9から排出されるようにする必要がある。即ち、錠剤カセット2は、当該錠剤カセット2に設けられたロータ8の錠剤案内路8bの調整により、任意の錠剤種別の錠剤を払い出すことが可能である。ここで、錠剤案内路8bの溝の「深さ」は、錠剤案内路8bを通る錠剤の厚さ方向の寸法であって、カセット本体5の傾斜部5bとロータ本体31の下向き突部35の下部傾斜外面35cとの間の寸法Dである。溝の「高さ」は、錠剤案内路8bを通る錠剤の高さ方向の寸法であって、仕切部材20とロータ8の環状昇降部材51の錠剤支持台55との間の寸法Hである。溝の「幅」は、錠剤案内路8bを通る錠剤の幅方向の寸法であって、第1可動部材60の第1垂直突片72と第2可動部材61の第2垂直突片81との間の寸法Wである。 
 ロータ8は、錠剤案内路8bの溝形状を調整するために、深さ調整機構M2、高さ調整機構M3、幅調整機構M4を有している。以下、これらを順に説明する。 
<深さ調整機構>
 図11は、深さ調整機構M2を構成する部材を示す。深さ調整機構M2は、ロータカバー30と、ロータ本体31と、ロータベース32と、深さ調整部材33とを含む。 
 ロータカバー30は、全体的に傘形状を有している。ロータカバー30の上面は円錘形に形成されている。
 ロータ本体31は、円形の基部34と、下向き突部35と、環状部36と、ガイド部37とを有している。
 基部34にはその中央に軸部38が設けられ、該軸部38に図示しないねじ孔が形成されている。基部34の上面には、後述する高さ調整部材52と幅調整部材64が露出する2つの孔34a、34bが形成されている。 
 下向き突部35は、基部34の外周縁の6等配位置から下方に延びている。下向き突部35は、垂直な内面35aと、基部34の外周縁から外方に下向きに傾斜する上部傾斜外面35bと、該上部傾斜外面35bの下端から内方に下向きに傾斜する下部傾斜外面35cと、両側面35dとを含み、側面から見て三角形に形成されている。下部傾斜外面35cは錠剤案内路8bの溝の底面を形成している。下向き突部35の下端には、スリット35eが形成されている。 
 環状部36は、基部34の外側に同心に形成され、下向き突部35を介して基部34と接続されている。
 ガイド部37は、下向き突部35の間で、基部34の外周縁の6等配位置から下方に延びている。ガイド部37の内面の両側には、後述するロータベース32のガイド片40がスライド可能に係合するガイド縁37aが形成されている。ガイド片40とガイド縁37aが係合することによって、ロータ本体31とロータベース32は一体的に回転する。6個のガイド部37の内いずれか1のガイド部37の下端には、ゼロ点を検出する検出部となる突起37bが形成されている。 
 ロータベース32は、環状の基部39と、ガイド片40と、係合部41とを有している。
 基部39は、上面に環状壁42が形成されている。環状壁42には、周6等配位置に軸方向に延びる垂直スリット42aが形成されている。 
 ガイド片40は、基部39の外周縁の周6等配位置であって、かつ、隣接する垂直スリット42aの間に、上方に突出している。ガイド片40はロータ本体31のガイド部37のガイド縁37aにスライド可能に係合するように形成されている。ガイド片40と環状壁42の間には補強リブ43が設けられている。 
 係合部41は、基部39の内周縁の周6等配位置から上方に立ち上がる係合片44と、該係合片44の上端に設けられた円形突部45を有している。係合部41は、裏面からみると、図10に示すように、ロータ駆動部10が係合する係合凹部41aを形成している。隣接する係合片44の間のスリット44aには、ロータ駆動部10の係合片13bが係合している。円形突部45の内部には、ロータ駆動部10の中心軸15に設けられた磁石15cに吸着する磁性板46が埋設されている。円形突部45の上面の中心には深さ調整部材33が支持されている。円形突部45には、深さ調整部材33の自由な回転を防止するストッパ48を収容する穴45aと、後述する第2支持部材63の2つのねじ挿通孔93に挿通された図示しないねじが螺合する2つのねじ孔45bが形成されている。 
 円形突部45と環状壁42との間には、後述する高さ調整機構M3を収容する環状凹部47が形成されている。
 深さ調整部材33は、雄ねじ部33aと下端のギア部33bとを有している。雄ねじ部33aはロータ本体31の軸部38の図示しないねじ孔に螺合し、下端のギア部33bはロータベース32の円形突部45に支持されている。雄ねじ部33aの上端は、係合部33cが形成され、ロータ本体31の軸部38から突出して露出し、外部から回転調整可能になっている。ギア部33bの歯間には弾性片からなるストッパ48の先端が係止している。 
 深さ調整部材33は、ギア部33bが第1支持部材62とロータベース32によって軸方向の移動が拘束され、またロータ本体31のガイド縁37aがロータベース32のガイド片40と係合することによってロータ本体31がロータベース32に対して回転することが拘束されている。このように、ロータベース32が回転しない状態で、深さ調整部材33を回転させると、深さ調整部材33の雄ねじ部33aと螺合する図示しないねじ孔を有するロータ本体31がロータ8の回転軸方向に上昇又は下降する。これに伴い、錠剤案内路8bの底面を形成するロータ本体31の下向き突部35の下部傾斜外面35cも上昇又は下降する。 
 図14を参照すると、下向き突部35の下部傾斜外面35cは、上から下に向かうにつれて径方向に外方から内方に向かって傾斜し、カセット本体5の逆円錐状の傾斜部5bと平行になっている。このため、ロータ本体31の下向き突部35の下部傾斜外面35cが下降すると、下向き突部35の下部傾斜外面35cとカセット本体5の円錐状の傾斜部5bとの間の距離が縮小し、錠剤案内路8bの深さを浅く(D1)することができる。逆に、ロータ本体31の下向き突部35の下部傾斜外面35cが上昇すると、下向き突部35の下部傾斜外面35cとカセット本体5の逆円錐状の傾斜部5bとの間の距離が拡大し、錠剤案内路8bの深さを深く(D2)することができる。このように、深さ調整部材33を左又は右に回転することで、錠剤案内路8bを通る錠剤Tの厚さに応じて、錠剤案内路8bの深さを調整することができる。なお、図11に示す深さ調整部材33のギア部33bが回転する毎に、ストッパ48の先端がギア部33bの歯を乗り越えて歯間に係合するので、深さ調整部材33を適当な位置で止めて、ロータ本体31を所望の高さ位置に固定することができる。 
<高さ調整機構>
 図12は、高さ調整機構M3を構成する部材を示す。高さ調整機構M3は、筒状回転部材50と、環状昇降部材51と、高さ調整部材52とを含む。 
 筒状回転部材50は、外周下部に雄ねじ部50aが形成され、内周上部に従動ギア50bが形成されている。従動ギア50bには筒状回転部材50の自由な回転を防止するストッパ53が係合している。 
 環状昇降部材51は、外周の6等配位置に放射状にアーム54が突設され、各アーム54の先端に錠剤支持台55が形成されている。錠剤支持台55は、錠剤案内路8b内の最下位の錠剤Tを支持できるように、錠剤案内路8bに直交するように傾斜している。環状昇降部材51の内面には筒状回転部材50の雄ねじ部50aと螺合する雌ねじ部51aが形成されている。 
 高さ調整部材52は、下端に筒状回転部材50の従動ギア50bに噛み合う駆動ギ52aを有している。高さ調整部材52の上端は、係合部52bが形成され、ロータ本体31の基部34の上面の孔34aから突出して露出し、外部から回転調整可能になっている。高さ調整部材52は、後述する第2支持部材63の孔90の縁に上下方向に移動不能に保持されている。 
 筒状回転部材50と環状昇降部材51は互いに螺合した状態で、ロータベース32の環状凹部47に収容され、環状昇降部材51のアーム54がロータベース32の環状壁42の垂直スリット42aにスライド可能に嵌入し、錠剤支持台55がロータベース32の環状壁42の外側に突出し、錠剤案内路8b内の最下位の錠剤Tを支持するようになっている。 
 図15に示すように、錠剤Tの高さに相当する錠剤案内路8bの高さHを調整するには、高さ調整機構M3の高さ調整部材52を左又は右に回転させる。本発明では、仕切部材20はカセット本体5に対して高さ方向に固定されているので、錠剤案内路8bの高さHを調整するのに、仕切部材20自体を移動させるのではなく、仕切部材20の下方にある錠剤支持台55を昇降させ、仕切部材20と錠剤支持台55との間の距離を調整することで、錠剤案内路8bの錠剤支持台55から仕切部材20の高さHを調整するのである。 
 高さ調整部材52を回転させると、筒状回転部材50が回転する。筒状回転部材50は、第2支持部材63とロータベース32により上下の移動が拘束されている。筒状回転部材50の雄ねじ部50aに螺合する雌ねじ部51aを有する環状昇降部材51はアーム54がロータベース32の環状壁42の垂直スリット42aを貫通していて回転が拘束されている。このため、筒状回転部材50の回転により、環状昇降部材51が昇降し、環状昇降部材51の錠剤支持台55が昇降する。 
 すなわち、図15に示すように、筒状回転部材50が一方に回転すると、環状昇降部材51の錠剤支持台55が上昇し、錠剤支持台55に対する仕切部材20の位置、すなわち、高さが低く(H1)なる。逆に、筒状回転部材50が他方に回転すると、環状昇降部材51の錠剤支持台55が下降し、錠剤支持台55に対する仕切部材20の位置、すなわち、高さが高く(H2)なる。なお、高さ調整部材52の回転により筒状回転部材50が回転する毎に、ストッパ53の先端が筒状回転部材50の従動ギア50bの歯を乗り越えて歯間に係合するので、高さ調整部材52を適当な位置で止めて、錠剤支持台55を所望の高さ位置に固定することができる。 
<幅調整機構>
 図13は、幅調整機構M4を構成する部材を示す。幅調整機構M4は、第1可動部材60と、第2可動部材61と、第1支持部材62と、第2支持部材63と、幅調整部材64とを含む。 
 図13に示すように、第1可動部材60は、上部材60aと下部材60bからなるが、上部材60aの係合突部65と下部材60bの係合突部66が係合して両者は一体に回転可能である。 
 第1可動部材60の上部材60aには、環状の基部67の内周に略半円型の切欠き68と長孔69が隣り合って形成されている。第1可動部材60を上から見て切欠き68の中心に対して対向する切欠き68の縁には、第1可動部材60の円周方向に対向するA突起68aとB突起68bが形成されている。A突起68aとB突起68bは、後述する第1調整軸94のAカム94aとBカム94bに摺接するカムフォロアとなる。 
 第1可動部材60の下部材60bは、円環状の基部70と、6つの壁部71と、第1垂直突片72と、第1水平突片73とを有している。6つの壁部71は、基部70の外周縁の周6等配位置から下向きに突出している。第1垂直突片72は、壁部71の正面から見て左側端から外方に突出し、前述した錠剤案内路8bの右側面を形成するものである。第1垂直突片72には仕切部材20が嵌入する切欠き72aが形成されている。第1水平突片73は、第1垂直突片72の上端から周方向に水平に正面から見て右側に向かって延び、前述した錠剤ポケット8aの底面を形成するものである。 
 第2可動部材61は、第1可動部材60と同様に、上部材61aと下部材61bからなるが、上部材61aの係合突部74と下部材61bの係合凹部75が係合して両者は一体に回転可能である。 
 第2可動部材61の上部材61aには、環状の基部76の内周に略半円型の切欠き77と長孔78が隣り合って形成されている。第2可動部材61を上から見て対向する切欠き77の縁には、第2可動部材61の円周方向に対向するA突起77aとB突起77bが形成されている。A突起77aとB突起77bは、後述する第2調整軸のAカム95aとBカム95bに摺接するカムフォロアとなる。 
 第2可動部材61の下部材61bは、円環状の基部79と、6つの壁部80と、第2垂直突片81と、第2水平突片82とを有している。6つの壁部80は、基部79の外周縁の周6等配位置から下向きに突出している。第2垂直突片81は、壁部80の正面から見て右側端から外方に突出し、前述した錠剤案内路8bの左側面を形成するものである。第2垂直突片81には仕切部材20が嵌入する切欠き81aが形成されている。第2水平突片82は、第2垂直突片81の上端から周方向に水平に正面から見て左側に向かって延び、第1可動部材60の第1水平突片73ととともに、前述した錠剤ポケット8aの底面を形成するものである。第2可動部材61の第2水平突片82の先端部は、第1可動部材60の第1水平突片73の先端部の下に重なるように形成されている。 
 第1支持部材62は、第1可動部材60の上部材60aの内径より大きい外径を有する円形形状を有し、下面に円形の突部83を有している。第1支持部材62の中央には、後述する幅調整部材64が貫通する孔84、84aと、深さ調整機構M2の深さ調整部材33が貫通する孔85と、高さ調整機構M3の高さ調整部材52が貫通する孔86と、2つのねじ挿通孔87とが形成されている。 
 第2支持部材63は、第1可動部材60の上部材60aの内径より大きい外径を有する円形形状を有し、上面に第1支持部材62の円形の突部83が嵌合する環状突部88が形成されている。第2支持部材63の中央には、深さ調整機構M2の深さ調整部材33が貫通する孔89と、高さ調整機構M3の高さ調整部材52が貫通する孔90及び切欠き90aと、後述する幅調整部材64の第1調整軸94が貫通する孔91aと、第2調整軸95が嵌合する孔91bと、第1支持部材62の2つのねじ挿通孔87に挿通される図示しないねじが螺合する2つのねじ孔92と、2つのねじ挿通孔93が形成されている。 
 第1支持部材62のねじ挿通孔87から第2支持部材63のねじ孔92に図示しないねじを挿入して締め付けることで、第1支持部材62と第2支持部材63は第1可動部材60、第2可動部材61を挟持した状態で一体とになっている。また、第2支持部材63のねじ挿通孔93からロータベース32のねじ孔45bに図示しないねじを挿入して締め付けることで、第2支持部材63がロータベース32に固定されるとともに、第2支持部材63とロータベース32の間に高さ調整機構M3の筒状回転部材50が保持され、軸方向の移動が拘束される。 
 幅調整部材64は、第1調整軸94と第2調整軸95からなっている。第1調整軸94は、切欠き68内に配置されている。第2調整軸95は、長孔69内に配置されている。第2調整軸95には、幅調整部材64の自由な回転を防止するストッパ96が設けられている。 
 第1調整軸94は、上端から順にAカム94a、Bカム94b、ギア94cが形成されている。Aカム94aは、図16に示すように、幅調整部材64を上から見て時計回りに360°の範囲でカム面の半径が増加するように形成され、第1可動部材60のA突起68aと摺接するようになっている。Bカム94bは、幅調整部材64を上から見て反時計回りに360°の範囲でカム面の半径が増加するように形成されて、第1可動部材60のB突起68bと摺接するようになっている。Aカム94aの最大半径部とBカム94bの最大半径部は180°離れて位置する。第1調整軸94の上端は第1支持部材62の孔84aに支持され、下端は第2支持部材63の孔91aに支持されている。 
 同様に、第2調整軸95は、下端から順にAカム95a、Bカム95b、ギア95c、係合部95dが形成されている。Aカム95aは、幅調整部材64を下から見て時計回りに360°の範囲でカム面の半径が増加するように形成され、第2可動部材61のA突起77aと摺接するようになっている。Bカム95bは、幅調整部材64を下から見て反時計回りに360°の範囲でカム面の半径が増加するように形成されて、第2可動部材61のB突起77bと摺接するようになっている。Aカム95aの最大半径部とBカム95bの最大半径部は180°離れて位置する。第2調整軸95のギア95cは、ギア94cと噛合して連動するように構成されている。第2調整軸95の上端は第1支持部材62の長孔69を貫通してロータ本体31から突出して孔34aから露出し、外部から回転調整可能になっている。第2調整軸95の下端は第2支持部材63の孔91bに支持されている。なお、第1調整軸94の上端が第1支持部材62を貫通してロータ本体31から突出して露出し、外部から回転調整可能にしてもよい。 
 第2調整軸95を図16(a)において時計回りに回転させると、第2調整軸95のギア95cから第1調整軸94のギア94cに回転力が伝達され、第1調整軸94は反時計周りに回転する。第1調整軸94の回転により、第1調整軸94のAカム94aが第1可動部材60のA突起68aに摺接して押圧するので、第1可動部材60は図16(a)において時計回りに回動する。一方、第2調整軸95の回転により、図16(b)に示すように、第2調整軸95のAカム95aが第2可動部材61のA突起77aに摺接して押圧するので、第2可動部材61は図16(b)において時計回り、図16(a)において反時計回りに回動する。 
 続いて、第2調整軸95を図16(a)において反時計回りに回転させると、第2調整軸95のギア95cから第1調整軸94のギア94cに回転力が伝達され、第1調整軸94は時計周りに回転する。第1調整軸94の回転により、第1調整軸94のBカム94bが第1可動部材60のB突起68bに摺接して押圧するので、第1可動部材60は図16(a)において反時計回りに回動する。一方、第2調整軸95の回転により、図16(b)に示すように、第2調整軸95のBカム95bが第2可動部材61のB突起77bに摺接して押圧するので、第2可動部材61は図16(b)において反時計回り、図16(a)において時計回りに回動する。 
 このように、第1可動部材60と第2可動部材61は互いに反対方向に回転し、第1可動部材60の第1垂直突片72と第2可動部材61の第2垂直突片81の間隔、すなわち、錠剤案内路8bの幅を拡大したり、縮小することができる。 
 次に、以上の構成からなる錠剤カセット2におけるロータ8の動作を説明する。
 既に述べたように、図5に示すカセット本体5とロータ8の間には、ロータ8の側面上部に周方向に延びる錠剤ポケット8aと、ロータ8の側面上部から下方に延びる複数の錠剤案内路8bを有している。 
 図5を参照すると、カセット本体5に収容された錠剤Tは、ロータ8の回転により撹拌されながら錠剤ポケット8aに進入し、錠剤ポケット8aから錠剤案内路8bに進入し、錠剤案内路8bが錠剤排出孔9に近づくと、錠剤案内路8bの最下位の錠剤Tとそれより上の錠剤Tとの間にカセット本体5に固定された仕切部材20が進入する。仕切部材20より上方の錠剤Tは仕切部材20によって下方に落下するのを阻止される。仕切部材20より下方の最下位の錠剤Tは、錠剤支持台55にあるが、錠剤支持台55は傾斜しているので、当該錠剤支持台55上で錠剤排出孔9に向かって倒れ、錠剤排出孔9から排出される。錠剤排出孔9から排出された錠剤Tは、図2に示すベース2の錠剤排出路3cを通って払い出される。これにより、錠剤案内路8bが錠剤排出孔9に回ってくる毎に、錠剤Tが1個ずつ排出される。ロータ8の回転角度を調整することで、処方に応じた数の錠剤Tを払い出すことができる。 
 錠剤案内路8bは、前述した仕切調整機構M1、深さ調整機構M2、高さ調整機構M3、幅調整機構M4を用いて、錠剤Tの厚さに対する仕切部材20の進入位置、錠剤Tの厚さに相当する深さD、錠剤の高さに相当する高さH、錠剤Tの幅に相当する幅Wを調整することができる。このため、カセット本体5に収容する錠剤Tの形状又は大きさに応じて、適切な大きさの錠剤案内路8bにすることができる。錠剤Tが異なるごとに、錠剤カセット2全体又はロータ8を交換することなく、同じ錠剤カセット2又はロータ8を用いて、種々の錠剤Tに合わせた錠剤案内路8bに調整することで、排出することができる。このような調整は、以下に説明する調整装置により自動的に行うことができる。 
<調整装置>
 図17は、本発明に係る錠剤カセットの調整装置100を示す。調整装置100は、既に説明した錠剤カセット2の錠剤案内路8bの溝の深さ、高さ、幅を調整するそれぞれの調整機構M2、M3、M4の各調整部材33、52、64の係合部33c、52b、95dに係合して該調整機構を作動させ、カセット本体5内に収容される錠剤Tの形状又は大きさに応じて錠剤案内路8bの寸法を調整する。また、調整装置100は、仕切部材20の進入位置を調整する仕切調整機構M1の仕切調整部材24の係合ギア24bに係合して、該仕切調整機構M1を作動させ、カセット本体5内に収容される錠剤Tの形状又は大きさ、錠剤案内路8bの溝の深さに応じて仕切部材20の進入位置を調整するものである。 
 調整装置100は、装置本体101と、カセット装着部102と、ロータ載置部103と、図18に示す昇降テーブル104と、昇降操作部105とを備える。 
 装置本体101は、図18に示す下部フレーム106と、該下部フレーム106の両端から立ち上がるサイドフレーム107と、該サイドフレーム107の上端に設けられた上部フレーム108と、該上部フレーム108の後方に設けられた後部フレーム109とを有している。 
 カセット装着部102は、上部フレーム108に設けられたカセット装着ベース110を有している。カセット装着ベース110には、錠剤払出装置1のベース3と同様に、錠剤カセット2を装着することができるように、装着ガイド110aと係止部110bとを有している。カセット装着ベース110の後方の後部フレーム109には、図19、20に示すように仕切調整軸111が設けられている。仕切調整軸111は、錠剤カセット2を装着したときに錠剤カセット2の仕切調整部材24の係合ギア24bと係合する駆動ギア112を有する。仕切調整軸111は、仕切調整モータ113により駆動される。また、後部フレーム109の前方の傾斜フレーム114には、錠剤カセット2の仕切調整機構M1の可動部材23が当接する仕切ゼロ点検出センサ115の検出レバー116が突出している。検出レバー116は、図20に示すように、L字形で、支軸117を中心に回動可能に設けられ、仕切ゼロ点検出センサ115により検知される検知部116aを有している。 
 ロータ載置部103は、図18に示す下部フレーム106に設けられたセンサ取付台118を有している。センサ取付台118の上面には、ロータ装着突部119が設けられている。ロータ装着突部119は、カセット本体5のロータ駆動部10の係合軸13と同様の形状の係合軸120を有し、ロータ8を装着できるようになっている。センサ取付台118の側面には、深さゼロ点検出センサ121、高さゼロ点検出センサ122、幅ゼロ点検出センサ123それぞれが設けられている。深さゼロ点検出センサ121、高さゼロ点検出センサ122、幅ゼロ点検出センサ123のそれぞれに設けられた図21に示す各検出部121a、122a、123aは、ロータ載置部103から上方に突出して、ロータ載置部103に載置されるロータ8のガイド部37の突起37b、錠剤支持台55の下面、第1垂直突片72にそれぞれ対向し、当接するようになっている。 
 昇降テーブル104は、図18に示すように、両端の垂直部124に設けられたスライダ125が装置本体101のサイドフレーム107に設けられたガイドレール126に係合して、昇降可能になっている。昇降テーブル104の前部には、垂直方向に延びる深さ調整軸127、高さ調整軸及128、及び幅調整軸129が回転可能に設けられている。 
 深さ調整軸127は、図22に示すように、上方の大径部130と、下方の小径部131と、大径部130と小径部131の間の段部132とを含み、大径部130の上端にプーリ133が取り付けられ、小径部131の下端に係合軸134が取り付けられている。係合軸134は、下端に深さ調整部材33の係合部33cに係合する係合部134aが形成され、上端には小径部131の下端が挿入される孔134bと、深さ調整軸127の下部に設けたピン135が嵌入するスリット134cとが形成されている。深さ調整軸127の段部132と係合軸134の上端との間にはスプリング136が装着されている。高さ調整軸128、幅調整軸129も、深さ調整軸127と同じ構成である。 
 図23に示すように、昇降テーブル104の後部には、深さ駆動軸137、高さ駆動軸138及び幅駆動軸139が設けられている。各駆動軸137、138、139にはプーリ140が設けられ、深さ調整軸127、高さ調整軸128、幅調整軸129のプーリ133とベルト141で連結されている。各駆動軸137、138、139は、深さ調整モータ142、高さ調整モータ143、幅調整モータ144により回転駆動可能になっている。 
 図19に戻ると、昇降操作部105は、レバー145と、ハンドル146と、レバー位置検出センサ147とを含む。
 レバー145は、両側のサイドフレーム107の外側に一対設けられ、一端がサイドフレーム107間に設けられた支軸148に回動可能に設けられ、他端は連結バー149で互いに連結されている。レバー145には、図18に示す昇降テーブル104の垂直部124に設けられたローラ150が嵌入する長孔151が形成されている。また、正面から見て右側のレバー145には支軸148を中心とする円弧部152が形成され、円弧部152の縁には複数の切欠き152a、152bが形成されている。 
 ハンドル146は、正面から見て右側のレバー145の先端にレバー145の長手方向に沿ってスライド可能に取り付けられている。また、ハンドル146は、スプリング153によってレバー145の支軸148に向かって付勢されている。ハンドル146の先端には係合爪154が形成されている。係合爪154は、ハンドル146が下方に押されたときに、サイドフレーム107に取り付けられたストッパ部材155の係合部155aに係合して、所定の下方位置に保持される。 
 レバー位置検出センサ147は、サイドフレーム107に取り付けられ、レバー145の回動に伴って、レバー145の円弧部152の切欠き152a、152bを検知して、レバー145の位置を検出するようになっている。 
 図24は、調整装置100のシステム構成図である。調整装置100は、制御装置200、表示部201、及び記憶部202に接続されている。 
 深さ、高さ、幅の各ゼロ点検出センサ121、122、123及び仕切ゼロ点検出センサ115の検出信号は制御装置200に入力される。また、レバー位置検出センサ147の検出信号は、制御装置200に入力される。さらに、カセット装着部102に設けられた第1スタートボタン203とロータ載置部103に設けられた第2スタートボタン204の各スタート信号は、制御装置200に入力される。 
 記憶部202には、錠剤種別を識別可能な薬品識別情報である薬品コード及び薬品名と、錠剤の形状と、錠剤の長さ、幅、高さ、厚さなどの寸法と、当該錠剤に適した仕切部材20の錠剤案内路8bへの進入位置とが少なくとも対応付けられた錠剤実装マスタD11(図32(A)参照)が記憶される。錠剤実装マスタD11には、薬品払出システム500で払い出し可能な錠剤として予め登録された錠剤の情報が記憶されている。また、記憶部202に、例えば標準寸法に対する補正係数等が記憶されており、制御装置200は、前記補正係数と前記錠剤の寸法とに基づいて、錠剤に適した錠剤案内路8bの深さ、高さ、幅の各寸法を導出可能である。他の実施形態として、錠剤の寸法に代えて、錠剤に適した錠剤案内路8bの深さ、高さ、幅の各寸法が錠剤実装マスタD11に記憶されていてもよい。同様に、仕切部材20の錠剤案内路8bへの進入位置の代わりに、当該進入位置に関連する数値(錠剤の厚さ等)、例えば標準進入位置に対する補正係数等が錠剤実装マスタD11に記憶されていてもよい。なお、錠剤実装マスタD11には、薬品分類(分類コード)、薬品成分(成分コード)、JANコード、RSSコード、薬瓶コード、剤形、単位、比重、薬品種、配合変化、賦形薬品、注意事項、サイズ種別、及び錠剤の外観画像なども対応付けて登録されている。また、錠剤実装マスタD11は、ユーザー操作などに基づいて制御装置200によって編集されることがある。 
 さらに、記憶部202には、複数の錠剤について、錠剤実装マスタD11に記憶される錠剤種別と同様の情報の他に、規格量、ホストコード、薬品一般名称、JANコード、RSSコード、YJコード(個別医薬品コード)、GS1コード、薬瓶コード、剤形コード(散薬、錠剤、水剤、外用薬など)、形態コード、劇薬・管理薬品種類(向精神薬、麻薬)、外観画像などの情報が記憶された薬品マスタが記憶されている。例えば、制御装置200は、ユーザー操作に応じて前記薬品マスタに記憶されている情報を錠剤実装マスタD11に反映させること、又は、前記薬品マスタに記憶されている情報を表示部201に表示させることが可能である。 
 制御装置200は、記憶部202に記憶されている錠剤実装マスタD11と、深さゼロ点検出センサ121、高さゼロ点検出センサ122、幅ゼロ点検出センサ123、仕切ゼロ点検出センサ115、レバー位置検出センサ147、第1スタートボタン203、第2スタートボタン204からの検出信号とに基づいて、深さ、高さ、幅の調整モータ142、143、144及び仕切調整モータ113を駆動し、カセット本体5内に収容される錠剤Tの形状又は大きさに応じて錠剤案内路8bの寸法及び仕切部材20の進入位置を調整する。 
 以上の構成からなる調整装置100を用いて錠剤カセット2のロータ8の錠剤案内路8bの寸法及び仕切部材20の進入位置を調整する動作について、図25を参照しつつ説明する。 
 まず、錠剤払出装置1から錠剤Tを入れ換えようとする錠剤カセット2を取り出す。錠剤カセット2に錠剤Tが残っている場合は取り出しておく。図26に示すように、新しく収容する錠剤Tの箱156のラベル157を切り離して、錠剤カセット2のポケット6aに差し込むとよい。 
 ステップ1で、錠剤払出装置1から取り出した錠剤カセット2を調整装置100のカセット装着部102に装着する。
 ステップ2で、表示部201に表示される錠剤一覧から、錠剤カセット2に新たに収容しようとする錠剤を選択し、表示部201のOKボタンを押す。図示しないバーコードリーダを使用して、錠剤カセット2のポケット6aに差し込んだラベル157のバーコードから錠剤を読み取ってもよい。 
 表示部201のOKボタンが押されると、ステップ3で、仕切調整モータ113が駆動し、仕切部材20が後退し、仕切部材20の先端が少なくともカセット本体5の第1可動部材60の切欠き72aと第2可動部材61の切欠き81aから退避する。これにより、ロータ8をカセット本体5から取り出すことが可能となる。 
 ステップ4で、錠剤カセット2のカセット本体5からロータ8を取り出し、ロータ8のロータカバー30を取り外して、深さ調整部材33、高さ調整部材52、幅調整部材64の各係合部を露出させる。 
 ステップ5で、カセット本体5から取り出したロータ8を図26に示すように調整装置100のロータ載置部103に載置する。 
 ステップ6で、調整装置100のハンドル146を把持してレバー145を下げる。これにより、深さ調整軸127、高さ調整軸128、幅調整軸129の各係合部134aがロータ8の深さ調整部材33、高さ調整部材52、幅調整部材64の各係合部に係合する。深さ調整軸127、高さ調整軸128、幅調整軸129の各係合部は、スプリング136の付勢力により、ロータ8の深さ調整部材33、高さ調整部材52、幅調整部材64の各係合部と係合状態に維持される。レバー145は、ハンドル146がスプリング153の付勢力により係合爪154がストッパ部材155の係合部155aに係止して、押下げ状態に保持される。また、レバー145の押下位置は、レバー位置検出センサ147によって検出されるので、制御装置200は錠剤案内路調整の準備完了と判断する。 
 ステップ7で、第1スタートボタン203を押すと、ステップ8で、深さ、高さ、幅の各調整モータ142、143、144が駆動し、選択した錠剤に応じて、ロータ8の錠剤案内路8bの深さ、高さ、幅が記憶部202に記憶されたマスタ値に調整される。なお、この錠剤案内路の調整動作の間、カセット装着部102に装着した錠剤カセット2のカセット本体5の内部を清掃することができる。 
 錠剤案内路8bの調整動作を具体的に説明すると、まず深さゼロ点検出センサ121、高さゼロ点検出センサ122、幅ゼロ点検出センサ123各々がゼロ点を検出するまで各調整モータ142、143、144を一方向に作動させる。すなわち、図27に示すように、深さ調整軸127の回転により深さ調整機構M2が作動し、ロータ本体31のガイド部37が下方に移動し、ガイド部37の下端の突起37bが深さゼロ点検出センサ121の検出部121aを押圧するので、深さゼロ点が検出される。また、図28に示すように、高さ調整軸128の回転により高さ調整機構M3が作動し、錠剤支持台55が下方に移動し、錠剤支持台55の下面が高さゼロ点検出センサ122の検出部122aを押圧するので、高さゼロ点が検出される。さらに、図29に示すように、幅調整軸129の回転により幅調整機構M4が作動し、第1可動部材60の第1垂直突片72と、第2可動部材61の第2垂直突片81が互いに離れる方向に移動し、第1可動部材の第1垂直突片72が幅ゼロ点検出センサ123の検出部123aを倒すので、幅ゼロ点が検出される。幅ゼロ点検出センサ123の検出部123aを第2垂直突片81側に設けてもよい。この場合、第1垂直突片72と第2垂直突片81とが互いに離れる方向に移動しているときに、2つの垂直突片の一方が検出部123aを倒してから、他方が検出部123aを倒すまでの間に、第1垂直突片72又は第2垂直突片81が移動した距離の半分を求める。そして、先に倒れた検出部123aが倒れたときの第1垂直突片72、第2垂直突片81のそれぞれの位置から前記半分の距離だけ第1垂直突片72、第2垂直突片81の各々を、第1垂直突片72と第2垂直突片81とが互いに離れる方向に移動させた状態を上記幅ゼロ点としてもよい。 
 次に、選択した錠剤に応じた錠剤案内路8bの深さ、高さ、幅が記憶部202に記憶された各マスタ値になるまで各調整モータ142、143、144を他方向に作動させる。 
 ステップ9で、深さ、高さ、幅の調整を終えたロータ8にロータカバー30を取り付けて、カセット装着部102の錠剤カセット2に戻す。 
 ステップ10で、第2スタートボタン204を押すと、ステップ11で、仕切調整モータ113が駆動し、選択した錠剤に応じて、ロータ8の錠剤案内路8bへの仕切部材20の位置がマスタ値に調整される。 
 具体的に説明すると、図30に示すように、仕切調整モータ113の駆動により仕切調整軸111が回転して、仕切調整機構M1が作動し、可動部材23が後方に移動し、可動部材23が仕切ゼロ点検出センサ115の検出部検出レバー116を押圧するので、検知部116aが移動して仕切ゼロ点検出センサ115により仕切ゼロ点が検出される。次に、選択した錠剤に応じた仕切部材20の錠剤案内路8bへの進入位置が各マスタ値になるまで仕切モータ113を他方向に作動させる。 
 ステップ12で、錠剤カセット2を調整装置100から取り外すと、ステップ13で錠剤払出装置1の制御部300に対して当該錠剤カセット2に収容される錠剤のデータを書き換える。 
 ステップ12で、錠剤案内路の調整を終えた錠剤カセット2に新たな錠剤を収容して、錠剤払出装置1の所定に位置に装着する。 
 図31は、調整装置100のセンサ取付台118とロータ載置部103の変形例を示す。
 センサ取付台118には、中央にコイルバネ118aと、該コイルバネ118aの内側にスライド軸118bとが設けられている。スライド軸118bの上端には磁石118cが取り付けられている。コイルバネ118aの周囲には、深さゼロ点検出センサ121、高さゼロ点検出センサ122、幅ゼロ点検出センサ123がそれぞれ設けられている。また、コイルバネ118aの周囲には、周3等配位置に、後述する3つのリンク103eと対応する位置に開口部118dが形成されている。 
 ロータ載置部103は、センサ取付台118にコイルバネ118aを介して支持され、センサ取付台118のスライド軸118bに沿って上下方向に移動可能になっている。ロータ載置部103は、図10に示すロータ8の係合凹部41aが嵌合するロータ装着突部119を有する。ロータ装着突部119には、図10に示すロータ8の係合凹部41aに形成された大小の係合孔41S、41L(図10には41Lのみ示す)に係合する係合片119S、119Lが形成されている。このため、ロータ8は、回転方向に一位置でのみ取り付けることができる。ロータ8には、係合孔41S、41Lが係合片119S、119Lに確実に係合するように、取付方向を示す印を設けることが好ましい。
 ロータ載置部103には、ロータ装着突部119の周囲に、深さゼロ点検出センサ121、高さゼロ点検出センサ122、幅ゼロ点検出センサ123をそれぞれ望む開口孔103a、103b、103cが形成されている。また、ロータ載置部103には、後述する3つのリンク103eのロータ受け部103gが突出する孔103dが形成されている。ロータ載置部103の裏面には、3つのリンク103eが配設されている。リンク103eは、支軸103fにより回動可能に設けられ、一端にロータ受け部103g、他端にカム部103hを有している。 
 リンク103eは、通常は、カム部103hの自重により、ロータ受け部103gがロータ載置部103の孔103dから上方に突出し、カム部103hの端部がセンサ取付台118の開口部118dの縁に当接している。この状態では、ロータ載置部103にロータ8以外の外力が作用しても、下方には降下しない。このため、各センサ121、122、123の検出部121a、122a、123aがそれぞれ開口孔103a、103b、103cから露出せず、各センサ121、122、123を保護することができる。 
 ロータ載置部103にロータ8を装着して下方に押さえると、ロータ8の下面が3つのリンク103eのロータ受け部103gを同時に押圧する。これにより、リング103eが支軸103fの回りに回動して、カム部103hの端部が孔118dの縁から外れる。この結果、ロータ載置部103は、コイルバネ118aの付勢力に抗して、下方に降下する。そして、スライド軸118bの磁石118cがロータ8の磁性板46に吸着し、固定される。 
 前記実施形態は、特許請求の範囲に記載の発明の範囲内で種々変更することができる。例えば、前記実施形態では、錠剤案内路の溝の深さ、高さ、幅のすべてを調整できるようにしたが、溝の深さ、高さ、幅のいずれか 1つまたは2つを調整できるようにしてもよい。また、調整軸をレバーにより手動で昇降させるようにしたが、自動的に昇降させてもよい。さらに、ロータ8を錠剤カセット2から取り出さずに、錠剤カセット2の蓋6を開けてロータカバー30を外した状態で、錠剤カセット2を調整装置100に置いて錠剤カセット2内にあるロータ8の錠剤案内路8bの深さ、高さ、幅の少なくともいずれか1つ、又は仕切部材20の進入位置を調整できるようにしてもよい。 
 以下、図33に示されるように、錠剤払出装置1、調整装置100、及び制御装置200を備える薬品払出システム500の詳細について説明する。錠剤払出装置1及び調整装置100は、LAN等のネットワークNを介して制御装置200に通信可能に接続され、錠剤払出装置1及び調整装置100の動作は制御装置200によって制御される。制御装置200は、パーソナルコンピュータ等の情報処理装置である。なお、調整装置100にも各種の処理を実行可能なCPU等の制御部が設けられ、当該制御部は制御装置200等と通信可能である。 
 本実施形態では、本発明に係る薬品払出システムの構成要素が制御装置200に設けられており、当該制御装置200の単体が本発明に係る薬品払出システムに相当する。一方、錠剤払出装置1又は調整装置100が、本実施形態で説明する制御装置200と同様の機能を有する場合には、当該錠剤払出装置1又は当該調整装置100を本発明に係る薬品払出システムとして捉えてもよい。また、本発明に係る薬品払出システムの構成要素が、錠剤払出装置1、調整装置100、及び制御装置200のいずれか二つ以上に分散して設けられていてもよい。さらに、制御装置200は、錠剤払出装置1又は調整装置100に搭載されていてもよい。 
 また、本実施形態では、錠剤払出装置1が複数の錠剤カセット2に収容される複数の錠剤種別の錠剤から自動的に錠剤を払い出し可能な構成を例に挙げて説明するが、本発明に係る薬品払出システムの制御対象は、例えば錠剤、散薬、又は水剤などの各種の剤形の薬品について、複数の薬品カセットに収容された複数の薬品種別の薬品を払い出し可能な薬品払出装置であってもよい。 
 図33に示されるように、錠剤払出装置1は、制御部300、リーダライタ301、及び手撒きユニット302等を備え、調整装置100は、リーダライタ501を備える。また、錠剤カセット2のカセット本体5には、RFIDタグ601が設けられている。RFIDタグ601は、データを記憶することが可能な不揮発性の記憶部の一例である。なお、RFIDタグ601に代えて、例えば接点式などの他の記憶方式でデータの読み書きが可能な記憶部が用いられてもよい。 
 手撒きユニット302は、錠剤カセット2に収容されていない錠剤種別の錠剤を払い出すために用いられ、一般にDTA(Detachable Tablet Adapter)とも称される。なお、手撒きユニット302は、例えば1錠未満の半錠又は1/4錠などの錠剤のように錠剤カセット2からの払い出しに適さない薬品の払い出しにも用いられる。具体的に、手撒きユニット302は、マトリクス状(格子状)に設けられた複数のDTAセルを含む。そして、前記DTAセル各々には、処方データに処方薬として含まれる錠剤種別であって錠剤カセット2から払い出し可能ではない錠剤種別の錠剤が服用時期の単位で投入される。その後、手撒きユニット302は、処方データに基づいて、前記DTAセルに投入された錠剤が必要なタイミングで前記DTAセル各々の底面をモータ等の所定の駆動手段で開くことによって、当該DTAセル各々に投入されている錠剤を払い出すことが可能である。なお、前記手撒きユニット302と同様に前記DTAセルの単位で薬品を払出可能な手撒きユニットは、例えば特開2006-110386号公報に開示されている。 
 制御部300は、CPU、ROM、RAM、及びEEPROM(登録商標)などの制御機器を有する。前記CPUは、各種の演算処理を実行するプロセッサーである。前記ROMは、前記CPUに各種の処理を実行させるための制御プログラムなどの情報が予め記憶される不揮発性の記憶部である。前記RAMは揮発性の記憶部、前記EEPROMは不揮発性の記憶部である。前記RAM及び前記EEPROMは、前記CPUが実行する各種の処理の一時記憶メモリー(作業領域)として使用される。 
 具体的に、制御部300は、異常判定部311などの処理部を含む。具体的に、制御部300は、前記CPUを用いて、前記ROM等に予め記憶された薬品払出プログラムに従って各種の処理を実行することにより各種の処理部として機能する。なお、前記処理部の一部又は全部が電子回路であってもよい。 
 異常判定部311は、錠剤カセット2からの錠剤の払い出しに用いられる駆動部の駆動電流が予め設定された異常電流値以上であるか否かを判定する。即ち、異常判定部311は、前記駆動部の異常を検出するための処理を実行する。なお、前記異常電流値は、後述する制御部401の異常処理部418によって設定又は変更される。 
 リーダライタ301は、錠剤払出装置1において、ベース3に錠剤カセット2が装着された場合に、当該ベース3に装着されている錠剤カセット2のRFIDタグ601にアクセス可能な位置に設けられている。そして、リーダライタ301は、錠剤カセット2に設けられたRFIDタグ601からデータを読み取ることが可能であると共に、当該RFIDタグ601にデータを書き込むことが可能である。 
 リーダライタ501は、調整装置100において、カセット装着部102に錠剤カセット2が装着された場合に、当該カセット装着部102に装着されている錠剤カセット2のRFIDタグ601にアクセス可能な位置に設けられている。そして、リーダライタ501は、錠剤カセット2に設けられたRFIDタグ601からデータを読み取ることが可能であると共に、当該RFIDタグ601にデータを書き込むことが可能である。 
 RFIDタグ601は、図33に示されるように、更新可能領域611及び更新不可領域612を含む。更新可能領域611は、リーダライタ301、501のようなリーダライタによるデータの読み出し及びデータの書き込みが可能な領域である。更新不可領域612は、リーダライタ301、501のようなリーダライタによるデータの読み出しは可能であるが、データの書き込みができない領域である。 
 具体的に、更新可能領域611には、RFIDタグ601が設けられる錠剤カセット2に割り当てられる錠剤種別を識別するための薬品コード又は薬品名などの薬品識別情報を含む錠剤種別情報D21(図32(B)参照)が記憶される。錠剤種別情報D21には、薬品識別情報の他に、安定係数、配置制限、サイズ種別、機種番号、枝番号などの情報も含まれる。なお、錠剤種別情報D21に、錠剤のサイズ(長さ、幅、高さ、厚さ)が記憶されていてもよい。なお、錠剤払出装置1における錠剤カセット2各々の装着位置が固定的に設定される場合には、錠剤種別情報D21及び後述の割当対応情報D31に、錠剤払出装置1における錠剤カセット2の装着位置を示す装着位置情報が含まれ、当該装着位置情報がユーザー操作などに基づいて制御部401によって更新される。 
 前記安定係数は、錠剤の形状・固さによる跳ねやすさ、転がりやすさを示す係数で、例えば、個々の錠剤カセット2から払い出される錠剤が落下して排出口で安定するまでの時間(最大)を算出するために用いられる。前記配置制限は、錠剤カセット2を錠剤払出装置1に装着する際、装着可能な位置の制限に関する情報であって、例えば、「全段可能」、「半分以下」、「下2列のみ」のように錠剤カセット2を装着可能な位置を高さで制限するための情報である。前記サイズ種別とは、錠剤カセット2のサイズであり、例えばL、LM、M、S、SSのように収容可能な錠剤の数量に応じて定められている。前記機種番号とは、錠剤払出装置1が複数台ある場合に、当該錠剤カセット2が実装される錠剤払出装置1の識別番号である。前記枝番号とは、同種の錠剤を収容する錠剤カセット2が複数ある場合、それぞれを区別するために付される番号である。 
 一方、更新不可領域612には、RFIDタグ601が設けられる錠剤カセット2を識別するための固有の識別情報を示すカセット番号、及び当該錠剤カセット2のカセットタイプなどの情報を含むカセット情報D22(図32(B)参照)が予め記憶されている。ここに、前記カセットタイプとは払い出し可能な錠剤の適合条件が異なる複数タイプの錠剤カセット2を識別するための情報である。具体的に、前記適合条件には、錠剤の幅、高さ、厚さなどのサイズについての最小値及び最大値の一方又は両方が含まれる。また、前記適合条件には、例えばカプセル錠又は平丸錠などの錠剤の形状が含まれていてもよい。 
 例えば、錠剤カセット2のカセットタイプとして、錠剤の幅(直径)x1mm以上x2mm未満、厚さがy1mm以上y2mm未満、錠剤の形状が平丸錠であるAタイプ、及び、錠剤の幅x2mm以上x3mm未満、厚さ(直径)y2mm以上y3mm未満、錠剤の形状がカプセル錠であるBタイプなどが含まれる。また、錠剤カセット2のカセットタイプは、払い出し可能な錠剤の適合条件が異なるAタイプ、Bタイプ、Cタイプなどの三つ以上であってもよい。なお、錠剤カセット2のロータ8にトルクリミッタ(不図示)が設けられる場合には、当該トルクリミッタにおけるトルク伝達の有無を切り替える負荷の大きさが、錠剤カセット2のカセットタイプごとに異なることも考えられる。また、錠剤カセット2各々が全ての錠剤に適合可能な構成であってもよく、この場合にはカセット情報D22に前記カセットタイプの情報が含まれていなくてもよい。 
 制御装置200は、制御部401、操作部402、表示部201、及び記憶部202等を備えるコンピュータのような情報処理装置である。 
 記憶部202に記憶されている錠剤実装マスタD11では、図32(A)に示されるように、薬品コード又は薬品名のような薬品識別情報が示す錠剤各々について、安定係数、配置制限、カセットタイプ、寸法(長さ、高さ、幅、厚さ)、及び進入位置などの情報が薬品識別情報ごとに対応付けて記憶されている。これにより、制御部401は、錠剤カセット2に割り当てられる錠剤種別と錠剤実装マスタD11の寸法及び進入位置とに基づいて、当該錠剤カセット2の錠剤案内路8bの寸法及び仕切部材20の進入位置を調整装置100で調整することが可能である。 
 また、記憶部202には、図32(C)に示されるように、錠剤カセット2の識別情報であるカセット番号と、当該錠剤カセット2に割り当てられている錠剤の薬品識別情報である薬品コードと、後述の照合用コードが照合済みであるか否かを示す照合済フラグとが対応付けられた割当対応情報D31が記憶されている。これにより、制御部401は、割当対応情報D31における薬品コードとカセット番号との対応関係を参照して錠剤払出装置1を制御し、処方データに示される特定の錠剤を当該錠剤に対応する錠剤カセット2から払い出すことが可能である。なお、割当対応情報D31には、錠剤払出装置1に装着可能な錠剤カセット2の数よりも多くの錠剤カセット2についての情報が記憶可能であり、錠剤払出装置1では、割当対応情報D31に記憶されている錠剤カセット2のうち錠剤払出装置1に装着されている錠剤カセット2を用いて錠剤の払い出しが可能であってもよい。 
 さらに、記憶部202には、図32(D)に示されるように、薬品払出システム500に接続されている錠剤払出装置1各々について、当該錠剤払出装置1に装着されている錠剤カセット2のカセット番号と当該錠剤カセット2が装着されている錠剤払出装置1のベース3を識別するためのベース番号とが対応付けられたベースマスタD41が記憶される。制御部401は、錠剤払出装置1において錠剤カセット2の着脱が検出された場合に、当該錠剤カセット2の着脱結果に応じてベースマスタD41を更新する。これにより、制御部401は、錠剤払出装置1各々に対応するベースマスタD41に基づいて、薬品払出システム500において、錠剤払出装置1各々に装着されている錠剤カセット2、及び当該錠剤カセット2が装着されているベース3を特定することが可能である。 
 表示部201は、各種の情報を表示可能な液晶ディスプレイ、有機ELディスプレイ、プロジェクターなどの表示手段である。操作部402は、ユーザー操作を受け付け可能なマウス、キーボード、タッチパネルなどの操作手段である。なお、表示部201及び操作部402は、ユーザー操作を受け付け可能なタッチパネルディスプレイであってもよい。 
 制御部401は、CPU、ROM、RAM、及びEEPROM(登録商標)などの制御機器を有する。前記CPUは、各種の演算処理を実行するプロセッサーである。前記ROMは、前記CPUに各種の処理を実行させるための制御プログラムなどの情報が予め記憶される不揮発性の記憶部である。前記RAMは揮発性の記憶部、前記EEPROMは不揮発性の記憶部である。前記RAM及び前記EEPROMは、前記CPUが実行する各種の処理の一時記憶メモリー(作業領域)として使用される。 
 そして、制御部401は、割当処理部411、判定処理部412、出力処理部413、第1表示処理部414、清掃処理部415、コード出力処理部416、制限処理部417、異常処理部418、報知処理部419、適合判定処理部420、及び第2表示処理部421等の各種の処理部を含む。具体的に、制御部401は、前記CPUを用いて、前記ROM又は記憶部202に予め記憶された薬品払出プログラムに従って各種の処理を実行することにより前記各種の処理部として機能する。なお、前記処理部の一部又は全部が電子回路であってもよい。 
 割当処理部411は、予め割り当てられる任意の錠剤種別の錠剤を払い出し可能な第1錠剤カセットの一例である錠剤カセット2に錠剤種別をユーザー操作に応じて受け付ける。以下、割当処理部411による錠剤種別の割当対象となる錠剤カセット2を対象錠剤カセット2Aと称することがある。例えば、割当処理部411は、表示部201に選択候補の錠剤種別の一覧を表示させ、操作部402に対するユーザー操作に応じて前記錠剤種別の選択を受け付ける。なお、割当処理部411は、制御装置200に接続される不図示のバーコードリーダ等を用いて錠剤種別を読み取るためのユーザー操作が行われた場合に、その読み取られた錠剤種別を割当対象の錠剤種別として受け付けてもよい。そして、割当処理部411は、前記ユーザー操作に応じて受け付けられた前記錠剤種別を錠剤カセット2に割り当てることが可能である。一方、割当処理部411は、調整装置100による錠剤カセット2の調整中は、当該錠剤カセット2を錠剤種別が割り当てられていない状態にする。 
 判定処理部412は、割当処理部411により受け付けられた錠剤種別と同一の錠剤種別に対応する第2錠剤カセットである錠剤カセット2が存在するか否かを判定する。即ち、判定処理部412は、錠剤種別の重複割り当ての有無を確認するための処理を実行する。以下、割当処理部411により受け付けられた錠剤種別が既に割り当てられている錠剤カセット2を既存錠剤カセット2Bと称することがある。なお、本実施形態では、錠剤カセット2が第2錠剤カセットの一例である場合について説明するが、当該錠剤カセット2の他に、払い出し可能な錠剤の錠剤種別が予め定められている錠剤種別固定カセットが錠剤払出装置1に装着可能である場合には、当該錠剤種別固定カセットも第2錠剤カセットの一例である。 
 出力処理部413は、判定処理部412による判定結果を出力する。具体的に、出力処理部413は、割当処理部411により受け付けられた錠剤種別と同一の錠剤種別に対応する既存錠剤カセット2Bが存在すると判定処理部412が判定した場合に、その旨を表示部201に表示させる。例えば、「既に同一の錠剤種別に対応する錠剤カセットが存在します」などのメッセージが表示される。なお、出力処理部413は、割当処理部411により受け付けられた錠剤種別と同一の錠剤種別に対応する既存錠剤カセット2Bが存在しないと判定処理部412が判定した場合には、その旨を表示部201に表示させなくてもよい。また、既存錠剤カセット2Bが存在する旨の出力方法は、表示画面の点滅、表示文字色の変更、又はブザー鳴動などであってもよい。さらに、既存錠剤カセット2Bが存在する場合には、現在存在する既存錠剤カセット2Bの合計数、又は、現在存在する既存錠剤カセット2Bと対象錠剤カセット2Aとを含む総合計数が判定結果として表示されてもよい。このとき、割当処理部411は、割当処理部411により受け付けられた錠剤種別と同一の錠剤種別に対応する既存錠剤カセット2Bが存在すると判定処理部412により判定された後、前記錠剤種別を対象錠剤カセット2Aに割り当てる旨のユーザー操作が行われた場合は、当該錠剤種別を対象錠剤カセット2Aに割り当て可能である。 
 第1表示処理部414は、錠剤案内路8bを調整可能な調整装置100に装着されている対象錠剤カセット2Aに現在割り当てられている錠剤種別を表示部201等に表示することが可能である。 
 清掃処理部415は、調整装置100により対象錠剤カセット2Aの錠剤案内路8bが錠剤種別に応じて調整される前に、当該錠剤案内路8bを予め設定された清掃可能状態に遷移させることが可能である。具体的に、清掃処理部415は、対象錠剤カセット2Aの錠剤案内路8bの調整中に当該錠剤案内路8bの幅を最大サイズまで広げることでロータ8の清掃を可能にすることが考えられる。 
 コード出力処理部416は、調整装置100による前記錠剤種別に応じた対象錠剤カセット2Aの調整後に当該錠剤種別を示す照合用コードを出力することが可能である。なお、前記照合用コードには、対象錠剤カセット2Aのカセット番号も含まれる。例えば、コード出力処理部416は、制御装置200に接続される不図示のプリンタ又はラベル印刷装置などに前記照合用コードを出力してシール等の印刷物として印刷する。前記照合用コードは、制御装置200に接続可能な不図示のバーコードリーダによって読み取り可能な一次元コード又は二次元コードである。そして、コード出力処理部416により出力される印刷物は、対象錠剤カセット2Aに貼り付けられ、当該対象錠剤カセット2Aに割り当てられた錠剤種別を識別するために用いられる。 
 制限処理部417は、錠剤払出装置1で対象錠剤カセット2Aについて前記照合用コードに基づく照合が完了していることを条件に当該対象錠剤カセット2Aからの錠剤の払出を許可する。即ち、制限処理部417は、錠剤払出装置1で対象錠剤カセット2Aについて前記照合用コードに基づく照合が完了するまでの間は、当該対象錠剤カセット2Aからの錠剤の払出を制限(禁止)する。なお、制限処理部417は、前記照合用コードに基づく照合が完了していない場合であってもユーザー操作により錠剤の払出が許可された場合に当該錠剤の払い出しを許可してもよい。 
 異常処理部418は、対象錠剤カセット2Aに割り当てられた錠剤種別に応じて前記異常電流値を設定することが考えられる。また、異常処理部418は、対象錠剤カセット2Aのカセットタイプに応じて前記異常電流値を設定してもよい。 
 報知処理部419は、対象錠剤カセット2Aに現在割り当てられている錠剤種別と割当処理部411により受け付けられた錠剤種別とが同じである場合に、その旨を報知する。具体的に、報知処理部419は、割当対応情報D31において対象錠剤カセット2Aに現在割り当てられている錠剤種別と割当処理部411により受け付けられた錠剤種別とが同じであるか否かを判定し、同じである場合にはその旨を表示部201等に表示させてユーザーに報知する。 
 適合判定処理部420は、割当処理部411により受け付けられた前記錠剤種別に対応する錠剤のサイズ又は形状が、対象錠剤カセット2Aに適合するか否かを判定する。具体的に、適合判定処理部420は、対象錠剤カセット2Aのカセットタイプに基づいて、前記錠剤種別に対応する錠剤のサイズ又は形状が適合するか否かを判定する。そして、適合判定処理部420による判定結果は、出力処理部413によって表示部201に表示される。 
 第2表示処理部421は、割当処理部411により錠剤種別が受け付けられた場合、当該錠剤種別に対応する錠剤に適合する錠剤カセット2のカセットタイプ等の情報を表示部201等に表示することが可能である。 
 以下、本実施形態に係る薬品払出システム500で実行される割当開始処理、カセット調整処理、錠剤払出処理の手順の一例について説明する。なお、当該薬品払出システム500全体として割当開始処理、カセット調整処理、錠剤払出処理が実行されれば、各ステップの処理主体はここで説明するものに限らない。 
[割当開始処理]
 まず、図34を参照しつつ、前記割当開始処理の手順の一例について説明する。例えば、制御装置200の制御部401は、操作部402に対する所定のユーザー操作に応じて前記割当開始処理を開始する。ユーザーは、割当錠剤カセット2Aをカセット装着部102に装着した後、前記所定のユーザー操作を行って当該割当開始処理を開始させる。 
<ステップS21>
 ステップS21において、制御部401は、対象錠剤カセット2Aに割り当てる錠剤種別をユーザー操作に応じて選択するための処理を実行し、当該処理の終了後に処理をステップS22に移行させる。なお、ステップS21は制御部401の割当処理部411によって実行される。具体的に、制御部401は、対象錠剤カセット2Aに割り当てる錠剤種別を設定するための操作画面P1を表示部201に表示させ、当該操作画面P1における錠剤種別の設定操作を受け付ける。 
 ここに、図35は、操作画面P1の一例を示す図である。操作画面P1では、薬品コード又は薬品名に応じて錠剤種別を抽出するための抽出条件が設定可能であり、制御部401は、前記抽出条件に基づいて錠剤種別の一覧を錠剤実装マスタD11から抽出して選択対象として表示する。なお、前記錠剤種別の一覧は前記薬品マスタから抽出されて表示されてもよい。そして、錠剤種別の一覧に表示されている錠剤種別からユーザー操作に応じて錠剤種別が選択されると、制御部401は、当該錠剤種別を対象錠剤カセット2Aに割り当てる錠剤種別として選択する。 
<ステップS22>
 ステップS22において、制御部401は、ステップS21で選択された錠剤種別と同一の錠剤種別に対応する既存錠剤カセット2Bが存在するか否かを判定する。なお、ステップ22の判定ステップは制御部401の判定処理部412によって実行される。ここで、既存錠剤カセット2Bが存在すると判定された場合には(S22:Yes)、処理がステップS23に移行する。また、既存錠剤カセット2Bが存在すると判定されなかった場合には(S22:No)、処理がステップS25に移行する。 
 具体的に、制御部401は、記憶部202に記憶されている割当対応情報D31に基づいて、ステップS21で選択された錠剤種別と同一の錠剤種別に対応する既存錠剤カセット2Bが錠剤払出装置1に既に実装されているか否かを判定する。なお、既存錠剤カセット2Bは、前記割当処理部411により錠剤種別が割り当てられた後の錠剤カセット2の他、払い出し可能な錠剤種別が予め定められている錠剤種別固定カセットを含む場合がある。 
 また、錠剤払出装置1には、払い出し可能な錠剤に対応する錠剤種別が当該錠剤払出装置1に装着された状態で任意に割り当て可能な特殊錠剤カセットが錠剤払出装置1に設けられる場合がある。このとき、制御部401は、当該特殊錠剤カセットに特定の1又は複数の処方データに含まれる錠剤種別の錠剤を一時的に割り当て、当該特定の処方データに対応する量の錠剤の払出終了後に当該割り当てを解除する場合がある。この場合、当該特殊錠剤カセットにステップS21で選択された錠剤種別と同一の錠剤種別が一時的に割り当てられていることがあるが、制御部401は、当該特殊錠剤カセットを当該錠剤種別が既に割り当てられた錠剤カセット2としては判断しないことが考えられる。一方、前記特殊錠剤カセットが、ステップS21で選択された錠剤種別と同種の錠剤種別が払い出されるカセットとして固定的に割り当てられている場合、制御部401が、当該特殊錠剤カセットを当該錠剤種別が既に割り当てられた錠剤カセット2として判断することも他の実施形態として考えられる。なお、薬品払出システム500において、特定の錠剤カセット2が特定の一又は複数の処方データに基づいて錠剤を払い出す際にのみ用いる錠剤カセット2として一時的に割り当て可能な場合には、当該錠剤カセット2についても同様に、同一の錠剤種別が既に割り当てられた錠剤カセット2としては判断しないことが考えられる。 
 なお、薬品払出システム500には、複数の錠剤払出装置1が接続されることが考えられる。この場合、例えば、ステップS22において、判定処理部412は、複数の錠剤払出装置1のいずれかに、割当処理部411により受け付けられた錠剤種別と同一の錠剤種別に対応する既存錠剤カセット2Bが既に存在するか否かを判定することが考えられる。また、判定処理部412は、複数の錠剤払出装置1のうち予め定められたいずれか一つの錠剤払出装置1に、割当処理部411により受け付けられた錠剤種別と同一の錠剤種別に対応する既存錠剤カセット2Bが存在するか否かを判定してもよい。具体的に、判定処理部412は、複数の錠剤払出装置1のうち対象錠剤カセット2Aが装着される錠剤払出装置1に、割当処理部411により受け付けられた錠剤種別と同一の錠剤種別に対応する既存錠剤カセット2Bが存在するか否かのみを判定することが考えられる。 
 なお、割当対応情報D31には、錠剤払出装置1に現在装着されている錠剤カセット2だけでなく、錠剤払出装置1に現在装着されていない錠剤カセット2に割り当てられている錠剤種別の情報が含まれる。そのため、制御部401は、錠剤払出装置1に装着されている錠剤カセット2だけでなく、錠剤払出装置1に装着されていない錠剤カセット2についても判定範囲とし、既存錠剤カセット2Bが存在するか否かを判定することが可能である。なお、割当対応情報D31に、錠剤カセット2各々の錠剤払出装置1への装着の有無に関する装着状態情報が記憶され、当該装着状態情報が制御部401によって適宜更新されることが考えられる。この場合、制御部401は、割当対応情報D31及び前記装着状態情報に基づいて、現在錠剤払出装置1に装着されている錠剤カセット2のみについて、既存錠剤カセット2Bが存在するか否かを判定してもよい。また、ベースマスタD41が、錠剤カセット2各々について、錠剤払出装置1に装着されている場合にはその装着されているベース3の識別情報が記憶されており、錠剤払出装置1に装着されていない場合には装着されていない旨の情報(例えばベース3の識別情報が空白)が記憶されることも考えられる。この場合、制御部401は、ベースマスタD41に基づいて、錠剤払出装置1に装着されている錠剤カセット2だけでなく、錠剤払出装置1に装着されていない錠剤カセット2についても判定範囲とし、既存錠剤カセット2Bが存在するか否かを判定することが可能である。 
<ステップS23>
 ステップS23において、制御部401は、ステップS21で選択された錠剤種別に対応する錠剤カセット2が既に存在する旨を表示部201に表示出力し、ユーザーに報知する。即ち、制御部401は、同一の錠剤種別に対応する錠剤カセット2が重複することになる旨を報知する。なお、制御部401は、割当対応情報D31において対象錠剤カセット2Aに現在割り当てられている錠剤種別と割当処理部411により受け付けられた錠剤種別とが同じである場合にも、その旨を報知する。ここに、当該ステップS23の報知処理は、制御部401の報知処理部419によって実行される。これにより、同一の錠剤種別が二つ以上の錠剤カセット2に割り当てられることが抑制される。 
<ステップS24>
 ステップS24において、制御部401は、ステップS21で選択された錠剤種別をそのまま継続して対象錠剤カセット2Aに割り当てる旨のユーザー操作が行われたか否かを判断する。具体的に、制御部401は、ステップS21で選択された錠剤種別をそのまま対象錠剤カセット2Aに割り当てる旨の継続操作及びキャンセル操作を受け付けるための表示画面を表示部201に表示させることが考えられる。ここで、継続操作が行われたと判断された場合は(S24:Yes)、処理がステップS25に移行し、キャンセル操作が行われたと判断された場合は(S24:No)、処理がステップS21に戻される。これにより、ユーザーの意向により、同一の錠剤種別を複数の錠剤カセット2に割り当てることも可能である。 
<ステップS25>
 ステップS25において、制御部401は、対象錠剤カセット2Aへの錠剤種別の割り当ての開始操作を受け付けるための操作画面P2を表示部201に表示させる。ここに、図36は、操作画面P2の一例を示す図である。 
 操作画面P2には、ステップS21で選択された錠剤種別に関する情報が表示される表示領域A1と、対象錠剤カセット2Aに現在割り当てられている錠剤種別に関する情報が表示される表示領域A2とが含まれる。 
 具体的に、制御部401は、前記ステップS21で選択された錠剤種別の情報を錠剤実装マスタD11に基づいて表示領域A1に表示させる。例えば、表示領域A1には、前記ステップS21で選択された錠剤種別に対応する薬品を識別可能な薬品コード及び薬品名、当該錠剤種別に適合する錠剤カセット2のカセットタイプ、当該錠剤種別に対応する錠剤種別の外観画像などが表示される。このように、対象錠剤カセット2Aに割り当てる錠剤種別が選択された場合、制御部401は、当該錠剤種別に適合するカセットタイプ等の情報を含む操作画面P2を表示する。ここに、係る表示処理は、制御部401の第2表示処理部421によって実行される。なお、錠剤実装マスタD11に錠剤カセット2のカセットタイプの情報が記憶されておらず、制御部401が錠剤実装マスタD11に記憶されている長さ、高さ、幅、厚さ等の錠剤の寸法に基づいて適合する錠剤カセット2のカセットタイプを判定して表示領域A1に表示させてもよい。また、当該錠剤種別が対象錠剤カセット2Aに適合するか否かの情報が操作画面P2に表示されてもよい。 
 また、制御部401は、調整装置100のリーダライタ501を制御し、カセット装着部102に装着されている対象錠剤カセット2AのRFIDタグ601から錠剤種別情報D21及びカセット情報D22を読み取り、当該対象錠剤カセット2Aに割り当てられている錠剤種別の情報を表示領域A2に表示させる。具体的に、表示領域A2には、錠剤種別に対応する錠剤を識別可能な薬品コード及び薬品名、当該対象錠剤カセット2Aのカセットタイプ、当該対象錠剤カセット2Aに割り当てられた錠剤種別の外観画像などが表示される。なお、RFIDタグ601から錠剤種別情報D21及びカセット情報D22が読み取られていなければ、表示領域A2には情報が表示されず、RFIDタグ601から錠剤種別情報D21及びカセット情報D22が読み取られた場合に、表示領域A2に前記錠剤種別の情報が表示される。また、他の実施形態として、制御部401が、前記ステップS21において、割当対象となる対象錠剤カセット2Aをユーザー操作に応じて選択することも考えられる。この場合、制御部401は、選択された対象錠剤カセット2Aに割り当てられている錠剤種別の情報を割当対応情報D31及び錠剤実装マスタD11に基づいて表示領域A2に表示させてもよい。このように、制御部401は、対象錠剤カセット2Aに現在割り当てられている錠剤種別等の情報を含む操作画面P2を表示する。ここに、係る表示処理は、制御部401の第1表示処理部414によって実行される。 
 また、操作画面P2には、表示領域A1に表示される錠剤種別の情報を拡張するための操作キーK3が含まれる。そして、制御部401は、操作キーK3が操作されると、操作画面P2における表示領域A1を図37に示すように拡張させ、表示領域A1に表示される錠剤種別の情報として、当該錠剤種別に対応する錠剤のJANコード又はGS1コード、錠剤のサイズ(長さ、幅、高さ、厚さ)、安定係数、配置制限、サイズ種別などに関する情報を錠剤実装マスタD11に基づいて表示する。また、制御部401は、操作キーK3が再度操作されると、操作画面P2における表示領域A1を図36に示すように拡張を解除する。なお、制御部401は、表示領域A1におけるユーザー操作に応じて、錠剤実装マスタD11に登録されている錠剤種別に対応する錠剤の長さ、幅、高さ、厚さの値を変更することも可能である。 
 また、操作画面P2には、後述のカセット調整処理においてロータ8の清掃を行うか否かを選択するための操作キーK2が含まれる。そして、制御部401は、後述のロータ清掃処理(図40参照)のステップS51において、操作画面P2における操作キーK2の選択状態に応じてロータ8の清掃を行うか否かを判断する。 
 なお、他の実施形態として、ステップS22で既存錠剤カセット2Bが存在すると判断された場合に、ステップS23、S24が省略され、当該ステップS25で表示される操作画面P2に、ステップS21で選択された錠剤種別に対応する錠剤カセット2が既に存在する旨が表示されてもよい。この場合、制御部401は、操作キーK1の操作を、ステップS21で選択された錠剤種別をそのまま継続して対象錠剤カセット2Aに割り当てる旨のユーザー操作として受け付けることが考えられる。また、制御部401は、操作画面P2に表示される不図示のキャンセルキーの操作を、ステップS21で選択された錠剤種別の対象錠剤カセット2Aへの割り当てをキャンセルするためのユーザ操作として受け付けることが考えられる。 
<ステップS26>
 ステップS26において、制御部401は、対象錠剤カセット2Aへの錠剤種別の割り当ての開始操作が行われたか否かが判断される。具体的に、操作画面P2には、対象錠剤カセット2Aへの錠剤種別の割り当ての開始操作を受け付ける操作キーK1が含まれており、制御部401は操作キーK1が操作された場合に、対象錠剤カセット2Aへの錠剤種別の割り当ての開始操作が行われたと判断する。ここで、開始操作が行われたと判断された場合(S26:Yes)、処理がステップS27に移行する。なお、開始操作が行われたと判断されるまでの間は(S26:No)、処理が当該ステップS26で待機する。 
<ステップS27>
 ステップS27において、制御部401は、ステップS21で選択された錠剤種別が、カセット装着部102に装着されている対象錠剤カセット2Aに適合しているか否かを判定する。具体的に、制御部401は、対象錠剤カセット2Aに割り当てる錠剤種別が当該対象錠剤カセット2Aのカセットタイプの適合条件(錠剤のサイズ又は形状など)を満たしているか否かを判定する。例えば、対象錠剤カセット2Aに割り当てる錠剤種別に対応する錠剤のサイズ又は形状が、当該対象錠剤カセット2Aのカセット情報D22におけるカセットタイプの適合条件の範囲内であるか否かが判断される。また、対象錠剤カセット2Aに割り当てる錠剤種別に適合するカセットタイプとして錠剤実装マスタD11又は前記薬品マスタ等に登録されているカセットタイプと、対象錠剤カセット2Aのカセット情報D22に記憶されているカセットタイプとが一致している場合に適合すると判断されてもよい。なお、他の実施形態として、錠剤カセット2が全ての錠剤種別に適合可能なものであってもよく、この場合、当該ステップS26は省略可能である。 
 ここで、対象錠剤カセット2Aに割り当てる錠剤種別が当該対象錠剤カセット2Aに適合していると判定されると(S27:Yes)、当該割当開始処理が終了して前記カセット調整処理が開始される。一方、対象錠剤カセット2Aに割り当てる錠剤種別が当該対象錠剤カセット2Aに適合していないと判定されると(S27:No)、処理がステップS28に移行してエラーメッセージが表示部201等に表示されてユーザーに報知された後、処理がステップS21に戻される。 
[カセット調整処理]
 次に、図38及び図39を参照しつつ、前記カセット調整処理の手順の一例について説明する。なお、制御部401は、前記割当開始処理の終了後に続けて前記カセット調整処理を開始する。 
<ステップS30>
 ステップS30において、制御部401は、対象錠剤カセット2AのRFIDタグ601からの情報の読み出しが可能であるか否かを判断する。具体的に、制御部401は、調整装置100に対して、対象錠剤カセット2AのRFIDタグ601から錠剤種別情報D21及びカセット情報D22を読み出す旨の制御信号を送信し、当該調整装置100からの読み出し完了通知の受信を待ち受ける。これにより、調整装置100では、リーダライタ501により対象錠剤カセット2AのRFIDタグ601から錠剤種別情報D21及びカセット情報D22を読み出し、読み出しが完了すると読み出し完了通知を制御装置200に送信する。 
 ここで、対象錠剤カセット2AのRFIDタグ601から情報の読み出しが可能であると判断されると(S30:Yes)、処理がステップS31に移行し、対象錠剤カセット2AのRFIDタグ601から情報の読み出しが可能であると判断されるまでの間は(S31:No)、処理がステップS21で待機する。なお、制御部401は、所定時間経過後も対象錠剤カセット2AのRFIDタグ601からの情報の読み出しが可能であると判断されなければエラーを表示部201等に表示してユーザーに報知する。 
<ステップS31>
 ステップS31において、制御部401は、調整装置100のカセット装着部102に装着されている対象錠剤カセット2AのRFIDタグ601から読み取られた錠剤種別情報D21及びカセット情報D22を調整装置100から取得し、記憶部202に記憶する。具体的に、制御部401は、調整装置100に対して、錠剤種別情報D21及びカセット情報D22の送信要求を送信することにより、調整装置100から錠剤種別情報D21及びカセット情報D22を受信する。 
<ステップS32>
 ステップS32において、制御部401は、調整装置100のカセット装着部102に装着されている対象錠剤カセット2AのRFIDタグ601に記憶されている錠剤種別情報D21の内容を消去する。即ち、制御部401は、対象錠剤カセット2Aに対する錠剤種別の割り当てを解除するための処理を実行する。また、制御部401は、割当対応情報D31において対象錠剤カセット2Aに対応付けられた薬品コードを消去する。即ち、調整装置100による対象錠剤カセット2Aの調整中は、当該対象錠剤カセット2Aに錠剤種別が割り当てられていない状態となる。これにより、ロータ8の調整が正常に終わっていない対象錠剤カセット2Aが錠剤払出装置1で使用されることが防止される。 
<ステップS33>
 ステップS33において、制御部401は、対象錠剤カセット2Aからロータ8を取り出し可能にするための取り外し準備処理を実行する。具体的に、制御部401は、仕切調整機構M1を駆動させ、仕切部材20を後退させて当該仕切部材20の先端を少なくとも錠剤カセット2のカセット本体5の第1可動部材60の切欠き72a及び第2可動部材61の切欠き81aから退避させ、ロータ8をカセット本体5から取り出し可能な状態にする。そして、ロータ8が対象錠剤カセット2Aから取り外し可能な状態になると、処理がステップS34に移行する。なお、本実施形態では、調整装置100によるロータ8の調整時に、当該ロータ8が錠剤カセット2に対して着脱される場合を例に挙げて説明するが、調整装置100が、錠剤カセット2にロータ8が装着された状態で当該ロータ8を調整可能な構成であってもよい。 
<ステップS34>
 ステップS34において、制御部401は、ロータ8の調整動作を開始するための予め定められた開始報知情報を表示部201に表示させてユーザーに報知する。具体的に、前記開始報知情報は、ロータ8を対象錠剤カセット2Aから取り外して、調整装置100のロータ載置部103にセットし、レバー145を下げて第1スタートボタン203を押下する旨を促すメッセージ又は画像などを含む。なお、ロータ8を錠剤カセット2から取り外すこと、調整装置100のロータ載置部103にセットすること、レバー145を下げること、第1スタートボタン203を押すことを個別に促すためのメッセージ又は画像などが、ユーザー操作に応じて順に表示されてもよい。 
<ステップS35>
 ステップS35において、制御部401は、ロータ8の調整動作のスタート操作が行われたか否かを判断する。具体的に、制御部401は、第1スタートボタン203が押下された場合にスタート操作が行われたと判断する。そして、スタート操作が行われたと判断された場合には(S35:Yes)、処理がステップS36に移行する。なお、スタート操作が行われたと判断されるまでの間は(S35:No)、処理がステップS35で待機する。 
<ステップS36>
 ステップS36において、制御部401は、レバー位置検出センサ147の検出結果に基づいて、レバー145が予め定められた押下げ状態に遷移しているか否かが判断される。そして、レバー145が押下げ状態に遷移していると判断されると(S36:Yes)、処理がステップS362に移行する。一方、レバー145が押下げ状態に遷移していないと判断されると(S36:No)、処理がステップS361に移行する。 
<ステップS361>
 ステップS361において、制御部401は、レバー145が押下げ状態に遷移していない旨のエラーメッセージを表示部201に表示させることによりユーザーに報知する。その後、処理は前記ステップS35に戻される。 
<ステップS362>
 ステップS362において、制御部401は、ユーザーによる錠剤カセット2のロータ8を清掃可能にするためのロータ清掃処理を実行する。ここに、係るロータ清掃処理は、制御部401の清掃処理部415によって実行される。なお、前記カセット調整処理において、当該ステップS362は省略されてもよい。ここで、図40を参照しつつ、前記ロータ清掃処理の手順の一例について説明する。 
<ステップS51>
 ステップS51において、制御部401は、ロータ8の清掃を行うか否かを判断する。具体的に、制御部401は、前記割当開始処理において、操作画面P2の操作キーK2(図36参照)で「清掃あり」が選択されている場合に、制御部401のRAM等において清掃フラグをONに設定する。そして、ステップS51において、制御部401は、前記清掃フラグがONである場合にロータ8の清掃を行うと判断する。なお、制御部401は、当該ロータ清掃処理の終了時に前記清掃フラグをOFFに設定する。ここで、ロータ8の清掃を行うと判断されると(S51:Yes)、処理がステップS52に移行する。一方、ロータ8の清掃を行わないと判断されると(S51:No)、当該ロータ清掃処理が終了して処理がステップS37に移行する。 
<ステップS52>
 ステップS52において、制御部401は、調整装置100に対してロータ8を清掃可能な状態に調整するための清掃開始指示を送信する。具体的に、制御部401は、調整装置100による対象錠剤カセット2Aの錠剤案内路8bを予め設定された清掃可能状態に遷移させる。例えば、ロータ8の錠剤案内路8bを全開にすることでロータ8の清掃が可能になる場合、制御部401は、調整装置100にロータ8の全開動作を実行させるための清掃開始指示を送信する。これにより、調整装置100は、前記清掃開始指示に基づいてロータ8の錠剤案内路8bの幅を最大サイズまで全開させる全開動作を実行し、ユーザーは、ロータ8の清掃を行うことが可能となる。 
<ステップS53>
 ステップS53において、制御部401は、調整装置100によるロータ8が清掃可能状態に遷移したか否かを判断する。具体的に、制御部401は、調整装置100からロータ8の全開動作の終了通知を受信した場合に、ロータ8が清掃可能状態に遷移したと判断する。そして、ロータ8が清掃可能状態に遷移したと判断されると(S53:Yes)、処理がステップS54に移行し、ロータ8が清掃可能状態に遷移したと判断されるまでの間は(S53:No)、処理が当該ステップS53で待機する。 
<ステップS54>
 ステップS54において、制御部401は、ロータ8の清掃が可能である旨の清掃可能情報を表示部201に表示させてユーザーに報知する。具体的に、前記清掃可能情報は、レバー145を上げてロータ8をロータ載置部103から取り外し、清掃後にロータ8をロータ載置部103に戻してレバー145を下げて第1スタートボタン203を押下する旨を促すメッセージ及び画像などを含む。なお、レバー145を上げてロータ8をロータ載置部103から取り外すこと、清掃後にロータ8をロータ載置部103に戻すこと、レバー145を下げること、第1スタートボタン203を押下することを個別に促すためのメッセージ又は画像などがユーザー操作に応じて順に表示されてもよい。 
<ステップS55>
 ステップS55において、制御部401は、調整動作のスタート操作が行われたか否かを判断する。具体的に、制御部401は、第1スタートボタン203が押下された場合にスタート操作が行われたと判断する。そして、スタート操作が行われたと判断された場合には(S55:Yes)、当該ロータ清掃処理が終了し、処理がステップS37に移行する。なお、スタート操作が行われたと判断されるまでの間は(S55:No)、処理がステップS55で待機する。これにより、ユーザーはロータ8を取り外した後、第1スタートボタン203を押下する前にロータ8を清掃することが可能である。 
 このように、薬品払出システム500では、前記カセット調整処理の途中で前記ロータ清掃処理が実行され、ユーザーは、錠剤種別の対象錠剤カセット2Aへの割り当て時に、当該対象錠剤カセット2Aのロータ8を清掃することが可能である。 
<ステップS37>
 図38の説明に戻り、ステップS37において、制御部401は、調整装置100に対してロータ8を、ステップS21で選択された錠剤種別に対応するサイズに調整するための調整指示を送信し、当該調整装置100によるロータ8の調整動作を開始させる。例えば、制御部401は、ロータ8の調整に用いられる錠剤の高さ、幅、厚さなどの寸法、及び進入位置などの情報を錠剤実装マスタD11から読み出して当該情報を含む調整指示を調整装置100に送信する。これにより、調整装置100は、前記調整指示に基づいてロータ8の錠剤案内路8bを調整する調整動作を実行し、当該調整動作が終了すると終了通知を制御部401に送信する。なお、前記調整指示に、錠剤の寸法に代えてロータ8の錠剤案内路8bの調整量の情報が含まれ、調整装置100が、前記調整量の情報に基づいてロータ8の錠剤案内路8bを調整してもよい。 
<ステップS38>
 ステップS38において、制御部401は、調整装置100によるロータ8の調整動作が終了したか否かを判断する。具体的に、制御部401は、調整装置100からロータ8の調整動作の終了通知を受信した場合に、ロータ8の調整動作が終了したと判断する。そして、ロータ8の調整動作が終了したと判断されると(S38:Yes)、処理がステップS39に移行し、ロータ8の調整動作が終了したと判断されるまでの間は(S38:No)、処理が当該ステップS38で待機する。 
<ステップS39>
 ステップS39において、制御部401は、ロータ8の調整を終了するための予め定められた終了報知情報を表示部201に表示させてユーザーに報知する。具体的に、前記終了報知情報は、レバー145を上げて、ロータ8をロータ載置部103から取り外し、錠剤カセット2にロータ8をセットし、当該錠剤カセット2をロータ載置部103に装着した後、操作部402に対して完了操作を行う旨を促すメッセージ又は画像などを含む。なお、レバー145を上げること、ロータ8をロータ載置部103から取り外すこと、錠剤カセット2にロータ8をセットすること、当該錠剤カセット2をカセット装着部102に装着すること、錠剤カセット2を装着した後に装着確認操作を行うことを個別に促すためのメッセージ又は画像がユーザー操作に応じて順に表示されてもよい。 
<ステップS40>
 次に、図39に示されるように、ステップS40において、制御部401は、対象錠剤カセット2Aをカセット装着部102に装着した旨を示す装着確認操作が行われたか否かを判断する。ここで、装着確認操作が行われたと判断されると(S40:Yes)、処理がステップS41に移行し、装着確認操作が行われたと判断されるまでの間は(S40:No)、処理が当該ステップS40で待機する。 
<ステップS41>
 ステップS41において、制御部401は、レバー位置検出センサ147の検出結果に基づいてレバー145が予め定められた押上げ状態に遷移しているか否かが判断される。そして、レバー145が押上げ状態に遷移していると判断されると(S41:Yes)、処理がステップS42に移行する。一方、レバー145が押上げ状態に遷移していないと判断されると(S41:No)、処理がステップS411に移行する。 
<ステップS411>
 ステップS411において、制御部401は、レバー145が押上げ状態に遷移していない旨のメッセージを表示部201に表示させることによりユーザーに報知し、処理をステップS40に戻す。 
<ステップS42>
 ステップS42において、制御部401は、カセット装着部102に装着された対象錠剤カセット2AのRFIDタグ601からリーダライタ501により当該対象錠剤カセット2Aのカセット情報D22を読み取る。 
<ステップS43>
 ステップS43において、制御部401は、ステップS42でRFIDタグ601から読み取られたカセット情報D22のカセット番号と、ステップS31でRFIDタグ601から読み取られて記憶部202に記憶されたカセット情報D22のカセット番号とに基づいて、対象錠剤カセット2Aの同一性が判断される。即ち、ロータ8の脱着前後の対象錠剤カセット2Aが同一であるか否かが判断される。ここで、同一であると判断された場合には(S43:Yes)、処理がステップS44に移行し、同一ではないと判断され場合には(S43:No)、処理がステップS431に移行する。このように、前記ステップS43において対象錠剤カセット2Aの同一性が確認されるため、ロータ8が異なる対象錠剤カセット2Aに装着されることが防止される。 
 なお、本実施形態では、錠剤カセット2のカセット本体5にRFIDタグ601が設けられている場合について説明するが、RFIDタグ601がロータ8に設けられ、調整装置にロータ8のRFIDタグ601を読み取り可能な位置にリーダライタ301が設けられることも他の実施形態として考えられる。さらに、錠剤カセット2のカセット本体5とロータ8との各々に当該カセット本体5とロータ8とを識別可能な固有の情報が記憶されたRFIDタグが設けられており、調整装置100に当該RFIDタグ各々を読み取り可能な一又は複数のリーダライタが設けられることが考えられる。この場合、制御部401は、ロータ8の脱着前後にカセット本体5及びロータ8のRFIDタグ各々から情報を読み取り、錠剤カセット2のカセット本体5とロータ8との組み合わせがロータ8の脱着前後で一致するか否かを判断することが考えられる。 
<ステップS431>
 ステップS431において、制御部401は、ロータ8が取り外される前に装着されていた対象錠剤カセット2Aと現在の対象錠剤カセット2Aとが異なる旨のエラーを表示部201に表示してユーザーに報知し、処理をステップS40に戻す。なお、ステップS431において、ロータ8が取り外される前に装着されていた対象錠剤カセット2Aのカセット番号などを報知してもよい。 
<ステップS44>
 ステップS44において、制御部401は、対象錠剤カセット2Aへのロータ8の装着を確定するための装着確定処理を実行する。具体的に、制御部401は、仕切調整機構M1を駆動させ、仕切部材20を前進させて当該仕切部材20の先端が錠剤カセット2のカセット本体5の第1可動部材60の切欠き72aと第2可動部材61の切欠き81aとに嵌入させ、ロータ8をカセット本体5から取り出し不可の状態にする。なお、この際の仕切部材20の挿入位置は、ステップS21で選択された錠剤種別に対応する挿入位置である。そして、ロータ8の錠剤カセット2への装着確定処理が完了すると、処理がステップS45に移行する。 
<ステップS45>
 ステップS45において、制御部401は、リーダライタ501を用いて対象錠剤カセット2AのRFIDタグ601の更新可能領域611の錠剤種別情報D21における薬品コード、安定係数、配置制限、枝番号を、ステップS21で選択された錠剤種別に対応する薬品コード、安定係数、配置制限、枝番号に更新する。即ち、制御部401は、錠剤種別を対象錠剤カセット2Aに割り当てるための処理を実行する。ここに、係る処理は制御部401の割当処理部411によって実行される。 
<ステップS46>
 ステップS46において、制御部401は、割当対応情報D31における対象錠剤カセット2Aに対応する薬品識別情報を、前記ステップS21で選択された錠剤種別に対応する薬品識別情報に更新すると共に、照合済みフラグをOFFに設定する。ここに、係る処理は制御部401の割当処理部411によって実行される。 
<ステップS47>
 ステップS47において、制御部401は、当該カセット調整処理で対象錠剤カセット2Aに割り当てられた錠剤種別の薬品コード及び対象錠剤カセット2Aのカセット番号などの情報を含む照合用コードが示されたラベルP3を出力する。具体的に、制御部401は、制御装置200に接続される不図示のプリンタ又はラベル印刷装置などにラベルP3のデータを送信して印刷させる。なお、当該ステップS47は、制御部401のコード出力処理部416によって実行される。また、前記照合用コードは、前記錠剤種別の情報のみを示すものであってもよい。 
 ここに、図41は、ラベルP3の印刷結果の一例を示す図である。図41に示されるように、ラベルP3には、前記照合用コードが印刷されたシールP21及びシールP22が含まれる。なお、ラベルP3には、対象錠剤カセット2Aへの割当前後の錠剤種別の情報、割り当てられた錠剤種別の劇薬・管理薬品種類などの情報も示されている。例えば、シールP21、P22各々は、対象錠剤カセット2Aの前面又は側面と上面(蓋6)とに貼り付けられる。なお、ラベルP3には、前記照合用コードが示されたシールが一枚又は三枚以上含まれていてもよい。 
<ステップS48>
 ステップS48において、制御部401は、当該カセット調整処理が終了し、対象錠剤カセット2Aが取り外し可能である旨の調整終了通知を表示部201に表示させてユーザーに報知する。 
 以上説明したように、制御装置200では、制御部401によって前記カセット調整処理が実行されることにより、ユーザーによる錠剤カセット2への錠剤種別の割当作業を支援することが可能である。 
[錠剤払出処理]
 次に、図42及び図43を参照しつつ、前記錠剤払出処理の手順の一例について説明する。なお、当該錠剤払出処理は、制御装置200の制御部401及び錠剤払出装置1の制御部300によって実行される。なお、当該錠剤払出処理は、錠剤払出装置1の制御部300によって単独で実行されてもよい。 
<ステップS61>
 ステップS61において、制御部401は、特定の処方データについての調剤開始操作が操作部402に対して行われたか否かを判断する。例えば、制御部401は、不図示の電子カルテシステム等の上位システムから制御装置200に入力される処方データから任意の処方データが調剤対象としてユーザー操作によって選択され、当該処方データについての調剤を開始するための操作が操作部402に対して行われた場合に調剤開始操作が行われたと判断する。ここで、調剤開始操作が行われたと判断されると(S61:Yes)、処理がステップS62に移行し、調剤開始操作が行われたと判断されるまでの間は(S61:No)、処理がステップS61で待機する。 
 なお、制御部401は、複数の患者を含む予め設定されたグループが調剤対象としてユーザー操作によって選択されて前記調剤開始操作が行われた場合に、当該グループに属する複数の患者に対応する前記処方データ各々に基づく錠剤払出動作を錠剤払出装置1に実行させることも可能である。前記グループは、例えば複数の患者が入院する病棟、病室、又は、薬品を服用する複数の服用者が入居する施設などの予め設定された患者又は服用者の単位である。そして、制御部401は、前記グループの選択に応じて、当該グループに属する複数の患者又は服用者に対応する前記処方データ各々に基づく錠剤払出動作を錠剤払出装置1に実行させた場合には、「処方」の実行種別が「一括」である旨の情報を含む履歴情報を前記処方データと対応付けて記憶部202に記憶する。また、制御部401は、患者の選択に応じて、当該患者に対応する前記処方データに基づく錠剤払出動作を錠剤払出装置1に実行させた場合には、「処方」の実行種別が「個別」である旨の情報を含む履歴情報を前記処方データと対応付けて記憶部202に記憶する。これにより、制御部401は、記憶部202に記憶される前記履歴情報に基づいて、前記処方データ各々に基づく前記錠剤払出動作がグループの単位で実行されたか、患者の単位で個別に実行されたかを判断することが可能である。また、前記履歴情報には、前記薬品払出データに基づいて実行された前記錠剤払出動作の実行日である調剤日(年月日及び曜日)等の情報も含まれる。 
<ステップS62>
 ステップS62において、制御部401は、処方データに処方薬として含まれる錠剤を払い出すための制御対象を割当対応情報D31に基づいて特定する。より具体的に、制御部401は、割当対応情報D31及びベースマスタD41に基づいて、払い出し対象の錠剤の薬品コードに対応する錠剤カセット2を特定し、当該錠剤カセット2が装着されている錠剤払出装置1を特定する。そして、制御部401は、ベースマスタD41に基づいて、当該錠剤払出装置1において当該錠剤カセット2が装着されているベース3を、当該薬品コードに対応する錠剤を払い出す際の制御対象として特定する。なお、制御部401は、薬品払出システム500において同一の薬品コードに対応する錠剤カセット2が複数存在する場合には、その複数の錠剤カセット2のうち予め定められた優先順位が高い(例えば枝番号が小さい)錠剤カセット2が装着されている錠剤払出装置1のベース3を、当該薬品コードに対応する錠剤を払い出す際の制御対象として特定することが考えられる。一方、薬品払出システム500において前記薬品コードに対応する錠剤カセット2が存在しない場合、制御部401は、当該薬品コードに対応する錠剤カセット2を錠剤払出装置1に装着すべき旨を表示部201等に表示してユーザーに報知する。なお、処方データに処方薬として複数の錠剤種別が含まれる場合には、当該錠剤各々を払い出すための複数の制御対象が特定される。そして、全ての錠剤を払い出すための制御対象が特定されると、処理がステップS63に移行する。 
 また、ステップS62において、制御部401は、前記処方データに処方薬として含まれる錠剤のうち錠剤払出装置1において錠剤カセット2から払い出しが可能でない錠剤については、手撒きユニット302を制御対象として特定する。その後、制御部401は、手撒きユニット302の前記DTAセル各々への錠剤の投入を支援するための表示画面などを表示部201に表示させる。そして、後述の錠剤払出動作では、手撒きユニット302から払い出される錠剤についても、錠剤カセット2から払い出される錠剤と共に、服用時期各々に対応する分包紙に分包される。 
<ステップS63>
 ステップS63において、制御部401は、ステップS62で特定された錠剤カセット2各々について照合用コードに基づく照合が完了しているか否かを判断する。具体的に、制御部401は、ステップS62で特定された錠剤カセット2各々について、割当対応情報D31に記憶されている照合済フラグが「ON」である場合に照合が完了していると判断する。ここで、照合が完了していると判断されると(S63:Yes)、処理がステップS67に移行し、照合が完了していないと判断されると(S63:No)、処理がステップS64に移行する。 
<ステップS64>
 ステップS64において、制御部401は、錠剤カセット2の照合が完了していない旨、及び当該錠剤カセット2に対応する照合用コードを読み取るべき旨を示すメッセージを表示部201に表示してユーザーに報知し、処理をステップS65に移行する。なお、照合用コードは、上述したように錠剤カセット2に割り当てられた錠剤種別の薬品コード等を含む一次元コード又は二次元コードであって、前記ステップS47においてシールP21、P22に印刷されたものである。また、照合が必要な錠剤カセット2がベース3に装着されている場合には、当該錠剤カセット2が装着されている場所がベースマスタD41に基づいて特定され、その場所を示す情報が前記メッセージと共に表示されてもよい。 
<ステップS65>
 ステップS65において、制御部401は、未照合の錠剤カセット2についての照合を待ち受ける(S65:No)。具体的に、制御部401は、錠剤払出装置1に接続可能な不図示のバーコードリーダによって、シールP21又はP22に印刷されている前記照合用コードと錠剤の元箱などの錠剤収容部に付されている一次元コード又は二次元コードなどの錠剤コードとが読み取られ、当該照合用コードと当該錠剤コードとが示す錠剤種別が一致した場合に、当該錠剤カセット2について照合が行われたと判断する。さらに、制御部401は、シールP21に印刷されている前記照合用コードと、P22に印刷されている前記照合用コードとが同一であるか否かを照合してもよい。また、他の実施形態として、制御部401は、錠剤払出装置1に接続可能な不図示のバーコードリーダによって前記照合用コードが読み取られ、当該照合用コードに含まれる錠剤カセット2のカセット番号が、前記ステップS64で未照合と判定された錠剤カセット2のカセット番号と一致する場合に、当該錠剤カセット2についての照合が行われたと判断してもよい。また、制御部401は、前記照合用コードが示す錠剤種別と、前記錠剤コードが示す錠剤種別と、ステップS62で特定された錠剤カセット2に割り当てられている錠剤種別とが全て一致した場合に、当該錠剤カセット2について照合が行われたと判断してもよい。ここで、未照合の錠剤カセット2について照合が行われたと判断されると(S65:Yes)、処理がステップS66に移行する。一方、未照合の錠剤カセット2について照合が行われるまでの間は(S65:No)、処理がステップS65で待機する。即ち、制御部401は、錠剤種別が割り当てられた後、照合が完了していない錠剤カセット2の使用を制限する。 
<ステップS66>
 ステップS66において、制御部401は、割当対応情報D31において錠剤カセット2に対応する照合済フラグを「ON」に更新し、処理をステップS63に戻す。これにより、制御部401は、ステップS62で特定された錠剤カセット2各々についての照合が完了するまでステップS64~S66を繰り返し実行する。 
<ステップS67>
 ステップS67において、制御部401は、ステップS62で特定された錠剤カセット2各々による錠剤の払い出しを開始させるための錠剤払出開始指示を錠剤払出装置1に送信し、処理をステップS61に戻す。具体的に、前記錠剤払出開始指示には、処方データに基づいて特定された錠剤カセット2のカセット番号、当該錠剤カセット2に割り当てられた錠剤種別に対応する安定係数、処方データに示された処方量に対応する払出錠数などの情報が含まれる。これにより、錠剤払出装置1は、前記錠剤払出開始指示に基づいて、錠剤カセット2各々から払出錠数の錠剤の払い出しを実行する。また、制御部401は、前記処方データに基づく錠剤払出動作において手撒きユニット302を用いる必要がある場合には、前記錠剤払出開始指示に、手撒きユニット302の前記DTAセル各々に投入されている錠剤の情報などを含めて送信する。これにより、錠剤払出装置1は、前記錠剤払出開始指示に基づく錠剤払出動作において手撒きユニット302から錠剤を適宜払い出すことが可能である。 
 また、記憶部202には、錠剤種別と異常電流値とが対応付けられた異常検出対応情報が記憶されている。なお、前記異常電流値は、錠剤種別によって異なる他、錠剤の形状又は固さなどによって異なってもよい。例えば、前記異常電流値が、狭義の錠剤とカプセル錠とによって異なることが考えられる。そして、制御部401は、錠剤カセット2各々に対応付けられている錠剤種別と前記異常検出対応情報とに基づいて、当該錠剤カセット2各々からの錠剤の払い出しに用いられるモータ等の駆動部の異常を検出するための異常電流値を設定する。ここに、係る設定処理は、制御部401の異常処理部418によって実行される。なお、他の実施形態として、記憶部202に、カセットタイプと異常電流値とが対応付けられた異常検出対応情報が記憶されており、制御部401が、錠剤カセット2各々のカセットタイプと前記異常検出対応情報とに基づいて、当該錠剤カセット2各々に対応する前記異常電流値を設定することも考えられる。そして、制御部401は、錠剤カセット2各々の駆動時における異常検出に用いられる閾値として設定された当該錠剤カセット2各々に対応する前記異常電流値を前記錠剤払出開始指示に含めて錠剤払出装置1に送信する。これにより、錠剤払出装置1では、前記異常電流値に基づいて錠剤カセット2各々の異常を検出することになる(ステップS76)。なお、前記異常電流値の設定処理は、錠剤払出装置1の制御部300によって実行されてもよい。また、前記異常電流値は、前記錠剤種別固定カセットと錠剤カセット2とで異なる値に設定されてもよい。 
<ステップS71>
 一方、錠剤払出装置1では、ステップS71において、制御部300が、錠剤カセット2への錠剤の充填を開始するか否かを判断する。例えば、錠剤払出装置1には、錠剤カセット2への錠剤の充填作業を行うための作業台が設けられており、その作業台には、当該作業台に錠剤カセット2が載置されたことを検出する載置センサと、その載置された錠剤カセット2のRFIDタグ601から情報を読み取るリーダライタとが設けられる。そして、制御部300は、錠剤カセット2が前記作業台に載置されたことが載置センサで検出されると、前記リーダライタによってRFIDタグ601から当該錠剤カセット2のカセット番号を読み取り、当該錠剤カセット2を充填対象として錠剤の充填を開始すると判断する。なお、載置センサの設置が省略され、前記リーダライタによってRFIDタグ601から情報が読み取られたことを条件に錠剤カセット2が前記作業台に載置されたと判断されてもよい。ここで、錠剤カセット2への錠剤の充填を開始すると判断されると(S71:Yes)、処理がステップS72に移行し、錠剤カセット2への錠剤の充填を開始しないと判断されると(S71:No)、処理がステップS73に移行する。 
<ステップS72>
 ステップS72において、制御部300は、ユーザー操作で選択された錠剤カセット2に錠剤を充填するための充填処理を実行する。ここで、図43を用いて前記充填処理の一例について説明する。 
<ステップS721>
 ステップS721において、制御部300は、充填対象の錠剤カセット2について照合が完了しているか否かを判定する。ここで、照合が完了していると判断されると(S721:Yes)、処理がステップS725に移行し、照合が完了していないと判断されると(S721:No)、処理がステップS722に移行する。 
 具体的に、制御部300は、割当対応情報D31の照合済フラグに基づいて、充填対象の錠剤カセット2について照合が完了しているか否かを判断する。例えば、制御部300は、制御部401から割当対応情報D31を取得すること、又は、制御部401が割当対応情報D31を更新したタイミングで制御部401から制御部300に割当対応情報D31が送信されることが考えられる。なお、制御部300が割当対応情報D31における錠剤カセット2のカセット番号と照合済フラグとの対応関係を参照可能であればよく、その手法はこれらに限らない。 
<ステップS722>
 ステップS722において、制御部300は、錠剤カセット2の照合が必要である旨、及び当該錠剤カセット2に対応する照合用コードを読み取るべき旨などを示すメッセージ又は画像を錠剤払出装置1に設けられる不図示の表示装置又は表示部201等に表示してユーザーに報知し、処理をステップS723に移行する。また、照合が必要な錠剤カセット2がベース3に装着されている場合には、当該錠剤カセット2が装着されている場所がベースマスタD41に基づいて特定され、その場所を示す情報が前記メッセージと共に表示されてもよい。 
<ステップS723>
 ステップS723において、制御部300は、未照合の錠剤カセット2についての照合を待ち受ける(S723:No)。具体的に、制御部300は、制御装置200に接続可能な不図示のバーコードリーダによって、シールP21又はP22に印刷されている前記照合用コードと充填する錠剤の元箱などの収容部に付されている一次元コード又は二次元コードなどの錠剤コードとが読み取られ、当該照合用コードと当該錠剤コードとが示す錠剤種別が一致した場合に、当該錠剤カセット2について照合が行われたと判断する。さらに、制御部300は、シールP21、P22に印刷されている前記照合用コードが同一であるか否かを照合してもよい。また、他の実施形態として、制御部300は、制御装置200に接続可能な不図示のバーコードリーダによって前記照合用コードが読み取られ、当該照合用コードに含まれる錠剤カセット2のカセット番号が未照合の錠剤カセット2のカセット番号と一致する場合に、当該錠剤カセット2についての照合が行われたと判断してもよい。また、制御部300は、前記照合用コードが示す錠剤種別と、前記錠剤コードが示す錠剤種別と、充填対象の錠剤カセット2に割り当てられている錠剤種別とが全て一致した場合に、当該錠剤カセット2について照合が行われたと判断してもよい。ここで、未照合の錠剤カセット2について照合が行われたと判断されると(S723:Yes)、処理がステップS724に移行する。 
<ステップS724>
 ステップS724において、制御部300は、割当対応情報D31における充填対象の錠剤カセット2に対応する照合済フラグを「ON」に更新するための処理を実行する。具体的に、制御部300は、充填対象の錠剤カセット2の照合済フラグをONに設定するための制御指示を制御部401に通知する。そして、制御部401は、前記制御指示を受信すると、記憶部202に記憶されている割当対応情報D31における充填対象の錠剤カセット2の照合済フラグをONに更新する。これにより、充填対象の錠剤カセット2が錠剤払出装置1で使用可能となる。 
<ステップS725>
 ステップS725において、制御部300は、充填対象の錠剤カセット2について、予め定められた充填支援処理を実行する。例えば、前記充填支援処理には、錠剤カセット2に対応する錠剤の錠剤種別の表示、錠剤カセット2に充填する錠剤の数及びロット番号などの入力の受け付け、当該錠剤カセット2の錠剤の在庫量の更新などが含まれる。なお、錠剤カセット2に錠剤を充填する作業はユーザーによって行われる。 
 なお、前記ステップS724で照合済フラグが「ON」に設定された場合、即ち、当該充填処理が実行される際に照合済フラグが「OFF」であった場合には、前記充填支援処理の実行の際に、錠剤カセット2から錠剤の払い出しを行うテストモードを実行することが考えられる。例えば、前記テストモードでは、充填後の錠剤カセット2から予め設定された数の錠剤が払い出され、ユーザーによる確認操作が行われた場合に、当該テストモードが終了する。これにより、錠剤カセット2のロータ8が正常に調整されているか否かが確認可能である。 
<ステップS73>
 ステップS73において、制御部300が、前記錠剤払出開始指示を受信したと判断した場合は(S73:Yes)、処理がステップS74に移行し、前記錠剤払出開始指示を受信していないと判断した場合は(S73:No)、処理がステップS71に戻される。 
<ステップS74>
 ステップS74において、制御部300は、前記錠剤払出開始指示に基づいて、今回使用される錠剤カセット2各々の駆動時における前記異常電流値を設定する。なお、係る処理を実行するときの制御部300を本発明に係る異常処理部として捉えてもよい。 
<ステップS75>
 ステップS75において、制御部300は、前記錠剤払出開始指示に基づいて錠剤払出装置1を制御して、当該錠剤払出装置1の錠剤カセット2及び手撒きユニット302各々から、処方データに処方薬として含まれる錠剤種別の錠剤を必要な払出量だけ払い出し、服用時期ごとに分包紙に分包する錠剤払出動作を開始する。なお、前記錠剤払出動作では、錠剤カセット2から払い出される錠剤と手撒きユニット302から払い出される錠剤とが纏めて分包されることがある。 
 ところで、処方データには、当該処方データに処方薬として含まれる一又は複数の錠剤種別の錠剤が用法ごとに纏められたRpデータが含まれることがある。本実施形態では、処方データに複数のRpデータが含まれていない場合には、当該処方データが本発明に係る薬品払出データに相当し、一つの処方データに基づいて実行される一回の錠剤払出動作が本発明に係る薬品払出動作に相当する。一方、処方データに複数のRpデータが含まれる場合には、当該Rpデータ各々が本発明に係る薬品払出データに相当し、一つのRpデータに基づいて実行される一回の錠剤払出動作が本発明に係る薬品払出動作に相当する。なお、処方データに複数のRpデータが含まれる場合であって、当該複数のRpデータが纏められて一度の錠剤払出動作が実行される場合には、前記処方データが本発明に係る薬品払出データに相当し、前記錠剤払出動作が本発明に係る薬品払出動作に相当する。このように、本実施形態では、錠剤払出装置1において、一つの処方データ又はRpデータに基づいて、複数の服用時期についての分包紙への分包動作を含む一回の錠剤払出動作が実行され、その錠剤払出動作の回数が、本発明における薬品払出動作の回数に相当する。 
<ステップS76>
 ステップS76において、制御部300は、前記錠剤払出動作について、錠剤カセット2からの錠剤の払い出しに用いられる駆動部の駆動電流が予め設定された前記異常電流値以上であるか否かを判定する。ここに、係る判定処理は、制御部300の異常判定部311によって実行される。ここで、制御部300は、前記異常電流値以上であると判定すると(S76:Yes)、錠剤カセット2に異常が生じていると判断し、処理をステップS77に移行させる。一方、前記異常電流値以上でないと判定されると(S76:No)、処理がステップS78に移行する。 
<ステップS77>
 ステップS77において、制御部300は、錠剤払出装置1による錠剤払出動作を中断する。具体的に、錠剤カセット2においてロータ8とカセット本体5との間で錠剤が詰まり、ロータ8が回転しなくなる場合に当該ロータ8の駆動モータなどの駆動部に流れる電流が高くなる。そのため、ステップS77において、制御部300は、例えばユーザーに錠剤の詰まりの可能性がある旨を表示部202等に表示させて報知すること、又はロータ8の逆回転などの詰まり解消処理を実行することも考えられる。なお、制御部300は、例えばステップS76で異常が検出された錠剤カセット2の着脱が行われた場合又はユーザーによる再開操作が行われた場合などに、当該錠剤払出動作を再開させ、処理をステップS78に移行させることが考えられる。 
<ステップS78>
 ステップS78において、制御部300は、錠剤払出装置1による前記錠剤払出開始指示に基づく前記錠剤払出動作が完了したか否かが判断される。ここで、前記錠剤払出動作が完了していないと判断されると(S78:No)、処理がステップS76に戻され、前記錠剤払出動作が完了したと判断されると(S78:Yes)、処理がステップS71に戻される。 
 以上説明したように、薬品払出システム500では、前記錠剤払出処理が実行されることにより、錠剤払出装置1で錠剤カセット2が最初に用いられる場合は、当該錠剤カセット2に割り当てられた錠剤種別に対応する前記照合用コードが読み取られたことを条件に当該錠剤カセット2からの錠剤の払い出しが許可される。 
[ロータ清掃モード]
 ところで、前記カセット調整処理では、途中で前記ロータ清掃処理が実行される場合について説明したが、制御装置200の制御部401が、ユーザー操作に応じて任意のタイミングでロータ8を清掃するためのロータ清掃モードを実行可能であることも考えられる。なお、前記ロータ清掃モードは、調整装置100が単独で実行可能であってもよい。 
 具体的に、制御部401は、ユーザーによるロータ清掃モードの開始操作が操作部402に対して行われた場合に、前記ロータ清掃モードを実行する。当該ロータ清掃モードでは、制御部401が、前記清掃フラグをONに設定した後、前記カセット調整処理と同様の処理を実行する。これにより、前記ロータ清掃処理(図40)のステップS51において、ロータ8の清掃を行うと判断されることになる。 
 また、前記ロータ清掃モードでは、前記ステップS45において、制御部401が、割当対応情報D31において対象錠剤カセット2Aに割り当てられている薬品コードを、ステップS31で記憶部202に記憶された錠剤種別に対応する薬品コードに更新する。また、ステップS45において、制御部401は、リーダライタ501を用いて対象錠剤カセット2AのRFIDタグ601の更新可能領域611の錠剤種別情報D21における薬品コードを、前記ステップS31で記憶部202に記憶された錠剤種別に対応する薬品コードに更新する。即ち、制御部401は、当該ロータ清掃モードの実行前に対象錠剤カセット2Aに割り当てられていた錠剤種別を当該対象錠剤カセット2Aに再度割り当てることになる。その後、前記カセット調整処理が完了すると、前記ロータ清掃モードが終了する。 
 このように、制御装置200が前記ロータ清掃モードを備えることにより、ユーザーは、錠剤カセット2への錠剤種別の割り当てを変更することなく、任意のタイミングで錠剤カセット2のロータ8を清掃することが可能である。 
[シミュレーション機能]
 前述したように、薬品払出システム500では、錠剤カセット2各々に当該錠剤カセット2から払い出し可能な錠剤の錠剤種別を割り当てることが可能である。また、錠剤払出装置1には、予め定められた錠剤種別の錠剤が払い出し可能な前記錠剤種別固定カセットが実装されることがある。ここで、錠剤払出装置1に搭載される錠剤カセット2及び前記錠剤種別固定カセットなどの薬品カセット各々から払い出し可能な錠剤の錠剤種別が当該錠剤払出装置1の利用状況に応じて適切に選択されていなければ、例えばユーザーが手撒きユニット302に投入するための錠剤を取り揃える等の作業が必要になる頻度が高くなり、当該錠剤払出装置1の利用効率が低下するおそれがある。これに対し、薬品払出システム500は、前記薬品カセットから払い出し可能な錠剤の錠剤種別の効果的な選定を支援するシミュレーション機能を備える。以下、前記シミュレーション機能について説明する。 
 具体的に、制御装置200の制御部401は、第1処理部422及び第2処理部423を含む。制御部401は、前記CPUを用いて、前記ROM又は記憶部202に予め記憶された薬品払出制御プログラムに従って各種の処理を実行することにより第1処理部422及び第2処理部423として機能する。なお、第1処理部422及び第2処理部423の一方又は両方が電子回路であってもよい。また、第1処理部422及び第2処理部423の機能は、錠剤払出装置1の制御部300によって実現されてもよく、制御装置200の制御部401及び錠剤払出装置1の制御部300が協働して処理を実行することによって実現されてもよい。 
 第1処理部422は、薬品払出データに基づいて一又は複数の薬品種別の薬品を払い出す薬品払出動作を実行可能な錠剤払出装置1で前記薬品払出動作において前記薬品カセットから払い出し可能な薬品の薬品種別の選定に関する推定条件を受け付ける。本実施形態では、錠剤払出装置1が薬品払出装置の一例であり、当該錠剤払出装置1では、複数の前記薬品カセットから複数の錠剤種別(薬品種別)の錠剤(薬品)が払い出される錠剤払出動作が前記薬品払出動作として実行される。 
 第2処理部423は、第1処理部422により受け付けられた前記推定条件を適用した場合に複数の前記薬品払出データに基づいて実行される前記錠剤払出動作のシミュレーション結果を出力する。具体的に、第2処理部423は、前記推定条件を適用した場合に複数の前記薬品払出データに基づいて実行される前記錠剤払出動作のうち、当該薬品払出データに払出対象として含まれる全ての錠剤種別の錠剤が前記薬品カセットから払い出し可能な錠剤払出動作の割合又は回数の少なくとも一方を含む第1指標値を前記シミュレーション結果として出力する。 
[シミュレーション処理]
 以下、図44及び図45を参照しつつ、シミュレーション機能を実現するために制御部401によって実行されるシミュレーション処理の手順の一例について説明する。なお、制御部401は、操作部402に対する所定のユーザー操作に応じて前記シミュレーション処理を開始する。なお、本発明は、前記シミュレーション処理の一部又は複数のステップを含むシミュレーション方法の発明としてとらえてもよい。また、本実施形態では、一つの錠剤払出装置1について前記シミュレーション処理が実行される場合について説明するが、複数の錠剤払出装置1が薬品払出システム500に含まれる場合には、制御部401は、当該シミュレーション処理の対象となる錠剤払出装置1をユーザー操作に応じて選択し、当該シミュレーション処理を実行することが可能である。 
<ステップS81>
 ステップS81において、制御部401は、錠剤払出装置1の前記薬品カセットから払い出し可能な錠剤種別が既に選定されている現在の錠剤払出装置1で実行される錠剤払出動作に関する第2指標値を導出する。以下、前記薬品カセットから払い出し可能な錠剤種別が既に選定されている現在の錠剤払出装置1を単に「現在の錠剤払出装置1」と称することがある。 
 前記第2指標値は、後述のステップS85~S86で設定される推定条件が適用される前の現在の錠剤払出装置1によって実行される前記錠剤払出動作に関するシミュレーション値である。具体的に、本実施形態において、前記第2指標値は、当該シミュレーション処理の対象として設定される複数の前記薬品払出データに基づいて現在の錠剤払出装置1で実行される前記錠剤払出動作のうち、当該薬品払出データに払出対象として含まれる全ての錠剤種別の錠剤が前記薬品カセットから払い出し可能な錠剤払出動作の割合及び回数である。例えば、制御部401は、予め設定される過去の一ヶ月又は一年などの特定期間において錠剤払出装置1に入力された複数の薬品払出データを対象に前記錠剤払出動作が行われる場合の前記第2指標値を導出する。以下、ここで対象となる複数の前記薬品払出データを「推定対象データ」と称することがある。なお、前記第2指標値は、前記錠剤払出動作の割合及び回数のいずれか一方であってもよい。 
 より具体的に、記憶部202には、前記薬品マスタに記憶されている薬品のうち当該錠剤払出装置1で前記薬品カセットから払い出し可能な薬品が登録される実装薬品マスタが記憶されている。なお、前記実装薬品マスタには、現在の錠剤払出装置1に装着されている前記薬品カセットで払い出し可能な薬品に限らず、現在の錠剤払出装置1に装着されていない前記薬品カセットで払い出し可能な薬品も登録される。これにより、制御部401は、記憶部202に記憶されている前記実装薬品マスタに基づいて、前記推定対象データに含まれる前記薬品払出データ各々について当該薬品払出データに払出対象として含まれる全ての錠剤種別の錠剤が、現在の錠剤払出装置1で前記薬品カセットから払い出し可能であるか否かを判定することが可能である。なお、前記実装薬品マスタが錠剤払出装置1に記憶されており、制御部401が錠剤払出装置1から前記実装薬品マスタを取得可能であってもよい。 
 また、他の実施形態として、制御部401は、前記実装薬品マスタと、割当対応情報D31と、ベースマスタD41とに基づいて、現在の錠剤払出装置1に装着されている前記薬品カセットのみを用いて、前記推定対象データに含まれる前記薬品払出データ各々について当該薬品払出データに払出対象として含まれる全ての錠剤種別の錠剤が払い出し可能であるか否かを判定することが可能である。 
 さらに、他の実施形態として、前記実装薬品マスタに、現在の錠剤払出装置1に装着されている前記薬品カセットで払い出し可能な薬品のみが登録されることも考えられる。この場合にも、制御部401は、前記実装薬品マスタに基づいて、現在の錠剤払出装置1に装着されている前記薬品カセットのみを用いて、前記推定対象データに含まれる前記薬品払出データ各々について当該薬品払出データに払出対象として含まれる全ての錠剤種別の錠剤が払い出し可能であるか否かを判定することが可能である。 
 なお、錠剤払出装置1に、1錠未満である半錠又は1/4錠などの単位で錠剤を払い出し可能な前記薬品カセットが装着可能でない場合には、前記実装薬品マスタに登録されている錠剤種別の錠剤であっても、「0.5錠」、「1.5錠」、又は「0.25錠」などのように少数点以下の錠数を含む用量では払い出すことができない。そのため、前記薬品払出データに払出対象として含まれる錠剤種別に、用量が少数点以下の錠数を含む錠剤の錠剤種別が存在する場合には、当該薬品払出データに基づいて実行される前記錠剤払出動作について、制御部401は、全ての錠剤種別の錠剤が前記薬品カセットから払い出すことができないと判断する。 
 一方、錠剤払出装置1に、1錠未満の錠剤を払い出し可能な錠剤カセット2が装着可能である場合には、当該錠剤カセット2を用いることにより少数点以下の錠数を含む用量で錠剤を払い出すことが可能な場合があるため、前記薬品払出データに払出対象として含まれる錠剤種別に、用量が少数点以下の錠数を含む錠剤の錠剤種別が存在する場合でも、当該薬品払出データに基づいて実行される前記錠剤払出動作について、全ての錠剤種別の錠剤が前記薬品カセットから払い出すことができるか否かを前記実装薬品マスタに基づいて判断する。例えば、前記実装薬品マスタでは、同じ種類の薬品について、小数点未満の錠数を含まない用量で用いられる場合と、小数点未満の錠数を含む用量で用いられる場合とが個別のレコードとして登録されてもよい。 
<ステップS82>
 ステップS82において、制御部401は、現在の錠剤払出装置1で前記推定対象データに基づいて前記錠剤払出動作が実行される場合に、前記薬品カセットから錠剤が払い出される頻度が低い順で、現在の錠剤払出装置1で前記薬品カセットから払い出し可能な錠剤種別が示される第1リストを生成する。以下、錠剤払出装置1で前記薬品カセットから払い出し可能な錠剤を「実装薬品」と称し、錠剤払出装置1で前記薬品カセットから払い出し可能でない錠剤を「未実装薬品」と称することがある。より具体的に、制御部401は、前記推定対象データに基づいて実行される前記錠剤払出動作のうち、前記薬品カセットから錠剤が払い出される錠剤払出動作の回数が少ない順で前記実装薬品の錠剤種別を並べた前記第1リストを生成する。 
 なお、前記推定対象データに基づいて実行される前記錠剤払出動作のうち、前記薬品カセットから錠剤が払い出される錠剤払出動作の回数が少ない順で錠剤種別を並べた場合に、同順位の錠剤種別が存在する場合、制御部401は、前記推定対象データに基づいて実行される前記錠剤払出動作において払い出される錠剤数又は当該錠剤数の平均値(当該錠剤数/当該錠剤払出動作の回数)が多い方の錠剤種別の順位が高くなるように前記第1リストを生成してもよい。また、他の実施形態として、制御部401が、前記推定対象データに基づいて実行される前記錠剤払出動作において、前記薬品カセットから払い出される錠剤数が少ない順で錠剤種別を並べた前記第1リストを生成してもよい。 
<ステップS83>
 ステップS83において、制御部401は、現在の錠剤払出装置1で前記推定対象データに基づいて前記錠剤払出動作が実行される場合に、払い出しが必要となる頻度が高い順で、現在の錠剤払出装置1で前記薬品カセットから錠剤が払い出し可能でない錠剤種別が示される第2リストを生成する。 
 より具体的に、制御部401は、前記推定対象データに基づいて実行される前記錠剤払出動作のうち、前記薬品カセットから錠剤が払い出されない錠剤払出動作の回数が多い順で前記未実装薬品の錠剤種別を並べた前記第2リストを生成する。例えば、制御部401は、前記推定対象データに基づいて実行される前記錠剤払出動作のうち、手撒きユニット302を用いて錠剤が払い出される錠剤払出動作の回数が多い順で錠剤種別を並べた前記第2リストを生成することが考えられる。 
 なお、前記推定対象データに基づいて実行される前記錠剤払出動作のうち、前記薬品カセットから錠剤が払い出されない錠剤払出動作の回数が多い順で錠剤種別を並べた場合に、同順位の錠剤種別が存在する場合、制御部401は、前記推定対象データに基づいて実行される前記錠剤払出動作において払い出される錠剤数が多い方の錠剤種別の順位が高くなるように前記第2リストを生成してもよい。また、他の実施形態として、制御部401が、前記推定対象データに基づいて実行される前記錠剤払出動作において、前記薬品カセットから払い出されない錠剤数又は当該錠剤数の平均値(当該錠剤数/当該錠剤払出動作の回数)が多い順で錠剤種別を並べた前記第2リストを生成してもよい。例えば、制御部401は、前記推定対象データに基づいて実行される前記錠剤払出動作において、手撒きユニット302を用いて払い出される前記錠剤数又は前記平均値が多い順で錠剤種別を並べた前記第2リストを生成することが考えられる。 
<ステップS84>
 ステップS84において、制御部401は、当該シミュレーション処理の設定及び表示などに用いられるシミュレーション画面P11を表示部201に出力して当該表示部201に表示させる。ここに、図45は、シミュレーション画面P11の一例を示す図である。図45に示されるように、制御部401は、シミュレーション画面P11において、各種の情報が表示される表示領域A11~A17と、各種の操作を受け付ける操作キーK11~K14とを表示させる。 
 表示領域A11には、前記ステップS82で生成された前記第1リストが表示される。具体的に、表示領域A11では、現在の錠剤払出装置1で前記推定対象データに基づいて実行される前記錠剤払出動作で前記薬品カセットから錠剤が払い出される頻度が低い順で、現在の錠剤払出装置1で前記薬品カセットから払い出し可能な錠剤の錠剤種別を示す薬品コード及び薬品名がその順位と共に表示される。 
 表示領域A12には、前記ステップS83で生成された前記第2リストが表示される。具体的に、表示領域A12では、現在の錠剤払出装置1で前記推定対象データに基づいて実行される前記錠剤払出動作で払い出しが必要となる頻度が高い順で、現在の錠剤払出装置1で前記薬品カセットから払い出し可能でない錠剤の錠剤種別を示す薬品コード及び薬品名がその順位と共に表示される。 
 また、表示領域A11、A12には、錠剤種別各々に対応する前記薬品カセットのカセットタイプが表示される。具体的に、前記錠剤種別に対応する前記薬品カセットが錠剤カセット2である場合には、当該錠剤カセット2のカセットタイプとして、前記Aタイプ又は前記Bタイプに対応する「A」又は「B」の情報が表示される。また、前記錠剤種別に対応する前記薬品カットが前記錠剤種別固定カセットである場合には、その旨を示す「-」が表示される。これにより、ユーザーは、表示領域A11及び表示領域A12各々に表示されている錠剤種別のうち、同じカセットタイプの錠剤カセット2で払い出し可能な錠剤種別を容易に把握することが可能である。例えば、表示領域A11に表示されている「薬品M1」と表示領域A12に表示されている「薬品M8」とは、対応するカセットタイプが同じ「A」であるため、「薬品M1」が収容されている錠剤カセット2を「薬品M8」を払い出すための錠剤カセット2として利用可能であることがわかる。また、表示領域A11に表示されている「薬品M2」と表示領域A12に表示されている「薬品M6」とは、共に前記錠剤種別固定カセットであるため、「薬品M2」が収容されている前記錠剤種別固定カセットを、「薬品M6」に対応する前記錠剤種別固定カセットに交換可能であることがわかる。なお、表示領域A12において錠剤カセット2のカセットタイプが表示されている錠剤種別は、当該カセットタイプの錠剤カセット2に限らず、前記錠剤種別固定カセットでも払い出し可能である。 
 表示領域A13には、前記推定対象データに含まれる全ての前記薬品払出データに基づいて実行される錠剤払出動作の合計回数を示す該当回数が表示される。なお、前述したように前記薬品払出データが複数のRpデータを含む処方データである場合には、錠剤払出装置1において、当該複数のRpデータのうち少なくとも二つ以上のRpデータが纏められて一度の錠剤払出動作が実行されることがある。即ち、二つ以上のRpデータに払出対象の薬品として含まれる同一服用時期の複数の錠剤が一の分包紙に分包される合包処理が実行されることがある。このように前記合包処理が実行される場合、制御部401は、複数のRpデータを纏めた一回の前記錠剤払出動作を一回の前記合計回数としてカウントすることが考えられる。例えば、前記合包処理で複数のRpデータが統合されて一つの分包データが生成される場合には、当該分包データの数が前記合計回数としてカウントされることが考えられる。なお、複数のRpデータを一つの分包データに統合する処理は錠剤払出装置1又は制御装置2のいずれかによって実行される。一方、制御部401は、前記合包処理が実行される場合でも、前記薬品払出データに含まれる複数のRpデータの数を前記合計回数としてカウントすることも他の実施形態として考えられる。 
 表示領域A14には、前記ステップS83で導出された前記第2指標値が表示される。具体的に、表示領域A14には、現在の錠剤払出装置1で、前記推定対象データに含まれる全ての前記薬品払出データに基づいて実行される錠剤払出動作の合計回数(表示領域A13の該当回数)のうち、全ての錠剤種別の錠剤が前記薬品カセットから払い出し可能な錠剤払出動作の割合及び回数を示す実装薬品充足率及び実装薬品充足数を示す数値が前記第2指標値として表示される。また、表示領域A14には、前記実装薬品充足率が円グラフで示される表示領域A141が表示される。 
 表示領域A15には、後述のステップS88で導出される前記第1指標値が表示される。具体的に、表示領域A15には、後述の推定条件の適用後の錠剤払出装置1で、前記推定対象データに含まれる全ての前記薬品払出データに基づいて実行される錠剤払出動作の合計回数(表示領域A13の該当回数)のうち、全ての錠剤種別の錠剤が前記薬品カセットから払い出し可能な錠剤払出動作の割合及び回数を示す実装薬品充足率及び実装薬品充足数を示す数値が前記第1指標値として表示される。また、表示領域A15には、前記実装薬品充足率が円グラフで示される表示領域A151が表示される。 
 表示領域A16には、表示領域A15に表示される前記第1指標値と表示領域A14に表示される前記第2指標値との比較結果を示す比較情報が表示される。具体的に、表示領域A16では、前記第1指標値が、前記第2指標値よりも改善されているか否かについての情報が比較情報として表示される。例えば、図45に示される表示領域A16には、前記第1指標値が前記第2指標値よりも改善された旨を示す情報として、上矢印を示す画像が「効果」の文字の下に表示されている。これにより、ユーザーは、表示領域A16を見て前記推定条件の適用による効果の有無を容易に把握することが可能である。また、表示領域A16は、前記第1指標値が前記第2指標値よりも改善されている場合には背景が青色で表示され、前記第1指標値が前記第2指標値よりも改善されていない場合には背景が赤色で表示されてもよい。 
 表示領域A17には、前記推定条件が適用されることにより削減される調剤作業者の作業時間及び人件費の推定値が表示される。具体的に、制御部401は、前記推定条件が適用されることにより、前記推定対象データに基づいて実行される前記錠剤払出動作各々において、錠剤払出装置1の手撒きユニット302に投入する必要がある錠剤の数、又は錠剤を投入する必要がある前記DTAセルの数が減少する場合に、その減少数に予め設定された調剤時間係数を乗ずることにより算出される値を、前記推定条件の適用によって削減される前記調剤作業者の作業時間の推定値として表示する。例えば、前記推定条件の適用によって削減される前記調剤作業者の作業時間は、削減される作業時間の合計を、前記推定対象データに含まれる前記薬品払出データの調剤日の日数で割った1日単位の値、又は、前記推定対象データに含まれる前記薬品払出データの調剤日が属する月数で割った1月単位の値で表示される。また、制御部401は、前記推定条件の適用によって削減される調剤作業者の作業時間に予め設定された時給などの人件費係数を乗ずることにより算出される値を、前記推定条件の適用によって削減される前記調剤作業者の人件費の推定値として表示する。なお、前記推定条件の適用によって削減される前記調剤作業者の人件費についても前記作業時間と同様に、削減される人件費の合計を、前記推定対象データに含まれる前記薬品払出データの調剤日の日数で割った1日単位の値、又は、前記推定対象データに含まれる前記薬品払出データの調剤日が属する月数で割った1月単位の値で表示される。 
 また、制御部401は、操作キーK11のユーザー操作に応じて、表示領域A11及び表示領域A12に表示される前記第1リスト及び前記第2リストにおける錠剤種別の表示順位の判断基準を変更することが可能である。具体的に、制御部401は、操作キーK11の操作に応じて、前記錠剤種別の表示順位を、前記錠剤払出動作の実行回数を判断基準とする「薬品Rp回数」、前記錠剤払出動作で払い出される錠数を判断基準とする「薬品払出錠数」、前記錠剤払出動作の実行回数を処方データ単位で判断基準とする「薬品処方回数」のいずれかの情報に基づいて判断することが考えられる。例えば、「薬品Rp回数」が選択されている場合、制御部401は、前記第1リストにおいて、前記推定対象データに基づいて実行される前記錠剤払出動作の合計回数のうち、前記薬品カセットから錠剤が払い出される錠剤払出動作の回数が少ない順で前記錠剤種別を並べて表示する。また、「薬品払出錠数」が選択されている場合、制御部401は、前記第1リストにおいて、前記推定対象データに基づいて実行される前記錠剤払出動作で払い出される錠数が少ない順で前記錠剤種別を並べて表示する。さらに、「薬品処方回数」が選択されている場合、制御部401は、前記第1リストにおいて、前記推定対象データに含まれる前記処方データの総数のうち当該処方データに基づく前記錠剤払出動作で錠剤が払い出される処方データの数が少ない順で前記錠剤種別を並べて表示する。また、制御部401は、前記第2リストにおいても同様に、操作キーK11における「薬品Rp回数」、「薬品払出錠数」、又は「薬品処方回数」の選択に応じて、前記錠剤払出動作の回数、前記錠数、又は前記処方データの数が多い順で前記錠剤種別を並べて表示する。 
 なお、制御部401は、操作キーK12のユーザー操作に応じて、前記推定対象データの範囲及び抽出条件などを設定するためのユーザー操作を受け付ける処理を実行する。また、制御部401は、操作キーK13のユーザー操作に応じて、調整装置100による錠剤カセット2の調整を開始するための処理を実行する。例えば、制御部401は、表示領域A11及び表示領域A12における選択状態に基づいて調整装置100による錠剤カセット2の調整を開始することが考えられる。 
<ステップS85>
 ステップS85において、制御部401は、表示領域A11において実装薬品の錠剤種別を選択するためのユーザー操作が操作部402に対して行われたか否かを判断する。なお、本実施形態において、表示領域A11における前記錠剤種別の選択操作は、操作部402のマウスの操作位置を示すカーソルが選択対象である特定の前記錠剤種別に位置する状態で行われる当該マウスの左クリック操作である。ここで、表示領域A11において実装薬品の錠剤種別の選択が行われたと判断されると(S85:Yes)、処理がステップS87に移行し、表示領域A11において実装薬品の錠剤種別の選択が行われていないと判断されると(S85:No)、処理がステップS86に移行する。なお、制御部401は、表示領域A11における錠剤種別の選択後に、当該選択を反映するための操作キーが操作された場合に、当該錠剤種別の選択が行われたと判断してもよい。 
<ステップS86>
 ステップS86において、制御部401は、表示領域A12において未実装薬品の錠剤種別を選択するためのユーザー操作が操作部402に対して行われたか否かを判断する。なお、本実施形態において、表示領域A12における前記錠剤種別の選択操作は、操作部402のマウスの操作位置を示すカーソルが特定の前記錠剤種別に位置する状態で行われる当該マウスの左クリック操作である。ここで、表示領域A12において未実装薬品の錠剤種別の選択が行われたと判断されると(S86:Yes)、処理がステップS87に移行し、表示領域A12において未実装薬品の錠剤種別の選択が行われていないと判断されると(S86:No)、処理がステップS90に移行する。なお、制御部401は、表示領域A12における錠剤種別の選択後に、当該選択を反映するための操作キーが操作された場合に、当該錠剤種別の選択が行われたと判断してもよい。 
<ステップS87>
 ステップS87において、制御部401は、表示領域A11及びA12における操作に応じて推定条件を設定する。具体的に、制御部401は、表示領域A11において選択された実装薬品の錠剤種別を、錠剤払出装置1から払い出しが可能ではない未実装薬品の錠剤種別として前記推定条件を設定する。なお、現在の錠剤払出装置1に装着されている前記薬品カセットのみを用いて、前記推定対象データに含まれる前記薬品払出データ各々について当該薬品払出データに払出対象として含まれる全ての錠剤種別の錠剤が払い出し可能であるか否かを判定する場合には、後述のステップS88におけるシミュレーションでは、表示領域A11において選択された錠剤種別に対応する前記薬品カセットが錠剤払出装置1に装着されていないものとして扱われる。 
 また、制御部401は、表示領域A12において選択された未実装薬品の錠剤種別を、錠剤払出装置1から払い出しが可能な実装薬品の錠剤種別として前記推定条件を設定する。なお、現在の錠剤払出装置1に装着されている前記薬品カセットのみを用いて、前記推定対象データに含まれる前記薬品払出データ各々について当該薬品払出データに払出対象として含まれる全ての錠剤種別の錠剤が払い出し可能であるか否かを判定する場合には、後述のステップS88におけるシミュレーションでは、表示領域A12において選択された錠剤種別に対応する前記薬品カセットが錠剤払出装置1に装着されているものとして扱われる。なお、ステップS85~S87は、本発明に係る第1ステップの一例であり、制御部401の第1処理部422によって実行される。 
<ステップS88>
 ステップS88において、制御部401は、前記ステップS87で設定された前記推定条件を適用した場合に、錠剤払出装置1で前記推定対象データに基づいて実行される前記錠剤払出動作のシミュレーションを実行し、前記第1指標値をシミュレーション結果として導出する。また、制御部401は、当該シミュレーションにおいて、前記第1指標値及び前記第2指標値の比較結果を示す比較情報と、前記推定条件を適用した場合に削減される調剤作業者の作業時間及び人件費の推定値とをシミュレーション結果として導出する。 
 具体的に、制御部401は、前記推定条件に応じて前記実装薬品マスタを更新した場合に、錠剤払出装置1で、前記推定対象データに含まれる全ての前記薬品払出データに基づいて実行される錠剤払出動作の合計回数(表示領域A13の該当回数)のうち、全ての錠剤種別の錠剤が前記薬品カセットから払い出し可能な錠剤払出動作の割合及び回数を示す実装薬品充足率及び実装薬品充足数を前記第1指標値として算出する。 
<ステップS89>
 ステップS89において、制御部401は、前記ステップS88で導出された前記第1指標値、前記比較情報、削減される作業時間、人件費などをシミュレーション結果として出力する。当該ステップS89が本発明に係る第2ステップの一例であり、制御部401の第2処理部423によって実行される。具体的に、制御部401は、図45に示されるように、シミュレーション画面P11の表示領域A15に前記シミュレーション結果を表示させる。なお、制御部401は、シミュレーション画面P11における特定のユーザー操作に応じて、当該シミュレーションにおける前記推定条件の内容を前記実装薬品マスタに反映させることが可能であってもよい。 
<ステップS90>
 ステップS90において、制御部401は、当該シミュレーション処理を終了するための終了操作が行われると(S90:Yes)、当該シミュレーション処理を終了し、前記終了操作が行われなければ(S90:No)、処理をステップS85に戻す。例えば、前記終了操作は、シミュレーション画面P11における操作キーK14の操作である。 
 以上説明したように、前記シミュレーション機能によれば、前記推定条件を適用した場合に錠剤払出装置1で前記推定対象データに基づいて実行される前記錠剤払出動作のシミュレーション結果が出力される。これにより、ユーザーは、前記シミュレーション結果を参照しつつ錠剤払出装置1の前記薬品カセットに収容するべき錠剤の錠剤種別を選定することができる。また、前記推定条件の適用前後に対応する前記第1指標値及び前記第2指標値が表示され、当該第1指標値及び当該第2指標値は、その値が高いほど手撒きユニット302への錠剤の投入作業の負荷が軽減されることを示すものである。そのため、ユーザーは、前記第1指標値及び前記第2指標値を参照することにより、錠剤払出装置1で全ての錠剤種別の錠剤が前記薬品カセットから払い出し可能であって手撒きユニット302への錠剤の投入作業が必要になる錠剤払出動作の割合又は回数が減少するように実装薬品の錠剤種別を選定するためのシミュレーションを行うことが可能である。 
 なお、制御部401は、表示領域A11で錠剤カセット2に収容されている錠剤の錠剤種別が選択された場合には、表示領域A12に表示される錠剤種別を、表示領域A11で選択された錠剤種別に対応する錠剤カセット2のカセットタイプと同じカセットタイプの錠剤カセット2に収容可能な錠剤種別に限定してもよい。これにより、ユーザーは、特定の錠剤カセット2に収容されている錠剤の錠剤種別を除外した場合に、その後に当該錠剤カセット2で使用可能な錠剤の錠剤種別の中から、当該錠剤カセット2に収容する錠剤の錠剤種別を容易に選択することが可能である。また、制御部401は、表示領域A12で錠剤カセット2に対応する錠剤種別が選択された場合に、当該錠剤種別に対応する錠剤カセット2のカセットタイプと同じカセットタイプの錠剤カセット2に収容可能な錠剤の錠剤種別のみを表示領域A11に表示してもよい。 
[詳細シミュレーション機能]
 ところで、前述したように、制御部401は、シミュレーション画面P11において操作キーK12が操作された場合に、前記シミュレーション処理における前記推定対象データの抽出条件などを設定するためのユーザー操作を受け付ける処理を実行する。具体的に、制御部401は、シミュレーション画面P11の操作キーK12の操作に応じて、前記推定対象データの抽出条件が設定可能な詳細シミュレーション画面P12を表示部201に表示させる。なお、制御部401は、操作キーK12の操作に応じて、シミュレーション画面P11と詳細シミュレーション画面P12とを交互に切り替えて表示部201に表示させる。なお、前記シミュレーション処理における初期表示画面が詳細シミュレーション画面P12であってもよい。 
 ここに、図46は、操作キーK12が操作された場合に表示される詳細シミュレーション画面P12の一例を示す図である。なお、以下では、主に詳細シミュレーション画面P12においてシミュレーション画面P11と異なる部分について説明し、同様の内容については説明を省略する。 
 まず、図46に示されるように、制御部401は、詳細シミュレーション画面P12において、表示領域A11及び表示領域A12において、各錠剤種別が払出対象として実行された前記錠剤払出動作の回数を示す「Rp回数」を表示する。なお、制御部401は、シミュレーション画面P11の表示領域A11及び表示領域A12においても、同様に「Rp回数」を表示してもよい。また、操作キーK11の操作により前記錠剤種別の表示順位が「薬品Rp回数」に設定されている場合には、表示領域A11、A12に「Rp回数」が表示され、「薬品払出錠数」に設定されている場合には、表示領域A11、A12に「錠数」が表示されること又は表示領域A11、A12に「Rp回数」が表示されないことも考えられる。 
 また、図46に示されるように、詳細シミュレーション画面P12には、前記推定対象データの抽出条件、前記第1リスト及び前記第2リストの表示条件などを設定するための表示領域A21が表示される。また、詳細シミュレーション画面P12には、シミュレーションの開始操作を受け付けるための操作キーK15も表示される。 
 具体的に、制御部401は、表示領域A21において、前記推定対象データの抽出条件として、前記錠剤払出動作の実行単位を示す「処方」の実行種別を「個別」及び「一括」のいずれかに設定するためのユーザー操作を受付可能である。なお、「個別」は、患者又は服用者ごとに個別に前記薬品払出動作が実行されたときの前記薬品払出データを前記推定対象データとする場合に選択される。また、「一括」は、前記薬品払出動作が予め設定された施設単位などのグループに属する複数の患者又は服用者について一括して前記薬品払出動作が実行されたときの複数の前記薬品払出データを前記推定対象データとする場合に選択される。そして、制御部401は、記憶部202に記憶されている前記薬品払出データ(処方データ)に対応付けて記憶された前記実行種別履歴に基づいて、表示領域A21で選択された「処方」の実行種別に該当する前記薬品払出データを前記推定対象データとして抽出する。 
 また、制御部401は、表示領域A21において、調剤日の「曜日」を前記推定対象データの抽出条件として設定するためのユーザー操作を受付可能である。なお、「曜日」の抽出条件として複数の曜日が選択可能であってもよい。また、制御部401は、表示領域A21において、「調剤日」の範囲を前記推定対象データの抽出条件として設定するためのユーザー操作を受付可能である。その他、制御部401は、表示領域A21において、「診療科」、「処方箋区分」、「病棟」などの各種の情報を前記推定対象データの抽出条件として設定するためのユーザー操作を受付可能である。また、制御部401は、表示領域A21において、「処方」の実行種別として「一括」が選択されている場合には、前記グループを識別可能な「一括コード」を前記推定対象データの抽出条件として設定するためのユーザー操作を受付可能である。 
 また、制御部401は、表示領域A21において、表示領域A11及び表示領域A12の表示対象となる錠剤種別を当該錠剤種別の錠剤が払い出し可能な前記薬品カセットのカセットタイプで絞り込むための表示条件を設定するためのユーザー操作を受付可能である。具体的に、制御部401は、前記薬品カセットの「カセットタイプ」の種別として、「Aタイプ」、「Bタイプ」、「Cタイプ」、「固定」、「固定除く」、「全て」のいずれかを択一的に選択するユーザー操作を受付可能である。なお、「固定」は、前記錠剤種別固定カセットのみを表示対象とする場合に選択される。また、「固定除く」は、前記錠剤種別固定カセットを対象から除外する場合に選択される。具体的に、「固定除く」が選択されると、「カセットタイプ」の種別として、「Aタイプ」、「Bタイプ」、「Cタイプ」が選択されることになる。また、「全て」は、全ての前記薬品カセットのカセットタイプを表示対象とする場合に選択される。なお、他の実施形態として、制御部401が、表示領域A21において、「Aタイプ」、「Bタイプ」、「Cタイプ」、「固定」などの複数のカセットタイプから二つ以上のカセットタイプを選択するためのユーザー操作を受付可能であってもよい。 
 また、制御部401は、表示領域A21において、表示領域A11及び表示領域A12における前記第1リスト及び前記第2リストにおける錠剤種別の表示件数を表示条件として設定するためのユーザー操作を受付可能である。なお、詳細シミュレーション画面P12では、シミュレーション画面P11と同様に、操作キーK11のユーザー操作に応じて、表示領域A11及び表示領域A12に表示される前記第1リスト及び前記第2リストにおける錠剤種別の表示順位の判断基準を表示条件として設定することも可能である。 
 そして、制御部401は、表示領域A21において、前記推定対象データの抽出条件、前記第1リスト及び前記第2リストの表示条件などが設定された後、操作キーK15が操作されると、当該抽出条件に基づいて前記推定対象データとなる前記薬品払出データを抽出して前記シミュレーションを実行し、当該表示条件に基づいて前記第1リスト及び前記第2リストに錠剤種別を表示させる。 
 具体的に、制御部401は、詳細シミュレーション画面P12において操作キーK15が操作されると、前記シミュレーション処理をステップS81から実行する。そして、当該シミュレーション処理において、制御部401は、記憶部202に記憶されている前記履歴情報に基づいて、記憶部202に記憶されている前記薬品払出データのうち、「処方」の実行種別が表示領域A21の「処方」の欄で設定された「処方」の実行種別と合致し、調剤日が表示領域A21の「調剤日」の欄で設定された日付の範囲内であり、且つ、「曜日」、「診療科」、「処方箋区分」、「病棟」、「一括コード」の欄で設定された内容に合致する前記薬品払出データを、前記推定対象データとして抽出する。なお、前記薬品払出データ及び前記履歴情報のいずれか一方又は両方が錠剤払出装置1に記憶されており、制御部401は錠剤払出装置1から前記薬品払出データ及び前記履歴情報のいずれか一方又は両方を読み出すことも考えられる。 
 そして、制御部401は、前記推定対象データに基づいて前記第1リスト及び前記第2リストを生成し、表示領域A21の「表示件数」の欄で設定された件数の前記第1リスト及び前記第2リストを表示領域A11及び表示領域A12にそれぞれ表示させる。このとき、制御部401は、表示領域A11及び表示領域A12の前記第1リスト及び前記第2リストにおける表示対象の錠剤種別を、表示領域A21の「カセットタイプ」の欄で設定されたカセットタイプの前記薬品カセットで払い出し可能な錠剤の錠剤種別に絞り込む。また、制御部401は、前記第1リスト及び前記第2リストのいずれか一方において、表示対象を表示領域A21の「カセットタイプ」の欄で設定されたカセットタイプの前記薬品カセットで払い出し可能な錠剤の錠剤種別に絞り込むことが可能であってもよい。なお、シミュレーション画面P11及び詳細シミュレーション画面P12では、左側に表示領域A11が表示され、右側に表示領域A12が表示されているが、その表示位置は左右逆であってもよい。 
 また、制御部401は、表示領域A11及び表示領域A12の前記第1リスト及び前記第2リストにおいて、特定の前記錠剤種別について予め設定された履歴表示操作が行われた場合に、当該薬品の払出履歴を示す履歴画面P13を表示してもよい。具体的に、前記履歴表示操作は、操作部402のマウスの操作位置を示すカーソルが選択対象である特定の前記錠剤種別に位置する状態で行われる当該マウスの右クリック操作である。ここに、図49、図50は、履歴画面P13の一例を示す図であって、図49は、「処方」の実行種別として「個別」が選択されている場合の履歴画面P13の一例であり、図50は、「処方」の実行種別として「一括」が選択されている場合の履歴画面P13の一例である。例えば、図49に示される履歴画面P13では、前記選択対象の薬品について、調剤日、用量、用法名、日回数が表示されており、図50に示される履歴画面P13では、前記選択対象の薬品について、一括コード、用量、用量名、日回数が表示されている。 
 また、制御部401は、シミュレーション画面P11又は詳細シミュレーション画面P12の表示領域A12の前記第2リストにおける表示対象の錠剤種別から、予め設定された一又は複数の特定の除外薬品の錠剤種別を除外することが可能であってもよい。具体的に、制御部401は、初期設定などにおけるユーザー操作に応じて、前記第2リストにおける表示対象から前記除外薬品の錠剤種別の設定を受け付けることが可能である。例えば、前記薬品マスタには、錠剤払出装置1から分包紙に錠剤が分包されない空包を出力する際に用いられる「空包印字」などが、便宜上、薬品の一種として登録されることがある。そして、前記薬品払出データに処方薬として「空包印字」が含まれている場合には、錠剤払出装置1で実行される前記錠剤払出動作において空の分包紙が出力されることになる。しかしながら、このような「空包印字」が多く使用される場合には、表示領域A12の前記第2リストに「空包印字」が表示されることがあり、表示領域A12の表示領域が無駄に使用され、ユーザーにとって有用な情報量が少なくなる可能性がある。これに対し、「空包印字」が前記除外薬品の錠剤種別として設定されていれば、前記第2リストに前記除外薬品の錠剤種別が表示されないため、ユーザーに有用な情報量をできるだけ多く提示することが可能である。その他、前記除外薬品としては、湿気に弱い薬品などのように前記薬品カセットからの払い出しに適さない薬品、又は、一般的には1回当たりの用量に1錠未満である半錠又は1/4錠などが含まれる薬品などが登録されることが考えられる。 
 ところで、錠剤払出装置1に装着可能な前記薬品カセットが、1錠未満である半錠又は1/4錠などの単位で錠剤を払い出し可能でないものである場合には、小数点以下の錠数を含む用量で払い出されることの多い錠剤の錠剤種別が前記第2リストに表示されやすくなる。しかしながら、このように小数点以下の錠数を含む用量で用いられることの多い錠剤については、仮に前記実装薬品として設定された場合であっても、依然として前記薬品カセットから払い出すことはできないため、前記実装薬品充足率は改善しない。そのため、制御部401は、前記第2リストを生成する際、用量が小数点以下の錠数である場合の前記錠剤払出動作の回数を、前記薬品カセットから払い出せない錠剤の錠剤種別に対応する「Rp回数」としてはカウントしないことが考えられる。これにより、前記第2リストでは、実装薬品として登録することにより前記実装薬品充足率が改善される可能性の高い錠剤種別を優先してユーザーに提示することが可能である。 
[複数接続シミュレーション機能]
 前述したように、薬品払出システム500には、複数の錠剤払出装置1が接続されることがある。これに対し、制御部401は、複数の錠剤払出装置1を対象に前記シミュレーション処理を実行する複数接続シミュレーション機能を備えることが考えられる。ここでは、薬品払出システム500が、二つの錠剤払出装置1を備える場合を例に挙げて、前記複数接続シミュレーション機能で実行される前記シミュレーション処理の一例について説明する。なお、二つの錠剤払出装置1を区別する場合には、「1号機の錠剤払出装置1」及び「2号機の錠剤払出装置1」と称することがある。 
 まず、薬品払出システム500に、二つの錠剤払出装置1が接続されている場合、制御装置200の記憶部202には、前記薬品マスタに記憶されている薬品のうち前記薬品カセットから払い出し可能な薬品が登録される前記実装薬品マスタが、当該錠剤払出装置1ごとに対応付けて記憶されている。即ち、薬品払出システム500では、前記薬品カセットから払い出し可能な薬品が錠剤払出装置1ごとに個別に設定可能であり、前記薬品カセットから払い出し可能な薬品が錠剤払出装置1ごとに異なることがある。 
 そして、制御部401は、前記シミュレーション処理において詳細シミュレーション画面P12を表示させる場合、錠剤払出装置1各々に対応する前記実装薬品マスタを参照し、当該実装薬品マスタの内容が異なる場合には、図47及び図48に示されるように、錠剤払出装置1各々に対応する前記第1リスト及び前記第2リストを切り替えて表示するための切替タブT11、T12を表示させる。なお、錠剤払出装置1各々に対応する前記実装薬品マスタの内容が同一である場合、又は、錠剤払出装置1各々に共通して一つの前記実装薬品マスタが用いられる構成である場合には、錠剤払出装置1各々に対応する前記第1リスト及び前記第2リストを切り替えて表示するための切替タブT11、T12が表示されなくてもよい。ここで、制御部401は、切替タブT11、T12の表示を省略する場合には、薬品払出システム500における錠剤払出装置1の接続台数、又は、複数の錠剤払出装置1が接続されている旨などを詳細シミュレーション画面P12に表示させることが考えられる。また、ここでは詳細シミュレーション画面P12を例に挙げて説明するが、シミュレーション画面P11についても同様である。 
 具体的に、制御部401は、前記シミュレーション処理のステップS81において、錠剤払出装置1ごとに、当該錠剤払出装置1に対応する前記推定条件を当該錠剤払出装置1に適用しない前の状態で、当該錠剤払出装置1で前記推定対象データに基づいて実行される前記薬品払出動作に対応する前記第2指標値を導出する。具体的に、前記錠剤払出装置1ごとについて、当該錠剤払出装置1に対応する前記実装薬品マスタと前記推定対象データとに基づいて前記第2指標値を導出する。即ち、制御部401は、前記推定対象データに含まれる全ての前記薬品払出データを1号機の錠剤払出装置1で払い出すことを想定した場合の前記第2指標値と、前記推定対象データに含まれる全ての前記薬品払出データを2号機の錠剤払出装置1で払い出すことを想定した場合の前記第2指標値とを導出する。前述したように、錠剤払出装置1ごとに対応して前記実装薬品マスタが登録されているため、ここで導出される前記第2指標値は、錠剤払出装置1ごとに異なることがある。 
 また、制御部401は、前記シミュレーション処理のステップS82、S83において、前記錠剤払出装置1ごとについて、当該錠剤払出装置1に対応する前記実装薬品マスタと前記推定対象データとに基づいて、当該錠剤払出装置1ごとに対応する前記第1リスト及び前記第2リストを生成する。即ち、制御部401は、1号機の錠剤払出装置1で前記推定対象データに基づいて前記錠剤払出動作が実行される場合に1号機の錠剤払出装置1で前記薬品カセットから払い出し可能な錠剤種別が示される前記第1リストと、1号機の錠剤払出装置1で前記薬品カセットから錠剤が払い出し可能でない錠剤種別が示される前記第2リストとを生成する。同様に、制御部401は、2号機の錠剤払出装置1で前記推定対象データに基づいて前記錠剤払出動作が実行される場合に2号機の錠剤払出装置1で前記薬品カセットから払い出し可能な錠剤種別が示される前記第1リストと、2号機の錠剤払出装置1で前記薬品カセットから錠剤が払い出し可能でない錠剤種別が示される前記第2リストとを生成する。 
 そして、図47及び図48に示されるように、制御部401は、詳細シミュレーション画面P12において、複数の切替タブT11、T12の選択操作に応じて、複数の錠剤払出装置1について当該錠剤払出装置1ごとに対応する前記第1リスト及び前記第2リストを表示可能である。 
 また、制御部401は、前記シミュレーション処理のステップS85~S87において、錠剤払出装置1ごとに対応する前記推定条件を設定する。具体的に、制御部401は、切替タブT11が選択された状態では、1号機の錠剤払出装置1に対応する前記第1リスト及び前記第2リストにおける前記実装薬品及び前記未実装薬品の錠剤種別の選択に応じて、1号機の錠剤払出装置1から払い出しが可能ではない未実装薬品の錠剤種別と、1号機の錠剤払出装置1から払い出しが可能である実装薬品の錠剤種別とを、1号機の錠剤払出装置1の前記推定条件として設定する。例えば、図47では、表示領域A11において、「薬品M1」、「薬品M3」が前記推定条件における未実装薬品として選択され、表示領域A12において、「薬品M7」が前記推定条件における実装薬品として選択されている。 
 同様に、制御部401は、切替タブT12が選択された状態では、2号機の錠剤払出装置1に対応する前記第1リスト及び前記第2リストにおける前記実装薬品及び前記未実装薬品の錠剤種別の選択に応じて、2号機の錠剤払出装置1から払い出しが可能ではない未実装薬品の錠剤種別と、2号機の錠剤払出装置1から払い出しが可能である実装薬品の錠剤種別とを、2号機の錠剤払出装置1の前記推定条件として設定する。例えば、図48では、表示領域A11において、「薬品M2」、「薬品M3」が前記推定条件における未実装薬品として選択され、表示領域A12において、「薬品M6」が前記推定条件における実装薬品として選択されている。 
 即ち、制御部401は、錠剤払出装置1各々に対応する前記第1リスト及び前記第2リストにおける錠剤種別の選択に応じて当該錠剤払出装置1ごとに対応する前記推定条件の設定を個別に受け付けることが可能である。なお、前記推定条件の設定処理は、制御部401の第1処理部422によって実行される。 
 その後、制御部401は、前記シミュレーション処理のステップS88において、錠剤払出装置1ごとに、当該薬品払出装置1に対応する前記推定条件を当該錠剤払出装置1に適用した場合に当該錠剤払出装置1で前記推定対象データに基づいて実行される前記薬品払出動作に対応する前記第1指標値を導出する。即ち、制御部401は、前記錠剤払出装置1ごとについて、当該錠剤払出装置1に対応する前記実装薬品マスタと、前記推定条件と、前記推定対象データとに基づいて前記第1指標値を導出する。前述したように、錠剤払出装置1ごとに対応して前記実装薬品マスタが登録されているため、ここで導出される前記第1指標値は、錠剤払出装置1ごとに異なることがある。 
 そして、制御部401は、錠剤払出装置1各々に対応する前記第1指標値及び前記第2指標値のうち、最小の前記第1指標値、最大の前記第1指標値、最小の前記第2指標値、最大の前記第2指標値などを前記シミュレーション結果として出力する。具体的には、図47及び図48に示されるように、表示領域A14に、最小の前記第2指標値と最大の前記第2指標値との範囲を数値で表示させ、表示領域A15に、最小の前記第1指標値と最大の前記第1指標値との範囲を数値で表示させる。また、制御部401は、表示領域A141に表示される円グラフにおいて、最小の前記第2指標値を示す領域A142と最大の前記第2指標値を示す領域A143とを表示させる。同様に、制御部401は、表示領域A151に表示される円グラフにおいて、最小の前記第1指標値を示す領域A152と最大の前記第1指標値を示す領域A153とを表示させる。なお、前記領域A141の前記円グラフの表示領域A142及び表示領域A143は配色などの表示態様が異なり、前記表示領域A151の前記円グラフにおける表示領域A152及び表示領域A153は配色などの表示態様が異なる。なお、表示領域A14及び表示領域A141では、最小の前記第2指標値及び最大の前記第2指標値のいずれか一方のみが表示されてもよく、同様に、表示領域A15及び表示領域A151では、最小の前記第1指標値及び最大の前記第1指標値のいずれか一方のみが表示されてもよい。 
 また、他の実施形態として、制御部401は、前記シミュレーション処理のステップS81において、前記推定条件を適用しない場合に複数の前記薬品払出データに基づいて実行される前記薬品払出動作のうち、当該薬品払出データに払出対象として含まれる全ての錠剤種別の錠剤が複数の錠剤払出装置1のいずれにおいても前記薬品カセットから払い出し可能な薬品払出動作の割合又は回数の少なくとも一方を含む第4指標値を導出することが考えられる。即ち、制御部401は、前記推定条件が適用されていない場合において、前記推定対象データに含まれる前記薬品払出データ各々が、1号機の錠剤払出装置1又は2号機の錠剤払出装置1のいずれに割り当てられた場合であっても、前記薬品カセットから払い出すことが可能な前記薬品払出動作の割合又は回数などが前記第4指標値として導出される。 
 同様に、他の実施形態として、制御部401は、前記シミュレーション処理のステップS88において、前記推定条件を適用した場合に複数の前記薬品払出データに基づいて実行される前記薬品払出動作のうち、当該薬品払出データに払出対象として含まれる全ての錠剤種別の錠剤が複数の錠剤払出装置1のいずれにおいても前記薬品カセットから払い出し可能な薬品払出動作の割合又は回数の少なくとも一方を含む第3指標値を導出することが考えられる。即ち、制御部401は、前記推定条件が適用された場合において、前記推定対象データに含まれる前記薬品払出データ各々が、1号機の錠剤払出装置1又は2号機の錠剤払出装置1のいずれに割り当てられた場合であっても、前記薬品カセットから払い出すことが可能な前記薬品払出動作の割合又は回数などが前記第3指標値として導出される。 
 そして、制御部401は、錠剤払出装置1各々に対応する前記第1指標値及び前記第2指標値のうち最大の前記第1指標値及び最大の前記第2指標値と、前記第3指標値と、前記第4指標値とを前記シミュレーション結果として出力する。具体的には、図47及び図48に示されるように、表示領域A14に、前記第4指標値と最大の前記第2指標値との範囲を数値で表示させ、表示領域A15に、前記第3指標値と最大の前記第1指標値との範囲を数値で表示させる。また、制御部401は、表示領域A141に表示される円グラフにおいて、前記第4指標値を示す領域A142と最大の前記第2指標値を示す領域A143とを表示させる。同様に、制御部401は、表示領域A151に表示される円グラフにおいて、前記第3指標値を示す領域A152と最大の前記第1指標値を示す領域A153とを表示させる。なお、表示領域A14及び表示領域A141では、前記第4指標値及び最大の前記第2指標値のいずれか一方のみが表示されてもよく、同様に、表示領域A15及び表示領域A151では、前記第3指標値及び最大の前記第1指標値のいずれか一方のみが表示されてもよい。また、表示領域A14及び表示領域A141では、前記第4指標値及び最小の前記第2指標値が表示されてもよく、同様に、表示領域A15及び表示領域A151では、前記第3指標値及び最小の前記第1指標値が表示されてもよい。 
 また、前記推定対象データに含まれる前記薬品払出データに基づく錠剤払出動作を実行する錠剤払出装置1として、1号機の錠剤払出装置1又は2号機の錠剤払出装置1のいずれか一方のみが選択可能な構成も考えられる。この場合には、前記実装薬品充足率に誤差が生じないため、表示領域A141の円グラフの領域A143及び表示領域A151の円グラフにおける領域A153が表示されない。 
 また、前記薬品払出データに対応する前記履歴情報として、当該薬品払出データに基づく錠剤払出動作が実行された錠剤払出装置1の号機情報が記憶されている場合には、前記第2指標値に誤差が生じない。具体的に、制御部401は、前記推定対象データに含まれる複数の前記薬品払出データのうち1号機の錠剤払出装置1で前記錠剤払出動作が実行された前記薬品払出データについて、当該薬品払出データに払出対象として含まれる全ての薬品種別の薬品が1号機の錠剤払出装置1において前記薬品カセットから払い出し可能である前記薬品払出動作の回数を示す実装薬品充足回数を算出する。同様に、制御部401は、前記推定対象データに含まれる複数の前記薬品払出データのうち2号機の錠剤払出装置1で前記錠剤払出動作が実行された前記薬品払出データについても、当該薬品払出データに払出対象として含まれる全ての薬品種別の薬品が2号機の錠剤払出装置1において前記薬品カセットから払い出し可能である前記薬品払出動作の回数を示す実装薬品充足回数を算出する。そして、制御部401は、両方の前記実装薬品充足回数を前記合計回数(該当回数)で割った値(実装薬品充足回数の合計/合計回数)を特定の前記実装薬品充足率として導出することが可能である。そのため、この場合にも、表示領域A141の円グラフの領域A143が表示されないことが考えられる。 
 また、前記薬品払出データに対応する前記履歴情報として、当該薬品払出データに基づく錠剤払出動作が実行された錠剤払出装置1の号機情報が記憶されている場合には、制御部401は、詳細シミュレーション画面P12の表示領域A21において、前記抽出条件として「錠剤払出装置の号機情報」の入力を受け付けることが可能であってもよい。この場合、制御部401は、「錠剤払出装置の号機情報」で入力された号機番号の錠剤払出装置1で前記錠剤払出動作が実行された前記薬品払出データを前記推定対象データとして抽出する。 
 ところで、本実施形態では、前記錠剤払出装置1ごとに対応する前記実装薬品マスタが記憶部202に記憶されており、当該錠剤払出装置1ごとに前記推定条件が設定可能である場合を例に挙げて説明した。一方、他の実施形態として、前記錠剤払出装置1の台数よりも少ない数の前記実装薬品マスタが記憶部202に記憶されており、複数の錠剤払出装置1が同じ前記実装薬品マスタに対応付けられる状況も考えられる。例えば、錠剤払出システム500に3台の錠剤払出装置1が接続されており、2つの前記実装薬品マスタが記憶部202に記憶されていることが考えられる。 
 この場合、制御部401は、前記錠剤払出装置1ごとに前記推定条件の設定を個別に受付可能な構成に代えて、前記実装薬品マスタごとに前記推定条件の設定を個別に受け付け可能であることが考えられる。そして、制御部401は、前記シミュレーション処理において、前記実装薬品マスタごとに、当該実装薬品マスタに対応する前記推定条件が適用された場合に、当該実装薬品マスタに対応付けられる前記錠剤払出装置1で複数の前記薬品払出データに基づいて実行される前記薬品払出動作について前記第1指標値又は前記第3指標値などのシミュレーション結果を出力することが考えられる。なお、前記第2指標値についても同様である。即ち、制御部401は、前記実装薬品マスタ各々に前記推定条件を適用しない場合に、当該実装薬品マスタ各々に対応付けられる前記錠剤払出装置1で複数の前記薬品払出データに基づいて実行される前記薬品払出動作について前記第2指標値又は前記第4指標値などのシミュレーション結果を出力することが考えられる。 
 また、他の実施形態として、複数の前記実装薬品マスタが記憶部202に記憶されており、制御部401が、前記錠剤払出装置1に対応付けられる前記実装薬品マスタを記憶部202に記憶されている複数の前記実装薬品マスタから選択可能である構成も考えられる。この場合にも同様に、制御部401は、前記実装薬品マスタごとに前記推定条件の設定を個別に受け付け可能であることが考えられる。そして、制御部401は、前記シミュレーション処理において、前記実装薬品マスタごとに、当該実装薬品マスタに対応する前記推定条件が適用された場合に、当該実装薬品マスタに対応付けられる前記錠剤払出装置1で複数の前記薬品払出データに基づいて実行される前記薬品払出動作について前記第1指標値又は前記第3指標値などのシミュレーション結果を出力することが考えられる。なお、前記第2指標値についても同様である。即ち、制御部401は、前記実装薬品マスタ各々に前記推定条件を適用しない場合に、当該実装薬品マスタ各々に対応付けられる前記錠剤払出装置1で複数の前記薬品払出データに基づいて実行される前記薬品払出動作について前記第2指標値又は前記第4指標値などのシミュレーション結果を出力することが考えられる。 
  1 錠剤払出装置
  2 錠剤カセット
  5 カセット本体
  9 錠剤排出孔
 8b 錠剤案内路
 20 仕切部材
 24 仕切調整部材
 33 深さ調整部材
 52 高さ調整部材
 64 幅調整部材
100 調整装置
101 装置本体
102 カセット装着部
103 ロータ載置部
104 昇降テーブル
105 昇降操作部
111 仕切調整軸(仕切調整部)
113 仕切調整モータ
115 仕切ゼロ点検出センサ(第2ゼロ点検出部)
121 深さゼロ点検出センサ(第1ゼロ点検出部)
122 高さゼロ点検出センサ(第1ゼロ点検出部)
123 幅ゼロ点検出センサ(第1ゼロ点検出部)
127 深さ調整軸(案内路調整部)
128 高さ調整軸(案内路調整部)
129 幅調整軸(案内路調整部)
137 深さ駆動軸(案内路駆動部)
138 高さ駆動軸(案内路駆動部)
139 幅駆動軸(案内路駆動部)
142 深さ調整モータ(案内路駆動部)
143 高さ調整モータ(案内路駆動部)
144 幅調整モータ(案内路駆動部)
145 レバー
200 制御装置
201 表示装置
202 記憶部
203 第1スタートボタン
204 第2スタートボタン
300 制御部
301 リーダライタ
401 制御部
501 リーダライタ
601 RFIDタグ
 M1 仕切調整機構
 M2 深さ調整機構(錠剤案内路調整機構)
 M3 高さ調整機構(錠剤案内路調整機構)
 M4 幅調整機構(錠剤案内路調整機構)

Claims (18)

  1.  薬品払出データに基づいて一又は複数の薬品種別の薬品を払い出す薬品払出動作を実行可能な薬品払出装置で前記薬品払出動作において薬品カセットから払い出し可能な薬品の薬品種別の選定に関する推定条件を受け付ける第1処理部と、 
     前記第1処理部により受け付けられた前記推定条件を適用した場合に複数の前記薬品払出データに基づいて実行される前記薬品払出動作のシミュレーション結果を出力する第2処理部と、 
     を備える薬品払出システム。
  2.  前記第2処理部は、前記推定条件を適用した場合に複数の前記薬品払出データに基づいて実行される前記薬品払出動作のうち、当該薬品払出データに払出対象として含まれる全ての薬品種別の薬品が前記薬品カセットから払い出し可能な薬品払出動作の割合又は回数の少なくとも一方を含む第1指標値を前記シミュレーション結果として出力する、 
     請求項1に記載の薬品払出システム。
  3.  前記第2処理部は、前記推定条件を適用しない現在の前記薬品払出装置における前記薬品種別の選定状態で複数の前記薬品払出データに基づいて実行される前記薬品払出動作のうち、当該薬品払出データに払出対象として含まれる全ての薬品種別の薬品が前記薬品カセットから払い出し可能な薬品払出動作の割合又は回数の少なくとも一方を含む第2指標値を出力可能である、 
     請求項2に記載の薬品払出システム。
  4.  前記第2処理部は、前記第1指標値と前記第2指標値との比較結果を示す比較情報を出力可能である、
     請求項3に記載の薬品払出システム。
  5.  前記第2処理部は、前記推定条件を適用した場合に削減される調剤作業者の作業時間の推定値を出力可能である、
     請求項3又は4に記載の薬品払出システム。
  6.  前記第2処理部は、前記推定条件を適用した場合に削減される調剤作業者の人件費の推定値を出力可能である、
     請求項3~5のいずれかに記載の薬品払出システム。
  7.  前記第1処理部は、
     前記推定条件を適用しない現在の前記薬品払出装置における前記薬品種別の選定状態で複数の前記薬品払出データに基づいて実行される前記薬品払出動作で前記薬品カセットから払い出される頻度が低い順で、現在の前記薬品払出装置で前記薬品カセットから払い出し可能な薬品種別を示す第1リストを表示可能であると共に、 
     前記推定条件を適用しない現在の前記薬品払出装置における前記薬品種別の選定状態で複数の前記薬品払出データに基づいて実行される前記薬品払出動作で払い出しが必要となる頻度が高い順で、現在の前記薬品払出装置で前記薬品カセットから払い出し可能でない薬品種別を示す第2リストを表示可能であって、 
     前記第1リスト及び前記第2リストにおける薬品種別の選択に応じて前記推定条件の設定を受け付け可能である、
     請求項3~6のいずれかに記載の薬品払出システム。
  8.  前記第1処理部は、前記第1リストで選択される薬品種別を、前記推定条件における前記薬品カセットから払い出し可能な薬品の薬品種別の選定から除外し、前記第2リストで選択される薬品種別を、前記推定条件における前記薬品カセットから払い出し可能な薬品の薬品種別として選定する、 
     請求項7に記載の薬品払出システム。
  9.  前記薬品カセットには、当該薬品カセットのカセットタイプに対応する複数の薬品種別のうち予め選択される任意の薬品種別の薬品が払い出し可能な薬品カセットが含まれ、 
     前記第1処理部は、前記第1リスト及び前記第2リストにおいて前記薬品種別に対応する前記カセットタイプを表示可能である、 
     請求項7又は8に記載の薬品払出システム。
  10.  前記第1処理部は、前記薬品払出装置ごとに対応する前記推定条件の設定を個別に受け付け可能である、
     請求項1~9のいずれかに記載の薬品払出システム。
  11.  前記第2処理部は、
     前記推定条件を適用した場合に複数の前記薬品払出データに基づいて実行される前記薬品払出動作のうち、当該薬品払出データに払出対象として含まれる全ての薬品種別の薬品が前記薬品カセットから払い出し可能な薬品払出動作の割合又は回数の少なくとも一方を含む第1指標値を前記シミュレーション結果として出力可能であり、 
     前記薬品払出装置ごとに、当該薬品払出装置に対応する前記推定条件を当該薬品払出装置に適用した場合に対応する前記第1指標値を導出可能である、 
     請求項10に記載の薬品払出システム。
  12.  前記第2処理部は、複数の前記薬品払出装置に対応する前記第1指標値のうち、最小の前記第1指標値及び最大の前記第1指標値の少なくとも一方を前記シミュレーション結果として出力可能である、 
     請求項11に記載の薬品払出システム。
  13.  前記第2処理部は、
     前記推定条件を適用した場合に複数の前記薬品払出データに基づいて実行される前記薬品払出動作のうち、当該薬品払出データに払出対象として含まれる全ての薬品種別の薬品が複数の前記薬品払出装置のいずれにおいても前記薬品カセットから払い出し可能な薬品払出動作の割合又は回数の少なくとも一方を含む第3指標値を前記シミュレーション結果として出力するものである、 
     請求項1~12のいずれかに記載の薬品払出システム。
  14.  前記第2処理部は、
     前記推定条件を適用しない現在の前記薬品払出装置における前記薬品種別の選定状態で複数の前記薬品払出データに基づいて実行される前記薬品払出動作のうち、当該薬品払出データに払出対象として含まれる全ての薬品種別の薬品が前記薬品カセットから払い出し可能な薬品払出動作の割合又は回数の少なくとも一方を含む第2指標値を出力可能であり、 
     前記薬品払出装置ごとに、当該薬品払出装置に対応する前記推定条件を当該薬品払出装置に適用しない場合に対応する前記第2指標値を導出可能である、 
     請求項10~13のいずれかに記載の薬品払出システム。
  15.  前記第2処理部は、複数の前記薬品払出装置に対応する前記第2指標値のうち、最小の前記第2指標値及び最大の前記第2指標値の少なくとも一方を前記シミュレーション結果として出力可能である、 
     請求項14に記載の薬品払出システム。
  16.  前記第2処理部は、
     前記推定条件を適用しない場合に複数の前記薬品払出データに基づいて実行される前記薬品払出動作のうち、当該薬品払出データに払出対象として含まれる全ての薬品種別の薬品が複数の前記薬品払出装置のいずれにおいても前記薬品カセットから払い出し可能な薬品払出動作の割合又は回数の少なくとも一方を含む第4指標値を前記シミュレーション結果として出力するものである、 
     請求項1~15のいずれかに記載の薬品払出システム。
  17.  前記第2処理部は、複数の患者又は服用者が属する予め設定されたグループの選択操作に応じて、当該グループに属する複数の患者又は服用者に対応する複数の前記薬品払出データを選択し、当該複数の薬品払出データに基づいて実行される前記薬品払出動作のシミュレーション結果を出力可能である、 
     請求項1~16のいずれかに記載の薬品払出システム。
  18.  薬品払出データに基づいて一又は複数の薬品種別の薬品を払い出す薬品払出動作を実行可能な薬品払出装置で前記薬品払出動作において薬品カセットから払い出し可能な薬品の薬品種別の選定に関する推定条件を受け付ける第1ステップと、 
     前記第1ステップで受け付けられた前記推定条件を適用した場合に複数の前記薬品払出データに基づいて実行される前記薬品払出動作のシミュレーション結果を出力する第2ステップと、 
     を一又は複数のプロセッサーに実行させるための薬品払出プログラム。
PCT/JP2020/014005 2019-04-08 2020-03-27 薬品払出システム、薬品払出プログラム WO2020209100A1 (ja)

Priority Applications (3)

Application Number Priority Date Filing Date Title
CN202080027213.7A CN113677308B (zh) 2019-04-08 2020-03-27 药品排出系统、药品排出程序
JP2020537026A JP6874911B2 (ja) 2019-04-08 2020-03-27 薬品払出システム、薬品払出プログラム
KR1020217031903A KR20210149722A (ko) 2019-04-08 2020-03-27 약품 불출 시스템, 약품 불출 프로그램

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
JP2019-073498 2019-04-08
JP2019073498 2019-04-08
JP2019-101776 2019-05-30
JP2019101776 2019-05-30

Publications (1)

Publication Number Publication Date
WO2020209100A1 true WO2020209100A1 (ja) 2020-10-15

Family

ID=72750655

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2020/014005 WO2020209100A1 (ja) 2019-04-08 2020-03-27 薬品払出システム、薬品払出プログラム

Country Status (5)

Country Link
JP (2) JP6874911B2 (ja)
KR (1) KR20210149722A (ja)
CN (1) CN113677308B (ja)
TW (1) TWI745920B (ja)
WO (1) WO2020209100A1 (ja)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7127759B1 (ja) * 2021-04-16 2022-08-30 株式会社湯山製作所 薬品払出システム、調整システム、プログラム
WO2022219998A1 (ja) 2021-04-16 2022-10-20 株式会社湯山製作所 薬品払出システム、調整システム、プログラム

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003206024A (ja) * 2002-01-16 2003-07-22 Yuyama Manufacturing Co Ltd 調剤システム
JP2005342122A (ja) * 2004-06-01 2005-12-15 Tosho Inc 薬剤フィーダ及び自動調剤装置
JP2010050842A (ja) 2008-08-22 2010-03-04 Sony Taiwan Ltd マルチレンズカメラシステムのための高度な動的スティッチング方法
JP2014121750A (ja) * 2012-12-20 2014-07-03 Yaskawa Electric Corp 自動調製システム
CN104660998A (zh) 2015-02-16 2015-05-27 苏州阔地网络科技有限公司 一种接力跟踪方法及系统
US20160078299A1 (en) 2012-08-06 2016-03-17 Cloudparc, Inc. Imaging a Parking Display Ticket
WO2017159819A1 (ja) * 2016-03-18 2017-09-21 株式会社湯山製作所 薬品払出装置、薬品払出プログラム
US20180225537A1 (en) 2017-02-08 2018-08-09 Nextvr Inc. Methods and apparatus relating to camera switching and/or making a decision to switch between cameras
US20190163974A1 (en) 2016-07-29 2019-05-30 Huawei Technologies Co., Ltd. Target Monitoring Method, Camera, Controller, and Target Monitoring System

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010101095A1 (ja) * 2009-03-01 2010-09-10 株式会社湯山製作所 薬箱払出装置
TWI585017B (zh) 2009-08-28 2017-06-01 Yuyama Manufacturing Co Ltd A medicine discharge device, a hopper, and a method for manufacturing the same
JPWO2011125650A1 (ja) * 2010-04-02 2013-07-08 株式会社湯山製作所 薬剤供給装置
CN103158989A (zh) * 2012-09-03 2013-06-19 苏州艾隆科技股份有限公司 配药方法及配药系统
US10045914B2 (en) * 2013-01-18 2018-08-14 Yuyama Mfg. Co., Ltd. Medicine dispensing apparatus, method of dispensing medicines, medicine dispensing program and storage medium
KR101660680B1 (ko) * 2014-03-18 2016-09-27 미쓰비시덴키 가부시키가이샤 시스템 구축 지원 장치, 방법, 및 기록 매체
JP6634669B2 (ja) * 2014-09-11 2020-01-22 株式会社湯山製作所 医療用事務処理システム、医療用事務処理プログラム
WO2016047525A1 (ja) * 2014-09-24 2016-03-31 株式会社湯山製作所 薬品払出装置及び散薬調剤業務支援システム
WO2016147926A1 (ja) * 2015-03-13 2016-09-22 株式会社湯山製作所 薬品払出システム

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003206024A (ja) * 2002-01-16 2003-07-22 Yuyama Manufacturing Co Ltd 調剤システム
JP2005342122A (ja) * 2004-06-01 2005-12-15 Tosho Inc 薬剤フィーダ及び自動調剤装置
JP2010050842A (ja) 2008-08-22 2010-03-04 Sony Taiwan Ltd マルチレンズカメラシステムのための高度な動的スティッチング方法
US20160078299A1 (en) 2012-08-06 2016-03-17 Cloudparc, Inc. Imaging a Parking Display Ticket
JP2014121750A (ja) * 2012-12-20 2014-07-03 Yaskawa Electric Corp 自動調製システム
CN104660998A (zh) 2015-02-16 2015-05-27 苏州阔地网络科技有限公司 一种接力跟踪方法及系统
WO2017159819A1 (ja) * 2016-03-18 2017-09-21 株式会社湯山製作所 薬品払出装置、薬品払出プログラム
US20190163974A1 (en) 2016-07-29 2019-05-30 Huawei Technologies Co., Ltd. Target Monitoring Method, Camera, Controller, and Target Monitoring System
US20180225537A1 (en) 2017-02-08 2018-08-09 Nextvr Inc. Methods and apparatus relating to camera switching and/or making a decision to switch between cameras

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7127759B1 (ja) * 2021-04-16 2022-08-30 株式会社湯山製作所 薬品払出システム、調整システム、プログラム
WO2022219998A1 (ja) 2021-04-16 2022-10-20 株式会社湯山製作所 薬品払出システム、調整システム、プログラム
KR20230173078A (ko) 2021-04-16 2023-12-26 가부시키가이샤 유야마 세이사쿠쇼 약품 불출 시스템, 조정 시스템, 프로그램

Also Published As

Publication number Publication date
CN113677308A (zh) 2021-11-19
JP2021104433A (ja) 2021-07-26
TW202104012A (zh) 2021-02-01
JPWO2020209100A1 (ja) 2021-04-30
CN113677308B (zh) 2023-10-13
JP6874911B2 (ja) 2021-05-19
KR20210149722A (ko) 2021-12-09
TWI745920B (zh) 2021-11-11

Similar Documents

Publication Publication Date Title
KR102489461B1 (ko) 약품 불출 장치, 약품 불출 프로그램
US8571886B2 (en) System and method for management of pharmacy workflow
CN104379110B (zh) 药剂送出装置、药剂送出方法、计算机程序产品及记录媒体
JP6885342B2 (ja) 鑑査支援システム、錠剤分包装置、分包制御プログラム
AU2003261446A1 (en) Controller for dispensing products
JP6874911B2 (ja) 薬品払出システム、薬品払出プログラム
JP2023072012A (ja) 薬品払出装置、制御方法、制御プログラム
JP2002279068A (ja) 調剤システム
JP6992775B2 (ja) 錠剤払出システム、錠剤払出制御プログラム
JP6766546B2 (ja) 薬品払出装置
JP7141004B2 (ja) 錠剤払出システム、錠剤払出制御プログラム
JP2022121252A (ja) 錠剤払出システム、錠剤払出制御プログラム
JP7127759B1 (ja) 薬品払出システム、調整システム、プログラム
WO2022219998A1 (ja) 薬品払出システム、調整システム、プログラム
WO2021205830A1 (ja) 薬品払出装置、表示制御装置、薬品払出プログラム
JP2022047180A (ja) 調剤支援システム、調剤支援プログラム
CN117203710A (zh) 一种药品配发系统、调整系统、程序
JP2019202118A (ja) 調剤支援システム、調剤支援方法、及び調剤支援プログラム
IES20090368A2 (en) Automated pill-dispensing machines

Legal Events

Date Code Title Description
ENP Entry into the national phase

Ref document number: 2020537026

Country of ref document: JP

Kind code of ref document: A

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20787620

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20787620

Country of ref document: EP

Kind code of ref document: A1