JPWO2019172173A1 - Chemical dispenser, control method, control program - Google Patents

Chemical dispenser, control method, control program Download PDF

Info

Publication number
JPWO2019172173A1
JPWO2019172173A1 JP2019536331A JP2019536331A JPWO2019172173A1 JP WO2019172173 A1 JPWO2019172173 A1 JP WO2019172173A1 JP 2019536331 A JP2019536331 A JP 2019536331A JP 2019536331 A JP2019536331 A JP 2019536331A JP WO2019172173 A1 JPWO2019172173 A1 JP WO2019172173A1
Authority
JP
Japan
Prior art keywords
drug
cassette
prescription data
information
variable cassette
Prior art date
Legal status (The legal status 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 status listed.)
Granted
Application number
JP2019536331A
Other languages
Japanese (ja)
Other versions
JP7441440B2 (en
JPWO2019172173A5 (en
Inventor
知侑 柴田
知侑 柴田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yuyama Manufacturing Co Ltd
Original Assignee
Yuyama Manufacturing Co Ltd
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 Yuyama Manufacturing Co Ltd filed Critical Yuyama Manufacturing Co Ltd
Publication of JPWO2019172173A1 publication Critical patent/JPWO2019172173A1/en
Publication of JPWO2019172173A5 publication Critical patent/JPWO2019172173A5/ja
Priority to JP2023037793A priority Critical patent/JP2023072012A/en
Application granted granted Critical
Publication of JP7441440B2 publication Critical patent/JP7441440B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • 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
    • 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
    • A61J1/00Containers specially adapted for medical or pharmaceutical purposes
    • A61J1/03Containers specially adapted for medical or pharmaceutical purposes for pills or tablets
    • 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
    • A61J3/00Devices or methods specially adapted for bringing pharmaceutical products into particular physical or administering forms
    • A61J3/10Devices or methods specially adapted for bringing pharmaceutical products into particular physical or administering forms into the form of compressed tablets
    • 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/0069Trays for holding or distributing medicines
    • 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/02Pill counting devices
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services
    • G06Q50/22Social work or social welfare, e.g. community support activities or counselling services
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07FCOIN-FREED OR LIKE APPARATUS
    • G07F17/00Coin-freed apparatus for hiring articles; Coin-freed facilities or services
    • G07F17/0092Coin-freed apparatus for hiring articles; Coin-freed facilities or services for assembling and dispensing of pharmaceutical articles
    • 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/20ICT 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 or administration of healthcare resources or facilities, e.g. managing hospital staff or surgery rooms
    • 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/60ICT 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 operation of medical equipment or devices
    • G16H40/63ICT 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 operation of medical equipment or devices for local operation
    • 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/60ICT 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 operation of medical equipment or devices
    • G16H40/67ICT 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 operation of medical equipment or devices for remote operation
    • 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
    • A61J2200/00General characteristics or adaptations
    • A61J2200/30Compliance analysis for taking medication
    • 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
    • A61J2200/00General characteristics or adaptations
    • A61J2200/70Device provided with specific sensor or indicating 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
    • A61J2205/00General identification or selection means

Landscapes

  • Health & Medical Sciences (AREA)
  • Engineering & Computer Science (AREA)
  • General Health & Medical Sciences (AREA)
  • Public Health (AREA)
  • Business, Economics & Management (AREA)
  • Primary Health Care (AREA)
  • Veterinary Medicine (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Animal Behavior & Ethology (AREA)
  • General Business, Economics & Management (AREA)
  • Epidemiology (AREA)
  • Medical Informatics (AREA)
  • Biomedical Technology (AREA)
  • Chemical & Material Sciences (AREA)
  • Medicinal Chemistry (AREA)
  • Pharmacology & Pharmacy (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Tourism & Hospitality (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Child & Adolescent Psychology (AREA)
  • Economics (AREA)
  • Human Resources & Organizations (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Theoretical Computer Science (AREA)
  • Medical Preparation Storing Or Oral Administration Devices (AREA)

Abstract

複数の処方データについて処方制御処理が連続的に実行される場合における可変カセット(41B)の利用効率を高めるため、薬品払出装置(4)は、任意の種類の薬品を払出可能な可変カセット(41B)と、前記可変カセット(41B)が着脱可能な装着部(42B)と、セットから前記複数の処方データに対応する薬品を払い出し可能な駆動制御部と、複数の処方データに基づいて当該複数の処方データに含まれる払出対象の薬品の薬品情報を前記可変カセット(41B)又は前記装着部(42B)に割り当て可能な割当処理部(511)と、前記割当処理部(511)によって前記可変カセット(41B)又は前記装着部(42B)に割り当てられた前記薬品情報に対応して予め設定された駆動条件に従って前記可変カセット(41B)を駆動させ、当該可変カセット(41B)から前記複数の処方データに対応する薬品を払い出し可能な駆動制御部(562)と、を備える。In order to improve the utilization efficiency of the variable cassette (41B) when the prescription control process is continuously executed for a plurality of prescription data, the drug dispensing device (4) is a variable cassette (41B) capable of dispensing any kind of drug. ), A mounting portion (42B) to which the variable cassette (41B) can be attached and detached, a drive control unit capable of dispensing chemicals corresponding to the plurality of prescription data from the set, and the plurality of prescription data based on the plurality of prescription data. An allocation processing unit (511) capable of assigning drug information of a drug to be dispensed included in prescription data to the variable cassette (41B) or the mounting unit (42B), and the variable cassette (511) by the allocation processing unit (511). The variable cassette (41B) is driven according to preset driving conditions corresponding to the drug information assigned to the mounting portion (42B) or the mounting portion (42B), and the variable cassette (41B) is converted into the plurality of prescription data. A drive control unit (562) capable of delivering the corresponding chemicals is provided.

Description

本発明は、薬品カセットに収容された薬品を払い出す薬品払出装置に関する。 The present invention relates to a chemical dispensing device that dispenses chemicals contained in a chemical cassette.

一般に、各種の薬品が収容される複数の薬品カセットを備え、処方データに基づいて薬品カセット各々から薬品を払い出し、その薬品を服用タイミングごとに分包することが可能な薬品払出装置が知られている(例えば特許文献1参照)。この種の薬品払出装置は、任意の薬品を払い出し可能な複数の可変カセットを備え、払出対象となる薬品の薬品情報を前記可変カセット各々に適宜割り当てて当該可変カセットから薬品を払い出すことがある。 In general, there is known a drug dispensing device that includes a plurality of drug cassettes that store various drugs, dispenses the drug from each drug cassette based on prescription data, and can package the drug at each time of administration. (See, for example, Patent Document 1). This type of chemical dispensing device includes a plurality of variable cassettes capable of dispensing arbitrary chemicals, and chemical information of the chemicals to be dispensed may be appropriately assigned to each of the variable cassettes to dispense the chemicals from the variable cassette. ..

特開2011−104077号公報JP 2011-104077

ところで、複数の処方データについて連続的に処方制御処理が実行される場合、処方データに対応する分包動作ごとに個別に薬品を可変カセットに割り当てて薬品の払い出しを行うと、可変カセットへの薬品の充填作業効率が悪くなることがある。 By the way, when the prescription control process is continuously executed for a plurality of prescription data, if the drug is individually assigned to the variable cassette for each packaging operation corresponding to the prescription data and the drug is dispensed, the drug to the variable cassette is dispensed. Filling work efficiency may deteriorate.

本発明の目的は、複数の処方データについて処方制御処理が連続的に実行される場合における可変カセットの利用効率を高めることが可能な薬品払出装置、制御方法、制御プログラムを提供することにある。 An object of the present invention is to provide a drug dispensing device, a control method, and a control program capable of increasing the utilization efficiency of a variable cassette when a prescription control process is continuously executed for a plurality of prescription data.

本発明に係る薬品払出装置は、任意の種類の薬品を払出可能な可変カセットと、前記可変カセットが着脱可能な装着部と、複数の処方データに基づいて当該複数の処方データに含まれる払出対象の薬品の薬品情報を前記可変カセット又は前記装着部に割り当て可能な割当処理部と、前記割当処理部によって前記可変カセット又は前記装着部に割り当てられた前記薬品情報に対応して予め設定された駆動条件に従って前記可変カセットを駆動させ、当該可変カセットから前記複数の処方データに対応する薬品を払い出し可能な駆動制御部と、を備える。 The drug dispensing device according to the present invention includes a variable cassette capable of dispensing any kind of drug, a mounting portion to which the variable cassette can be attached and detached, and a dispensing target included in the plurality of prescription data based on a plurality of prescription data. An allocation processing unit capable of assigning chemical information of the chemicals to the variable cassette or the mounting unit, and a preset drive corresponding to the chemical information assigned to the variable cassette or the mounting unit by the allocation processing unit. A drive control unit capable of driving the variable cassette according to conditions and discharging chemicals corresponding to the plurality of prescription data from the variable cassette is provided.

本発明に係る制御方法は、任意の種類の薬品を払出可能な可変カセットと、前記可変カセットが着脱可能な装着部と、を備える薬品払出装置の制御方法であって、複数の処方データに基づいて当該複数の処方データに含まれる払出対象の薬品の薬品情報を前記可変カセット又は前記装着部に割り当て可能な割当ステップと、前記割当ステップによって前記可変カセット又は前記装着部に割り当てられた前記薬品情報に対応して予め設定された駆動条件に従って前記可変カセットを駆動させ、当該可変カセットから前記複数の処方データに対応する薬品を払い出し可能な駆動ステップと、を含む。 The control method according to the present invention is a control method for a drug dispensing device including a variable cassette capable of dispensing any kind of drug and a mounting portion to which the variable cassette can be attached and detached, and is based on a plurality of prescription data. The drug information of the drug to be dispensed included in the plurality of prescription data can be assigned to the variable cassette or the mounting unit, and the drug information assigned to the variable cassette or the mounting unit by the allocation step. The variable cassette is driven according to a preset driving condition corresponding to the above, and a driving step capable of delivering chemicals corresponding to the plurality of prescription data from the variable cassette is included.

本発明に係る制御プログラムは、任意の種類の薬品を払出可能な可変カセットと、前記可変カセットが着脱可能な装着部と、を備える薬品払出装置の制御部に、複数の処方データに基づいて当該複数の処方データに含まれる払出対象の薬品の薬品情報を前記可変カセット又は前記装着部に割り当て可能な割当ステップと、前記割当ステップによって前記可変カセット又は前記装着部に割り当てられた前記薬品情報に対応して予め設定された駆動条件に従って前記可変カセットを駆動させ、当該可変カセットから前記複数の処方データに対応する薬品を払い出し可能な駆動ステップと、を実行させるための制御プログラムである。 The control program according to the present invention applies to a control unit of a drug dispensing device including a variable cassette capable of dispensing any kind of drug and a mounting portion to which the variable cassette can be attached and detached, based on a plurality of prescription data. Corresponds to the allocation step in which the drug information of the drug to be dispensed included in the plurality of prescription data can be assigned to the variable cassette or the mounting unit, and the drug information assigned to the variable cassette or the mounting unit by the allocation step. This is a control program for driving the variable cassette according to preset driving conditions and executing a driving step capable of delivering chemicals corresponding to the plurality of prescription data from the variable cassette.

本発明によれば、複数の処方データについて処方制御処理が連続的に実行される場合における可変カセットの利用効率を高めることが可能な薬品払出装置、制御方法、制御プログラムが提供される。 According to the present invention, there is provided a drug dispensing device, a control method, and a control program capable of increasing the utilization efficiency of a variable cassette when a prescription control process is continuously executed for a plurality of prescription data.

図1は、本発明の実施形態に係る薬品払出システムの構成を示す図である。FIG. 1 is a diagram showing a configuration of a chemical dispensing system according to an embodiment of the present invention. 図2は、本発明の実施形態に係る薬品払出装置の構成を示す図である。FIG. 2 is a diagram showing a configuration of a chemical dispensing device according to an embodiment of the present invention. 図3は、本発明の実施形態に係る薬品払出装置の外観図である。FIG. 3 is an external view of the chemical dispensing device according to the embodiment of the present invention. 図4は、本発明の実施形態に係る薬品払出装置の内部構成を示す模式図である。FIG. 4 is a schematic view showing the internal configuration of the chemical dispensing device according to the embodiment of the present invention. 図5は、本発明の実施形態に係る薬品払出装置の固定カセットの一例を示す図である。FIG. 5 is a diagram showing an example of a fixed cassette of the chemical dispensing device according to the embodiment of the present invention. 図6は、本発明の実施形態に係る薬品払出装置の可変カセットの一例を示す図である。FIG. 6 is a diagram showing an example of a variable cassette of the chemical dispensing device according to the embodiment of the present invention. 図7は、本発明の実施形態に係る薬品払出装置の可変カセットの一例を示す図である。FIG. 7 is a diagram showing an example of a variable cassette of the chemical dispensing device according to the embodiment of the present invention. 図8は、本発明の実施形態に係る薬品払出装置の可変カセットの一例を示す図である。FIG. 8 is a diagram showing an example of a variable cassette of the chemical dispensing device according to the embodiment of the present invention. 図9は、本発明の実施形態に係る薬品払出装置の可変カセットの装着部の一例を示す図である。FIG. 9 is a diagram showing an example of a mounting portion of a variable cassette of the chemical dispensing device according to the embodiment of the present invention. 図10は、本発明の実施形態に係る薬品払出装置の薬品パレットの一例を示す図である。FIG. 10 is a diagram showing an example of a chemical pallet of the chemical dispensing device according to the embodiment of the present invention. 図11は、本発明の実施形態に係る薬品払出装置における分包結果の一例を示す図である。FIG. 11 is a diagram showing an example of a packaging result in the drug dispensing device according to the embodiment of the present invention. 図12は、本発明の実施形態に係る薬品払出装置で実行される処方制御処理及び分包制御処理の一例を示すフローチャートである。FIG. 12 is a flowchart showing an example of a prescription control process and a package control process executed by the drug dispensing device according to the embodiment of the present invention. 図13は、本発明の実施形態に係る薬品払出システムで使用されるカセット割当情報の一例を示す図である。FIG. 13 is a diagram showing an example of cassette allocation information used in the drug dispensing system according to the embodiment of the present invention. 図14は、本発明の実施形態に係る薬品払出装置に入力される処方データの一例を示す図である。FIG. 14 is a diagram showing an example of prescription data input to the drug dispensing device according to the embodiment of the present invention. 図15は、本発明の実施形態に係る薬品払出システムで使用されるカセット割当情報の一例を示す図である。FIG. 15 is a diagram showing an example of cassette allocation information used in the drug dispensing system according to the embodiment of the present invention. 図16は、本発明の実施形態に係る薬品払出システムで使用される手撒き割当情報の一例を示す図である。FIG. 16 is a diagram showing an example of hand-made allocation information used in the drug dispensing system according to the embodiment of the present invention. 図17は、本発明の実施形態に係る薬品払出装置に入力される処方データの一例を示す図である。FIG. 17 is a diagram showing an example of prescription data input to the drug dispensing device according to the embodiment of the present invention. 図18は、本発明の実施形態に係る薬品払出装置に入力される処方データの一例を示す図である。FIG. 18 is a diagram showing an example of prescription data input to the drug dispensing device according to the embodiment of the present invention. 図19は、本発明の実施形態に係る薬品払出システムで使用される駆動対応情報の一例を示す図である。FIG. 19 is a diagram showing an example of drive correspondence information used in the drug dispensing system according to the embodiment of the present invention. 図20は、本発明の実施形態に係る薬品払出システムで表示される表示画面の一例を示す図である。FIG. 20 is a diagram showing an example of a display screen displayed by the drug dispensing system according to the embodiment of the present invention. 図21は、本発明の実施形態に係る薬品払出システムで表示される表示画面の一例を示す図である。FIG. 21 is a diagram showing an example of a display screen displayed by the drug dispensing system according to the embodiment of the present invention. 図22は、本発明の実施形態に係る薬品払出システムで表示される表示画面の一例を示す図である。FIG. 22 is a diagram showing an example of a display screen displayed by the drug dispensing system according to the embodiment of the present invention. 図23は、本発明の実施形態に係る薬品払出システムで表示される表示画面の一例を示す図である。FIG. 23 is a diagram showing an example of a display screen displayed by the drug dispensing system according to the embodiment of the present invention. 図24は、本発明の実施形態に係る薬品払出システムで実行される錠剤補充処理の一例を示すフローチャートである。FIG. 24 is a flowchart showing an example of a tablet replenishment process executed by the drug dispensing system according to the embodiment of the present invention. 図25Aは、本発明の実施形態に係る薬品払出システムで使用されるカセット割当情報の一例を示す図である。FIG. 25A is a diagram showing an example of cassette allocation information used in the drug dispensing system according to the embodiment of the present invention. 図25Bは、本発明の実施形態に係る薬品払出システムで使用されるカセットマスターの一例を示す図である。FIG. 25B is a diagram showing an example of a cassette master used in the drug dispensing system according to the embodiment of the present invention. 図26は、本発明の実施形態に係る薬品払出システムで実行される錠剤払出処理の一例を示すフローチャートである。FIG. 26 is a flowchart showing an example of a tablet dispensing process executed by the drug dispensing system according to the embodiment of the present invention.

以下添付図面を参照しながら、本発明の実施形態について説明し、本発明の理解に供する。なお、以下の実施形態は、本発明を具体化した一例であって、本発明の技術的範囲を限定する性格のものではない。また、下記の実施形態で説明する構成及び処理機能は取捨選択して任意に組み合わせることも可能である。 Hereinafter, embodiments of the present invention will be described with reference to the accompanying drawings for the purpose of understanding the present invention. The following embodiment is an example embodying the present invention, and does not limit the technical scope of the present invention. Further, the configurations and processing functions described in the following embodiments can be selected and arbitrarily combined.

[薬品払出システム1]
図1に示されるように、本発明の実施形態に係る薬品払出システム1は、サーバー2と、一又は複数の調剤機器3と、一又は複数の薬品払出装置4とを備える。前記サーバー2、前記調剤機器3、及び前記薬品払出装置4は、LAN又はインターネット等の通信網N1を介して無線又は有線で通信可能に接続される。
[Chemical dispensing system 1]
As shown in FIG. 1, the drug dispensing system 1 according to the embodiment of the present invention includes a server 2, one or more dispensing devices 3, and one or more drug dispensing devices 4. The server 2, the dispensing device 3, and the drug dispensing device 4 are wirelessly or wiredly connected via a communication network N1 such as a LAN or the Internet.

前記サーバー2には、前記サーバー2に処方データを入力する電子カルテシステム又は処方入力端末などの上位システム5が前記通信網N1を介して接続される。そして、前記サーバー2は、前記上位システム5から入力される処方データ、及び前記コード読取部27によって読み取られる処方データなどを前記調剤機器3及び前記薬品払出装置4に適宜振り分けて送信する。これにより、前記調剤機器3及び前記薬品払出装置4では、前記処方データに基づいて薬品を払い出す処理が実行されることになる。具体的に、前記薬品払出装置4は、少なくとも錠剤を払い出して分包可能な錠剤分包装置である。 A higher-level system 5 such as an electronic medical record system or a prescription input terminal for inputting prescription data into the server 2 is connected to the server 2 via the communication network N1. Then, the server 2 appropriately distributes and transmits the prescription data input from the higher-level system 5 and the prescription data read by the code reading unit 27 to the dispensing device 3 and the drug dispensing device 4. As a result, the dispensing device 3 and the drug dispensing device 4 execute the process of dispensing the drug based on the prescription data. Specifically, the drug dispensing device 4 is a tablet packaging device capable of dispensing at least tablets and packaging them.

例えば、前記処方データには、患者名、患者ID、入院・外来、病棟、担当医師、処方薬の薬品ID、薬品名、用量・用法などが含まれる。本実施形態における前記処方データは、1日分又は複数日分の処方薬のデータを含むものである。なお、前記調剤機器3及び前記薬品払出装置4が、前記サーバー2にアクセスして前記処方データを能動的に取得する構成であってもよい。また、前記サーバー2、前記調剤機器3、又は前記薬品払出装置4は、紙媒体である処方箋に記載される二次元コード等から当該処方箋に対応する処方データを読み取ること、又はユーザー操作による処方データの任意の入力を受け付けることが可能であってもよい。 For example, the prescription data includes a patient name, a patient ID, an inpatient / outpatient, a ward, a doctor in charge, a drug ID of a prescription drug, a drug name, a dose / usage, and the like. The prescription data in the present embodiment includes data for one day or a plurality of days of prescription drugs. The dispensing device 3 and the drug dispensing device 4 may be configured to access the server 2 and actively acquire the prescription data. Further, the server 2, the dispensing device 3, or the drug dispensing device 4 reads prescription data corresponding to the prescription from a two-dimensional code or the like described on the prescription, which is a paper medium, or prescription data by user operation. It may be possible to accept any input of.

前記調剤機器3は、処方データに基づいて薬品を調剤する際に用いられる機器である。例えば、前記調剤機器3には、散薬分包装置、水剤分注機、及びシート払出装置などが含まれる。前記散薬分包装置は、複数種類の散薬が収容された複数の散薬カセットを有しており、処方データに従って前記散薬カセットに収容されている散薬を自動的に所定量ずつ分包することが可能である。また、前記水剤分注機は、複数種類の水剤が収容された複数の薬瓶を有しており、処方データに従って前記薬瓶から必要量の水剤を払い出す。前記シート払出装置は、処方データに従って、予め薬品が包装されたPTPシート又はヒートシールが収容された複数のシートカセットから払い出す。 The dispensing device 3 is a device used when dispensing a drug based on prescription data. For example, the dispensing device 3 includes a powder dispensing device, a liquid dispensing device, a sheet dispensing device, and the like. The powder packaging device has a plurality of powder cassettes containing a plurality of types of powders, and can automatically package the powders contained in the powder cassette in predetermined amounts according to prescription data. Is. Further, the liquid medicine dispenser has a plurality of medicine bottles containing a plurality of kinds of liquid medicines, and dispenses a required amount of the liquid medicine from the medicine bottles according to prescription data. The sheet dispensing device dispenses from a PTP sheet in which chemicals are pre-packaged or a plurality of sheet cassettes containing a heat seal according to prescription data.

[薬品払出装置4]
続いて、図2〜図11を参照しつつ、薬品払出装置4について説明する。
[Chemical dispensing device 4]
Subsequently, the chemical dispensing device 4 will be described with reference to FIGS. 2 to 11.

図2及び図3に示すように、前記薬品払出装置4は、処方制御ユニット501、薬品供給ユニット502、分包制御ユニット503、及びバーコードリーダー504などを備える。前記処方制御ユニット501、前記薬品供給ユニット502、及び前記分包制御ユニット503は内部バスN2によって接続される。前記処方制御ユニット501及び前記バーコードリーダー504は、無線LAN又は近距離無線通信などの通信規格に従って無線通信可能である。 As shown in FIGS. 2 and 3, the drug dispensing device 4 includes a prescription control unit 501, a drug supply unit 502, a packaging control unit 503, a barcode reader 504, and the like. The prescription control unit 501, the drug supply unit 502, and the packaging control unit 503 are connected by an internal bus N2. The prescription control unit 501 and the barcode reader 504 can perform wireless communication according to a communication standard such as wireless LAN or short-range wireless communication.

そして、前記薬品払出装置4では、処方データに基づいて前記薬品供給ユニット502から薬品が払い出されると共に、その薬品が服用時期などの分包単位で前記分包ユニット45によって薬包に分包される分包動作が実行される。なお、本実施形態に係る前記薬品払出装置4では、前記処方制御ユニット501及び前記分包制御ユニット503が協働して前記分包動作を実現するための各種の処理を実行するが、単一の制御ユニットによって各種の処理が実行される構成であってもよい。 Then, in the drug dispensing device 4, the drug is dispensed from the drug supply unit 502 based on the prescription data, and the drug is packaged in the drug package by the packaging unit 45 in a packaging unit such as the time of administration. The packaging operation is executed. In the drug dispensing device 4 according to the present embodiment, the prescription control unit 501 and the packaging control unit 503 cooperate to execute various processes for realizing the packaging operation, but a single process. It may be configured in which various processes are executed by the control unit of.

[処方制御ユニット501]
前記処方制御ユニット501は、前記薬品払出装置4を統括的に制御するコンピュータである。図2及び図3に示すように、前記処方制御ユニット501は、制御部510、記憶部520、表示部530、操作部540、及び通信IF550等を備える。
[Prescription control unit 501]
The prescription control unit 501 is a computer that collectively controls the drug dispensing device 4. As shown in FIGS. 2 and 3, the prescription control unit 501 includes a control unit 510, a storage unit 520, a display unit 530, an operation unit 540, a communication IF 550, and the like.

前記制御部510は、CPU、RAM、ROM及びEEPROM(登録商標)などを有する制御手段である。前記制御部510は、前記ROM、前記EEPROM、又は前記記憶部520などの記憶手段に予め記憶された各種のプログラムに従った各種の処理を前記CPUによって実行する。なお、前記CPUは、各種の処理を実行するプロセッサーであり、前記RAM及び前記EEPROMは、前記CPUによって実行される各種の処理の一時記憶メモリー(作業領域)として利用される。なお、前記制御部510は、ASIC又はDSPなどを含む電気回路であってもよい。 The control unit 510 is a control means having a CPU, RAM, ROM, EEPROM (registered trademark), and the like. The control unit 510 executes various processes according to various programs stored in advance in a storage means such as the ROM, the EEPROM, or the storage unit 520 by the CPU. The CPU is a processor that executes various processes, and the RAM and the EEPROM are used as a temporary storage memory (working area) for various processes executed by the CPU. The control unit 510 may be an electric circuit including an ASIC, a DSP, or the like.

前記記憶部520は、各種のデータを記憶するHDD(HARD DISK DRIVE)又はSSD(Solid State Drive)などの不揮発性の記憶手段である。具体的に、前記記憶部520には、前記制御部510等のコンピュータに後述の処方制御処理(図12左側参照)を実行させるための制御プログラムが予め記憶されている。 The storage unit 520 is a non-volatile storage means such as an HDD (HARD DISK DRIVE) or an SSD (Solid State Drive) that stores various types of data. Specifically, the storage unit 520 stores in advance a control program for causing a computer such as the control unit 510 to execute a prescription control process (see the left side of FIG. 12) described later.

なお、前記制御プログラムは、例えばCD、DVD、又は半導体メモリーなどのコンピュータ読み取り可能な記録媒体に記録されており、不図示のディスクドライブなどの読取装置によって前記記録媒体から読み取られて前記記憶部520にインストールされる。本発明は、前記制御プログラムを記録したコンピュータ読み取り可能な前記記録媒体の発明として捉えることができる。 The control program is recorded on a computer-readable recording medium such as a CD, DVD, or semiconductor memory, and is read from the recording medium by a reading device such as a disk drive (not shown) to store the storage unit 520. Will be installed on. The present invention can be regarded as an invention of the computer-readable recording medium on which the control program is recorded.

具体的に、前記制御部510は、割当処理部511を含む。前記制御部510は、前記制御プログラムに従って各種の処理を実行することにより、前記割当処理部511として機能する。また、前記割当処理部511は電気回路として構成されたものであってもよい。 Specifically, the control unit 510 includes an allocation processing unit 511. The control unit 510 functions as the allocation processing unit 511 by executing various processes according to the control program. Further, the allocation processing unit 511 may be configured as an electric circuit.

前記割当処理部511は、複数の処方データに基づいて当該複数の処方データに含まれる払出対象の薬品の薬品情報を後述の可変カセット41B又は装着部42Bに割り当て可能である。なお、前記薬品情報は、薬品の種類を識別可能な情報である。より具体的に、前記割当処理部511は、前記複数の処方データの単位で、当該複数の処方データに含まれる払出対象の薬品の薬品情報を予め設定される割当規則に従って前記可変カセット41B又は前記装着部42Bに割り当てる。なお、前記割当規則については後述する。 The allocation processing unit 511 can allocate drug information of the drug to be paid out included in the plurality of prescription data to the variable cassette 41B or the mounting unit 42B described later based on the plurality of prescription data. The drug information is information that can identify the type of drug. More specifically, the allocation processing unit 511 sets the drug information of the drug to be paid out included in the plurality of prescription data in the unit of the plurality of prescription data, according to a preset allocation rule, the variable cassette 41B or the said. Assigned to the mounting unit 42B. The allocation rule will be described later.

また、前記記憶部520には、例えば患者マスター、薬局マスター、医薬品マスター、及びカセットマスター524(例えば図25B参照)などの各種のデータベースも記憶されている。なお、前記制御部510は、例えばCD、DVD、又は半導体メモリーなどの記録媒体から不図示のディスクドライブなどの読取装置によって読み取られたデータに基づいて、前記記憶部520に記憶されている前記各種のデータベースを更新することが可能である。また、前記制御部510は、前記操作部540に対するユーザー操作に応じて前記各種のデータベースの内容を変更することも可能である。 In addition, various databases such as a patient master, a pharmacy master, a drug master, and a cassette master 524 (see, for example, FIG. 25B) are also stored in the storage unit 520. The control unit 510 stores various types of data stored in the storage unit 520 based on data read from a recording medium such as a CD, DVD, or semiconductor memory by a reading device such as a disk drive (not shown). It is possible to update the database of. Further, the control unit 510 can change the contents of the various databases according to a user operation on the operation unit 540.

前記患者マスターには、患者ID、氏名、性別、年齢、既往歴、処方薬履歴、家族情報、診療科、病棟、及び病室などの患者に関する情報が含まれる。前記薬局マスターには、薬局名、薬剤師の氏名、薬剤師のIDなどの薬局に関する情報が含まれる。 The patient master includes information about the patient such as patient ID, name, gender, age, medical history, prescription drug history, family information, department, ward, and room. The pharmacy master contains information about the pharmacy, such as the name of the pharmacy, the name of the pharmacist, and the ID of the pharmacist.

前記医薬品マスターには、薬ID、薬品コード、薬品名、JANコード(又はRSSコード)、薬瓶コード、区分(剤形:散薬、錠剤、水剤、外用薬など)、薬品のサイズ(高さ及び幅)、比重、薬品種(普通薬、毒薬、麻薬、劇薬、抗精神薬、治療薬など)、配合変化、賦形薬品、注意事項などの医薬品各々に関する情報が含まれる。 The drug master includes drug ID, drug code, drug name, JAN code (or RSS code), drug bottle code, classification (dosage form: powder, tablet, liquid medicine, external medicine, etc.), drug size (height). And width), specific weight, drug type (ordinary drug, poisonous drug, narcotic, powerful drug, antipsychotic drug, therapeutic drug, etc.), formulation change, excipient, precautions, etc. Information on each drug is included.

前記カセットマスター524は、前記薬品供給ユニット502が備える後述の固定カセット41A各々を識別可能なカセット識別情報と、前記固定カセット41A各々が払い出し可能な薬品を識別可能な薬品情報との対応関係を示すマスター情報である。これにより、前記薬品払出装置4では、前記固定カセット41A各々から払い出し可能な薬品の種別を前記カセットマスター524に基づいて判断することが可能である。なお、前記カセットマスター524は、例えば前記薬品払出装置4の初期設定における前記操作部540のユーザー操作に応じて前記制御部510によって登録され、前記操作部540のユーザー操作に応じて適宜更新可能である。また、前記カセットマスター524に示される情報は、前記医薬品マスターの一つの項目として前記記憶部520に記憶されたものであってもよい。例えば、前記医薬品マスターに含まれる薬品情報各々について、対応する前記固定カセット41Aの有無、前記薬品情報に割り当てられた前記固定カセット41Aの前記カセット識別情報が記憶されることが考えられる。 The cassette master 524 shows a correspondence relationship between the cassette identification information that can identify each of the fixed cassettes 41A described later included in the chemical supply unit 502 and the chemical information that can identify the chemicals that can be dispensed by each of the fixed cassettes 41A. Master information. Thereby, in the chemical dispensing device 4, it is possible to determine the type of chemical that can be dispensed from each of the fixed cassettes 41A based on the cassette master 524. The cassette master 524 is registered by the control unit 510 according to the user operation of the operation unit 540 in the initial setting of the chemical dispensing device 4, and can be appropriately updated according to the user operation of the operation unit 540. is there. Further, the information shown in the cassette master 524 may be stored in the storage unit 520 as one item of the drug master. For example, it is conceivable that the presence / absence of the corresponding fixed cassette 41A and the cassette identification information of the fixed cassette 41A assigned to the drug information are stored for each drug information included in the drug master.

前記表示部530は、前記制御部510からの制御指示に従って各種の情報及び操作画面を表示する液晶モニター等の表示手段である。例えば、前記表示部530には、処方データの入力画面及び処方データの選択画面などの各種情報が表示される。 The display unit 530 is a display means such as a liquid crystal monitor that displays various information and operation screens according to a control instruction from the control unit 510. For example, the display unit 530 displays various information such as a prescription data input screen and a prescription data selection screen.

前記操作部540は、ユーザー操作を受け付ける操作ボタン、キーボード、マウス及びタッチパネル等の操作手段であり、ユーザー操作に対応する操作信号を前記制御部510に入力する。前記操作部540は、例えば前記表示部530に表示された前記入力画面における処方データの入力操作、前記選択画面における処方データの選択操作、及び前記処方データの分包開始を要求する処方データの発行操作などの各種操作入力を受け付ける。 The operation unit 540 is an operation means such as an operation button, a keyboard, a mouse, and a touch panel that accepts a user operation, and inputs an operation signal corresponding to the user operation to the control unit 510. The operation unit 540 is, for example, an operation of inputting prescription data on the input screen displayed on the display unit 530, an operation of selecting prescription data on the selection screen, and issuance of prescription data requesting the start of packaging of the prescription data. Accepts various operation inputs such as operations.

前記通信IF550は、前記薬品払出装置4をLAN等の通信網N1に接続するための通信インターフェースであって、前記通信網N1を介して接続された前記サーバー2との間でデータ通信を実行する。また、前記通信IF550は、前記バーコードリーダー504等の各種の無線通信機器との間で無線データ通信を行う無線通信モジュールなどの無線通信インターフェースも備えている。 The communication IF 550 is a communication interface for connecting the drug dispensing device 4 to a communication network N1 such as a LAN, and executes data communication with the server 2 connected via the communication network N1. .. The communication IF 550 also includes a wireless communication interface such as a wireless communication module that performs wireless data communication with various wireless communication devices such as the barcode reader 504.

そして、前記通信IF550は、前記制御部510によって制御され、前記サーバー2から処方データを取得し、前記処方データを前記記憶部520に記憶させる。例えば、前記通信IF550は、前記サーバー2に設けられた記憶部22の所定の記憶領域に処方データが新たに記憶されたか否かを監視しており、前記所定の記憶領域に前記処方データが新たに記憶された場合に前記処方データを前記所定の記憶領域から読み出す。もちろん、前記通信IF550は、前記サーバー2から適宜送信される前記処方データを受信することによって前記処方データを取得するものであってもよい。 Then, the communication IF 550 is controlled by the control unit 510, acquires prescription data from the server 2, and stores the prescription data in the storage unit 520. For example, the communication IF 550 monitors whether or not prescription data is newly stored in a predetermined storage area of the storage unit 22 provided in the server 2, and the prescription data is newly stored in the predetermined storage area. When stored in, the prescription data is read out from the predetermined storage area. Of course, the communication IF 550 may acquire the prescription data by receiving the prescription data appropriately transmitted from the server 2.

[薬品供給ユニット502]
図2〜図4に示すように、前記薬品供給ユニット502は、複数の薬品カセット41、複数の装着部42、手撒きユニット43、回転ユニット44、及び分包ユニット45などを備える。また、前記薬品供給ユニット502の前面扉4Aは開閉可能である。
[Chemical supply unit 502]
As shown in FIGS. 2 to 4, the chemical supply unit 502 includes a plurality of chemical cassettes 41, a plurality of mounting portions 42, a hand-spreading unit 43, a rotating unit 44, a packaging unit 45, and the like. Further, the front door 4A of the chemical supply unit 502 can be opened and closed.

複数の前記薬品カセット41には、予め定められた特定種類の薬品を1錠(単位量)ごとに払出可能な複数の固定カセット41Aと、駆動条件の変更により任意の種類の薬品を1錠(単位量)ごとに払出可能な複数の可変カセット41Bとが含まれる。前記固定カセット41A及び前記可変カセット41Bにより払出可能な薬品は、例えば円盤状、球状、又はカプセル状などの各種形態の錠剤である。なお、前記薬品供給ユニット502が、前記固定カセット41Aを有さず、複数の前記可変カセット41Bのみを有することも他の実施形態として考えられる。 In the plurality of chemical cassettes 41, a plurality of fixed cassettes 41A capable of dispensing a predetermined specific type of chemical for each tablet (unit amount), and one tablet of any type of chemical by changing the driving conditions ( A plurality of variable cassettes 41B that can be paid out for each unit amount) are included. The chemicals that can be dispensed by the fixed cassette 41A and the variable cassette 41B are tablets in various forms such as a disk shape, a spherical shape, or a capsule shape. As another embodiment, it is conceivable that the chemical supply unit 502 does not have the fixed cassette 41A but has only a plurality of the variable cassettes 41B.

また、複数の前記装着部42には、前記固定カセット41Aが着脱可能な複数の装着部42Aと、前記可変カセット41Bが装着可能な複数の装着部42Bとが含まれる。前記装着部42Aは、前記薬品払出装置4の内部に設けられており、ユーザーは、前記薬品払出装置4の前面扉4Aを開くことにより、前記固定カセット41Aを前記装着部42Aに着脱することが可能である。前記装着部42Bは、前記薬品払出装置4の前面に設けられており、ユーザーは、前記薬品払出装置4の前面扉4Aを開くことなく、前記可変カセット41Bを前記装着部42Bに着脱することが可能である。 Further, the plurality of mounting portions 42 include a plurality of mounting portions 42A to which the fixed cassette 41A can be attached and detached, and a plurality of mounting portions 42B to which the variable cassette 41B can be mounted. The mounting portion 42A is provided inside the chemical dispensing device 4, and the user can attach / detach the fixed cassette 41A to / from the mounting portion 42A by opening the front door 4A of the chemical dispensing device 4. It is possible. The mounting portion 42B is provided on the front surface of the chemical dispensing device 4, and the user can attach / detach the variable cassette 41B to / from the mounting portion 42B without opening the front door 4A of the chemical dispensing device 4. It is possible.

前記装着部42Aは、駆動モーター421及びRFIDリーダライタ422を備える。前記駆動モーター421は、前記分包制御ユニット500によって制御され、前記固定カセット41Aの駆動機構に駆動力を供給することにより、前記固定カセット41Aから薬品を払い出させる。前記RFIDリーダライタ422は、RFID(Radio Frequency Identification)の無線通信技術を利用して、前記固定カセット41Aに設けられるRFIDタグ(不図示)から情報を読み取ること、又は前記RFIDタグに情報を書き込むことが可能である。例えば、前記RFIDリーダライタ422は、前記固定カセット41AのRFIDから当該固定カセット41Aの識別情報を読み取るために用いられる。 The mounting portion 42A includes a drive motor 421 and an RFID reader / writer 422. The drive motor 421 is controlled by the packaging control unit 500, and supplies a driving force to the drive mechanism of the fixed cassette 41A to discharge chemicals from the fixed cassette 41A. The RFID reader / writer 422 uses RFID (Radio Frequency Identification) wireless communication technology to read information from an RFID tag (not shown) provided on the fixed cassette 41A, or to write information on the RFID tag. Is possible. For example, the RFID reader / writer 422 is used to read the identification information of the fixed cassette 41A from the RFID of the fixed cassette 41A.

前記装着部42Bは、駆動モーター423〜426及びRFIDリーダライタ427を備える。前記駆動モーター423〜426は、前記分包制御ユニット500によって制御され、前記可変カセット41Bの駆動機構に駆動力を供給することにより、前記可変カセット41Bから薬品を払い出させる。前記RFIDリーダライタ422は、RFID(Radio Frequency Identification)の無線通信技術を利用して、前記可変カセット41Bに設けられるRFID427A(図8参照)から情報を読み取ること、又は前記RFIDタグ427Aに情報を書き込むことが可能である。 The mounting portion 42B includes drive motors 423 to 426 and an RFID reader / writer 427. The drive motors 423 to 426 are controlled by the packaging control unit 500, and by supplying a driving force to the drive mechanism of the variable cassette 41B, chemicals are discharged from the variable cassette 41B. The RFID reader / writer 422 uses RFID (Radio Frequency Identification) wireless communication technology to read information from RFID 427A (see FIG. 8) provided in the variable cassette 41B, or write information to the RFID tag 427A. It is possible.

前記RFIDタグ427Aは、前記可変カセット41B各々を識別するためのカセット識別情報、及び後述の処方制御処理(図12左側参照)において前記可変カセット41Bに割り当てられる薬品の薬品情報などが記録される不揮発性の記録媒体である。前記薬品情報は、薬品の種類を識別可能な情報であって、例えば薬品名、薬ID、薬品コード、JANコード、RSSコード、QRコード(登録商標)などである。なお、前記JANコード及び前記RSSコードは、一次元コード(バーコード、GS1コード)で表現される数値又は文字の情報であり、前記QRコードは、二次元コードで示される数値又は文字の情報である。 The RFID tag 427A is a non-volatile device that records cassette identification information for identifying each of the variable cassettes 41B, chemical information of chemicals assigned to the variable cassette 41B in a prescription control process described later (see the left side of FIG. 12), and the like. It is a sex recording medium. The drug information is information that can identify the type of drug, such as a drug name, a drug ID, a drug code, a JAN code, an RSS code, and a QR code (registered trademark). The JAN code and the RSS code are numerical or character information represented by a one-dimensional code (bar code, GS1 code), and the QR code is numerical or character information represented by a two-dimensional code. is there.

[固定カセット41A]
ここで、図5を参照しつつ、前記固定カセット41Aの一例について説明する。なお、ここで説明する前記固定カセット41Aの構造は一例に過ぎず、同様の機能を有するものであれば他の構造であってもよい。なお、図5は、前記固定カセット41Aの上部を覆うカバー部材を省略した図である。
[Fixed cassette 41A]
Here, an example of the fixed cassette 41A will be described with reference to FIG. The structure of the fixed cassette 41A described here is only an example, and other structures may be used as long as they have the same functions. Note that FIG. 5 is a diagram in which the cover member covering the upper portion of the fixed cassette 41A is omitted.

なお、前記固定カセット41A各々では、収容される薬品の種類が予め定められているため、例えば前記固定カセット41A各々の前面には、前記固定カセット41Aに収容される薬品の薬品情報が予め記載される。 Since the type of chemicals contained in each of the fixed cassettes 41A is predetermined, for example, chemical information of the chemicals contained in the fixed cassette 41A is described in advance on the front surface of each of the fixed cassettes 41A. To.

図5に示すように、前記固定カセット41Aは、多数の薬品が収容される薬品収容部601、及び前記薬品収容部601に収容された薬品を個別に排出する薬品排出部602を備えている。前記薬品排出部602は、前記薬品収容部601の略中央部に形成された凹部に設けられており、前記薬品収容部601内の薬品は前記薬品排出部602に向けて順次下降する。 As shown in FIG. 5, the fixed cassette 41A includes a chemical storage unit 601 in which a large number of chemicals are stored, and a chemical discharge unit 602 in which the chemicals stored in the chemical storage unit 601 are individually discharged. The chemical discharge unit 602 is provided in a recess formed in a substantially central portion of the chemical storage unit 601, and the chemicals in the chemical storage unit 601 are sequentially lowered toward the chemical discharge unit 602.

前記薬品排出部602は、前記固定カセット41Aの筐体で回転可能に支持されたローター603と、前記ローター603の外周を覆う内壁603Aとを備えている。前記ローター603は、前記固定カセット41Aが前記装着部42Aに装着されたときに、各種のギアなどの駆動伝達系(不図示)を介して前記装着部42Aの前記駆動モーター421に連結される。また、前記ローター603の外周面には、予め定められた配置間隔でリブ604及びリブ605が形成されている。これにより、前記ローター603の外周には、前記リブ604、前記リブ605、及び前記内壁603Aによって囲まれた間隙606が間欠的に形成されている。前記間隙606の幅は、前記固定カセット41Aに収容される薬品として予め定められた薬品の種類に応じて定められており、前記薬品の1錠分の幅に相当する。 The chemical discharge unit 602 includes a rotor 603 rotatably supported by the housing of the fixed cassette 41A, and an inner wall 603A that covers the outer periphery of the rotor 603. When the fixed cassette 41A is mounted on the mounting portion 42A, the rotor 603 is connected to the drive motor 421 of the mounting portion 42A via a drive transmission system (not shown) such as various gears. Further, ribs 604 and ribs 605 are formed on the outer peripheral surface of the rotor 603 at predetermined arrangement intervals. As a result, a gap 606 surrounded by the rib 604, the rib 605, and the inner wall 603A is intermittently formed on the outer periphery of the rotor 603. The width of the gap 606 is determined according to a predetermined type of chemical as the chemical contained in the fixed cassette 41A, and corresponds to the width of one tablet of the chemical.

また、前記リブ604及び前記リブ605の間には前記ローター603の外周面全体に亘る間隙607が形成されている。ここで、前記リブ604及び前記リブ605各々の上端の高さは、前記固定カセット41Aに収容される薬品として予め定められた薬品の種類に応じて定められている。具体的に、図5に示す前記リブ604の上端の高さは前記薬品の3錠分の高さに相当するものであり、前記ローター603の前記間隙606各々には前記薬品が3錠ずつ挿入される。また、前記リブ605の上端の高さは、前記薬品の1錠分の高さに相当する。 Further, a gap 607 is formed between the ribs 604 and the ribs 605 over the entire outer peripheral surface of the rotor 603. Here, the heights of the upper ends of each of the ribs 604 and the ribs 605 are determined according to the type of chemicals predetermined as the chemicals contained in the fixed cassette 41A. Specifically, the height of the upper end of the rib 604 shown in FIG. 5 corresponds to the height of three tablets of the chemical, and three tablets of the chemical are inserted into each of the gaps 606 of the rotor 603. Will be done. Further, the height of the upper end of the rib 605 corresponds to the height of one tablet of the chemical.

一方、前記内壁603Aには、前記ローター603から薬品を排出するための排出口608が形成されており、前記排出口608には前記間隙607に挿入される仕切板609が設けられている。これにより、前記排出口608では、前記間隙606に挿入されている3錠の薬品のうち、上の2錠は前記仕切板609によって落下が規制され、下の1錠のみが排出される。従って、前記固定カセット41Aでは、前記駆動モーター421によって前記ローター603が駆動されることにより、前記薬品収容部601に収容された薬品が1錠単位で払い出される。 On the other hand, the inner wall 603A is formed with a discharge port 608 for discharging chemicals from the rotor 603, and the discharge port 608 is provided with a partition plate 609 inserted into the gap 607. As a result, at the discharge port 608, of the three chemicals inserted in the gap 606, the upper two tablets are restricted from falling by the partition plate 609, and only the lower one is discharged. Therefore, in the fixed cassette 41A, the rotor 603 is driven by the drive motor 421, so that the chemicals stored in the chemical storage unit 601 are discharged in units of one tablet.

[可変カセット41B]
次に、図6〜図9を参照しつつ、前記可変カセット41Bの一例について説明する。なお、前記可変カセット41Bは、例えば国際公開第2014/112221号公報などにも開示されている。また、ここで説明する前記可変カセット41Bの構造は一例に過ぎず、任意の種類の薬品を1錠ずつ払い出すことが可能なものであれば他の構造であってもよい。例えば、特表2010−535683号公報又は特開2010−115493号公報には、前記可変カセット41Bの他の例が開示されている。
[Variable cassette 41B]
Next, an example of the variable cassette 41B will be described with reference to FIGS. 6 to 9. The variable cassette 41B is also disclosed in, for example, International Publication No. 2014/11221. Further, the structure of the variable cassette 41B described here is only an example, and may have another structure as long as it is possible to dispense one tablet at a time of any kind of chemicals. For example, JP-A-2010-535683 or JP-A-2010-115493 discloses another example of the variable cassette 41B.

図6〜図8に示すように、前記可変カセット41Bは、多数の薬品が収容される薬品収容部701と、前記薬品収容部701から薬品を払い出す第1回転体702及び第2回転体703とを備えている。なお、図6〜図8は、前記可変カセット41Bの上部を覆うカバー部材を省略した図である。また、前記可変カセット41Bは、予め定められた単位量ごとに薬品を払い出すことが可能であればよく、例えば1錠単位ではなく複数錠ごとの払い出しが可能な構成であってもよい。 As shown in FIGS. 6 to 8, the variable cassette 41B has a chemical storage unit 701 that stores a large number of chemicals, and a first rotating body 702 and a second rotating body 703 that discharge chemicals from the chemical storage unit 701. And have. 6 to 8 are views in which the cover member covering the upper portion of the variable cassette 41B is omitted. Further, the variable cassette 41B may be configured as long as it is possible to dispense chemicals in predetermined unit amounts, and for example, the variable cassette 41B may be configured to be capable of dispensing not one tablet unit but a plurality of tablets.

前記第1回転体702は、前記薬品収容部701の底面を構成する円盤状の部材である。前記第1回転体702の回転軸は鉛直方向に対して予め定められた所定角度だけ傾斜しており、前記第1回転体702の上面が水平面に対して前記所定角度だけ傾斜している。また、前記第1回転体702の上面には放射状のリブ702Aが所定間隔ごとに形成されている。そして、前記第1回転体702は、前記可変カセット41Bの筐体によって回転可能に支持されており、図7及び図8に示す駆動ギア702Bに連結されている。 The first rotating body 702 is a disk-shaped member constituting the bottom surface of the chemical storage portion 701. The rotation axis of the first rotating body 702 is inclined by a predetermined angle with respect to the vertical direction, and the upper surface of the first rotating body 702 is inclined by the predetermined angle with respect to the horizontal plane. Further, radial ribs 702A are formed at predetermined intervals on the upper surface of the first rotating body 702. The first rotating body 702 is rotatably supported by the housing of the variable cassette 41B, and is connected to the drive gear 702B shown in FIGS. 7 and 8.

前記第2回転体703は、平面視で前記第1回転体702の周囲に配置された中空環状の部材であって、前記薬品収容部701の薬品を払出口704に搬送して前記払出口704から払い出す搬送部材の一例である。また、前記第1回転体702の上端部は、前記第2回転体703と同一水平面上に位置している。そして、前記第2回転体703は、前記可変カセット41Bの筐体によって回転可能に支持されており、図8に示す駆動ギア703Aが外周面に形成されている。 The second rotating body 703 is a hollow annular member arranged around the first rotating body 702 in a plan view, and conveys the chemicals of the chemical accommodating portion 701 to the payout outlet 704 to convey the chemicals to the payout outlet 704. This is an example of a transport member to be paid out from. Further, the upper end portion of the first rotating body 702 is located on the same horizontal plane as the second rotating body 703. The second rotating body 703 is rotatably supported by the housing of the variable cassette 41B, and the drive gear 703A shown in FIG. 8 is formed on the outer peripheral surface.

一方、図9に示すように、前記装着部42Bには、前記可変カセット41Bが装着されたときに前記第1回転体702の前記駆動ギア702Bに連結される駆動ギア801、及び前記第2回転体703の前記駆動ギア703Aに連結される駆動ギア802が設けられている。前記駆動ギア801は、前記装着部42Bの前記駆動モーター423に連結されており、前記駆動ギア802は、前記装着部42Bの前記駆動モーター424に連結されている。 On the other hand, as shown in FIG. 9, the mounting portion 42B has a drive gear 801 connected to the drive gear 702B of the first rotating body 702 when the variable cassette 41B is mounted, and the second rotation. A drive gear 802 connected to the drive gear 703A of the body 703 is provided. The drive gear 801 is connected to the drive motor 423 of the mounting portion 42B, and the drive gear 802 is connected to the drive motor 424 of the mounting portion 42B.

さらに、図6及び図7に示すように、前記可変カセット41Bは、前記第2回転体703により前記払出口704まで搬送される前記薬品の払出経路上に配置された高さ規制部材705及び幅規制部材706を備えている。 Further, as shown in FIGS. 6 and 7, the variable cassette 41B has a height regulating member 705 and a width arranged on the discharge path of the chemicals conveyed to the discharge outlet 704 by the second rotating body 703. The regulation member 706 is provided.

前記高さ規制部材705は、前記第2回転体703により前記払出口704まで搬送可能な薬品の高さ方向のサイズを規制し、前記幅規制部材706は、前記第2回転体703により前記払出口704まで搬送可能な薬品の幅方向のサイズを規制する。 The height regulating member 705 regulates the size of the chemicals that can be conveyed to the payout port 704 by the second rotating body 703 in the height direction, and the width regulating member 706 is paid by the second rotating body 703. Regulate the size of the chemical that can be transported to outlet 704 in the width direction.

そして、前記可変カセット41Bは、前記高さ規制部材705により規制される前記高さh1を変更するための高さ調整部705Aと、前記幅規制部材706により規制される前記幅w1を変更するための幅調整部706Aとを備える。前記幅調整部706Aの外周面には、前記幅規制部材706に形成された長穴706Bの内周面に形成されたラック(ギア)に噛合されたピニオンギアが形成されている。 Then, the variable cassette 41B is for changing the height adjusting portion 705A for changing the height h1 regulated by the height regulating member 705 and the width w1 regulated by the width regulating member 706. The width adjusting unit 706A of the above is provided. On the outer peripheral surface of the width adjusting portion 706A, a pinion gear meshed with a rack (gear) formed on the inner peripheral surface of the elongated hole 706B formed in the width regulating member 706 is formed.

前記高さ調整部705Aは、前記可変カセット41Bの筐体によって回転可能に支持されており、図8に示す駆動ギア705Bに連結されている。前記高さ調整部705Aは、回転駆動されることにより前記高さ規制部材705の下端部の位置を上下に移動させ、前記高さ規制部材705により規制される前記高さh1を変更する。 The height adjusting unit 705A is rotatably supported by the housing of the variable cassette 41B, and is connected to the drive gear 705B shown in FIG. The height adjusting unit 705A moves the position of the lower end portion of the height regulating member 705 up and down by being rotationally driven, and changes the height h1 regulated by the height regulating member 705.

前記幅調整部706Aは、前記可変カセット41Bの筐体によって回転可能に支持されており、図8に示す駆動ギア706Cに連結されている。前記幅調整部706Aは、回転駆動されることにより前記幅規制部材706の前記薬品収容部701側への突出量を変更し、前記幅規制部材706により規制される前記幅w1を変更する。具体的に、前記幅規制部材706の前記薬品収容部701側への突出量は、前記幅調整部706Aの回転により前記幅調整部706A及び前記長穴706B各々が矢印R3方向(図6参照)に相対的に移動することによって変更される。 The width adjusting portion 706A is rotatably supported by the housing of the variable cassette 41B, and is connected to the drive gear 706C shown in FIG. The width adjusting portion 706A changes the amount of protrusion of the width regulating member 706 toward the chemical accommodating portion 701 by being rotationally driven, and changes the width w1 regulated by the width regulating member 706. Specifically, the amount of protrusion of the width regulating member 706 toward the chemical accommodating portion 701 is such that the width adjusting portion 706A and the elongated hole 706B are respectively in the arrow R3 direction (see FIG. 6) due to the rotation of the width adjusting portion 706A. It is changed by moving relative to.

一方、図9に示すように、前記装着部42Bには、前記可変カセット41Bが装着されたときに前記駆動ギア705Bに連結される駆動ギア803、及び前記駆動ギア706Cに連結される駆動ギア804が設けられている。前記駆動ギア803は、前記装着部42Bの前記駆動モーター425に連結されており、前記駆動ギア804は、前記装着部42Bの前記駆動モーター426に連結されている。 On the other hand, as shown in FIG. 9, the mounting portion 42B has a drive gear 803 that is connected to the drive gear 705B when the variable cassette 41B is mounted, and a drive gear 804 that is connected to the drive gear 706C. Is provided. The drive gear 803 is connected to the drive motor 425 of the mounting portion 42B, and the drive gear 804 is connected to the drive motor 426 of the mounting portion 42B.

なお、図8及び図9に示すように、前記可変カセット41B及び前記装着部42Bは、前記可変カセット41Bが前記装着部42Bに装着されたときに連結される駆動ギア707A及び駆動ギア805を備える。前記駆動ギア707Aは、前記第1回転体702を上下方向に昇降させる不図示の昇降機構に連結されており、前記駆動ギア805は不図示の駆動モーターに連結されている。これにより、前記駆動モーターが駆動されると、前記駆動ギア805から前記駆動ギア707Aに駆動力が伝達され、前記昇降機構により前記第1回転体702が昇降可能である。 As shown in FIGS. 8 and 9, the variable cassette 41B and the mounting portion 42B include a drive gear 707A and a drive gear 805 that are connected when the variable cassette 41B is mounted on the mounting portion 42B. .. The drive gear 707A is connected to an elevating mechanism (not shown) that elevates the first rotating body 702 in the vertical direction, and the drive gear 805 is connected to a drive motor (not shown). As a result, when the drive motor is driven, a driving force is transmitted from the drive gear 805 to the drive gear 707A, and the first rotating body 702 can be moved up and down by the elevating mechanism.

そして、前記可変カセット41Bでは、前記第1回転体702が回転方向R1(図6及び図7参照)に回転されると、前記薬品収容部701の薬品が前記第1回転体702から前記第2回転体703に排出される。また、前記可変カセット41Bでは、前記第2回転体703が回転方向R2(図6及び図7参照)に回転されると、前記第2回転体703上の薬品が前記払出口704に向けて搬送される。 Then, in the variable cassette 41B, when the first rotating body 702 is rotated in the rotation direction R1 (see FIGS. 6 and 7), the chemicals in the chemical accommodating portion 701 are transferred from the first rotating body 702 to the second rotating body 702. It is discharged to the rotating body 703. Further, in the variable cassette 41B, when the second rotating body 703 is rotated in the rotation direction R2 (see FIGS. 6 and 7), the chemicals on the second rotating body 703 are conveyed toward the payout port 704. Will be done.

但し、前記第2回転体703により搬送される薬品のうち高さ方向に積み重なった薬品は前記高さ規制部材705に接触して前記薬品収容部701に戻される。また、前記第2回転体703により搬送される薬品のうち幅方向に並んで搬送されている薬品は前記幅規制部材706に接触して前記薬品収容部701に戻される。 However, among the chemicals conveyed by the second rotating body 703, the chemicals stacked in the height direction come into contact with the height regulating member 705 and are returned to the chemical accommodating portion 701. Further, among the chemicals conveyed by the second rotating body 703, the chemicals conveyed side by side in the width direction come into contact with the width regulating member 706 and are returned to the chemical accommodating portion 701.

これにより、前記可変カセット41Bでは、前記高さ規制部材705により規制される前記高さh1及び前記幅規制部材706により規制される前記幅w1に対応するサイズの薬品は、前記第2回転体703上の周方向に1錠ずつ並んだ状態で前記払出口704まで搬送される。そのため、前記可変カセット41Bでは、前記薬品収容部701に収容された薬品を1錠単位で払い出すことが可能であり、前記薬品の払出量を制御することが可能である。 As a result, in the variable cassette 41B, the chemical having a size corresponding to the height h1 regulated by the height regulating member 705 and the width w1 regulated by the width regulating member 706 is the second rotating body 703. The tablets are transported to the payout port 704 in a state of being lined up one by one in the upper circumferential direction. Therefore, in the variable cassette 41B, the chemicals stored in the chemical storage unit 701 can be dispensed in units of one tablet, and the discharge amount of the chemicals can be controlled.

このように、前記可変カセット41Bを用いれば、前記高さ規制部材705により規制される前記高さh1及び前記幅規制部材706により規制される前記幅w1が変更可能であるため、任意の種類の薬品を1錠単位で払い出すことが可能である。 As described above, when the variable cassette 41B is used, the height h1 regulated by the height regulating member 705 and the width w1 regulated by the width regulating member 706 can be changed, so that any kind of can be used. It is possible to pay out the medicine in units of one tablet.

また、前記可変カセット41B各々には、図6に示すように、表示内容が変更可能な表示部707が設けられている。ここに、前記表示部707は、通電により表示内容が書き込まれると、その後は無通電状態でも前記表示内容の表示が維持される電子ペーパーである。 Further, as shown in FIG. 6, each of the variable cassettes 41B is provided with a display unit 707 whose display contents can be changed. Here, the display unit 707 is an electronic paper in which when the display content is written by energization, the display of the display content is maintained even in the non-energized state thereafter.

[手撒きユニット43]
前記手撒きユニット43は、例えば1錠未満の半錠又は1/4錠などの錠剤のように前記薬品カセット41からの払い出しに適さない薬品の払い出しに用いられるものであり、前記薬品払出装置4に対して引き出し可能に設けられている。また、前記手撒きユニット43は、前記薬品カセット41に収容されていない薬品の払い出しに用いられる。
[Hand-spreading unit 43]
The hand-spreading unit 43 is used for dispensing chemicals that are not suitable for dispensing from the chemical cassette 41, such as tablets such as half tablets or 1/4 tablets of less than one tablet, and the chemical dispensing device 4 It is provided so that it can be pulled out. Further, the hand-spraying unit 43 is used for dispensing chemicals not contained in the chemical cassette 41.

前記手撒きユニット43は、薬品パレット431と当該薬品パレット431の下方に設けられる個別払出部432とを備える。なお、前記手撒きユニット43は、DTA(Detachable Tablet Adapter)とも称される。ここに、図10は、前記薬品パレット431を上方から見た平面模式図である。前記薬品パレット431は、マトリクス状(格子状)に設けられた複数のDTAセル431Aを含む。そして、前記DTAセル431A各々には、前記処方データに処方薬として含まれる薬品情報に対応する薬品が服用時期の単位で投入される。前記個別払出部432は、前記薬品パレット431に載置された薬品を前記DTAセル431Aの単位で順次払い出すことが可能である。なお、前記手撒きユニット43と同様に前記DTAセル431Aの単位で薬品を払出可能な手撒きユニットは、例えば特開2006−110386号公報に開示されている。 The hand-spreading unit 43 includes a chemical pallet 431 and an individual dispensing unit 432 provided below the chemical pallet 431. The hand-spraying unit 43 is also referred to as a DTA (Detatable Tablet Adapter). Here, FIG. 10 is a schematic plan view of the chemical pallet 431 as viewed from above. The chemical pallet 431 includes a plurality of DTA cells 431A provided in a matrix shape (lattice shape). Then, in each of the DTA cells 431A, a drug corresponding to the drug information included as a prescription drug in the prescription data is input in units of the time of administration. The individual dispensing unit 432 can sequentially dispense the chemicals placed on the chemical pallet 431 in units of the DTA cell 431A. Similar to the hand-spraying unit 43, a hand-spraying unit capable of delivering chemicals in units of the DTA cell 431A is disclosed in, for example, Japanese Patent Application Laid-Open No. 2006-110386.

例えば、前記薬品パレット431は、前記DTAセル431A各々の底面が開閉可能である。そして、前記薬品パレット431では、前記底面がモーター等の所定の駆動手段で前記DTAセル431A各々の底面が開かれることによって、当該DTAセル431A各々に投入されている薬品が前記個別払出部432に向けて落下する。 For example, the bottom surface of each of the DTA cells 431A of the chemical pallet 431 can be opened and closed. Then, in the chemical pallet 431, the bottom surface is opened by a predetermined driving means such as a motor to open the bottom surface of each of the DTA cells 431A, so that the chemicals charged into each of the DTA cells 431A are transferred to the individual dispensing unit 432. Fall towards.

前記個別払出部432は、前記薬品パレット431が前記薬品払出装置4に収容された状態で、当該薬品パレット431のDTAセル431A各々の下方の位置に対応する複数の払出用セルを備える。そして、前記個別払出部432は、前記払出用セル各々の底面を順に開閉可能な開閉機構を備えており、前記開閉機構によって前記払出用セル各々の底面が予め定められた特定の順番で開かれることによって前記払出用セル各々に投入されている薬品が当該払出用セルの単位で前記回転ユニット44に向けて順に払い出される。 The individual dispensing unit 432 includes a plurality of dispensing cells corresponding to positions below each of the DTA cells 431A of the chemical pallet 431 in a state where the chemical pallet 431 is housed in the chemical dispensing device 4. The individual payout unit 432 is provided with an opening / closing mechanism capable of opening and closing the bottom surfaces of the payout cells in order, and the opening / closing mechanism opens the bottom surfaces of the payout cells in a predetermined specific order. As a result, the chemicals charged into each of the payout cells are sequentially dispensed toward the rotary unit 44 in units of the payout cells.

[回転ユニット44]
前記回転ユニット44は、複数の薬品回転部441と、ユニット回転部442と、薬品排出部443とを備える。前記ユニット回転部442は、不図示の基台部により回転可能に支持されている。
[Rotating unit 44]
The rotating unit 44 includes a plurality of chemical rotating units 441, a unit rotating unit 442, and a chemical discharging unit 443. The unit rotating portion 442 is rotatably supported by a base portion (not shown).

前記薬品回転部441各々は、前記薬品カセット41又は前記手撒きユニット43から供給される1錠の薬品を回転させることにより前記薬品の姿勢を変位させることが可能である。前記ユニット回転部442には、6つの前記薬品回転部441が所定の回転軸回りに60°間隔で配置されており、前記ユニット回転部442は、前記薬品回転部441を前記所定の回転軸回りに回転させることが可能である。 Each of the chemical rotating portions 441 can displace the posture of the chemical by rotating one tablet of the chemical supplied from the chemical cassette 41 or the hand-spreading unit 43. In the unit rotating portion 442, six chemical rotating portions 441 are arranged around a predetermined rotating shaft at intervals of 60 °, and the unit rotating portion 442 rotates the chemical rotating portion 441 around the predetermined rotating shaft. It is possible to rotate to.

そして、前記薬品払出装置4では、前記薬品カセット41から払い出された1つの薬品が前記薬品回転部441に落下した後、又は前記手撒きユニット43から払い出された1つの薬品が前記薬品回転部441に落下した後、前記薬品回転部441は、前記薬品排出部443に対応する位置に向けて順に回転移動される。 Then, in the chemical dispensing device 4, one chemical discharged from the chemical cassette 41 drops onto the chemical rotating portion 441, or one chemical discharged from the hand-spreading unit 43 rotates the chemical. After falling to the section 441, the chemical rotating section 441 is sequentially rotated and moved toward the position corresponding to the chemical discharging section 443.

その後、前記薬品回転部441に載置された前記薬品は、前記薬品排出部443に対応する位置に移動した前記薬品回転部441から前記分包ユニット45に落下し、前記分包ユニット45内で薬包451に投入される。 After that, the chemical placed on the chemical rotating portion 441 falls from the chemical rotating portion 441 that has moved to a position corresponding to the chemical discharging portion 443 to the packaging unit 45, and is inside the packaging unit 45. It is put into the medicine package 451.

[分包ユニット45]
前記分包ユニット45は、前記薬品供給ユニット502の前記薬品カセット41及び前記手撒きユニット43の一方又は両方から供給された薬品を服用時期などの分包単位で一つの分包紙に収容する。なお、前記分包ユニット45は、透明又は半透明のロール状の薬包シート900により前記分包単位で薬品を包装して溶着等により封止して薬包451を形成する。これにより、前記分包単位で前記薬包451各々に薬品が収容された薬包シート900が前記分包ユニット45から排出される。ここに、図11は、前記分包ユニット45から排出される薬包シート900の一例を示す図である。図11に示すように、前記薬包シート900には、前記分包単位で複数の薬品が包装された複数の薬包451が連続して形成されており、前記薬包451各々の間には前記薬包451各々を容易に切り離すための切り取り点線452(ミシン目)が形成されている。
[Packing unit 45]
The packaging unit 45 accommodates the chemicals supplied from one or both of the chemical cassette 41 and the hand-spreading unit 43 of the chemical supply unit 502 in one packaging paper in units of packaging such as the time of administration. The packaging unit 45 forms a drug package 451 by packaging a drug in the package unit with a transparent or translucent roll-shaped drug package sheet 900 and sealing the drug by welding or the like. As a result, the medicine package sheet 900 in which the medicine is contained in each of the medicine packages 451 in the package unit is discharged from the package unit 45. Here, FIG. 11 is a diagram showing an example of the medicine packaging sheet 900 discharged from the packaging unit 45. As shown in FIG. 11, the medicine package sheet 900 is continuously formed with a plurality of medicine packages 451 in which a plurality of medicines are packaged in the package units, and between each of the medicine packages 451. A cut-out dotted line 452 (perforation) is formed so as to easily separate each of the medicine packages 451.

[分包制御ユニット503]
前記分包制御ユニット503は、図2に示すように、制御部560、記憶部570、及び操作表示部580を備え、前記薬品供給ユニット502を制御することにより前記薬品払出装置4に分包動作を実行させる。なお、前記分包制御ユニット503は、前記薬品払出装置4に内蔵されている。また、前記制御部510及び前記制御部560が一つの制御部として構成されていてもよい。
[Package control unit 503]
As shown in FIG. 2, the packaging control unit 503 includes a control unit 560, a storage unit 570, and an operation display unit 580, and controls the chemical supply unit 502 to perform packaging operation in the chemical dispensing device 4. To execute. The packaging control unit 503 is built in the chemical dispensing device 4. Further, the control unit 510 and the control unit 560 may be configured as one control unit.

前記制御部560は、CPU、RAM、ROM及びEEPROMなどを有する制御手段である。前記制御部560は、前記ROM、前記EEPROM、又は前記記憶部570などの記憶手段に予め記憶された各種のプログラムに従った各種の処理を前記CPUによって実行する。なお、前記RAM及び前記EEPROMは、前記CPUによって実行される各種の処理の一時記憶メモリー(作業領域)として利用される。なお、前記制御部560は、ASIC又はDSPなどの集積回路であってもよい。 The control unit 560 is a control means having a CPU, RAM, ROM, EEPROM, and the like. The control unit 560 executes various processes according to various programs stored in advance in a storage means such as the ROM, the EEPROM, or the storage unit 570 by the CPU. The RAM and EEPROM are used as temporary storage memories (working areas) for various processes executed by the CPU. The control unit 560 may be an integrated circuit such as an ASIC or DSP.

具体的に、前記制御部560は、表示処理部561及び駆動制御部562を含む。具体的に、前記制御部560は、前記制御プログラムに従って各種の処理を実行することにより、前記表示処理部561及び前記駆動制御部562として機能する。また、前記表示処理部561及び前記駆動制御部562は電気回路として構成されたものであってもよい。 Specifically, the control unit 560 includes a display processing unit 561 and a drive control unit 562. Specifically, the control unit 560 functions as the display processing unit 561 and the drive control unit 562 by executing various processes according to the control program. Further, the display processing unit 561 and the drive control unit 562 may be configured as an electric circuit.

前記表示処理部561は、ユーザーによる前記手撒きユニット43への薬品の投入を支援するための案内画面などを前記操作表示部580又は前記表示部530などの表示手段に表示させる。詳細は後述するが、例えば、前記案内画面では、前記処方データに処方薬として含まれる払出対象の薬品ごとに、前記手撒きユニット43に設けられるDTAセル431A各々に投入するべき錠数及び投入位置が表示される。なお、前記制御部510が、前記表示処理部561の機能を備えることも考えられ、この場合、前記案内画面は、前記制御部510によって前記表示部530又は前記操作表示部580などに表示される。 The display processing unit 561 causes a display means such as the operation display unit 580 or the display unit 530 to display a guidance screen or the like for assisting the user in charging the chemicals into the hand-spraying unit 43. Details will be described later, but for example, on the guidance screen, the number of tablets and the insertion position to be inserted into each of the DTA cells 431A provided in the hand-spreading unit 43 for each drug to be paid out included in the prescription data as a prescription drug. Is displayed. It is also conceivable that the control unit 510 has the function of the display processing unit 561, and in this case, the guidance screen is displayed on the display unit 530, the operation display unit 580, or the like by the control unit 510. ..

前記駆動制御部562は、前記割当処理部511によって前記可変カセット41B又は前記装着部42Bに割り当てられた前記薬品情報に対応して予め設定された駆動条件に従って前記可変カセット41Bを駆動させ、当該可変カセット41Bから前記複数の処方データに対応する薬品を払い出すための処理を実行する。なお、前記制御部510が、前記駆動制御部562の機能を備えていてもよい。 The drive control unit 562 drives the variable cassette 41B according to preset drive conditions corresponding to the chemical information assigned to the variable cassette 41B or the mounting unit 42B by the allocation processing unit 511, and the variable cassette 41B. A process for discharging the chemicals corresponding to the plurality of prescription data from the cassette 41B is executed. The control unit 510 may have the function of the drive control unit 562.

前記記憶部570は、各種のデータを記憶するHDD(HARD DISK DRIVE)又はSSD(Solid State Drive)などの記憶手段である。具体的に、前記記憶部570には、前記制御部560等のコンピュータに後述の分包制御処理(図12右側参照)を実行させるための制御プログラムが予め記憶されている。なお、前記制御プログラムは、例えばCD、DVD、又は半導体メモリーなどのコンピュータ読み取り可能な記録媒体に記録されており、不図示のディスクドライブなどの読取装置によって前記記録媒体から読み取られて前記記憶部520にインストールされる。本発明は、前記制御プログラムを記録したコンピュータ読み取り可能な前記記録媒体の発明として捉えることができる。 The storage unit 570 is a storage means such as an HDD (HARD DISK DRIVE) or an SSD (Solid State Drive) that stores various types of data. Specifically, the storage unit 570 stores in advance a control program for causing a computer such as the control unit 560 to execute a packaging control process (see the right side of FIG. 12) described later. The control program is recorded on a computer-readable recording medium such as a CD, DVD, or semiconductor memory, and is read from the recording medium by a reading device such as a disk drive (not shown) to store the storage unit 520. Will be installed on. The present invention can be regarded as an invention of the computer-readable recording medium on which the control program is recorded.

前記操作表示部580は、前記制御部510又は前記制御部560からの制御指示に従って各種の情報及び操作画面を表示する液晶モニターと、ユーザーのタッチ操作を受け付け可能なタッチパネルとを備える操作表示手段である。具体的に、前記操作表示部580は、前記手撒きユニット43への薬品の投入を案内するための前記案内画面の表示に用いられる。 The operation display unit 580 is an operation display means including a liquid crystal monitor that displays various information and operation screens according to control instructions from the control unit 510 or the control unit 560, and a touch panel that can accept a user's touch operation. is there. Specifically, the operation display unit 580 is used to display the guidance screen for guiding the charging of chemicals into the hand-spreading unit 43.

[バーコードリーダー504]
前記バーコードリーダー504は、薬局の薬品棚などに設けられた薬品の収容容器(箱、瓶など)又はPTPシートなどに記載されたJANコード、RSSコード、又はQRコードから薬品を識別するコードを読み取り可能である。また、前記バーコードリーダー504は、前記薬包451に印刷された前記処方識別情報を示す前記コード情報の読み取りにも用いられる。前記バーコードリーダー504により読み取られた情報は、前記バーコードリーダー504から無線通信により前記処方制御ユニット501に入力される。なお、前記バーコードリーダー504は、例えばPDA又はスマートフォンなどの携帯端末である。例えば、前記薬品払出装置4では、前記バーコードリーダー504が、前記処方データに含まれる処方薬と前記薬品棚などから取り出した薬品との照合に用いられる。
[Barcode reader 504]
The barcode reader 504 reads a code for identifying a drug from a JAN code, an RSS code, or a QR code written on a drug storage container (box, bottle, etc.) or a PTP sheet provided on a drug shelf of a pharmacy. It is readable. The barcode reader 504 is also used for reading the code information indicating the prescription identification information printed on the medicine package 451. The information read by the barcode reader 504 is input to the prescription control unit 501 by wireless communication from the barcode reader 504. The barcode reader 504 is a mobile terminal such as a PDA or a smartphone. For example, in the drug dispensing device 4, the barcode reader 504 is used for collating the prescription drug included in the prescription data with the drug taken out from the drug shelf or the like.

[処方制御処理及び分包制御処理]
以下、図12を参照しつつ、前記薬品払出装置4において、前記処方制御ユニット501の前記制御部510により実行される処方制御処理及び前記分包制御ユニット503の前記制御部560により実行される分包制御処理の手順の一例について説明する。なお、本発明は、前記制御部510及び前記560によって実行される前記薬品払出装置4の制御方法の発明として捉えることが可能である。なお、前記制御部510及び前記制御部560のいずれか一方により前記処方制御処理及び前記分包制御処理の処理結果と同様の処理結果が得られる一連の処理が実行されることも考えられる。
[Prescription control processing and packaging control processing]
Hereinafter, with reference to FIG. 12, in the drug dispensing device 4, the prescription control process executed by the control unit 510 of the prescription control unit 501 and the portion executed by the control unit 560 of the packaging control unit 503. An example of the procedure of the package control process will be described. The present invention can be regarded as an invention of a control method of the drug dispensing device 4 executed by the control unit 510 and the 560. It is also conceivable that either one of the control unit 510 and the control unit 560 executes a series of processes for obtaining the same process results as the process results of the prescription control process and the package control process.

<処方制御ユニット501側:ステップS1>
まず、ステップS1において、前記制御部510は、前記薬品払出装置4に入力されている前記処方データについて、予め設定された特定条件を満たす数の処方データを処理対象の処方データとして特定する。即ち、前記ステップS1では、複数の前記処方データが処理対象の処方データとして特定されることがある。以下、ここで特定された処方データを対象処方データと称することがある。
<Prescription control unit 501 side: step S1>
First, in step S1, the control unit 510 specifies a number of prescription data satisfying a preset specific condition as prescription data to be processed with respect to the prescription data input to the drug dispensing device 4. That is, in the step S1, a plurality of the prescription data may be specified as the prescription data to be processed. Hereinafter, the prescription data specified here may be referred to as a target prescription data.

なお、前記特定条件を満たす前記処方データが入力されていない場合、前記制御部510は、前記ステップS1で前記特定条件を満たす前記処方データの入力を待ち受けることが考えられる。但し、この場合でも、前記制御部510は、前記処方データの入力後から前記特定条件を満たすまでに予め設定された待機時間が経過した場合、又はユーザーによる締め操作が行われた場合には、前記特定条件が満たされたと判断することが考えられる。 If the prescription data satisfying the specific condition is not input, the control unit 510 may wait for the input of the prescription data satisfying the specific condition in step S1. However, even in this case, if the preset waiting time elapses from the input of the prescription data to the time when the specific condition is satisfied, or if the user performs the tightening operation, the control unit 510 may perform the tightening operation. It is conceivable to determine that the specific conditions are satisfied.

前記特定条件には、一又は複数の条件が含まれ、前記薬品払出装置4に入力されている前記処方データのうち、入力順又は処方時期が早い順で、前記条件のいずれかが満たされたと判断されるまでの一又は複数の前記処方データが前記対象処方データとして特定される。なお、前記制御部510は、一又は複数の前記条件各々の有効及び無効を予めユーザー操作に応じて設定可能である。 The specific condition includes one or a plurality of conditions, and among the prescription data input to the drug dispensing device 4, any of the above conditions is satisfied in the order of input or prescription time. One or more of the prescription data until the determination is specified as the target prescription data. In addition, the control unit 510 can set the validity and invalidity of each of the one or a plurality of the above conditions in advance according to the user operation.

具体的に、前記特定条件には、前記処方データの数が、当該処方データに処方薬として含まれる薬品を前記手撒きユニット43を用いて一回の投入作業で払い出すことが可能な数に達することが含まれることが考えられる。即ち、一又は複数の患者の前記処方データの分包数の合計が前記手撒きユニット43の薬品パレット431のDTAセル431Aの数以内に収まる数の前記処方データが前記対象処方データとして特定される。例えば、前記DTAセル431Aの数が63個である場合、1つの前記処方データが分3(朝、昼、夕)で1日分であれば、前記処方データごとに3個の前記DTAセル431Aを使用するため、最大で21の前記処方データが前記対象処方データとして特定される。また、使用する前記DTAセル431Aの数が不足する数の前記処方データが入力されている場合には、使用する前記DTAセル431Aの数が不足しない数の前記処方データが前記対象処方データとして特定される。例えば、前記DTAセル431Aの数が63個である場合、1つの前記処方データが分3(朝、昼、夕)で4日分であれば、前記処方データごとに12個の前記DTAセル431Aを使用するため、最大で5の前記処方データが前記対象処方データとして特定される。なお、前記処方データ各々において用法は異なる場合であっても、前記制御部510は、前記処方データ各々の用法に基づいて前記処方データの分包数の合計が前記手撒きユニット43の薬品パレット431のDTAセル431Aの数以内に収まる数の前記処方データを特定する。 Specifically, under the specific condition, the number of the prescription data is such that the drug contained as the prescription drug in the prescription data can be dispensed by using the hand-spreading unit 43 in one injection operation. It may include reaching. That is, the number of the prescription data in which the total number of packages of the prescription data of one or more patients is within the number of DTA cells 431A of the drug palette 431 of the hand-spreading unit 43 is specified as the target prescription data. .. For example, if the number of DTA cells 431A is 63 and one prescription data is 3 minutes (morning, noon, evening) for one day, 3 DTA cells 431A for each prescription data. Is used, a maximum of 21 of the prescription data is specified as the target prescription data. Further, when the prescription data in a sufficient number of the DTA cells 431A to be used is input, the prescription data in a sufficient number of the DTA cells 431A to be used are specified as the target prescription data. Will be done. For example, if the number of DTA cells 431A is 63 and one prescription data is 3 minutes (morning, noon, evening) for 4 days, 12 DTA cells 431A for each prescription data. Is used, a maximum of 5 of the prescription data is specified as the target prescription data. Even if the usage of each of the prescription data is different, the control unit 510 has the total number of packages of the prescription data based on the usage of each of the prescription data, which is the medicine palette 431 of the hand-spreading unit 43. Identify a number of the prescription data that fits within the number of DTA cells 431A.

なお、本実施形態では、後述のステップS2で前記対象処方データについて払出対象の薬品の種類を示す薬品情報として入力された全ての薬品情報に対応する前記固定カセット41Aが存在するか否かが判断される場合を例に挙げて説明する。一方、前記制御部510は、前記ステップS1において、前記対象処方データと前記カセットマスター524とに基づいて、前記薬品払出装置4に入力されている前記処方データに処方薬として含まれる薬品の薬品情報のうち、対応する前記固定カセット41Aが存在しない薬品情報を対象として前記特定条件が満たされるか否かを判断することも考えられる。具体的に、前記制御部510は、前記対象処方データに処方薬として含まれる薬品の薬品情報のうち、対応する前記固定カセット41Aが存在しない薬品情報を、前記手撒きユニット43に割り当てた場合に、一回の投入作業で払い出すことが可能な数の前記処方データを前記対象処方データとして特定することが考えられる。この場合、対応する前記固定カセット41Aが存在しない前記薬品情報を含む前記処方データが前記薬品払出装置4に入力されなければ、前記特定条件を満たすと判断されないことになる。また、前記薬品情報のうち、対応する前記固定カセット41Aが存在する場合であっても、当該固定カセット41Aの薬品残量が予め設定された閾値残量(0又は払出量)以下である薬品情報については、対応する前記固定カセット41Aが存在しない薬品情報と同様に扱われることが考えられる。なお、前記固定カセット41A各々における薬品残量は、例えば当該固定カセット41Aへの薬品充填時に入力される薬品量と、当該固定カセット41Aからの払出数とに基づいて算出されることが考えられる。 In the present embodiment, it is determined in step S2 described later whether or not the fixed cassette 41A corresponding to all the drug information input as the drug information indicating the type of the drug to be paid out exists in the target prescription data. This case will be described as an example. On the other hand, in step S1, the control unit 510 uses the drug information of the drug included as the prescription drug in the prescription data input to the drug dispensing device 4 based on the target prescription data and the cassette master 524. Among them, it is also conceivable to determine whether or not the specific condition is satisfied by targeting the drug information in which the corresponding fixed cassette 41A does not exist. Specifically, when the control unit 510 assigns the drug information of the drug included as the prescription drug in the target prescription data to the hand-spreading unit 43 in which the corresponding fixed cassette 41A does not exist. It is conceivable to specify the number of the prescription data that can be paid out in one input operation as the target prescription data. In this case, unless the prescription data including the drug information in which the corresponding fixed cassette 41A does not exist is input to the drug dispensing device 4, it is not determined that the specific condition is satisfied. Further, among the chemical information, even when the corresponding fixed cassette 41A exists, the chemical remaining amount of the fixed cassette 41A is equal to or less than a preset threshold remaining amount (0 or payout amount). Is considered to be treated in the same manner as the drug information in which the corresponding fixed cassette 41A does not exist. It is conceivable that the remaining amount of chemicals in each of the fixed cassettes 41A is calculated based on, for example, the amount of chemicals input when the fixed cassette 41A is filled with chemicals and the number of chemicals discharged from the fixed cassette 41A.

また、前記特定条件には、前記処方データに対応する患者の病棟が異なることが含まれることが考えられる。これにより、例えば前記薬品払出装置4に入力されている最初から3つ目までの前記処方データに対応する患者の病棟が「2F西」であり、4つ目の前記処方データに対応する患者の病棟が「3F東」であれば、3つ目までの前記処方データが前記対象処方データとして特定されることになる。 Further, it is considered that the specific condition includes that the ward of the patient corresponding to the prescription data is different. As a result, for example, the ward of the patient corresponding to the first to third prescription data input to the drug dispensing device 4 is "2F west", and the patient's ward corresponding to the fourth prescription data If the ward is "3F East", the third prescription data will be specified as the target prescription data.

その他、前記特定条件には、患者の担当医師が異なること、用法が異なること、外来・入院の種別が異なること、最初又は最後の前記処方データが入力されてから所定時間が経過すること、又は前記処方データの数が予め設定された最大数に達することなどが含まれていてもよい。また、前記制御部510は、ユーザー操作により任意に選択される一又は複数の前記処方データを前記対象処方データとして特定することも可能である。 In addition, the specific conditions include that the doctor in charge of the patient is different, the usage is different, the type of outpatient / hospitalization is different, the predetermined time has passed since the first or last prescription data was input, or It may include that the number of the prescription data reaches a preset maximum number and the like. Further, the control unit 510 can also specify one or a plurality of the prescription data arbitrarily selected by the user operation as the target prescription data.

<処方制御ユニット501側:ステップS2>
次に、ステップS2において、前記制御部510は、前記対象処方データについて払出対象の薬品の種類を示す薬品情報として入力された全ての薬品情報に対応する前記固定カセット41Aが存在するか否かを判断する。具体的に、前記制御部510は、前記記憶部520に記憶されている前記カセットマスター524に基づいて、対応する前記固定カセット41Aが存在しない薬品が処方薬として前記対象処方データに含まれているか否かを判断する。ここで、少なくとも1つの前記払出対象の薬品情報に対応する前記固定カセット41Aが存在しないと判断された場合(S2のNo側)、前記制御部510は処理をステップS3に移行させる。
<Prescription control unit 501 side: step S2>
Next, in step S2, the control unit 510 determines whether or not the fixed cassette 41A corresponding to all the drug information input as the drug information indicating the type of the drug to be paid out with respect to the target prescription data exists. to decide. Specifically, the control unit 510 includes, based on the cassette master 524 stored in the storage unit 520, a drug in which the corresponding fixed cassette 41A does not exist is included in the target prescription data as a prescription drug. Judge whether or not. Here, when it is determined that the fixed cassette 41A corresponding to at least one drug information to be paid out does not exist (No side of S2), the control unit 510 shifts the process to step S3.

一方、全ての前記払出対象の薬品情報に対応する前記固定カセット41Aが存在すると判断した場合(S2のYes側)、前記制御部510は処理をステップS8に移行させる。この場合、前記ステップS8では、前記固定カセット41A各々を用いる分包動作の開始要求が前記制御部560に送信され、前記制御部560により前記分包動作を実行するための処理が実行される。なお、前記薬品払出装置4が、前記固定カセット41Aを具備しない構成では、前記ステップS2の処理を省略し、前記制御部510が、前記ステップS1の後に処理をステップS3に移行させればよい。 On the other hand, when it is determined that the fixed cassette 41A corresponding to all the drug information to be paid out exists (Yes side of S2), the control unit 510 shifts the process to step S8. In this case, in step S8, a request to start a packaging operation using each of the fixed cassettes 41A is transmitted to the control unit 560, and the control unit 560 executes a process for executing the packaging operation. In a configuration in which the chemical dispensing device 4 does not include the fixed cassette 41A, the process of step S2 may be omitted, and the control unit 510 may shift the process to step S3 after step S1.

なお、前記薬品払出装置4では、前記制御部510が、ユーザー操作に応じて、前記可変カセット41Bのいずれか一又は複数を、前記固定カセット41Aと同様に予め設定された薬品の払い出しに用いる固定化カセットとして設定することが可能であることも考えられる。この場合、前記ステップS2では、全ての薬品情報に対応する前記固定カセット41A又は前記固定化カセットが存在するか否かが判断されることが考えられる。以下、前記可変カセット41Bのうち前記固定化カセットとして設定されたカセットを固定化カセット41Cと称することがある。 In the chemical dispensing device 4, the control unit 510 uses any one or more of the variable cassettes 41B for dispensing preset chemicals in the same manner as the fixed cassette 41A, in response to a user operation. It is also conceivable that it can be set as a conversion cassette. In this case, in step S2, it may be determined whether or not the fixed cassette 41A or the fixed cassette corresponding to all the drug information exists. Hereinafter, among the variable cassettes 41B, the cassette set as the fixed cassette may be referred to as a fixed cassette 41C.

また、前記制御部510は、前記ステップS1〜S2において、前記薬品払出装置4に入力されている前記処方データのうち、入力順又は処方時期が早い処方データから順に、対応する前記固定カセット41Aが存在しない薬品情報を前記手撒きユニット43に割り当てた場合に、前記手撒きユニット43を用いて一回の投入作業で払い出すことが可能な数の前記処方データを前記対象処方データとして特定することも他の実施形態として考えられる。 Further, in the control unit 510, in the steps S1 to S2, among the prescription data input to the drug dispensing device 4, the corresponding fixed cassette 41A is arranged in order from the input order or the prescription data with the earliest prescription time. When non-existent drug information is assigned to the hand-spraying unit 43, the number of the prescription data that can be paid out in one loading operation using the hand-spreading unit 43 is specified as the target prescription data. Can also be considered as another embodiment.

<処方制御ユニット501側:ステップS3>
ステップS3において、前記制御部510は、前記ステップS1で特定された一又は複数の対象処方データに基づいて、当該対象処方データに含まれる払出対象の薬品の薬品情報であって、対応する前記固定カセット41Aが存在しない薬品情報を、前記薬品情報が未だ割り当てられていない未割当の前記可変カセット41Bに割り当てる。即ち、前記ステップS1で複数の処方データが前記対象処方データとして特定された場合には、当該複数の対象処方データに基づいて当該複数の対象処方データに含まれる払出対象の薬品の薬品情報を前記可変カセット41Bに割り当てることが可能である。より具体的に、前記ステップS3では、前記複数の対象処方データの単位で、当該複数の処方データに払出対象の薬品の薬品情報が、予め設定される割当規則に従って前記可変カセット41Bに割り当てられる。なお、当該ステップS3の処理は、前記制御部510の前記割当処理部511によって実行される割当ステップの一例である。また、本実施形態では、前記可変カセット41Bに前記薬品情報が割り当てられる場合を例に挙げて説明するが、前記薬品情報が前記装着部42Bに割り当てられてもよい。なお、前記ステップS3の処理を換言すると、前記複数の処方データに払出対象として含まれる薬品のうち前記可変カセット41Bを利用して払い出す一又は複数の薬品が前記割当規則に従って特定され、当該薬品の払い出しに利用される前記可変カセット41B又は前記装着部42Bが選択されて対応付けられる。
<Prescription control unit 501 side: step S3>
In step S3, the control unit 510 is the drug information of the drug to be paid out included in the target prescription data based on the one or more target prescription data specified in step S1, and the corresponding fixed target drug. The drug information in which the cassette 41A does not exist is assigned to the unassigned variable cassette 41B to which the drug information has not yet been assigned. That is, when a plurality of prescription data is specified as the target prescription data in step S1, the drug information of the drug to be paid out included in the plurality of target prescription data is obtained based on the plurality of target prescription data. It can be assigned to the variable cassette 41B. More specifically, in step S3, drug information of the drug to be paid out is assigned to the variable cassette 41B in the unit of the plurality of target prescription data according to a preset allocation rule. The process of step S3 is an example of an allocation step executed by the allocation processing unit 511 of the control unit 510. Further, in the present embodiment, the case where the chemical information is assigned to the variable cassette 41B will be described as an example, but the chemical information may be assigned to the mounting portion 42B. In other words, among the chemicals included in the plurality of prescription data as the delivery target, one or a plurality of chemicals to be dispensed using the variable cassette 41B are specified according to the allocation rule, and the chemicals are said to be processed in step S3. The variable cassette 41B or the mounting portion 42B used for paying out the above is selected and associated with the variable cassette 41B.

前記記憶部520には、前記可変カセット41Bと前記薬品情報との割当状態を示すカセット割当情報521が記憶されており、前記ステップS3では、前記薬品情報の前記可変カセット41Bへの割り当て内容に応じて前記カセット割当情報521が更新される。図13に示すように、前記カセット割当情報521では、前記可変カセット41B各々に現在割り当てられている薬品の種類を示す薬品名称又は薬IDなどが薬品情報として記憶されている。また、前記カセット割当情報521には、前記薬品情報の払出合計も記憶される。なお、薬品コード、JANコード(又はRSSコード)などの薬品情報が前記薬品情報として前記カセット割当情報521に記憶されていてもよい。また、前記可変カセット41B各々には、カセット識別情報C1、C2、・・・が前記カセット識別情報として予め設定されているものとする。前記カセット識別情報は、前記可変カセット41B各々の前記RFIDタグ427Aにも記憶されている。なお、前記カセット割当情報521において、現在薬品情報が割り当てられていない前記可変カセット41Bには未割当である旨が記憶されている。具体的に、図13に示す前記カセット割当情報521では、前記可変カセット41Bのうちカセット識別情報「C1」、「C2」、「C3」、「C4」、「C8」には薬品名称「Drug M1」、「Drug M2」、「Drug M3」、「Drug M4」、「Drug M5」の薬品情報がそれぞれ割り当てられている。一方、カセット識別情報「C5」、「C6」、「C7」には、まだ薬品情報が割り当てられていない旨が「−」によって示されている。なお、図13に示す前記カセット割当情報521のデータ構造は単なる一例に過ぎず、前記カセット割当情報521は、例えば前記医薬品マスターの一つの項目として前記記憶部520に記憶されたものであってもよい。この場合、前記医薬品マスターに含まれる薬品各々に対応付けて、その薬品に割り当てられた前記可変カセット41Bの前記カセット識別情報が記憶される。 The storage unit 520 stores cassette allocation information 521 indicating an allocation state between the variable cassette 41B and the drug information, and in step S3, the drug information is assigned to the variable cassette 41B according to the content of the allocation. The cassette allocation information 521 is updated. As shown in FIG. 13, in the cassette allocation information 521, a drug name or a drug ID indicating the type of drug currently assigned to each of the variable cassettes 41B is stored as drug information. In addition, the total payout of the drug information is also stored in the cassette allocation information 521. The drug information such as the drug code and the JAN code (or RSS code) may be stored in the cassette allocation information 521 as the drug information. Further, it is assumed that cassette identification information C1, C2, ... Is preset as the cassette identification information in each of the variable cassettes 41B. The cassette identification information is also stored in the RFID tag 427A of each of the variable cassettes 41B. In the cassette allocation information 521, it is stored that the variable cassette 41B to which the drug information is not currently assigned is not allocated. Specifically, in the cassette allocation information 521 shown in FIG. 13, among the variable cassettes 41B, the cassette identification information “C1”, “C2”, “C3”, “C4”, and “C8” have the drug name “Drug M1”. , "Drug M2", "Drug M3", "Drug M4", "Drug M5" drug information is assigned, respectively. On the other hand, the cassette identification information "C5", "C6", and "C7" are indicated by "-" that the drug information has not yet been assigned. The data structure of the cassette allocation information 521 shown in FIG. 13 is merely an example, and even if the cassette allocation information 521 is stored in the storage unit 520 as one item of the drug master, for example. Good. In this case, the cassette identification information of the variable cassette 41B assigned to the drug is stored in association with each drug included in the drug master.

具体的に、前記割当規則には、複数の前記対象処方データに含まれる払出対象の薬品情報のうち当該複数の対象処方データにおける払出合計が多い薬品情報を優先して前記可変カセット41Bに割り当てる第1規則が含まれる。前記制御部510は、前記第1規則を最優先に判断し、当該第1規則に従って前記対象処方データに含まれる薬品情報を前記可変カセット41Bに割り当てる。換言すると、前記複数の対象処方データにおける払出合計が多い薬品が、前記可変カセット41Bを利用する薬品として優先して選択されることになる。 Specifically, in the allocation rule, among the drug information to be paid out included in the plurality of target prescription data, the drug information having the largest total payout in the plurality of target prescription data is preferentially assigned to the variable cassette 41B. One rule is included. The control unit 510 determines the first rule with the highest priority, and assigns the drug information included in the target prescription data to the variable cassette 41B in accordance with the first rule. In other words, the drug having a large total payout in the plurality of target prescription data is preferentially selected as the drug using the variable cassette 41B.

また、前記割当規則には、複数の前記対象処方データに含まれる払出対象の薬品情報のうち当該複数の対象処方データにおいて用法に従った服用時期単位の払い出し錠数が不均等である薬品情報を優先して前記可変カセット41Bに割り当てる第2規則が含まれる。前記制御部510は、前記第1規則に従って前記薬品情報を前記可変カセット41Bに順に割り当て、前記第1規則では割り当ての有無が判定できなくなった場合に、前記第2規則に従って前記可変カセット41Bに前記薬品情報を割り当てる。換言すると、前記複数の対象処方データにおいて用法に従って服用時期単位の払い出し錠数が不均等である薬品が、前記可変カセット41Bを利用する薬品として優先して選択されることになる。 Further, in the allocation rule, among the drug information to be paid out included in the plurality of target prescription data, the drug information in which the number of payout tablets for each dosing time unit according to the usage in the plurality of target prescription data is uneven. A second rule that is preferentially assigned to the variable cassette 41B is included. The control unit 510 allocates the drug information to the variable cassette 41B in order according to the first rule, and when the presence or absence of allocation cannot be determined by the first rule, the control unit 510 assigns the drug information to the variable cassette 41B according to the second rule. Assign drug information. In other words, in the plurality of target prescription data, a drug having an uneven number of tablets to be dispensed in units of dosage according to usage is preferentially selected as a drug using the variable cassette 41B.

また、前記割当規則には、複数の前記対象処方データに含まれる払出対象の薬品情報のうち当該複数の対象処方データにおける分包数が多い薬品情報を優先して前記可変カセット41Bに割り当てる第3規則が含まれる。前記制御部510は、前記第1規則、前記第2規則に従って前記薬品情報を前記可変カセット41Bに割り当て、前記第1規則、前記第2規則では割り当ての有無が判定できなくなった場合に、前記第3規則に従って前記可変カセット41Bに前記薬品情報を割り当てる。換言すると、前記複数の対象処方データにおける分包数が多い薬品が、前記可変カセット41Bを利用する薬品として優先して選択されることになる。即ち、前記制御部510は、前記第1規則、前記第2規則、前記第3規則の順で優先して前記可変カセット41Bへの割り当てを実行する。また、他の実施形態として、前記割当規則に、複数の前記対象処方データに含まれる払出対象の薬品情報のうち当該複数の対象処方データにおいて薬品コードの順で薬品情報を前記可変カセット41Bに割り当てる第4規則が含まれていてもよい。 Further, in the allocation rule, among the drug information to be paid out included in the plurality of target prescription data, the drug information having a large number of packages in the plurality of target prescription data is preferentially assigned to the variable cassette 41B. Contains rules. The control unit 510 allocates the drug information to the variable cassette 41B in accordance with the first rule and the second rule, and when the presence or absence of the allocation cannot be determined by the first rule and the second rule, the first rule. The drug information is assigned to the variable cassette 41B according to the three rules. In other words, the drug having a large number of packages in the plurality of target prescription data is preferentially selected as the drug using the variable cassette 41B. That is, the control unit 510 preferentially executes the allocation to the variable cassette 41B in the order of the first rule, the second rule, and the third rule. Further, as another embodiment, the drug information is assigned to the variable cassette 41B in the order of the drug code in the plurality of target prescription data among the drug information to be paid out included in the plurality of target prescription data in the allocation rule. The fourth rule may be included.

なお、他の実施形態として、前記第1規則、前記第2規則、及び前記第3規則のいずれか一つ又は二つの予め定められた規則に従って前記薬品情報の前記可変カセット41Bへの割り当てが行われてもよい。また、前記制御部510は、前記第1規則、前記第2規則、及び前記第3規則について、ユーザー操作に応じて、有効及び無効の切り替えが任意に設定可能であってもよい。また、前記制御部510は、前記第1規則、前記第2規則、及び前記第3規則の適用順番をユーザー操作に応じて任意に設定することも可能である。また、未割当の前記可変カセット41Bが存在する場合であって、前記割当規則に従えば前記薬品情報が前記可変カセット41Bに割り当てられる場合であっても、当該薬品情報のうち払出合計が予め設定された特定数以下である薬品情報については、前記可変カセット41Bに割り当てられないことも他の実施形態として考えられる。なお、前記医薬品マスターに、前記薬品情報各々が前記可変カセット41Bを利用可能であるか否かの情報が登録されていることも考えられ、この場合、前記可変カセット41Bの使用が可能でない前記薬品情報は、前記可変カセット41Bへの割り当て対象から除外される。 In addition, as another embodiment, the drug information is assigned to the variable cassette 41B according to one or two predetermined rules of the first rule, the second rule, and the third rule. You may be broken. Further, the control unit 510 may arbitrarily set whether to enable or disable the first rule, the second rule, and the third rule according to the user operation. Further, the control unit 510 can arbitrarily set the application order of the first rule, the second rule, and the third rule according to the user operation. Further, even when the variable cassette 41B that has not been allocated exists and the drug information is assigned to the variable cassette 41B according to the allocation rule, the total payout of the drug information is preset. As another embodiment, it is conceivable that the drug information that is less than or equal to the specified number is not assigned to the variable cassette 41B. It is also conceivable that information on whether or not the variable cassette 41B can be used is registered in the drug master, and in this case, the drug for which the variable cassette 41B cannot be used is registered. The information is excluded from the allocation target to the variable cassette 41B.

ここで、図14に示されるように、3人の患者に対応する3つの処方データが前記対象処方データとして特定された場合における前記割当条件に従った割当処理の結果について説明する。なお、ここで説明する前記処方データ各々は1日分の処方データであるとする。また、ここでは、前記可変カセット41Bのうちカセット識別情報「C5」〜「C7」の3つの前記可変カセット41Bが、未割当の状態であって現在薬品情報を割り当てることが可能なカセットであるとする。 Here, as shown in FIG. 14, the result of the allocation process according to the allocation condition when the three prescription data corresponding to the three patients are specified as the target prescription data will be described. It is assumed that each of the prescription data described here is the prescription data for one day. Further, here, it is assumed that the three variable cassettes 41B of the cassette identification information "C5" to "C7" among the variable cassettes 41B are cassettes that are in an unallocated state and can be currently assigned drug information. To do.

具体的に、図14に示される例において、IDが「001」の処方データでは、薬品名称が「Drug A」、「Drug B」、「Drug C」の薬品について、朝(morning)、昼(noon)、夕(evening)の3回、それぞれ2錠ずつ処方されている旨が示されている。即ち、IDが「001」の処方データでは、薬品各々の払出数が6錠である。同様に、IDが「002」の処方データでは、薬品名称が「Drug A」、「Drug D」の薬品について、朝、昼、夕の3回、それぞれ2錠ずつ処方されており、薬品名称が「Drug E」の薬品について、朝、昼、夕の3回、それぞれ1錠ずつ処方されている旨が示されている。また、IDが「003」の処方データでは、薬品名称が「Drug A」、「Drug B」、「Drug D」の薬品について、朝、昼、夕の3回、それぞれ2錠ずつ処方されている旨が示されている。 Specifically, in the example shown in FIG. 14, in the prescription data having the ID "001", the drugs having the drug names "Drug A", "Drug B", and "Drug C" are morning and noon (morning). It is shown that two tablets are prescribed for each of three times, noon) and evening (evening). That is, in the prescription data whose ID is "001", the number of each drug to be dispensed is 6 tablets. Similarly, in the prescription data with the ID "002", two tablets each of the drug names "Drug A" and "Drug D" are prescribed three times in the morning, noon, and evening, and the drug name is It is shown that one tablet of the "Drug E" drug is prescribed three times in the morning, noon, and evening. In addition, in the prescription data with the ID "003", two tablets of each of the drugs with the drug names "Drug A", "Drug B", and "Drug D" are prescribed three times in the morning, noon, and evening. It is shown to that effect.

この場合、3つの前記対象処方データにおける「Drug A」の払出合計は18錠、「Drug B」の払出合計は12錠、「Drug C」の払出合計は6錠、「Drug D」の払出合計は12錠、「Drug E」の払出合計は3錠である。従って、前記ステップS3では、図15に示されるように、前記第1規則に基づいて、払出合計が最も多い「Drug A」、次に払出合計が多い「Drug B」及び「Drug D」が、「C5」、「C6」、「C7」の前記可変カセット41Bにそれぞれ割り当てられ、前記カセット割当情報521が更新される。具体的に、前記カセット割当情報521では、カセット識別情報が「C5」、「C6」、「C7」の前記可変カセット41Bに、「Drug A」、「Drug B」、「Drug D」の薬品情報と、「18錠」、「12錠」、「12錠」の払出合計とがそれぞれ割り当てられている。即ち、3つの前記対象処方データについて、同じ種類の薬品については、同じ前記可変カセット41Bに割り当てが行われ、3つの前記対象処方データに基づく分包動作では、同じ前記可変カセット41Bから薬品が払い出されることになる。 In this case, the total payout of "Drug A" is 18 tablets, the total payout of "Drug B" is 12 tablets, the total payout of "Drug C" is 6 tablets, and the total payout of "Drug D" in the three target prescription data. Is 12 tablets, and the total payout of "Drug E" is 3 tablets. Therefore, in step S3, as shown in FIG. 15, based on the first rule, “Drug A” having the largest total payout, and “Drug B” and “Drug D” having the next highest total payout are added. The variable cassettes 41B of "C5", "C6", and "C7" are assigned to each, and the cassette allocation information 521 is updated. Specifically, in the cassette allocation information 521, the drug information of "Drug A", "Drug B", and "Drug D" is added to the variable cassette 41B whose cassette identification information is "C5", "C6", and "C7". And the total payout of "18 tablets", "12 tablets", and "12 tablets" are assigned respectively. That is, with respect to the three target prescription data, the same type of drug is assigned to the same variable cassette 41B, and in the packaging operation based on the three target prescription data, the drug is dispensed from the same variable cassette 41B. Will be.

一方、「Drug C」及び「Drug E」の薬品情報については、前記可変カセット41Bに割り当てられることなく、後述のステップS5において、前記手撒きユニット43に割り当てられることになる。具体的に、前記記憶部520には、前記手撒きユニット43の薬品パレット431のDTAセル431A各々と、当該DTAセル431Aに投入するべき薬品情報及び投入数との対応関係を示す手撒き割当情報523が記憶されている。そして、前記手撒き割当情報523は、前記薬品情報が手撒きユニット43に割り当てられる際に更新される。具体的には、図16に示されるように、前記手撒き割当情報523では、前記薬品パレット431のうち「1A」、「2A」、「3A」に対応する前記DTAセル431Aに「Drug C」が2錠ずつ割り当てられ、「4A」、「5A」、「6A」に対応する前記DTAセル431Aに「Drug E」が1錠ずつ割り当てられる。 On the other hand, the drug information of "Drug C" and "Drug E" is not assigned to the variable cassette 41B, but is assigned to the hand-spreading unit 43 in step S5 described later. Specifically, in the storage unit 520, the hand-spraying allocation information indicating the correspondence relationship between each of the DTA cells 431A of the drug pallet 431 of the hand-spreading unit 43, the drug information to be charged into the DTA cell 431A, and the number of drugs charged 523 is stored. Then, the hand-spraying allocation information 523 is updated when the drug information is assigned to the hand-spreading unit 43. Specifically, as shown in FIG. 16, in the hand-spraying allocation information 523, "Drug C" is added to the DTA cell 431A corresponding to "1A", "2A", and "3A" of the drug pallet 431. Is assigned to each of the two tablets, and one tablet of "Drug E" is assigned to the DTA cell 431A corresponding to "4A", "5A", and "6A".

続いて、図17及び図18に示される他の処方データが前記対象処方データとして特定された場合における割当結果の例について説明する。図17に示される例では、IDが「001」の処方データでは、薬品名称が「Drug A」、「Drug B」、「Drug C」の薬品について、朝、昼、夕の3回、それぞれ2錠ずつ処方されている旨が示されている。また、IDが「002」の処方データでは、薬品名称が「Drug A」の薬品については、朝、昼、夕の3回、それぞれ2錠ずつ処方されており、薬品名称が「Drug E」の薬品については、朝、昼、夕の3回、それぞれ1錠ずつ処方されている旨が示されている。さらに、IDが「002」の処方データでは、薬品名称が「Drug C」の薬品については、朝、昼の2回、それぞれ1錠ずつ処方されている旨が示されている。また、IDが「003」の処方データでは、薬品名称が「Drug A」、「Drug B」、「Drug D」の薬品について、朝、昼、夕の3回、それぞれ2錠ずつ処方されている旨が示されており、薬品名称が「Drug C」の薬品については、夕の1回に1錠処方されている旨が示されている。 Subsequently, an example of the allocation result when the other prescription data shown in FIGS. 17 and 18 is specified as the target prescription data will be described. In the example shown in FIG. 17, in the prescription data having the ID "001", the drugs having the drug names "Drug A", "Drug B", and "Drug C" are given 2 times each in the morning, noon, and evening. It is shown that tablets are prescribed one by one. In addition, in the prescription data with the ID "002", for the drug with the drug name "Drug A", two tablets are prescribed three times each in the morning, noon, and evening, and the drug name is "Drug E". It is indicated that one tablet of each drug is prescribed three times in the morning, noon, and evening. Furthermore, the prescription data with the ID "002" indicates that the drug with the drug name "Drug C" is prescribed one tablet each twice in the morning and noon. In addition, in the prescription data with the ID "003", two tablets each of the drug names "Drug A", "Drug B", and "Drug D" are prescribed three times in the morning, noon, and evening. It is indicated that one tablet of the drug with the drug name "Drug C" is prescribed at one time in the evening.

この場合、3つの前記対象処方データにおける「Drug A」の払出合計は18錠、「Drug B」の払出合計は12錠、「Drug C」の払出合計は6錠、「Drug D」の払出合計は6錠、「Drug E」の払出合計は3錠である。従って、前記第1規則に基づいて、払出合計が最も多い「Drug A」、次に払出合計が多い「Drug B」が前記可変カセット41Bに割り当てられる。一方、次に払出合計が多い「Drug C」及び「Drug D」については、払出合計が同じであり、前記第1規則では、「Drug C」又は「Drug D」のいずれか一方を前記可変カセット41Bに割り当てることができない。そのため、前記第2規則に従って、服用時期単位の払い出し錠数が不均等である「Drug C」が前記可変カセット41Bに割り当てられる。なお、「Drug E」については、前記可変カセット41Bに割り当てられることなく、前記手撒きユニット43に割り当てられる。 In this case, the total payout of "Drug A" is 18 tablets, the total payout of "Drug B" is 12 tablets, the total payout of "Drug C" is 6 tablets, and the total payout of "Drug D" in the three target prescription data. Is 6 tablets, and the total payout of "Drug E" is 3 tablets. Therefore, based on the first rule, "Drug A" having the largest total payout and "Drug B" having the next largest total payout are assigned to the variable cassette 41B. On the other hand, for "Drug C" and "Drug D" having the next largest total payout, the total payout is the same, and in the first rule, either "Drug C" or "Drug D" is used as the variable cassette. Cannot be assigned to 41B. Therefore, in accordance with the second rule, "Drug C" in which the number of payout tablets in units of administration is uneven is assigned to the variable cassette 41B. The "Drug E" is not assigned to the variable cassette 41B, but is assigned to the hand-spreading unit 43.

また、図18に示される例において、IDが「001」の処方データでは、薬品名称が「Drug A」の薬品、「Drug B」の薬品について、朝、昼、夕の3回、それぞれ2錠ずつ処方されている旨が示されている。さらに、IDが「001」の処方データでは、薬品名称が「Drug C」の薬品については、朝、昼、夕の3回、それぞれ1錠ずつ処方されている旨が示されている。同様に、IDが「002」の処方データでは、薬品名称が「Drug A」の薬品について、朝、昼、夕の3回、それぞれ2錠ずつ処方されており、薬品名称が「Drug C」、「Drug E」の薬品について、朝、昼、夕の3回、それぞれ1錠ずつ処方されている旨が示されている。また、IDが「003」の処方データでは、薬品名称が「Drug A」、「Drug B」、「Drug D」の薬品について、朝、昼、夕の3回、それぞれ2錠ずつ処方されている旨が示されている。 Further, in the example shown in FIG. 18, in the prescription data having the ID "001", two tablets each of the drug having the drug name "Drug A" and the drug having the drug name "Drug B" three times in the morning, noon, and evening. It is shown that they are prescribed one by one. Furthermore, the prescription data with the ID "001" indicates that the drug with the drug name "Drug C" is prescribed one tablet each three times in the morning, noon, and evening. Similarly, in the prescription data with the ID "002", two tablets of the drug with the drug name "Drug A" are prescribed three times in the morning, noon, and evening, and the drug name is "Drug C". It is shown that one tablet of the "Drug E" drug is prescribed three times in the morning, noon, and evening. In addition, in the prescription data with the ID "003", two tablets each of the drugs with the drug names "Drug A", "Drug B", and "Drug D" are prescribed three times in the morning, noon, and evening. It is shown to that effect.

この場合、3つの前記対象処方データにおける「Drug A」の払出合計は18錠、「Drug B」の払出合計は12錠、「Drug C」の払出合計は6錠、「Drug D」の払出合計は6錠、「Drug E」の払出合計は3錠である。従って、前記第1規則に基づいて、払出合計が最も多い「Drug A」、次に払出合計が多い「Drug B」が前記可変カセット41Bに割り当てられる。一方、次に払出合計が多い「Drug C」及び「Drug D」については、払出合計が同じであり、服用時期ごとの払い出し錠数も均等であり、前記第1規則及び前記第2規則では、「Drug C」又は「Drug D」のいずれか一方を前記可変カセット41Bに割り当てることができない。そのため、前記第3規則に従って、複数の対象処方データにおける分包数が多い「Drug C」が前記可変カセット41Bに割り当てられる。なお、「Drug E」については、前記可変カセット41Bに割り当てられることなく、前記手撒きユニット43に割り当てられる。 In this case, the total payout of "Drug A" is 18 tablets, the total payout of "Drug B" is 12 tablets, the total payout of "Drug C" is 6 tablets, and the total payout of "Drug D" in the three target prescription data. Is 6 tablets, and the total payout of "Drug E" is 3 tablets. Therefore, based on the first rule, "Drug A" having the largest total payout and "Drug B" having the next largest total payout are assigned to the variable cassette 41B. On the other hand, for "Drug C" and "Drug D", which have the next largest total payout, the total payout is the same, and the number of payout tablets at each time of administration is also the same. In the first rule and the second rule, Either "Drug C" or "Drug D" cannot be assigned to the variable cassette 41B. Therefore, according to the third rule, “Drug C” having a large number of packages in a plurality of target prescription data is assigned to the variable cassette 41B. The "Drug E" is not assigned to the variable cassette 41B, but is assigned to the hand-spreading unit 43.

<処方制御ユニット501側:ステップS4>
ステップS4において、前記制御部510は、前記ステップS3で前記可変カセット41Bに割り当てられた前記払出対象の薬品情報に対応する駆動条件と前記カセット割当情報521とを前記制御部560に送信する。これにより、前記制御部560は、前記駆動条件に従って前記可変カセット41Bを駆動させることが可能となる。また、前記制御部560は、前記カセット割当情報521に基づいて、前記可変カセット41Bと前記薬品情報及び払出合計との対応関係を把握することが可能である。なお、前記駆動条件は、当該駆動条件に対応する前記薬品情報と共に送信されるが、前記駆動条件が当該駆動条件で駆動させるべき前記可変カセット41Bのカセット識別情報と対応付けて送信されてもよい。
<Prescription control unit 501 side: step S4>
In step S4, the control unit 510 transmits to the control unit 560 the drive conditions corresponding to the drug information to be paid out and the cassette allocation information 521 assigned to the variable cassette 41B in step S3. As a result, the control unit 560 can drive the variable cassette 41B according to the driving conditions. Further, the control unit 560 can grasp the correspondence relationship between the variable cassette 41B, the drug information, and the total payout based on the cassette allocation information 521. The drive condition is transmitted together with the chemical information corresponding to the drive condition, but the drive condition may be transmitted in association with the cassette identification information of the variable cassette 41B to be driven under the drive condition. ..

具体的に、前記記憶部520には、前記薬品情報と前記可変カセット41Bの駆動条件との対応関係を示す駆動対応情報522が記憶されている。そして、前記制御部510は、予め設定された駆動対応情報522(図19参照)に基づいて、前記薬品情報に対応する前記駆動条件を特定する。ここに、図19は前記駆動対応情報522の一例を示す図である。 Specifically, the storage unit 520 stores drive correspondence information 522 indicating a correspondence relationship between the chemical information and the drive condition of the variable cassette 41B. Then, the control unit 510 specifies the drive condition corresponding to the drug information based on the drive correspondence information 522 (see FIG. 19) set in advance. Here, FIG. 19 is a diagram showing an example of the drive correspondence information 522.

図19に示すように、前記駆動対応情報522には、前記薬品情報ごとに対応して予め設定される駆動条件が記憶されている。前記駆動条件には、前記可変カセット41Bからの薬品の払い出しを開始する前の前記可変カセット41Bの調整に関する事前駆動条件、前記可変カセット41Bからの薬品の払い出し中の駆動制御に関する駆動中条件、及び前記可変カセット41Bからの薬品の払い出しを停止する際の駆動制御に関する駆動停止時条件の3種類の条件が含まれる。 As shown in FIG. 19, the drive correspondence information 522 stores the drive conditions set in advance corresponding to each of the chemical information. The drive conditions include a pre-drive condition for adjusting the variable cassette 41B before starting the discharge of the chemical from the variable cassette 41B, a driving condition for drive control during the discharge of the chemical from the variable cassette 41B, and a driving condition. Three types of conditions at the time of drive stop regarding drive control when stopping the discharge of chemicals from the variable cassette 41B are included.

具体的に、図19に示す前記駆動対応情報522の例では、薬品名称が「M1」、「M2」、「M3」、「M4」である薬品ごとに対応する前記駆動条件として、払出経路の高さ、払出経路の幅、払出速度、第1スローダウン、第2スローダウン、及び逆回転動作の各項目に関する情報が記憶されている。なお、前記駆動条件は一例に過ぎず、例えば前記可変カセット41Bが振動により薬品を1錠ごとに払い出すものである場合にはその振動の振動周波数又は振幅などが前記駆動条件として定められていることが考えられる。また、図19に示す前記駆動対応情報522のデータ構造は単なる一例に過ぎず、前記駆動対応情報522で定められた前記駆動条件は、例えば前記医薬品マスターの一つの項目として前記記憶部520に記憶されたものであってもよい。 Specifically, in the example of the drive correspondence information 522 shown in FIG. 19, the payout route is set as the drive condition corresponding to each chemical whose drug name is "M1", "M2", "M3", and "M4". Information on each item of height, payout path width, payout speed, first slowdown, second slowdown, and reverse rotation operation is stored. The driving condition is only an example. For example, when the variable cassette 41B dispenses chemicals for each tablet by vibration, the vibration frequency or amplitude of the vibration is defined as the driving condition. Is possible. Further, the data structure of the drive correspondence information 522 shown in FIG. 19 is merely an example, and the drive condition defined in the drive correspondence information 522 is stored in the storage unit 520 as, for example, one item of the drug master. It may be the one that has been done.

前記払出経路の高さ及び前記払出経路の幅は、前記事前駆動条件の一例であって、前記可変カセット41Bの前記第2回転体703により薬品を1錠ずつ前記払出口704から払い出すことが可能な値として予め設定された前記高さh1及び前記幅w1(図7参照)の値である。 The height of the payout path and the width of the payout path are examples of the pre-driving conditions, and the chemicals are dispensed one by one from the payout outlet 704 by the second rotating body 703 of the variable cassette 41B. These are the values of the height h1 and the width w1 (see FIG. 7) that are preset as possible values.

前記払出速度は、前記駆動中条件の一例であって、前記可変カセット41Bから薬品を払い出す際の前記第2回転体703の回転速度として薬品情報ごとに適した回転速度である。例えば、前記薬品のサイズが小さければ、前記駆動モーター424の回転速度が速い場合、前記駆動モーター424が停止するまでの間に前記薬品が余分に払い出されやすい。一方、前記薬品のサイズが大きければ、前記駆動モーター424の回転速度が速くても、前記駆動モーター424が停止するまでの間に前記薬品が余分に払い出されない。そのため、例えば前記駆動条件として設定されている薬品の払出速度、即ち前記第2回転体703による薬品の搬送速度が前記薬品のサイズによって異なることが考えられる。具体的には、前記薬品のサイズが大きい場合の前記払出速度は前記薬品のサイズが小さい場合の前記払出速度に比べて遅い値に設定されていることが考えられる。 The payout speed is an example of the driving condition, and is a rotation speed suitable for each chemical information as the rotation speed of the second rotating body 703 when the chemicals are dispensed from the variable cassette 41B. For example, if the size of the chemical is small, if the rotation speed of the drive motor 424 is high, the chemical is likely to be discharged in excess until the drive motor 424 is stopped. On the other hand, if the size of the chemical is large, even if the rotation speed of the drive motor 424 is high, the chemical is not discharged in excess until the drive motor 424 is stopped. Therefore, for example, it is conceivable that the chemical dispensing speed set as the driving condition, that is, the chemical transport speed by the second rotating body 703 differs depending on the size of the chemical. Specifically, it is conceivable that the dispensing speed when the size of the chemical is large is set to a value slower than the dispensing speed when the size of the chemical is small.

前記第1スローダウン及び前記第2スローダウンは、前記駆動停止時条件の一例であって、前記可変カセット41Bからの薬品の払い出しを停止する際に前記第2回転体703の回転速度を徐々に減速するスローダウンの実行タイミングに関する情報である。 The first slowdown and the second slowdown are examples of the drive stop condition, and the rotation speed of the second rotating body 703 is gradually increased when the dispensing of chemicals from the variable cassette 41B is stopped. Information about the execution timing of slowdown to decelerate.

また、前記逆回転動作の項目は、前記駆動停止時条件の一例であって、前記可変カセット41Bからの薬品の払い出しを停止する際に前記第2回転体703による薬品の搬送方向を逆方向に切り替える逆回転動作の実行の有無に関する情報である。 Further, the item of the reverse rotation operation is an example of the drive stop condition, and when the discharge of the chemical from the variable cassette 41B is stopped, the transport direction of the chemical by the second rotating body 703 is reversed. This is information regarding whether or not the reverse rotation operation for switching is executed.

<分包制御ユニット503側:ステップS11>
一方、前記分包制御ユニット503では、前記制御部560が、ステップS11において、前記制御部510からの前記駆動条件の受信の有無を判断する。ここで、前記制御部560は、前記駆動条件が受信された場合には(S11のYes側)、処理をステップS12に移行させ、前記駆動条件が受信されていない間は(S11のNo側)、処理をステップS13に移行させる。なお、前記制御部560は、前記制御部510から受信した前記駆動条件を、当該駆動条件に対応する前記薬品情報が割り当てられた前記可変カセット41Bのカセット識別情報と対応付けて前記記憶部570に記憶する。また、前記制御部560は、前記制御部510から前記駆動条件と共に受信する前記カセット割当情報521を前記記憶部570に記憶させる。
<Package control unit 503 side: step S11>
On the other hand, in the packaging control unit 503, the control unit 560 determines in step S11 whether or not the drive condition is received from the control unit 510. Here, when the drive condition is received (Yes side of S11), the control unit 560 shifts the process to step S12, and while the drive condition is not received (No side of S11). , The process shifts to step S13. The control unit 560 associates the drive condition received from the control unit 510 with the cassette identification information of the variable cassette 41B to which the chemical information corresponding to the drive condition is assigned to the storage unit 570. Remember. Further, the control unit 560 stores the cassette allocation information 521 received from the control unit 510 together with the drive conditions in the storage unit 570.

<分包制御ユニット503側:ステップS12>
ステップS12において、前記制御部560は、前記駆動条件と共に受信した前記カセット識別情報に対応する前記可変カセット41Bを、前記駆動条件のうち前記事前駆動条件に従って駆動させ、前記払出経路の高さh1及び前記払出経路の幅w1を変更する。このように、前記薬品払出装置4では、前記駆動条件に前記事前駆動条件が含まれている場合、前記制御部560が、前記事前駆動条件(払出経路の高さh1及び幅w1)に従って前記可変カセット41Bを駆動させて当該可変カセット41Bから薬品を払い出させ、服用時期ごとに薬包451に分包する分包動作を実行することになる(S16)。
<Package control unit 503 side: step S12>
In step S12, the control unit 560 drives the variable cassette 41B corresponding to the cassette identification information received together with the drive condition according to the pre-drive condition among the drive conditions, and the height h1 of the payout path. And the width w1 of the payout route is changed. As described above, in the chemical dispensing device 4, when the driving condition includes the pre-driving condition, the control unit 560 follows the pre-driving condition (height h1 and width w1 of the dispensing path). The variable cassette 41B is driven to discharge the drug from the variable cassette 41B, and the packaging operation of packaging into the drug package 451 at each time of administration is executed (S16).

具体的に、前記制御部560は、前記駆動条件に従って前記高さ調整部705A及び前記幅調整部706Aを制御することにより、前記可変カセット41Bから1錠単位で払出可能な薬品の種類を前記ステップS3で割り当てられた前記薬品情報が示す薬品に変更する。まず、前記制御部560は、前記駆動モーター425及び前記駆動モーター426を駆動させることにより前記高さ規制部材705及び前記幅規制部材706の位置を初期状態に戻す。そして、前記制御部560は、前記駆動モーター425により前記高さ調整部705Aを駆動させ、前記可変カセット41Bの前記高さ規制部材705により規制される前記高さh1を、前記駆動条件で定められた前記払出経路の高さに変更する。また、前記制御部560は、前記駆動モーター426により前記幅調整部706Aを駆動させ、前記可変カセット41Bの前記幅規制部材706により規制される前記幅w1を、前記駆動条件で定められた前記払出経路の幅に変更する。もちろん、前記高さ規制部材705及び前記幅規制部材706の現在の状態が検出可能な構成であれば、最初に前記初期状態に戻されなくてもよい。 Specifically, the control unit 560 controls the height adjusting unit 705A and the width adjusting unit 706A according to the driving conditions to determine the types of chemicals that can be dispensed from the variable cassette 41B in units of one tablet. Change to the drug indicated by the drug information assigned in S3. First, the control unit 560 returns the positions of the height regulating member 705 and the width regulating member 706 to the initial state by driving the drive motor 425 and the drive motor 426. Then, the control unit 560 drives the height adjusting unit 705A by the drive motor 425, and the height h1 regulated by the height regulating member 705 of the variable cassette 41B is determined by the driving conditions. Change to the height of the payout route. Further, the control unit 560 drives the width adjusting unit 706A by the drive motor 426, and pays out the width w1 regulated by the width regulating member 706 of the variable cassette 41B as defined by the driving conditions. Change to the width of the route. Of course, if the current state of the height regulating member 705 and the width regulating member 706 can be detected, it is not necessary to first return to the initial state.

このように前記駆動条件に従って前記払出経路の高さh1及び幅w1が変更されると、前記可変カセット41Bでは、前記ステップS3で割り当てられた前記薬品情報が示す薬品を1錠単位で払い出すことが可能となり、前記薬品の払出量が制御可能となる。 When the height h1 and the width w1 of the payout path are changed in accordance with the drive conditions in this way, the variable cassette 41B dispenses the chemicals indicated by the chemical information assigned in step S3 in units of one tablet. The amount of the chemicals to be dispensed can be controlled.

また、前記駆動条件に前記事前駆動条件が含まれておらず、前記可変カセット41Bの前記高さ調整部705A及び前記幅調整部706Aを手動で作動させて前記払出経路の高さh1及び幅w1を任意に調整することが可能な構成も他の実施形態として考えられる。 Further, the drive conditions do not include the pre-drive conditions, and the height adjustment unit 705A and the width adjustment unit 706A of the variable cassette 41B are manually operated to manually operate the height h1 and the width of the payout path. A configuration in which w1 can be arbitrarily adjusted is also considered as another embodiment.

また、ステップS4において、前記制御部510は、前記ステップS3で薬品情報が割り当てられた前記可変カセット41Bの前記表示部707に、前記可変カセット41Bに割り当てられた薬品情報と当該薬品情報の払出合計とを前記カセット割当情報521に基づいて表示させる。なお、前記ステップS12において、前記制御部560が、前記カセット割当情報521に基づいて、前記可変カセット41Bに割り当てられた薬品情報と当該薬品情報の払出合計とを前記表示部707に表示させてもよい。 Further, in step S4, the control unit 510 causes the display unit 707 of the variable cassette 41B to which the drug information is assigned in step S3 to pay out the drug information assigned to the variable cassette 41B and the drug information. Is displayed based on the cassette allocation information 521. In step S12, the control unit 560 may display the drug information assigned to the variable cassette 41B and the total payout of the drug information on the display unit 707 based on the cassette allocation information 521. Good.

<処方制御ユニット501側:ステップS5>
ステップS5において、前記制御部510は、一又は複数の対象処方データに含まれる薬品情報のうち、対応する前記固定カセット41Aが存在しない薬品情報であって、前記可変カセット41Bに割り当てられていない一又は複数の薬品情報を前記手撒きユニット43に割り当てる。これにより、前記可変カセット41Bに割り当てられなかった薬品情報に対応する薬品は前記手撒きユニット43から払い出されることになる。なお、当該ステップS6の処理は、前記制御部510の前記割当処理部511によって実行される。なお、一又は複数の対象処方データに含まれる薬品情報のうち、対応する前記固定カセット41Aが存在しない薬品情報が全て前記可変カセット41Bに割り当てられている場合には、前記手撒きユニット43への割り当ては行われない。
<Prescription control unit 501 side: step S5>
In step S5, the control unit 510 is one of the drug information included in one or a plurality of target prescription data, which is the drug information in which the corresponding fixed cassette 41A does not exist and is not assigned to the variable cassette 41B. Alternatively, a plurality of drug information is assigned to the hand-spreading unit 43. As a result, the chemicals corresponding to the chemical information not assigned to the variable cassette 41B are discharged from the hand-spreading unit 43. The process of step S6 is executed by the allocation processing unit 511 of the control unit 510. When all the drug information in which the corresponding fixed cassette 41A does not exist among the drug information contained in one or more target prescription data is assigned to the variable cassette 41B, the hand-spreading unit 43 is supplied. No allocation is made.

ところで、前記制御部510が、前記ステップS2において、対応する前記固定カセット41Aが存在しないと判断された前記薬品情報を前記手撒きユニット43に割り当てた後、前記ステップS5において、当該薬品情報のうち前記ステップS3で前記可変カセット41Bに割り当てられた薬品情報について前記手撒きユニット43への割り当てを解除することも他の実施形態として考えられる。具体的には、前記ステップS5において、前記薬品情報が前記手撒きユニット43のDTAセル431A各々に対応付けて前記手撒き割当情報523に記憶された後、前記可変カセット41Bに割り当てられた前記薬品情報が前記手撒き割当情報523から消去されることが考えられる。このとき、前記手撒き割当情報523では、前記DTAセル431Aのうち対応する前記薬品情報が消去されたDTAセル431Aに前記薬品情報が割り当てられていない状況も想定されるが、前記制御部510は、前記ステップS5で割り当てた前記薬品情報と前記DTAセル431Aとの対応関係を変更しないことが考えられる。これにより、前記薬品パレット431における前記DTAセル431A各々の位置と用法との関係にずれが生じず、薬品の投入作業における人為的ミスを抑制することが可能である。一方、前記可変カセット41Bへの前記薬品情報の割り当てによって前記DTAセル431Aに対応する前記薬品情報が存在しなくなった場合に、前記DTAセル431A各々と前記薬品情報との割り当て状態を詰めるように前記手撒き割当情報523を更新することも考えられる。この場合には、空きが生じた前記DTAセル431Aを利用して、より多くの処方データについての前記分包動作を一度に行うことが可能となる。 By the way, after the control unit 510 assigns the chemical information determined in step S2 that the corresponding fixed cassette 41A does not exist to the hand-spreading unit 43, among the chemical information in the step S5. As another embodiment, it is conceivable to release the allocation of the chemical information assigned to the variable cassette 41B to the hand-spreading unit 43 in step S3. Specifically, in step S5, the chemicals assigned to the variable cassette 41B after the chemical information is stored in the hand-spraying allocation information 523 in association with each of the DTA cells 431A of the hand-spreading unit 43. It is conceivable that the information is deleted from the hand-made allocation information 523. At this time, in the hand-spraying allocation information 523, it is assumed that the chemical information is not assigned to the DTA cell 431A in which the corresponding chemical information is deleted from the DTA cell 431A, but the control unit 510 It is conceivable that the correspondence between the drug information assigned in step S5 and the DTA cell 431A is not changed. As a result, the relationship between the position and usage of each of the DTA cells 431A on the chemical pallet 431 does not deviate, and it is possible to suppress human error in the chemical charging operation. On the other hand, when the drug information corresponding to the DTA cell 431A does not exist due to the allocation of the drug information to the variable cassette 41B, the allocation state of each of the DTA cells 431A and the drug information is reduced. It is also conceivable to update the hand-sown allocation information 523. In this case, the vacant DTA cell 431A can be used to perform the packaging operation for more prescription data at once.

<処方制御ユニット501側:ステップS6>
ステップS6において、前記制御部510は、前記ステップS5で前記手撒きユニット43に割り当てられた前記払出対象の薬品情報を前記制御部560に送信する。これにより、前記制御部560は、前記対象処方データについての分包動作を実行する際の前記手撒きユニット43の利用内容を把握することが可能である。
<Prescription control unit 501 side: step S6>
In step S6, the control unit 510 transmits the drug information of the payout target assigned to the hand-spreading unit 43 in the step S5 to the control unit 560. As a result, the control unit 560 can grasp the usage content of the hand-spreading unit 43 when executing the packaging operation for the target prescription data.

<分包制御ユニット503側:ステップS13>
一方、前記分包制御ユニット503では、前記制御部560が、ステップS13において、前記制御部510からの前記手撒きユニット43への割当内容を示す前記手撒き割当情報523の受信の有無を判断する。ここで、前記制御部560は、前記手撒き割当情報523が受信された場合には(S13のYes側)、処理をステップS14に移行させ、前記手撒き割当情報523が受信されていない間は(S13のNo側)、処理をステップS15に移行させる。
<Package control unit 503 side: step S13>
On the other hand, in the packaging control unit 503, the control unit 560 determines in step S13 whether or not the hand-handling allocation information 523 indicating the contents of allocation from the control unit 510 to the hand-handling unit 43 is received. .. Here, the control unit 560 shifts the process to step S14 when the hand-made allocation information 523 is received (Yes side of S13), and while the hand-made allocation information 523 is not received, the process shifts to step S14. (No side of S13), the process shifts to step S15.

<分包制御ユニット503側:ステップS14>
ステップS14において、前記制御部560は、前記手撒き割当情報523に基づいて、前記DTAセル431A各々に充填するべき薬品を案内する案内画面を前記操作表示部580に表示させる。なお、前記ステップS14の処理は、前記表示処理部561によって実行される。また、前記ステップS14の処理は、前記制御部510によって実行されてもよい。
<Package control unit 503 side: step S14>
In step S14, the control unit 560 causes the operation display unit 580 to display a guide screen for guiding the chemicals to be filled in each of the DTA cells 431A based on the hand-spraying allocation information 523. The process of step S14 is executed by the display processing unit 561. Further, the process of step S14 may be executed by the control unit 510.

ここに、図20〜図23は、前記案内画面の一例を示す図である。図20に示されるように、前記案内画面には、前記手撒き割当情報523において前記手撒きユニット43に割り当てられている薬品情報の一覧を示す領域A1と、前記領域A1に示されている薬品情報のうち現在選択中の薬品情報に対応する薬品の投入位置及び投入数を示す領域A2とが含まれる。また、前記制御部560は、前記領域A1において、前記手撒き割当情報52において前記手撒きユニット43に割り当てられている薬品情報のうち、前記領域A2に投入位置及び投入数が表示された薬品情報と、前記領域A2に投入位置及び投入数が未だ表示されていない薬品情報とを文字色又は背景色などによって識別可能に表示させる。 Here, FIGS. 20 to 23 are views showing an example of the guidance screen. As shown in FIG. 20, on the guidance screen, an area A1 showing a list of drug information assigned to the hand-spreading unit 43 in the hand-spreading allocation information 523 and a drug shown in the area A1 are displayed. Among the information, the area A2 indicating the charging position and the number of charged chemicals corresponding to the currently selected chemical information is included. Further, in the area A1, the control unit 560 displays the chemical information in which the charging position and the charging number are displayed in the area A2 among the chemical information assigned to the handing unit 43 in the hand-spraying allocation information 52. And, the chemical information in which the charging position and the charging number are not yet displayed in the area A2 is displayed so as to be distinguishable by the character color or the background color.

具体的に、前記制御部560は、前記案内画面の表示開始時には、図20に示されるように、前記領域A2において、前記領域A1に表示されている最上位の薬品情報を選択し、当該薬品情報に対応する薬品の投入位置と投入数とを表示させる。具体的に、図20に示す例では、前記DTAセル431Aの「1A」〜「3A」に薬品Cを2錠ずつ投入するべきことが案内されている。その後、前記制御部560は、前記案内画面に表示される操作キーK0が操作されると、図21に示されるように、前記領域に表示されている現在の表示対象の薬品情報の一つ下の薬品情報を選択し、当該薬品情報に対応する薬品の投入位置と投入数とを前記領域A2に表示させる。具体的に、図21に示す例では、前記DTAセル431Aの「4A」〜「6A」に薬品Eを1錠ずつ投入するべきことが案内されている。また、前記制御部560は、前記領域A1において薬品情報が選択された場合にも、その選択された前記薬品情報に対応する薬品の投入位置と投入数とを前記領域A2に表示させる。 Specifically, at the start of the display of the guidance screen, the control unit 560 selects the highest-level drug information displayed in the area A1 in the area A2, as shown in FIG. 20, and the drug. The injection position and the number of chemicals to be added corresponding to the information are displayed. Specifically, in the example shown in FIG. 20, it is instructed that two tablets of the drug C should be added to "1A" to "3A" of the DTA cell 431A. After that, when the operation key K0 displayed on the guidance screen is operated, the control unit 560 is one below the currently displayed chemical information displayed in the area, as shown in FIG. The drug information of is selected, and the charging position and the number of drugs charged corresponding to the drug information are displayed in the area A2. Specifically, in the example shown in FIG. 21, it is instructed that the drug E should be charged one tablet at a time into "4A" to "6A" of the DTA cell 431A. Further, even when the chemical information is selected in the area A1, the control unit 560 displays the charging position and the charging number of the chemicals corresponding to the selected chemical information in the area A2.

また、前記制御部560は、前記案内画面に表示されている操作キーK1が操作されると、図22に示されるように、今回の前記対象処方データに対応する患者の一覧を前記操作表示部580の領域A3に表示させる。さらに、前記制御部560は、前記患者の一覧が表示されている状態で、前記操作表示部580に表示されている操作キーK2が操作されると、図23に示されるように、今回の前記対象処方データに処方薬として含まれる薬品情報のうち前記可変カセット41Bに割り当てられた薬品情報の一覧が表示される。なお、図23に示す例では、前記可変セット41Bに割り当てられている薬品には前記可変カセット41Bの略称を示す「UC」が対応づけて表示されている。また、この場合にも、前記領域A1には、今回の前記対象処方データに処方薬として含まれる薬品情報のうち前記手撒きユニット43に割り当てられた薬品情報の一覧が表示されている。従って、ユーザーは、前記操作表示部580の表示を参照することにより、今回の前記対象処方データに処方薬として含まれる薬品情報の割当先を容易に把握することが可能である。また、今回の前記対象処方データに処方薬として含まれる薬品情報のうち、対応する前記固定カセット41A又は前記固定化カセット41Cが存在する薬品情報についても、前記固定カセット41A又は前記固定化カセット41Cと薬品情報との対応関係が前記領域A4に表示されることも他の実施形態として考えられる。なお、前記可変カセット41Bに割り当てられた薬品情報の一覧が表示された状態で前記操作キーK2が操作されると、例えば前記患者の一覧が表示される画面に戻ることが考えられる。 Further, when the operation key K1 displayed on the guidance screen is operated, the control unit 560 displays a list of patients corresponding to the current target prescription data in the operation display unit, as shown in FIG. 22. It is displayed in the area A3 of 580. Further, when the operation key K2 displayed on the operation display unit 580 is operated while the list of patients is displayed, the control unit 560 this time, as shown in FIG. A list of drug information assigned to the variable cassette 41B among the drug information included as prescription drugs in the target prescription data is displayed. In the example shown in FIG. 23, the chemicals assigned to the variable set 41B are associated with "UC" indicating the abbreviation of the variable cassette 41B. Further, also in this case, in the area A1, a list of drug information assigned to the hand-spreading unit 43 among the drug information included as a prescription drug in the target prescription data this time is displayed. Therefore, the user can easily grasp the allocation destination of the drug information included as the prescription drug in the target prescription data this time by referring to the display of the operation display unit 580. Further, among the drug information included as a prescription drug in the target prescription data this time, the drug information in which the corresponding fixed cassette 41A or the fixed cassette 41C exists is also referred to as the fixed cassette 41A or the fixed cassette 41C. It is also conceivable as another embodiment that the correspondence with the drug information is displayed in the area A4. If the operation key K2 is operated while the list of drug information assigned to the variable cassette 41B is displayed, it is conceivable to return to the screen where the list of patients is displayed, for example.

<処方制御ユニット501側:ステップS7>
その後、ステップS7において、前記制御部510は、前記可変カセット41Bに対する薬品の充填が完了した旨を示す充填完了操作が前記操作部540に対して行われたか否かを判断する。具体的に、ユーザーは、前記ステップS3で前記薬品情報が前記可変カセット41Bに割り当てられ、前記可変カセット41Bの前記表示部707に前記薬品情報が表示されると、前記可変カセット41Bを前記薬品供給ユニット502から取り外す。そして、ユーザーは、前記可変カセット41Bに、前記処方データに対応する処方箋、又は前記表示部707に表示された情報を参照しながら必要な錠数の薬品を前記可変カセット41Bに投入する。その後、ユーザーは、前記可変カセット41Bを前記薬品供給ユニット502に装着し、前記操作部540に対して前記充填完了操作を行う。なお、前記ステップS5で前記薬品情報が前記手撒きユニット43にも割り当てられている場合、ユーザーは、前記手撒きユニット43の薬品パレット431を開いて薬品を投入した後、前記薬品パレット431を閉じてから前記充填完了操作を行う。なお、前記可変カセット41Bの脱着及び前記手撒きユニット43の開閉が前記充填完了操作の一例であってもよい。
<Prescription control unit 501 side: step S7>
After that, in step S7, the control unit 510 determines whether or not the filling completion operation indicating that the filling of the chemicals in the variable cassette 41B has been completed has been performed on the operation unit 540. Specifically, when the drug information is assigned to the variable cassette 41B in step S3 and the drug information is displayed on the display unit 707 of the variable cassette 41B, the user supplies the variable cassette 41B with the drug. Remove from unit 502. Then, the user inputs the required number of medicines into the variable cassette 41B while referring to the prescription corresponding to the prescription data or the information displayed on the display unit 707. After that, the user attaches the variable cassette 41B to the chemical supply unit 502 and performs the filling completion operation on the operation unit 540. When the chemical information is also assigned to the hand-spreading unit 43 in step S5, the user opens the chemical pallet 431 of the hand-spreading unit 43, charges the chemicals, and then closes the chemical pallet 431. After that, the filling completion operation is performed. The attachment / detachment of the variable cassette 41B and the opening / closing of the hand-spreading unit 43 may be an example of the filling completion operation.

ここで、前記充填完了操作が行われるまでの間(S7のNo側)、前記制御部510は処理を前記ステップS7で待機させる。一方、前記充填完了操作が行われたと判断すると(S7のYes側)、前記制御部510は処理をステップS8に移行させる。なお、前記ステップS3で複数の薬品情報が複数の前記可変カセット41Bに割り当てられた場合、前記ステップS7では、前記薬品情報各々に対応する全ての前記可変カセット41Bについて前記薬品の充填完了操作が行われたか否かを判断する。また、前記ステップS5で前記薬品情報が前記手撒きユニット43に割り当てられている場合には、前記ステップS7において、前記手撒きユニット43の薬品パレット431の開閉動作が完了しているか否かが判断されてもよい。 Here, the control unit 510 causes the process to stand by in step S7 until the filling completion operation is performed (No side of S7). On the other hand, when it is determined that the filling completion operation has been performed (Yes side of S7), the control unit 510 shifts the process to step S8. When a plurality of chemical information is assigned to the plurality of variable cassettes 41B in step S3, in step S7, the chemical filling completion operation is performed for all the variable cassettes 41B corresponding to each of the chemical information. Judge whether or not it was broken. Further, when the chemical information is assigned to the hand-spraying unit 43 in step S5, it is determined in step S7 whether or not the opening / closing operation of the chemical pallet 431 of the hand-spreading unit 43 is completed. May be done.

<処方制御ユニット501側:ステップS8〜S9>
ステップS8において、前記制御部510は、前記対象処方データ各々に基づく分包動作の開始要求を前記制御部560に送信する。その後、ステップS9において、前記制御部510は、前記制御部560からの前記分包動作の完了通知を待ち受ける(S9のNo側)。そして、前記分包動作の完了通知を受信すると(S9のYes側)、前記制御部510は処理をステップS10に移行させる。
<Prescription control unit 501 side: steps S8 to S9>
In step S8, the control unit 510 transmits a request to start the packaging operation based on each of the target prescription data to the control unit 560. After that, in step S9, the control unit 510 waits for the completion notification of the packaging operation from the control unit 560 (No side of S9). Then, when the completion notification of the packaging operation is received (Yes side of S9), the control unit 510 shifts the process to step S10.

<処方制御ユニット501側:ステップS10>
ステップS10において、前記制御部510は、払い出しが完了した前記可変カセット41Bの前記表示部707に払い出しが完了した旨の表示を行う。例えば、前記ステップS9では、前記表示部707に「払出完了」の文字が表示されること、又は前記表示部707の前記薬品情報の表示が消去されること等が考えられる。
<Prescription control unit 501 side: step S10>
In step S10, the control unit 510 displays to the display unit 707 of the variable cassette 41B that the payout has been completed to the effect that the payout has been completed. For example, in step S9, it is conceivable that the character "payment completed" is displayed on the display unit 707, or the display of the drug information on the display unit 707 is erased.

<分包制御ユニット503側:ステップS15>
一方、前記分包制御ユニット503では、前記制御部560が、ステップS15において、前記制御部510からの前記分包動作の開始要求の有無を判断する。ここで、前記制御部560は、前記分包動作の開始要求が受信された場合には(S15のYes側)、処理をステップS16に移行させ、前記分包動作の開始要求が受信されていない間は(S15のNo側)、処理をステップS11に移行させる。
<Package control unit 503 side: step S15>
On the other hand, in the packaging control unit 503, the control unit 560 determines in step S15 whether or not there is a request from the control unit 510 to start the packaging operation. Here, when the control unit 560 receives the request to start the packaging operation (Yes side of S15), the control unit 560 shifts the process to step S16, and the request to start the packaging operation is not received. In the meantime (No side of S15), the process shifts to step S11.

<分包制御ユニット503側:ステップS16>
ステップS16において、前記制御部560は、前記分包動作の開始要求に従って、一又は複数の前記対象処方データに基づく分包動作を実行する。具体的に、前記制御部560は、一又は複数の前記対象処方データに基づいて、前記薬品供給ユニット502の前記固定カセット41A、前記可変カセット41B、及び前記手撒きユニット43から必要な薬品を払い出させる。そして、前記制御部560は、前記固定カセット41A、前記可変カセット41B、及び前記手撒きユニット43から払い出された薬品を服用時期などの分包単位で前記分包ユニット45によって分包させる。なお、前記ステップS16は、前記制御部560の駆動制御部562によって実行される駆動ステップの一例である。なお、前記分包動作において、前記可変カセット41Bから払い出される薬品の数は、前記可変カセット41Bの前記払出口704に設けられた不図示の光学式センサーを有するカウンターによって計数されて前記制御部560に払出数として入力される。これにより、前記制御部560は、前記カウンターから入力される払出数に基づいて前記可変カセット41Bの駆動を制御し、予め設定された払出量(処方量)のみを前記可変カセット41Bから払い出すことが可能である。
<Package control unit 503 side: step S16>
In step S16, the control unit 560 executes the packaging operation based on one or more of the target prescription data in accordance with the request for starting the packaging operation. Specifically, the control unit 560 pays necessary chemicals from the fixed cassette 41A, the variable cassette 41B, and the hand-spreading unit 43 of the chemical supply unit 502 based on the one or more target prescription data. Let me put it out. Then, the control unit 560 packages the medicines dispensed from the fixed cassette 41A, the variable cassette 41B, and the hand-spreading unit 43 by the packaging unit 45 in a packaging unit such as the time of administration. The step S16 is an example of a drive step executed by the drive control unit 562 of the control unit 560. In the packaging operation, the number of chemicals to be discharged from the variable cassette 41B is counted by a counter having an optical sensor (not shown) provided at the discharge port 704 of the variable cassette 41B, and the control unit 560 is used. Is entered as the number of payouts. As a result, the control unit 560 controls the drive of the variable cassette 41B based on the number of payouts input from the counter, and pays out only the preset payout amount (prescription amount) from the variable cassette 41B. Is possible.

そして、前記対象処方データが複数である場合には、その複数の対象処方データについて前記分包動作が順次実行される。このとき、複数の前記対象処方データに払出対象として含まれる薬品の薬品情報が同一の前記可変カセット41Bに割り当てられている場合には、複数の前記対象処方データに対応する前記分包動作において、同一の前記可変カセット41Bから同一の薬品が払い出されることになる。そのため、ユーザーは、複数の前記可変カセット41Bに同じ薬品を充填する必要、又は前記可変カセット41Bに同じ薬品を繰り返し充填する必要がなく、一つの前記可変カセット41Bに纏めて薬品を充填することが可能となり、ユーザーによる充填作業の効率が高まる。これに対し、前記処方データ各々に含まれる同一の薬品について異なる前記可変カセット41Bに割り当てられる場合、又は前記処方データ各々に含まれる同一の薬品について同じ前記可変カセット41Bに繰り返して割り当てられる場合には、複数の前記可変カセット41Bに同じ薬品を充填する必要、又は前記可変カセット41Bに同じ薬品を繰り返し充填する必要があり、ユーザーによる充填作業の効率が低くなる。 Then, when there are a plurality of the target prescription data, the packaging operation is sequentially executed for the plurality of target prescription data. At this time, when the drug information of the drug included as the payout target in the plurality of target prescription data is assigned to the same variable cassette 41B, in the packaging operation corresponding to the plurality of target prescription data, in the packaging operation. The same chemicals will be dispensed from the same variable cassette 41B. Therefore, the user does not need to fill the plurality of variable cassettes 41B with the same chemicals or repeatedly fill the variable cassettes 41B with the same chemicals, and can collectively fill one variable cassette 41B with the same chemicals. This makes it possible and increases the efficiency of filling work by the user. On the other hand, when the same drug contained in each of the prescription data is assigned to different variable cassettes 41B, or when the same drug contained in each of the prescription data is repeatedly assigned to the same variable cassette 41B. , It is necessary to fill a plurality of the variable cassettes 41B with the same chemicals, or it is necessary to repeatedly fill the variable cassettes 41B with the same chemicals, which reduces the efficiency of the filling operation by the user.

<分包制御ユニット503側:ステップS17>
その後、前記制御部560は、前記ステップS14において、一又は複数の前記対象処方データに対応する前記分包動作が終了すると、続くステップS17において、前記制御部510に分包動作の完了通知を送信する。
<Package control unit 503 side: step S17>
After that, when the packaging operation corresponding to one or a plurality of the target prescription data is completed in the step S14, the control unit 560 transmits a completion notification of the packaging operation to the control unit 510 in the subsequent step S17. To do.

以上説明したように、前記薬品払出装置4では、複数の処方データに基づいて当該複数の処方データに含まれる一又は複数の払出対象の薬品の薬品情報が前記可変カセット41Bに割り当てられる。従って、個々の処方データに基づいて薬品情報を前記可変カセット41Bに割り当てる場合に比べて前記可変カセット41Bを効率的に使用することが可能となる。 As described above, in the drug dispensing device 4, drug information of one or a plurality of drugs to be dispensed included in the plurality of prescription data is assigned to the variable cassette 41B based on the plurality of prescription data. Therefore, the variable cassette 41B can be used more efficiently than the case where the drug information is assigned to the variable cassette 41B based on the individual prescription data.

なお、本実施形態では、前記薬品情報が前記可変カセット41Bに割り当てられる場合を例に挙げて説明した。一方、前記制御部510は、前記可変カセット41Bに代えて、前記可変カセット41Bが装着される前記装着部42Bに前記薬品情報を割り当てることも考えられる。この場合、前記制御部510は、前記ステップS4において、前記薬品情報と前記装着部42Bとの対応関係を示す情報を、前記払出対象の薬品情報に対応する駆動条件と共に前記制御部560に送信する。これにより、前記制御部560は、前記装着部42Bに装着された前記可変カセット41Bを前記駆動条件に従って駆動させることが可能である。 In the present embodiment, the case where the drug information is assigned to the variable cassette 41B has been described as an example. On the other hand, the control unit 510 may allocate the drug information to the mounting unit 42B to which the variable cassette 41B is mounted instead of the variable cassette 41B. In this case, in the step S4, the control unit 510 transmits the information indicating the correspondence between the chemical information and the mounting unit 42B to the control unit 560 together with the driving conditions corresponding to the chemical information to be paid out. .. As a result, the control unit 560 can drive the variable cassette 41B mounted on the mounting unit 42B according to the driving conditions.

[錠剤補充制御機能]
ところで、前記薬品払出装置4では、必要な払出量に対して前記固定カセット41A内又は前記固定化カセット41C内の錠剤が不足すると、当該錠剤を払い出すことができず動作が中断することになる。そのため、ユーザーは、前記固定カセット41A内又は前記固定化カセット41C内の錠剤の残量が少なくなると錠剤を事前に補充することがある。しかしながら、前記固定カセット41A内又は前記固定化カセット41C内の錠剤が欠品になる前に錠剤が補充されると新旧の錠剤が混在し、先に収容されていた錠剤が後に収容された錠剤よりも後に払い出されるおそれがある。一方、例えば一種類の錠剤について複数の前記固定カセット41A又は前記固定化カセット41Cが設けられていれば、錠剤を補充した順番でその複数の前記固定カセット41A又は前記固定化カセット41Cから錠剤を払い出すように制御することにより、先に補充された錠剤を後に補充される錠剤よりも先に払い出すことができる錠剤の先入れ先出しを実現することが可能であるが、必要な前記固定カセット41A又は前記固定化カセット41Cの数が増加することになる。
[Tablet replenishment control function]
By the way, in the chemical dispensing device 4, if the tablets in the fixed cassette 41A or the fixed cassette 41C are insufficient for the required dispensing amount, the tablets cannot be dispensed and the operation is interrupted. .. Therefore, the user may replenish the tablets in advance when the remaining amount of the tablets in the fixed cassette 41A or the fixed cassette 41C becomes low. However, if the tablets are replenished before the tablets in the fixed cassette 41A or the fixed cassette 41C are out of stock, the old and new tablets are mixed, and the tablets contained earlier are more than the tablets contained later. May be paid out later. On the other hand, for example, if a plurality of the fixed cassettes 41A or the fixed cassettes 41C are provided for one type of tablet, the tablets are paid from the plurality of fixed cassettes 41A or the fixed cassettes 41C in the order in which the tablets are replenished. By controlling the tablets to be ejected, it is possible to realize the first-in first-out of the tablets in which the tablets replenished earlier can be dispensed before the tablets replenished later, but the required fixed cassette 41A or the said The number of immobilized cassettes 41C will increase.

これに対し、前記薬品払出装置4は、前記固定カセット41A又は前記固定化カセット41Cの数の増加を抑制しつつ、錠剤の欠品発生頻度を低減すると共に錠剤の先入れ先出しを実現することができる錠剤補充制御機能を備える。以下、前記錠剤補充制御機能について説明する。なお、前記薬品払出装置4では、前述したように前記特定条件を満たす複数の処方データを対象に錠剤の払い出しが実行されるが、前記薬品払出装置4は、一つの前記処方データごとに錠剤の払い出しが実行可能な構成であってもよい。 On the other hand, the drug dispensing device 4 can reduce the frequency of tablet shortages and realize tablet first-in first-out while suppressing an increase in the number of the fixed cassette 41A or the fixed cassette 41C. It has a replenishment control function. Hereinafter, the tablet replenishment control function will be described. In the drug dispensing device 4, tablets are dispensed for a plurality of prescription data satisfying the specific conditions as described above, but the drug dispensing device 4 dispenses tablets for each of the prescription data. The payout may be feasible.

ここに、図24は、前記錠剤補充制御機能を実現するために前記制御部510によって実行される錠剤補充処理の一例を示すフローチャートである。なお、前記制御部560が前記錠剤補充処理を実行してもよく、前記制御部510及び前記制御部560が協働して前記錠剤補充処理を実行してもよい。また、図25Aは、前記カセット割当情報521の一例を示す図であり、図25Bは、前記カセットマスター524の一例を示す図である。また、図26は、前記ステップS16(図12参照)の分包動作の一部として前記制御部560によって実行される錠剤払出処理の一例を示すフローチャートである。 Here, FIG. 24 is a flowchart showing an example of a tablet replenishment process executed by the control unit 510 in order to realize the tablet replenishment control function. The control unit 560 may execute the tablet replenishment process, or the control unit 510 and the control unit 560 may cooperate to execute the tablet replenishment process. Further, FIG. 25A is a diagram showing an example of the cassette allocation information 521, and FIG. 25B is a diagram showing an example of the cassette master 524. Further, FIG. 26 is a flowchart showing an example of a tablet dispensing process executed by the control unit 560 as a part of the packaging operation in step S16 (see FIG. 12).

[錠剤補充処理]
まず、図24を参照しつつ、前記制御部510によって実行される前記錠剤補充処理について説明する。
[Tablet replenishment process]
First, the tablet replenishment process executed by the control unit 510 will be described with reference to FIG. 24.

<ステップS21>
ステップS21において、前記制御部510は、錠剤の補充を開始するか否かを判断する。そして、錠剤の補充を開始すると判断されると(S21:Yes)、処理がステップS22に移行し、錠剤の補充を開始しないと判断されると(S21:No)、処理がステップS291に移行する。
<Step S21>
In step S21, the control unit 510 determines whether or not to start replenishment of tablets. Then, when it is determined that the tablet replenishment is to be started (S21: Yes), the process proceeds to step S22, and when it is determined not to start the tablet replenishment (S21: No), the process proceeds to step S291. ..

例えば、前記制御部510は、補充する錠剤の薬品情報の選択操作、及び当該錠剤の補充開始の要求操作が前記操作部540に対して行われた場合に、当該薬品情報に対応する錠剤を補充対象として特定し、当該錠剤の補充を開始すると判断する。また、前記制御部510は、前記固定カセット41A又は前記固定化カセット41Cの錠剤の残量が予め設定された閾値以下になった場合に、当該錠剤を補充対象として特定し、当該錠剤の補充を開始すると自動的に判断してもよい。 For example, the control unit 510 replenishes the tablet corresponding to the drug information when the operation of selecting the drug information of the tablet to be replenished and the operation of requesting the start of replenishment of the tablet are performed on the operation unit 540. Identify as a target and determine to start replenishment of the tablet. Further, when the remaining amount of the tablet of the fixed cassette 41A or the fixed cassette 41C becomes equal to or less than a preset threshold value, the control unit 510 specifies the tablet as a replenishment target and replenishes the tablet. It may be automatically determined to start.

<ステップS22>
ステップS22において、前記制御部510は、前記ステップS21で補充すると判断された錠剤の補充先となる前記薬品カセット41を特定する。
<Step S22>
In step S22, the control unit 510 identifies the drug cassette 41 to be replenished with the tablet determined to be replenished in step S21.

具体的に、前記制御部510は、前記固定カセット41A又は前記可変カセット41Bのいずれかをユーザーに選択させるための表示画面を錠剤の補充先の候補として前記表示部530に表示する。そして、前記制御部510は、前記表示画面におけるユーザー操作に応じて、前記固定カセット41A又は前記可変カセット41Bのいずれかを錠剤の補充先として特定する。例えば、前記制御部510は、前記固定カセット41Aが選択された場合には、前記カセットマスター524に基づいて、前記補充対象の錠剤に対応する前記固定カセット41Aを補充先として特定する。また、前記制御部510は、特定の前記可変カセット41Bが選択された場合には、当該可変カセット41Bを補充先として特定し、当該可変カセット41Bを前記固定化カセット41Cとして設定するように前記カセット割当情報521を更新する。なお、前記制御部510は、前記錠剤の補充先として任意の前記可変カセット41Bを自動で特定するためのユーザー操作が行われた場合には、前記カセット割当情報521に基づいて、前記薬品情報が未だ割り当てられていない未割当の前記可変カセット41Bを錠剤の補充先として特定し、当該可変カセット41Bを前記固定化カセット41Cとして設定するように前記カセット割当情報521を更新してもよい。また、前述したように、本実施形態では、前記可変カセット41Bに前記薬品情報が割り当てられる場合を例に挙げて説明するが、前記薬品情報が前記装着部42Bに割り当てられてもよい。 Specifically, the control unit 510 displays a display screen for allowing the user to select either the fixed cassette 41A or the variable cassette 41B on the display unit 530 as a candidate for a tablet replenishment destination. Then, the control unit 510 specifies either the fixed cassette 41A or the variable cassette 41B as the replenishment destination of the tablet according to the user operation on the display screen. For example, when the fixed cassette 41A is selected, the control unit 510 specifies the fixed cassette 41A corresponding to the tablet to be replenished as a replenishment destination based on the cassette master 524. Further, when the specific variable cassette 41B is selected, the control unit 510 specifies the variable cassette 41B as a replenishment destination, and sets the variable cassette 41B as the fixed cassette 41C. The allocation information 521 is updated. When a user operation for automatically specifying an arbitrary variable cassette 41B as a replenishment destination of the tablet is performed by the control unit 510, the drug information is obtained based on the cassette allocation information 521. The cassette allocation information 521 may be updated so that the unallocated variable cassette 41B, which has not been assigned yet, is specified as a tablet replenishment destination, and the variable cassette 41B is set as the immobilized cassette 41C. Further, as described above, in the present embodiment, the case where the chemical information is assigned to the variable cassette 41B will be described as an example, but the chemical information may be assigned to the mounting portion 42B.

<ステップS23>
ステップS23において、前記制御部510は、前記ステップS21で補充対象として特定された錠剤の薬品情報、及び前記ステップS22で補充先として特定された前記薬品カセット41のカセット識別情報などの補充関連情報を前記表示部530に表示させる。なお、前記制御部510は、前記錠剤の補充先が前記可変カセット41Bである場合には、前記補充関連情報を当該可変カセット41Bの前記表示部707に表示させてもよい。
<Step S23>
In step S23, the control unit 510 provides replenishment-related information such as drug information of the tablet specified as the replenishment target in step S21 and cassette identification information of the drug cassette 41 specified as the replenishment destination in step S22. It is displayed on the display unit 530. When the replenishment destination of the tablet is the variable cassette 41B, the control unit 510 may display the replenishment-related information on the display unit 707 of the variable cassette 41B.

<ステップS24>
ステップS24において、前記制御部510は、前記ステップS22で錠剤の補充先として特定された前記薬品カセット41が前記可変カセット41Bであるか否かを判断し、前記可変カセット41Bである場合には(S24:Yes)、処理がステップS25に移行する。なお、前記ステップS22で錠剤の補充先として特定された前記薬品カセット41が前記可変カセット41Bではない場合には(S24:No)、処理がステップS26に移行する。
<Step S24>
In step S24, the control unit 510 determines whether or not the drug cassette 41 specified as the replenishment destination of the tablet in step S22 is the variable cassette 41B, and if it is the variable cassette 41B, ( S24: Yes), the process proceeds to step S25. If the drug cassette 41 specified as the tablet replenishment destination in step S22 is not the variable cassette 41B (S24: No), the process proceeds to step S26.

<ステップS25>
ステップS25において、前記制御部510は、前記ステップS21で補充対象として特定された錠剤の薬品情報に対応する駆動条件と、前記ステップS22で特定された補充先の前記可変カセット41Bのカセット識別情報とを前記制御部560に送信する。なお、前記薬品情報が前記装着部42Bに割り当てられる場合には、前記カセット識別情報に代えて当該装着部42Bの識別情報が送信される。これにより、前記制御部560は、前記ステップS22で特定された前記可変カセット41Bを前記駆動条件に従って駆動させることが可能となる(図12のステップS11〜S12)。
<Step S25>
In step S25, the control unit 510 includes the driving conditions corresponding to the drug information of the tablet specified as the replenishment target in step S21 and the cassette identification information of the variable cassette 41B of the replenishment destination specified in step S22. Is transmitted to the control unit 560. When the chemical information is assigned to the mounting unit 42B, the identification information of the mounting unit 42B is transmitted instead of the cassette identification information. As a result, the control unit 560 can drive the variable cassette 41B specified in step S22 according to the driving conditions (steps S11 to S12 in FIG. 12).

<ステップS26>
ステップS26において、前記制御部510は、補充先の前記薬品カセット41に対する薬品の補充が完了した旨を示す補充完了操作が前記操作部540に対して行われたか否かを判断する。ここで、前記補充完了操作が行われるまでの間は(ステップS26:No)、処理がステップS26で待機し、前記補充完了操作が行われたと判断すると(ステップS26:Yes)、処理がステップS27に移行する。
<Step S26>
In step S26, the control unit 510 determines whether or not the replenishment completion operation indicating that the replenishment of the chemicals to the replenishment destination chemical cassette 41 has been completed has been performed on the operation unit 540. Here, until the replenishment completion operation is performed (step S26: No), the process waits in step S26, and if it is determined that the replenishment completion operation has been performed (step S26: Yes), the process is step S27. Move to.

<ステップS27>
ステップS27において、前記制御部510は、補充先の前記薬品カセット41への錠剤の補充個数などの情報をユーザー操作に応じて受け付け、当該情報に基づいて前記記憶部520に記憶される錠剤の在庫情報を更新し、処理をステップS28に移行させる。例えば、前記制御部510は、前記薬品カセット41への補充個数が入力された場合に、前記在庫情報における当該錠剤の在庫を前記補充個数だけ増加させる。また、前記在庫情報は、当該ステップS27における更新後に前記制御部510から前記制御部560に送信され、前記制御部560によって前記記憶部570にも記憶される。同様に、前記在庫情報は、前記制御部560によって更新された場合にも、前記制御部560から前記制御部510に送信され、前記制御部510によって前記記憶部520に記憶される。即ち、前記記憶部520及び前記記憶部570における前記在庫情報は同期している。また、錠剤の補充個数は、前記ステップS21において補充する錠剤の薬品情報が選択される際に入力されてもよい。なお、前記在庫情報が、前記カセット割当情報521及び前記カセットマスター524にそれぞれ含まれ、必要に応じて前記カセット割当情報521又は前記カセットマスター524が送受信されてもよい。
<Step S27>
In step S27, the control unit 510 receives information such as the number of tablets to be replenished in the drug cassette 41 to be replenished according to a user operation, and the inventory of tablets stored in the storage unit 520 based on the information. The information is updated and the process shifts to step S28. For example, when the number of replenished medicine cassettes 41 is input, the control unit 510 increases the inventory of the tablets in the inventory information by the number of replenished tablets. Further, the inventory information is transmitted from the control unit 510 to the control unit 560 after the update in step S27, and is also stored in the storage unit 570 by the control unit 560. Similarly, when the inventory information is updated by the control unit 560, the inventory information is transmitted from the control unit 560 to the control unit 510 and stored in the storage unit 520 by the control unit 510. That is, the inventory information in the storage unit 520 and the storage unit 570 are synchronized. Further, the number of tablets to be replenished may be input when the drug information of the tablets to be replenished is selected in step S21. The inventory information may be included in the cassette allocation information 521 and the cassette master 524, respectively, and the cassette allocation information 521 or the cassette master 524 may be transmitted and received as needed.

<ステップS28>
ステップS28において、前記制御部510は、今回の前記薬品カセット41への補充日時を記録するための処理を実行する。前記補充日時は、前記ステップS21で補充を開始すると判断された日時、又は、前記ステップS27で補充が完了したと判断された日時(ステップS28の実行開始日時)などである。なお、前記制御部510は、現在時刻を計時する時計機能、又は外部装置から現在時刻を取得する機能を有している。
<Step S28>
In step S28, the control unit 510 executes a process for recording the replenishment date and time of the chemical cassette 41 this time. The replenishment date and time is a date and time when it is determined to start replenishment in step S21, or a date and time when it is determined that replenishment is completed in step S27 (execution start date and time in step S28). The control unit 510 has a clock function for measuring the current time or a function for acquiring the current time from an external device.

具体的に、前記制御部510は、補充先が前記固定化カセット41Cである場合には、前記カセット割当情報521において、当該固定化カセット41Cに対応付けて補充日時を記録する。ここに、図25Aは、前記カセット割当情報521の一例を示す図である。図25Aに示す前記カセット割当情報521では、前記カセット識別情報が「C1」、「C2」、「C3」、「C4」の前記可変カセット41Bが、前記薬品情報が「Drug M1」、「Drug M2」、「Drug M3」、「Drug M3」である錠剤に対応する前記固定化カセット41Cとしてそれぞれ設定されている。一方、前記カセット割当情報521では、前記カセット識別情報が「C5」、「C6」の前記可変カセット41Bに、「Drug A」、「Drug B」の薬品情報と、「18錠」、「12錠」の払出合計とがそれぞれ割り当てられている。なお、前記カセット割当情報521では、例えば前記固定化カセット41Cとして設定された前記可変カセット41Bには、固定化カセットである旨を示す「Fix」が前記薬品情報と共に記録される。そして、図25Aに示されるように、前記カセット割当情報521には、前記カセット識別情報及び前記薬品情報に対応付けて補充日時(Supplement day and time)が記憶されている。 Specifically, when the replenishment destination is the fixed cassette 41C, the control unit 510 records the replenishment date and time in association with the fixed cassette 41C in the cassette allocation information 521. Here, FIG. 25A is a diagram showing an example of the cassette allocation information 521. In the cassette allocation information 521 shown in FIG. 25A, the variable cassette 41B whose cassette identification information is "C1", "C2", "C3", "C4" and the drug information are "Drug M1" and "Drug M2". , "Drug M3", and "Drug M3" are set as the immobilized cassette 41C corresponding to the tablets, respectively. On the other hand, in the cassette allocation information 521, the variable cassette 41B having the cassette identification information "C5" and "C6", the drug information of "Drug A" and "Drug B", and "18 tablets" and "12 tablets". Is assigned to each of the total payouts. In the cassette allocation information 521, for example, in the variable cassette 41B set as the fixed cassette 41C, "Fix" indicating that the cassette is a fixed cassette is recorded together with the drug information. Then, as shown in FIG. 25A, the cassette allocation information 521 stores the supplement day and time in association with the cassette identification information and the drug information.

一方、前記制御部510は、補充先が前記固定カセット41Aである場合には、前記カセットマスター524において、当該固定カセット41Aに対応付けて補充日時を記録する。ここに、図25Bは、前記カセットマスター524の一例を示す図である。図25Bに示す前記カセットマスター524では、前記カセット識別情報が「C11」、「C12」、「C13」、「C14」、「C15」、「C16」、「C17」、「C18」の前記固定カセット41Aが、前記薬品情報が「Drug M1」、「Drug M2」、「Drug M3」、「Drug M4」、「Drug M5」、「Drug M6」、「Drug M7」、「Drug M1」である錠剤に対応する前記固定カセット41Aとしてそれぞれ設定されている。そして、図25Bに示されるように、前記カセットマスター524には、前記カセット識別情報及び前記薬品情報に対応付けて補充日時(Supplement day and time)が記憶されている。例えば、図25A及び図25Bに示す例では、「Drug M1」については、前記カセット識別情報が「C11」の前記固定カセット41Aの補充日時(2017年1月2日11時23分)が最も早く、次に前記カセット識別情報が「C1」の前記固定化カセット41Cの補充日時(2017年1月3日11時23分)、その次に前記カセット識別情報が「C18」の前記固定カセット41Aの補充日時(2017年1月9日11時30分)であることがわかる。 On the other hand, when the replenishment destination is the fixed cassette 41A, the control unit 510 records the replenishment date and time in association with the fixed cassette 41A in the cassette master 524. Here, FIG. 25B is a diagram showing an example of the cassette master 524. In the cassette master 524 shown in FIG. 25B, the fixed cassette whose cassette identification information is "C11", "C12", "C13", "C14", "C15", "C16", "C17", "C18". 41A is a tablet whose drug information is "Drug M1", "Drug M2", "Drug M3", "Drug M4", "Drug M5", "Drug M6", "Drug M7", "Drug M1". Each is set as the corresponding fixed cassette 41A. Then, as shown in FIG. 25B, the cassette master 524 stores the supplement day and time in association with the cassette identification information and the drug information. For example, in the examples shown in FIGS. 25A and 25B, for "Drug M1", the replenishment date and time (11:23, January 2, 2017) of the fixed cassette 41A whose cassette identification information is "C11" is the earliest. Next, the replenishment date and time of the fixed cassette 41C whose cassette identification information is "C1" (11:23, January 3, 2017), and then the fixed cassette 41A whose cassette identification information is "C18". It can be seen that it is the replenishment date and time (January 9, 2017, 11:30).

<ステップS29>
ステップS29において、前記制御部510は、前記制御部560に前記カセット割当情報521及び前記カセットマスター524を送信する。これにより、前記カセット割当情報521及び前記カセットマスター524を受信した前記制御部560は、前記カセット割当情報521及び前記カセットマスター524を前記記憶部570に記憶する。即ち、前記記憶部570に記憶されている前記カセット割当情報521及び前記カセットマスター524が最新の情報に更新される。従って、前記制御部560は、前記カセット割当情報521及び前記カセットマスター524に基づいて、前記薬品カセット41各々への錠剤の補充日時を把握することが可能である。なお、前記制御部510は、前記カセット割当情報521及び前記カセットマスター524のうち前記ステップS28で更新した情報のみを前記制御部560に送信してもよい。
<Step S29>
In step S29, the control unit 510 transmits the cassette allocation information 521 and the cassette master 524 to the control unit 560. As a result, the control unit 560 that has received the cassette allocation information 521 and the cassette master 524 stores the cassette allocation information 521 and the cassette master 524 in the storage unit 570. That is, the cassette allocation information 521 and the cassette master 524 stored in the storage unit 570 are updated with the latest information. Therefore, the control unit 560 can grasp the date and time of replenishment of tablets into each of the drug cassettes 41 based on the cassette allocation information 521 and the cassette master 524. The control unit 510 may transmit only the information updated in step S28 of the cassette allocation information 521 and the cassette master 524 to the control unit 560.

<ステップS291>
ステップS291において、前記制御部510は、前記制御部560から欠品報知情報を受信したか否かを判断する。後述するように、前記制御部560は、前記薬品カセット41のいずれかにおいて錠剤の欠品が発生した場合に、前記欠品報知情報を前記制御部510に送信する(図26:S342)。ここで、前記欠品報知を受信したと判断されると(S291:Yes)、処理がステップS292に移行し、前記欠品報知を受信していないと判断されると(S291:No)、処理がステップS21に戻される。
<Step S291>
In step S291, the control unit 510 determines whether or not the shortage notification information has been received from the control unit 560. As will be described later, when a tablet shortage occurs in any of the chemical cassettes 41, the control unit 560 transmits the shortage notification information to the control unit 510 (FIG. 26: S342). Here, if it is determined that the shortage notification has been received (S291: Yes), the process proceeds to step S292, and if it is determined that the shortage notification has not been received (S291: No), the process Is returned to step S21.

<ステップS292>
ステップS292において、前記制御部510は、前記欠品報知情報に基づいて、前記カセット割当情報521又は前記カセットマスター524を更新する。具体的に、前記制御部510は、前記欠品報知情報に含まれる欠品した前記薬品カセット41を示すカセット識別情報を参照し、当該カセット識別情報に対応する前記薬品カセット41についての前記補充日時の情報を消去する。
<Step S292>
In step S292, the control unit 510 updates the cassette allocation information 521 or the cassette master 524 based on the shortage notification information. Specifically, the control unit 510 refers to the cassette identification information indicating the missing chemical cassette 41 included in the shortage notification information, and the replenishment date and time of the chemical cassette 41 corresponding to the cassette identification information. Erase the information in.

例えば、前記欠品した前記薬品カセット41が前記固定カセット41Aである場合には、前記カセットマスター524において、前記カセット識別情報に対応する前記固定カセット41Aの補充日時の情報を消去する。なお、前記制御部510は、当該錠剤補充処理の他、前記固定カセット41Aから錠剤を取り出す旨の操作が行われた場合にも、前記カセットマスター524における前記補充日時の情報を消去することが考えられる。 For example, when the missing chemical cassette 41 is the fixed cassette 41A, the cassette master 524 deletes the information on the replenishment date and time of the fixed cassette 41A corresponding to the cassette identification information. In addition to the tablet replenishment process, the control unit 510 may delete the information on the replenishment date and time in the cassette master 524 even when an operation to take out the tablet from the fixed cassette 41A is performed. Be done.

一方、前記欠品した前記薬品カセット41が前記固定化カセット41Cである場合には、前記カセット割当情報521において、前記カセット識別情報に対応する前記固定化カセット41Cの補充日時の情報を消去すると共に、前記固定化カセット41Cに割り当てられている前記薬品情報を消去する。即ち、前記固定化カセット41Cへの前記薬品情報の割当状態が解除され、前記固定化カセット41Cは前記可変カセット41Bとして使用可能な状態となる。なお、前記制御部510は、当該錠剤補充処理の他、任意のタイミングで、前記固定化カセット41Cから錠剤を取り出す旨の操作、又は、前記固定化カセット41Cへの薬品情報の割り当てを解除するための操作(可変カセット41Bに戻すための操作)が行われた場合にも、当該固定化カセット41Cの補充日時の情報を消去すると共に、当該固定化カセット41Cに割り当てられている前記薬品情報を消去することが考えられる。 On the other hand, when the missing chemical cassette 41 is the fixed cassette 41C, the information on the replenishment date and time of the fixed cassette 41C corresponding to the cassette identification information is deleted in the cassette allocation information 521. , The chemical information assigned to the immobilized cassette 41C is erased. That is, the allocation state of the drug information to the fixed cassette 41C is released, and the fixed cassette 41C becomes a state in which it can be used as the variable cassette 41B. In addition to the tablet replenishment process, the control unit 510 performs an operation to take out the tablet from the immobilized cassette 41C at an arbitrary timing, or cancels the allocation of drug information to the immobilized cassette 41C. (Operation for returning to the variable cassette 41B), the information on the replenishment date and time of the fixed cassette 41C is deleted, and the chemical information assigned to the fixed cassette 41C is also deleted. It is conceivable to do.

<ステップS293>
ステップS293において、前記制御部510は、前記制御部560に前記カセット割当情報521及び前記カセットマスター524を送信する。これにより、前記カセット割当情報521及び前記カセットマスター524を受信した前記制御部560は、前記カセット割当情報521及び前記カセットマスター524を前記記憶部570に記憶する。即ち、前記記憶部570に記憶されている前記カセット割当情報521及び前記カセットマスター524が最新の情報に更新される。なお、前記制御部510は、前記カセット割当情報521及び前記カセットマスター524のうち前記ステップS292で更新した情報のみを前記制御部560に送信してもよい。
<Step S293>
In step S293, the control unit 510 transmits the cassette allocation information 521 and the cassette master 524 to the control unit 560. As a result, the control unit 560 that has received the cassette allocation information 521 and the cassette master 524 stores the cassette allocation information 521 and the cassette master 524 in the storage unit 570. That is, the cassette allocation information 521 and the cassette master 524 stored in the storage unit 570 are updated with the latest information. The control unit 510 may transmit only the information updated in step S292 of the cassette allocation information 521 and the cassette master 524 to the control unit 560.

[錠剤払出処理]
続いて、図26を参照しつつ、前記制御部560によって前記ステップS16(図12参照)の分包動作の一部として実行される前記錠剤払出処理について説明する。
[Tablet withdrawal process]
Subsequently, with reference to FIG. 26, the tablet dispensing process executed by the control unit 560 as a part of the packaging operation in step S16 (see FIG. 12) will be described.

<ステップS31>
ステップS31において、前記制御部560は、前記対象処方データと前記カセット割当情報521及び前記カセットマスター524とに基づいて、当該対象処方データに含まれる処方薬品を払い出す前記薬品カセット41を払出元として特定する。
<Step S31>
In step S31, the control unit 560 uses the drug cassette 41 that dispenses the prescription drug contained in the target prescription data as the payout source based on the target prescription data, the cassette allocation information 521, and the cassette master 524. Identify.

具体的に、前記制御部560は、前記カセット割当情報521及び前記カセットマスター524を参照し、前記対象処方データに含まれる処方薬品が割り当てられている前記薬品カセット41のうち補充日時が最も早いものを払出元として特定する。例えば、図25A、25Bに示す例において、前記処方薬品の薬品情報が「Drug M1」である場合には、同一の薬品情報に割り当てられた前記カセット識別情報が「C1」、「C11」、「C18」の前記薬品カセット41のうち、前記補充日時が最も早い「C11」の前記固定カセット41Aが払出元として特定される。 Specifically, the control unit 560 refers to the cassette allocation information 521 and the cassette master 524, and among the drug cassettes 41 to which the prescription drugs included in the target prescription data are assigned, the one having the earliest replenishment date and time. Is specified as the payout source. For example, in the example shown in FIGS. 25A and 25B, when the drug information of the prescription drug is "Drug M1", the cassette identification information assigned to the same drug information is "C1", "C11", "C1", "C11", " Among the chemical cassettes 41 of "C18", the fixed cassette 41A of "C11" having the earliest replenishment date and time is specified as a payout source.

<ステップS32>
ステップS32において、前記制御部560は、前記対象処方データ各々に基づいて、前記ステップS31で特定された前記薬品カセット41各々から錠剤を払い出し、服用時期ごとに分包する分包動作を順次開始する。ここで、前記制御部560は、例えば一つの前記対象処方データについて前記錠剤の払い出しが完了するごとに、前記記憶部570に記憶されている前記在庫情報における当該錠剤の残量を払い出し量だけ減少させ、当該在庫情報を前記制御部510に送信する。なお、前記在庫情報の更新タイミング及び送信タイミングはこれに限らない。
<Step S32>
In step S32, the control unit 560 dispenses tablets from each of the drug cassettes 41 specified in step S31 based on each of the target prescription data, and sequentially starts a packaging operation of packaging each time of administration. .. Here, the control unit 560 reduces the remaining amount of the tablet in the inventory information stored in the storage unit 570 by the amount to be dispensed, for example, every time the tablet is dispensed for one target prescription data. And the inventory information is transmitted to the control unit 510. The update timing and transmission timing of the inventory information are not limited to this.

<ステップS33>
ステップS33において、前記制御部560は、前記分包動作で用いられている前記薬品カセット41のいずれかにおいて錠剤の欠品が発生したか否かを判断する。具体的に、前記制御部560は、前記薬品カセット41の駆動開始後、所定時間経過しても錠剤が払い出されないことを条件に当該薬品カセット41で錠剤の欠品が発生したと判断する。なお、前記制御部560は、前記薬品カセット41からの錠剤の払い出しごとに前記記憶部570に記憶されている前記在庫情報を更新し、当該在庫情報に基づいて当該薬品カセット41において錠剤の欠品が発生したか否かを判断してもよい。ここで、欠品が発生したと判断されると(S33:Yes)、処理がステップS34に移行し、欠品が発生していないと判断されると(S33:No)、処理がステップS35に移行する。
<Step S33>
In step S33, the control unit 560 determines whether or not a tablet shortage has occurred in any of the drug cassettes 41 used in the packaging operation. Specifically, the control unit 560 determines that a tablet shortage has occurred in the drug cassette 41 on the condition that the tablet is not dispensed even after a lapse of a predetermined time after the start of driving the drug cassette 41. The control unit 560 updates the inventory information stored in the storage unit 570 each time the tablet is dispensed from the drug cassette 41, and the tablet is out of stock in the drug cassette 41 based on the inventory information. May be determined whether or not has occurred. Here, if it is determined that a shortage has occurred (S33: Yes), the process proceeds to step S34, and if it is determined that no shortage has occurred (S33: No), the process proceeds to step S35. Transition.

<ステップS34>
ステップS34において、前記制御部560は、前記カセット割当情報521及び前記カセットマスター524に基づいて、前記ステップS33で欠品が発生したと判断された前記薬品カセット41の他に、当該薬品カセット41と同一の錠剤に割り当てられた前記薬品カセット41が存在するか否かを判断する。ここで、同一の錠剤が割り当てられた前記薬品カセット41が存在すると判断されると(S34:Yes)、処理がステップS31に移行し、同一の錠剤が割り当てられた前記薬品カセット41が存在しないと判断されると(S34:No)、処理がステップS341に移行する。
<Step S34>
In step S34, the control unit 560 includes the chemical cassette 41 in addition to the chemical cassette 41 determined to have been out of stock in step S33 based on the cassette allocation information 521 and the cassette master 524. It is determined whether or not the drug cassette 41 assigned to the same tablet exists. Here, if it is determined that the drug cassette 41 to which the same tablet is assigned exists (S34: Yes), the process proceeds to step S31, and the drug cassette 41 to which the same tablet is assigned does not exist. If it is determined (S34: No), the process proceeds to step S341.

<ステップS341>
ステップS341において、前記制御部560は、前記薬品払出装置4において実行されている分包動作を中断させる。
<Step S341>
In step S341, the control unit 560 interrupts the packaging operation being executed in the drug dispensing device 4.

<ステップS342>
ステップS342において、前記制御部560は、前記ステップS33で欠品が発生したと判断された錠剤の薬品情報及び前記薬品カセット41のカセット識別情報などの報知情報を報知する欠品報知処理を実行する。具体的に、前記制御部560は、前記操作表示部580に前記報知情報を表示すると共に、前記制御部510に前記薬品カセット41のカセット識別情報及び欠品が発生した旨を示す情報を送信する。これにより、前記制御部510は、前記ステップS291〜S293において、前記カセット割当情報521又は前記カセットマスター524を更新して前記制御部560に送信する。また、前記欠品報知処理では、前記報知情報が、前記制御部510に送信され、前記制御部510によって前記表示部530に表示されてもよい。その他、前記欠品報知処理は表示に限らず、音声又はブザー鳴動によって欠品が報知されてもよい。また、前記薬品カセット41の前記表示部707に欠品した旨が表示されてもよい。
<Step S342>
In step S342, the control unit 560 executes a shortage notification process for notifying notification information such as drug information of a tablet determined to have a shortage in step S33 and cassette identification information of the drug cassette 41. .. Specifically, the control unit 560 displays the notification information on the operation display unit 580, and transmits the cassette identification information of the chemical cassette 41 and information indicating that a shortage has occurred to the control unit 510. .. As a result, in steps S291 to S293, the control unit 510 updates the cassette allocation information 521 or the cassette master 524 and transmits the cassette master 524 to the control unit 560. Further, in the shortage notification process, the notification information may be transmitted to the control unit 510 and displayed on the display unit 530 by the control unit 510. In addition, the shortage notification process is not limited to display, and the shortage may be notified by voice or buzzer sound. In addition, the display unit 707 of the chemical cassette 41 may indicate that the product is out of stock.

そして、前記ステップS342において、前記制御部560は、前記制御部510から前記カセット割当情報521又は前記カセットマスター524を受信した場合、前記薬品カセット41の欠品が解消された場合、ユーザーによる所定の再開操作が行われた場合、又は欠品が発生したと判断された前記薬品カセット41の脱着が行われた場合などに処理を前記ステップS35に進めて、前記ステップS32で前記分包動作を再開する。 Then, in step S342, when the control unit 560 receives the cassette allocation information 521 or the cassette master 524 from the control unit 510, or when the shortage of the chemical cassette 41 is resolved, a predetermined user determines. When the restart operation is performed, or when the chemical cassette 41 determined to be out of stock is attached or detached, the process proceeds to step S35, and the packaging operation is restarted in step S32. To do.

<ステップS35>
ステップS35において、前記制御部560は、前記ステップS16で受信した前記分包動作の開始要求によって受信した前記対象処方データについて前記分包動作が完了したか否かを判断する。ここで、前記対象処方データについて前記分包動作が完了したと判断されると(S35:Yes)、当該錠剤払出処理が終了し、処理が前記ステップS17(図12参照)に移行し、前記対象処方データについて前記分包動作が完了していないと判断されると(S35:No)、処理が前記ステップS32に戻され、前記分包動作が順次実行される。
<Step S35>
In step S35, the control unit 560 determines whether or not the packaging operation has been completed for the target prescription data received by the start request for the packaging operation received in step S16. Here, when it is determined that the packaging operation has been completed for the target prescription data (S35: Yes), the tablet dispensing process is completed, the process proceeds to step S17 (see FIG. 12), and the target When it is determined that the packaging operation has not been completed for the prescription data (S35: No), the process is returned to step S32, and the packaging operation is sequentially executed.

以上説明したように、錠剤補充制御機能によれば、錠剤の補充時に前記可変カセット41Bが前記固定化カセット41Cとして一時的に設定されることがあり、前記固定カセット41A又は前記固定化カセット41Cの数を増加させることなく、錠剤の欠品発生頻度を低減させると共に錠剤の先入れ先出しを実現することができる。 As described above, according to the tablet replenishment control function, the variable cassette 41B may be temporarily set as the immobilized cassette 41C at the time of tablet replenishment, and the fixed cassette 41A or the immobilized cassette 41C may be temporarily set. It is possible to reduce the frequency of tablet shortages and realize tablet first-in first-out without increasing the number.

例えば、図25A及び図25Bに示されるように、「Drug M1」に対応する前記薬品カセット41各々の前記補充日時が、前記カセット識別情報が「C11」の前記固定カセット41Aが最も早く、次に前記カセット識別情報が「C1」の前記固定化カセット41C、その次に前記カセット識別情報が「C18」の前記固定カセット41Aの順で早い状態で、「Drug M1」の錠剤が払い出される場合の払出元の変化を考える。この場合、まず前記カセット識別情報が「C11」である前記固定カセット41Aが払出元として使用される。そして、前記カセット識別情報が「C11」である前記固定カセット41Aで欠品が発生すると、前記カセット識別情報が「C1」である前記固定化カセット41Cが払出元として使用される。さらにその後、前記カセット識別情報が「C1」である前記固定カセット41Aで欠品が発生すると、前記カセット識別情報が「C18」である前記固定カセット41Aが払出元として使用されることになる。また、最初に使用されていた前記カセット識別情報が「C11」である前記固定カセット41Aに錠剤が補充されると、当該固定カセット41Aの補充日時は、前記カセット識別情報が「C18」である前記固定カセット41Aよりも後になるため、前記カセット識別情報が「C11」である前記固定カセット41Aは、前記カセット識別情報が「C18」である前記固定カセット41Aで欠品が発生した後に払出元として使用されることになる。 For example, as shown in FIGS. 25A and 25B, the fixed cassette 41A having the cassette identification information "C11" has the earliest replenishment date and time for each of the drug cassettes 41 corresponding to "Drug M1", and then the fixed cassette 41A. Discharge when the tablet of "Drug M1" is dispensed in the order of the fixed cassette 41C having the cassette identification information "C1" and then the fixed cassette 41A having the cassette identification information "C18". Consider the original change. In this case, first, the fixed cassette 41A whose cassette identification information is "C11" is used as the payout source. Then, when a shortage occurs in the fixed cassette 41A whose cassette identification information is "C11", the fixed cassette 41C whose cassette identification information is "C1" is used as a payout source. After that, when a shortage occurs in the fixed cassette 41A whose cassette identification information is "C1", the fixed cassette 41A whose cassette identification information is "C18" is used as a payout source. Further, when the tablet is replenished to the fixed cassette 41A whose cassette identification information is "C11" which was first used, the replenishment date and time of the fixed cassette 41A is the cassette identification information "C18". Since it is later than the fixed cassette 41A, the fixed cassette 41A whose cassette identification information is "C11" is used as a payout source after a shortage occurs in the fixed cassette 41A whose cassette identification information is "C18". Will be done.

また、図25A及び図25Bに示されるように、「Drug M2」に対応する前記薬品カセット41各々の前記補充日時が、前記カセット識別情報が「C12」、「C2」の順で早い状態で、前記カセット識別情報が「C12」である前記固定カセット41Aが使用されて欠品が発生した後に当該固定カセット41Aに錠剤が補充される場合を考える。この場合には、まず、前記カセット識別情報が「C12」である前記固定カセット41Aが使用された後、前記カセット識別情報が「C2」である前記固定化カセット41Cが使用され、当該固定化カセット41Cで欠品が発生した場合には、当該固定化カセット41Cへの薬品情報の割り当てが解除される。その後、欠品が生じてから前記固定化カセット41Cよりも後に錠剤が補充された前記カセット識別情報が「C12」である前記固定カセット41Aが再度使用されることになる。即ち、前記薬品情報が「Drug M2」である錠剤については、前記カセット識別情報が「C12」である前記固定カセット41Aに加えて、前記カセット識別情報が「C2」の前記可変カセット41Bを一時的に前記固定化カセット41Cとして用いることが可能である。このように、前記可変カセット41Bを「Drug M2」に対応する前記固定化カセット41Cとして一時的に利用することができ、当該固定化カセット41Cの設定が解除された後は通常の前記可変カセット41Bとして任意の種類の錠剤の払い出しに利用することができるため、前記固定カセット41A及び前記固定化カセット41Cの数の増加が抑制しつつ、錠剤の欠品発生頻度を低減させることが可能である。 Further, as shown in FIGS. 25A and 25B, the replenishment date and time of each of the chemical cassettes 41 corresponding to "Drug M2" is earlier in the order of "C12" and "C2" for the cassette identification information. Consider a case where the fixed cassette 41A whose cassette identification information is "C12" is used and a tablet is replenished to the fixed cassette 41A after a shortage occurs. In this case, first, the fixed cassette 41A whose cassette identification information is "C12" is used, and then the fixed cassette 41C whose cassette identification information is "C2" is used, and the fixed cassette is used. When a shortage occurs in 41C, the allocation of chemical information to the fixed cassette 41C is released. After that, the fixed cassette 41A in which the tablet is replenished after the immobilization cassette 41C occurs after the shortage occurs and the cassette identification information is "C12" will be used again. That is, for tablets whose drug information is "Drug M2", in addition to the fixed cassette 41A whose cassette identification information is "C12", the variable cassette 41B whose cassette identification information is "C2" is temporarily used. It can be used as the fixed cassette 41C. In this way, the variable cassette 41B can be temporarily used as the fixed cassette 41C corresponding to the "Drug M2", and after the setting of the fixed cassette 41C is released, the normal variable cassette 41B is used. Since it can be used for dispensing any kind of tablets, it is possible to reduce the frequency of tablet shortages while suppressing an increase in the number of the fixed cassettes 41A and the fixed cassettes 41C.

また、図25A及び図25Bに示されるように、「Drug M3」に対応する前記薬品カセット41各々の前記補充日時が、前記カセット識別情報が「C13」、「C3」、「C4」の順で早い状態で、前記カセット識別情報が「C13」である前記固定カセット41Aが使用されて欠品が発生した後に当該固定カセット41Aに錠剤が補充される場合を考える。この場合には、まず、前記カセット識別情報が「C13」である前記固定カセット41Aが使用された後、前記カセット識別情報が「C3」である前記固定化カセット41Cが使用され、当該固定化カセット41Cで欠品が発生した場合には、当該固定化カセット41Cへの薬品情報の割り当てが解除される。その後、前記カセット識別情報が「C4」である前記固定化カセット41Cが使用され、当該固定化カセット41Cで欠品が発生した場合には、当該固定化カセット41Cへの薬品情報の割り当てが解除される。そして、欠品が生じてから前記固定化カセット41Cよりも後に錠剤が補充された前記カセット識別情報が「C13」である前記固定カセット41Aが再度使用されることになる。即ち、前記薬品情報が「Drug M3」である錠剤については、前記カセット識別情報が「C3」である前記固定カセット41Aに加えて、前記カセット識別情報が「C3」、「C4」の前記可変カセット41Bを一時的に前記固定化カセット41Cとして用いることが可能である。 Further, as shown in FIGS. 25A and 25B, the replenishment date and time of each of the drug cassettes 41 corresponding to "Drug M3" is set in the order of "C13", "C3", and "C4" for the cassette identification information. Consider a case where the fixed cassette 41A whose cassette identification information is "C13" is used in an early state and tablets are replenished to the fixed cassette 41A after a shortage occurs. In this case, first, the fixed cassette 41A whose cassette identification information is "C13" is used, and then the fixed cassette 41C whose cassette identification information is "C3" is used, and the fixed cassette is used. When a shortage occurs in 41C, the allocation of chemical information to the fixed cassette 41C is released. After that, when the fixed cassette 41C whose cassette identification information is "C4" is used and a shortage occurs in the fixed cassette 41C, the allocation of chemical information to the fixed cassette 41C is released. To. Then, the fixed cassette 41A in which the tablet is replenished after the immobilization cassette 41C occurs after the shortage occurs and the cassette identification information is "C13" is used again. That is, for tablets whose drug information is "Drug M3", in addition to the fixed cassette 41A whose cassette identification information is "C3", the variable cassette whose cassette identification information is "C3" and "C4". The 41B can be temporarily used as the immobilized cassette 41C.

ところで、本実施形態では、前記補充日時に基づいて前記薬品カセット41各々の使用順序を制御することにより、錠剤の先入れ先出しが実現される例について説明したが、前記補充日時に基づいて、錠剤の先入れ先出しが実現されるように前記薬品カセット41各々の優先度が更新され、当該優先度に基づいて前記薬品カセット41各々の使用順序が制御されてもよい。 By the way, in the present embodiment, an example in which the first-in first-out of tablets is realized by controlling the order of use of each of the drug cassettes 41 based on the replenishment date and time has been described. However, the first-in first-out of tablets is based on the replenishment date and time. The priority of each of the chemical cassettes 41 may be updated so that the above may be realized, and the order of use of each of the chemical cassettes 41 may be controlled based on the priority.

[固定化推奨機能]
ところで、前述したように、前記薬品払出装置4では、前記可変カセット41Bを特定の錠剤に対応する前記固定化カセット41Cとして設定して用いることが可能である。ここで、前記固定化カセット41Cとして用いられる前記可変カセット41Bに割り当てられる錠剤の種類は、ユーザーによって選択されることになるが、前記薬品払出装置4が、前記可変カセット41Bにどの種類の錠剤を割り当てるべきであるかを推奨することが可能な固定化推奨機能を備えることが考えられる。
[Recommended function for immobilization]
By the way, as described above, in the drug dispensing device 4, the variable cassette 41B can be set and used as the immobilized cassette 41C corresponding to a specific tablet. Here, the type of tablet assigned to the variable cassette 41B used as the immobilized cassette 41C is selected by the user, and the drug dispensing device 4 puts any type of tablet into the variable cassette 41B. It is conceivable to have a fixation recommendation function that can recommend whether or not it should be assigned.

具体的に、前記薬品払出装置4では、前記制御部510が、前記固定化カセット41Cとして利用する前記可変カセット41Bを選択するためのユーザー操作を受け付けると、当該可変カセット41Bに割り当てることが推奨される錠剤の種類(薬品情報)を予め定められた条件に従って選定し、前記表示部530に表示する。ここで、前記制御部510は、過去に前記手撒きユニット43を用いて払い出された回数、過去に前記手撒きユニット43を用いて払い出された払出量、又は過去に入力された前記処方データにおいて処方薬として含まれていた回数などの情報を記録しており、これらの情報のいずれか一つ又は複数に基づいて錠剤の種類を選定することが考えられる。 Specifically, in the drug dispensing device 4, when the control unit 510 receives a user operation for selecting the variable cassette 41B to be used as the fixed cassette 41C, it is recommended to assign the variable cassette 41B to the variable cassette 41B. The type of tablet (drug information) to be used is selected according to predetermined conditions and displayed on the display unit 530. Here, the control unit 510 is the number of times the hand-spraying unit 43 has been paid out in the past, the amount paid out in the past using the hand-spreading unit 43, or the prescription input in the past. Information such as the number of times the drug was included as a prescription drug is recorded in the data, and it is conceivable to select the type of tablet based on one or more of these information.

例えば、前記制御部510は、過去に前記手撒きユニット43で払い出された回数が最も高く、前記可変カセット41Bによる払い出しが可能な種類の錠剤を選定する。また、前記制御部510は、過去に前記手撒きユニット43で払い出された払出量が最も多く、前記可変カセット41Bによる払い出しが可能な種類の錠剤を選定する。また、前記制御部510は、過去に入力された前記処方データにおいて処方薬として含まれていた回数が最も多い種類の錠剤を選定する。また、前記制御部510は、対象となる錠剤に対応する前記固定カセット41A又は前記固定化カセット41Cが既に存在する場合に、当該錠剤を選定しないことも考えられる。なお、前記制御部510は、対象となる錠剤に対応する前記固定カセット41A又は前記固定化カセット41Cが既に存在する場合であっても、過去の払い出し回数又は払出量などが所定値以上である場合には、当該錠剤を例外的に選定することも考えられる。 For example, the control unit 510 selects a type of tablet that has been dispensed by the hand-spreading unit 43 the highest number of times in the past and can be dispensed by the variable cassette 41B. Further, the control unit 510 selects a type of tablet that has the largest amount of payout that has been paid out by the hand-spreading unit 43 in the past and can be paid out by the variable cassette 41B. In addition, the control unit 510 selects the type of tablet that is most frequently included as a prescription drug in the prescription data input in the past. It is also conceivable that the control unit 510 does not select the tablet when the fixed cassette 41A or the fixed cassette 41C corresponding to the target tablet already exists. In addition, even if the fixed cassette 41A or the fixed cassette 41C corresponding to the target tablet already exists, the control unit 510 may have a past payout number or payout amount of a predetermined value or more. It is also conceivable to select the tablet exceptionally.

[発明の付記]
[付記1]
任意の種類の薬品を払出可能な可変カセットと、
前記可変カセットが着脱可能な装着部と、
複数の処方データに基づいて当該複数の処方データに含まれる払出対象の薬品の薬品情報を前記可変カセット又は前記装着部に割り当て可能な割当処理部と、
前記割当処理部によって前記可変カセット又は前記装着部に割り当てられた前記薬品情報に対応して予め設定された駆動条件に従って前記可変カセットを駆動させ、当該可変カセットから前記複数の処方データに対応する薬品を払い出し可能な駆動制御部と、
を備える薬品払出装置。
[Supplementary note of invention]
[Appendix 1]
A variable cassette that can dispense any kind of chemicals,
A mounting part to which the variable cassette can be attached and detached
An allocation processing unit capable of assigning drug information of a drug to be paid out included in the plurality of prescription data to the variable cassette or the mounting unit based on the plurality of prescription data.
The variable cassette is driven by the allocation processing unit according to preset driving conditions corresponding to the variable cassette or the drug information assigned to the mounting unit, and the drug corresponding to the plurality of prescription data is driven from the variable cassette. With a drive control unit that can pay out
A chemical dispenser equipped with.

[付記2]
前記割当処理部は、前記複数の処方データの単位で、当該複数の処方データに含まれる払出対象の薬品の薬品情報を予め設定される割当規則に従って前記可変カセット又は前記装着部に割り当てる、
付記1に記載の薬品払出装置。
[Appendix 2]
The allocation processing unit allocates drug information of the drug to be paid out included in the plurality of prescription data to the variable cassette or the mounting unit according to a preset allocation rule in units of the plurality of prescription data.
The chemical dispensing device according to Appendix 1.

[付記3]
前記割当規則には、前記複数の処方データに含まれる払出対象の薬品情報のうち当該複数の処方データにおける払出合計が多い薬品情報を優先して前記可変カセット又は前記装着部に割り当てる第1規則が含まれる、
付記2に記載の薬品払出装置。
[Appendix 3]
The allocation rule includes a first rule in which, among the drug information to be paid out included in the plurality of prescription data, drug information having a large total payout in the plurality of prescription data is preferentially assigned to the variable cassette or the mounting portion. included,
The chemical dispensing device according to Appendix 2.

[付記4]
前記割当規則には、前記複数の処方データに含まれる払出対象の薬品情報のうち当該複数の処方データにおいて用法に従った服用時期単位の払い出し錠数が不均等である薬品情報を優先して前記可変カセット又は前記装着部に割り当てる第2規則が含まれる、
付記2に記載の薬品払出装置。
[付記5]
[Appendix 4]
In the allocation rule, among the drug information to be paid out included in the plurality of prescription data, the drug information in which the number of tablets to be paid out in units of dosage according to the usage is uneven in the plurality of prescription data is prioritized. Includes a second rule assigned to the variable cassette or the mounting portion,
The chemical dispensing device according to Appendix 2.
[Appendix 5]

前記割当規則には、前記複数の処方データに含まれる払出対象の薬品情報のうち当該複数の処方データにおける分包数が多い薬品情報を優先して前記可変カセット又は前記装着部に割り当てる第3規則が含まれる、
付記2に記載の薬品払出装置。
In the allocation rule, among the drug information to be paid out included in the plurality of prescription data, the drug information having a large number of packages in the plurality of prescription data is preferentially assigned to the variable cassette or the mounting portion. Is included,
The chemical dispensing device according to Appendix 2.

[付記6]
前記割当規則には、
前記複数の処方データに含まれる払出対象の薬品情報のうち当該複数の処方データにおける払出合計が多い薬品情報を優先して前記可変カセット又は前記装着部に割り当てる第1規則と、
前記複数の処方データに含まれる払出対象の薬品情報のうち当該複数の処方データにおいて用法に従った服用時期単位の払い出し錠数が不均等である薬品情報を優先して前記可変カセット又は前記装着部に割り当てる第2規則と、
前記複数の処方データに含まれる払出対象の薬品情報のうち当該複数の処方データにおける分包数が多い薬品情報を優先して前記可変カセット又は前記装着部に割り当てる第3規則と、
が含まれ、
前記割当処理部は、前記第1規則、前記第2規則、前記第3規則の順で優先して前記可変カセット又は前記装着部への割り当てを実行する、
付記2に記載の薬品払出装置。
[Appendix 6]
According to the allocation rule,
Among the drug information to be paid out included in the plurality of prescription data, the first rule that gives priority to the drug information having a large total payout in the plurality of prescription data and assigns it to the variable cassette or the mounting portion.
Of the drug information to be paid out included in the plurality of prescription data, the variable cassette or the mounting portion gives priority to the drug information in which the number of tablets to be paid out in units of dosing time is uneven in the plurality of prescription data. The second rule to assign to
Among the drug information to be paid out included in the plurality of prescription data, the third rule that gives priority to the drug information having a large number of packages in the plurality of prescription data and assigns it to the variable cassette or the mounting portion.
Is included,
The allocation processing unit executes allocation to the variable cassette or the mounting unit with priority in the order of the first rule, the second rule, and the third rule.
The chemical dispensing device according to Appendix 2.

[付記7]
前記割当処理部は、予め設定された特定条件を満たす複数の処方データを特定し、当該特定された前記複数の処方データに基づいて、当該複数の処方データに含まれる払出対象の薬品の薬品情報を前記可変カセット又は前記装着部に割り当てる、
付記1〜6のいずれかに記載の薬品払出装置。
[Appendix 7]
The allocation processing unit identifies a plurality of prescription data satisfying preset specific conditions, and based on the specified plurality of prescription data, drug information of the drug to be paid out included in the plurality of prescription data. Is assigned to the variable cassette or the mounting portion,
The chemical dispensing device according to any one of Supplementary Notes 1 to 6.

[付記8]
予め定められた種類の薬品を払出可能な固定カセットを更に備え、
前記割当処理部は、前記複数の処方データに含まれる前記薬品情報と、前記固定カセット各々から払い出し可能な前記薬品情報を示すマスター情報とに基づいて前記特定条件を満たすか否かを判断する、
付記7に記載の薬品払出装置。
[Appendix 8]
Further equipped with a fixed cassette that can dispense a predetermined type of chemicals,
The allocation processing unit determines whether or not the specific condition is satisfied based on the drug information included in the plurality of prescription data and the master information indicating the drug information that can be dispensed from each of the fixed cassettes.
The chemical dispensing device according to Appendix 7.

[付記9]
予め定められた種類の薬品を払出可能な固定カセットと、
複数のセルに収容された薬品を前記セルの単位で払い出し可能な手撒きユニットと、
を更に備え、
前記割当処理部は、前記複数の処方データに含まれる払出対象の薬品情報のうち、対応する前記固定カセットが存在しない薬品情報を、前記可変カセット又は前記手撒きユニットに割り当てる、
付記1〜8のいずれかに記載の薬品払出装置。
[Appendix 9]
A fixed cassette that can dispense a predetermined type of chemicals,
A hand-spraying unit that can dispense chemicals contained in multiple cells in units of the cells,
With more
Among the drug information to be paid out included in the plurality of prescription data, the allocation processing unit allocates drug information in which the corresponding fixed cassette does not exist to the variable cassette or the hand-spreading unit.
The chemical dispensing device according to any one of Supplementary Notes 1 to 8.

[付記10]
任意の種類の薬品を払出可能な可変カセットと、前記可変カセットが着脱可能な装着部と、を備える薬品払出装置の制御方法であって、
複数の処方データに基づいて当該複数の処方データに含まれる払出対象の薬品の薬品情報を前記可変カセット又は前記装着部に割り当て可能な割当ステップと、
前記割当ステップによって前記可変カセット又は前記装着部に割り当てられた前記薬品情報に対応して予め設定された駆動条件に従って前記可変カセットを駆動させ、当該可変カセットから前記複数の処方データに対応する薬品を払い出し可能な駆動ステップと、
を含む制御方法。
[Appendix 10]
A control method for a chemical dispensing device including a variable cassette capable of dispensing any kind of chemicals and a mounting portion to which the variable cassette can be attached and detached.
An allocation step in which drug information of a drug to be dispensed included in the plurality of prescription data can be assigned to the variable cassette or the mounting portion based on the plurality of prescription data.
The variable cassette is driven according to the driving conditions set in advance corresponding to the drug information assigned to the variable cassette or the mounting portion by the allocation step, and the drug corresponding to the plurality of prescription data is obtained from the variable cassette. With payable drive steps
Control methods including.

[付記11]
任意の種類の薬品を払出可能な可変カセットと、前記可変カセットが着脱可能な装着部と、を備える薬品払出装置の制御部に、
複数の処方データに基づいて当該複数の処方データに含まれる払出対象の薬品の薬品情報を前記可変カセット又は前記装着部に割り当て可能な割当ステップと、
前記割当ステップによって前記可変カセット又は前記装着部に割り当てられた前記薬品情報に対応して予め設定された駆動条件に従って前記可変カセットを駆動させ、当該可変カセットから前記複数の処方データに対応する薬品を払い出し可能な駆動ステップと、
を実行させるための制御プログラム。
[Appendix 11]
A control unit of a chemical dispensing device including a variable cassette capable of dispensing any kind of chemicals and a mounting portion to which the variable cassette can be attached and detached.
An allocation step in which drug information of a drug to be dispensed included in the plurality of prescription data can be assigned to the variable cassette or the mounting portion based on the plurality of prescription data.
The variable cassette is driven according to the driving conditions set in advance corresponding to the drug information assigned to the variable cassette or the mounting portion by the allocation step, and the drug corresponding to the plurality of prescription data is obtained from the variable cassette. With payable drive steps
A control program for executing.

Claims (11)

任意の種類の薬品を払出可能な可変カセットと、
前記可変カセットが着脱可能な装着部と、
複数の処方データに基づいて当該複数の処方データに含まれる払出対象の薬品の薬品情報を前記可変カセット又は前記装着部に割り当て可能な割当処理部と、
前記割当処理部によって前記可変カセット又は前記装着部に割り当てられた前記薬品情報に対応して予め設定された駆動条件に従って前記可変カセットを駆動させ、当該可変カセットから前記複数の処方データに対応する薬品を払い出し可能な駆動制御部と、
を備える薬品払出装置。
A variable cassette that can dispense any kind of chemicals,
A mounting part to which the variable cassette can be attached and detached
An allocation processing unit capable of assigning drug information of a drug to be paid out included in the plurality of prescription data to the variable cassette or the mounting unit based on the plurality of prescription data.
The variable cassette is driven by the allocation processing unit according to preset driving conditions corresponding to the variable cassette or the drug information assigned to the mounting unit, and the drug corresponding to the plurality of prescription data is driven from the variable cassette. With a drive control unit that can pay out
A chemical dispenser equipped with.
前記割当処理部は、前記複数の処方データの単位で、当該複数の処方データに含まれる払出対象の薬品の薬品情報を予め設定される割当規則に従って前記可変カセット又は前記装着部に割り当てる、
請求項1に記載の薬品払出装置。
The allocation processing unit allocates drug information of the drug to be paid out included in the plurality of prescription data to the variable cassette or the mounting unit according to a preset allocation rule in units of the plurality of prescription data.
The drug dispensing device according to claim 1.
前記割当規則には、前記複数の処方データに含まれる払出対象の薬品情報のうち当該複数の処方データにおける払出合計が多い薬品情報を優先して前記可変カセット又は前記装着部に割り当てる第1規則が含まれる、
請求項2に記載の薬品払出装置。
The allocation rule includes a first rule in which, among the drug information to be paid out included in the plurality of prescription data, drug information having a large total payout in the plurality of prescription data is preferentially assigned to the variable cassette or the mounting portion. included,
The drug dispensing device according to claim 2.
前記割当規則には、前記複数の処方データに含まれる払出対象の薬品情報のうち当該複数の処方データにおいて用法に従った服用時期単位の払い出し錠数が不均等である薬品情報を優先して前記可変カセット又は前記装着部に割り当てる第2規則が含まれる、
請求項2に記載の薬品払出装置。
In the allocation rule, among the drug information to be paid out included in the plurality of prescription data, the drug information in which the number of tablets to be paid out in units of dosage according to the usage is uneven in the plurality of prescription data is prioritized. Includes a second rule assigned to the variable cassette or the mounting portion,
The drug dispensing device according to claim 2.
前記割当規則には、前記複数の処方データに含まれる払出対象の薬品情報のうち当該複数の処方データにおける分包数が多い薬品情報を優先して前記可変カセット又は前記装着部に割り当てる第3規則が含まれる、
請求項2に記載の薬品払出装置。
In the allocation rule, among the drug information to be paid out included in the plurality of prescription data, the drug information having a large number of packages in the plurality of prescription data is preferentially assigned to the variable cassette or the mounting portion. Is included,
The drug dispensing device according to claim 2.
前記割当規則には、
前記複数の処方データに含まれる払出対象の薬品情報のうち当該複数の処方データにおける払出合計が多い薬品情報を優先して前記可変カセット又は前記装着部に割り当てる第1規則と、
前記複数の処方データに含まれる払出対象の薬品情報のうち当該複数の処方データにおいて用法に従った服用時期単位の払い出し錠数が不均等である薬品情報を優先して前記可変カセット又は前記装着部に割り当てる第2規則と、
前記複数の処方データに含まれる払出対象の薬品情報のうち当該複数の処方データにおける分包数が多い薬品情報を優先して前記可変カセット又は前記装着部に割り当てる第3規則と、
が含まれ、
前記割当処理部は、前記第1規則、前記第2規則、前記第3規則の順で優先して前記可変カセット又は前記装着部への割り当てを実行する、
請求項2に記載の薬品払出装置。
According to the allocation rule,
Among the drug information to be paid out included in the plurality of prescription data, the first rule that gives priority to the drug information having a large total payout in the plurality of prescription data and assigns it to the variable cassette or the mounting portion.
Of the drug information to be paid out included in the plurality of prescription data, the variable cassette or the mounting portion gives priority to the drug information in which the number of tablets to be paid out in units of dosing time is uneven in the plurality of prescription data. The second rule to assign to
Among the drug information to be paid out included in the plurality of prescription data, the third rule that gives priority to the drug information having a large number of packages in the plurality of prescription data and assigns it to the variable cassette or the mounting portion.
Is included,
The allocation processing unit executes allocation to the variable cassette or the mounting unit with priority in the order of the first rule, the second rule, and the third rule.
The drug dispensing device according to claim 2.
前記割当処理部は、予め設定された特定条件を満たす複数の処方データを特定し、当該特定された前記複数の処方データに基づいて、当該複数の処方データに含まれる払出対象の薬品の薬品情報を前記可変カセット又は前記装着部に割り当てる、
請求項1〜6のいずれかに記載の薬品払出装置。
The allocation processing unit identifies a plurality of prescription data satisfying preset specific conditions, and based on the specified plurality of prescription data, drug information of the drug to be paid out included in the plurality of prescription data. Is assigned to the variable cassette or the mounting portion,
The drug dispensing device according to any one of claims 1 to 6.
予め定められた種類の薬品を払出可能な固定カセットを更に備え、
前記割当処理部は、前記複数の処方データに含まれる前記薬品情報と、前記固定カセット各々から払い出し可能な前記薬品情報を示すマスター情報とに基づいて前記特定条件を満たすか否かを判断する、
請求項7に記載の薬品払出装置。
Further equipped with a fixed cassette that can dispense a predetermined type of chemicals,
The allocation processing unit determines whether or not the specific condition is satisfied based on the drug information included in the plurality of prescription data and the master information indicating the drug information that can be dispensed from each of the fixed cassettes.
The drug dispensing device according to claim 7.
予め定められた種類の薬品を払出可能な固定カセットと、
複数のセルに収容された薬品を前記セルの単位で払い出し可能な手撒きユニットと、
を更に備え、
前記割当処理部は、前記複数の処方データに含まれる払出対象の薬品情報のうち、対応する前記固定カセットが存在しない薬品情報を、前記可変カセット又は前記手撒きユニットに割り当てる、
請求項1〜8のいずれかに記載の薬品払出装置。
A fixed cassette that can dispense a predetermined type of chemicals,
A hand-spraying unit that can dispense chemicals contained in multiple cells in units of the cells,
With more
Among the drug information to be paid out included in the plurality of prescription data, the allocation processing unit allocates drug information in which the corresponding fixed cassette does not exist to the variable cassette or the hand-spreading unit.
The drug dispensing device according to any one of claims 1 to 8.
任意の種類の薬品を払出可能な可変カセットと、前記可変カセットが着脱可能な装着部と、を備える薬品払出装置の制御方法であって、
複数の処方データに基づいて当該複数の処方データに含まれる払出対象の薬品の薬品情報を前記可変カセット又は前記装着部に割り当て可能な割当ステップと、
前記割当ステップによって前記可変カセット又は前記装着部に割り当てられた前記薬品情報に対応して予め設定された駆動条件に従って前記可変カセットを駆動させ、当該可変カセットから前記複数の処方データに対応する薬品を払い出し可能な駆動ステップと、
を含む制御方法。
A control method for a chemical dispensing device including a variable cassette capable of dispensing any kind of chemicals and a mounting portion to which the variable cassette can be attached and detached.
An allocation step in which drug information of a drug to be dispensed included in the plurality of prescription data can be assigned to the variable cassette or the mounting portion based on the plurality of prescription data.
The variable cassette is driven according to the driving conditions set in advance corresponding to the drug information assigned to the variable cassette or the mounting portion by the allocation step, and the drug corresponding to the plurality of prescription data is obtained from the variable cassette. With payable drive steps
Control methods including.
任意の種類の薬品を払出可能な可変カセットと、前記可変カセットが着脱可能な装着部と、を備える薬品払出装置の制御部に、
複数の処方データに基づいて当該複数の処方データに含まれる払出対象の薬品の薬品情報を前記可変カセット又は前記装着部に割り当て可能な割当ステップと、
前記割当ステップによって前記可変カセット又は前記装着部に割り当てられた前記薬品情報に対応して予め設定された駆動条件に従って前記可変カセットを駆動させ、当該可変カセットから前記複数の処方データに対応する薬品を払い出し可能な駆動ステップと、
を実行させるための制御プログラム。
A control unit of a chemical dispensing device including a variable cassette capable of dispensing any kind of chemicals and a mounting portion to which the variable cassette can be attached and detached.
An allocation step in which drug information of a drug to be dispensed included in the plurality of prescription data can be assigned to the variable cassette or the mounting portion based on the plurality of prescription data.
The variable cassette is driven according to the driving conditions set in advance corresponding to the drug information assigned to the variable cassette or the mounting portion by the allocation step, and the drug corresponding to the plurality of prescription data is obtained from the variable cassette. With payable drive steps
A control program for executing.
JP2019536331A 2018-03-05 2019-03-04 Drug dispensing device, control method, control program Active JP7441440B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2023037793A JP2023072012A (en) 2018-03-05 2023-03-10 Medicine dispensing device, control method, and control program

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP2018038587 2018-03-05
JP2018038587 2018-03-05
PCT/JP2019/008344 WO2019172173A1 (en) 2018-03-05 2019-03-04 Medication dispensing device, control method, and control program

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2023037793A Division JP2023072012A (en) 2018-03-05 2023-03-10 Medicine dispensing device, control method, and control program

Publications (3)

Publication Number Publication Date
JPWO2019172173A1 true JPWO2019172173A1 (en) 2021-01-07
JPWO2019172173A5 JPWO2019172173A5 (en) 2022-02-10
JP7441440B2 JP7441440B2 (en) 2024-03-01

Family

ID=67846229

Family Applications (2)

Application Number Title Priority Date Filing Date
JP2019536331A Active JP7441440B2 (en) 2018-03-05 2019-03-04 Drug dispensing device, control method, control program
JP2023037793A Pending JP2023072012A (en) 2018-03-05 2023-03-10 Medicine dispensing device, control method, and control program

Family Applications After (1)

Application Number Title Priority Date Filing Date
JP2023037793A Pending JP2023072012A (en) 2018-03-05 2023-03-10 Medicine dispensing device, control method, and control program

Country Status (7)

Country Link
US (1) US11672739B2 (en)
EP (1) EP3610844A4 (en)
JP (2) JP7441440B2 (en)
KR (1) KR102686872B1 (en)
CN (1) CN110621284B (en)
TW (1) TWI772619B (en)
WO (1) WO2019172173A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7325756B2 (en) * 2020-01-29 2023-08-15 株式会社トーショー drug feeder
JPWO2021205830A1 (en) * 2020-04-08 2021-10-14
US12036185B2 (en) 2021-07-19 2024-07-16 Optum, Inc. System and method to count pills

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009096557A (en) * 2007-09-27 2009-05-07 Yuyama Manufacturing Co Ltd Hand sowing medicine supplying device, medicine hand sowing method, and medicine separately packaging device
WO2014112221A1 (en) * 2013-01-18 2014-07-24 株式会社湯山製作所 Drug delivery device, drug delivery method, drug delivery program, and recording medium
JP2017013827A (en) * 2015-06-30 2017-01-19 キヤノンマーケティングジャパン株式会社 Medicine packaging apparatus, control method for the same, and program
JP2017064376A (en) * 2015-09-30 2017-04-06 キヤノンマーケティングジャパン株式会社 Information processing device, control method thereof and program mountable on information processing device
JP2017137119A (en) * 2015-03-31 2017-08-10 キヤノンマーケティングジャパン株式会社 Information processing device, tablet supply device, control method, and program
WO2017159819A1 (en) * 2016-03-18 2017-09-21 株式会社湯山製作所 Drug dispensing device and drug dispensing program

Family Cites Families (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4886301B2 (en) 1997-03-25 2012-02-29 株式会社湯山製作所 Drug packaging device
US20070179957A1 (en) * 2001-09-19 2007-08-02 Gibson Jerry T System and Method for Disseminating Drug Information
US20060266763A1 (en) * 2005-05-31 2006-11-30 Katrin Svabo Bech Automated medication dispensing apparatus
WO2009038378A2 (en) 2007-09-21 2009-03-26 Cretem Co., Ltd. Dispenser of automatically distributing various shaped tablets in medicine packing machine and tablet dispensing method thereof
CA2965391C (en) * 2007-10-23 2019-03-05 Yuyama Mfg. Co., Ltd. Medicine dispensing system and medicine dispensing device
US8185236B2 (en) 2008-11-13 2012-05-22 Jvm Co., Ltd. Medicine discharge device of automatic medicine packing machine
JP4755714B2 (en) 2009-11-17 2011-08-24 株式会社湯山製作所 Drug dispensing device
EP2754627A4 (en) * 2011-09-06 2015-08-05 Yuyama Mfg Co Ltd Medicine cassette and medicine supply device
WO2014145444A1 (en) * 2013-03-15 2014-09-18 Pilltek Llc Systems, methods, and apparatuses for securely dispensing one or more prescribed substances to a securely identified intended user
WO2014162857A1 (en) * 2013-04-02 2014-10-09 株式会社湯山製作所 Medicine compounding system
US10073955B2 (en) * 2014-03-28 2018-09-11 Medicasafe, Inc. Method, system and apparatus for guiding and tracking medication usage
WO2016002650A1 (en) 2014-07-01 2016-01-07 株式会社湯山製作所 Drug dispensing device
WO2016047525A1 (en) 2014-09-24 2016-03-31 株式会社湯山製作所 Drug dispensing device and powdered drug preparation task assistance system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009096557A (en) * 2007-09-27 2009-05-07 Yuyama Manufacturing Co Ltd Hand sowing medicine supplying device, medicine hand sowing method, and medicine separately packaging device
WO2014112221A1 (en) * 2013-01-18 2014-07-24 株式会社湯山製作所 Drug delivery device, drug delivery method, drug delivery program, and recording medium
JP2017137119A (en) * 2015-03-31 2017-08-10 キヤノンマーケティングジャパン株式会社 Information processing device, tablet supply device, control method, and program
JP2017013827A (en) * 2015-06-30 2017-01-19 キヤノンマーケティングジャパン株式会社 Medicine packaging apparatus, control method for the same, and program
JP2017064376A (en) * 2015-09-30 2017-04-06 キヤノンマーケティングジャパン株式会社 Information processing device, control method thereof and program mountable on information processing device
WO2017159819A1 (en) * 2016-03-18 2017-09-21 株式会社湯山製作所 Drug dispensing device and drug dispensing program

Also Published As

Publication number Publication date
CN110621284B (en) 2022-08-16
TW201938456A (en) 2019-10-01
JP7441440B2 (en) 2024-03-01
KR20200123731A (en) 2020-10-30
EP3610844A1 (en) 2020-02-19
TWI772619B (en) 2022-08-01
WO2019172173A1 (en) 2019-09-12
US11672739B2 (en) 2023-06-13
KR102686872B1 (en) 2024-07-22
JP2023072012A (en) 2023-05-23
EP3610844A4 (en) 2020-04-15
CN110621284A (en) 2019-12-27
US20200170887A1 (en) 2020-06-04

Similar Documents

Publication Publication Date Title
JP6904402B2 (en) Chemical dispenser, chemical dispenser program
JP2023072012A (en) Medicine dispensing device, control method, and control program
EP2896572B1 (en) Medical pill dispensing system
US9811637B2 (en) Medical pill dispensing system
JP7307386B2 (en) Manual drug-dispensing device, support program for the manual drug-dispensing device, and recording medium recording the support program
JP6996210B2 (en) Chemical dispensing device, chemical dispensing program
JP7469693B2 (en) Dispensing support system, dispensing support method, and dispensing support program
JP6766546B2 (en) Chemical dispensing device
JP7184147B2 (en) Medicine Dispensing Device, Medicine Dispensing Program
WO2021205830A1 (en) Drug dispensing device, display control device, and drug dispensing program
JP7525792B2 (en) Drug dispensing system, drug dispensing program
JP7212851B2 (en) Powder drug dispensing business support system
JP2023010913A (en) Medicine dispenser and medicine dispensing program
JP2023043187A (en) Controller, management device, display controller, control program and management program
JP2021069914A (en) Preparation support system
JP2023004098A (en) Put-out control device, medicine put-out system, and medicine put-out program

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20220201

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20220201

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20220927

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20221125

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20221213

C60 Trial request (containing other claim documents, opposition documents)

Free format text: JAPANESE INTERMEDIATE CODE: C60

Effective date: 20230310

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20231129

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20240206

R150 Certificate of patent or registration of utility model

Ref document number: 7441440

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150