JP2023155420A - Drug registration device, program, and drug delivery device - Google Patents

Drug registration device, program, and drug delivery device Download PDF

Info

Publication number
JP2023155420A
JP2023155420A JP2023140094A JP2023140094A JP2023155420A JP 2023155420 A JP2023155420 A JP 2023155420A JP 2023140094 A JP2023140094 A JP 2023140094A JP 2023140094 A JP2023140094 A JP 2023140094A JP 2023155420 A JP2023155420 A JP 2023155420A
Authority
JP
Japan
Prior art keywords
drug
cassette
injection
medicine
injection drug
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.)
Pending
Application number
JP2023140094A
Other languages
Japanese (ja)
Inventor
卓也 益山
Takuya Masuyama
浩貴 清水
Hirotaka Shimizu
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 JP2023155420A publication Critical patent/JP2023155420A/en
Pending legal-status Critical Current

Links

Images

Abstract

To allow users such as pharmacists can easily register shape models.SOLUTION: A control unit (190) of an injection drug dispensing device includes: an information acquisition unit (211) for acquiring input container type information and container size information; a model creation unit (212) for identifying a shape template corresponding to the type indicated by the type information, and creating a shape model by enlarging or reducing the identified shape template on the basis of the size information; and a model registration unit (214) for registering the shape model created by the model creation unit.SELECTED DRAWING: Figure 65

Description

本発明は、薬剤を収容するカセットを取り扱う薬剤カセット取扱装置、及び、薬剤カセット取扱装置を備えた薬剤払出装置に関する。 The present invention relates to a drug cassette handling device that handles cassettes containing drugs, and a drug dispensing device equipped with the drug cassette handling device.

従来から、返品(回収)された薬剤を仕分ける薬剤仕分装置、及びトレイに収容された薬剤を払出す薬剤払出装置の開発が行われている。例えば、薬剤仕分装置の一例が特許文献1に開示されている。 BACKGROUND ART Conventionally, drug sorting devices that sort returned (collected) drugs and drug dispensing devices that dispense drugs stored in trays have been developed. For example, an example of a drug sorting device is disclosed in Patent Document 1.

特許文献1の薬剤仕分装置では、仕分トレイ設置部に設置された仕分トレイから取り出した薬剤の種類を判別した後、当該薬剤を収納ボックスへと収納する。具体的には、仕分トレイ設置部には複数の仕分トレイを保管可能であり、保管された仕分トレイのうち、最上段に保管された仕分トレイ内の薬剤が、薬剤の種類判別対象として取り出される。 In the medicine sorting device of Patent Document 1, after determining the type of medicine taken out from a sorting tray installed in a sorting tray installation section, the medicine is stored in a storage box. Specifically, a plurality of sorting trays can be stored in the sorting tray installation section, and among the stored sorting trays, the drug in the sorting tray stored at the top is taken out as a target for drug type determination. .

なお、薬剤払出装置の周辺装置(例:プリンタ装置)に関する技術が、例えば特許文献2~5に開示されている。 Note that techniques related to peripheral devices (eg, printer devices) for medicine dispensing devices are disclosed, for example, in Patent Documents 2 to 5.

特開2015-51040号公報(2015年3月19日公開)Japanese Patent Application Publication No. 2015-51040 (published on March 19, 2015) 特開2005-132565号公報(2005年5月26日公開)Japanese Patent Application Publication No. 2005-132565 (published on May 26, 2005) 特開2015-13177号公報(2015年1月22日公開)Japanese Patent Application Publication No. 2015-13177 (published on January 22, 2015) 特開2012-136240号公報(2012年7月19日公開)Japanese Patent Application Publication No. 2012-136240 (published on July 19, 2012) WO2011/138857号公報(2011年11月10日公開)WO2011/138857 (published on November 10, 2011)

本発明の一態様に係る薬剤向き登録装置は、薬剤に付された図形を前記薬剤から読取ることにより、前記図形の向きを特定する図形向き特定部と、前記薬剤の向きを設定する薬剤向き設定部と、前記図形向き特定部により特定された前記図形の向きと、前記薬剤向き設定部により設定された前記薬剤の向きとに基づき、前記図形の向き及び前記薬剤の向きの関係を示す向き情報を、前記薬剤の種類に紐付けて登録する情報登録部と、を備える。 A drug orientation registration device according to one aspect of the present invention includes a graphic orientation identifying unit that identifies the orientation of the graphic by reading a graphic attached to the medication from the medication, and a medication orientation setting that sets the orientation of the medication. direction information indicating a relationship between the orientation of the graphic and the orientation of the drug based on the orientation of the graphic specified by the graphic orientation specifying unit and the orientation of the medication set by the medication orientation setting unit. and an information registration unit that registers the information in association with the type of drug.

本実施形態に係る注射薬払出装置の構成を示すブロック図である。FIG. 1 is a block diagram showing the configuration of an injection drug dispensing device according to the present embodiment. 本実施形態に係る注射薬払出装置を含む注射薬払出システムの構成の例を示す図である。1 is a diagram showing an example of the configuration of an injection drug dispensing system including an injection drug dispensing device according to the present embodiment. 本実施形態に係る注射薬払出装置の斜視図である。FIG. 1 is a perspective view of an injection drug dispensing device according to the present embodiment. カセット棚の拡大斜視図である。It is an enlarged perspective view of a cassette shelf. 特定処理部及びカセット保持部の正面図である。It is a front view of a specific processing part and a cassette holding part. カセット保持部の平面図である。It is a top view of a cassette holding part. 特定処理部及び薬剤仕分部の、図3とは別の角度からの斜視図である。FIG. 4 is a perspective view of a specific processing section and a drug sorting section from a different angle from that shown in FIG. 3; 特定処理部及び薬剤仕分部の一部の平面図である。It is a top view of a part of specific processing part and medicine sorting part. 薬剤移動部の正面図である。FIG. 3 is a front view of the drug transfer unit. (a)は、カセット移送部の、図3とは別の角度からの斜視図であり、(b)は、(a)に示したカセット移送部の要部の拡大図である。(a) is a perspective view of the cassette transfer section from a different angle from that shown in FIG. 3, and (b) is an enlarged view of the main parts of the cassette transfer section shown in (a). 注射薬払出装置の前面に平行な面における方向揃えカセットの断面図である。FIG. 3 is a cross-sectional view of the orientation cassette in a plane parallel to the front surface of the injection dispensing device. 大型返品薬カセットの形状を示す図であって、(a)は平面図であり、(b)は(a)のA-A線における断面図である。FIG. 3 is a diagram showing the shape of a large-sized returned medicine cassette, in which (a) is a plan view and (b) is a cross-sectional view taken along the line AA in (a). 中小型返品薬カセットの形状を示す図であって、(a)は平面図であり、(b)は(a)のB-B線における断面図であり、(c)は(a)のC-C線における断面図である。FIG. 3 is a diagram showing the shape of a small and medium-sized returned medicine cassette, in which (a) is a plan view, (b) is a cross-sectional view taken along line BB in (a), and (c) is a cross-sectional view along line C in (a). - It is a sectional view taken along the C line. 注射薬払出装置が注射薬を払い出す場合の動作を示すフローチャートである。It is a flowchart which shows the operation when an injection medicine dispensing device dispenses an injection medicine. 返品薬に対する注射薬払出装置の動作を示すフローチャートである。It is a flowchart showing the operation of the injection medicine dispensing device for returned medicines. カセット保持部に保持されるカセットの配置の例を示す図である。It is a figure showing an example of arrangement of a cassette held by a cassette holding part. 形状モデルの登録処理について説明するための図であり、(a)は当該登録処理の一例を示すフローチャートであり、(b)は形状モデルが示す注射薬の形状を模式的に表した図である。FIG. 2 is a diagram for explaining the registration process of a shape model, (a) is a flowchart showing an example of the registration process, and (b) is a diagram schematically representing the shape of the injection drug indicated by the shape model. . 初期設定処理の一例を示すフローチャートである。3 is a flowchart illustrating an example of initial setting processing. 各座標系を説明するための図である。FIG. 3 is a diagram for explaining each coordinate system. (a)~(c)は、座標変換処理を説明するための図である。(a) to (c) are diagrams for explaining coordinate transformation processing. カセットに収容された注射薬の吸着位置を決定する処理の一例を示す図である。It is a figure which shows an example of the process which determines the adsorption position of the injection medicine accommodated in the cassette. (a)及び(b)は、画像におけるカセットの検出について説明するための図である。(a) and (b) are diagrams for explaining detection of a cassette in an image. (a)及び(b)は、レンズ歪みに起因した位置ずれの補正を説明するための図である。(a) and (b) are diagrams for explaining correction of positional deviation caused by lens distortion. 注射薬の幅に起因した位置ずれの補正を説明するための図である。FIG. 3 is a diagram for explaining correction of positional deviation caused by the width of an injection drug. (a)~(c)は、投影に係る位置ずれの補正を説明するための図である。(a) to (c) are diagrams for explaining correction of positional deviation related to projection. カセットの一例を示す図であり、(a)は分割部材を装着前の状態、(b)は分割部材を装着後の状態を示す図である。It is a figure which shows an example of a cassette, (a) is a state before attachment of a dividing member, (b) is a figure which shows the state after attachment of a dividing member. (a)及び(b)は、カセット移送部の詳細図である。(a) and (b) are detailed views of the cassette transfer section. 注射薬払出装置の構成を示すブロック図である。FIG. 2 is a block diagram showing the configuration of an injection drug dispensing device. カセットの保管位置の特定処理の一例を示すフローチャートである。7 is a flowchart illustrating an example of a process for specifying a storage position of a cassette. (a)及び(b)は、センサ及び反射板の設置位置の一例を説明するための図である。(a) and (b) are diagrams for explaining an example of installation positions of a sensor and a reflector. 移動速度情報の一例を示す表である。It is a table showing an example of moving speed information. (a)は、薬剤搬送部の移動機構の構成例を示す図であり、(b)及び(c)は、薬剤搬送部の吸着機構の動作例を示す図である。(a) is a diagram showing an example of the configuration of a moving mechanism of the drug transport unit, and (b) and (c) are diagrams showing an example of the operation of the adsorption mechanism of the medicine transport unit. (a)及び(b)は、期限読取用カメラによる画像処理のタイミング調整の一例について説明するための図である。(a) and (b) are diagrams for explaining an example of timing adjustment of image processing by a time limit reading camera. (a)~(f)は、払出不可の注射薬があった場合の処理の一例を説明するための図である。(a) to (f) are diagrams for explaining an example of processing when there is an injection drug that cannot be dispensed. 小型トレイが搬送トレイに載置された状態を示す図である。FIG. 3 is a diagram showing a state in which a small tray is placed on a transport tray. (a)は、小型トレイの一例を示す斜視図、(b)は、小型トレイの一例を示す平面図、(c)は、小型トレイの一例を示すA-A’断面図である。(a) is a perspective view showing an example of a small tray, (b) is a plan view showing an example of the small tray, and (c) is a sectional view taken along line A-A' showing an example of the small tray. プリンタ装置の一例を示す斜視図である。FIG. 1 is a perspective view showing an example of a printer device. プリンタ装置の一例を示すブロック図である。FIG. 1 is a block diagram showing an example of a printer device. プリンタ装置の底部の一例を示す平面図である。FIG. 3 is a plan view showing an example of the bottom of the printer device. 搬送トレイ印字装置の一例を示す正面図である。FIG. 2 is a front view showing an example of a conveyance tray printing device. (a)は、輸液ラベル払出装置、及び輸液ラベル搬送機構の一例を示す斜視図であり、(b)及び(c)は、輸液ラベル払出装置が備える輸液ラベル受取部の一例を示す斜視図である。(a) is a perspective view showing an example of an infusion label dispensing device and an infusion label transport mechanism, and (b) and (c) are perspective views showing an example of an infusion label receiving section included in the infusion label dispensing device. be. 輸液ラベル払出装置の一例を示す平面図である。FIG. 2 is a plan view showing an example of an infusion label dispensing device. (a)~(d)は、輸液ラベル搬送機構による輸液ラベルの把持動作の一例について説明するための図である。(a) to (d) are diagrams for explaining an example of an operation of grasping an infusion label by the infusion label transport mechanism. (a)~(d)は、輸液ラベル搬送機構による輸液ラベルの搬送動作の一例について説明するための図である。(a) to (d) are diagrams for explaining an example of an operation of transporting an infusion label by an infusion label transport mechanism. (a)及び(b)は、搬送トレイにおける輸液ラベルの載置位置について説明するための図である。(a) and (b) are diagrams for explaining placement positions of infusion labels on the transport tray. 注射箋払出装置の一例を示す図であり、(a)は、注射箋払出装置の一例を示す正面図であり、(b)及び(c)は、注射箋受取部の一例を示す斜視図である。1 is a diagram showing an example of a injection tablet dispensing device, in which (a) is a front view showing an example of the injection tablet dispensing device, and (b) and (c) are perspective views showing an example of an injection tablet receiving section. be. (a)及び(b)は、注射箋搬送機構の一例を示す斜視図である。(a) and (b) are perspective views showing an example of an injection tablet transport mechanism. (a)~(d)は、注射箋把持機構による注射箋の搬送動作の一例について説明するための図である。(a) to (d) are diagrams for explaining an example of the operation of transporting the injection tablet by the injection tablet gripping mechanism. (a)及び(b)は、輸液ラベル搬送機構が備える輸送ラベル把持部の一例を示す斜視図である。(a) and (b) are perspective views showing an example of a transport label gripping part included in the infusion label transport mechanism. (a)は、分割部材を装着したときのカセットの一例を示す図であり、(b)は、カセットを2分割して使用するときのデータテーブルの一例を示す図である。(a) is a diagram showing an example of a cassette when a dividing member is attached, and (b) is a diagram showing an example of a data table when the cassette is divided into two parts. 別例のカセット保持部を備えた注射薬払出装置の一例を示す斜視図である。It is a perspective view which shows an example of the injection medicine dispensing device provided with the cassette holding part of another example. カセット兼薬剤保持部の一例を示す図であり、(a)は、カセット兼薬剤保持部の概略的な分解断面図であり、(b)は転がり防止シートの一例を示す斜視図であり、(c)は、光源が点灯した状態におけるカセット兼薬剤保持部の一例を示す平面図である。FIG. 3 is a diagram showing an example of a cassette-cum-drug holding part, (a) is a schematic exploded sectional view of the cassette-cum-drug holding part, and (b) is a perspective view showing an example of a rolling prevention sheet. c) is a plan view showing an example of the cassette-cum-drug holding part in a state where the light source is turned on; 照明部材の概略的な配置例を示す図である。It is a figure showing an example of rough arrangement of lighting members. 返品薬に対する注射薬払出装置の動作の別例を示すフローチャートである。It is a flowchart which shows another example of operation of an injection medicine dispensing device for returned medicine. タッチパネルに表示される画像の例を示す図である。FIG. 3 is a diagram showing an example of an image displayed on a touch panel. 別例の輸液ラベル受取部を示す図であって、(a)は斜視図であり、(b)は正面図である。It is a figure which shows the infusion label receiving part of another example, Comprising: (a) is a perspective view, (b) is a front view. (a)~(d)は、輸液ラベルの搬送例について説明するための図である。(a) to (d) are diagrams for explaining an example of transportation of an infusion label. 大型返品薬カセットの一例を示す斜視図である。It is a perspective view showing an example of a large-sized returned medicine cassette. (a)は、大型返品薬カセットの平面図、(b)及び(c)は、中小型返品薬カセットの側面図である。(a) is a plan view of a large-sized returned medicine cassette, and (b) and (c) are side views of small and medium-sized returned medicine cassettes. 大型返品薬カセットにおける凹部の傾斜の一例を示す断面図である。It is a sectional view showing an example of the inclination of the recessed part in a large-sized return medicine cassette. 中小型返品薬カセットの一例を示す斜視図である。It is a perspective view showing an example of a small and medium-sized returned medicine cassette. (a)は、中小型返品薬カセットの平面図、(b)及び(c)は、中小型返品薬カセットの側面図である。(a) is a plan view of a small and medium-sized returned medicine cassette, and (b) and (c) are side views of the small and medium-sized returned medicine cassette. 中型薬載置領域における凹部の傾斜の一例を示す断面図である。FIG. 3 is a cross-sectional view showing an example of the slope of a recess in a medium-sized medicine placement area. 小型薬載置領域における凹部の傾斜の一例を示す断面図である。FIG. 3 is a cross-sectional view showing an example of the slope of a recess in a small medicine placement area. 注射薬払出装置の構成の一例を示すブロック図である。FIG. 2 is a block diagram showing an example of the configuration of an injection drug dispensing device. バイアルの一例と、バイアルの形状テンプレート及び簡易形状モデルの一例と、を示す図である。It is a figure which shows an example of a vial, and an example of the shape template and simple shape model of a vial. アンプルの一例と、アンプルの形状テンプレート及び簡易形状モデルの一例と、を示す図である。FIG. 2 is a diagram showing an example of an ampoule, and an example of a shape template and a simple shape model of the ampoule. プラスチックアンプルの一例と、プラスチックアンプルの形状テンプレート及び簡易形状モデルの一例と、を示す図である。It is a figure which shows an example of a plastic ampoule, and an example of the shape template and simple shape model of a plastic ampoule. スティックアンプルの一例と、スティックアンプルの形状テンプレート及び簡易形状モデルの一例と、を示す図である。It is a figure which shows an example of a stick ampoule, and an example of the shape template and simple shape model of a stick ampoule. 位置変更部における注射薬の載置方向と、注射薬に付された注射薬識別情報の向きとの対応関係の一例を示す図である。It is a figure which shows an example of the correspondence between the mounting direction of the injection medicine in a position change part, and the direction of the injection medicine identification information attached|subjected to the injection medicine. 簡易形状モデルの登録処理、及び注射薬識別情報の向きの登録処理の一例を示すフローチャートである。12 is a flowchart illustrating an example of a simple shape model registration process and an orientation registration process of injection drug identification information. モデル登録画像の一例を示す図である。It is a figure which shows an example of a model registration image. モデル登録画像の一例を示す図である。It is a figure which shows an example of a model registration image. モデル登録画像の一例を示す図である。It is a figure which shows an example of a model registration image. モデル登録画像の一例を示す図である。It is a figure which shows an example of a model registration image. モデル登録画像の一例を示す図である。It is a figure which shows an example of a model registration image.

本明細書において、「1患者への投与に係る処方データ」は、少なくとも以下の(1)~(3)の何れかを指すものであっても構わない。
(1)1患者へ投与される薬剤に関するデータ(1患者単位の処方データ)。
(2)1患者へ投与される1回分の薬剤に関するデータ(1処方単位の処方データ)。
(3)1患者へ投与される1回分の薬剤に対して処方時に分類が付与されている場合の、その分類に関するデータ(1RP(レシピ)単位の処方データ)。
In this specification, "prescription data regarding administration to one patient" may refer to at least any of the following (1) to (3).
(1) Data regarding drugs administered to one patient (prescription data for each patient).
(2) Data regarding one dose of drug administered to one patient (prescription data for one prescription unit).
(3) When a classification is assigned to one dose of a drug administered to one patient at the time of prescription, data regarding the classification (prescription data in units of 1 RP (recipe)).

また、薬剤とは、容器等に収容されていない薬剤自体のほか、容器等に収容された状態の薬剤(例:アンプル、バイアル、注射キット、及びPTP(Press Through Pack)シート)も含む。本実施形態では、主として、薬剤が注射薬(注射薬を収容したアンプル又はバイアルを含む)であるものとして説明する。 Further, the term "medicine" includes not only the drug itself that is not contained in a container or the like, but also the drug that is contained in a container or the like (eg, an ampoule, a vial, an injection kit, and a PTP (Press Through Pack) sheet). In this embodiment, the explanation will be given mainly on the assumption that the drug is an injection drug (including an ampoule or a vial containing an injection drug).

〔注射薬払出システムの概要〕
図2は、本実施形態に係る注射薬払出装置100(薬剤カセット取扱装置)を含む注射薬払出システム1(薬剤払出装置)の構成の例を示す図である。図2に示すように、注射薬払出システム1は、供給リフタ11と、注射薬払出装置100と、プリンタ装置13と、排出リフタ14とを備える。注射薬払出システム1は、医師等の処方に基づき患者に投与される注射薬の種類及び数等のデータを含む処方データが提供されることで動作する。注射薬払出システム1に提供される処方データは、注射薬の投与対象となる複数の患者分の注射薬の種類及び数等を含むデータである。処方データは、例えば、病棟によって管理されており、所定の期日毎に、所定の期間分の処方データが病棟から注射薬払出システム1へと送信される。注射薬払出システム1は、受信した処方データに基づいて、患者ごとの1回の投与に係る注射薬を払い出す。払い出された注射薬を受けるための搬送トレイ151a(図7参照)が、注射薬払出システム1内を通過する。
[Overview of injection drug dispensing system]
FIG. 2 is a diagram showing an example of the configuration of an injection drug dispensing system 1 (drug dispensing device) including an injectable drug dispensing device 100 (drug cassette handling device) according to the present embodiment. As shown in FIG. 2, the injection drug dispensing system 1 includes a supply lifter 11, an injection drug dispensing device 100, a printer device 13, and a discharge lifter 14. The injection drug dispensing system 1 operates by being provided with prescription data including data such as the type and number of injection drugs to be administered to a patient based on a prescription by a doctor or the like. The prescription data provided to the injection drug dispensing system 1 is data including the type and number of injection drugs for a plurality of patients to whom injection drugs are to be administered. The prescription data is managed by the ward, for example, and prescription data for a predetermined period is transmitted from the ward to the injection drug dispensing system 1 every predetermined date. The injection drug dispensing system 1 dispenses an injection drug for one administration to each patient based on the received prescription data. A transport tray 151a (see FIG. 7) for receiving the dispensed injection medicine passes through the injection medicine dispensing system 1.

供給リフタ11は、処方データの提供に合わせて注射薬払出システム1内を通過する搬送トレイ151aを供給する装置である。注射薬払出装置100は、注射薬払出システム1に提供された処方データに含まれる、1患者への投与に係る処方データに基づいて搬送トレイ151aに注射薬を払い出す装置である。プリンタ装置13は、処方データに示されている注射薬の種類などの情報を搬送トレイ151aに印字する。排出リフタ14は、注射薬の払い出し及び情報の印字が終了した搬送トレイ151aを注射薬払出システム1から排出する。 The supply lifter 11 is a device that supplies the transport tray 151a that passes through the injection drug dispensing system 1 in accordance with the provision of prescription data. The injection drug dispensing device 100 is a device that dispenses an injection drug to the transport tray 151a based on prescription data related to administration to one patient, which is included in the prescription data provided to the injection drug dispensing system 1. The printer device 13 prints information such as the type of injection drug indicated in the prescription data on the transport tray 151a. The discharge lifter 14 discharges the transport tray 151a on which the injection medicine has been dispensed and the information has been printed, from the injection medicine dispensing system 1.

〔注射薬払出装置の構成〕
図1は、本実施形態に係る注射薬払出装置100の構成を示すブロック図である。図3は、注射薬払出装置100の斜視図である。なお、図3においては、注射薬払出装置100の内部を可視化するため、図2において示されていた外装を取り外した状態を示している。
[Configuration of injection drug dispensing device]
FIG. 1 is a block diagram showing the configuration of an injection drug dispensing device 100 according to this embodiment. FIG. 3 is a perspective view of the injection drug dispensing device 100. Note that, in order to visualize the inside of the injection drug dispensing device 100, FIG. 3 shows a state in which the exterior shown in FIG. 2 has been removed.

図1及び図3に示すように、注射薬払出装置100は、カセット棚110と、特定処理部120と、カセット保持部130と、カセット移送部140と、薬剤仕分部150と、記憶部180と、制御部190とを備える。特に、カセット棚110、特定処理部120、カセット保持部130、及びカセット移送部140を総称して薬剤カセット取扱装置200と称する。 As shown in FIGS. 1 and 3, the injection drug dispensing device 100 includes a cassette shelf 110, a specific processing section 120, a cassette holding section 130, a cassette transfer section 140, a drug sorting section 150, and a storage section 180. , and a control unit 190. In particular, the cassette shelf 110, the specific processing section 120, the cassette holding section 130, and the cassette transfer section 140 are collectively referred to as a drug cassette handling device 200.

カセット棚110は、注射薬(薬剤)を収容するm個のカセットCaを保管する棚である。mは3以上の整数である。本実施形態では、カセット棚110は、鉛直面内で行列状にカセットCaを保管している。m個のカセットCaのそれぞれには、予め薬種毎に注射薬が収容される。また、少なくとも2つのカセットCaには互いに異なる種類の注射薬が収容されている。また、後述するように、m個のカセットの全てがカセットCaである必要は必ずしもなく、例えば、m個のカセットの一部として、返品薬を取り扱うためのカセットが含まれていても構わない。 The cassette shelf 110 is a shelf that stores m cassettes Ca containing injection drugs (drugs). m is an integer of 3 or more. In this embodiment, the cassette shelf 110 stores cassettes Ca in a matrix in a vertical plane. Each of the m cassettes Ca stores injection drugs for each drug type in advance. Furthermore, different types of injection drugs are stored in at least two cassettes Ca. Furthermore, as will be described later, all of the m cassettes do not necessarily need to be cassettes Ca, and for example, a cassette for handling returned medicines may be included as part of the m cassettes.

以下の説明では、カセットCaがカセット棚110に挿入される方向を奥行き方向と称する。また、水平面に平行な面において奥行き方向に垂直な方向を幅方向と称する。 In the following description, the direction in which the cassette Ca is inserted into the cassette shelf 110 will be referred to as the depth direction. Further, a direction perpendicular to the depth direction in a plane parallel to the horizontal plane is referred to as a width direction.

図4は、カセット棚110の拡大斜視図である。図4に示すように、カセット棚110は、鉛直方向に平行、かつ奥行き方向に平行な複数の壁材111を備える。複数の壁材111の間隔は、カセットCaの幅よりも大きい。 FIG. 4 is an enlarged perspective view of the cassette shelf 110. As shown in FIG. 4, the cassette shelf 110 includes a plurality of wall materials 111 that are parallel to the vertical direction and parallel to the depth direction. The interval between the plurality of wall materials 111 is larger than the width of the cassette Ca.

それぞれの壁材111からは、複数の支持部材112が幅方向に延出している。互いに隣接する壁材111の、互いに対向する面においては、それぞれの支持部材112の高さは互いに等しい。また、互いに対向する支持部材112の先端同士の間隔は、カセットCaの幅よりも小さい。このため、カセット棚110において、壁材111の間に挿入されたカセットCaは、幅方向における両端を支持部材112に支持された状態で保管される。 A plurality of support members 112 extend from each wall material 111 in the width direction. On the opposing surfaces of the wall materials 111 adjacent to each other, the heights of the respective support members 112 are equal to each other. Further, the distance between the ends of the supporting members 112 that face each other is smaller than the width of the cassette Ca. Therefore, in the cassette shelf 110, the cassette Ca inserted between the wall materials 111 is stored with both ends in the width direction supported by the support members 112.

カセットCaは、奥行き方向の手前側から奥側へ向かって挿入される。支持部材112の手前側端部の上面には、突起113が形成されている。突起113の上端と、突起113の上側の支持部材112との間の距離は、カセットCaの厚さ(高さ)よりも大きい。このため、カセットCaは、突起113の上側からカセット棚110に挿入されることができる。また、カセット棚110に保管されているカセットCaが手前側へ水平移動した場合、突起113に引っ掛かるため、カセットCaがカセット棚110から滑落する虞は小さい。 The cassette Ca is inserted from the front side toward the back side in the depth direction. A protrusion 113 is formed on the upper surface of the front end of the support member 112 . The distance between the upper end of the protrusion 113 and the support member 112 above the protrusion 113 is greater than the thickness (height) of the cassette Ca. Therefore, the cassette Ca can be inserted into the cassette shelf 110 from above the protrusion 113. Further, when the cassette Ca stored on the cassette shelf 110 horizontally moves toward the front side, the cassette Ca is caught on the protrusion 113, so there is little risk of the cassette Ca slipping off the cassette shelf 110.

カセットCaに収容される注射薬は、アンプル又はバイアルといった容器に収容されている。本実施形態では、注射薬は、整列していない状態でカセットCaに収容されている。ただし、注射薬は、整列した状態でカセットCaに収容されていても構わない。また、カセットCaに、注射薬の代わりに錠剤や軟膏といった薬品が収容されていてもよい。また、カセットCaに、薬剤以外の物品が収容されていてもよい。 The injection drug contained in the cassette Ca is contained in a container such as an ampoule or a vial. In this embodiment, the injection drugs are housed in the cassette Ca in an unaligned manner. However, the injection drugs may be housed in the cassette Ca in an aligned state. Furthermore, the cassette Ca may contain medicines such as tablets and ointments instead of injection medicines. Furthermore, the cassette Ca may contain items other than medicines.

アンプル及びバイアルには、収容する注射薬の種類に応じて異なる形状を有するものが存在する。カセットCaは、当該カセットCaに収容するアンプル又はバイアルの形状に応じて異なる形状(例えば高さ)を有していてもよい。カセットCaは、例えば直径が28mm以下のアンプル又はバイアルを収容する小カセットと、直径が28mmを超えるアンプル又はバイアルを収容する大カセットとを含んでいてもよい。 Ampules and vials have different shapes depending on the type of injection drug they contain. The cassette Ca may have a different shape (for example, height) depending on the shape of the ampoule or vial accommodated in the cassette Ca. The cassette Ca may include, for example, a small cassette that accommodates ampoules or vials with a diameter of 28 mm or less, and a large cassette that accommodates ampoules or vials with a diameter of more than 28 mm.

図5は、特定処理部120及びカセット保持部130の正面図である。図5には、理解を助ける目的で、カセット棚110も併せて示されている。 FIG. 5 is a front view of the specific processing section 120 and the cassette holding section 130. A cassette shelf 110 is also shown in FIG. 5 for the purpose of aiding understanding.

カセット保持部130は、カセット棚110に保管されているカセットCaのうち、特定処理部120による特定処理を受けるカセットCaをn個まで一時的に保持可能である。nの値は2以上かつm未満(m>n≧2)であってよく、本実施形態ではnの値は4である。 The cassette holding unit 130 can temporarily hold up to n cassettes Ca to be subjected to specific processing by the specific processing unit 120, among the cassettes Ca stored on the cassette shelf 110. The value of n may be 2 or more and less than m (m>n≧2), and in this embodiment, the value of n is 4.

図6は、カセット保持部130の平面図である。図6に示すように、カセット保持部130は、4つのカセット保持部130a~130dの集合である。なお、カセット保持部130の数は、4つに限定されず、上述したnの値、すなわちカセット保持部130が保持可能なカセットCaの数に等しい。カセットCaは、カセット保持部130a~130dのいずれかに載置されることで保持される。また、カセット保持部130a~130dのそれぞれの下側には、カセット保持部130a~130dを奥行き方向に往復運動させる駆動機構133a~133dが設けられている。 FIG. 6 is a plan view of the cassette holding section 130. As shown in FIG. 6, the cassette holding section 130 is a collection of four cassette holding sections 130a to 130d. Note that the number of cassette holding sections 130 is not limited to four, and is equal to the value of n mentioned above, that is, the number of cassettes Ca that the cassette holding section 130 can hold. The cassette Ca is held by being placed on one of the cassette holding sections 130a to 130d. Furthermore, drive mechanisms 133a to 133d for reciprocating the cassette holders 130a to 130d in the depth direction are provided below each of the cassette holders 130a to 130d.

カセット保持部130a~130dには、カセット移送部140からカセットCaを受け入れるカセット受入位置131と、カセットCaが特定処理部120による特定処理を受けるための処理位置132とが存在する。詳細には、カセット保持部130a~130dのそれぞれについて、カセット受入位置131a~131dと、処理位置132a~132dとが存在する。カセット保持部130a~130dは、駆動機構133a~133dにより奥行き方向に往復運動することで、カセット受入位置131a~131dと処理位置132a~132dとの間でカセットCaを往復移動させる。換言すれば、カセット保持部130は、カセットCaを処理位置132へ向けて水平方向に移動させる。図6では、カセット保持部130bが処理位置132bに位置し、他のカセット保持部130a、130c及び130dがそれぞれカセット受入位置131a、131c及び131dに位置する状態が示されている。このように、カセット保持部130a~130dのそれぞれは、互いに独立してカセットCaを往復移動させることができる。なお、カセット保持部130a~130dのうちの、2以上のカセット保持部が、対応する処理位置132a~132dに位置してもよい。 The cassette holding sections 130a to 130d include a cassette receiving position 131 that receives the cassette Ca from the cassette transfer section 140, and a processing position 132 where the cassette Ca undergoes specific processing by the specific processing section 120. Specifically, each of the cassette holders 130a to 130d has cassette receiving positions 131a to 131d and processing positions 132a to 132d. The cassette holding parts 130a to 130d reciprocate in the depth direction by drive mechanisms 133a to 133d, thereby reciprocating the cassette Ca between the cassette receiving positions 131a to 131d and the processing positions 132a to 132d. In other words, the cassette holding section 130 moves the cassette Ca toward the processing position 132 in the horizontal direction. FIG. 6 shows a state in which the cassette holding section 130b is located at the processing position 132b, and the other cassette holding sections 130a, 130c, and 130d are located at the cassette receiving positions 131a, 131c, and 131d, respectively. In this way, each of the cassette holders 130a to 130d can reciprocate the cassette Ca independently of each other. Note that two or more of the cassette holders 130a to 130d may be located at corresponding processing positions 132a to 132d.

また、カセット保持部130aには、カセットCaの重量を計測するためのロードセル134が設けられている。カセットCa自体の(すなわち注射薬の重量を含まない)重量、及びカセットCaに収容されている注射薬の1つ当たりの重量は既知である。このため、ロードセル134によりカセットCa全体の重量を計測することで、カセットCaに収容されている注射薬の数、すなわち注射薬払出装置100における注射薬の在庫を算出することができる。この算出処理は、例えばある日の夕方にその日の注射薬の払出処理がすべて完了し、各カセットCaに注射薬が充填された後、翌朝に注射薬の払出処理が開始されるまでの間に実行される。 Further, the cassette holding section 130a is provided with a load cell 134 for measuring the weight of the cassette Ca. The weight of the cassette Ca itself (ie, not including the weight of the injection drug) and the weight of each injection drug contained in the cassette Ca are known. Therefore, by measuring the weight of the entire cassette Ca using the load cell 134, it is possible to calculate the number of injections stored in the cassette Ca, that is, the inventory of injections in the injection medicine dispensing device 100. This calculation process is performed, for example, after all the injection drug dispensing processes for that day are completed in the evening of a certain day and each cassette Ca is filled with injection drugs, until the injection drug dispensing process starts the next morning. executed.

特定処理部120は、カセットCaに収容された注射薬に対して特定処理を行う。本実施形態では、特定処理は、払出対象となる注射薬を含むカセットCaをカセット棚110から取出し、注射薬の種類及び有効期限を特定するまでの処理を少なくとも含む。また、特定処理は、後述する返品薬を含む返品薬受入カセット161(図16参照)、大型返品薬カセット163(図12参照)又は中小型返品薬カセット164(図13参照)をカセット棚110から取出し、返品薬の種類及び有効期限を特定するまでの処理を少なくとも含むものであってもよい。上記特定処理を実現すべく、特定処理部120は、薬剤搬送部121と、位置特定用カメラ122(第1撮影部)と、バーコードリーダー123及び124(読取部)と、期限読み取り用カメラ125(第2撮影部)と、位置変更部126と、薬剤回転部127と、第1判別処理部195(後述)と、第2判別処理部196(後述)と、を含む。 The specific processing unit 120 performs specific processing on the injection drug accommodated in the cassette Ca. In this embodiment, the identification process includes at least a process from taking out the cassette Ca containing the injection drug to be dispensed from the cassette shelf 110 to specifying the type and expiration date of the injection drug. In addition, the identification process includes a returned medicine receiving cassette 161 (see FIG. 16) containing returned medicines, which will be described later, a large returned medicine cassette 163 (see FIG. 12), or a small and medium-sized returned medicine cassette 164 (see FIG. 13) from the cassette shelf 110. It may also include at least processing up to specifying the type and expiration date of the medicine to be returned. In order to realize the above identification process, the identification processing unit 120 includes a drug transport unit 121, a position identification camera 122 (first imaging unit), barcode readers 123 and 124 (reading unit), and an expiration date reading camera 125. (second imaging section), a position change section 126, a drug rotation section 127, a first discrimination processing section 195 (described later), and a second discrimination processing section 196 (described later).

位置特定用カメラ122は、カセット棚110の下側に設けられたカメラである。位置特定用カメラ122は、カセットCaから取り出す注射薬を特定するための撮影を行う。 The position specifying camera 122 is a camera provided below the cassette shelf 110. The position specifying camera 122 performs photographing to specify the injection drug to be taken out from the cassette Ca.

図5及び図6に示すように、本実施形態の注射薬払出装置100は、位置特定用カメラ122として、2つの位置特定用カメラ122a及び122bを備える。図6に示すように、位置特定用カメラ122aは、処理位置132a及び132bの境界線の中央付近の直上に設けられ、処理位置132a及び132bを含む撮影領域122cを撮影する。また、位置特定用カメラ122bは、処理位置132c及び132dの境界線の中央付近の直上に設けられ、処理位置132c及び132dを含む撮影領域122dを撮影する。したがって、2つの位置特定用カメラ122a及び122bにより、4つの処理位置132a~132dに位置するカセットCaの内部を撮影することができる。 As shown in FIGS. 5 and 6, the injection drug dispensing device 100 of this embodiment includes two position specifying cameras 122a and 122b as the position specifying camera 122. As shown in FIG. 6, the position specifying camera 122a is provided directly above the center of the boundary line between the processing positions 132a and 132b, and photographs a photographing area 122c including the processing positions 132a and 132b. Further, the position specifying camera 122b is provided directly above the center of the boundary line between the processing positions 132c and 132d, and photographs a photographing area 122d including the processing positions 132c and 132d. Therefore, the two position specifying cameras 122a and 122b can photograph the inside of the cassette Ca located at the four processing positions 132a to 132d.

図7は、特定処理部120及び薬剤仕分部150の、図3とは別の角度からの斜視図である。図7においては、カセット保持部130は省略されている。図8は、特定処理部120及び薬剤仕分部150の一部の平面図である。 FIG. 7 is a perspective view of the specific processing section 120 and the medicine sorting section 150 from a different angle from that of FIG. In FIG. 7, the cassette holding section 130 is omitted. FIG. 8 is a plan view of part of the specific processing section 120 and medicine sorting section 150.

位置変更部126は、水平面に垂直な軸の周りで回転可能なターンテーブルである。位置変更部126の上面には、特定処理部120が受け入れた薬剤を搭載するための第1搭載部126a(搭載部)及び第2搭載部126b(搭載部)が設けられている。本実施形態では、第1搭載部126a及び第2搭載部126bは、位置変更部126の回転軸を挟んで互いに対向する位置に設けられている凹部である。 The position changing unit 126 is a turntable that is rotatable around an axis perpendicular to the horizontal plane. A first mounting section 126a (mounting section) and a second mounting section 126b (mounting section) are provided on the upper surface of the position changing section 126 for mounting the medicine received by the specific processing section 120. In this embodiment, the first mounting part 126a and the second mounting part 126b are recessed parts provided at positions facing each other across the rotation axis of the position changing part 126.

位置変更部126は、第1搭載部126a及び第2搭載部126bの位置を、薬剤搬送部121から注射薬を受け入れる薬剤受入位置と、注射薬を払い出すために当該注射薬を上述の薬剤移動部153に受け渡す薬剤受渡位置との間で変更する。具体的には、位置変更部126が上述した軸の周りで回転することで、薬剤受入位置と薬剤受渡位置との間で第1搭載部126a及び第2搭載部126bの位置が変更される。図8においては、第1搭載部126aが薬剤受入位置に、第2搭載部126bが薬剤受渡位置に、それぞれ存在している。 The position changing unit 126 changes the positions of the first mounting unit 126a and the second mounting unit 126b to a drug receiving position for receiving an injection from the drug transporting unit 121, and a drug moving position for dispensing the injection. 153. Specifically, the positions of the first mounting part 126a and the second mounting part 126b are changed between the medicine receiving position and the medicine delivery position by the position changing part 126 rotating around the above-mentioned axis. In FIG. 8, the first mounting section 126a is located at the drug receiving position, and the second mounting section 126b is located at the drug delivery position.

薬剤回転部127は、バーコードリーダー123による読取り、又は期限読み取り用カメラ125による撮影のために、薬剤搬送部121によって搬送された注射薬を受け入れ、受け入れた注射薬を軸方向に回転させる。薬剤回転部127は、第1搭載部126a及び第2搭載部126bに設けられている。具体的には、薬剤回転部127は、第1搭載部126a及び第2搭載部126bの底部に設けられたベルトコンベヤであり、第1搭載部126a及び第2搭載部126bに搭載された注射薬を軸方向に回転させる。第1搭載部126a及び第2搭載部126bは、薬剤回転部127が受け入れた注射薬を搭載する。具体的には、第1搭載部126a及び第2搭載部126bのうち、薬剤受入位置に位置する搭載部が、薬剤搬送部121によって搬送された注射薬を搭載する。 The drug rotating section 127 receives the injection drug transported by the drug transport section 121 for reading by the barcode reader 123 or photographing by the expiration date reading camera 125, and rotates the received injection drug in the axial direction. The drug rotating section 127 is provided in the first mounting section 126a and the second mounting section 126b. Specifically, the drug rotating section 127 is a belt conveyor provided at the bottom of the first mounting section 126a and the second mounting section 126b, and the drug rotation section 127 is a belt conveyor provided at the bottom of the first mounting section 126a and the second mounting section 126b, and the medicine rotation section 127 is a belt conveyor provided at the bottom of the first mounting section 126a and the second mounting section 126b. rotate in the axial direction. The first loading section 126a and the second loading section 126b load the injection medicine received by the medicine rotating section 127. Specifically, of the first loading section 126a and the second loading section 126b, the loading section located at the medicine receiving position loads the injection medicine transported by the medicine transporting section 121.

なお、本実施形態では、図8に示すように、第1搭載部126aおよび第2搭載部126bの両方が薬剤回転部127を備えているが、これに限られない。例えば、第1搭載部126a及び第2搭載部126bの位置が固定であり、かつ、第2搭載部126bが、第2搭載部126bに載置された注射薬が一定の向きとなるような断面形状を有している場合には、第1搭載部126aにのみ薬剤回転部127が設けられていればよい。上記断面形状としては、例えば、略V字形状が挙げられる。なお、この場合、注射薬払出装置100は、第1搭載部126aから第2搭載部126bへと注射薬を搬送する搬送機構を有する。また、後述のバーコードリーダー124は不要である。 In addition, in this embodiment, as shown in FIG. 8, both the first mounting part 126a and the second mounting part 126b are provided with the drug rotating part 127, but the present invention is not limited to this. For example, the positions of the first mounting part 126a and the second mounting part 126b are fixed, and the second mounting part 126b has a cross section such that the injection drug placed on the second mounting part 126b is oriented in a fixed direction. In the case where the medicine rotating part 127 has a shape, it is sufficient that the medicine rotating part 127 is provided only in the first mounting part 126a. Examples of the cross-sectional shape include a substantially V-shape. Note that in this case, the injection drug dispensing device 100 has a transport mechanism that transports the injection drug from the first mounting section 126a to the second mounting section 126b. Further, the barcode reader 124, which will be described later, is not necessary.

また、注射薬払出装置100が備える搭載部の数は3以上であってもよく、1つであってもよい。ただし、搭載部の数が1つである場合、1つの注射薬の特定が完了するまで他の注射薬の搭載を待機する時間が生じるため、注射薬の払い出しに要する時間が増大する。この点を考慮すれば、注射薬払出装置100は、複数の搭載部を備え、当該搭載部の位置を薬剤受入位置と薬剤受渡位置との間で変更するように構成されることが好ましい。 Moreover, the number of mounting parts with which the injection medicine dispensing device 100 is provided may be three or more, or may be one. However, when the number of loading units is one, there is a time period of waiting for loading of other injection drugs until the identification of one injection drug is completed, which increases the time required for dispensing the injection drugs. Considering this point, it is preferable that the injection drug dispensing device 100 is configured to include a plurality of mounting sections and to change the position of the mounting sections between a drug receiving position and a drug delivery position.

薬剤搬送部121は、カセットCaに収容された注射薬を払い出すために、注射薬をカセットCaから取り出し搬送する。本実施形態では、薬剤搬送部121は、図5に示すように、吸着機構121aと、移動機構121bと、スライダ121cとを有する。吸着機構121aは、注射薬を吸着する吸着機構であり、鉛直下方に延伸可能である。移動機構121bは、吸着機構121aを奥行き方向に移動させ、かつ自身が幅方向に往復移動することが可能な機構である。移動機構121bは、スライダ121cに沿って幅方向に往復移動する。 The drug transport unit 121 takes out and transports the injection medicine from the cassette Ca in order to dispense the injection medicine stored in the cassette Ca. In this embodiment, the drug transport unit 121 includes an adsorption mechanism 121a, a movement mechanism 121b, and a slider 121c, as shown in FIG. The adsorption mechanism 121a is an adsorption mechanism that adsorbs an injection drug, and can extend vertically downward. The moving mechanism 121b is a mechanism capable of moving the suction mechanism 121a in the depth direction and reciprocating itself in the width direction. The moving mechanism 121b reciprocates in the width direction along the slider 121c.

バーコードリーダー123は、注射薬に付された、当該注射薬の種類を示す情報(第1識別情報)を読み取る。本実施形態では、注射薬の種類を示す情報は、バーコードの形で注射薬に付されている。バーコードリーダー123は、薬剤受入位置の第1搭載部126a又は第2搭載部126bに搭載されている注射薬のバーコードを読み取る。 The barcode reader 123 reads information (first identification information) attached to the injection drug indicating the type of the injection drug. In this embodiment, information indicating the type of injection drug is attached to the injection drug in the form of a barcode. The barcode reader 123 reads the barcode of the injection drug mounted on the first mounting section 126a or the second mounting section 126b at the drug receiving position.

バーコードリーダー124は、バーコードリーダー123と略同一の構成を有する。バーコードリーダー124は、薬剤受渡位置の第1搭載部126a又は第2搭載部126bに搭載されている注射薬について、姿勢を確認するためにバーコードを読み取る。例えば注射薬の断面が楕円形である場合、当該注射薬には吸着に適した姿勢と適していない姿勢とが存在する。そこで、注射薬が吸着に適した姿勢である場合にバーコードリーダー124によって読み取れる位置にバーコードを付し、バーコードを読み取れるように注射薬を薬剤回転部127により回転させることで、注射薬を吸着に適した姿勢にすることができる。バーコードの読み取りの可否による姿勢の確認が必要な注射薬を示す情報は、記憶部180に記憶されている。 Barcode reader 124 has substantially the same configuration as barcode reader 123. The barcode reader 124 reads a barcode to check the posture of the injection drug loaded on the first loading section 126a or the second loading section 126b at the medicine delivery position. For example, when an injectable drug has an elliptical cross section, the injectable drug has positions suitable for adsorption and positions not suitable for adsorption. Therefore, by attaching a bar code to a position that can be read by the barcode reader 124 when the injection drug is in a position suitable for adsorption, and by rotating the injection drug by the drug rotation unit 127 so that the bar code can be read, the injection drug is It can be placed in a position suitable for suction. Information indicating injection drugs whose postures need to be confirmed based on whether or not the barcode can be read is stored in the storage unit 180.

なお、注射薬の姿勢を別の方法で確認してもよい。この場合には、バーコードを上述の位置に付す必要はない。 Note that the posture of the injection drug may be confirmed by another method. In this case, it is not necessary to attach the barcode to the above-mentioned position.

期限読み取り用カメラ125は、注射薬に付された、当該注射薬の有効期限を示す情報(第2識別情報)を撮影する。本実施形態では、注射薬の有効期限を示す情報は、文字で注射薬に付されている。 The expiration date reading camera 125 photographs information (second identification information) attached to an injectable drug and indicating the expiration date of the injectable drug. In this embodiment, information indicating the expiration date of the injection drug is attached to the injection drug in text.

以上の構成により、薬剤カセット取扱装置200においては、カセットCaがカセット棚110からカセット保持部130へカセット移送部140により移送される。さらに、特定処理部120により、カセットCaに収容された注射薬に対して特定処理が行われる。 With the above configuration, in the drug cassette handling device 200, the cassette Ca is transferred from the cassette shelf 110 to the cassette holding section 130 by the cassette transfer section 140. Furthermore, the specific processing unit 120 performs specific processing on the injection drug accommodated in the cassette Ca.

薬剤仕分部150は、特定処理部120での処理が終了した注射薬を仕分ける。薬剤仕分部150は、図7に示すように、トレイ保持部151と、非払出薬保管部152と、薬剤移動部153とを備える。 The drug sorting unit 150 sorts the injection drugs that have been processed by the specific processing unit 120. The medicine sorting section 150 includes a tray holding section 151, a non-dispensing medicine storage section 152, and a medicine moving section 153, as shown in FIG.

トレイ保持部151は、注射薬が払い出される搬送トレイ151aを保持する。トレイ保持部151は、注射薬払出システム1において搬送トレイ151aが流れる経路の一部として設けられている。 The tray holding unit 151 holds a transport tray 151a from which injections are dispensed. The tray holding section 151 is provided as a part of the path along which the transport tray 151a flows in the injection drug dispensing system 1.

非払出薬保管部152は、払出不可と判別された注射薬を保管する。非払出薬保管部152は、注射薬を複数の種類に分類して保管する。具体的には、非払出薬保管部152は、例えば、種類が適切でなかったものと、有効期限が適切でなかったものとのそれぞれについて、大型のものと中型又は小型のものとに分類する。 The non-dispensable drug storage unit 152 stores injection drugs determined to be non-dispensable. The non-dispense medicine storage unit 152 classifies and stores injection medicines into a plurality of types. Specifically, the non-dispense medicine storage unit 152 classifies, for example, medicines with inappropriate types and medicines with inappropriate expiration dates into large medicines and medium or small medicines. .

薬剤移動部153は、注射薬の種類及び有効期限についての判別結果に基づいて、トレイ保持部151に保持された搬送トレイ151a、又は非払出薬保管部152のいずれかに注射薬を移動させる。なお、搬送トレイ151aは、複数の領域に仕切られ、領域ごとに異なる処方データ(例えば1患者への施用分等)の注射薬が払い出されてもよい。 The medicine moving unit 153 moves the injection medicine to either the transport tray 151a held in the tray holding unit 151 or the non-dispensing medicine storage unit 152 based on the determination result regarding the type and expiration date of the injection medicine. Note that the transport tray 151a may be partitioned into a plurality of areas, and injection drugs with different prescription data (for example, for one patient) may be dispensed in each area.

なお、上記特定処理は、種類及び有効期限が特定された注射薬を、搬送トレイ151a又は非払出薬保管部152へ仕分けるまでの処理を含んでもよい。この場合、特定処理部120は、薬剤仕分部150を含む。 Note that the above-mentioned specifying process may include a process of sorting the injection drug whose type and expiration date have been specified to the transport tray 151a or the non-dispense drug storage section 152. In this case, the specific processing section 120 includes a drug sorting section 150.

図9は、薬剤移動部153の正面図である。本実施形態の薬剤移動部153は、吸着機構153aと、移動機構153bと、スライダ153cとを有する。吸着機構153aは、注射薬を吸着する吸着機構であり、鉛直下方に延伸可能である。移動機構153bは、吸着機構153aを幅方向に移動させ、かつ自身が奥行き方向に往復移動することが可能な機構である。移動機構153bは、スライダ153cに沿って奥行き方向に往復移動する。 FIG. 9 is a front view of the drug transfer unit 153. The medicine moving unit 153 of this embodiment includes an adsorption mechanism 153a, a moving mechanism 153b, and a slider 153c. The adsorption mechanism 153a is an adsorption mechanism that adsorbs an injection drug, and can extend vertically downward. The moving mechanism 153b is a mechanism that can move the suction mechanism 153a in the width direction and can itself reciprocate in the depth direction. The moving mechanism 153b reciprocates in the depth direction along the slider 153c.

具体的には、薬剤移動部153は、種類及び有効期限の両方について適切と判別された注射薬については、搬送トレイ151aに払い出す。一方、薬剤移動部153は、種類及び有効期限の少なくとも一方について不適切と判別された注射薬については、非払出薬保管部152に移動させる。 Specifically, the drug transfer unit 153 dispenses injection drugs determined to be appropriate in terms of both type and expiration date to the transport tray 151a. On the other hand, the drug transfer unit 153 moves injection drugs determined to be inappropriate in at least one of the type and expiration date to the non-dispense drug storage unit 152.

カセット移送部140は、カセット保持部130に保持されるカセットCaを差し替えるために、カセット棚110とカセット保持部130との間でカセットCaを移送する。本実施形態では、カセット移送部140は、カセットCaをカセット棚110から引き出し、鉛直方向に移送してカセット受入位置131にあるカセット保持部130に載置する。特に、カセット移送部140は、受信した処方データのうち、1患者への投与に係る処方データに2種以上の注射薬が含まれている場合に、当該処方データ、及び後述する対応関係データに基づいて、当該注射薬が収容されたカセットCaをそれぞれカセット保持部130へと移送する。 The cassette transfer unit 140 transfers the cassette Ca between the cassette shelf 110 and the cassette holding unit 130 in order to replace the cassette Ca held in the cassette holding unit 130. In this embodiment, the cassette transfer unit 140 pulls out the cassette Ca from the cassette shelf 110, transfers it in the vertical direction, and places it on the cassette holding unit 130 at the cassette receiving position 131. In particular, when the received prescription data includes two or more types of injection drugs related to administration to one patient, the cassette transfer unit 140 transfers the received prescription data and correspondence relationship data to be described later. Based on this, each cassette Ca containing the injection drug is transferred to the cassette holding section 130.

なお、1患者への投与に係る処方データには、注射薬のレシピ(組み合わせ)が複数含まれる場合がある。この場合には、注射薬をレシピごとに払い出し、複数回の払い出しで払い出された複数の上記レシピの注射薬をまとめて患者に投与することも考えられる。この場合には、カセット移送部140は、1つのレシピに2種以上の注射薬が含まれている場合に、当該注射薬が収容されたカセットCaをそれぞれカセット保持部130へと移送するものであってもよい。 Note that prescription data regarding administration to one patient may include multiple recipes (combinations) of injection drugs. In this case, it is conceivable to dispense injections for each recipe and administer the injections of the plurality of recipes dispensed multiple times to the patient at once. In this case, when one recipe contains two or more types of injection drugs, the cassette transfer section 140 transfers each cassette Ca containing the injection drugs to the cassette holding section 130. There may be.

図10の(a)は、カセット移送部140の、図3とは別の角度からの斜視図である。理解を助けるため、図10にはカセット棚110も併せて示されている。図10の(b)は、図10の(a)に示したカセット移送部140の要部の拡大図である。図10の(a)及び(b)に示すように、カセット移送部140は、爪部141と、爪部移動機構142と、梁部143と、支柱部144とを備える。 FIG. 10(a) is a perspective view of the cassette transfer unit 140 from a different angle from that in FIG. To aid understanding, a cassette shelf 110 is also shown in FIG. FIG. 10(b) is an enlarged view of a main part of the cassette transfer section 140 shown in FIG. 10(a). As shown in FIGS. 10A and 10B, the cassette transfer section 140 includes a claw section 141, a claw section moving mechanism 142, a beam section 143, and a support section 144.

爪部141は、鉛直上方へ突出する爪状の部材である。カセットCaは、奥行き方向における手前側の縁に、鉛直下方へ突出する形状の係合部を備えている。当該係合部に爪部141を係合させることで、カセット移送部140はカセット棚110からカセットCaを引き出すことができる。 The claw portion 141 is a claw-shaped member that projects vertically upward. The cassette Ca is provided with an engaging portion shaped to protrude vertically downward on the near side edge in the depth direction. By engaging the claw portion 141 with the engaging portion, the cassette transfer portion 140 can pull out the cassette Ca from the cassette shelf 110.

爪部移動機構142は、爪部141を奥行き方向に往復運動させる機構である。カセットCaは、カセット棚110から引き出された状態において、爪部移動機構142の下側に位置する。梁部143は、注射薬払出装置100の上部に配された、幅方向に平行な梁である。爪部移動機構142は、梁部143に沿って、幅方向に平行に移動することができる。支柱部144は、注射薬払出装置100の前面近傍の、幅方向における両端に配された2本の支柱である。梁部143は、両端を支柱部144に支持された状態で、鉛直方向に移動可能である。これらの、(i)奥行き方向への爪部141の移動、(ii)幅方向への爪部移動機構142の移動、及び(iii)鉛直方向への梁部143の移動、を組み合わせることで、爪部141に引掛けられた状態のカセットCaを移送することができる。 The claw moving mechanism 142 is a mechanism that reciprocates the claw 141 in the depth direction. When the cassette Ca is pulled out from the cassette shelf 110, it is located below the claw moving mechanism 142. The beam portion 143 is a beam parallel to the width direction and arranged on the upper part of the injection drug dispensing device 100. The claw portion moving mechanism 142 can move along the beam portion 143 in parallel to the width direction. The strut portions 144 are two struts arranged at both ends in the width direction near the front surface of the injection drug dispensing device 100. The beam portion 143 is movable in the vertical direction while being supported by the support portions 144 at both ends. By combining these (i) movement of the claw part 141 in the depth direction, (ii) movement of the claw part moving mechanism 142 in the width direction, and (iii) movement of the beam part 143 in the vertical direction, The cassette Ca hooked onto the claw portion 141 can be transferred.

また、カセット移送部140は、爪部移動機構142の下面に、衝撃吸収板145を備えている。衝撃吸収板145は、カセットCaがカセット棚110から引き出された状態において、カセットCaの上側を覆う。衝撃吸収板145は、衝撃に対して上下動可能に構成されている。カセットCaに対して加わった衝撃により注射薬が跳ね上がった場合、当該注射薬は衝撃吸収板145に衝突する。衝撃吸収板145は、注射薬の衝突による衝撃を上下動することにより緩和する。これにより、カセットCaに対して加わった衝撃により注射薬が破損する虞が低減される。 Further, the cassette transfer section 140 includes a shock absorbing plate 145 on the lower surface of the claw section moving mechanism 142. The shock absorbing plate 145 covers the upper side of the cassette Ca when the cassette Ca is pulled out from the cassette shelf 110. The shock absorbing plate 145 is configured to be movable up and down in response to a shock. When the injection medicine jumps up due to the impact applied to the cassette Ca, the injection medicine collides with the shock absorption plate 145. The shock absorbing plate 145 alleviates the shock caused by the collision of the injection drug by moving up and down. This reduces the possibility that the injection drug will be damaged due to the impact applied to the cassette Ca.

また、カセット移送部140は、カセット棚110からカセットCaを取り出す場合、カセットCaの手前側を突起113の高さよりも浮かせた状態で引き出す。このため、カセット移送部140は、カセットCaを突起113に引っ掛けることなくカセット棚110から取り出すことができる。 Further, when taking out the cassette Ca from the cassette shelf 110, the cassette transfer unit 140 pulls out the cassette Ca with the front side of the cassette Ca raised above the height of the protrusion 113. Therefore, the cassette transfer unit 140 can take out the cassette Ca from the cassette shelf 110 without getting the cassette Ca caught on the protrusion 113.

制御部190は、注射薬払出装置100の動作を制御する。制御部190は、移送制御部191と、駆動制御部192と、搬送制御部193と、吸着位置決定部194と、第1判別処理部195と、第2判別処理部196と、薬剤位置制御部197とを備える。 The control unit 190 controls the operation of the injection drug dispensing device 100. The control unit 190 includes a transfer control unit 191, a drive control unit 192, a transport control unit 193, a suction position determination unit 194, a first discrimination processing unit 195, a second discrimination processing unit 196, and a drug position control unit. 197.

移送制御部191は、カセット移送部140がカセットCaをカセット棚110からカセット保持部130へ移送する動作を制御する。駆動制御部192は、カセット保持部130の、カセットCaを処理位置とカセット受入位置との間で移動させる動作を制御する。搬送制御部193は、薬剤搬送部121及び薬剤移動部153の動作を制御する。 The transfer control unit 191 controls the operation of the cassette transfer unit 140 to transfer the cassette Ca from the cassette shelf 110 to the cassette holding unit 130. The drive control unit 192 controls the operation of the cassette holding unit 130 to move the cassette Ca between the processing position and the cassette receiving position. The transport control unit 193 controls the operations of the medicine transport unit 121 and the medicine movement unit 153.

吸着位置決定部194は、位置特定用カメラ122が撮影した画像を解析して、カセットCaから注射薬を取り出すために薬剤搬送部121が注射薬を吸着する吸着位置を決定する。 The suction position determining unit 194 analyzes the image taken by the position specifying camera 122, and determines the suction position where the medicine transport unit 121 adsorbs the injection drug in order to take out the injection medicine from the cassette Ca.

第1判別処理部195は、バーコードリーダー123によって読み取られた注射薬の種類を示す情報を、1患者への投与に係る処方データに含まれている注射薬の種類を示す情報(注射薬の固有情報)と照合した結果に基づき、注射薬の払出しの可否を判別する。第2判別処理部196は、期限読み取り用カメラ125によって撮影された注射薬の有効期限を示す情報に基づき、注射薬の払出しの可否を判別する。具体的には、第2判別処理部196は、例えば上記有効期限と判別処理を行う日時とを照合した結果に基づき、注射薬の払出しの可否を判別してもよい。又は、第2判別処理部196は、例えば上記有効期限と注射薬を患者に投与する日時とを照合した結果に基づき、注射薬の払出しの可否を判別してもよい。この場合、注射薬を患者に投与する日時のデータは、例えば1患者への投与に係る処方データに含まれていてよい。 The first discrimination processing unit 195 converts the information indicating the type of injection drug read by the barcode reader 123 into the information indicating the type of injection drug included in the prescription data related to administration to one patient (injection drug type information). Based on the results of the comparison with unique information), it is determined whether or not the injection drug can be dispensed. The second determination processing unit 196 determines whether or not the injection drug can be dispensed based on information indicating the expiration date of the injection photographed by the expiration date reading camera 125. Specifically, the second determination processing unit 196 may determine whether or not the injection drug can be dispensed, for example, based on the result of comparing the expiration date and the date and time at which the determination process is performed. Alternatively, the second determination processing unit 196 may determine whether or not the injection drug can be dispensed, for example, based on the result of comparing the expiration date with the date and time when the injection drug is administered to the patient. In this case, data on the date and time when the injection drug is administered to a patient may be included in, for example, prescription data regarding administration to one patient.

第1判別処理部195および第2判別処理部196による処理は、上述した特定処理の一部である。このため、上述したとおり、特定処理部120は、第1判別処理部195および第2判別処理部196を含む。 The processing by the first discrimination processing section 195 and the second discrimination processing section 196 is part of the above-described specific processing. Therefore, as described above, the specific processing section 120 includes the first discrimination processing section 195 and the second discrimination processing section 196.

薬剤位置制御部197は、位置変更部126および薬剤回転部127の動作を制御する。具体的には、薬剤位置制御部197は、位置変更部126を回転させることで、第1搭載部126a及び第2搭載部126bの位置を制御する。また、薬剤位置制御部197は、薬剤回転部127を動作させ、第1搭載部126a又は第2搭載部126b内の注射薬を回転させる。 The drug position control section 197 controls the operations of the position change section 126 and the drug rotation section 127. Specifically, the drug position control section 197 controls the positions of the first mounting section 126a and the second mounting section 126b by rotating the position changing section 126. Further, the drug position control section 197 operates the drug rotation section 127 to rotate the injection drug in the first mounting section 126a or the second mounting section 126b.

また、制御部190は、1患者への投与に係る処方データに複数種類の注射薬が示されている場合に、注射薬の払出順序を決定する払出順序決定部(不図示)をさらに備える。払出順序決定部は、例えば1患者への投与に係る処方データに示されている順番を注射薬の払出順序として決定してもよい。また、払出順序決定部は、例えば注射薬の名称に基づいて注射薬の払出順序を決定してもよい。注射薬の払出順序、及び後述する対応関係データに基づいて、カセット移送部140により移送されるカセットCaの順序、及び、カセット保持部130に保持されたカセットCaがカセット受入位置131から処理位置132へ移動する順序などが決定される。 In addition, the control unit 190 further includes a dispensing order determining unit (not shown) that determines the dispensing order of injection drugs when a plurality of types of injection drugs are indicated in prescription data related to administration to one patient. The dispensing order determining unit may determine, for example, the order indicated in the prescription data regarding administration to one patient as the dispensing order of the injection medicine. Further, the dispensing order determining unit may determine the dispensing order of the injection medicine based on the name of the injection medicine, for example. Based on the dispensing order of injection drugs and the correspondence relationship data described later, the order in which the cassettes Ca are transferred by the cassette transfer unit 140 and the order in which the cassettes Ca held in the cassette holding unit 130 are moved from the cassette receiving position 131 to the processing position 132 are determined. The order in which the files are moved to, etc. is determined.

記憶部180は、注射薬払出装置100の制御に必要な情報を記憶する。記憶部180は、例えば薬剤搬送部121、カセット移送部140、及び薬剤移動部153などの動作を制御するためのプログラムを記憶している。また、記憶部180は、m個のカセットCaのそれぞれと、当該m個のカセットCaのそれぞれに収容されている注射薬との対応関係を示す対応関係データを記憶している。また、記憶部180は、上述した、バーコードの読み取りの可否による姿勢の確認が必要な注射薬を示す情報を記憶している。 The storage unit 180 stores information necessary for controlling the injection drug dispensing device 100. The storage unit 180 stores, for example, programs for controlling the operations of the medicine transport unit 121, the cassette transport unit 140, the medicine transfer unit 153, and the like. Furthermore, the storage unit 180 stores correspondence relationship data indicating the correspondence relationship between each of the m cassettes Ca and the injection drug contained in each of the m cassettes Ca. Furthermore, the storage unit 180 stores information indicating the above-mentioned injection drugs whose postures need to be confirmed based on whether or not the barcode can be read.

また、記憶部180には、各注射薬に関する情報が記録された薬品マスタが記憶されている。具体的には、薬品マスタには、各注射薬を識別するための注射薬識別情報(注射薬コード、注射薬ID)に、種々の情報(例:注射薬の幅を示す注射薬幅情報)が紐付けられた状態で登録されている。 Further, the storage unit 180 stores a drug master in which information regarding each injection drug is recorded. Specifically, the drug master includes injection drug identification information (injection drug code, injection drug ID) for identifying each injection drug, and various information (e.g., injection drug width information indicating the width of the injection drug). are registered in a linked state.

なお、薬品マスタ、及び上述した他の情報は、ネットワークを介して注射薬払出装置100と接続可能なサーバ(不図示)に記憶されていても構わない。 Note that the drug master and the other information described above may be stored in a server (not shown) that can be connected to the injection drug dispensing device 100 via a network.

(返品薬について)
また、病院業務においては、一旦払い出された注射薬が、患者の容態の変化などにより、患者に投与されず返品されることがある。このような返品された注射薬(返品薬)について、種類ごとにカセットCaに戻すことには手間がかかる。そこで、注射薬払出装置100は、返品薬の種類および有効期限を特定した上で保管し、当該返品薬を再利用する機能を有する。当該機能を実現する具体的な構成について以下に説明する。
(About returned medicines)
Furthermore, in hospital operations, injection drugs that have been dispensed may not be administered to the patient and may be returned due to changes in the patient's condition. It takes time and effort to return such returned injection drugs (returned drugs) to the cassettes Ca for each type. Therefore, the injection medicine dispensing device 100 has a function of specifying the type and expiration date of returned medicines, storing them, and reusing the returned medicines. A specific configuration for realizing this function will be described below.

カセット棚110は、図11~図13に示すように、返品薬受入カセット161と、方向揃えカセット162と、大型返品薬カセット163と、中小型返品薬カセット164と、を備える。これらのカセットは、例えばカセット棚110の幅方向における右端の列に保持されていてよい。 As shown in FIGS. 11 to 13, the cassette shelf 110 includes a returned medicine receiving cassette 161, a direction alignment cassette 162, a large returned medicine cassette 163, and a small and medium sized returned medicine cassette 164. These cassettes may be held, for example, in the rightmost row in the width direction of the cassette shelf 110.

返品薬受入カセット161は、返品薬を最初に受け入れるカセットである。ユーザは、返品薬を返品薬受入カセット161に投入する場合に、返品薬の種類又は方向などを気にせずに投入することができる。 The returned medicine receiving cassette 161 is a cassette that initially receives returned medicines. When putting returned medicine into the returned medicine receiving cassette 161, the user can do so without worrying about the type or direction of the returned medicine.

方向揃えカセット162は、返品薬の向きを一定の方向に揃えるためのカセットである。方向揃えカセット162は、断面が略V字形状の底面を有する。このため、返品薬受入カセット161に投入された返品薬の方向は、底面の形状に沿う一定の方向に揃えられる。 The direction alignment cassette 162 is a cassette for aligning the orientation of returned medicines in a fixed direction. The orientation cassette 162 has a bottom surface with a substantially V-shaped cross section. Therefore, the direction of the returned medicines put into the returned medicine receiving cassette 161 is aligned in a constant direction along the shape of the bottom surface.

図11は、注射薬払出装置100の前面に平行な面における方向揃えカセット162の断面図である。図11に示すように、方向揃えカセット162の底面の断面は、単純なV字形状ではなく、上に凸な曲線と、下に凸な曲線とが組み合わせられた形状を有する。後述するように、返品薬についての動作には、方向揃えカセット162の内部を位置特定用カメラ122が撮影するステップが含まれる。このとき、方向揃えカセット162の底面の断面が完全なV字形状であると、底面で反射された光によって撮影を適切に行えない虞がある。このため、位置特定用カメラ122の方向への反射を抑制する目的で、方向揃えカセット162の底面の断面を、曲線を組み合わせた形状としている。 FIG. 11 is a cross-sectional view of the orientation cassette 162 in a plane parallel to the front surface of the injection dispensing device 100. As shown in FIG. 11, the cross section of the bottom surface of the orientation cassette 162 is not a simple V-shape, but has a shape that is a combination of an upwardly convex curve and a downwardly convex curve. As will be described below, operations regarding returned medicines include a step in which the location camera 122 photographs the interior of the orientation cassette 162. At this time, if the cross section of the bottom surface of the direction alignment cassette 162 is completely V-shaped, there is a possibility that proper photographing may not be performed due to light reflected from the bottom surface. Therefore, for the purpose of suppressing reflection in the direction of the position specifying camera 122, the cross section of the bottom surface of the direction alignment cassette 162 is shaped as a combination of curved lines.

大型返品薬カセット163及び中小型返品薬カセット164は、いずれも種類を判別した後の注射薬を収容するカセットである。大型の返品薬は、例えば直径が26mm以上の返品薬であってよい。また、中型以下の返品薬は、例えば直径が26mm未満の返品薬であってよい。なお、中型と小型との境界となるサイズについては適宜設定されてよく、また大型と中型以下との境界となるサイズについても上記の例に限定されない。 The large returned medicine cassette 163 and the small and medium sized returned medicine cassette 164 are both cassettes that contain injection medicines whose types have been determined. The large returned medicine may be, for example, a returned medicine with a diameter of 26 mm or more. Further, the returned medicine of medium size or smaller may be, for example, a returned medicine with a diameter of less than 26 mm. Note that the size that is the boundary between medium and small size may be set as appropriate, and the size that is the boundary between large and medium and smaller is not limited to the above example.

図12は、大型返品薬カセット163の形状を示す図であって、(a)は平面図であり、(b)は(a)のA-A線における断面図である。図13は、中小型返品薬カセット164の形状を示す図であって、(a)は平面図であり、(b)は(a)のB-B線における断面図であり、(c)は(a)のC-C線における断面図である。図12の(b)、図13の(b)および(c)において、紙面は注射薬払出装置100の奥行き方向および鉛直方向の両方に平行な面である。 FIG. 12 is a diagram showing the shape of the large returned medicine cassette 163, in which (a) is a plan view and (b) is a cross-sectional view taken along the line AA in (a). FIG. 13 is a diagram showing the shape of a small and medium-sized returned medicine cassette 164, in which (a) is a plan view, (b) is a cross-sectional view taken along the line BB in (a), and (c) is a FIG. 3 is a sectional view taken along line CC in (a). In (b) of FIG. 12, (b) and (c) of FIG. 13, the plane of the paper is a plane parallel to both the depth direction and the vertical direction of the injection drug dispensing device 100.

図12の(a)及び(b)に示すように、大型返品薬カセット163の底面には、複数の凹部163aが形成されている。一方、図13の(a)~(c)に示すように、中小型返品薬カセット164の底面には、凹部163aよりも浅い凹部164aが、凹部163aの間隔よりも狭い間隔で複数形成されている。さらに、凹部164aよりも短く、かつ浅い凹部164bが、凹部164aの間に複数形成されている。 As shown in FIGS. 12A and 12B, a plurality of recesses 163a are formed on the bottom surface of the large returned medicine cassette 163. On the other hand, as shown in FIGS. 13A to 13C, a plurality of recesses 164a shallower than the recesses 163a are formed on the bottom surface of the small and medium-sized returned medicine cassette 164 at intervals narrower than the intervals between the recesses 163a. There is. Furthermore, a plurality of recesses 164b that are shorter and shallower than the recesses 164a are formed between the recesses 164a.

大型の返品薬は、大型返品薬カセット163内の、いずれかの凹部163aの位置に収容される。中型の返品薬は、中小型返品薬カセット164内の、いずれかの凹部164aの位置に収容される。小型の返品薬は、中小型返品薬カセット164内の、凹部164bの位置に収容される。なお、小型の返品薬は、凹部164aの位置に収容されてもよい。 A large returned medicine is stored in one of the recesses 163a in the large returned medicine cassette 163. A medium-sized returned medicine is accommodated in one of the recesses 164a in the small and medium-sized returned medicine cassette 164. The small returned medicine is stored in the recess 164b in the small and medium sized returned medicine cassette 164. Note that a small returned medicine may be stored in the recess 164a.

なお、方向揃えカセット162、大型返品薬カセット163、及び中小型返品薬カセット164は、例えばカセットCaの底部に、上述した形状の底板を配することで構成されてよい。又は、方向揃えカセット162、大型返品薬カセット163、及び中小型返品薬カセット164は、それぞれ上述した形状の底部を有する専用のカセットであってもよい。 Note that the direction alignment cassette 162, the large-sized returned medicine cassette 163, and the small and medium-sized returned medicine cassette 164 may be configured by, for example, disposing a bottom plate having the shape described above on the bottom of the cassette Ca. Alternatively, the orientation cassette 162, the large returned medicine cassette 163, and the small and medium sized returned medicine cassette 164 may be dedicated cassettes each having a bottom shaped as described above.

〔注射薬払出時の動作例〕
図14は、注射薬払出装置100が注射薬を払い出す場合の動作を示すフローチャートである。注射薬を払い出す場合の注射薬払出装置100の動作について、以下に説明する。
[Example of operation when dispensing injection medicine]
FIG. 14 is a flowchart showing the operation when the injection drug dispensing device 100 dispenses an injection drug. The operation of the injection drug dispensing device 100 when dispensing an injection drug will be described below.

注射薬払出システム1に処方データが入力され、当該処方データに含まれる1患者への投与に係る処方データに基づく注射薬の払い出しが開始されると、まず、移送制御部191は、カセット移送部140により、払い出す注射薬の種類に対応するカセットCaを、カセット棚110からカセット保持部130のカセット受入位置131へ移送する(SA1)。駆動制御部192は、カセット受入位置131のカセットCaを処理位置132へ移動させる(SA2)。 When prescription data is input to the injection drug dispensing system 1 and dispensing of the injection drug based on the prescription data related to administration to one patient included in the prescription data is started, first, the transfer control unit 191 controls the cassette transfer unit. 140, the cassette Ca corresponding to the type of injection drug to be dispensed is transferred from the cassette shelf 110 to the cassette receiving position 131 of the cassette holding section 130 (SA1). The drive control unit 192 moves the cassette Ca from the cassette receiving position 131 to the processing position 132 (SA2).

吸着位置決定部194は、位置特定用カメラ122により処理位置のカセットCaの内部の画像を撮影し、当該画像から注射薬の位置及び向きを解析して、吸着位置を決定する(SA3)。搬送制御部193は、ステップSA3で決定された吸着位置を薬剤搬送部121により吸着し、注射薬をカセットCaから第1搭載部126aに搬送する(SA4)。 The suction position determination unit 194 captures an image of the inside of the cassette Ca at the processing position using the position specifying camera 122, analyzes the position and orientation of the injection drug from the image, and determines the suction position (SA3). The transport control unit 193 causes the drug transport unit 121 to adsorb the suction position determined in step SA3, and transports the injection drug from the cassette Ca to the first mounting unit 126a (SA4).

第1搭載部126aに搭載された注射薬について、第1判別処理部195および第2判別処理部196が種類および有効期限を特定する(SA5)。具体的には、第1判別処理部195がバーコードリーダー123により種類を読み取り、第2判別処理部196が有効期限を解析する。 The first discrimination processing section 195 and the second discrimination processing section 196 specify the type and expiration date of the injection medicine loaded on the first loading section 126a (SA5). Specifically, the first discrimination processing section 195 reads the type using the barcode reader 123, and the second discrimination processing section 196 analyzes the expiration date.

第1判別処理部195は、注射薬の種類が適切であるか否かを判定する(SA6)。注射薬の種類が適切である場合(SA6でYES)、第2判別処理部196は、注射薬の有効期限が適切であるか否かを判別する(SA7)。注射薬の有効期限が適切である場合(SA7でYES)、搬送制御部193は、薬剤移動部153により、当該注射薬を搬送トレイ151aに払い出す(SA8)。一方、注射薬の種類が適切でない場合(SA6でNO)、又は注射薬の有効期限が適切でない場合(SA7でNO)には、搬送制御部193は、薬剤移動部153により、当該注射薬を非払出薬保管部152へ移動させ、保管する(SA9)。 The first determination processing unit 195 determines whether the type of injection drug is appropriate (SA6). If the type of injection drug is appropriate (YES in SA6), the second determination processing unit 196 determines whether the expiration date of the injection drug is appropriate (SA7). If the expiration date of the injection drug is appropriate (YES in SA7), the transport control section 193 causes the drug transfer section 153 to dispense the injection drug onto the transport tray 151a (SA8). On the other hand, if the type of injection is inappropriate (NO in SA6) or the expiration date of the injection is inappropriate (NO in SA7), the transport control unit 193 causes the drug transfer unit 153 to transfer the injection It is moved to the non-dispense medicine storage section 152 and stored (SA9).

以上の処理により、1つの注射薬が搬送トレイ151aに払い出されるか、又は非払出薬保管部152に保管される。注射薬払出装置100は、必要な注射薬が全て搬送トレイ151aに払い出されるまで、上記の処理を繰り返す。 Through the above process, one injection drug is dispensed onto the transport tray 151a or stored in the non-dispensable drug storage section 152. The injection drug dispensing device 100 repeats the above process until all necessary injection drugs are dispensed onto the transport tray 151a.

なお、上述した例では、ステップSA6およびSA7の処理はこの順で実行されたが、これらのステップは逆順で実行されてもよいし、並行して実行されてもよい。 In addition, in the example mentioned above, although the process of step SA6 and SA7 was performed in this order, these steps may be performed in reverse order or may be performed in parallel.

注射薬を取り出された後のカセットCaは、ステップSA3以降の処理が実行されている間の任意のタイミングで、カセット移送部140によりカセット保持部130からカセット棚110へ戻されてよい。ただし、上述したステップSA6又はSA7において、カセットCaから取り出した注射薬の種類又は有効期限が適切でないと判別された場合、当該カセットCaから再度注射薬を取り出す必要が生じる。このため、注射薬を取り出した後のカセットCaは、ステップSA7でYESと判別された後にカセット棚110へ戻されることが好ましい。 The cassette Ca from which the injection medicine has been taken out may be returned from the cassette holding section 130 to the cassette shelf 110 by the cassette transfer section 140 at any timing while the processes from step SA3 onwards are being executed. However, if it is determined in step SA6 or SA7 that the type or expiration date of the injection taken out from the cassette Ca is inappropriate, it is necessary to take out the injection again from the cassette Ca. For this reason, it is preferable that the cassette Ca after taking out the injection drug be returned to the cassette shelf 110 after the determination in step SA7 is YES.

また、ステップSA6において、複数回連続してNOと判別され、かつ当該複数回の注射薬の種類が同じである場合、記憶部180に記憶されている対応付けとは異なる注射薬がカセットCaに収容されている可能性がある。制御部190は、このような場合に注射薬払出システム1の管理者に対して上記可能性を報知する報知部(不図示)を備えていてもよい。 Further, in step SA6, if the determination is NO multiple times in a row and the types of injections used in the multiple injections are the same, an injection different from the correspondence stored in the storage unit 180 is placed in the cassette Ca. It may be contained. The control unit 190 may include a notification unit (not shown) that notifies the administrator of the injection drug dispensing system 1 of the possibility in such a case.

なお、注射薬払出装置100は、上記の処理をカセットCaごとに独立して行う必要はなく、並行して行ってもよい。すなわち、例えば移送制御部191は、1つのカセットCaについてステップSA1を実行した後、駆動制御部192がステップSA2を実行している間に、別のカセットCaについてステップSA1を実行してもよい。また、上記別のカセットCaについて搬送制御部193がステップSA4を実行している間に、既にステップSA4が終了したカセットCaをカセット保持部130がカセット受入位置131へ移動させ、カセット移送部140がカセット棚110へ戻してもよい。このように、カセット棚110に保管された多数のカセットCaのうちの一部について、並行して特定処理を実行することで、特定処理を高速化することができる。このように平行して特定処理を実行することによる処理の高速化は、より多数のカセットCaがカセット棚110に保管されているほど、より大きい効果を奏する。 Note that the injection drug dispensing device 100 does not need to perform the above processing independently for each cassette Ca, and may perform the processing in parallel. That is, for example, after executing step SA1 for one cassette Ca, the transfer control unit 191 may execute step SA1 for another cassette Ca while the drive control unit 192 is executing step SA2. Further, while the conveyance control unit 193 is executing step SA4 for the other cassette Ca, the cassette holding unit 130 moves the cassette Ca for which step SA4 has already been completed to the cassette receiving position 131, and the cassette transfer unit 140 It may be returned to the cassette shelf 110. In this way, by performing the specifying process in parallel on some of the many cassettes Ca stored on the cassette shelf 110, it is possible to speed up the specifying process. The speeding up of the processing by executing specific processing in parallel in this manner becomes more effective as more cassettes Ca are stored on the cassette shelf 110.

〔注射薬返品時の動作例〕
図15は、返品薬に対する注射薬払出装置100の動作を示すフローチャートである。図16は、カセット保持部130に保持されるカセットの配置の例を示す図である。注射薬が返品された時の動作について、以下に説明する。
[Example of operation when returning injection drugs]
FIG. 15 is a flowchart showing the operation of the injection medicine dispenser 100 for returned medicines. FIG. 16 is a diagram showing an example of the arrangement of cassettes held in the cassette holding section 130. The operation when an injection drug is returned will be explained below.

まず、移送制御部191は、カセット移送部140により、返品薬受入カセット161、方向揃えカセット162、大型返品薬カセット163、及び中小型返品薬カセット164を、カセット保持部130へ移送する(SB1)。これらのカセットは、例えば図16に示すように配されてよい。すなわち、最も位置変更部126に近い位置に方向揃えカセット162が配され、返品薬受入カセット161、大型返品薬カセット163、及び中小型返品薬カセット164の順に位置変更部126から遠ざかるように配されてよい。但し、この並び順に限定されない。 First, the transfer control unit 191 causes the cassette transfer unit 140 to transfer the returned medicine receiving cassette 161, the direction alignment cassette 162, the large returned medicine cassette 163, and the small and medium sized returned medicine cassettes 164 to the cassette holding unit 130 (SB1). . These cassettes may be arranged as shown in FIG. 16, for example. That is, the direction alignment cassette 162 is arranged at the position closest to the position changing unit 126, and the returned medicine receiving cassette 161, the large returned medicine cassette 163, and the small and medium sized returned medicine cassettes 164 are arranged in the order of distance from the position changing unit 126. It's fine. However, the order is not limited to this.

次に、駆動制御部192は、返品薬受入カセット161及び方向揃えカセット162を処理位置132へ移動させる(SB2)。 Next, the drive control unit 192 moves the returned medicine receiving cassette 161 and the direction alignment cassette 162 to the processing position 132 (SB2).

吸着位置決定部194は、位置特定用カメラ122により返品薬受入カセット161の内部の画像を撮影し、当該画像から返品薬の位置(及び向き)を解析して、薬剤搬送部121による吸着位置を決定する(SB3)。搬送制御部193は、吸着位置決定部194が決定した吸着位置で、薬剤搬送部121により返品薬を吸着し、返品薬受入カセット161から方向揃えカセット162へ搬送する(SB4)。 The suction position determination unit 194 takes an image of the inside of the returned medicine receiving cassette 161 using the position specifying camera 122, analyzes the position (and orientation) of the returned medicine from the image, and determines the suction position by the medicine transport unit 121. Decide (SB3). The transport control unit 193 uses the drug transport unit 121 to adsorb the returned medicine at the suction position determined by the suction position determination unit 194, and transports the returned medicine from the returned medicine receiving cassette 161 to the direction alignment cassette 162 (SB4).

方向揃えカセット162に搬送された返品薬は、方向揃えカセット162の底面の形状及び重力の作用により方向を揃えられる。吸着位置決定部194は、位置特定用カメラ122により方向揃えカセット162の内部の画像を撮影し、返品薬の位置に基づいて、薬剤搬送部121による吸着位置を決定する(SB5)。搬送制御部193は、吸着位置決定部194が決定した吸着位置で、薬剤搬送部121により返品薬を吸着し、方向揃えカセット162から第1搭載部126aへ搬送する(SB6)。 The returned medicines transported to the direction alignment cassette 162 are aligned in direction due to the shape of the bottom surface of the direction alignment cassette 162 and the action of gravity. The suction position determining unit 194 captures an image of the inside of the direction alignment cassette 162 using the position specifying camera 122, and determines the suction position by the drug transport unit 121 based on the position of the returned medicine (SB5). The transport control unit 193 uses the medicine transport unit 121 to adsorb the returned medicine at the suction position determined by the suction position determination unit 194, and transports it from the orientation cassette 162 to the first mounting unit 126a (SB6).

第1搭載部126aへ搬送された返品薬について、上述したステップSA5と同様に、第1判別処理部195および第2判別処理部196が種類および有効期限を特定する(SB7)。第2判別処理部196は、返品薬の有効期限が適切であるか否かを判別する(SB8)。有効期限が適切であるか否かは、例えば当該有効期限とステップSB8を実行している日時とを照合した結果に基づいて判別される。 Regarding the returned medicine transported to the first loading section 126a, the first discrimination processing section 195 and the second discrimination processing section 196 specify the type and expiration date, similarly to step SA5 described above (SB7). The second determination processing unit 196 determines whether the expiration date of the returned medicine is appropriate (SB8). Whether or not the expiration date is appropriate is determined, for example, based on the result of comparing the expiration date with the date and time when step SB8 is executed.

有効期限が適切である場合(SB8でYES)、搬送制御部193は、薬剤搬送部121により、返品薬を大きさに基づいて大型返品薬カセット163又は中小型返品薬カセット164へ搬送する(SB9)。その後、第1判別処理部195が返品薬の種類を、搬送制御部193が返品薬の位置を、それぞれ記憶部180に記憶させる(SB10)。一方、有効期限が適切でない場合(SB8でNO)、搬送制御部193は、当該注射薬を非払出薬保管部152へ移動させ、保管する(SB11)。 If the expiration date is appropriate (YES at SB8), the transport control unit 193 causes the drug transport unit 121 to transport the returned medicine to the large returned medicine cassette 163 or the small and medium returned medicine cassette 164 based on the size (SB9 ). Thereafter, the first discrimination processing unit 195 stores the type of the returned medicine, and the transport control unit 193 stores the position of the returned medicine in the storage unit 180 (SB10). On the other hand, if the expiration date is not appropriate (NO at SB8), the transport control unit 193 moves the injection drug to the non-dispense medicine storage unit 152 and stores it (SB11).

以上の処理により、1つの返品薬が、位置と種類との対応関係を認識された状態で大型返品薬カセット163又は中小型返品薬カセット164に収容される。注射薬払出装置100は、返品薬受入カセット161内の返品薬がなくなるまでこの処理を繰り返す。 Through the above process, one returned medicine is stored in the large returned medicine cassette 163 or the small and medium returned medicine cassette 164 with the correspondence between the position and type recognized. The injection medicine dispensing device 100 repeats this process until there are no returned medicines in the returned medicine receiving cassette 161.

また、処方データが注射薬払出システム1に入力された場合において、当該処方データに大型返品薬カセット163又は中小型返品薬カセット164に収容されている注射薬が含まれている場合、注射薬払出装置100は、返品薬を再利用することができる。この場合、移送制御部191は、当該注射薬が収容されているカセットCaの代わりに、当該返品薬が収容されている大型返品薬カセット163又は中小型返品薬カセット164をカセット保持部130へ移送する。搬送制御部193は、記憶部180に記憶されている、返品薬の種類と位置との対応関係に基づいて、返品薬を第1搭載部126aへ搬送する。その後、注射薬払出装置100は、上述したステップSA5以降の処理を実行する。 In addition, when prescription data is input to the injection drug dispensing system 1, if the prescription data includes an injection stored in the large returned drug cassette 163 or the small and medium returned drug cassette 164, the injection drug dispenser The device 100 can reuse returned medications. In this case, the transfer control unit 191 transfers the large-sized returned medicine cassette 163 or the small-medium-sized returned medicine cassette 164 containing the returned medicine to the cassette holding unit 130 instead of the cassette Ca containing the injection. do. The transport control unit 193 transports the returned medicine to the first loading unit 126a based on the correspondence between the type and position of the returned medicine stored in the storage unit 180. Thereafter, the injection drug dispensing device 100 executes the processes from step SA5 described above.

〔注射薬の取出しに係る具体的処理〕
次に、図17~図25を用いて、カセットCaから注射薬の取出しに係る具体的処理の一例について説明する。
[Specific processing related to removal of injection drugs]
Next, an example of a specific process related to taking out the injection medicine from the cassette Ca will be explained using FIGS. 17 to 25.

カセット保持部130に載置されたカセットCaから注射薬を取り出すために、吸着位置決定部194は、位置特定用カメラ122が撮影した画像を解析することで、カセットCaに収容された注射薬のうち、吸着対象とする注射薬を特定する。そして、吸着位置決定部194は、特定した注射薬の略中央部(バイアルであれば、円筒形状部分の略中央部付近)を吸着位置として決定する。搬送制御部193は、薬剤搬送部121を制御して、決定された吸着位置に吸着機構121aを下して、上記注射薬を吸着する。 In order to take out the injection drug from the cassette Ca placed on the cassette holding section 130, the adsorption position determining section 194 analyzes the image taken by the position specifying camera 122, thereby extracting the injection drug stored in the cassette Ca. Among them, identify the injection drug to be adsorbed. Then, the suction position determining unit 194 determines the approximately central portion of the specified injection drug (in the case of a vial, approximately the vicinity of the central portion of the cylindrical portion) as the suction position. The transport control unit 193 controls the drug transport unit 121 to lower the suction mechanism 121a to the determined suction position to adsorb the injection drug.

まず、吸着位置決定部194による吸着位置の決定処理において必要となる形状モデル、形状モデルの登録処理及び初期設定処理について説明する。 First, a description will be given of a shape model, a shape model registration process, and an initial setting process that are necessary in the suction position determination process by the suction position determination unit 194.

(形状モデル)
まず、形状モデルについて説明する。形状モデルは、注射薬の形状情報に対して複数の条件を適用することで算出された複数の形状パターンを示すデータである。形状モデルは、位置特定用カメラ122が撮影した画像に含まれる注射薬の形状を特定するために、吸着位置決定部194によって参照されるデータである。
(shape model)
First, the shape model will be explained. The shape model is data indicating a plurality of shape patterns calculated by applying a plurality of conditions to the shape information of the injection drug. The shape model is data referenced by the suction position determining unit 194 in order to specify the shape of the injection drug included in the image captured by the position specifying camera 122.

形状情報は、各注射薬の輪郭を示す輪郭情報(エッジ情報)である。本実施形態では、形状情報は、注射薬の輪郭を示す、隣接するピクセルにおける位置情報を点列の集合として表現されており、サブピクセル程度の精度を有する。 The shape information is contour information (edge information) indicating the contour of each injection drug. In this embodiment, the shape information is expressed as a set of point sequences of position information in adjacent pixels indicating the outline of the injection drug, and has an accuracy on the order of sub-pixels.

複数の条件としては、例えば、下記の(1)~(5)が挙げられる。
(1)形状情報が示す注射薬を回転させる範囲(例:0°以上360°未満)。
(2)当該注射薬を回転させるピッチ。
(3)当該注射薬をX軸方向へ伸縮させるための倍率の範囲。
(4)当該注射薬をY軸方向へ伸縮させるための倍率の範囲。
(5)当該注射薬のコントラスト(注射薬における前景及び後景の輝度差)。
Examples of the plurality of conditions include (1) to (5) below.
(1) The range in which the injection drug is rotated as indicated by the shape information (eg, 0° or more and less than 360°).
(2) The pitch at which the injection drug is rotated.
(3) Range of magnification for expanding and contracting the injection drug in the X-axis direction.
(4) Range of magnification for expanding and contracting the injection drug in the Y-axis direction.
(5) Contrast of the injection drug (brightness difference between the foreground and background of the injection drug).

形状モデルは、各注射薬の注射薬識別情報に紐付けて、薬品マスタに登録されている。但し、薬品マスタではなく、各注射薬識別情報と形状モデルとが紐付けて登録された薬品形状マスタによって、形状モデルが管理されても構わない。また、形状モデルは予め作成され、薬品マスタに登録されていることが好ましい。但し、形状モデルを随時更新することが可能である。つまり、薬品マスタには最新の形状モデルが登録されていることになる。 The shape model is registered in the drug master in association with the injection drug identification information of each injection drug. However, instead of the drug master, the shape model may be managed by a drug shape master in which each injection drug identification information and shape model are registered in association with each other. Further, it is preferable that the shape model is created in advance and registered in the drug master. However, it is possible to update the shape model at any time. In other words, the latest shape model is registered in the drug master.

(形状モデルの登録処理)
次に、図17を用いて、形状モデルの登録処理について説明する。図17は、形状モデルの登録処理について説明するための図であり、(a)は当該登録処理の一例を示すフローチャートであり、(b)は形状モデルが示す注射薬の形状を模式的に表した図である。
(Geometry model registration process)
Next, the shape model registration process will be described using FIG. 17. FIG. 17 is a diagram for explaining the shape model registration process, (a) is a flowchart showing an example of the registration process, and (b) is a diagram schematically showing the shape of the injection drug indicated by the shape model. This is a diagram.

まず、ユーザは、登録対象とする注射薬をカセットCaに載置し、カセット棚110に載置する。カセット移送部140は、当該カセットCaをカセット棚110から取出し、カセット受入位置131にある任意のカセット保持部130に載置する。なお、カセット保持部130へのカセットCaの載置までユーザが行ってもよい。 First, the user places an injection drug to be registered in a cassette Ca and places it on the cassette shelf 110. The cassette transfer unit 140 takes out the cassette Ca from the cassette shelf 110 and places it on any cassette holding unit 130 located at the cassette receiving position 131. Note that the user may also place the cassette Ca on the cassette holding section 130.

その後、図17の(a)に示すように、搬送制御部193が、カセットCaを載置したカセット保持部130を処理位置132へと移送した後、位置特定用カメラ122は、カセットCa(つまり、カセットCa内の注射薬)を撮影する(SC1)。 Thereafter, as shown in FIG. 17A, after the transport control unit 193 transports the cassette holding unit 130 on which the cassette Ca is placed to the processing position 132, the position specifying camera 122 detects the cassette Ca (i.e. , the injection drug in the cassette Ca) is photographed (SC1).

次に、吸着位置決定部194は、位置特定用カメラ122が取得した画像内において、注射薬と想定される領域を示す注射薬領域を検出する(SC2)。吸着位置決定部194は、例えば、画像に対して2値化処理を行い、所定範囲の階調値を有する画素を含む領域を注射薬領域として検出する。カセットCaは特定色(例:青色)であるため、吸着位置決定部194は、特定色と異なる色を有する領域を検出するだけでよい。そのため、吸着位置決定部194は、簡易に注射薬領域を特定できる。換言すれば、特定色のカセットCaを用いることで、注射薬領域の簡易な特定が可能となる。 Next, the suction position determining unit 194 detects an injection drug area indicating an area assumed to be an injection drug in the image acquired by the position specifying camera 122 (SC2). For example, the suction position determining unit 194 performs a binarization process on the image and detects a region including pixels having gradation values within a predetermined range as an injection drug region. Since the cassette Ca has a specific color (eg, blue), the suction position determination unit 194 only needs to detect an area having a color different from the specific color. Therefore, the suction position determination unit 194 can easily specify the injection drug area. In other words, by using the cassette Ca of a specific color, it becomes possible to easily specify the injection drug area.

次に、吸着位置決定部194は、注射薬領域の輪郭に対して平滑化処理を行った後(SC3)、注射薬の向き(角度)を検出する(SC4)。吸着位置決定部194は、検出した注射薬の向きに基づき、登録する注射薬の向きを一定の方向(角度0°)に揃える(SC5:正規化処理)。なお、この向きは、例えば、図19に示す画像Im1においてY軸方向(座標ImgColが設定される方向)を基準線としたときの、当該基準線と、注射薬の頭部の中心と底部の中心とを結ぶ直線とのなす角として規定される。 Next, the suction position determination unit 194 performs a smoothing process on the outline of the injection drug region (SC3), and then detects the orientation (angle) of the injection drug (SC4). The suction position determining unit 194 aligns the orientation of the registered injection medicine in a certain direction (angle 0°) based on the detected orientation of the injection medicine (SC5: normalization process). In addition, this direction is, for example, when the Y-axis direction (the direction in which the coordinate ImgCol is set) is the reference line in the image Im1 shown in FIG. 19, and the reference line and the center and bottom of the head of the injection drug. It is defined as the angle formed by the straight line connecting the center.

次に、吸着位置決定部194は、平滑化処理及び正規化処理後の注射薬領域の形状を、注射薬の形状を示す形状情報として特定した後、当該形状情報に対して上記(1)~(5)の条件を適用することで複数の形状パターンを算出する。形状モデルが示す注射薬の形状及び向きを模式的に示せば、図17の(b)のようになる。そして、この複数の形状パターンを上記注射薬の形状モデルとして、薬品マスタに登録する(SC6)。 Next, the suction position determining unit 194 specifies the shape of the injection region after the smoothing process and the normalization process as shape information indicating the shape of the injection drug, and then applies the shape information described in (1) to A plurality of shape patterns are calculated by applying the condition (5). The shape and orientation of the injection drug indicated by the shape model are schematically shown in FIG. 17(b). The plurality of shape patterns are then registered in the drug master as shape models of the injection drug (SC6).

これにより、吸着位置決定部194は、吸着位置の決定処理時に、位置特定用カメラ122によって撮影された画像から検出された注射薬領域を、薬品マスタに登録された形状モデルと照合することで、吸着対象とする注射薬の形状を特定することが可能となる。 As a result, the suction position determination unit 194 compares the injection drug area detected from the image taken by the position identification camera 122 with the shape model registered in the medicine master during the suction position determination process. It becomes possible to specify the shape of the injection drug to be adsorbed.

(初期設定)
次に、図18~図20を用いて、初期設定処理について説明する。図18は、初期設定処理の一例を示すフローチャートである。図19は、各座標系を説明するための図である。図20の(a)~(c)は、座標変換処理を説明するための図である。
(Initial setting)
Next, the initial setting process will be explained using FIGS. 18 to 20. FIG. 18 is a flowchart illustrating an example of initial setting processing. FIG. 19 is a diagram for explaining each coordinate system. FIGS. 20(a) to 20(c) are diagrams for explaining coordinate transformation processing.

注射薬払出装置100は、少なくともその出荷当初に初期設定を行う。初期設定には、パラメータ設定処理及び座標変換処理が含まれる。 The injection drug dispensing device 100 performs initial settings at least at the time of shipment. The initial settings include parameter setting processing and coordinate transformation processing.

図18に示すように、まずパラメータ設定処理が行われる。パラメータ設定処理は、内部パラメータ及び外部パラメータを設定(算出)する処理である。 As shown in FIG. 18, parameter setting processing is first performed. The parameter setting process is a process of setting (calculating) internal parameters and external parameters.

内部パラメータは、位置特定用カメラ122のレンズの特性を示す、レンズ固有(カメラ固有)のパラメータであり、カメラの製造元によりその値が公表されている。内部パラメータは、例えば、レンズの歪みの種類(例:樽型歪曲又は糸巻型歪曲)、及び歪み度合いを規定する。 The internal parameter is a lens-specific (camera-specific) parameter that indicates the characteristics of the lens of the position specifying camera 122, and its value is published by the camera manufacturer. The internal parameters define, for example, the type of lens distortion (eg, barrel distortion or pincushion distortion) and the degree of distortion.

外部パラメータは、注射薬払出装置100に設置された位置特定用カメラ122の姿勢(レンズの姿勢)を示すパラメータである。つまり、外部パラメータは、位置特定用カメラ122がカセット棚110に設置され、かつ固定されることにより決定する値である。外部パラメータは、例えば、世界座標系における位置特定用カメラ122の位置(例:位置特定用カメラ122のx座標、y座標、z座標、x軸に対する回転角度、及びy軸に対する回転角度)を示す。 The external parameter is a parameter that indicates the attitude of the position specifying camera 122 (the attitude of the lens) installed in the injection drug dispensing device 100. In other words, the external parameter is a value determined when the position specifying camera 122 is installed and fixed on the cassette shelf 110. The external parameter indicates, for example, the position of the positioning camera 122 in the world coordinate system (for example, the x coordinate, y coordinate, z coordinate of the positioning camera 122, the rotation angle with respect to the x axis, and the rotation angle with respect to the y axis). .

具体的には、薬剤搬送部121は、パラメータ設定プレートが固定されたカセット保持部130を、位置特定用カメラ122の画角内に存在する処理位置132に載置する(SD1)。その後、位置特定用カメラ122は、パラメータ設定プレートを撮影することで、パラメータ設定画像を取得する(SD2)。 Specifically, the drug transport unit 121 places the cassette holding unit 130 to which the parameter setting plate is fixed at the processing position 132 that is within the field of view of the position specifying camera 122 (SD1). Thereafter, the position specifying camera 122 acquires a parameter setting image by photographing the parameter setting plate (SD2).

パラメータ設定プレートは、内部及び外部パラメータを算出するために用いられるプレートであり、例えば多数の小さい黒点(ドットパターン)が印刷されている。なお、SD1の処理はユーザが行っても構わない。 The parameter setting plate is a plate used to calculate internal and external parameters, and has many small black dots (dot patterns) printed on it, for example. Note that the process of SD1 may be performed by the user.

次に、吸着位置決定部194は、所定回数撮影したか否かを判定する(SD3)。所定回数撮影していない場合には(SD3でNO)、SD1の処理に戻る。つまり、所定回数撮影されていない場合、薬剤搬送部121は、撮影されたパラメータ設定プレートに印刷されたドットパターンとは異なるドットパターンが印刷されたパラメータ設定プレートを、処理位置132に載置する。本実施形態では、互いにドットパターンが異なるパラメータ設定プレートが6~10枚準備されている。内部及び外部パラメータを算出できるのであれば、準備されるパラメータ設定プレートは、5枚以下であっても、11枚以上であっても構わない。また、所定回数は、準備されたパラメータ設定プレートの数に設定される。 Next, the suction position determination unit 194 determines whether or not the image has been photographed a predetermined number of times (SD3). If the image has not been photographed the predetermined number of times (NO in SD3), the process returns to SD1. That is, if the image has not been photographed a predetermined number of times, the drug transport unit 121 places a parameter setting plate printed with a dot pattern different from the dot pattern printed on the photographed parameter setting plate at the processing position 132. In this embodiment, six to ten parameter setting plates having mutually different dot patterns are prepared. As long as internal and external parameters can be calculated, the number of parameter setting plates prepared may be 5 or less or 11 or more. Further, the predetermined number of times is set to the number of prepared parameter setting plates.

所定回数撮影された場合には(SD3でYES)、吸着位置決定部194は、複数のパラメータ設定プレートの画像を解析することで、内部及び外部パラメータを算出する(SD4)。 If the image has been photographed a predetermined number of times (YES in SD3), the suction position determination unit 194 calculates internal and external parameters by analyzing the images of the plurality of parameter setting plates (SD4).

なお、上述のように、内部パラメータはカメラの製造元によって公表されている一定の値であるが、レンズの個体差によって、同種のレンズであっても公表されている値から誤差が生じている可能性もある。内部パラメータを算出することで、位置特定用カメラ122に使用されているレンズの実際の内部パラメータを正確に特定できる。 As mentioned above, the internal parameters are fixed values published by the camera manufacturer, but due to individual differences in lenses, there may be errors from the published values even for lenses of the same type. There is also gender. By calculating the internal parameters, the actual internal parameters of the lens used in the position identification camera 122 can be accurately identified.

次に、座標変換処理が行われる。座標変換処理は、画像における吸着位置と、カセットCaにおける実際の吸着位置とを整合させるための座標変換を行うための変換行列(Vector)を算出する処理である。変換行列は、画像座標系とロボット座標系との位置関係を特定するためのものであるともいえる。実際には、後述するように、撮像される画像には歪みが生じる。そのため、本実施形態では、ロボット座標系と、画像座標系を変換した、歪みが無い世界座標系と、の位置関係を特定するための変換行列を算出する。 Next, coordinate transformation processing is performed. The coordinate transformation process is a process of calculating a transformation matrix (Vector) for performing coordinate transformation to match the suction position in the image with the actual suction position on the cassette Ca. It can be said that the transformation matrix is used to specify the positional relationship between the image coordinate system and the robot coordinate system. In reality, as will be described later, distortion occurs in the captured image. Therefore, in this embodiment, a transformation matrix is calculated for specifying the positional relationship between the robot coordinate system and the world coordinate system, which is obtained by transforming the image coordinate system and has no distortion.

画像座標系は、位置特定用カメラ122が撮影した画像に設定される座標系である。本実施形態では、図19に示すように、画像Im1の1つの角部(注射薬払出装置100の奥側(処理位置132側))を原点(Img(0,0))とし、注射薬払出装置100の奥側から手前側(カセット受入位置131側)に向けてX軸が規定され、座標(ImgRow,ImgCol)が規定される。 The image coordinate system is a coordinate system set to an image captured by the position specifying camera 122. In this embodiment, as shown in FIG. 19, one corner of the image Im1 (the back side of the injection medicine dispensing device 100 (processing position 132 side)) is set as the origin (Img (0,0)), and the injection medicine dispensing An X-axis is defined from the back side of the apparatus 100 toward the front side (cassette receiving position 131 side), and coordinates (ImgRow, ImgCol) are defined.

ロボット座標系は、処理位置132における吸着機構121aの位置を規定する座標系である。本実施形態では、図19に示すように、注射薬払出装置100の手前側を原点(Robo(0,0))とし、注射薬払出装置100の手前側から奥側に向けてY軸が規定され、座標(RoboX,RoboY)が規定される。 The robot coordinate system is a coordinate system that defines the position of the suction mechanism 121a at the processing position 132. In this embodiment, as shown in FIG. 19, the near side of the injection drug dispensing device 100 is set as the origin (Robo (0,0)), and the Y axis is defined from the near side to the back side of the injection drug dispensing device 100. and the coordinates (RoboX, RoboY) are defined.

世界座標系は、注射薬払出装置100における絶対的な座標系である。本実施形態では、図19に示すように、注射薬払出装置100における任意の位置を原点(World(0,0))とし、注射薬払出装置100の奥側から手前側に向けてX軸が規定され、座標(WorldX,WorldY)が規定される。なお、原点(World(0,0))から見て位置特定用カメラ122のレンズが位置する方向がZ軸として規定され、座標(WorldZ)が規定される。原点(World(0,0))(基準位置)は、例えば、カセット保持部130a及び130b(又は、カセット保持部130c及び130d)の中心である。 The world coordinate system is an absolute coordinate system in the injection drug dispensing device 100. In this embodiment, as shown in FIG. 19, an arbitrary position in the injection drug dispensing device 100 is set as the origin (World (0, 0)), and the and the coordinates (WorldX, WorldY) are defined. Note that the direction in which the lens of the position specifying camera 122 is positioned when viewed from the origin (World (0, 0)) is defined as the Z axis, and the coordinates (WorldZ) are defined. The origin (World (0, 0)) (reference position) is, for example, the center of the cassette holding sections 130a and 130b (or the cassette holding sections 130c and 130d).

SD4の処理後、図20の(a)に示すように、薬剤搬送部121は、ロボット原点治具501が固定されたカセット保持部130a及び130b(又は、カセット保持部130c及び130d)を、位置特定用カメラ122a(又は位置特定用カメラ122b)の画角内に存在する処理位置132a及び132b(又は処理位置132c及び132d)に載置する(SD5)。2つのロボット原点治具501は、図20の(b)に示す座標変換プレート502をカセット保持部130a及び130bに載置したときに、座標変換プレート502に形成された治具孔502aに挿入される位置に固定される。また、2つのロボット原点治具501は、吸着機構121aの押下又は吸着によって位置ずれが生じない程度に固定される。なお、SD5の処理はユーザが行っても構わない。 After the process of SD4, as shown in FIG. It is placed at processing positions 132a and 132b (or processing positions 132c and 132d) that exist within the angle of view of the identification camera 122a (or the position identification camera 122b) (SD5). The two robot origin jigs 501 are inserted into jig holes 502a formed in the coordinate conversion plate 502 when the coordinate conversion plate 502 shown in FIG. 20(b) is placed on the cassette holders 130a and 130b. is fixed in the desired position. Further, the two robot origin jigs 501 are fixed to such an extent that no displacement occurs due to pressing or suction of the suction mechanism 121a. Note that the process of SD5 may be performed by the user.

この状態において、搬送制御部193は、吸着機構121aを各ロボット原点治具501に下して、その先端部を接触させる。これにより、吸着位置決定部194は、ロボット座標系における、2つのロボット原点治具501の位置を特定する。 In this state, the transport control unit 193 lowers the suction mechanism 121a onto each robot origin jig 501 and brings the tip end thereof into contact with the suction mechanism 121a. Thereby, the suction position determining unit 194 specifies the positions of the two robot origin jigs 501 in the robot coordinate system.

座標変換プレート502には、図20の(b)に示すように、ロボット原点治具501が挿入される2つの治具孔502aが形成されており、9つのターゲット(黒点)503が印刷されている。座標変換プレート502における、治具孔502aの位置とターゲット503の位置とは、予め記憶部180に記憶されている。つまり、これらの2つの位置関係は予め特定されている。そのため、吸着位置決定部194は、上述のように、ロボット座標系におけるロボット原点治具501の位置を特定することで、座標変換プレート502をカセット保持部130a及び130bに載置したときの、ロボット座標系におけるターゲット503の位置(RoboX,RoboY)も特定できる。 As shown in FIG. 20(b), the coordinate conversion plate 502 has two jig holes 502a into which the robot origin jig 501 is inserted, and nine targets (black dots) 503 are printed on it. There is. The position of the jig hole 502a and the position of the target 503 in the coordinate conversion plate 502 are stored in the storage unit 180 in advance. In other words, the positional relationship between these two is specified in advance. Therefore, as described above, by specifying the position of the robot origin jig 501 in the robot coordinate system, the suction position determining unit 194 determines the position of the robot when the coordinate conversion plate 502 is placed on the cassette holders 130a and 130b. The position of the target 503 (RoboX, RoboY) in the coordinate system can also be specified.

SD5の処理後、図20の(c)に示すように、ユーザは、座標変換プレート502に形成された治具孔502aにロボット原点治具501が挿入されるように、座標変換プレート502をカセット保持部130a及び130bを載置する(SD6)。載置後、位置特定用カメラ122は、座標変換プレート502を撮影することで、座標変換画像を取得する(SD7)。 After processing SD5, as shown in FIG. 20(c), the user inserts the coordinate conversion plate 502 into a cassette so that the robot origin jig 501 is inserted into the jig hole 502a formed in the coordinate conversion plate 502. The holding parts 130a and 130b are placed (SD6). After placement, the position specifying camera 122 acquires a coordinate transformation image by photographing the coordinate transformation plate 502 (SD7).

次に、吸着位置決定部194は、座標変換画像を解析することで、画像座標系におけるターゲット503の位置(ImgRow,ImgCol)を検出する(SD8)。 Next, the suction position determining unit 194 detects the position (ImgRow, ImgCol) of the target 503 in the image coordinate system by analyzing the coordinate transformed image (SD8).

次に、吸着位置決定部194は、座標変換画像の歪みを補正するために、画像座標系におけるターゲット503の位置を、世界座標系におけるターゲット503の位置(WorldX,WorldY)に変換する(SD9)。具体的には、吸着位置決定部194は、SD4で算出した内部パラメータ及び外部パラメータと、ターゲット503の高さを示すターゲット高さ情報とを用いて、画像座標系におけるターゲット503の位置から、世界座標系におけるターゲット503の位置を算出する。なお、ターゲット高さ情報は、予め記憶部180に記憶されている。 Next, the suction position determining unit 194 converts the position of the target 503 in the image coordinate system to the position (WorldX, WorldY) of the target 503 in the world coordinate system in order to correct distortion of the coordinate transformed image (SD9). . Specifically, the suction position determining unit 194 uses the internal parameters and external parameters calculated in SD4 and the target height information indicating the height of the target 503 to determine the world position from the position of the target 503 in the image coordinate system. The position of the target 503 in the coordinate system is calculated. Note that the target height information is stored in the storage unit 180 in advance.

次に、吸着位置決定部194は、SD9で算出した世界座標系におけるターゲット503の位置座標と、SD5で特定したロボット座標系におけるターゲット503の位置座標とを用いて、変換行列を算出する(SD10)。 Next, the suction position determining unit 194 calculates a transformation matrix using the position coordinates of the target 503 in the world coordinate system calculated in SD9 and the position coordinates of the target 503 in the robot coordinate system specified in SD5 (SD10 ).

なお、本実施形態では、位置特定用カメラ122は2つ設けられているため、各位置特定用カメラ122a及び122bについて、内部パラメータ及び外部パラメータの算出、及び変換行列の算出が行われる。また、外部パラメータは、位置特定用カメラ122の設置位置に依存する。そのため、位置特定用カメラ122はカセット棚110に強固に固定されると共に、設置位置にずれが生じた場合には、外部パラメータは再度算出される。 In this embodiment, since two position specifying cameras 122 are provided, internal parameters and external parameters are calculated, and a transformation matrix is calculated for each position specifying camera 122a and 122b. Further, the external parameters depend on the installation position of the position specifying camera 122. Therefore, the position specifying camera 122 is firmly fixed to the cassette shelf 110, and if the installation position shifts, the external parameters are calculated again.

(吸着位置の決定処理)
次に、カセットCaに収容された注射薬の吸着位置を決定する処理について、図21及び図22を用いて説明する。図21は、カセットCaに収容された注射薬の吸着位置を決定する処理の一例を示す図である。図21の処理は、図14に示すSA3の処理を具体的に説明するものである。図22の(a)及び(b)は、画像におけるカセットCaの検出について説明するための図である。
(Determination process of suction position)
Next, the process of determining the adsorption position of the injection drug accommodated in the cassette Ca will be explained using FIGS. 21 and 22. FIG. 21 is a diagram illustrating an example of a process for determining an adsorption position of an injection drug contained in a cassette Ca. The process in FIG. 21 specifically explains the SA3 process shown in FIG. 14. (a) and (b) of FIG. 22 are diagrams for explaining detection of the cassette Ca in an image.

図21に示すように、吸着位置決定部194は、注射薬払出システム1に提供された処方データに含まれる注射薬識別情報と、薬品マスタに含まれる注射薬識別情報とを照合する。これにより、吸着位置決定部194は、処理位置132に載置されるカセットCaに収容された注射薬(撮影対象となる注射薬)の形状モデルを読み込む(SE1)。 As shown in FIG. 21, the suction position determining unit 194 compares the injection drug identification information included in the prescription data provided to the injection drug dispensing system 1 with the injection drug identification information included in the drug master. Thereby, the suction position determining unit 194 reads the shape model of the injection drug (the injection drug to be photographed) stored in the cassette Ca placed at the processing position 132 (SE1).

次に、位置特定用カメラ122は、処理位置132に移送されたカセット保持部130(つまり、当該カセット保持部130に載置されたカセットCa、及び当該カセットCaに収容された注射薬)を撮影する(SE2)。例えば、撮影対象となる注射薬が収容されたカセットCaがカセット保持部130bに載置されている場合、位置特定用カメラ122aにより、図22の(a)に示すような画像Im2が撮影される。 Next, the position specifying camera 122 photographs the cassette holder 130 (that is, the cassette Ca placed on the cassette holder 130 and the injection medicine stored in the cassette Ca) transferred to the processing position 132. (SE2). For example, when a cassette Ca containing an injection drug to be photographed is placed on the cassette holder 130b, an image Im2 as shown in FIG. 22(a) is photographed by the position specifying camera 122a. .

次に、吸着位置決定部194は、撮影された画像から、当該画像に含まれるカセットCaを検出する(SE3)。カセットCaは、処理位置132に筐体の色とは異なる特定色を有する。そのため、吸着位置決定部194は、特定色を検出することで、簡易にカセットCaを検出できる。特に、特定色が青色である場合、カセットCaを検出しやすい。 Next, the suction position determination unit 194 detects the cassette Ca included in the photographed image (SE3). The cassette Ca has a specific color at the processing position 132 that is different from the color of the casing. Therefore, the suction position determination unit 194 can easily detect the cassette Ca by detecting the specific color. In particular, when the specific color is blue, it is easy to detect the cassette Ca.

なお、撮影領域122c又は122dに2つのカセット保持部130が載置されている場合であっても、吸着位置決定部194は、決定されている払出順序に基づき、撮影対象となる注射薬を特定できる。そのため、吸着位置決定部194は、撮影領域122c又は122dに載置された2つのカセット保持部130のうち、撮影対象となる注射薬を含むカセットCaを特定できる。 Note that even if two cassette holding units 130 are placed in the imaging area 122c or 122d, the suction position determining unit 194 identifies the injection drug to be imaged based on the determined dispensing order. can. Therefore, the suction position determination unit 194 can identify the cassette Ca containing the injection drug to be imaged, among the two cassette holding units 130 placed in the imaging area 122c or 122d.

ここで、図22の(b)は、カセットCaを上方向から見た場合の図である。薬剤搬送部121は、カセットCa内部の端部領域(側壁の内側からの幅W2を有する領域)に存在する注射薬を吸着できない可能性がある。また、カセットCaの側壁部分(厚みW1)についても、注射薬を吸着する領域として特定することはできない。そのため、吸着位置決定部194は、画像においてカセットCaとして検出した領域から、上記側壁部分及び上記端部領域(カセットCaの外縁からの厚みW1及び幅W2を有する領域)を除いた領域を、注射薬の吸着可能領域Raとして特定する。 Here, FIG. 22(b) is a diagram of the cassette Ca viewed from above. The drug transport unit 121 may not be able to adsorb the injection drug present in the end region inside the cassette Ca (the region having the width W2 from the inside of the side wall). Furthermore, the side wall portion (thickness W1) of the cassette Ca cannot be specified as a region that adsorbs the injection drug. Therefore, the suction position determining unit 194 injects an area excluding the side wall portion and the end area (area having a thickness W1 and a width W2 from the outer edge of the cassette Ca) from the area detected as the cassette Ca in the image. It is specified as the drug adsorption area Ra.

なお、吸着可能領域Ra以外の領域に注射薬が存在する場合、吸着位置決定部194は、当該注射薬を吸着対象の注射薬として決定しない。つまり、吸着可能領域Ra内に存在する注射薬のみを吸着対象の注射薬として特定する。注射薬が吸着可能領域Ra以外の領域にしか存在しない場合、吸着位置決定部194は、注射薬を吸着できない旨の通知(警告)を行っても構わない。また、カセットCaが複数種類準備されている(例:互いに高さが異なるカセットCaが準備されている)場合には、カセットCaの種類毎に吸着可能領域Raが特定される。 Note that if an injection exists in an area other than the adsorption possible area Ra, the suction position determining unit 194 does not determine the injection as the injection to be adsorbed. That is, only the injection drugs existing within the adsorption possible area Ra are specified as injection drugs to be adsorbed. If the injection medicine exists only in an area other than the adsorption possible area Ra, the suction position determination unit 194 may issue a notification (warning) that the injection medicine cannot be adsorbed. Further, when a plurality of types of cassettes Ca are prepared (for example, cassettes Ca having different heights are prepared), the adsorption possible area Ra is specified for each type of cassette Ca.

SE3の処理後、吸着位置決定部194は、画像内において注射薬領域を強調するための前処理を行う(SE4)。例えば、吸着位置決定部194は、ラベルと想定される領域を例えば特定色に変換することにより、画像におけるラベルを消去したり、注射薬の外縁を規定する輪郭と想定される領域(例:隣接するピクセルにおいて所定の輝度差又は色差がある領域)を強調する処理を行ったりする。その後、吸着位置決定部194は、画像から、当該画像に含まれる注射薬領域を検出する(SE5)。例えば、吸着位置決定部194は、SE4で処理した画像に対して2値化処理を行うことで、所定範囲の階調値を有するピクセルを含む領域(つまり、カセットCaの特定色とは異なる色を有する領域)を注射薬領域として特定する。その後、吸着位置決定部194は、特定した注射薬領域と、SE1で読み込んだ形状モデルとの照合を行う(SE6)。 After the process of SE3, the suction position determining unit 194 performs preprocessing to emphasize the injection drug area in the image (SE4). For example, the suction position determination unit 194 may erase the label in the image by converting the area assumed to be a label into a specific color, or erase the area assumed to be the outline defining the outer edge of the injection drug (e.g. adjacent For example, processing is performed to emphasize areas where there is a predetermined brightness difference or color difference in pixels. After that, the suction position determining unit 194 detects an injection drug area included in the image from the image (SE5). For example, by performing binarization processing on the image processed in SE4, the suction position determining unit 194 can generate an area including pixels having gradation values within a predetermined range (that is, a color different from the specific color of the cassette Ca). area) as the injection drug area. Thereafter, the suction position determination unit 194 compares the specified injection region with the shape model read in SE1 (SE6).

次に、吸着位置決定部194は、照合した結果の妥当性を検証する(SE7)。SE6の処理では、注射薬の輪郭部分を特定する処理となるため、複数の注射薬が隣接していたり、重なっていたりした場合には、複数の注射薬を1つの注射薬として特定してしまう場合がある。この場合、正確な吸着位置を特定することができない。 Next, the suction position determining unit 194 verifies the validity of the collated results (SE7). In the process of SE6, the outline of the injection drug is identified, so if multiple injection drugs are adjacent or overlap, the multiple injection drugs will be identified as one injection drug. There are cases. In this case, the exact suction position cannot be specified.

例えば2つの注射薬が存在する場合、2つの注射薬の間の領域には、背景としてのカセットCaが存在することになる。そのため、吸着位置決定部194は、特定した注射薬領域において、注射薬領域を貫き、かつ特定色を含む領域が存在する場合には、複数の注射薬が存在するものと認定し、照合した結果が妥当ではないと判定する。この場合、照合結果が妥当であると判定されるまで、SE6の処理が行われる。 For example, when two injections exist, the cassette Ca as a background will exist in the area between the two injections. Therefore, in the identified injection drug area, if there is an area that penetrates the injection drug area and includes a specific color, the suction position determination unit 194 recognizes that multiple injection drugs exist, and as a result of the comparison. is determined to be inappropriate. In this case, the process of SE6 is performed until it is determined that the verification result is valid.

SE7において、照合した結果が妥当であると判定した場合、画像上の注射薬領域における吸着位置(吸着座標)、及び注射薬領域の向きを算出する(SE8)。つまり、画像座標系における吸着位置を算出する。 In SE7, if it is determined that the collated result is valid, the suction position (suction coordinates) in the injection drug area on the image and the orientation of the injection drug area are calculated (SE8). That is, the suction position in the image coordinate system is calculated.

SE6において照合を行ったときに、画像における注射薬の頭部の位置を特定できるため、注射薬領域の向きを特定できる。この向きは、例えば、図22の(a)に示す画像Im2においてY軸方向(座標ImgColが設定される方向、紙面左右方向)を基準線としたときの、当該基準線と、注射薬の頭部の中心と底部の中心とを結ぶ直線とのなす角として規定される。登録された形状モデル(角度0°)を基準として算出されても構わない。なお、吸着位置の算出方法については後述する。 When verification is performed in SE6, the position of the head of the injection drug in the image can be specified, so the orientation of the injection drug region can be specified. This direction is, for example, between the reference line and the head of the injection drug when the Y-axis direction (the direction in which the coordinate ImgCol is set, the left-right direction on the page) is the reference line in the image Im2 shown in FIG. 22(a). It is defined as the angle formed by the straight line connecting the center of the part and the center of the bottom. It may be calculated based on a registered shape model (angle 0°). Note that a method for calculating the suction position will be described later.

次に、吸着位置決定部194は、位置特定用カメラ122のレンズの歪み、及び当該レンズの設置位置を補正するために、算出した画像座標系における吸着位置を、世界座標系における吸着位置へと変換する(SE9)。この変換は、図18に示すSD9の処理と同様、図19に示すSD4で算出した内部パラメータ及び外部パラメータと、注射薬の幅を示す注射薬幅情報と用いることにより行われる。 Next, the suction position determining unit 194 changes the calculated suction position in the image coordinate system to the suction position in the world coordinate system in order to correct the distortion of the lens of the position specifying camera 122 and the installation position of the lens. Convert (SE9). Similar to the process of SD9 shown in FIG. 18, this conversion is performed by using the internal parameters and external parameters calculated in SD4 shown in FIG. 19, and the injection width information indicating the width of the injection.

次に、吸着位置決定部194は、変換した世界座標系における吸着位置を、ロボット座標系における吸着位置へと変換する(SE10)。これにより、実空間における注射薬に対する吸着位置が特定される。この変換は、世界座標系における吸着位置に対して、図18に示すSD10の処理で算出された変換行列を適用することにより行われる。 Next, the suction position determination unit 194 converts the converted suction position in the world coordinate system into a suction position in the robot coordinate system (SE10). As a result, the adsorption position for the injection drug in real space is specified. This transformation is performed by applying the transformation matrix calculated in the process of SD10 shown in FIG. 18 to the suction position in the world coordinate system.

なお、注射薬が返品されたときの吸着位置は、例えば公知の手法を用いて決定可能である。そのため、その具体的な決定方法の説明については割愛する。 Note that the adsorption position when the injection drug is returned can be determined using, for example, a known method. Therefore, a detailed explanation of the determination method will be omitted.

(吸着位置決定に係る補正処理)
次に、吸着位置決定に係る補正処理について、図23~図25を用いて説明する。図23の(a)及び(b)は、レンズ歪みに起因した位置ずれの補正を説明するための図である。図24は、注射薬の幅に起因した位置ずれの補正を説明するための図である。図25の(a)~(c)は、投影に係る位置ずれの補正を説明するための図である。
(Correction processing related to suction position determination)
Next, the correction process related to the determination of the suction position will be explained using FIGS. 23 to 25. FIGS. 23A and 23B are diagrams for explaining correction of positional deviation caused by lens distortion. FIG. 24 is a diagram for explaining correction of positional deviation caused by the width of the injection drug. FIGS. 25A to 25C are diagrams for explaining correction of positional deviation related to projection.

上述のように、注射薬払出装置100では、構成の制約上、図5に示すように、2つの位置特定用カメラ122がカセット棚110の底面に設けられている。そのため、位置特定用カメラ122から、処理位置132(具体的には、処理位置132に存在するカセット保持部130に載置されたカセットCa)までの距離は、注射薬払出装置100の天井に位置特定用カメラ122が設けられる場合に比べて短くなる。 As described above, in the injection drug dispensing device 100, two position specifying cameras 122 are provided on the bottom surface of the cassette shelf 110, as shown in FIG. 5, due to configuration constraints. Therefore, the distance from the position specifying camera 122 to the processing position 132 (specifically, the cassette Ca placed on the cassette holding unit 130 located at the processing position 132) It is shorter than when the identification camera 122 is provided.

従来の注射薬払出装置では、位置特定用カメラは注射薬払出装置の天井に設けられ、その直下に薬種の判別対象となる注射薬が載置されていた。つまり、注射薬払出装置100では、上記距離が従来の注射薬払出装置の場合よりも短くなるため、位置特定用カメラ122に用いられるレンズの視野角を大きくする必要がある。なお、例えば、注射薬払出装置100では上記距離が465mm程度であるのに対し、従来の注射薬払出装置では上記距離が1.1~1.2m程度である。 In conventional injection drug dispensing devices, a position specifying camera is provided on the ceiling of the injection drug dispensing device, and the injection drug whose drug type is to be determined is placed directly below the camera. That is, in the injection drug dispensing device 100, the distance is shorter than in the case of the conventional injection drug dispensing device, so it is necessary to increase the viewing angle of the lens used in the position specifying camera 122. Note that, for example, in the injection drug dispensing device 100, the above-mentioned distance is about 465 mm, whereas in the conventional injection drug dispensing device, the above-mentioned distance is about 1.1 to 1.2 m.

また、一般に、レンズの視野角は、レンズ径が大きいほど小さくなる。上記距離が比較的大きいため、従来の注射薬払出装置では、レンズ径が比較的大きいレンズ(例:16mm)を使用できる。しかし、注射薬払出装置100で当該レンズを使用した場合、上記距離に対して視野角が小さすぎてしまい、処理位置132に載置されたカセットCa全体を撮影することができない。そのため、上記距離を考慮すれば、位置特定用カメラ122のレンズとしては、レンズ径が比較的小さいものを使用する必要がある。 Further, generally, the viewing angle of a lens becomes smaller as the lens diameter becomes larger. Since the above-mentioned distance is relatively large, a lens having a relatively large lens diameter (eg, 16 mm) can be used in the conventional injection drug dispensing device. However, when the lens is used in the injection drug dispensing device 100, the viewing angle is too small for the above distance, and the entire cassette Ca placed at the processing position 132 cannot be photographed. Therefore, in consideration of the above distance, it is necessary to use a lens with a relatively small diameter as the lens of the position specifying camera 122.

上記距離が465mm程度の場合、レンズ径が例えば8mmのレンズを用いることも考えられる。しかし、この場合、各処理位置132a~132dの全体を撮影するには、各処理位置132a~132dに対して1つずつ位置特定用カメラ122を設ける必要がある(つまり、装置全体として計4つの位置特定用カメラ122を要する)。そこで、本実施形態では、レンズ径が6mmのレンズを用いている。これにより、処理位置132a及び132bに対して共通する1つの位置特定用カメラ122aを設ける、又は、処理位置132c及び132dに対して共通する1つの位置特定用カメラ122bを設ける(つまり、装置全体として計2つの位置特定用カメラ122を設ける)だけで、各処理位置132a~132dの全体を撮影することが可能となる。 When the above-mentioned distance is about 465 mm, it is also possible to use a lens having a lens diameter of, for example, 8 mm. However, in this case, in order to photograph the entire processing positions 132a to 132d, it is necessary to provide one position identification camera 122 for each processing position 132a to 132d (that is, a total of four cameras 122 are required for the entire apparatus). (requires a localization camera 122). Therefore, in this embodiment, a lens having a lens diameter of 6 mm is used. As a result, one position specifying camera 122a common to processing positions 132a and 132b is provided, or one position specifying camera 122b is provided common to processing positions 132c and 132d (that is, the entire apparatus Only by providing a total of two position specifying cameras 122), it is possible to photograph the entire processing positions 132a to 132d.

但し、レンズ径が小さくなればなるほど、撮影した画像において歪みの度合いが大きくなる。この歪みは、カセットCaに存在する注射薬の実際の位置と、画像における注射薬の位置との間に誤差を生じさせる要因となる。そのため、この歪みを補正せずに注射薬の吸着位置を特定した場合には、注射薬の実際の位置とは異なる位置に、吸着機構121aを下してしまう可能性がある。 However, the smaller the lens diameter, the greater the degree of distortion in the captured image. This distortion causes an error between the actual position of the injection medicine in the cassette Ca and the position of the injection medicine in the image. Therefore, if the suction position of the injection drug is specified without correcting this distortion, there is a possibility that the suction mechanism 121a will be lowered to a position different from the actual position of the injection medicine.

また、位置特定用カメラ122を2つの処理位置132に対して共通となるように設けているため、処理位置132に載置されたカセットCaを斜め方向から撮影することになる。注射薬はある程度の幅を有するため、斜め方向から注射薬の撮影を行った場合には、画像における注射薬の位置が、注射薬の実際の位置とは異なる可能性がある。また、実際の注射薬において想定している吸着位置が、画像においては、当該吸着位置とは異なる位置となる可能性がある。そのため、これらの可能性も考慮しないと、上述のように、注射薬の実際の位置とは異なる位置に、吸着機構121aを下してしまう可能性がある。 Further, since the position specifying camera 122 is provided in common to the two processing positions 132, the cassette Ca placed at the processing position 132 is photographed from an oblique direction. Since the injection medicine has a certain width, when the injection medicine is photographed from an oblique direction, the position of the injection medicine in the image may be different from the actual position of the injection medicine. Moreover, the suction position assumed for an actual injection drug may be a different position from the suction position in the image. Therefore, if these possibilities are not taken into account, there is a possibility that the adsorption mechanism 121a will be lowered to a position different from the actual position of the injection drug, as described above.

従って、吸着位置決定部194は、位置特定用カメラ122が撮影した画像を解析することで、以下に示す画像上の位置ずれを考慮して、画像における吸着位置(吸着座標)を補正する。 Therefore, the suction position determining unit 194 corrects the suction position (suction coordinates) in the image by analyzing the image taken by the position specifying camera 122 and taking into account the positional deviation on the image shown below.

(レンズ歪みに起因した位置ずれの補正)
上述のように、レンズにはレンズ固有の歪みが存在する。本実施形態では、位置特定用カメラ122のレンズとして、凸レンズが使用されている。そのため、画像には樽型歪曲が生じる。
(Correction of positional deviation caused by lens distortion)
As mentioned above, lenses have their own distortion. In this embodiment, a convex lens is used as the lens of the position specifying camera 122. Therefore, barrel distortion occurs in the image.

図23の(a)は、レンズ歪みが生じていない理想的な画像Ii示す。この場合、画像Irにおける各ターゲット(図中の4点の丸印)の位置関係は、実空間での各ターゲットの位置関係と比例関係となる。しかし、実際には樽型歪曲が生じる。この場合、図23の(b)に示すような画像Irが撮影される。画像Irにおいては、画像Irの中心位置から離れた位置にあるターゲットほどレンズ歪みの影響を受ける。図23の(a)に示す画像Iiと比較した場合、当該ターゲットほど、中心位置側によっていることが分かる。そのため、レンズ歪みに起因した位置ずれを補正するためには、画像における各位置に応じて、当該位置に存在する像を中心位置から外側へ移動させる補正を行う必要がある。 FIG. 23(a) shows an ideal image Ii without lens distortion. In this case, the positional relationship of each target (four circles in the figure) in the image Ir is proportional to the positional relationship of each target in real space. However, in reality, barrel distortion occurs. In this case, an image Ir as shown in FIG. 23(b) is photographed. In image Ir, the farther a target is from the center of image Ir, the more the target is affected by lens distortion. When compared with the image Ii shown in FIG. 23(a), it can be seen that the target is closer to the center position. Therefore, in order to correct the positional shift caused by lens distortion, it is necessary to perform correction for each position in the image by moving the image existing at that position outward from the center position.

上述のように、内部パラメータはレンズ固有の歪み度合いを規定する。つまり、内部パラメータを参照することで、画像の各位置における歪み度合いを特定できるため、像を中心位置から外側へと移動させるための補正量を位置毎に算出できる。 As mentioned above, the intrinsic parameter defines the degree of distortion inherent to the lens. In other words, by referring to the internal parameters, the degree of distortion at each position of the image can be specified, so the amount of correction for moving the image outward from the center position can be calculated for each position.

また、画像Irにおける中心位置は、位置特定用カメラ122のレンズの姿勢に依存する。そのため、当該姿勢を規定した外部パラメータを参照することで、画像Irにおける中心位置を特定できる。つまり、中心位置を特定した後に上記補正量を算出することで、正確な補正量を算出できる。 Further, the center position in the image Ir depends on the attitude of the lens of the position specifying camera 122. Therefore, by referring to the external parameters that define the posture, the center position in the image Ir can be specified. In other words, by calculating the above-mentioned correction amount after specifying the center position, an accurate correction amount can be calculated.

図21のSE9の処理においては、吸着位置決定部194は、画像座標系における吸着位置を上記補正量の分ずらすために、算出した内部パラメータ及び外部パラメータを用いて世界座標系における吸着位置を算出している。 In the process of SE9 in FIG. 21, the suction position determining unit 194 calculates the suction position in the world coordinate system using the calculated internal parameters and external parameters in order to shift the suction position in the image coordinate system by the above correction amount. are doing.

(注射薬の幅に起因した位置ずれの補正)
また、注射薬の幅(処理位置132に載置されたときの注射薬の高さ)によって、同じ位置に載置した注射薬であっても、画像においてはその位置が異なってくる。図24に示すように、位置特定用カメラ122から真下以外の位置に、幅が異なる2つの注射薬DA及びDBが載置された場合を考える。この場合、注射薬の幅の大きさに応じて、注射薬の、載置面Faから最も離れた位置に対応する、画像における位置が異なる。
(Correction of positional deviation caused by the width of the injection drug)
Further, even if the injection medicines are placed at the same position, their positions differ in the image depending on the width of the injection medicine (the height of the injection medicine when placed at the processing position 132). As shown in FIG. 24, consider a case where two injection drugs DA and DB having different widths are placed at a position other than directly below the position specifying camera 122. In this case, the position of the injection drug in the image corresponding to the position farthest from the mounting surface Fa differs depending on the width of the injection drug.

具体的には、図24に示すように、注射薬DAの、載置面Faから最も離れた位置PAに対応する、画像における位置DAiは、注射薬DAが載置された位置よりも距離d(A)だけ離れた位置となる。また、注射薬DBの、載置面Faから最も離れた位置PBに対応する、画像における位置DBiは、注射薬DBが載置された位置よりも距離d(B)だけ離れた位置となる。つまり、注射薬の幅が大きくなればなるほど、画像における上記位置が、実際に注射薬が載置されている位置よりも離れた位置となることが分かる。そのため、注射薬の幅に起因した位置ずれを補正するためには、画像における各位置に応じて、当該位置に存在する像を中心位置から内側へ移動させる補正を行う必要がある。 Specifically, as shown in FIG. 24, the position DAi in the image corresponding to the position PA of the injection drug DA farthest from the placement surface Fa is a distance d from the position where the injection drug DA is placed. The distance will be (A). Further, a position DBi in the image corresponding to the position PB of the injection drug DB farthest from the mounting surface Fa is a position separated by a distance d(B) from the position where the injection drug DB is placed. In other words, it can be seen that the larger the width of the injection, the further away the position in the image is from the position where the injection is actually placed. Therefore, in order to correct the positional deviation caused by the width of the injection drug, it is necessary to perform correction according to each position in the image by moving the image existing at the position inward from the center position.

上述のように、複数種類の注射薬のそれぞれについて、注射薬幅情報が薬品マスタに登録されている。そのため、当該注射薬幅情報が示す注射薬の幅、及び画像における注射薬の位置を用いて、上記距離を算出できる。つまり、像を中心位置から内側へと移動させるための補正量を位置毎に算出できる。また、上述のように、中心位置については、外部パラメータを参照することで特定できる。そのため、当該補正量についても正確に算出できる。 As described above, injection width information is registered in the drug master for each of the plurality of types of injection drugs. Therefore, the distance can be calculated using the width of the injection indicated by the injection width information and the position of the injection in the image. In other words, the amount of correction for moving the image inward from the center position can be calculated for each position. Further, as described above, the center position can be specified by referring to external parameters. Therefore, the correction amount can also be calculated accurately.

図21のSE9の処理においては、吸着位置決定部194は、画像座標系における吸着位置を上記補正量の分ずらすために、算出した外部パラメータ、及び登録された注射薬幅情報を用いて、世界座標系における吸着位置を算出している。 In the process of SE9 in FIG. 21, the suction position determination unit 194 uses the calculated external parameters and the registered injection width information to shift the suction position in the image coordinate system by the above correction amount. The suction position in the coordinate system is calculated.

以上から、世界座標系における吸着位置は、レンズ歪みに起因した位置ずれの補正、及び注射薬の幅に起因した位置ずれの補正を行った結果としての吸着位置であるといえる。 From the above, it can be said that the suction position in the world coordinate system is the suction position as a result of correcting the positional deviation caused by lens distortion and the positional deviation caused by the width of the injection drug.

(投影に係る位置ずれの補正)
また、処理位置132のどの位置に注射薬が載置されているかによっても、注射薬の、載置面Faから最も離れた位置に対応する、画像における位置が異なってくる。図25の(a)に示すように、位置特定用カメラ122から真下以外の位置に、注射薬DCが載置された場合を考える。この場合、注射薬DCの、載置面Faから最も離れた位置Paに対応する、画像における位置Pr1は、画像における注射薬の投影像DCi1における中心位置Pr2とは異なる位置となる。つまり、図25の(b)に示すように、注射薬を真上から見たときには、上記位置Paは注射薬の中心位置であるが、図25の(c)に示すように、投影像DCi1においては、上記位置Paは注射薬の中心からずれた位置となる。
(Correction of positional deviation related to projection)
Furthermore, depending on where in the processing position 132 the injection drug is placed, the position of the injection drug in the image corresponding to the position farthest from the placement surface Fa changes. As shown in FIG. 25(a), consider a case where the injection drug DC is placed at a position other than directly below the position specifying camera 122. In this case, the position Pr1 in the image corresponding to the position Pa of the injection drug DC farthest from the placement surface Fa is different from the center position Pr2 in the projected image DCi1 of the injection drug in the image. That is, as shown in FIG. 25(b), when the injection drug is viewed from directly above, the position Pa is the center position of the injection drug, but as shown in FIG. 25(c), the projected image DCi1 In this case, the position Pa is shifted from the center of the injection drug.

注射薬の上記位置Paは、対向する吸着機構121aに最も近い位置であるため、当該位置Paが注射薬の吸着位置として特定されることが好ましい。しかし、投影像DCi1における中心位置Pr2を注射薬の吸着位置として特定してしまうと、実際の注射薬の中心位置(つまり上記位置Pa)からずれた位置となってしまう。特にそのずれが大きい場合には、吸着機構121aは、注射薬を吸着できない可能性がある。そのため、このずれを補正する必要がある。 Since the position Pa of the injection drug is the closest position to the opposing adsorption mechanism 121a, it is preferable that the position Pa is specified as the adsorption position of the injection drug. However, if the center position Pr2 in the projected image DCi1 is specified as the injection drug adsorption position, the position will be shifted from the actual injection drug center position (that is, the above-mentioned position Pa). In particular, if the deviation is large, the adsorption mechanism 121a may not be able to adsorb the injection drug. Therefore, it is necessary to correct this deviation.

そこで、吸着位置決定部194は、図25の(a)に示すように、投影像DCi1を、注射薬DCの半径だけ位置特定用カメラ122の方向(鉛直方向)に移動させた投影像DCi2に変換する。注射薬DCの幅は注射薬幅情報として薬品マスタに登録されているため、吸着位置決定部194は、注射薬DCの半径を特定できる。なお、薬品マスタに、注射薬の半径を示す注射薬半径情報が登録されていても構わない。 Therefore, as shown in FIG. 25(a), the suction position determining unit 194 converts the projected image DCi1 into a projected image DCi2 that is moved in the direction (vertical direction) of the position specifying camera 122 by the radius of the injection drug DC. Convert. Since the width of the injection drug DC is registered in the drug master as injection drug width information, the suction position determination unit 194 can specify the radius of the injection drug DC. Note that injection drug radius information indicating the radius of the injection drug may be registered in the drug master.

注射薬DCの半径を用いた、投影像DCi1を投影像DCi2への変換により、投影像DCi2における中心位置Pcが上記位置Paと略同一となる。つまり、上記変換は、図25の(c)に示す投影像DCi1を、図25の(b)に示す注射薬DCと略同一となるように回転した結果としての投影像DCi2を生成するものといえる。図21のSE8の処理における、画像座標系における吸着位置の算出は、上記変換を行うことを意味する。 By converting the projection image DCi1 into the projection image DCi2 using the radius of the injection drug DC, the center position Pc in the projection image DCi2 becomes approximately the same as the above-mentioned position Pa. In other words, the above conversion generates a projected image DCi2 as a result of rotating the projected image DCi1 shown in FIG. 25(c) so that it becomes approximately the same as the injection drug DC shown in FIG. 25(b). I can say that. Calculating the suction position in the image coordinate system in the process of SE8 in FIG. 21 means performing the above conversion.

(その他)
なお、位置特定用カメラ122に比較的高価なレンズを用いた場合、レンズ歪み及び注射薬の高さに起因した位置ずれは生じにくい。そのため、比較的高価なレンズを用いた場合には、吸着位置決定部194は、少なくとも投影に係る位置ずれの補正を行えばよい。但し、本実施形態では、レンズ歪み及び注射薬の高さに起因した位置ずれの補正も行うことで、比較的安価なレンズを用いることを可能にしている。
(others)
Note that when a relatively expensive lens is used for the position specifying camera 122, positional displacement due to lens distortion and the height of the injection drug is unlikely to occur. Therefore, when a relatively expensive lens is used, the suction position determination unit 194 only needs to correct at least the positional deviation related to projection. However, in this embodiment, lens distortion and positional deviation caused by the height of the injection drug are corrected, thereby making it possible to use a relatively inexpensive lens.

また、上記では、レンズ径が6mmのレンズを用いた場合を例示して説明したが、これに限られない。各処理位置132に載置されたカセットCaの全体を撮影することが可能なレンズ径を有するレンズを用いることが可能である。例えば、上記距離を465mmよりも大きくすることで、レンズ径が8mmのレンズの使用も可能となる。 Moreover, although the case where the lens diameter used the lens of 6 mm was illustrated and demonstrated above, it is not restricted to this. It is possible to use a lens having a lens diameter capable of photographing the entire cassette Ca placed at each processing position 132. For example, by increasing the distance above 465 mm, it becomes possible to use a lens with a lens diameter of 8 mm.

(効果)
以上のとおり、本実施形態の注射薬払出装置100は、入力された処方データに基づき、1患者への投与に係る注射薬の種類及び有効期限を自動的に判別して払い出すことができる。したがって、病院などにおける注射薬の払い出し業務を効率化することができる。
(effect)
As described above, the injection drug dispensing device 100 of the present embodiment can automatically determine the type and expiration date of an injection drug to be administered to one patient and dispense it based on the input prescription data. Therefore, it is possible to improve the efficiency of dispensing of injection drugs in hospitals and the like.

特に、注射薬払出装置100が備える薬剤カセット取扱装置200において、注射薬は、カセットCaごと移動させられるか、又は吸着機構に吸着されて移動させられる。このため、注射薬払出装置100においては、従来のランダム式の注射薬払出装置と比較して、注射薬が払い出される過程で当該注射薬が破損する虞が低減される。 Particularly, in the drug cassette handling device 200 included in the injection drug dispensing device 100, the injection drug is moved together with the cassette Ca, or is moved by being adsorbed by an adsorption mechanism. Therefore, in the injection drug dispensing device 100, the possibility that the injection drug will be damaged during the process of dispensing the injection drug is reduced compared to the conventional random type injection drug dispensing device.

また、注射薬払出装置100においては、薬剤搬送部121と薬剤移動部153とが別個に設けられている。このため、(i)カセットCaからの注射薬の取出しと、(ii)搬送トレイ151aへの注射薬の払い出しとを並行して行うことができる。したがって、注射薬払出装置100によれば、注射薬の高速な払い出しを実現できる。 Furthermore, in the injection drug dispensing device 100, a drug transport section 121 and a drug moving section 153 are separately provided. Therefore, (i) taking out the injection medicine from the cassette Ca and (ii) discharging the injection medicine to the transport tray 151a can be performed in parallel. Therefore, according to the injection drug dispensing device 100, high-speed dispensing of the injection drug can be realized.

〔上記構成の別表現〕
上記構成について、以下のように表現できる。
[Another expression of the above structure]
The above configuration can be expressed as follows.

[1]上記の課題を解決するために、本発明の一態様に係る薬剤カセット取扱装置は、薬剤を収容するm個のカセットを保管するカセット棚と、上記カセットに収容された薬剤に対して特定処理を行うための特定処理部と、上記カセットのうち、上記特定処理を受けるカセットをn個(m>n≧2)まで一時的に保持可能なカセット保持部と、上記カセット保持部に保持される上記カセットを差し替えるために、上記カセット棚と上記カセット保持部との間で上記カセットを移送するカセット移送部と、を備える。 [1] In order to solve the above problems, a drug cassette handling device according to one aspect of the present invention includes a cassette shelf for storing m cassettes containing drugs, and a device for handling drugs stored in the cassettes. a specific processing unit for performing specific processing; a cassette holding unit capable of temporarily holding up to n (m>n≧2) cassettes to be subjected to the specific processing among the cassettes; and holding in the cassette holding unit. and a cassette transfer section that transfers the cassette between the cassette shelf and the cassette holding section in order to replace the cassette.

例えば、多数(m個)のカセットが保管されたカセット棚において特定処理を行おうとすると、カセット棚の各カセット保管位置へ、薬剤の取出及び搬送を行う搬送機構を移動させる必要がある。そのため、この場合には、薬剤カセット取出装置の機構が複雑になるとともに、搬送機構を移動させるための時間を要する。 For example, when attempting to perform a specific process on a cassette shelf where a large number (m) of cassettes are stored, it is necessary to move a transport mechanism that takes out and transports medicines to each cassette storage position on the cassette shelf. Therefore, in this case, the mechanism of the medicine cassette retrieval device becomes complicated, and it takes time to move the transport mechanism.

上記の構成によれば、多数のカセットのうちの一部(n個)をカセット保持部に一時的に保持させ、その領域において特定処理を集中的に行うことが可能となる。そのため、特定処理を効率良く行うことが可能となる。 According to the above configuration, it is possible to temporarily hold some (n) of the large number of cassettes in the cassette holding section, and perform specific processing intensively in that area. Therefore, it becomes possible to perform specific processing efficiently.

また、カセット保持部は2以上のカセットを保持できるため、あるカセットに対して特定処理が行われている間に他のカセットを差し替えることができる。このため、あるカセットに対する特定処理と、他のカセットに対する特定処理との間に生じる待ち時間の発生を抑制することができる。 Furthermore, since the cassette holding section can hold two or more cassettes, it is possible to replace one cassette with another while the specific process is being performed on one cassette. Therefore, it is possible to suppress the waiting time that occurs between the specific processing for one cassette and the specific processing for another cassette.

[2]さらに、本発明の一態様に係る薬剤カセット取扱装置では、上記カセット保持部は、上記カセット移送部から上記カセットを受け入れるカセット受入位置と、上記カセットが上記特定処理を受けるための処理位置との間で上記カセットを往復移動させても構わない。 [2] Furthermore, in the drug cassette handling device according to one aspect of the present invention, the cassette holding section has a cassette receiving position for receiving the cassette from the cassette transfer section and a processing position for the cassette to undergo the specific processing. The cassette may be moved back and forth between.

上記の構成によれば、特定処理部の動作とカセット移送部の動作との干渉を回避できる。 According to the above configuration, interference between the operation of the specific processing section and the operation of the cassette transfer section can be avoided.

[3]さらに、本発明の一態様に係る薬剤カセット取扱装置では、上記カセット棚は、鉛直面内で行列状に上記カセットを保管し、上記カセット移送部は、上記カセットを、上記カセット棚から引き出し、鉛直方向に移送して上記カセット受入位置にある上記カセット保持部に載置し、上記カセット保持部は、上記カセットを上記処理位置へ向けて水平方向に移動させても構わない。 [3] Furthermore, in the drug cassette handling device according to one aspect of the present invention, the cassette shelf stores the cassettes in rows and columns within a vertical plane, and the cassette transfer unit transports the cassettes from the cassette shelf. The cassette may be pulled out, vertically transferred, and placed on the cassette holder at the cassette receiving position, and the cassette holder may horizontally move the cassette toward the processing position.

上記の構成によれば、カセットの移送動作において無駄な動作が生じにくい。そのため、カセットの差し替えを効率良く行うことができる。また、薬剤カセット取扱装置のスペースを有効活用できる。 According to the above configuration, unnecessary operations are less likely to occur in the cassette transfer operation. Therefore, cassettes can be replaced efficiently. Moreover, the space of the drug cassette handling device can be effectively utilized.

[4]さらに、本発明の一態様に係る薬剤払出装置は、上記[1]~[3]のいずれかに記載の薬剤カセット取扱装置を含む薬剤払出装置であって、上記特定処理部は、上記カセットに収容された薬剤を払出すために上記薬剤を上記カセットから取り出し搬送する薬剤搬送部を含んでも構わない。 [4] Further, a medicine dispensing device according to one aspect of the present invention is a medicine dispensing device including the medicine cassette handling device according to any one of [1] to [3] above, wherein the specific processing section includes: In order to dispense the medicine stored in the cassette, the medicine transporting unit may include a medicine transporting section that takes out and transports the medicine from the cassette.

上記の構成によれば、薬剤カセット取扱装置によって取り出されたカセット内の薬剤を取り出し、別の箇所へと搬送できる。 According to the above configuration, the medicine in the cassette taken out by the medicine cassette handling device can be taken out and transported to another location.

[5]さらに、本発明の一態様に係る薬剤払出装置では、上記特定処理部は、上記カセットから取り出す薬剤を特定するための撮影を行う第1撮影部を含んでも構わない。 [5] Furthermore, in the medicine dispensing device according to one aspect of the present invention, the identification processing section may include a first imaging section that performs imaging for identifying the medicine to be taken out from the cassette.

上記の構成によれば、撮影した画像データに基づき、カセットから取り出す薬剤を特定できる。 According to the above configuration, the medicine to be taken out from the cassette can be specified based on the photographed image data.

[6]さらに、本発明の一態様に係る薬剤払出装置では、上記特定処理部は、上記薬剤に付された第1識別情報を読み取る読取部と、上記読取部によって読み取られた第1識別情報を、入力された薬剤の固有情報と照合した結果に基づき、上記薬剤の払出しの可否を判別する第1判別処理部と、を含んでも構わない。 [6] Furthermore, in the medicine dispensing device according to one aspect of the present invention, the identification processing unit includes a reading unit that reads first identification information attached to the medicine, and a reading unit that reads first identification information attached to the medicine. and a first determination processing unit that determines whether or not the medicine can be dispensed based on the result of comparing the medicine with input unique information of the medicine.

上記の構成によれば、第1識別情報に基づき、薬剤の払出しの可否を判別できる。なお、第1識別情報としては、例えば、薬剤の種類を読み取るためのバーコードが挙げられる。 According to the above configuration, it is possible to determine whether medicine can be dispensed based on the first identification information. Note that the first identification information includes, for example, a barcode for reading the type of medicine.

[7]さらに、本発明の一態様に係る薬剤払出装置では、上記特定処理部は、上記薬剤に付された第2識別情報を撮影する第2撮影部と、上記第2撮影部によって撮影された第2識別情報に基づき、上記薬剤の払出しの可否を判別する第2判別処理部と、を含んでも構わない。 [7] Furthermore, in the medicine dispensing device according to one aspect of the present invention, the identification processing unit includes a second imaging unit that photographs second identification information attached to the medicine, and a second imaging unit that photographs the second identification information attached to the medicine. and a second determination processing section that determines whether or not the medicine can be dispensed based on the second identification information.

上記の構成によれば、第2識別情報に基づき、薬剤の払出しの可否を判別できる。なお、第2識別情報としては、例えば、薬剤の有効期限が挙げられる。 According to the above configuration, it is possible to determine whether medicine can be dispensed or not based on the second identification information. Note that the second identification information includes, for example, the expiration date of the medicine.

[8]さらに、本発明の一態様に係る薬剤払出装置では、上記特定処理部は、上記読取部による読取り、又は上記第2撮影部による撮影のために、上記薬剤搬送部によって搬送された薬剤を受け入れ、受け入れた薬剤を軸方向に回転させる薬剤回転部を含んでも構わない。 [8] Furthermore, in the drug dispensing device according to one aspect of the present invention, the specific processing section may store the drug transported by the drug transport section for reading by the reading section or photographing by the second photographing section. The device may also include a drug rotating section that receives the drug and rotates the received drug in the axial direction.

読取部又は第2撮像部が第1識別情報又は第2識別情報を取得するためには、薬剤における、第1識別情報又は第2識別情報が付された位置を、読取部又は第2撮像部と対向させる必要がある。 In order for the reading section or the second imaging section to acquire the first identification information or the second identification information, the position on the medicine where the first identification information or the second identification information is attached is detected by the reading section or the second imaging section. It is necessary to face it.

上記の構成によれば、薬剤回転部により薬剤を軸方向に回転させることができるため、読取部又は第2撮像部により第1識別情報又は第2識別情報を取得できるように、上記位置を読取部又は第2撮像部と対向させることが可能となる。 According to the above configuration, since the medicine rotation unit can rotate the medicine in the axial direction, the position is read so that the reading unit or the second imaging unit can acquire the first identification information or the second identification information. or the second imaging section.

[9]さらに、本発明の一態様に係る薬剤払出装置では、受け入れた薬剤を搭載する複数の搭載部を有し、上記複数の搭載部の少なくとも1つは、上記薬剤回転部を備え、上記特定処理部は、上記複数の搭載部のそれぞれの位置を、上記薬剤搬送部から薬剤を受け入れる薬剤受入位置と、上記薬剤を払出すために薬剤を受け渡す薬剤受渡位置との間で変更する位置変更部を含んでも構わない。 [9] Furthermore, the medicine dispensing device according to one aspect of the present invention has a plurality of loading parts on which received medicines are loaded, and at least one of the plurality of loading parts includes the medicine rotating part, The specific processing section changes the position of each of the plurality of loading sections between a drug receiving position for receiving a drug from the drug transporting section and a drug delivery position for delivering the drug to dispense the drug. It is also possible to include a modified part.

読取部又は第2撮像部により第1識別情報又は第2識別情報を取得するために、カセットから取り出された薬剤は、搭載部に搬送されることにより、搭載部に受け入れられる必要がある。一方、第1識別情報又は第2識別情報に基づき払出し可否の判別が行われた薬剤は、搭載部から別の箇所へ搬送されることにより、別の箇所へ受け渡される。この薬剤の受入動作及び受渡動作の対象となる搭載部が1つである場合、搭載部に受け入れられた薬剤が別の箇所へ搬送された後に、次の薬剤が搭載部に受け入れられる。つまり、この場合、受入動作と受渡動作との干渉が生じる。 In order to acquire the first identification information or the second identification information by the reading section or the second imaging section, the medicine taken out from the cassette needs to be received by the mounting section by being transported to the mounting section. On the other hand, the medicine for which it has been determined whether or not to be dispensed based on the first identification information or the second identification information is transferred from the loading section to another location, thereby being delivered to another location. When there is only one loading section that is subject to this medicine receiving operation and delivery operation, the next medicine is received by the loading section after the medicine received by the loading section is transported to another location. That is, in this case, interference occurs between the receiving operation and the handing operation.

上記の構成によれば、各搭載部の位置を、薬剤受入位置と薬剤受渡位置との間で変更するため、上述したような受入動作と受渡動作との干渉を回避できる。また、当該干渉を回避できる結果、払出動作速度を向上させることができる。 According to the above configuration, since the position of each loading section is changed between the drug receiving position and the drug delivery position, it is possible to avoid interference between the receiving operation and the delivery operation as described above. Moreover, as a result of being able to avoid this interference, it is possible to improve the speed of the dispensing operation.

[10]さらに、本発明の一態様に係る薬剤払出装置では、上記m個のカセットのそれぞれと、上記m個のカセットのそれぞれに収容された薬剤との対応関係を示す対応関係データが記憶されており、上記カセット移送部は、受信した処方データのうち、1患者への投与に係る処方データに2種以上の薬剤が含まれている場合に、当該処方データ、及び上記対応関係データに基づいて、当該薬剤が収容されたカセットをそれぞれ上記カセット保持部へと移送しても構わない。 [10] Further, in the medicine dispensing device according to one aspect of the present invention, correspondence data indicating a correspondence between each of the m cassettes and the medicine stored in each of the m cassettes is stored. Among the received prescription data, if the prescription data related to administration to one patient includes two or more types of drugs, the cassette transfer unit transfers the data based on the prescription data and the correspondence relationship data. Then, the cassettes each containing the drug may be transferred to the cassette holding section.

上記の構成によれば、1患者への投与に係る処方データに2種以上の薬剤が含まれている場合に、各薬剤が収容されたカセットをそれぞれカセット保持部へ搬送した後、各カセットに収容された薬剤に対して特定処理を実行することが可能となる。そのため、上記処方データに基づく薬剤の払出しを効率良く行うことが可能となる。 According to the above configuration, when two or more types of drugs are included in the prescription data related to administration to one patient, after the cassettes containing each drug are transported to the cassette holding section, each cassette is It becomes possible to perform specific processing on the contained medicine. Therefore, it becomes possible to efficiently dispense medicine based on the prescription data.

なお、対応関係データは、m個のカセットCaのそれぞれと、m個のカセットCaのそれぞれに収容された薬剤との対応関係を示すデータに限られない。m個のカセットが、カセットCaと、大型返品薬カセット163及び/又は中小型返品薬カセット164とから構成される場合、対応関係データは、カセットCaと、大型返品薬カセット163及び/又は中小型返品薬カセット164とから構成されるm個のカセットのそれぞれと、当該m個のカセットのそれぞれに収容された薬剤との対応関係を示すデータであればよい。 Note that the correspondence data is not limited to data indicating the correspondence between each of the m cassettes Ca and the medicines contained in each of the m cassettes Ca. When the m cassettes are composed of the cassette Ca and the large returned medicine cassette 163 and/or the small and medium sized returned medicine cassette 164, the correspondence data is the cassette Ca and the large returned medicine cassette 163 and/or the small and medium sized returned medicine cassette 164. Any data may be used as long as the data indicates the correspondence between each of the m cassettes including the returned medicine cassette 164 and the medicine contained in each of the m cassettes.

≪その他の構成≫
以下に、主として、注射薬払出装置100の更なる構成及び処理等について説明する。但し、以下に示す説明において、上述した内容と重複する部分、又は具体的に記載した部分もあることに留意されたい。
≪Other configurations≫
Below, the further configuration, processing, etc. of the injection drug dispensing device 100 will be mainly explained. However, it should be noted that in the following explanation, there may be parts that overlap with the content described above, or parts that are specifically described.

〔注射薬払出システム〕
図2を用いて上述したように、注射薬払出システム1は、プリンタ装置13が、処方データに示されている注射薬の種類等を示す情報を搬送トレイ151aに印字するものとして説明したが、これに限られない。プリンタ装置13は、輸液容器(輸液バッグ)に貼付けられる輸液ラベルを発行する輸液ラベル発行装置として機能しても構わない。この場合、注射薬払出システム1は、注射薬払出装置100及び輸液ラベル発行装置(プリンタ装置13)を含むシステムである。
[Injection drug dispensing system]
As described above with reference to FIG. 2, the injection drug dispensing system 1 has been described with the printer device 13 printing information indicating the type of injection drug shown in the prescription data, etc. on the transport tray 151a. It is not limited to this. The printer device 13 may function as an infusion label issuing device that issues an infusion label to be attached to an infusion container (infusion bag). In this case, the injection drug dispensing system 1 is a system including an injection drug dispensing device 100 and an infusion label issuing device (printer device 13).

供給リフタ11から搬送される搬送トレイ151aには、輸液容器が載置される場合もある。輸液容器には、ブドウ糖液もしくは生理食塩水等の液体、又は、薬剤と液体との混合薬が含まれる。混合薬は、チューブを通して患者の体内へ注入される。液体と混合される薬剤は、注射薬払出装置100以外の装置から払出されるものであっても構わない。但し、注射薬払出装置100のカセットCaに当該薬剤が含まれている場合には、注射薬払出装置100から払出される薬剤であっても構わない。 In some cases, an infusion container is placed on the transport tray 151a that is transported from the supply lifter 11. The infusion container contains a liquid such as a glucose solution or physiological saline, or a mixture of a drug and a liquid. The drug mixture is injected into the patient's body through a tube. The drug mixed with the liquid may be dispensed from a device other than the injection drug dispensing device 100. However, if the drug is contained in the cassette Ca of the injection drug dispensing device 100, the drug may be dispensed from the injection drug dispensing device 100.

プリンタ装置13は、処方データに基づき、輸液容器の内容物を特定することで、当該内容物に関する情報を印字した輸液ラベルを発行する。プリンタ装置13は、発行した輸液ラベルを、当該輸液ラベルに対応する輸液容器が載置された搬送トレイ151aに載置する。後述のように、搬送トレイ151aに輸液ラベルを載置する輸液ラベル載置領域が設定されている場合には、当該輸液ラベル載置領域に輸液ラベルを載置する。この場合、注射薬払出装置100及びプリンタ装置13は、各搬送トレイ151aにおいて予め設定された輸液ラベル載置領域の位置に関する情報を記憶している。 The printer device 13 identifies the contents of the infusion container based on the prescription data, and issues an infusion label on which information regarding the contents is printed. The printer device 13 places the issued infusion label on the transport tray 151a on which the infusion container corresponding to the infusion label is placed. As will be described later, if an infusion label placement area for placing an infusion label is set on the transport tray 151a, the infusion label is placed in the infusion label placement area. In this case, the injection dispensing device 100 and the printer device 13 store information regarding the position of the preset infusion label placement area on each transport tray 151a.

なお、プリンタ装置13は、注射薬の種類等を示す情報を搬送トレイ151aに印字する機能、及び、輸液ラベルを発行する機能の少なくともいずれかを有していればよい。 Note that the printer device 13 only needs to have at least one of a function of printing information indicating the type of injection drug and the like on the transport tray 151a, and a function of issuing an infusion label.

〔注射薬払出装置〕
次に、主として、注射薬払出装置100の処理について説明する。
[Injection drug dispensing device]
Next, the processing of the injection drug dispensing device 100 will be mainly described.

〔カセット移送処理〕
<カセットの特定例>
まず、カセットCaの特定例について説明する。図26は、カセットCaの一例を示す図であり、(a)は分割部材SP(仕切り板)を装着前の状態、(b)は分割部材SPを装着後の状態を示す図である。図27の(a)及び(b)は、カセット移送部140の詳細図である。
[Cassette transfer process]
<Specific example of cassette>
First, a specific example of the cassette Ca will be explained. FIG. 26 is a diagram showing an example of the cassette Ca, in which (a) shows the state before the dividing member SP (partition plate) is attached, and (b) shows the state after the dividing member SP is attached. FIGS. 27(a) and 27(b) are detailed views of the cassette transfer section 140.

図26の(a)に示すように、カセットCaには、第1バーコードBC1及び第2バーコードBC2が付されている。また、図27の(a)及び(b)に示すように、カセット移送部140には、カセットCaに付された第1バーコードBC1を読取るためのバーコードリーダー146が設けられている。 As shown in FIG. 26(a), a first barcode BC1 and a second barcode BC2 are attached to the cassette Ca. Further, as shown in FIGS. 27A and 27B, the cassette transfer section 140 is provided with a barcode reader 146 for reading the first barcode BC1 attached to the cassette Ca.

カセット棚110に保管される複数のカセットCaのそれぞれには、カセットCaを識別するためのカセット固有情報(カセット識別子)(例:カセット番号)が付与されている。第1バーコードBC1は、カセットCaに付されたカセット固有情報を示すものである。第1バーコードBC1は、カセットCaの外側面のうち、カセット棚110に保管されたときに、カセット移送部140と対向する外側面(具体的には、バーコードリーダー146により読取可能な位置)に付されている。 Each of the plurality of cassettes Ca stored on the cassette shelf 110 is given cassette unique information (cassette identifier) (eg, cassette number) for identifying the cassette Ca. The first barcode BC1 indicates cassette-specific information attached to the cassette Ca. The first barcode BC1 is located on the outer surface of the cassette Ca that faces the cassette transfer unit 140 when stored on the cassette shelf 110 (specifically, at a position where it can be read by the barcode reader 146). It is attached to.

また、カセットCaのカセット固有情報は、カセットCaに収容された注射薬の種類を示す情報(注射薬識別情報、薬剤固有情報)と紐付けられて、記憶部180に記憶される。制御部190は、例えばユーザ入力に従って、カセットCaのカセット固有情報と、カセットCaに収容された注射薬の注射薬識別情報とを紐付ける。 Further, the cassette-specific information of the cassette Ca is stored in the storage unit 180 in association with information indicating the type of injection drug contained in the cassette Ca (injection drug identification information, drug-specific information). The control unit 190 links the cassette specific information of the cassette Ca with the injection drug identification information of the injection drug accommodated in the cassette Ca, for example, in accordance with user input.

また、カセットCaのカセット固有情報と、複数のカセットCaのそれぞれがカセット棚110に保管される保管位置(カセット保管位置)を示す保管位置情報とが紐付けられて、記憶部180に記憶されている。例えば、カセット移送部140は、カセット棚110を走査することで、保管位置にカセットCaが保管されていれば、当該カセットCaの第1バーコードBC1をバーコードリーダー146で読取る。具体的には、カセット移送部140の、爪部141、爪部移動機構142及び衝撃吸収板145を含むカセット取出機構がカセット棚110を走査することで、バーコードリーダー146が各保管位置に保管されたカセットCaの第1バーコードBC1を読取る。カセット取出機構の位置と保管位置とは、予め紐付けられて記憶部180に記憶されている。そのため、移送制御部191は、第1バーコードBC1を読取ったときのカセット取出機構の位置を特定することで、カセットCaのカセット固有情報と保管位置情報とを紐付けることができる。 Further, the cassette unique information of the cassette Ca and the storage position information indicating the storage position (cassette storage position) where each of the plurality of cassettes Ca is stored on the cassette shelf 110 are stored in the storage unit 180 in a linked manner. There is. For example, by scanning the cassette shelf 110, the cassette transfer unit 140 reads the first barcode BC1 of the cassette Ca with the barcode reader 146 if the cassette Ca is stored in the storage position. Specifically, a cassette ejecting mechanism including a claw part 141, a claw part moving mechanism 142, and a shock absorbing plate 145 of the cassette transfer unit 140 scans the cassette shelf 110, so that the barcode reader 146 is stored at each storage position. The first barcode BC1 of the cassette Ca is read. The position of the cassette ejecting mechanism and the storage position are linked and stored in the storage unit 180 in advance. Therefore, the transfer control unit 191 can link the cassette specific information of the cassette Ca with the storage position information by specifying the position of the cassette ejecting mechanism when reading the first barcode BC1.

このように、記憶部180には、カセットCaのカセット固有情報、当該カセットCaに収容されている注射薬の種類を示す情報、及び当該カセットCaの保管位置情報が紐付けて記憶されている。そのため、任意のカセットCaに任意の注射薬を収容し、かつ当該カセットCaを任意の保管位置に保管しても、各情報の紐づけを行えば、制御部190は、記憶部180を参照することで、任意のカセットCaに収容された注射薬、及び当該カセットCaの保管位置を特定できる。つまり、任意のカセットCaに任意の注射薬を自由に収容し、かつ当該カセットCaを任意の保管位置に自由に保管することが可能となる。換言すれば、カセットCaの、カセット棚110に対する格納の自由度を高めることができる。 In this way, the storage unit 180 stores the cassette-specific information of the cassette Ca, the information indicating the type of injection drug contained in the cassette Ca, and the storage position information of the cassette Ca in association with each other. Therefore, even if an arbitrary injection drug is stored in an arbitrary cassette Ca and the cassette Ca is stored at an arbitrary storage position, if each piece of information is linked, the control unit 190 can refer to the storage unit 180. This makes it possible to specify the injection drug accommodated in any cassette Ca and the storage position of the cassette Ca. In other words, it is possible to freely store any injection drug in any cassette Ca and to freely store the cassette Ca at any storage position. In other words, the degree of freedom in storing the cassette Ca on the cassette shelf 110 can be increased.

また、上述の通り、カセット移送部140は、バーコードリーダー146が設けられている。具体的には、バーコードリーダー146は、カセット棚110と対向する位置(本例では、カセット取出機構の上部)に設けられている。そのため、以下のような処理が実現可能である。 Further, as described above, the cassette transfer section 140 is provided with a barcode reader 146. Specifically, the barcode reader 146 is provided at a position facing the cassette shelf 110 (in this example, at the top of the cassette ejecting mechanism). Therefore, the following processing is possible.

移送制御部191は、受信した処方データに基づき、記憶部180に記憶されている、当該処方データが示す注射薬の種類を示す情報に紐付けられたカセット固有情報及び保管位置情報を読出す。移送制御部191は、読み出した保管位置情報が示す保管位置へカセット取出機構を移動する。 Based on the received prescription data, the transfer control unit 191 reads cassette-specific information and storage position information that are stored in the storage unit 180 and are linked to information indicating the type of injection indicated by the prescription data. The transfer control unit 191 moves the cassette ejecting mechanism to the storage position indicated by the read storage position information.

移送制御部191は、当該保管位置へのカセット取出機構の移動が完了すると、バーコードリーダー146で第1バーコードBC1(つまりカセット固有情報)を読取る。移送制御部191は、読取ったカセット固有情報を、カセット取出機構の移動前に記憶部180から読出したカセット固有情報と照合する。 When the movement of the cassette ejecting mechanism to the storage position is completed, the transfer control unit 191 reads the first barcode BC1 (that is, the cassette specific information) with the barcode reader 146. The transfer control unit 191 compares the read cassette specific information with the cassette specific information read from the storage unit 180 before moving the cassette ejecting mechanism.

移送制御部191は、カセット固有情報が一致した場合、カセット固有情報を読取ったカセットCaが、払出対象の注射薬を収容しているカセットCaと特定し、当該カセットCaをカセット棚110から取出す。一方、移送制御部191は、カセット固有情報が不一致であれば、カセット棚110から当該カセットCaを取出さず、例えば、カセット取出機構を別の保管位置に移動させ、当該保管位置にあるカセットCaのカセット固有情報を読取ることで、再度の照合を行う。また、移送制御部191は、処方データに基づく注射薬が収容されたカセットCaが取出せない旨の報知を行っても構わない。 If the cassette specific information matches, the transfer control unit 191 identifies the cassette Ca that has read the cassette specific information as the cassette Ca containing the injection drug to be dispensed, and takes out the cassette Ca from the cassette shelf 110. On the other hand, if the cassette specific information does not match, the transfer control unit 191 does not take out the cassette Ca from the cassette shelf 110, for example, moves the cassette ejecting mechanism to another storage position, and moves the cassette Ca at the storage position. Verification is performed again by reading the cassette specific information. Further, the transfer control unit 191 may notify that the cassette Ca containing the injection drug based on the prescription data cannot be taken out.

カセット棚110へのカセットCaの保管の自由度が高くなった場合、例えば、ユーザがカセットCaを所定の保管位置とは異なる位置に保管してしまう可能性が高まることになる。つまり、自由度が低い場合に比べ、払出対象の注射薬を収容しているカセットCaとは異なるカセットCaを取出してしまう可能性が高まることになる。 If the degree of freedom in storing the cassettes Ca on the cassette shelf 110 increases, for example, the possibility that the user will store the cassette Ca at a position different from the predetermined storage position increases. That is, compared to the case where the degree of freedom is low, the possibility that a cassette Ca different from the cassette Ca containing the injection drug to be dispensed will be taken out increases.

上記のように、カセット固有情報に基づき、取出対象のカセットCaに収容された注射薬が払出対象の注射薬であるか否か(つまりカセットCaの取出可否)について判定を行うことで、上記のような可能性の発生を低減できる。つまり、カセット棚110へのカセットCaの保管の自由度を保証できる。 As mentioned above, based on the cassette-specific information, it is determined whether the injection drug stored in the cassette Ca to be taken out is the injection drug to be dispensed (that is, whether or not the cassette Ca can be taken out). The occurrence of such possibilities can be reduced. In other words, the degree of freedom in storing the cassettes Ca on the cassette shelf 110 can be guaranteed.

なお、図26の(a)に示すように、カセットCaには、当該カセットCaに注射薬を充填するときに用いられる第2バーコードBC2が付されていても構わない。第2バーコードBC2は、カセットCaが注射薬の充填先として適切であるか否かを照合するためのものである。ユーザは、第2バーコードBC2を専用のバーコードリーダー(不図示)で読取ることで、注射薬の充填先として適切であるかについて確認を行う。 Note that, as shown in FIG. 26(a), the cassette Ca may be provided with a second bar code BC2 used when filling the cassette Ca with an injection drug. The second barcode BC2 is for verifying whether the cassette Ca is suitable for filling with an injection drug. By reading the second barcode BC2 with a dedicated barcode reader (not shown), the user confirms whether the second barcode BC2 is suitable for filling an injection.

また、カセット固有情報は第1バーコードBC1の形態でカセットCaに付与されている必要は無く、カセットCaに付与されたカセット固有情報を、カセット移送部140が読取れる形態で付与されていればよい。この場合、バーコードリーダー146に代わる、カセット固有情報の読取部材がカセット移送部140に設けられていればよい。 Further, the cassette-specific information does not need to be attached to the cassette Ca in the form of the first barcode BC1, but as long as the cassette-specific information attached to the cassette Ca is attached in a form that can be read by the cassette transfer unit 140. good. In this case, a cassette-specific information reading member may be provided in the cassette transfer section 140 in place of the barcode reader 146.

また、図26の(a)及び(b)に示すように、カセットCaは、カセットCaに着脱可能な分割部材SP(仕切り板)によって、複数の注射薬収容領域に分割されても構わない。この場合、分割された複数の注射薬収容領域のそれぞれに、互いに異なる種類の注射薬を収容できる。そのため、カセットCaの使用の効率化を図ることができる。 Furthermore, as shown in FIGS. 26A and 26B, the cassette Ca may be divided into a plurality of injection drug storage areas by a dividing member SP (partition plate) that is detachable from the cassette Ca. In this case, different types of injections can be stored in each of the plurality of divided injection storage areas. Therefore, the cassette Ca can be used more efficiently.

分割部材SPには、第3バーコードBC3が付与されていても構わない。第3バーコードBC3は、第2バーコードBC2と同様の機能を有するものである。分割部材SPに第3バーコードBC3が付されることで、複数の注射薬収容領域のそれぞれに対する、注射薬の充填支援を行うことが可能となる。 The divided member SP may be provided with a third barcode BC3. The third barcode BC3 has the same function as the second barcode BC2. By attaching the third barcode BC3 to the divided member SP, it becomes possible to support filling of the injection drug into each of the plurality of injection drug storage areas.

<カセットの保管位置の特定例>
次に、カセットCaの保管位置の特定例について説明する。図28は、注射薬払出装置100の構成を示すブロック図である。図29は、カセットCaの保管位置の特定処理の一例を示すフローチャートである。
<Example of identifying the storage location of the cassette>
Next, an example of specifying the storage position of the cassette Ca will be described. FIG. 28 is a block diagram showing the configuration of the injection drug dispensing device 100. FIG. 29 is a flowchart illustrating an example of a process for specifying the storage position of the cassette Ca.

(注射薬払出装置100の構成)
図28に示すように、注射薬払出装置100は、カセットの保管位置を特定する処理を行う場合、保管位置判定部198、報知制御部199及びタッチパネル210を備える。
(Configuration of injection drug dispensing device 100)
As shown in FIG. 28, the injection drug dispensing device 100 includes a storage position determining section 198, a notification control section 199, and a touch panel 210 when performing the process of specifying the storage position of a cassette.

また本例では、任意のカセットCaのカセット固有情報と当該カセットCaの保管位置を示す保管位置情報とが紐付けられて、記憶部180に記憶されている。特に本例では、カセット固有情報と保管位置情報との紐付けが予め行われているものとする。つまり、本例では、カセットCaの保管位置が予め設定されている。また、カセットCaに第1バーコードBC1が付与されており、カセット移送部140にはバーコードリーダー146が設けられている。 Further, in this example, the cassette unique information of an arbitrary cassette Ca and the storage position information indicating the storage position of the cassette Ca are stored in the storage unit 180 in a linked manner. In particular, in this example, it is assumed that cassette specific information and storage position information are linked in advance. That is, in this example, the storage position of the cassette Ca is set in advance. Further, a first barcode BC1 is given to the cassette Ca, and the cassette transfer section 140 is provided with a barcode reader 146.

タッチパネル210は、各種ユーザ入力を受付ける操作部と、各種情報を表示する表示部とを備える。タッチパネル210は、各種ユーザ入力の受付け、又は各種情報の表示のために、図1に示す注射薬払出装置100に備えられていても構わない。 Touch panel 210 includes an operation section that accepts various user inputs and a display section that displays various information. The touch panel 210 may be included in the injection drug dispensing device 100 shown in FIG. 1 in order to accept various user inputs or display various information.

保管位置判定部198は、保管位置情報とカセット固有情報とに基づき、複数のカセットCaのそれぞれが所定の保管位置に保管されているか否かを判定する。 The storage position determination unit 198 determines whether each of the plurality of cassettes Ca is stored at a predetermined storage position based on the storage position information and the cassette specific information.

カセット移送部140は、保管位置判定部198が所定の保管位置に保管されていないと判定したカセットCaについては、当該カセットCaが保管されている保管位置から、当該カセットCaが本来位置すべき保管位置へと移送する。 For the cassette Ca that the storage position determination unit 198 has determined is not stored at a predetermined storage position, the cassette transfer unit 140 moves the cassette Ca from the storage position where the cassette Ca is stored to the storage where the cassette Ca should be located. transport to position.

また、報知制御部199は、保管位置判定部198が所定の保管位置に保管されていないと判定したカセットCaについては、当該カセットCaが本来位置すべき保管位置に保管するよう、タッチパネル210としての報知部に報知させる。 Furthermore, for the cassette Ca that the storage position determination unit 198 has determined is not stored in a predetermined storage position, the notification control unit 199 controls the touch panel 210 so that the cassette Ca is stored in the storage position where the cassette Ca should be located. Have the information department notify you.

なお本例では、本来位置すべき保管位置へのカセットの移送と、本来位置すべき保管位置へカセットを保管する旨の報知との両方の機能を備えるものとして説明する。しかし、これに限らず、注射薬払出装置100は、いずれか一方の機能のみを有するものであっても構わない。 In this example, the explanation will be made assuming that the device has the functions of both transporting the cassette to the storage position where it should be located and notifying that the cassette is to be stored at the storage position where it should be located. However, the invention is not limited thereto, and the injection drug dispensing device 100 may have only one of the functions.

保管位置判定部198は、移送制御部191により、カセット棚110に対してカセット移送部140のカセット取出機構を走査させることで、保管位置のそれぞれにおいて、第1バーコードBC1の読取りを行わせる。 The storage position determination unit 198 causes the transfer control unit 191 to scan the cassette ejecting mechanism of the cassette transfer unit 140 with respect to the cassette shelf 110, thereby reading the first barcode BC1 at each storage position.

保管位置にカセットCaが存在する場合には、バーコードリーダー146は第1バーコードBC1を読取る。保管位置判定部198は、記憶部180を参照することで、読み取った第1バーコードBC1が示すカセット固有情報に紐付けられた保管位置情報が示す保管位置を特定する。保管位置判定部198は、特定した保管位置が、カセット固有情報を読取ったカセット取出機構の位置と一致するか否かの判定を行う。 When the cassette Ca is present in the storage position, the barcode reader 146 reads the first barcode BC1. The storage location determination unit 198 refers to the storage unit 180 to identify the storage location indicated by the storage location information linked to the cassette specific information indicated by the read first barcode BC1. The storage position determining unit 198 determines whether the specified storage position matches the position of the cassette ejecting mechanism that read the cassette specific information.

保管位置判定部198は、不一致であると判定した場合、カセットCaが予め設定された保管位置に保管されていないと判定する。この場合、保管位置判定部198は、記憶部180を参照することで、当該カセットCaのカセット固有情報に紐付けられた保管位置情報が示す保管位置を特定する。移送制御部191は、特定した保管位置に当該カセットCaを移動させる。一方、一致する場合には特に処理を行わない。 If it is determined that there is a mismatch, the storage position determining unit 198 determines that the cassette Ca is not stored at the preset storage position. In this case, the storage location determining unit 198 refers to the storage unit 180 to identify the storage location indicated by the storage location information linked to the cassette specific information of the cassette Ca. The transfer control unit 191 moves the cassette Ca to the specified storage position. On the other hand, if they match, no particular processing is performed.

また、保管位置判定部198は、任意の保管位置でカセット固有情報が読み取れなかった場合、当該保管位置にカセットCaが存在しないと判定する。保管位置判定部198は、記憶部180を参照することで、当該保管位置にカセットCaが保管されていたか否かを判定する。当該保管位置にカセットCaが保管されていたと判定した場合、保管位置判定部198は、他の保管位置に当該カセットCaが無いか否かを判定する。カセット棚110に当該カセットCaが無いと判定された場合、報知制御部199は、タッチパネル210を介して、当該保管位置に本来保管されるべきカセットCaを保管するよう報知する。 Further, if the cassette specific information cannot be read at any storage position, the storage position determination unit 198 determines that the cassette Ca does not exist at the storage position. The storage position determining unit 198 refers to the storage unit 180 to determine whether or not the cassette Ca was stored at the storage position. If it is determined that the cassette Ca is stored at the storage position, the storage position determination unit 198 determines whether or not the cassette Ca is stored at another storage position. If it is determined that the cassette Ca is not on the cassette shelf 110, the notification control unit 199 notifies the user via the touch panel 210 to store the cassette Ca that should originally be stored in the storage position.

なお、保管位置判定部198は、上記不一致であると判定した場合、このときに読取ったカセット固有情報と保管位置情報とを紐付けて、誤った保管位置にあるカセットCaを示す情報として、記憶部180に記憶しても構わない。この場合、カセットCaの入替え動作時に、移送制御部191は、カセット取出機構を全保管位置に対して走査させた後に、当該情報を参照することで、誤った保管位置にあるカセットCaを特定し、かつ取出して、正しい保管位置に戻すことができる。 In addition, when the storage position determination unit 198 determines that there is a mismatch, the storage position determination unit 198 associates the cassette specific information read at this time with the storage position information and stores it as information indicating the cassette Ca in the incorrect storage position. It may be stored in the section 180. In this case, during the cassette Ca replacement operation, the transfer control unit 191 causes the cassette ejecting mechanism to scan all the storage positions, and then refers to the information to identify the cassette Ca that is in the wrong storage position. , and can be removed and returned to the correct storage location.

また、本処理は、任意のタイミングで行われればよい。但し、本処理は、ユーザによって設定されたカセットCaの保管位置に、適切にカセットCaが保管されているか否かを確認すると共に、本来の保管位置にカセットCaを保管させるというものである。その点を考慮すれば、本処理は、注射薬の払出処理を行わない時間帯(例:1日1回、夜間)に行われればよい。なお、カセットCaの保管位置の確認を行う旨のユーザ入力を受付けたときに、本処理が行われても構わない。 Further, this process may be performed at any timing. However, this process checks whether the cassette Ca is properly stored at the storage position of the cassette Ca set by the user, and also stores the cassette Ca at the original storage position. Taking this point into consideration, this process may be performed during a time period (eg, once a day, at night) when no injection drug dispensing process is performed. Note that this process may be performed when a user input to confirm the storage position of the cassette Ca is received.

(注射薬払出装置100の処理)
カセットCaの保管位置を特定する処理の一例について説明する。本処理を行うことになった場合、移送制御部191は、カセット取出機構をカセット棚110に対して走査させる。図29に示すように、保管位置判定部198は、任意の保管位置におけるカセットCaのカセット固有情報を、バーコードリーダー146が読取ったか否かを判定する(SF1)。
(Processing of injection drug dispensing device 100)
An example of a process for identifying the storage position of the cassette Ca will be described. When this process is to be performed, the transfer control unit 191 causes the cassette ejecting mechanism to scan the cassette shelf 110. As shown in FIG. 29, the storage position determining unit 198 determines whether the barcode reader 146 has read the cassette-specific information of the cassette Ca at an arbitrary storage position (SF1).

保管位置判定部198は、バーコードリーダー146がカセット固有情報を読取った場合(SF1でYES)、現在のカセット取出機構の位置が、読取ったカセット固有情報に紐付けられた保管位置情報が示す所定の保管位置であるか否かを判定する(SF2)。 When the barcode reader 146 reads the cassette-specific information (YES in SF1), the storage position determination unit 198 determines whether the current position of the cassette ejecting mechanism is a predetermined position indicated by the storage position information linked to the read cassette-specific information. (SF2).

保管位置判定部198は、現在のカセット取出機構の位置が所定の保管位置であると判定した場合(SF2でYES)、当該カセットCaが本来位置すべき保管位置にあると判定する。この場合、保管位置判定部198は、当該保管位置に存在するカセットCaに対する移動処理は行わない。一方、現在のカセット取出機構の位置が所定の保管位置でないと判定した場合(SF2でNO)、当該カセットCaが本来位置すべき保管位置にないと判定する。この場合、移送制御部191は、カセット移送部140を制御することで、当該カセットCaのカセット固有情報に紐付けられた保管位置情報が示す保管位置に、当該カセットCaを移動させる(SF3)。 When the storage position determining unit 198 determines that the current position of the cassette ejecting mechanism is at the predetermined storage position (YES in SF2), it determines that the cassette Ca is in the storage position where it should originally be located. In this case, the storage position determination unit 198 does not perform a movement process on the cassette Ca existing at the storage position. On the other hand, if it is determined that the current position of the cassette ejecting mechanism is not at the predetermined storage position (NO in SF2), it is determined that the cassette Ca is not at the storage position where it should be located. In this case, the transfer control unit 191 controls the cassette transfer unit 140 to move the cassette Ca to the storage position indicated by the storage position information linked to the cassette specific information of the cassette Ca (SF3).

SF1でカセット固有情報を読み取れなかった場合(SF1でNO)、保管位置判定部198は、カセット固有情報の読取りを実施した保管位置に、カセットCaが無いと判定する。この場合、保管位置判定部198は、当該保管位置にカセットCaが保管されていたか否かを判定する。保管位置判定部198は、カセットCaが保管されていたと判定した場合、カセット取出機構を走査させることで、当該保管位置を示す保管位置情報に紐付けられたカセット固有情報を有するカセットCaが、他の保管位置にあるか否かを判定する(SF4)。なお、カセット固有情報の読取りを実施した保管位置に、元々カセットCaが保管されていない場合(当該保管位置を示す保管位置情報にカセット固有情報が紐付けられていない場合)には、本処理を終了する。 If the cassette-specific information cannot be read in SF1 (NO in SF1), the storage location determining unit 198 determines that there is no cassette Ca at the storage location where the cassette-specific information was read. In this case, the storage position determination unit 198 determines whether or not the cassette Ca was stored at the storage position. When the storage position determining unit 198 determines that the cassette Ca has been stored, the cassette Ca having the cassette unique information linked to the storage position information indicating the storage position is moved to another location by scanning the cassette ejecting mechanism. It is determined whether it is in the storage position (SF4). Note that if the cassette Ca is not originally stored at the storage location where the cassette specific information was read (if the cassette specific information is not linked to the storage location information indicating the storage location), this process is performed. finish.

カセット固有情報の読取りを実施した保管位置に保管されるべきカセットCaが他の保管位置にあった場合(SF4でYES)、SF3の処理が行われる。一方、当該カセットCaが他の保管位置にもなかった場合(SF4でNO)、保管位置判定部198は、カセットCaがカセット棚110から抜取られた状態であると判定する。この場合、報知制御部199は、当該カセットCaを本来位置すべき保管位置に保管する(返却する)よう、タッチパネル210を介して報知する(SF5)。 If the cassette Ca to be stored at the storage position where the cassette specific information was read is located at another storage position (YES in SF4), the process of SF3 is performed. On the other hand, if the cassette Ca is not found in any other storage position (NO in SF4), the storage position determination unit 198 determines that the cassette Ca has been removed from the cassette shelf 110. In this case, the notification control unit 199 notifies the user via the touch panel 210 to store (return) the cassette Ca at its original storage position (SF5).

なお、SF3において、保管位置判定部198は、カセットCa(第1カセットCa)の移動先の保管位置(つまり本来位置すべき保管位置)に別のカセットCa(第2カセットCa)が存在するか否かの判定を行っても構わない。保管位置判定部198は、第1カセットCaの移動先の保管位置に第2カセットCaが保管されていると判定した場合には、例えば以下の処理を行う。 In SF3, the storage position determination unit 198 determines whether another cassette Ca (second cassette Ca) exists at the storage position to which the cassette Ca (first cassette Ca) is to be moved (that is, the storage position where it should originally be located). You may decide whether or not to do so. When the storage position determination unit 198 determines that the second cassette Ca is stored at the storage position to which the first cassette Ca has been moved, the storage position determination unit 198 performs, for example, the following process.

移送制御部191は、第2カセットCaを、カセット固有情報と保管位置情報との紐付けが行われていないカセット棚110内の保管位置(元々カセットCaが入っていない保管位置)(退避位置)へと一旦退避させる。その後、移送制御部191は、第1カセットCaを本来位置すべき保管位置へと移動させる。 The transfer control unit 191 moves the second cassette Ca to a storage position in the cassette shelf 110 where cassette specific information and storage position information are not linked (a storage position where no cassette Ca is originally stored) (evacuation position). Temporarily evacuate to. Thereafter, the transfer control unit 191 moves the first cassette Ca to the storage position where it should be located.

また、第1カセットCaの移動先の保管位置に第2カセットCaが保管されているか否かの判定は、第2カセットCaのカセット固有情報を読取ることができたか否かによって行われる。つまり、第2カセットCaを退避させる場合、退避前に第2カセットCaのカセット固有情報が読取られている。そのため、移送制御部191は、当該カセット固有情報を用いて、第2カセットCaを本来位置すべき保管位置に移動させても構わない。 Further, it is determined whether or not the second cassette Ca is stored at the storage location to which the first cassette Ca has been moved, based on whether or not the cassette-specific information of the second cassette Ca can be read. That is, when the second cassette Ca is to be evacuated, the cassette specific information of the second cassette Ca is read before being evacuated. Therefore, the transfer control unit 191 may use the cassette-specific information to move the second cassette Ca to the storage position where it should originally be located.

<支持機構の動作例>
次に、カセット移送部140が備える支持機構147の動作例について説明する。図27の(a)及び(b)に示すように、支持機構147は、カセット棚110と対向する側に設けられており、カセットCaのカセット棚110からの取出時、又はカセット棚110への保管時に、カセットCaを支持(保持)する。また、支持機構147は、カセットCaの大きさ(高さ)に応じて昇降する。また、支持機構147にはローラが設けられている。これにより、支持機構147におけるカセットCaの移動を滑らかに行うことが可能となっている。
<Example of operation of support mechanism>
Next, an example of the operation of the support mechanism 147 included in the cassette transfer section 140 will be described. As shown in FIGS. 27(a) and 27(b), the support mechanism 147 is provided on the side facing the cassette shelf 110, and when the cassette Ca is taken out from the cassette shelf 110 or when the cassette Ca is placed on the cassette shelf 110. Supports (holds) the cassette Ca during storage. Furthermore, the support mechanism 147 moves up and down depending on the size (height) of the cassette Ca. Further, the support mechanism 147 is provided with a roller. This allows the cassette Ca to move smoothly in the support mechanism 147.

カセット棚110には、複数種類のカセットCaが保管されても構わない。この場合、例えば、カセット棚110には、互いに異なる高さのカセットCa(例:互いに高さの異なる2種類のカセットCa)が保管される。支持機構147が昇降しない場合、高さが比較的高いカセットCaについては、カセットCaの取出時にカセット取出機構と衝突してしまい、カセット移送部140によりカセットCaを保持できない。 A plurality of types of cassettes Ca may be stored on the cassette shelf 110. In this case, for example, cassettes Ca of mutually different heights (eg, two types of cassettes Ca of mutually different heights) are stored on the cassette shelf 110. If the support mechanism 147 does not move up and down, the relatively high cassette Ca will collide with the cassette take-out mechanism when taking out the cassette Ca, and the cassette transfer unit 140 will not be able to hold the cassette Ca.

支持機構147が昇降する機能を備えることで、互いに高さの異なる複数種類のカセットCaをカセット移送部140で保持して、カセット保持部130に移送できる。つまり、注射薬払出装置100において、互いに高さの異なる複数種類のカセットCaを使用できる。 Since the support mechanism 147 has the function of moving up and down, it is possible to hold a plurality of types of cassettes Ca having different heights in the cassette transfer section 140 and transfer them to the cassette holding section 130. That is, in the injection drug dispensing device 100, multiple types of cassettes Ca having different heights can be used.

移送制御部191は、カセットCaの種類に応じて支持機構147を昇降させる。例えば、カセット固有情報に紐付けて支持機構147の昇降量を示す昇降量情報が記憶部180に記憶されている。なお、カセット固有情報に、カセットCaの高さを示すカセット高さ情報が紐付けられている場合、カセット高さ情報に昇降量情報が紐付けられていても構わない。 The transfer control unit 191 moves the support mechanism 147 up and down depending on the type of cassette Ca. For example, lifting amount information indicating the lifting amount of the support mechanism 147 is stored in the storage unit 180 in association with the cassette specific information. In addition, when the cassette unique information is linked with cassette height information indicating the height of the cassette Ca, the lifting amount information may be linked with the cassette height information.

移送制御部191は、取出すカセットCaに付されたカセット固有情報がバーコードリーダー146によって読出されると、記憶部180を参照することで、読出されたカセット固有情報に紐付けられた昇降量情報を特定する。移送制御部191は、特定した昇降量情報が示す昇降量に応じて、支持機構147を昇降させる。 When the cassette specific information attached to the cassette Ca to be taken out is read by the barcode reader 146, the transfer control unit 191 refers to the storage unit 180 to obtain the lifting amount information linked to the read cassette specific information. Identify. The transfer control unit 191 raises and lowers the support mechanism 147 according to the lifting amount indicated by the specified lifting amount information.

〔注射薬の撮影から払出までの処理〕
<吸着位置の決定例>
注射薬払出装置100では、位置特定用カメラ122によってカセットCaから取出す注射薬を特定すると共に、特定した注射薬を吸着機構121aによって吸着する。吸着位置決定部194は、位置特定用カメラ122が撮影した画像を解析することで吸着位置を決定し、搬送制御部193は、決定された吸着位置を吸着するように吸着機構121aを制御する。
[Processing from photographing to dispensing of injection drugs]
<Example of determining the suction position>
In the injection drug dispensing device 100, the injection drug to be taken out from the cassette Ca is specified by the position specifying camera 122, and the specified injection drug is adsorbed by the suction mechanism 121a. The suction position determination unit 194 determines the suction position by analyzing the image taken by the position specifying camera 122, and the transport control unit 193 controls the suction mechanism 121a to suction the determined suction position.

ここで、吸着位置決定部194は、注射薬の重心位置を吸着位置として決定しても構わない。この場合、薬品マスタには、注射薬識別情報に紐付けて、注射薬の重心位置及び全長を示す各情報が登録されている。注射薬の重心位置は、例えば、注射薬の底部からの距離として登録されている。 Here, the suction position determination unit 194 may determine the position of the center of gravity of the injection drug as the suction position. In this case, each piece of information indicating the position of the center of gravity and the total length of the injection drug is registered in the drug master in association with the injection drug identification information. The center of gravity of the injection drug is registered, for example, as a distance from the bottom of the injection drug.

吸着位置決定部194は、上記画像を解析することで、画像における注射薬の底部を特定する。吸着位置決定部194は、処方データに含まれる注射薬識別情報に紐付けられた注射薬の重心位置を示す情報を用いて、画像における注射薬の吸着位置を特定する。例えば、吸着位置決定部194は、薬品マスタに記憶された底部からの距離を、画像における距離に変換した後、画像において、変換した距離だけ底部から離れた注射薬上の位置を吸着位置として特定する。つまり、吸着位置決定部194は、注射薬の重心位置、又はその近傍を吸着位置として決定する。なお、この吸着位置の決定処理では、注射薬の向きを特定する処理までは行わない。 The suction position determination unit 194 identifies the bottom of the injection drug in the image by analyzing the image. The suction position determination unit 194 specifies the suction position of the injection drug in the image using information indicating the center of gravity position of the injection drug linked to the injection drug identification information included in the prescription data. For example, the suction position determination unit 194 converts the distance from the bottom stored in the drug master to a distance in the image, and then specifies a position on the injection drug that is separated from the bottom by the converted distance as the suction position in the image. do. That is, the suction position determination unit 194 determines the center of gravity of the injection drug or its vicinity as the suction position. Note that this suction position determination process does not include the process of specifying the orientation of the injection drug.

<センサによる注射薬の載置位置の特定例>
次に、位置変更部126の第1搭載部126a及び第2搭載部126bにおける注射薬の載置位置の特定例について説明する。
<Example of identifying the placement position of an injection drug using a sensor>
Next, an example of specifying the placement positions of injection drugs in the first mounting section 126a and the second mounting section 126b of the position changing section 126 will be described.

搬送制御部193は、画像解析、及び予め登録されている注射薬の重心位置又は全長を示す情報に基づき、画像において、注射薬の底部及び吸着位置を特定する。また、搬送制御部193は、特定した底部の位置及び吸着位置を考慮して、吸着した注射薬を第1搭載部126a又は第2搭載部126bに載置する。搬送制御部193は、例えば、注射薬の底部が第1搭載部126a又は第2搭載部126bの端部に近接するように、吸着した注射薬を載置する。 The transport control unit 193 identifies the bottom and adsorption position of the injection drug in the image based on image analysis and information indicating the center of gravity position or the total length of the injection drug registered in advance. Further, the transport control unit 193 places the adsorbed injection drug on the first mounting section 126a or the second mounting section 126b, taking into consideration the specified bottom position and adsorption position. The transport control unit 193 places the adsorbed injection drug, for example, so that the bottom of the injection drug is close to the end of the first mounting section 126a or the second mounting section 126b.

ここで、搬送制御部193は、画像解析の結果、注射薬の頭部を底部として誤認識したとする。搬送制御部193は、底部の位置を考慮して注射薬を第1搭載部126a又は第2搭載部126bに載置するため、底部の誤認識により、実際に載置されるべき位置からずれた位置に注射薬を載置してしまう可能性がある。場合によっては、第1搭載部126a又は第2搭載部126bからはみ出した位置に、注射薬を載置してしまう可能性がある。注射薬が例えばガラス製のバイアルである場合には、注射薬が第1搭載部126a又は第2搭載部126bに衝突し、その結果割れてしまう可能性がある。 Here, it is assumed that the transport control unit 193 incorrectly recognizes the head of the injection drug as the bottom as a result of image analysis. The transport control unit 193 places the injection medicine on the first mounting part 126a or the second mounting part 126b taking into account the position of the bottom, so if the injection medicine deviates from the actual position where it should be placed due to misrecognition of the bottom. There is a possibility that the injection drug may be placed in the position. In some cases, the injection drug may be placed in a position that protrudes from the first mounting section 126a or the second mounting section 126b. If the injection drug is, for example, a glass vial, the injection drug may collide with the first mounting portion 126a or the second mounting portion 126b, resulting in breakage.

本例では、図30の(a)及び(b)に示すように、注射薬払出装置100は、第1搭載部126a又は第2搭載部126bの端部E1又はE2に衝突し得る注射薬を検知するためのセンサ171a及び171bと反射板172a及び172bとを備えている。 In this example, as shown in FIGS. 30(a) and 30(b), the injection drug dispensing device 100 removes the injection drug that may collide with the end portion E1 or E2 of the first mounting portion 126a or the second mounting portion 126b. It is equipped with sensors 171a and 171b and reflecting plates 172a and 172b for detection.

センサ171a及び171bはそれぞれ、注射薬を検知するための光を出射すると共に、反射板172a及び172bのそれぞれで反射した当該光を受ける機構である。 The sensors 171a and 171b are mechanisms that each emit light for detecting an injection drug and receive the light reflected by the reflecting plates 172a and 172b, respectively.

センサ171a及び反射板172aは、図30の(b)で示す点線L1上を、センサ171aから出射された光、及び反射板172aで反射した光が通るように配置されている。点線L1は、第1搭載部126a及び第2搭載部126bの外側で、かつ、第1搭載部126a又は第2搭載部126bの端部E1付近を通る直線を示すものである。同様に、センサ171b及び反射板172bは、図30の(b)で示す点線L2上を、センサ171bから出射された光、及び反射板172bで反射した光が通るように配置されている。点線L2は、第1搭載部126a及び第2搭載部126bの外側で、かつ、第1搭載部126a又は第2搭載部126bの端部E2付近を通る直線を示すものである。 The sensor 171a and the reflection plate 172a are arranged so that the light emitted from the sensor 171a and the light reflected by the reflection plate 172a pass on the dotted line L1 shown in FIG. 30(b). The dotted line L1 is a straight line passing outside the first mounting section 126a and the second mounting section 126b and near the end E1 of the first mounting section 126a or the second mounting section 126b. Similarly, the sensor 171b and the reflection plate 172b are arranged so that the light emitted from the sensor 171b and the light reflected by the reflection plate 172b pass along the dotted line L2 shown in FIG. 30(b). The dotted line L2 is a straight line passing outside the first mounting section 126a and the second mounting section 126b and near the end E2 of the first mounting section 126a or the second mounting section 126b.

吸着機構121aに吸着した注射薬が点線L1又はL2上を通ると、当該注射薬で光の進行が遮られるため、センサ171a又は171bは、自機が出射した光を受けることができない。この場合、搬送制御部193は、吸着機構121aを制御することで、センサ171a及び171bが光を受けることができるようになるまで、端部E1及びE2を結ぶ直線方向(Y軸方向)に、注射薬の位置を変更する。 When the injection drug adsorbed by the adsorption mechanism 121a passes over the dotted line L1 or L2, the progress of the light is blocked by the injection drug, and therefore the sensor 171a or 171b cannot receive the light emitted by its own device. In this case, the conveyance control unit 193 controls the suction mechanism 121a to move in the straight line direction (Y-axis direction) connecting the ends E1 and E2 until the sensors 171a and 171b can receive light. Reposition the injection.

具体的には、搬送制御部193は、センサ171a及び171bが光を受けている状態であるか否かを判定する。搬送制御部193は、センサ171a及び171bが光を受けている状態において、吸着機構121aが吸着した注射薬を第1搭載部126a又は第2搭載部126bに載置する。一方、搬送制御部193は、センサ171a又は171bが光を受けていない状態であると判定した場合には、上述のようにY軸方向に注射薬の位置を変更する。 Specifically, the transport control unit 193 determines whether the sensors 171a and 171b are receiving light. The transport control unit 193 places the injection drug adsorbed by the adsorption mechanism 121a on the first mounting section 126a or the second mounting section 126b while the sensors 171a and 171b are receiving light. On the other hand, if the transport control unit 193 determines that the sensor 171a or 171b is not receiving light, it changes the position of the injection drug in the Y-axis direction as described above.

このように、センサ171a及び171b、並びに、反射板172a及び172bを配置することで、第1搭載部126a又は第2搭載部126bの端部E1又はE2に衝突し得る注射薬を検知できる。また、搬送制御部193は、センサ171a及び171bの検知結果に基づき、吸着機構121aのY軸方向の位置を制御する。これにより、第1搭載部126a又は第2搭載部126bの端部E1又はE2に衝突させることなく、注射薬を第1搭載部126a又は第2搭載部126bに載置できる。 By arranging the sensors 171a and 171b and the reflectors 172a and 172b in this manner, it is possible to detect an injection that may collide with the end E1 or E2 of the first mounting section 126a or the second mounting section 126b. Further, the transport control unit 193 controls the position of the suction mechanism 121a in the Y-axis direction based on the detection results of the sensors 171a and 171b. Thereby, the injection can be placed on the first mounting section 126a or the second mounting section 126b without colliding with the end E1 or E2 of the first mounting section 126a or the second mounting section 126b.

つまり、吸着位置決定部194が注射薬の向き(頭方向)を誤認識した場合であっても(換言すれば、注射薬の向きが+Y軸方向及び-Y軸方向のいずれであっても)、端部E1又はE2への注射薬の衝突を回避できる。そのため、衝突による払出動作の停止を回避できるので、間欠的に注射薬を払出すことができる。 In other words, even if the suction position determination unit 194 misrecognizes the direction of the injection (head direction) (in other words, regardless of whether the direction of the injection is the +Y-axis direction or the -Y-axis direction) , collision of the injection drug with the end E1 or E2 can be avoided. Therefore, it is possible to avoid stopping the dispensing operation due to a collision, so that the injection can be dispensed intermittently.

なお、点線L1及びL2上に存在する注射薬を検知できれば、上記の構成に限られない。例えば、センサ171a又は171bの位置に発光素子、反射板172a及び172bの位置に受光素子を載置しても構わない。つまり、反射板172a及び172bを設けずに、発光素子及び受光素子からなるセンサを用いても構わない。また、反射板172a及び反射板172bのX軸方向の位置を略一致させても構わない。 Note that the configuration is not limited to the above configuration as long as the injection medicines present on the dotted lines L1 and L2 can be detected. For example, a light emitting element may be placed at the position of the sensor 171a or 171b, and a light receiving element may be placed at the position of the reflecting plates 172a and 172b. That is, a sensor consisting of a light emitting element and a light receiving element may be used without providing the reflecting plates 172a and 172b. Further, the positions of the reflecting plate 172a and the reflecting plate 172b in the X-axis direction may be made to substantially match.

<吸着機構の動作例>
次に、吸着機構121aの動作例について説明する。まず、吸着機構121aの移動速度の調整について説明する。
<Example of operation of suction mechanism>
Next, an example of the operation of the suction mechanism 121a will be described. First, adjustment of the moving speed of the suction mechanism 121a will be explained.

注射薬払出装置100では、例えば、カセット移送部140によるカセットCaの移送、カセット保持部130の移動の速度をできるだけ高めている。また、例えば、薬剤搬送部121の吸着機構121a及び移動機構121bの移動、並びに、薬剤移動部153の吸着機構153a及び移動機構153bの移動の各速度をできるだけ高めている。これにより、注射薬の払出速度を高めている。 In the injection drug dispensing device 100, for example, the speed at which the cassette Ca is transferred by the cassette transfer section 140 and the speed at which the cassette holding section 130 is moved is made as high as possible. Furthermore, for example, the speeds of movement of the suction mechanism 121a and movement mechanism 121b of the medicine transport section 121 and the movement speeds of the suction mechanism 153a and movement mechanism 153b of the medicine movement section 153 are increased as much as possible. This increases the speed at which injections are dispensed.

しかし、注射薬の種類に関わらず一律の速度でカセットCa又は注射薬を移送又は移動させた場合、注射薬を適切に運ぶことができない可能性がある。例えば、注射薬の長さが長いほど、また重量が軽いほど、吸着機構121aを位置変更部126上で停止させたときに注射薬に対して慣性が働きやすい。つまり、停止したときの注射薬の揺れが大きくなる。当該注射薬に対して慣性が大きく働いた場合、注射薬が吸着機構121aから落下してしまう可能性がある。 However, if the cassette Ca or the injection drug is transferred or moved at a uniform speed regardless of the type of injection drug, there is a possibility that the injection drug cannot be transported appropriately. For example, the longer the length of the injection drug and the lighter the weight, the more inertia acts on the injection drug when the adsorption mechanism 121a is stopped on the position changing part 126. In other words, the injection medicine shakes more when stopped. If large inertia acts on the injection, there is a possibility that the injection will fall from the adsorption mechanism 121a.

そこで本例では、搬送制御部193は、注射薬の種類に応じて吸着機構121aの移動速度を調整する。具体的には、注射薬の種類(例:注射薬の長さ、径、重量、又は素材(例:ガラス製、プラスチック製))に応じて、吸着機構121aのX軸方向、Y軸方向及び/又はZ軸方向の移動速度を設定しておく。つまり、記憶部180には、上記注射薬の種類に関する種類情報に紐付けて、吸着機構121aの移動速度を示す移動速度情報が記憶されている。図31は、種類情報に紐付けられた移動速度情報の一例を示す表である。図31の例では、慣性が働きやすいX軸方向の移動速度が、注射薬の種類に応じて異なるように設定されている。 Therefore, in this example, the transport control unit 193 adjusts the moving speed of the suction mechanism 121a depending on the type of injection drug. Specifically, the X-axis direction, Y-axis direction, and /or Set the movement speed in the Z-axis direction. That is, the storage unit 180 stores movement speed information indicating the movement speed of the adsorption mechanism 121a in association with the type information regarding the type of injection drug. FIG. 31 is a table showing an example of movement speed information linked to type information. In the example of FIG. 31, the moving speed in the X-axis direction, where inertia tends to work, is set to differ depending on the type of injection drug.

搬送制御部193は、例えば、記憶部180を参照することで、処方データに含まれる注射薬識別情報に紐付けられた種類情報を読出す。注射薬の長さ、重量及び素材等を示す種類情報は、注射薬識別情報に紐付けて薬品マスタに登録されていても構わない。搬送制御部193は、読出した種類情報に紐付けられた移動速度情報が示す移動速度で、カセット保持部130のカセットCaで吸着した注射薬(つまり、当該注射薬を吸着した吸着機構121a)を位置変更部126まで移動させる。 For example, the transport control unit 193 reads the type information linked to the injection drug identification information included in the prescription data by referring to the storage unit 180. The type information indicating the length, weight, material, etc. of the injection drug may be registered in the drug master in association with the injection drug identification information. The transport control unit 193 transfers the injection drug adsorbed by the cassette Ca of the cassette holding unit 130 (that is, the adsorption mechanism 121a that adsorbed the injection drug) at the movement speed indicated by the movement speed information linked to the read type information. It is moved to the position changing section 126.

これにより、例えば移動中又は停止時の注射薬に働く慣性を小さくすることができる。そのため、注射薬の安定した移動を実現できる。 This makes it possible to reduce the inertia that acts on the injection drug, for example, when it is moving or when it is stopped. Therefore, stable movement of the injection drug can be achieved.

なお、吸着機構153aの移動速度についても同様に制御できる。但し、吸着機構153aについては、主として、位置変更部126から搬送トレイ151aへの移動において安定した移動が要求される。そのため、特にY軸方向の移動速度が、注射薬の種類に応じて設定されている。 Note that the moving speed of the suction mechanism 153a can be similarly controlled. However, the suction mechanism 153a is required to move stably mainly when moving from the position changing section 126 to the transport tray 151a. Therefore, the moving speed in the Y-axis direction in particular is set depending on the type of injection drug.

また、カセット移送部140によりカセットCaがZ軸方向に移動しているときに急停止すると、重量が軽い注射薬ほど、慣性により跳上がりやすい。また、X軸方向の移動においても急停止すると、重量が軽い注射薬ほど、また断面形状が略円形状であるほど、カセットCa内において注射薬は転がりやすい。そのため、注射薬の素材がガラス製である場合には、カセットCa又は他の注射薬と衝突した結果、割れてしまう可能性がある。 Furthermore, if the cassette Ca is suddenly stopped while being moved in the Z-axis direction by the cassette transfer unit 140, the lighter the weight of the injection, the more likely it will jump up due to inertia. In addition, when the movement in the X-axis direction is abruptly stopped, the lighter the weight of the injection drug or the more approximately circular the cross-sectional shape, the easier the injection drug will roll within the cassette Ca. Therefore, if the injection drug is made of glass, there is a possibility that it will break as a result of collision with the cassette Ca or other injection drugs.

カセット移送部140によるカセットCaの移送についても、吸着機構121aと同様、注射薬の種類に応じて移動速度(特にX軸方向及び/又はZ軸方向の移動速度)を制御することで、例えば注射薬が割れてしまうといった事態の発生を回避できる。 Regarding the transfer of the cassette Ca by the cassette transfer unit 140, similarly to the adsorption mechanism 121a, by controlling the moving speed (particularly the moving speed in the X-axis direction and/or Z-axis direction) according to the type of injection drug, for example, injection It is possible to avoid situations such as the medicine breaking.

次に、吸着機構121aのZ軸方向の移動量の調整について説明する。図32の(a)は、移動機構121bの構成例を示す図であり、(b)及び(c)は、吸着機構121aの動作例を示す図である。 Next, adjustment of the amount of movement of the suction mechanism 121a in the Z-axis direction will be explained. (a) of FIG. 32 is a diagram showing an example of the configuration of the moving mechanism 121b, and (b) and (c) are diagrams showing an example of the operation of the suction mechanism 121a.

図32の(a)に示すように、本例の移動機構121bは、フォトセンサ121d及びプレート121eを備えている。フォトセンサ121d及びプレート121eは、所定の径(例:処方データに含まれる注射薬識別情報が示す注射薬の径)よりも大きい径を有する物体を検知するリミットセンサとして機能する。つまり、フォトセンサ121d及びプレート121eは、所定の注射薬以外の物体を検知するためのリミットセンサとして機能する。なお、ボールねじ121fによって、吸着機構121aはZ軸方向に昇降する。 As shown in FIG. 32(a), the moving mechanism 121b of this example includes a photosensor 121d and a plate 121e. The photosensor 121d and the plate 121e function as a limit sensor that detects an object having a diameter larger than a predetermined diameter (eg, the diameter of the injection drug indicated by the injection identification information included in the prescription data). That is, the photosensor 121d and the plate 121e function as a limit sensor for detecting objects other than the predetermined injection drug. Note that the adsorption mechanism 121a is moved up and down in the Z-axis direction by the ball screw 121f.

フォトセンサ121dは、例えば溝型フォトセンサである。フォトセンサ121dの溝部に設けられた発光素子及び受光素子の間をプレート121eが通過したときに、発光素子からの光を受光素子で受けることができなくなる。このとき、搬送制御部193は、吸着機構121aが所定の注射薬以外の物体を検知したと判定し、その移動量を調整する。 The photosensor 121d is, for example, a groove type photosensor. When the plate 121e passes between the light emitting element and the light receiving element provided in the groove of the photosensor 121d, the light receiving element cannot receive the light from the light emitting element. At this time, the transport control unit 193 determines that the suction mechanism 121a has detected an object other than the predetermined injection drug, and adjusts the amount of movement thereof.

ここで、薬品マスタには、各注射薬識別情報に紐付けて注射薬の直径を示す径情報が登録されている。また、記憶部180には、径情報に紐付けて、吸着機構121aのZ軸方向の移動量を示す移動量情報が記憶されている。 Here, in the drug master, diameter information indicating the diameter of the injection drug is registered in association with each injection drug identification information. Furthermore, the storage unit 180 stores movement amount information indicating the movement amount of the suction mechanism 121a in the Z-axis direction in association with the diameter information.

吸着機構121aの初期位置(吸着機構121aが処理位置132から最も離れているときの位置)と、処理位置132との間の距離(Z軸方向の距離)は不変である。そのため、注射薬の直径の大きさに応じて、処理位置132へ向かわせるときの吸着機構121aの第1移動量を、処理位置132上の注射薬に衝突しないように予め設定しておくことができる。この場合、注射薬毎に第1移動量を計算することなく、注射薬を吸着できる適切な位置まで吸着機構121aを移動させることが可能となる。また、その適切な位置まで高速に、吸着機構121aを移動させることが可能となる。 The distance between the initial position of the suction mechanism 121a (the position when the suction mechanism 121a is farthest from the processing position 132) and the processing position 132 (distance in the Z-axis direction) remains unchanged. Therefore, depending on the diameter of the injection, the first movement amount of the suction mechanism 121a when directed toward the treatment position 132 may be set in advance so as not to collide with the injection on the treatment position 132. can. In this case, it becomes possible to move the suction mechanism 121a to an appropriate position where the injection drug can be adsorbed without calculating the first movement amount for each injection drug. Moreover, it becomes possible to move the suction mechanism 121a to the appropriate position at high speed.

また、注射薬払出装置100で使用されるカセットCaは、予め決められている。つまり、カセットCaの側壁の高さは予め決められている。そのため、処理位置132から位置変更部126へ注射薬を搬送するときの吸着機構121aの高さを、搬送中の注射薬がカセットCaの側壁に衝突しないように予め設定しておくことができる。従って、注射薬を吸着した吸着機構121aを引き上げるときの吸着機構121aの第2移動量を、注射薬の直径の大きさに応じて予め設定しておくことができる。この場合、注射薬毎に第2移動量を計算することなく、カセットCaの側壁に衝突せずに、かつ効率良く注射薬を搬送できる位置まで吸着機構121aを移動させることが可能となる。また、その位置まで高速に、吸着機構121aを移動させることが可能となる。 Further, the cassette Ca used in the injection drug dispensing device 100 is determined in advance. That is, the height of the side wall of the cassette Ca is predetermined. Therefore, the height of the suction mechanism 121a when transporting the injection from the processing position 132 to the position changing unit 126 can be set in advance so that the injection during transport does not collide with the side wall of the cassette Ca. Therefore, the second movement amount of the suction mechanism 121a when pulling up the suction mechanism 121a adsorbing the injection can be set in advance according to the diameter of the injection. In this case, without calculating the second movement amount for each injection, it is possible to move the suction mechanism 121a to a position where the injection can be efficiently transported without colliding with the side wall of the cassette Ca. Moreover, it becomes possible to move the suction mechanism 121a to that position at high speed.

制御部190は、カセットCaがカセット移送部140により取出される時点で、カセットCaに含まれる注射薬の種類を特定している。そのため、搬送制御部193は、カセットCa毎に移動量情報を特定している。搬送制御部193は、例えば、カセットCaから最初の薬剤を取出すときに薬品マスタを参照することで、処方データに含まれる注射薬識別情報に紐付けられた径情報を特定する。搬送制御部193は、記憶部180を参照することで、特定した径情報に紐付けられた移動量情報(第1移動量又は第2移動量を示す情報)を特定する。なお、特定した移動量情報は、カセット固有情報と紐付けて記憶部180に記憶しておいても構わない。 The control unit 190 specifies the type of injection drug contained in the cassette Ca at the time when the cassette Ca is taken out by the cassette transfer unit 140. Therefore, the transport control unit 193 specifies movement amount information for each cassette Ca. For example, the transport control unit 193 identifies the diameter information linked to the injection drug identification information included in the prescription data by referring to the drug master when taking out the first drug from the cassette Ca. The conveyance control unit 193 specifies movement amount information (information indicating the first movement amount or the second movement amount) linked to the specified diameter information by referring to the storage unit 180. Note that the identified movement amount information may be stored in the storage unit 180 in association with the cassette specific information.

搬送制御部193は、カセットCa毎に、特定した第1移動量の分、吸着機構121aを処理位置132側へと移動させる。また、搬送制御部193は、カセットCa毎に、特定した第2移動量の分、吸着機構121aを処理位置132から初期位置側へと移動させる。 The transport control unit 193 moves the suction mechanism 121a toward the processing position 132 by the specified first movement amount for each cassette Ca. Further, the transport control unit 193 moves the suction mechanism 121a from the processing position 132 toward the initial position by the specified second movement amount for each cassette Ca.

なお、注射薬識別情報に直接、移動量情報が紐付けられていても構わない。この場合、搬送制御部193は、記憶部180を参照することで、処方データに含まれる注射薬識別情報に紐付けられた移動量情報を特定する。 Note that the movement amount information may be directly linked to the injection drug identification information. In this case, the transport control unit 193 refers to the storage unit 180 to identify movement amount information linked to the injection drug identification information included in the prescription data.

図32の(b)に示すように、処理位置132に載置されたカセットCa内の注射薬の径がφaである場合、搬送制御部193は、径がφaである場合の第1移動量に従って、吸着位置Ap(停止位置)まで吸着機構121aを移動させる。その後、搬送制御部193は、径がφaである場合の第2移動量に従って、吸着機構121aを距離Da分引き上げる。 As shown in FIG. 32(b), when the diameter of the injection drug in the cassette Ca placed at the processing position 132 is φa, the transport control unit 193 controls the first movement amount when the diameter is φa. Accordingly, the suction mechanism 121a is moved to the suction position Ap (stop position). Thereafter, the transport control unit 193 pulls up the suction mechanism 121a by a distance Da according to the second movement amount when the diameter is φa.

ここで、図32の(c)に示すように、カセットCaに収容されていると想定される注射薬(径:φa)とは異なる注射薬(径:φb>φa)が、当該カセットCaに含まれていたとする。この場合に、径φbの注射薬が搬送対象となった場合、搬送制御部193は、径φaの注射薬に基づく第1移動量で吸着機構121aを移動させるため、衝突位置Cpで径φbの注射薬に衝突してしまう。 Here, as shown in FIG. 32(c), an injection (diameter: φb>φa) different from the injection (diameter: φa) assumed to be stored in the cassette Ca is placed in the cassette Ca. Suppose it was included. In this case, if the injection drug with diameter φb is to be transported, the transport control unit 193 moves the adsorption mechanism 121a by the first movement amount based on the injection drug with diameter φa, so that It collides with the injection drug.

この反動を受けて、吸着機構121aは+Z軸方向に移動(上昇)することで、プレート121eがフォトセンサ121dの溝部に入り込む。これにより、搬送制御部193は、吸着機構121aが所定の径(φa)よりも大きい径(φb)を有する注射薬が、搬送対象であると判定する。 In response to this reaction, the suction mechanism 121a moves (raises) in the +Z-axis direction, so that the plate 121e enters the groove of the photosensor 121d. Thereby, the transport control unit 193 determines that the injection drug whose suction mechanism 121a has a diameter (φb) larger than the predetermined diameter (φa) is to be transported.

この場合、搬送制御部193は、径φaの第2移動量の代わりに、最大径(径:φmax)を有する注射薬を示す注射薬識別情報に紐付けられた移動量情報が示す第2移動量に従って、距離Dmax分、注射薬を引き上げる。なお、距離Dmaxに対応する第2移動量は、注射薬払出装置100で取扱われると想定される注射薬のうち、最大径を有する注射薬を、カセットCaの側壁に衝突させることなく、処理位置132から位置変更部126へ搬送できる程度に設定されていればよい。 In this case, the transport control unit 193 moves the second movement indicated by the movement amount information linked to the injection drug identification information indicating the injection drug having the maximum diameter (diameter: φmax) instead of the second movement amount of the diameter φa. The injection drug is pulled up by a distance Dmax according to the amount. Note that the second movement amount corresponding to the distance Dmax is such that the injection drug having the largest diameter among the injection drugs assumed to be handled by the injection drug dispensing device 100 is moved to the processing position without colliding with the side wall of the cassette Ca. 132 to the position changing unit 126.

吸着対象となる注射薬が径φaよりも大きいにも関わらず、径φaの第2移動量に従って注射薬を引き上げた場合、引き上げ量が足りず、注射薬がカセットCaの側壁に衝突してしまう可能性がある。しかし、搬送制御部193は、径φaの注射薬を収容するカセットCaにおいて、径φaよりも大きい径φbの注射薬が取出対象となった場合に、最大径の注射薬に対応する第2移動量に基づいて注射薬を引き上げるため、カセットCaの側壁との衝突を回避できる。 Even though the injection to be adsorbed is larger than the diameter φa, if the injection is pulled up according to the second movement amount of the diameter φa, the amount of lifting is insufficient and the injection will collide with the side wall of the cassette Ca. there is a possibility. However, in the cassette Ca that accommodates the injection drug with the diameter φa, when the injection drug with the diameter φb, which is larger than the diameter φa, is to be taken out, the transport control unit 193 moves the second movement corresponding to the injection drug with the largest diameter. Since the injection drug is pulled up based on the amount, collision with the side wall of the cassette Ca can be avoided.

なお、取出対象の注射薬が想定している注射薬の径よりも大きい場合、最大径の注射薬に対応する第2移動量を用いているが、これに限らず、例えば取出対象の注射薬に対応する第2移動量を用いて当該注射薬を引き上げても構わない。 Note that when the diameter of the injection to be taken out is larger than the expected diameter of the injection, the second movement amount corresponding to the largest diameter injection is used; however, the second movement amount is not limited to this. The injection drug may be pulled up using the second movement amount corresponding to the second movement amount.

次に、吸着機構121a及び153aによる注射薬のリリース完了を特定するときの処理について説明する。薬剤搬送部121及び薬剤移動部153は、注射薬を吸着するための真空源(不図示)を有する。搬送制御部193は、注射薬を位置変更部126上又は搬送トレイ151a上でリリースする場合、真空源をオフにする。 Next, a process for determining the completion of release of the injection drug by the adsorption mechanisms 121a and 153a will be described. The drug transport unit 121 and the drug transfer unit 153 have a vacuum source (not shown) for adsorbing the injection drug. The transport control unit 193 turns off the vacuum source when releasing the injection drug onto the position change unit 126 or the transport tray 151a.

搬送制御部193は、注射薬のリリースのために真空源をオフにした後、再度オンにしても構わない。搬送制御部193は、真空源をオンにしたときに、真空源と吸着パッド121g(図32の(a)参照)とを結ぶ空気管内の負荷(例:空気管内の圧力、又は空気管を流れる空気量)が変化するか否かを判定する。なお、薬剤搬送部121及び薬剤移動部153の吸着に関する構造は同一である。 The transport control unit 193 may turn the vacuum source off and then turn it on again to release the injection drug. When the vacuum source is turned on, the transfer control unit 193 controls the load in the air pipe connecting the vacuum source and the suction pad 121g (see (a) in FIG. 32) (e.g., the pressure in the air pipe or the Determine whether or not the amount of air changes. Note that the structures related to adsorption of the drug transport section 121 and the drug transfer section 153 are the same.

負荷が変化しなかった場合、搬送制御部193は、吸着パッド121gにおいて何も吸着していないと判定する。つまり、この場合、搬送制御部193は、吸着機構121a及び153aが注射薬を適切にリリースできていると判定する。一方、負荷が変化した場合、搬送制御部193は、吸着パッド121gに何かが吸着した状態であると判定する。つまり、この場合、搬送制御部193は、吸着機構121a及び153aが注射薬を適切にリリースできていないと判定する。 If the load does not change, the transport control unit 193 determines that nothing is being adsorbed on the suction pad 121g. That is, in this case, the transport control unit 193 determines that the adsorption mechanisms 121a and 153a are able to appropriately release the injection drug. On the other hand, when the load changes, the conveyance control unit 193 determines that something is adsorbed to the suction pad 121g. That is, in this case, the transport control unit 193 determines that the adsorption mechanisms 121a and 153a are unable to appropriately release the injection drug.

このように、注射薬のリリース時に真空源のオン及びオフを制御することで、吸着機構121a及び153aが注射薬を適切にリリースできているか否かを確認できる。 In this way, by controlling on and off of the vacuum source when releasing the injection drug, it can be confirmed whether the adsorption mechanisms 121a and 153a are properly releasing the injection drug.

<画像処理のタイミング調整例>
次に、期限読み取り用カメラ125による画像処理のタイミング調整例について説明する。図33の(a)及び(b)は、期限読み取り用カメラ125による画像処理のタイミング調整の一例について説明するための図である。
<Example of image processing timing adjustment>
Next, an example of adjusting the timing of image processing by the deadline reading camera 125 will be described. (a) and (b) of FIG. 33 are diagrams for explaining an example of timing adjustment of image processing by the deadline reading camera 125.

薬剤搬送部121によって第1搭載部126aに注射薬が載置された場合、薬剤回転部127は注射薬を回転させる。この回転により、注射薬に付されたバーコードがバーコードリーダー123に対向した時点で、バーコードリーダー123が当該バーコードを読取る。これにより、第1判別処理部195による注射薬の種類の判別を行うことができる。 When the injection drug is placed on the first mounting section 126a by the drug transport section 121, the drug rotation section 127 rotates the injection drug. Due to this rotation, when the barcode attached to the injection drug faces the barcode reader 123, the barcode reader 123 reads the barcode. This allows the first discrimination processing unit 195 to discriminate the type of injection drug.

バーコードは、注射薬の種類毎に、複数の線のそれぞれの太さ、及び線同士の間隔を異ならせて表現されたものである。そのため、第1判別処理部195は、バーコードリーダー123が読取ったバーコードを解析することで、バーコードに示される数字又は英字の並びを注射薬識別情報として認識できる。つまり、第1判別処理部195は、バーコードに示される数字又は英字の並びを認識できるため、当該並びと注射薬の向き(注射薬の載置方向)とを紐付けておくことで、注射薬の頭部又は底部がいずれの方向を向いているかについても認識できる。 A barcode is expressed by varying the thickness of each of a plurality of lines and the spacing between the lines for each type of injection drug. Therefore, by analyzing the barcode read by the barcode reader 123, the first discrimination processing unit 195 can recognize the sequence of numbers or letters shown in the barcode as injection drug identification information. In other words, since the first discrimination processing unit 195 can recognize the sequence of numbers or letters shown in the barcode, by linking the sequence with the orientation of the injection drug (the direction in which the injection drug is placed), the first discrimination processing unit 195 can It is also possible to recognize which direction the head or bottom of the medicine is facing.

また、第2判別処理部196は、期限読み取り用カメラ125が撮影した画像を解析することで、注射薬に付された有効期限を認識する。 Further, the second discrimination processing unit 196 recognizes the expiration date attached to the injection drug by analyzing the image taken by the expiration date reading camera 125.

ここで、バーコードは、バーコードリーダー123により瞬時に読取られる。そのため、バーコード読取時には、薬剤回転部127は、ある程度高速で注射薬を回転させることが可能である。一方、有効期限は、期限読み取り用カメラ125が撮影することで読取られる。そのため、有効期限読取時には、薬剤回転部127は、回転速度をバーコード読取時よりも遅くする必要がある。 Here, the barcode is instantaneously read by the barcode reader 123. Therefore, when reading the barcode, the medicine rotation unit 127 can rotate the injection medicine at a certain high speed. On the other hand, the expiration date is read by taking an image with the expiration date reading camera 125. Therefore, when reading the expiration date, the medicine rotating section 127 needs to rotate at a slower speed than when reading the barcode.

そのため、バーコードリーダー123によるバーコードの読取後、薬剤回転部127は回転速度を下げた後、期限読み取り用カメラ125による注射薬の撮影を開始する。期限読み取り用カメラ125は、注射薬を約1周させる間に複数回(例:20回程度)の撮影を行う。第2判別処理部196は、複数回に亘り撮影した画像の全てを解析することで、有効期限を認識する。この場合、有効期限が含まれていない画像も解析対象となるため、当該画像の解析の分、無駄な処理が発生することになる。 Therefore, after the barcode reader 123 reads the barcode, the drug rotation unit 127 lowers its rotation speed, and then the expiration date reading camera 125 starts photographing the injection drug. The expiration date reading camera 125 takes pictures a plurality of times (for example, about 20 times) while the injection drug is rotated about once. The second discrimination processing unit 196 recognizes the expiration date by analyzing all images taken multiple times. In this case, since images that do not include an expiration date are also subject to analysis, unnecessary processing will occur due to the analysis of the images.

そこで本例では、第2判別処理部196は、注射薬に付されたバーコードの位置及び注射薬の向きに基づき、注射薬に付された有効期限を認識するための処理を行う認識領域(有効期限記載領域)を決定する。換言すれば、第2判別処理部196は、注射薬に付されたバーコードの位置及び注射薬の向きに基づき、期限読み取り用カメラ125が有効期限を読取るための撮影を行う期限撮影領域Phaを決定する。 Therefore, in this example, the second discrimination processing unit 196 uses a recognition area ( (Expiry date writing area). In other words, the second discrimination processing unit 196 determines the expiration date photographing area Pha in which the expiration date reading camera 125 photographs to read the expiration date, based on the position of the barcode attached to the injectable medication and the orientation of the injectable medication. decide.

ここで、薬品マスタには、注射薬の向きとバーコードの向き(バーコードに付された英数字の並び順)とが紐付けられて、注射薬識別情報毎に登録されている。また、薬品マスタには、バーコードが付された位置から有効期限が付された位置までの、注射薬の周方向上の第1距離を示す第1距離情報が、注射薬識別情報毎に登録されている。 Here, in the medicine master, the orientation of the injection medicine and the orientation of the barcode (the order in which the alphanumeric characters attached to the barcode are arranged) are linked and registered for each injection medicine identification information. In addition, in the drug master, first distance information indicating the first distance in the circumferential direction of the injection drug from the position where the barcode is attached to the position where the expiration date is attached is registered for each injection drug identification information. has been done.

例えば、バーコードリーダー123が注射薬に付されたバーコードを読取ると、第2判別処理部196は、その時点で、薬剤回転部127の回転を一旦停止させる。その後、第2判別処理部196は、薬品マスタに登録された当該注射薬の向きを示す情報及び第1距離情報に基づき期限撮影領域Phaを決定する。 For example, when the barcode reader 123 reads a barcode attached to an injection drug, the second discrimination processing section 196 temporarily stops the rotation of the drug rotation section 127 at that point. Thereafter, the second discrimination processing unit 196 determines the expiration shooting area Pha based on the information indicating the orientation of the injection drug registered in the medicine master and the first distance information.

具体的には、第2判別処理部196は、読取ったバーコードと薬品マスタと照合することで、注射薬の向きを特定する。また、第2判別処理部196は、薬品マスタの第1距離情報を参照することで、注射薬の向きに応じた期限撮影領域Phaを決定する。 Specifically, the second discrimination processing unit 196 identifies the orientation of the injection drug by comparing the read barcode with the drug master. Further, the second discrimination processing unit 196 determines the expiration shooting area Pha according to the orientation of the injection drug by referring to the first distance information of the drug master.

例えば、図33の(a)及び(b)に示すように注射薬の回転方向が矢印方向である場合に、第2判別処理部196が、図33の(a)に示すように注射薬の向きを特定したとする。この場合、第2判別処理部196は、第1距離情報に基づき、バーコードが付された位置近傍から有効期限が付された位置近傍までの領域を、期限撮影領域Phaとして決定する。より具体的には、図33の(a)に示すように、第2判別処理部196は、撮影開始位置Pha1(読取開始位置)及び撮影終了位置Pha2(読取終了位置)を決定する。 For example, when the rotation direction of the injection drug is in the arrow direction as shown in FIGS. 33(a) and (b), the second discrimination processing unit 196 Suppose that the direction is specified. In this case, the second discrimination processing unit 196 determines, based on the first distance information, an area from the vicinity of the position where the barcode is attached to the vicinity of the position where the expiration date is attached as the expiration shooting area Pha. More specifically, as shown in (a) of FIG. 33, the second determination processing unit 196 determines the imaging start position Pha1 (reading start position) and the imaging end position Pha2 (reading end position).

一方、第2判別処理部196が、図33の(b)に示すように注射薬の向きを特定した場合も、図33の(a)と同様に、期限撮影領域Phaとして決定する。但し、図33の(b)に示すように、第2判別処理部196は、撮影開始位置Pha1及び撮影終了位置Pha2を決定する。 On the other hand, when the second discrimination processing unit 196 specifies the orientation of the injection medicine as shown in FIG. 33(b), it is also determined as the expiration photography area Pha, similarly to FIG. 33(a). However, as shown in FIG. 33(b), the second discrimination processing unit 196 determines the shooting start position Pha1 and the shooting end position Pha2.

期限撮影領域Phaの決定後、薬剤位置制御部197は、薬剤回転部127を、注射薬を撮影する場合の回転速度で回転させる。注射薬が回転した状態において、期限読み取り用カメラ125は、自機が撮影開始位置Pha1と対向したときに撮影を開始し、自機が撮影終了位置Pha2と対向したときに撮影を終了する。図33の(a)及び(b)に示すように、期限読み取り用カメラ125は、実線の矢印で示す期限撮影領域Phaについては撮影し、点線の矢印で示す領域については撮影を行わない。 After determining the expiration date imaging area Pha, the medicine position control unit 197 rotates the medicine rotation unit 127 at a rotation speed when photographing an injection medicine. In the state in which the injection drug is rotated, the expiration reading camera 125 starts photographing when its own device faces the photographing start position Pha1, and ends photographing when its own device faces the photographing end position Pha2. As shown in FIGS. 33A and 33B, the time limit reading camera 125 photographs the time limit photographing area Pha indicated by the solid arrow, but does not photograph the region indicated by the dotted arrow.

つまり、期限読み取り用カメラ125は、決定された期限撮影領域Pha内のみ(換言すれば、注射薬の周方向全体ではなく、その一部の領域のみ)、有効期限を読取るために撮影する。このように、有効期限が付されていないと想定される領域(期限撮影領域Pha以外の領域)を撮影対象外とすることで、撮影枚数を低減できる。そのため、有効期限の認識のための画像処理を効率的に行うことが可能となる。 That is, the expiration date reading camera 125 photographs only within the determined expiration photographing area Pha (in other words, not the entire circumferential direction of the injection drug, but only a part of the area) in order to read the expiration date. In this way, by excluding the area that is assumed to have no expiration date (area other than the expiration photography area Pha) from being photographed, the number of images to be photographed can be reduced. Therefore, it becomes possible to efficiently perform image processing for recognizing the expiration date.

なお、期限読み取り用カメラ125が撮影開始位置Pha1と対向するまでは、薬剤回転部127の回転速度をバーコード読取時の回転速度としても構わない。この場合、有効期限の認識処理をより効率的に(高速に)行うことが可能となる。 Note that the rotational speed of the drug rotation unit 127 may be used as the rotational speed at the time of barcode reading until the time limit reading camera 125 faces the imaging start position Pha1. In this case, it becomes possible to perform the expiration date recognition process more efficiently (at high speed).

また、有効期限が含まれるように期限撮影領域Phaが設定されていればよい。そのため、撮影開始位置Pha1をバーコードが付された位置近傍に設定する必要は無い。例えば、第2判別処理部196は、第1距離情報により有効期限が付された位置を特定した後、当該位置から所定距離離れた位置を撮影開始位置Pha1と決定しても構わない。但し、撮影開始位置Pha1は、期限撮影領域Phaに有効期限が含まれるように決定される必要はある。 Further, the expiration date photographing area Pha may be set so as to include the expiration date. Therefore, it is not necessary to set the photographing start position Pha1 near the position where the barcode is attached. For example, the second discrimination processing unit 196 may specify a position with an expiration date based on the first distance information, and then determine a position a predetermined distance away from the position as the photographing start position Pha1. However, the imaging start position Pha1 needs to be determined so that the expiration date is included in the expiration imaging area Pha.

また、第1距離情報が登録されていない場合には、期限読み取り用カメラ125は、その注射薬の全周に亘り撮影を行う。第2判別処理部196は、撮影された画像を解析することで、当該注射薬に付された有効期限を読取る。このとき、第2判別処理部196は、当該注射薬に付されたバーコードの位置も特定しているため、撮影された画像を解析することで、当該バーコードの位置と有効期限の位置とに基づき、第1距離情報(つまり期限撮影領域Phaの位置)を決定する。第2判別処理部196は、決定した第1距離情報を、当該注射薬を示す注射薬識別情報に紐付けて薬品マスタに登録する。これにより、次回の有効期限の読取時から、登録された第1距離情報を用いることができる。 Furthermore, if the first distance information is not registered, the expiration date reading camera 125 photographs the entire circumference of the injection drug. The second discrimination processing unit 196 reads the expiration date attached to the injection drug by analyzing the photographed image. At this time, the second discrimination processing unit 196 also specifies the position of the barcode attached to the injection drug, so by analyzing the photographed image, the position of the barcode and the expiration date are determined. Based on this, the first distance information (that is, the position of the expiration photography area Pha) is determined. The second discrimination processing unit 196 registers the determined first distance information in the drug master in association with the injection drug identification information indicating the injection drug. Thereby, the registered first distance information can be used from the next time the expiration date is read.

また、第1距離ではなく、期限撮影領域Pha(撮影開始位置Pha1及び撮影終了位置Pha2を含む)を示す撮影領域情報(有効期限記載領域に関する情報)が、薬品マスタに登録されていても構わない。 Furthermore, instead of the first distance, the imaging area information (information regarding the expiration date description area) indicating the expiration imaging area Pha (including the imaging start position Pha1 and imaging end position Pha2) may be registered in the drug master. .

<払出不可の注射薬があった場合の処理例>
次に、払出不可の注射薬があった場合の処理例について説明する。図34の(a)~(f)は、払出不可の注射薬があった場合の処理の一例を説明するための図である。第1判別処理部195又は第2判別処理部196により払出不可の注射薬と判定された場合、その時点で注射薬の払出しが停止してしまう可能性がある。
<Example of processing when there are injection drugs that cannot be dispensed>
Next, an example of processing when there is an injection that cannot be dispensed will be described. (a) to (f) of FIG. 34 are diagrams for explaining an example of the process when there is an injection drug that cannot be dispensed. If the first discrimination processing unit 195 or the second discrimination processing unit 196 determines that the injection drug cannot be dispensed, dispensing of the injection drug may be stopped at that point.

注射薬払出装置100では、注射薬の種類及び有効期限を認識するために、位置変更部126の薬剤搬送部121側(処理位置132側)において、注射薬に付されたバーコードを読取ると共に、注射薬に付された有効期限を撮影する。第1判別処理部195は、読取られたバーコードに基づく注射薬の種類の認識処理を行うと共に、第2判別処理部196は、撮像された画像を解析することで、有効期限の認識処理を行う。これらの処理(特に有効期限の認識処理)には、所定の時間を要する。 In the injection medicine dispensing device 100, in order to recognize the type and expiration date of the injection medicine, the barcode attached to the injection medicine is read on the medicine transporting part 121 side (processing position 132 side) of the position changing part 126, and Take a photo of the expiration date on the injection drug. The first discrimination processing unit 195 performs recognition processing of the type of injection drug based on the read barcode, and the second discrimination processing unit 196 performs recognition processing of the expiration date by analyzing the captured image. conduct. These processes (particularly the expiration date recognition process) require a certain amount of time.

そのため、薬剤位置制御部197は、薬剤搬送部121側でバーコードの読取り及び有効期限の撮影が完了すると、注射薬の種類及び有効期限の認識処理の結果を待たずに、位置変更部126を回転させる。その結果、注射薬は、薬剤移動部153側(非払出薬保管部152側)に位置する。これにより、薬剤搬送部121側に、注射薬の種類及び有効期限の認識処理の対象となる次の注射薬を載置できる。このようにして、効率的に注射薬の払出を行う(つまり、注射薬の払出速度を上げる)ことが可能となる。なお、注射薬の種類及び有効期限の認識処理の結果は、当該注射薬が薬剤移動部153側に位置している間に行われる。 Therefore, when the reading of the barcode and the photographing of the expiration date are completed on the medicine transporting unit 121 side, the medicine position control unit 197 changes the position change unit 126 without waiting for the results of the recognition processing of the type of injection medicine and the expiration date. Rotate. As a result, the injection medicine is located on the medicine moving part 153 side (on the non-dispensing medicine storage part 152 side). Thereby, the next injection drug to be subjected to the recognition process of the type and expiration date of the injection drug can be placed on the drug transport unit 121 side. In this way, it becomes possible to efficiently dispense the injection (that is, increase the injection speed). Note that the results of the recognition process for the type and expiration date of the injection drug are performed while the injection drug is located on the medicine transfer unit 153 side.

つまり、効率的に順次注射薬を払出していくために、注射薬は、以下の箇所で払出しを待機している。
・薬剤搬送部121の吸着機構121a(位置P1)。つまり、吸着機構121aが注射薬を吸着した状態。
・位置変更部126の薬剤搬送部121側(位置P2)。つまり、注射薬に付されたバーコードを読取り、かつ注射薬に付された有効期限を撮影する位置に、注射薬が有る状態。・位置変更部126の薬剤移動部153側(位置P3)。つまり、薬剤移動部153が搬送トレイ151a又は非払出薬保管部152に注射薬を移動する前の状態。
In other words, in order to efficiently dispense injections one after another, injections are waiting to be dispensed at the following locations.
- Adsorption mechanism 121a (position P1) of drug transport section 121. In other words, the adsorption mechanism 121a is in a state where the injection drug is adsorbed.
- The drug transport unit 121 side of the position change unit 126 (position P2). In other words, the injectable drug is in a position where the barcode attached to the injectable drug is read and the expiration date attached to the injectable drug is photographed. - The drug transfer unit 153 side of the position change unit 126 (position P3). In other words, this is the state before the medicine moving section 153 moves the injection medicine to the transport tray 151a or the non-dispensing medicine storage section 152.

ここで、注射薬払出装置100は、1患者に対する払出対象の注射薬を同一の搬送トレイ151aに収容するものとする。換言すれば、任意の払出対象の注射薬と、その次の払出対象の注射薬とが、同一患者に対する払出対象の注射薬でない場合、注射薬払出装置100は、これらの注射薬を互いに異なる搬送トレイ151aに収容するものとする。 Here, it is assumed that the injection drug dispensing device 100 stores injection drugs to be dispensed to one patient in the same transport tray 151a. In other words, if an injection drug to be dispensed and the next injection drug to be dispensed are not injection drugs to be dispensed to the same patient, the injection drug dispensing device 100 transports these injection drugs in different ways. It is assumed that the tray 151a accommodates it.

この場合、第1判別処理部195又は第2判別処理部196により注射薬が払出不可と判定され、かつ当該注射薬とその次の払出対象の注射薬とが同一患者への投与に係る処方データに示される注射薬ではないと判定されると、当該注射薬を払出すことができない。具体的には、この場合、払出不可と判定された注射薬と次の払出対象の注射薬とは、互いに異なる搬送トレイ151aに収容される。そのため、払出不可と判定された注射薬と同種の注射薬が払出されない限り、次の払出対象の注射薬を払出すことはできない。つまり、この場合、前の注射薬を追い越して払出しを行うことはできない。結果として、注射薬の払出しが停止してしまう。 In this case, the first discrimination processing unit 195 or the second discrimination processing unit 196 determines that the injection cannot be dispensed, and the prescription data of the injection and the next injection to be dispensed are for administration to the same patient. If it is determined that the injection drug is not one of the above, the injection drug cannot be dispensed. Specifically, in this case, the injection determined to be undispensable and the next injection to be dispensed are accommodated in different transport trays 151a. Therefore, unless an injection of the same type as the injection determined to be non-dispensable is dispensed, the next injection to be dispensed cannot be dispensed. In other words, in this case, it is not possible to overtake the previous injection and dispense it. As a result, dispensing of the injection medicine stops.

そのため、払出不可と判定された注射薬を位置P3から非払出薬保管部152へ移動させたとしても、その次の払出対象の注射薬は位置P2又はP3、更にその次の払出対象の注射薬は位置P1又はP2で滞留してしまうことになる。 Therefore, even if an injection determined to be non-dispensable is moved from position P3 to the non-dispensable medicine storage section 152, the next injection to be dispensed will be moved to position P2 or P3, and the next injection to be dispensed will remain at position P1 or P2.

特に、注射薬払出システム1は、注射薬払出装置100の他、種々の装置と連動して動作する。そのため、注射薬払出装置100による停止は、注射薬払出システム1の処理に影響を与える。 In particular, the injection drug dispensing system 1 operates in conjunction with various devices other than the injection drug dispensing device 100. Therefore, the stoppage of the injection drug dispensing device 100 affects the processing of the injection drug dispensing system 1.

なお、払出不可と判定された注射薬と次の払出対象の注射薬とが、同一患者への投与に係る処方データに示される注射薬である場合には、上述の通り、一般に同一の搬送トレイ151aに収容される。そのため、払出不可と判定された注射薬と同種の払出を待たずに、次の払出対象の注射薬を払出しても構わない。 In addition, if the injectable drug determined to be non-dispensable and the next injectable drug to be dispensed are indicated in the prescription data for administration to the same patient, they are generally placed in the same transport tray as described above. It is accommodated in 151a. Therefore, the next injection to be dispensed may be dispensed without waiting for the same type of injection as the one determined to be dispensable.

そこで本例では、第1判別処理部195及び第2判別処理部196は、注射薬を払出不可と判定した場合、払出可能と判定されるまで、当該注射薬と同種の薬剤を、払出可否の判定対象とする払出可否判定部として機能する。また、搬送制御部193は、注射薬が払出不可と判定された場合、当該注射薬の次に払出される注射薬の払出しを待機する払出制御部として機能する。 Therefore, in this example, when it is determined that the injection medicine cannot be dispensed, the first discrimination processing unit 195 and the second discrimination processing unit 196 keep the same type of medicine as the injection medicine in the dispensable state until it is determined that the injection medicine can be dispensed. It functions as a payout determination unit that is subject to determination. Furthermore, when it is determined that the injection cannot be dispensed, the transport control unit 193 functions as a dispensing control unit that waits for dispensing the next injection after the injection.

特に、上述したように、第1判別処理部195及び第2判別処理部196が、下記(1)及び(2)の判定を行った場合、搬送制御部193は、第2注射薬を待機させる。
(1)注射薬を払出不可と判定した場合。
(2)当該注射薬(第1注射薬)と、当該注射薬の次に払出される注射薬(第2注射薬、次薬剤)とが、互いに異なる患者への投与に係る処方データに示される薬剤であると判定した場合。
In particular, as described above, when the first discrimination processing section 195 and the second discrimination processing section 196 make the following determinations (1) and (2), the transport control section 193 causes the second injection to stand by. .
(1) If it is determined that the injection drug cannot be dispensed.
(2) The injection drug (first injection drug) and the injection drug dispensed after the injection drug (second injection drug, next drug) are indicated in prescription data related to administration to different patients. If it is determined that it is a drug.

上述の処理を実現するために、注射薬払出装置100には、第2注射薬を仮置きしておく仮置部が備えられている。仮置部は、例えば、非払出薬保管部152の一部の領域に設けられても構わないし、非払出薬保管部152とは別に、その近傍に設けられても構わない。 In order to realize the above-mentioned processing, the injection medicine dispensing device 100 is equipped with a temporary storage section in which the second injection medicine is temporarily stored. The temporary storage section may be provided, for example, in a part of the non-dispense medicine storage section 152, or may be provided in the vicinity of the non-dispensation medicine storage section 152.

図34を用いて、注射薬MA、MB及びMCが払出される場合の処理例について説明する。本例では、図34の(a)において、第1判別処理部195及び/又は第2判別処理部196が注射薬MAを払出不可の注射薬と判定しているものとする。具体的には、注射薬MAについて、第1判別処理部195が、読取ったバーコードが示す注射薬識別情報と、処方データが示す注射薬識別情報とが不一致であると判定しているか、又は、第2判別処理部196がその有効期限が切れていると判定している。 An example of processing when injection drugs MA, MB, and MC are dispensed will be described using FIG. 34. In this example, in (a) of FIG. 34, it is assumed that the first discrimination processing section 195 and/or the second discrimination processing section 196 has determined that the injection drug MA is an injection drug that cannot be dispensed. Specifically, for the injection drug MA, the first discrimination processing unit 195 determines that the injection drug identification information indicated by the read barcode and the injection drug identification information indicated by the prescription data do not match, or , the second determination processing unit 196 determines that the expiration date has expired.

この場合、図34の(b)に示すように、薬剤移動部153は、注射薬MAを非払出薬保管部152へと移動させた後、位置変更部126が回転することで、注射薬MBを位置P2から位置P3へと移動させる。この状態において、薬剤搬送部121は、注射薬MCを位置変更部126に載置することで、位置P1から位置P2へと移動させる。その後、薬剤移動部153が注射薬MBを仮置部へと移動させた後、位置変更部126が回転することで、注射薬MCを位置P2から位置P3へと移動させる。 In this case, as shown in FIG. 34(b), after the medicine moving part 153 moves the injection medicine MA to the non-dispensing medicine storage part 152, the position changing part 126 rotates, thereby moving the injection medicine MB. is moved from position P2 to position P3. In this state, the medicine transport unit 121 places the injection medicine MC on the position change unit 126, thereby moving it from the position P1 to the position P2. Thereafter, after the drug moving section 153 moves the injection drug MB to the temporary storage section, the position changing section 126 rotates to move the injection drug MC from the position P2 to the position P3.

次に、図34の(c)に示すように、薬剤搬送部121は、払出不可と判定された注射薬MAと同種の注射薬MA(ここでは注射薬MA’とする)を処理位置132のカセットCa内から取出し、位置変更部126に載置する。つまり、注射薬MA’を位置P1から位置P2へと移動させる。その後、注射薬MA’に対して、第1判別処理部195及び第2判別処理部196による払出可否の判定が行われる。 Next, as shown in FIG. 34(c), the drug transport unit 121 transfers the same type of injection MA (injection MA' here) to the injection MA that has been determined to be non-dispensable to the processing position 132. It is taken out from inside the cassette Ca and placed on the position changing section 126. That is, the injection drug MA' is moved from position P1 to position P2. Thereafter, the first discrimination processing section 195 and the second discrimination processing section 196 determine whether or not the injection medicine MA' can be dispensed.

次に、図34の(d)に示すように、位置変更部126が回転することで、注射薬MA’を位置P2から位置P3へ(注射薬MCを位置P3から位置P2へ)と移動させる。注射薬MA’が払出不可と判定された場合、薬剤移動部153は、注射薬MA’を非払出薬保管部152へと移動させた後、図34の(c)に示す処理に戻る。つまり、注射薬MAが搬送トレイ151aに払出されるまで、次に払出される注射薬MB及びMCが払出しを待機した状態となる。一方、注射薬MA’が払出可と判定された場合、薬剤移動部153は、注射薬MA’を搬送トレイ151aへと移動させる。 Next, as shown in FIG. 34(d), the position change unit 126 rotates to move the injection drug MA' from position P2 to position P3 (injection drug MC from position P3 to position P2). . When it is determined that the injection drug MA' cannot be dispensed, the medicine moving unit 153 moves the injection medicine MA' to the non-dispensing medicine storage unit 152, and then returns to the process shown in FIG. 34(c). In other words, until the injection MA is dispensed onto the transport tray 151a, the next injections MB and MC are on standby. On the other hand, if it is determined that the injection drug MA' can be dispensed, the medicine moving unit 153 moves the injection drug MA' to the transport tray 151a.

注射薬MA’が払出可と判定された場合、注射薬MA’の払出し後、図34の(e)に示すように、薬剤移動部153は、仮置部にて注射薬MAの払出しを待機していた注射薬MBを位置変更部126(具体的には位置P3)へと戻す。その後、位置変更部126が回転することで、注射薬MBを位置P3から位置P2へ(注射薬MCを位置P2から位置P3へ)と移動させる。これにより、注射薬MAの次の払出対象である注射薬MBに対して、第1判別処理部195及び第2判別処理部196による払出可否の判定を行うことができる。 When it is determined that the injection drug MA' can be dispensed, after dispensing the injection drug MA', as shown in FIG. The injection medicine MB that was being held is returned to the position changing unit 126 (specifically, position P3). Thereafter, the position change unit 126 rotates to move the injection drug MB from position P3 to position P2 (injection drug MC from position P2 to position P3). Thereby, the first discrimination processing unit 195 and the second discrimination processing unit 196 can determine whether or not the injection drug MB, which is the next dispensing target of the injection drug MA, can be dispensed.

位置P2で注射薬MBに付されたバーコード及び有効期限の読取りが完了すると、位置変更部126が回転することで、注射薬MBを位置P2から位置P3へ(注射薬MCを位置P3から位置P2へ)と移動させる。注射薬MBが払出可と判定された場合、薬剤移動部153は、注射薬MBを搬送トレイ151aへと移動させる。その後、図34の(f)に示すように、注射薬MCに対して第1判別処理部195及び第2判別処理部196による払出可否が行われ、払出可と判定された場合には、薬剤移動部153は注射薬MCを搬送トレイ151aへと移動させる。 When the reading of the barcode and expiration date attached to the injection drug MB at position P2 is completed, the position change unit 126 rotates to move the injection drug MB from position P2 to position P3 (to move the injection drug MC from position P3 to position (to P2). When it is determined that the injection medicine MB can be dispensed, the medicine moving unit 153 moves the injection medicine MB to the transport tray 151a. Thereafter, as shown in FIG. 34(f), the first discrimination processing unit 195 and the second discrimination processing unit 196 determine whether or not the injection drug MC can be dispensed.If it is determined that the injection drug MC can be dispensed, the drug The moving unit 153 moves the injection drug MC to the transport tray 151a.

一方、図34の(e)において、注射薬MBが払出不可と判定された場合には、薬剤移動部153は、注射薬MBを非払出薬保管部152へと移動させた後、位置変更部126が回転することで、注射薬MCを位置P2から位置P3へと移動させる。その後、薬剤搬送部121は、払出不可と判定された注射薬MBと同種の注射薬MB(ここでは注射薬MB’とする)を処理位置132のカセットCa内から取出し、位置変更部126(具体的には位置P2)に載置する。そして、注射薬MB’に対して第1判別処理部195及び第2判別処理部196による払出可否が行われる。注射薬MBが払出されるまで、この処理が繰り返される。つまり、注射薬MBが搬送トレイ151aに払出されるまで、次に払出される注射薬MCが払出しを待機した状態となる。 On the other hand, in (e) of FIG. 34, when it is determined that the injection drug MB cannot be dispensed, the drug moving section 153 moves the injection drug MB to the non-dispensing drug storage section 152, and then moves the injection drug MB to the position changing section. The rotation of 126 moves the injection drug MC from position P2 to position P3. Thereafter, the drug transport unit 121 takes out an injection drug MB of the same type as the injection drug MB determined to be undispensable (herein referred to as an injection drug MB') from within the cassette Ca of the processing position 132, Specifically, it is placed at position P2). Then, the first discrimination processing section 195 and the second discrimination processing section 196 determine whether or not the injection medicine MB' can be dispensed. This process is repeated until the injection drug MB is dispensed. In other words, until the injection medicine MB is delivered to the transport tray 151a, the injection medicine MC to be delivered next is in a waiting state.

また、図34の(f)において、注射薬MCが払出不可と判定された場合には、薬剤移動部153は、注射薬MCを非払出薬保管部152へと移動させる。その後、薬剤搬送部121は、払出不可と判定された注射薬MCと同種の注射薬MC(ここでは注射薬MC’とする)を処理位置132のカセットCa内から取出し、位置変更部126(具体的には位置P2)に載置する。そして、注射薬MC’に対して第1判別処理部195及び第2判別処理部196による払出可否が行われる。注射薬MCが払出されるまで、この処理が繰り返される。 Further, in FIG. 34(f), when it is determined that the injection drug MC cannot be dispensed, the medicine moving unit 153 moves the injection medicine MC to the non-dispensing medicine storage unit 152. Thereafter, the drug transport unit 121 takes out an injection MC (herein referred to as an injection MC') of the same type as the injection MC determined to be undispensable from the cassette Ca of the processing position 132, Specifically, it is placed at position P2). Then, the first discrimination processing section 195 and the second discrimination processing section 196 determine whether or not the injection medicine MC' can be dispensed. This process is repeated until the injection drug MC is dispensed.

注射薬MA、MB及びMCまでの払出処理が完了すると、注射薬MCの次の注射薬が処方データに従って位置変更部126へと搬送される。そして、注射薬が払出不可と判定された場合には上述した処理が行われる。 When the dispensing process for injection drugs MA, MB, and MC is completed, the injection next to injection drug MC is transported to the position changing unit 126 according to the prescription data. If it is determined that the injection cannot be dispensed, the above-described process is performed.

このように、注射薬が払出不可と判定された場合、次の払出対象の注射薬を仮置部(退避位置)へ一時的に退避させることで、払出不可と判定された注射薬と同種の注射薬の再払出しが自動で実行される。そのため、注射薬の払出しを継続的に行うことが可能となる。 In this way, when it is determined that an injectable drug cannot be dispensed, the next injectable drug to be dispensed is temporarily evacuated to the temporary storage area (evacuation position), and the same type of injectable drug as the injectable drug that was determined to be non-dispensable is temporarily evacuated to the temporary storage area (evacuation position). Re-dispensing of the injection drug is automatically executed. Therefore, it becomes possible to continuously dispense injections.

なお、図34の例では、注射薬MA、MB及びMCがそれぞれ別患者への投与に係る処方データに示される注射薬(注射薬MA、MB及びMCが別処方)である場合について説明した。同一患者に係る処方データに示される注射薬については、上述の通り、払出不可と判定された注射薬の次の注射薬を払出しても構わない。 In the example of FIG. 34, a case has been described in which the injection drugs MA, MB, and MC are injection drugs shown in prescription data related to administration to different patients (injection drugs MA, MB, and MC are prescribed separately). Regarding the injection drugs indicated in the prescription data for the same patient, as described above, the injection drug following the injection drug determined to be non-dispensable may be dispensed.

また、上記では、任意の注射薬が搬送トレイ151aへ払出されるまで、次の注射薬の払出しが待機状態となっている。但し、任意の注射薬の欠品が確定するまで(例:注射薬MAを収容するカセットCaが空になるまで)、次の注射薬の払出しが待機状態であっても構わない。 Moreover, in the above, the dispensing of the next injection is in a standby state until an arbitrary injection is dispensed to the transport tray 151a. However, the dispensing of the next injection may be in a standby state until the shortage of any injection is confirmed (eg, until the cassette Ca containing the injection MA is empty).

<搬送トレイへの注射薬の載置処理例>
次に、異種の薬剤を収容するための搬送トレイ151a(小型トレイ151b)への注射薬の載置処理例について説明する。なお、本例の説明においては、プリンタ装置13が輸液ラベル発行装置であるものとして説明する。
<Example of placing injections on the transport tray>
Next, a description will be given of an example of a process of placing an injection drug on the transport tray 151a (small tray 151b) for accommodating different types of drugs. In the description of this example, it is assumed that the printer device 13 is an infusion label issuing device.

(小型トレイの構造例)
まず、注射薬載置例の前提となる構成として、搬送トレイ151aに載置される小型トレイ151bについて説明する。図35は、小型トレイ151bが搬送トレイ151aに載置された状態を示す図である。図36の(a)は、小型トレイ151bの一例を示す斜視図、(b)は、小型トレイ151bの一例を示す平面図、(c)は、小型トレイ151bの一例を示すA-A’断面図である。
(Example of structure of small tray)
First, the small tray 151b placed on the transport tray 151a will be described as a prerequisite configuration for the injection drug placement example. FIG. 35 is a diagram showing a state in which the small tray 151b is placed on the transport tray 151a. FIG. 36(a) is a perspective view showing an example of the small tray 151b, FIG. 36(b) is a plan view showing an example of the small tray 151b, and FIG. 36(c) is an AA' cross section showing an example of the small tray 151b. It is a diagram.

上述のように、注射薬払出システム1では、搬送トレイ151aは、供給リフタ11から、注射薬払出装置100及びプリンタ装置13を介して、排出リフタ14へと搬送される。つまり、本例の搬送トレイ151aは、注射薬払出装置100が払出した複数種類の注射薬と、プリンタ装置13が発行した輸液ラベルと、が収容されるトレイである。 As described above, in the injection drug dispensing system 1, the transport tray 151a is transported from the supply lifter 11 to the discharge lifter 14 via the injection drug dispensing device 100 and the printer device 13. That is, the transport tray 151a of this example is a tray that accommodates a plurality of types of injections dispensed by the injection dispensing device 100 and an infusion label issued by the printer device 13.

図35に示すように、本例の搬送トレイ151aには、小型トレイ151bが載置できるようになっている。この場合、例えば1患者への投与に係る処方データに示される注射薬を、注射薬の使用時刻毎(例:朝、昼、夕及び就寝前)に分割して払出すことが可能となる。なお、図35の例では、小型トレイ151bが、搬送トレイ151aが搬送される方向に対して、4つ設けることが可能となっている。 As shown in FIG. 35, a small tray 151b can be placed on the transport tray 151a of this example. In this case, for example, it is possible to divide and dispense the injection drug indicated in the prescription data regarding administration to one patient by the time of use of the injection drug (eg, morning, noon, evening, and before bedtime). In the example of FIG. 35, four small trays 151b can be provided in the direction in which the transport tray 151a is transported.

また、図36の(a)~(c)に示すように、小型トレイ151bの底部には、突出部151cが設けられている。突出部151cは、当該底部を、複数の分割領域151dに分割するものである。 Further, as shown in FIGS. 36A to 36C, a protrusion 151c is provided at the bottom of the small tray 151b. The protrusion 151c divides the bottom into a plurality of divided regions 151d.

図36の(b)に示すように、分割領域151dの幅151wは、注射薬の向きが突出部151cの延伸方向となるように薬剤移動部153が注射薬を載置する場合、例えば1~2本載置できる程度の長さとなっている。この場合、例えば、注射薬が比較的太いバイアルであれば1本載置でき、注射薬が比較的細いバイアルであれば2本載置できる。 As shown in FIG. 36(b), the width 151w of the divided region 151d is, for example, from 1 to It is long enough to hold two books. In this case, for example, one vial of a relatively thick injection drug can be placed, and two vials of a relatively thin injection drug can be placed.

注射薬払出装置100では、薬剤移動部153の吸着機構153aが吸着した注射薬を搬送トレイ151aに載置する。そのため、搬送トレイ151aにおける注射薬の位置を特定して載置できる。つまり、吸着した注射薬を、小型トレイ151bの各分割領域151dを狙って載置できる。また、注射薬の向きを揃えて載置することも可能であるため、分割領域151dにある程度整然と注射薬を載置できる。 In the injection drug dispensing device 100, the injection drug adsorbed by the adsorption mechanism 153a of the drug transfer unit 153 is placed on the transport tray 151a. Therefore, the position of the injection medicine on the transport tray 151a can be specified and placed. In other words, the adsorbed injection drug can be placed on each divided area 151d of the small tray 151b. Further, since it is possible to place the injection drugs in the same direction, the injection drugs can be placed in the divided area 151d in a somewhat orderly manner.

また、搬送トレイ151aの移動に伴い、注射薬は幅方向に移動する可能性がある。移動量が大きい場合には、注射薬同士が衝突し、その結果割れてしまう可能性がある。分割領域151dを備えることで、注射薬の幅方向の移動量を小さくすることができる。そのため、注射薬同士の衝突の可能性を低減できる。また、衝突したとしても移動量が小さいため、注射薬が割れてしまう可能性を低減できる。 Further, as the transport tray 151a moves, the injection drug may move in the width direction. If the amount of movement is large, the injection drugs may collide with each other and break as a result. By providing the divided region 151d, the amount of movement of the injection drug in the width direction can be reduced. Therefore, the possibility of collision between injection drugs can be reduced. Furthermore, even if there is a collision, the amount of movement is small, so the possibility that the injection drug will break can be reduced.

また、図36の(c)に示すように、小型トレイ151bの底部は、突出部151cから小型トレイ151bの側壁へ向けて(突出部151cから幅方向に)傾斜した傾斜部151sを有する。傾斜部151sは、突出部151c側よりも小型トレイ151bの側壁側の方が低くなっている。これにより、図36の(c)に示すように、突出部151c寄りに注射薬を載置すれば、注射薬の自重により、小型トレイ151bの側壁側から順に注射薬を載置できる。そのため、所定の分割領域151dに注射薬を載置できれば、それ以上の精密な載置位置の特定は不要となる。また、注射薬の載置時に、注射薬同士が衝突して割れてしまうことを防止できる。 Further, as shown in FIG. 36C, the bottom of the small tray 151b has an inclined portion 151s that is inclined from the protrusion 151c toward the side wall of the small tray 151b (from the protrusion 151c in the width direction). The inclined portion 151s is lower on the side wall side of the small tray 151b than on the protruding portion 151c side. Thereby, as shown in FIG. 36(c), if the injection medicine is placed near the protrusion 151c, the injection medicine can be placed in order from the side wall side of the small tray 151b due to its own weight. Therefore, if the injection drug can be placed in the predetermined divided area 151d, there is no need to specify the placement position more precisely. Moreover, when the injection drugs are placed, it is possible to prevent the injection drugs from colliding with each other and breaking.

なお、小型トレイ151bの底部には、注射薬の移動防止機構が設けられていても構わない。移動防止機構としては、例えばスポンジ、又は微細な略V字形状を有する部材が挙げられる。移動防止機構により、例えば搬送トレイ151aの移動に伴い注射薬が衝突して割れてしまうことを更に確実に防止できる。 Note that a mechanism for preventing movement of the injection drug may be provided at the bottom of the small tray 151b. Examples of the movement prevention mechanism include a sponge or a member having a fine approximately V-shape. The movement prevention mechanism can further reliably prevent injections from colliding and breaking as the transport tray 151a moves, for example.

また、図36の(b)に示すように、小型トレイ151bにおいて、複数の分割領域151dのうちの1つの分割領域151dのうちの少なくとも一部には、プリンタ装置13が発行した輸液ラベルが載置される輸液ラベル載置領域151rが設けられている。 Further, as shown in FIG. 36(b), in the small tray 151b, an infusion label issued by the printer device 13 is placed on at least a part of one of the plurality of divided regions 151d. An infusion label placement area 151r is provided.

上述のとおり、注射薬払出装置100及びプリンタ装置13は、各小型トレイ151bにおいて予め設定された輸液ラベル載置領域151rの位置に関する情報を記憶している。そのため、注射薬払出装置100は、輸液ラベル載置領域151r以外の領域に注射薬を載置できると共に、プリンタ装置13は、輸液ラベル載置領域151rに輸液ラベルを載置できる。そのため、注射薬の上に輸液ラベルが載置されることが無い。その結果、輸液ラベルが飛ばされる可能性を低減できる。また、ユーザによる輸液ラベルの確認が容易になる。さらに、突出部151cにより、移動してきた注射薬によって、輸液ラベルが小型トレイ151bの外に押し出されてしまうことを防止できる。 As described above, the injection dispensing device 100 and the printer device 13 store information regarding the position of the preset infusion label placement area 151r in each small tray 151b. Therefore, the injection drug dispensing device 100 can place an injection in an area other than the infusion label placement area 151r, and the printer device 13 can place an infusion label in the infusion label placement area 151r. Therefore, the infusion label is not placed on the injection drug. As a result, the possibility of the infusion label being blown away can be reduced. Furthermore, it becomes easier for the user to check the infusion label. Furthermore, the protruding portion 151c can prevent the infusion label from being pushed out of the small tray 151b by the moving injection drug.

また、突出部151cを設け、かつ、注射薬と輸液ラベルとを互いに異なる領域に載置できることにより、小型トレイ151bの外に輸液ラベルが押し出されてしまうことを防止できるため、輸液ラベルの上に重石として注射薬を載置する必要は無い。そのため、小型トレイ151bに、注射薬を載置した後に輸液ラベルを載置することが可能となる。つまり、小型トレイ151bを用いることで、搬送トレイ151aが搬送される側から順に、注射薬払出装置100及びプリンタ装置13を設けた注射薬払出システム1を構築できる。但し、注射薬払出装置100及びプリンタ装置13の設置順は逆であっても構わない。 Furthermore, by providing the protrusion 151c and placing the injection drug and the infusion label in different areas, it is possible to prevent the infusion label from being pushed out of the small tray 151b. There is no need to place an injection drug as a weight. Therefore, it is possible to place an infusion label on the small tray 151b after placing an injection drug thereon. That is, by using the small tray 151b, it is possible to construct an injection drug dispensing system 1 that includes the injection drug dispensing device 100 and the printer device 13 in order from the side where the transport tray 151a is transported. However, the installation order of the injection drug dispensing device 100 and the printer device 13 may be reversed.

なお、本例では、小型トレイ151bに、複数の分割領域151d及び輸液ラベル載置領域151rを設けた構成について説明したが、これに限らず、搬送トレイ151aに直接これらの構成が設けられていても構わない。つまりこの場合、搬送トレイ151a自体が小型トレイ151bの機能を有し、小型トレイ151bは搬送トレイ151aに載置されない。 In this example, a configuration in which the small tray 151b is provided with a plurality of divided areas 151d and an infusion label placement area 151r has been described, but the present invention is not limited to this, and these configurations may be provided directly on the transport tray 151a. I don't mind. That is, in this case, the transport tray 151a itself has the function of the small tray 151b, and the small tray 151b is not placed on the transport tray 151a.

また、プリンタ装置13は、輸液ラベル載置領域151rの位置に関する情報に基づき、発行した輸液ラベルを輸液ラベル載置領域151rに搬送して載置する輸液ラベル搬送機構を有している。輸液ラベル搬送機構は、例えば、発行された輸液ラベルを把持又はリリースする把持機構と、輸液ラベルを発行する発行機構と搬送トレイ151aとの間で把持機構を移動させる移動機構とを備える。 Further, the printer device 13 includes an infusion label conveyance mechanism that conveys and places the issued infusion label on the infusion label placement area 151r based on information regarding the position of the infusion label placement area 151r. The infusion label transport mechanism includes, for example, a gripping mechanism that grips or releases an issued infusion label, and a movement mechanism that moves the gripping mechanism between the issuing mechanism that issues the infusion label and the transport tray 151a.

(注射薬の載置処理例)
次に、搬送トレイ151aに対する注射薬の載置処理例について説明する。以下では、小型トレイ151bに注射薬を搬送するものとして説明するが、これに限らず、搬送トレイ151aに直接注射薬を搬送しても構わない。
(Example of placement of injection drugs)
Next, an example of a process for placing an injection on the transport tray 151a will be described. Although the following description will be made assuming that the injection medicine is transported to the small tray 151b, the present invention is not limited to this, and the injection medicine may be transported directly to the transport tray 151a.

上述のように、制御部190は、バーコードリーダー123がバーコードを取得することにより、注射薬の向きを特定できる。同じ原理で、制御部190は、バーコードリーダー124がバーコードを取得することにより、注射薬の向きを特定できる。 As described above, the control unit 190 can identify the orientation of the injection drug by the barcode reader 123 acquiring the barcode. Based on the same principle, the control unit 190 can identify the orientation of the injection drug by having the barcode reader 124 acquire the barcode.

また、薬品マスタには、注射薬に付されたバーコードの位置から、注射薬名(薬剤名)等が記載された注射薬ラベルの略中心位置までの、注射薬の周方向上の第2距離を示す第2距離情報が、各注射薬識別情報に紐付けて登録されていても構わない。薬剤位置制御部197は、注射薬の向きと、バーコードリーダー124がバーコードを読取ったときのバーコードの位置と、第2距離情報が示す第2距離とに基づいて、薬剤回転部127の回転量を決定する。薬剤位置制御部197は、決定された回転量の分、薬剤回転部127を回転させることで、注射薬に貼り付けられた注射薬ラベルを上向き(+Z軸方向)にする。 In addition, the drug master also includes the second location in the circumferential direction of the injectable drug, from the position of the barcode attached to the injectable drug to the approximately center position of the injectable drug label where the injectable drug name (drug name), etc. is written. The second distance information indicating the distance may be registered in association with each injection drug identification information. The medicine position control unit 197 controls the medicine rotation unit 127 based on the orientation of the injection medicine, the position of the barcode when the barcode reader 124 reads the barcode, and the second distance indicated by the second distance information. Determine the amount of rotation. The drug position control unit 197 rotates the drug rotation unit 127 by the determined amount of rotation, so that the injection drug label affixed to the injection drug faces upward (in the +Z-axis direction).

つまり本例では、薬剤位置制御部197は、注射薬に付された注射薬識別情報(処方データに含まれる注射薬識別情報と照合するための情報)の位置に基づき、注射薬に付された注射薬名の位置を特定する位置特定部として機能する。そして、薬剤位置制御部197は、薬剤回転部127を制御することで、注射薬名の位置が上向きとなるように、注射薬を軸方向に回転させる。 In other words, in this example, the drug position control unit 197 controls the position of the injection drug identification information (information for comparing with the injection drug identification information included in the prescription data) attached to the injection drug based on the position of the injection drug identification information attached to the injection drug. It functions as a position specifying unit that specifies the position of the injection drug name. Then, the medicine position control unit 197 controls the medicine rotation unit 127 to rotate the injection medicine in the axial direction so that the position of the injection medicine name faces upward.

搬送制御部193は、注射薬ラベルが上向きとなった注射薬を吸着した後、そのままの状態で、小型トレイ151bの所定位置に載置する。つまり、搬送制御部193は、薬剤移動部153を制御することで、薬剤回転部127が回転した注射薬の向きを変えることなく、小型トレイ151bへと移送し、小型トレイ151bに載置する。 The transport control unit 193 adsorbs the injection drug with the injection drug label facing upward, and then places it in a predetermined position on the small tray 151b in that state. That is, by controlling the drug moving unit 153, the transport control unit 193 transfers the injection drug rotated by the drug rotation unit 127 to the small tray 151b and places it on the small tray 151b without changing the direction of the injection drug.

また、上述のとおり、注射薬の向きも特定しているため、搬送制御部193は、注射薬の向きが所定方向を向くように、小型トレイ151bに注射薬を載置する。この場合、注射薬ラベルに付された文字の向きを一定方向に揃えて、小型トレイ151bに注射薬を載置できる。 Further, as described above, since the direction of the injection drug is also specified, the transport control unit 193 places the injection drug on the small tray 151b so that the injection drug faces the predetermined direction. In this case, the injection drugs can be placed on the small tray 151b with the letters attached to the injection drug labels aligned in a certain direction.

このように小型トレイ151bに注射薬を載置することで、ユーザは、小型トレイ151bの内容物に対する目視鑑査を行うときに、注射薬を持ち上げたり、回転させたりする必要が無い。そのため、目視鑑査を容易に行うことが可能となる。また、注射薬払出システム1が、小型トレイ151bの内容物を撮影する撮影機構(不図示)を備えることで、撮影機構が撮影した画像を用いた目視鑑査を行うことも可能となる。 By placing the injection on the small tray 151b in this way, the user does not need to lift or rotate the injection when visually inspecting the contents of the small tray 151b. Therefore, visual inspection can be easily performed. Furthermore, by providing the injection drug dispensing system 1 with a photographing mechanism (not shown) for photographing the contents of the small tray 151b, it is also possible to perform visual inspection using images photographed by the photographing mechanism.

なお、注射薬ラベルを上向きにして小型トレイ151bに注射薬を載置しているが、これに限らず、例えばバーコードを上向きにして載置しても構わない。ユーザが携帯型バーコードリーダー(不図示)を用いての画像監査を行いやすい向きに、注射薬を載置できればよい。 Although the injection drug is placed on the small tray 151b with the injection drug label facing upward, the present invention is not limited to this, and the injection drug may be placed with the bar code facing upward, for example. It is sufficient if the injection drug can be placed in an orientation that makes it easy for the user to perform image inspection using a portable barcode reader (not shown).

また、バーコードリーダー124側で、注射薬の向きを特定すると共に注射薬を上向きにしているが、これに限らず、バーコードリーダー123側でこれらの処理を行っても構わない。 Further, although the barcode reader 124 side specifies the direction of the injection drug and makes the injection drug face upward, the present invention is not limited to this, and these processes may be performed on the barcode reader 123 side.

また、搬送制御部193は、例えば以下のように、分割領域151dに注射薬を載置しても構わない。例えば、注射薬の載置対象となる分割領域151dの順序、及び、任意の分割領域151d内での注射薬の載置位置の順序が予め決められていても構わない。この場合、薬剤移動部153は、その順序に従って注射薬を載置する。また例えば、搬送制御部193は、特定した注射薬の種類又は形状毎に仕分けて、注射薬の載置位置を特定しても構わない。 Further, the transport control unit 193 may place the injection medicine in the divided area 151d, for example, as described below. For example, the order of divided regions 151d on which injection drugs are to be placed and the order of the placement positions of injection drugs within any divided region 151d may be determined in advance. In this case, the medicine moving unit 153 places the injection medicines in accordance with that order. For example, the transport control unit 193 may sort the identified injections by type or shape and specify the placement position of the injections.

また、バーコードリーダー123又は124でバーコードを読取ることで、注射薬の向きを特定できる。この注射薬の向きを用いて、薬剤移動部153が注射薬を搬送トレイ151aへ搬送するときの吸着位置を決定しても構わない。 Furthermore, by reading the barcode with the barcode reader 123 or 124, the direction of the injection drug can be identified. The direction of the injection may be used to determine the suction position when the medicine transfer unit 153 transports the injection to the transport tray 151a.

例えば上述したように、薬品マスタに、注射薬の底部からの距離としての注射薬の重心位置を示す情報が登録されているとする。また、注射薬の底部が第1搭載部126a又は第2搭載部126bの端部近傍にとなるように、第1搭載部126a又は第2搭載部126bに注射薬が載置されるものとする。この場合、吸着位置決定部194は、注射薬の向きを特定することにより、注射薬の底部が位置する側の、第1搭載部126a又は第2搭載部126bの端部を特定する。吸着位置決定部194は、上記注射薬の底部からの距離に、予め設定された端部と底部との間の距離を加算した距離だけ、当該端部から離れた位置を、注射薬の重心位置として特定する。吸着位置決定部194は、特定した重心位置を吸着位置として決定する。 For example, as described above, assume that information indicating the position of the center of gravity of an injection drug as a distance from the bottom of the injection drug is registered in the medicine master. Further, the injection drug is placed on the first mounting section 126a or the second mounting section 126b such that the bottom of the injection drug is near the end of the first mounting section 126a or the second mounting section 126b. . In this case, the suction position determination unit 194 specifies the end of the first mounting portion 126a or the second mounting portion 126b on the side where the bottom of the injection is located by specifying the direction of the injection. The suction position determining unit 194 determines a position away from the end by a distance obtained by adding a preset distance between the end and the bottom to the distance from the bottom of the injection, as the center of gravity of the injection. Specify as. The suction position determination unit 194 determines the identified center of gravity position as the suction position.

〔返品時の動作についての補足〕
注射薬払出装置100の返品時の動作例については、図15を用いて説明した。しかしこれに限らず、例えば、薬剤搬送部121及び薬剤移動部153は、搬送トレイ151a側からカセットCa側へと注射薬を移送することにより、注射薬をカセットCaへと返品しても構わない。
[Supplementary information regarding the operation when returning goods]
An example of the operation of the injection drug dispensing device 100 at the time of return has been described using FIG. 15. However, the present invention is not limited to this, and for example, the drug transport section 121 and the drug transfer section 153 may return the injection drug to the cassette Ca by transferring the injection drug from the transport tray 151a side to the cassette Ca side. .

ここで、薬剤搬送部121及び薬剤移動部153は、払出時には、カセットCa側から搬送トレイ151a側へと注射薬を移送する。つまり、上記の例では、払出時の注射薬の移送順序とは逆の順序で、カセットCaへ注射薬を返品する。払出時のモードを第1モードと称すれば、返品時のモードを第2モードと称することもできる。 Here, at the time of dispensing, the medicine transport section 121 and the medicine transfer section 153 transport the injection medicine from the cassette Ca side to the transport tray 151a side. That is, in the above example, the injections are returned to the cassette Ca in the reverse order of the transfer order of the injections at the time of dispensing. If the mode at the time of payout is referred to as the first mode, the mode at the time of return can also be referred to as the second mode.

第2モードでは、例えば以下のような処理が行われる。例えば、薬剤移動部153は、ユーザにより搬送トレイ151aに返品された注射薬(返品薬)を搬送トレイ151aから取出し、位置変更部126に載置する。バーコードリーダー123によるバーコードの読取り、及び期限読み取り用カメラ125による有効期限の撮影により、制御部190は、注射薬の種類及び有効期限を認識する。 In the second mode, for example, the following processing is performed. For example, the medicine moving unit 153 takes out an injection drug (returned medicine) returned to the transport tray 151a by the user from the transport tray 151a, and places it on the position changing unit 126. The control unit 190 recognizes the type and expiration date of the injection drug by reading the barcode with the barcode reader 123 and photographing the expiration date with the expiration reading camera 125.

有効期限が切れていると判定された場合には、薬剤移動部153は、非払出薬保管部152に返品薬を載置する。一方、有効期限内であると判定された場合には、カセット移送部140は、認識した返品薬の種類に基づき、当該返品薬と同種の注射薬を収容しているカセットCaを取出し、カセット保持部130に保持する。薬剤搬送部121は、位置変更部126に載置された返品薬を、処理位置132に移動させたカセットCaに収容する。カセット移送部140は、返品薬を収容したカセットCaをカセット棚110に再び保管する。 If it is determined that the expiration date has expired, the medicine transfer unit 153 places the returned medicine in the non-dispense medicine storage unit 152. On the other hand, if it is determined that the expiration date has not expired, the cassette transfer unit 140 takes out the cassette Ca containing the same type of injection medicine as the returned medicine, based on the recognized type of the returned medicine, and holds the cassette. 130. The medicine transport unit 121 stores the returned medicine placed on the position changing unit 126 in the cassette Ca that has been moved to the processing position 132. The cassette transfer unit 140 stores the cassette Ca containing the returned medicine on the cassette shelf 110 again.

このような処理を返品薬の全てについて行う。なお、返品薬と同種の注射薬を収容したカセットCaが存在しない場合には、返品薬を空きのカセットCaに収容しても構わないし、非払出薬保管部152に載置しても構わない。 Such processing is performed for all returned medicines. Note that if there is no cassette Ca containing an injection drug of the same type as the returned drug, the returned drug may be stored in an empty cassette Ca or placed in the non-dispatch drug storage section 152. .

<上記構成の別表現>
上記構成について、以下のように表現できる。
<Another expression of the above configuration>
The above configuration can be expressed as follows.

[A]<薬剤取扱装置の全体構成>
本発明の一態様に係る薬剤取扱装置(注射薬払出装置100)は、
それぞれ同種の薬剤を収容するためのm個のカセットを保管するカセット棚と、
上記m個のカセットのうちのn個(m>n≧2)を一時的に保持可能なカセット保持部と、
薬剤を一時的に保持しつつ、当該薬剤の種類を判別する薬剤判別部と、
異種の薬剤を収容するためのトレイを保持するトレイ保持部と、
上記カセット棚と上記カセット保持部との間で上記カセットを移送するカセット移送部と、
上記カセット保持部に保持されたカセットと上記薬剤判別部との間で薬剤を移送する第1薬剤移送部と、
上記薬剤判別部と上記トレイ保持部に保持されたトレイとの間で薬剤を移送する第2薬剤移送部と、を備える。
[A] <Overall configuration of drug handling device>
A drug handling device (injection drug dispensing device 100) according to one aspect of the present invention includes:
a cassette shelf for storing m cassettes each containing the same type of drug;
a cassette holder capable of temporarily holding n cassettes (m>n≧2) of the m cassettes;
a drug discrimination unit that temporarily holds the drug and discriminates the type of the drug;
a tray holding unit that holds a tray for accommodating different types of drugs;
a cassette transfer unit that transfers the cassette between the cassette shelf and the cassette holding unit;
a first drug transfer section that transfers a drug between the cassette held in the cassette holding section and the drug discrimination section;
A second drug transfer section that transfers the drug between the drug discrimination section and the tray held by the tray holding section is provided.

上記の構成によれば、多数(m個)のカセットのうちの一部(n個)のカセットをカセット保持部に一時的に保持させ、そのカセットに収容された薬剤を、その種類の判別対象及びトレイへの移送対象とする。そのため、多数のカセットが保管された薬剤取扱装置において、薬剤の種類の判別及びトレイへの搬送処理を効率的に行うことができる。 According to the above configuration, some (n) cassettes out of a large number (m) of cassettes are temporarily held in the cassette holding section, and the drug stored in the cassette is determined as a target for determining the type of the drug. and transfer to the tray. Therefore, in a medicine handling device in which a large number of cassettes are stored, it is possible to efficiently determine the type of medicine and carry it to the tray.

なお、上記の構成における薬剤判別部としては、バーコードリーダー123、124、期限読み取り用カメラ125、位置変更部126、第1搭載部126a、第2搭載部126b及び薬剤回転部127を含む機構が挙げられる。また、第1薬剤移送部は薬剤搬送部121に相当し、第2薬剤移送部は薬剤移動部153に相当する。トレイは、搬送トレイ151a又は小型トレイ151bに相当する。 In addition, as the drug discrimination section in the above configuration, a mechanism including barcode readers 123, 124, expiration date reading camera 125, position change section 126, first mounting section 126a, second mounting section 126b, and drug rotation section 127 is used. Can be mentioned. Further, the first drug transfer section corresponds to the drug transfer section 121, and the second drug transfer section corresponds to the drug transfer section 153. The tray corresponds to the transport tray 151a or the small tray 151b.

また、上記の構成は、主として、上記≪その他の構成≫欄よりも前で説明した事項に基づくものである。 Further, the above configuration is mainly based on the matters explained above in the <<Other Configuration>> column.

さらに、本発明の一態様に係る薬剤取扱装置では、
上記第1薬剤移送部及び上記第2薬剤移送部は、上記カセット側から上記トレイ側へと薬剤を移送する第1モードで動作しても構わない。
Furthermore, in the drug handling device according to one aspect of the present invention,
The first drug transfer section and the second drug transfer section may operate in a first mode in which the drug is transferred from the cassette side to the tray side.

上記の構成によれば、第1モードの場合、カセットの薬剤をトレイに収容できる。なお、上記の構成は、主として、上記≪その他の構成≫欄よりも前で説明した事項に基づくものである。 According to the above configuration, in the first mode, the medicine in the cassette can be stored in the tray. Note that the above configuration is mainly based on the matters described above in the <<Other Configuration>> column.

さらに、本発明の一態様に係る薬剤取扱装置では、
上記第1薬剤移送部及び上記第2薬剤移送部は、上記トレイ側から上記カセット側へと薬剤を移送する第2モードで動作しても構わない。
Furthermore, in the drug handling device according to one aspect of the present invention,
The first drug transfer section and the second drug transfer section may operate in a second mode in which the drug is transferred from the tray side to the cassette side.

上記の構成によれば、第2モードの場合、トレイに収容された薬剤をカセットへ戻すことが可能となる。 According to the above configuration, in the second mode, the medicine contained in the tray can be returned to the cassette.

[B]<払出不可の薬剤があった場合の処理>
本発明の一態様に係る薬剤払出装置(注射薬払出装置100)は、
上記薬剤を払出不可と判定した場合、払出可能と判定されるまで、当該薬剤と同種の薬剤を、払出可否の判定対象とする払出可否判定部(第1判別処理部195、第2判別処理部196)と、
上記薬剤が払出不可と判定された場合、当該薬剤の次に払出される薬剤の払出を待機する払出制御部(搬送制御部193)と、を備える。
[B] <Processing when there is a drug that cannot be dispensed>
A drug dispensing device (injection drug dispensing device 100) according to one aspect of the present invention includes:
When it is determined that the above medicine cannot be dispensed, the dispensing possibility determination unit (first determination processing unit 195, second determination processing unit 196) and
A dispensing control unit (transport control unit 193) that waits for dispensing of the next dispensing medicine when it is determined that the above-mentioned medicine cannot be dispensed is provided.

薬剤払出装置は、例えば1患者への投与に係る処方データに基づき、薬剤を順次払出していく。そのため、払出不可の薬剤と判定された場合、その時点で薬剤の払出しが停止してしまう。薬剤払出装置が他の装置と連動している場合には、システム全体の処理が停止してしまうため、薬剤の払出停止の影響は大きくなる。 The drug dispensing device sequentially dispenses drugs based on, for example, prescription data related to administration to one patient. Therefore, if it is determined that the drug cannot be dispensed, dispensing of the drug will stop at that point. If the drug dispensing device is linked to other devices, the processing of the entire system will stop, so the impact of stopping the drug dispensing will be large.

上記の構成によれば、薬剤を払出不可と判定した場合、当該薬剤と同種の薬剤が払出可能と判定されるまで、次に払出される薬剤の払出しを待機させる。そのため、払出不可の薬剤があった場合でも、薬剤の払出しを継続できる。 According to the above configuration, when it is determined that a medicine cannot be dispensed, dispensing of the next medicine is made to wait until it is determined that a medicine of the same type as the medicine concerned can be dispensed. Therefore, even if there is a drug that cannot be dispensed, dispensing of the drug can be continued.

さらに、本発明の一態様に係る薬剤払出装置では、
上記払出可否判定部が、(1)上記薬剤を払出不可と判定し、かつ、(2)当該薬剤と、当該薬剤の次に払出される薬剤である次薬剤とが、互いに異なる患者への投与に係る処方データに示される薬剤であると判定した場合に、上記払出制御部は、当該次薬剤を待機させても構わない。
Furthermore, in the drug dispensing device according to one aspect of the present invention,
The dispensing permission determination unit (1) determines that the drug cannot be dispensed, and (2) administers the drug to a patient where the drug and the next drug, which is the drug to be dispensed next, are different from each other. If it is determined that the next drug is the drug indicated in the prescription data, the dispensing control section may make the next drug stand by.

同一患者への投与に係る処方データに基づき払出される薬剤は、一般に同じトレイに収容される。そのため、互いに異なる患者への投与に係る処方データに示される薬剤同士の順序を入れ替えることは、トレイの順序を入れ替えることになるため困難である。一方、同一患者への投与に係る処方データに示される薬剤については、トレイの順序を入れ替える必要が無いため、払出される順序は任意であっても構わない。 Medications dispensed based on prescription data for administration to the same patient are generally stored in the same tray. Therefore, it is difficult to change the order of drugs shown in prescription data regarding administration to different patients because this involves changing the order of the trays. On the other hand, since there is no need to change the order of trays for drugs indicated in prescription data related to administration to the same patient, the order in which they are dispensed may be arbitrary.

上記の構成によれば、薬剤を払出不可と判定した場合であっても、当該薬剤と次薬剤とが、同一患者への投与に係る処方データに示される薬剤である場合には、次薬剤を待機させずに払出すことができる。そのため、薬剤を払出不可と判定した場合の、払出処理の迅速化を図ることができる。 According to the above configuration, even if it is determined that a drug cannot be dispensed, if the drug and the next drug are drugs indicated in the prescription data related to administration to the same patient, the next drug will be dispensed. You can pay out without having to wait. Therefore, it is possible to speed up the dispensing process when it is determined that the medicine cannot be dispensed.

[C]<薬剤名の位置を上向きにしてトレイへ載置する場合の処理>
本発明の一態様に係る薬剤取扱装置(注射薬払出装置100)は、
薬剤に付された識別情報の位置に基づき、薬剤に付された薬剤名の位置を特定する位置特定部(薬剤位置制御部197)と、
上記位置特定部が特定した薬剤名の位置が上向きとなるように、上記薬剤を軸方向に回転させる薬剤回転部と、
上記薬剤回転部が回転した上記薬剤の向きを変えることなく、当該薬剤を、異種の薬剤を収容するためのトレイへと移送し、当該トレイに載置する薬剤移送部(薬剤移動部153)と、を備える。
[C] <Processing when placing the drug on the tray with the drug name facing upward>
A drug handling device (injection drug dispensing device 100) according to one aspect of the present invention includes:
a position specifying unit (drug position control unit 197) that specifies the position of the drug name attached to the drug based on the position of the identification information attached to the drug;
a drug rotating unit that rotates the drug in the axial direction so that the position of the drug name specified by the position specifying unit is directed upward;
A drug transfer unit (drug transfer unit 153) that transfers the drug rotated by the drug rotation unit to a tray for accommodating different types of drugs and places the drug on the tray without changing the direction of the rotated drug; , is provided.

例えば1患者への投与に係る処方データに基づき、トレイに薬剤が払出される場合、トレイ内の薬剤について、医師又は薬剤師等の医療従事者(つまりユーザ)が目視鑑査を行う。薬剤名の位置を考慮せずに、トレイに薬剤をランダムに載置した場合、ユーザが薬剤を取り上げて薬剤名を確認する必要がある。 For example, when a medicine is dispensed into a tray based on prescription data related to administration to one patient, a medical professional (i.e., a user) such as a doctor or a pharmacist visually inspects the medicine in the tray. If drugs are placed randomly on the tray without considering the position of the drug name, the user must pick up the drug and check the drug name.

上記の構成によれば、薬剤に付された薬剤名の位置が上向きとなるように、トレイ内に払出すことができる。また、このように薬剤がトレイに載置されるため、トレイ内の薬剤を撮影することで、撮影した画像を目視鑑査用の画像として利用でき、さらに監査履歴を残すことができる。つまり、上記の構成によれば、目視鑑査時のユーザの手間を低減できる。 According to the above configuration, it is possible to dispense the medicine into the tray so that the position of the medicine name attached to the medicine faces upward. Further, since the medicine is placed on the tray in this way, by photographing the medicine in the tray, the photographed image can be used as an image for visual inspection, and furthermore, an audit history can be kept. That is, according to the above configuration, it is possible to reduce the user's effort during visual inspection.

なお、上記識別情報は、注射薬の種類を示す情報(第1識別情報)である。上記識別情報としては、例えば、注射薬識別情報を示すバーコードが挙げられる。 Note that the above-mentioned identification information is information (first identification information) indicating the type of injection drug. Examples of the above-mentioned identification information include a barcode indicating injection drug identification information.

[D]<カセット位置の確認>
本発明の一態様に係る薬剤カセット取扱装置(注射薬払出装置100、薬剤カセット取扱装置200)は、
複数のカセットのそれぞれが保管される保管位置を示す保管位置情報と、カセットを識別するためのカセット固有情報とに基づき、当該複数のカセットのそれぞれが所定の保管位置に保管されているか否かを判定する保管位置判定部と、
上記保管位置判定部が所定の保管位置に保管されていないと判定したカセットについては、当該カセットが保管されている保管位置から、当該カセットが本来位置すべき保管位置へと移送するカセット移送部と、を備える。
[D] <Check the cassette position>
The drug cassette handling device (injection drug dispensing device 100, drug cassette handling device 200) according to one aspect of the present invention includes:
Based on storage location information indicating the storage location where each of the plurality of cassettes is stored and cassette-specific information for identifying the cassette, it is determined whether each of the plurality of cassettes is stored at a predetermined storage location. a storage position determination unit that determines;
For cassettes that the storage position determination unit determines are not stored in a predetermined storage position, a cassette transfer unit that transports the cassette from the storage position where the cassette is stored to the storage position where the cassette should originally be located. , is provided.

さらに、本発明の一態様に係る薬剤カセット取扱装置は、
複数のカセットのそれぞれが保管される保管位置を示す保管位置情報と、カセットを識別するためのカセット固有情報とに基づき、当該複数のカセットのそれぞれが所定の保管位置に保管されているか否かを判定する保管位置判定部と、
上記保管位置判定部が所定の保管位置に保管されていないと判定したカセットについては、当該カセットが本来位置すべき保管位置に保管するよう報知する報知部(報知制御部199、タッチパネル210)と、を備える。
Furthermore, the drug cassette handling device according to one aspect of the present invention includes:
Based on storage location information indicating the storage location where each of the plurality of cassettes is stored and cassette-specific information for identifying the cassette, it is determined whether each of the plurality of cassettes is stored at a predetermined storage location. a storage position determination unit that determines;
A notification unit (notification control unit 199, touch panel 210) that notifies the cassette to be stored in the storage position where the cassette should originally be located, for the cassette that the storage position determination unit determines is not stored in the predetermined storage position; Equipped with

例えば、ユーザによって各カセットの保管位置が予め定められている場合、カセットが本来位置すべき保管位置に保管されていないと、ユーザが所望するカセットを取出すときに当該カセットを探す手間が増える。そのため、カセットへの薬剤の充填作業等の作業効率が低下する可能性がある。 For example, when the storage position of each cassette is predetermined by the user, if the cassette is not stored at the storage position where it should be located, the user will have to spend more time searching for the desired cassette when taking out the cassette. Therefore, the efficiency of work such as filling the cassette with medicine may be reduced.

上記の構成によれば、本来位置すべき保管位置にカセットが存在しない場合であっても、当該カセットを当該保管位置に保管できる。そのため、作業効率の低下を抑制できる。 According to the above configuration, even if the cassette does not exist at the storage position where it should originally be located, the cassette can be stored at the storage position. Therefore, reduction in work efficiency can be suppressed.

[E]<トレイの構造>
本発明の一態様に係るトレイは、
薬剤を払出す薬剤払出装置が払出した複数種類の薬剤と、輸液容器に貼付けられる輸液ラベルを発行する輸液ラベル発行装置(プリンタ装置13)が発行した輸液ラベルと、が収容されるトレイであって、
上記トレイの底部には、当該底部を、複数の分割領域に分割する突出部が設けられており、
上記複数の分割領域のうちの1つの分割領域のうちの少なくとも一部は、上記輸液ラベル発行装置が発行した輸液ラベルが載置される輸液ラベル載置領域である。
[E] <Tray structure>
A tray according to one aspect of the present invention includes:
A tray that stores a plurality of types of drugs dispensed by a drug dispensing device that dispenses drugs and an infusion label issued by an infusion label issuing device (printer device 13) that issues an infusion label to be attached to an infusion container. ,
The bottom of the tray is provided with a protrusion that divides the bottom into a plurality of divided areas,
At least a portion of one of the plurality of divided areas is an infusion label placement area where an infusion label issued by the infusion label issuing device is placed.

トレイに輸液容器が載置される場合、トレイには、ユーザが輸液容器に貼付ける輸液ラベルも載置される。輸液ラベルは薄いため、トレイに載置された場合、例えばトレイの移動に伴って、トレイから飛ばされ易い。特に、トレイに、薬剤を載置した後に輸液ラベルを載置した場合には、薬剤の上に輸液ラベルが載置されることになるため、トレイから輸液ラベルが飛ばされ易い。 When an infusion container is placed on the tray, an infusion label that a user attaches to the infusion container is also placed on the tray. Since the infusion label is thin, when placed on a tray, it is likely to be blown off the tray, for example, when the tray is moved. In particular, when an infusion label is placed on a tray after a medicine is placed on the tray, the infusion label is placed on top of the medicine, so the infusion label is likely to be blown off the tray.

任意のトレイから別のトレイへ輸液ラベルが入り込んでしまうと、輸液容器の内容物と輸液ラベルの記載内容とが一致せず、重大な事故を引き起こす可能性がある。 If an infusion label slips from one tray into another, the contents of the infusion container will not match what is written on the infusion label, potentially causing a serious accident.

そのため、一般には、輸液ラベルをトレイに載置した後に、輸液ラベルの上に薬剤(具体的には薬剤が収容される容器。バイアル等。)を載置することで、輸液ラベルが飛ばされることを防止する。 Therefore, in general, after placing the infusion label on the tray, placing a drug (specifically, a container containing the drug, such as a vial) on top of the infusion label will prevent the infusion label from flying off. prevent.

上記の構成によれば、輸液ラベル載置領域に輸液ラベルを載置し、それ以外の領域に薬剤を載置できる。そのため、薬剤の上に輸液ラベルが載置されることが無い。その結果、輸液ラベルが飛ばされる可能性を低減できる。また、薬剤が輸液ラベルの上に載置されることを防止できる。そのため、ユーザによる輸液ラベルの確認が容易になると共に、薬剤が輸液ラベルの上に移動することに起因して、輸液ラベルがトレイの外に押し出されてしまうことを防止できる。 According to the above configuration, the infusion label can be placed in the infusion label placement area, and the medicine can be placed in the other area. Therefore, the infusion label is not placed on top of the medicine. As a result, the possibility of the infusion label being blown away can be reduced. Further, it is possible to prevent the medicine from being placed on the infusion label. Therefore, the user can easily check the infusion label, and the infusion label can be prevented from being pushed out of the tray due to the medicine moving onto the infusion label.

また、輸液ラベル載置領域に輸液ラベルが載置されるので、輸液ラベルの上に重石として薬剤を載置する必要は必ずしも無い。そのため、トレイに薬剤を載置した後に、輸液ラベルを載置することが可能となる。つまり、上記の構成を有するトレイを用いることで、トレイが搬送される側から順に、薬剤払出装置及び輸液ラベル発行装置を設けた薬剤払出システムを構築できる。 Furthermore, since the infusion label is placed in the infusion label placement area, it is not necessarily necessary to place the drug as a weight on the infusion label. Therefore, the infusion label can be placed on the tray after the medicine is placed on the tray. That is, by using the tray having the above configuration, it is possible to construct a medicine dispensing system that includes a medicine dispensing device and an infusion label issuing device in order from the side where the tray is transported.

なお、上記トレイは、小型トレイ(151b)であっても構わない。この場合、複数種類の薬剤が収容される大型トレイ(搬送トレイ151a)に、上記突出部を有する複数の小型トレイが配置される。 Note that the tray may be a small tray (151b). In this case, a plurality of small trays having the above-mentioned protrusions are placed on a large tray (transport tray 151a) that accommodates a plurality of types of medicines.

[F]<返品機能>
本発明の一態様に係る薬剤払出装置(注射薬払出装置100、薬剤カセット取扱装置200)は、
薬剤が収容されるm個のカセットを保管するカセット棚と、
上記m個のカセットのうち、複数種類の薬剤が収容された第1カセットと、種類が判別した薬剤を収容する第2カセットとを一時的に保持可能なカセット保持部と、
上記第1カセットに収容された薬剤を一時的に保持しつつ、当該薬剤の種類を判別する薬剤判別部と、
上記第1カセットに収容された薬剤を上記薬剤判別部に移送すると共に、上記薬剤判別部によってその種類が判別された薬剤を、上記第2カセットへと移送する薬剤移送部と、を備える。
[F] <Return function>
The drug dispensing device (injection drug dispensing device 100, drug cassette handling device 200) according to one aspect of the present invention includes:
a cassette shelf for storing m cassettes containing drugs;
a cassette holding unit capable of temporarily holding a first cassette containing a plurality of types of drugs among the m cassettes and a second cassette containing drugs whose types have been determined;
a drug discrimination unit that temporarily holds the drug contained in the first cassette and discriminates the type of the drug;
A drug transfer section that transfers the drug contained in the first cassette to the drug discrimination section and transfers the drug whose type has been discriminated by the drug discrimination section to the second cassette.

上記の構成によれば、複数種類の薬剤が収容された第1カセットから、種類が判別した薬剤を収容する複数の第2カセットへと薬剤を仕分けることができる。 According to the above configuration, the drugs can be sorted from the first cassette containing a plurality of types of drugs into the plurality of second cassettes containing drugs whose types have been determined.

なお、上記の構成における薬剤判別部としては、バーコードリーダー123、124、期限読み取り用カメラ125、位置変更部126、第1搭載部126a、第2搭載部126b及び薬剤回転部127を含む機構が挙げられる。また、薬剤移送部は、薬剤搬送部121に相当する。また、第1カセットは、返品薬受入カセット161に相当し、第2カセットは、大型返品薬カセット163又は中小型返品薬カセット164に相当する。 In addition, as the drug discrimination section in the above configuration, a mechanism including barcode readers 123, 124, expiration date reading camera 125, position change section 126, first mounting section 126a, second mounting section 126b, and drug rotation section 127 is used. Can be mentioned. Further, the drug transport section corresponds to the drug transport section 121. Further, the first cassette corresponds to the returned medicine receiving cassette 161, and the second cassette corresponds to the large returned medicine cassette 163 or the small and medium sized returned medicine cassette 164.

また、上記の構成は、主として、上記≪その他の構成≫欄よりも前で説明した事項に基づくものである。 Further, the above configuration is mainly based on the matters explained above in the <<Other Configuration>> column.

≪その他の構成2≫
以下に、主として、注射薬払出装置100の更なる構成及び処理、並びに、注射薬払出装置100の周辺装置であるプリンタ装置13の更なる構成及び処理等について説明する。但し、以下に示す説明において、上述した内容と重複する部分、又は具体的に記載した部分もあることに留意されたい。
Other configuration 2≫
Below, the further structure and processing of the injection drug dispensing device 100, and the further structure and processing of the printer device 13, which is a peripheral device of the injection drug dispensing device 100, will be mainly described. However, it should be noted that in the following explanation, there may be parts that overlap with the content described above, or parts that are specifically described.

〔注射薬払出装置における処理の別例〕
まず、注射薬払出装置100における処理の別例について説明する。図50の(a)は、分割部材SPを装着したときのカセットCaの一例を示す図であり、図50の(b)は、カセットCaを2分割して使用するときのデータテーブルの一例を示す図である。
[Another example of processing in the injection drug dispensing device]
First, another example of the process in the injection drug dispensing device 100 will be described. FIG. 50(a) is a diagram showing an example of the cassette Ca when the dividing member SP is attached, and FIG. 50(b) is a diagram showing an example of the data table when the cassette Ca is divided into two parts. FIG.

図26を用いて上述したように、カセットCaに分割部材SPを装着することで、カセットCaを2分割することができる。図50の(a)に示すように、分割部材SPで仕切られることにより、カセットCaは、第1分割領域CaA及び第2分割領域CaBに分割されている。なお、本例では、注射薬払出装置100の前面側(カセット移送部140が配置されている側)の分割領域を第1分割領域CaAと称する。 As described above using FIG. 26, by attaching the dividing member SP to the cassette Ca, the cassette Ca can be divided into two. As shown in FIG. 50(a), the cassette Ca is divided into a first divided area CaA and a second divided area CaB by being partitioned by the dividing member SP. In this example, the divided area on the front side of the injection drug dispensing device 100 (the side where the cassette transfer unit 140 is disposed) is referred to as a first divided area CaA.

ここで、第1分割領域CaA及び第2分割領域CaBの大きさは、収容対象となる注射薬又は溶解液の形状(大きさ)又は収容数に応じて、分割部材SPの装着位置を変更することで変更されても構わない。 Here, the sizes of the first divided area CaA and the second divided area CaB change the mounting position of the divided member SP depending on the shape (size) or the number of injectables or solutions to be accommodated. It doesn't matter if it is changed.

また、各カセットCaには、カセットCaを一意に識別可能なカセット固有情報が付与されている。図50の(b)に示すように、カセット固有情報(カセットバーコード)には、注射薬が収容される領域を特定するためのカセット領域情報と、カセットCaに収容される注射薬の種類を示す情報(注射薬の種類の一意に識別可能な情報(薬品コード))とが紐付けられている。移送制御部191は、このデータテーブルを参照することで、どのカセットCaのどの領域に、どのような注射薬が収容されているかを判別できる。 Furthermore, each cassette Ca is given cassette specific information that allows the cassette Ca to be uniquely identified. As shown in FIG. 50(b), the cassette specific information (cassette barcode) includes cassette area information for specifying the area where the injection drug is stored, and the type of injection drug stored in the cassette Ca. information (uniquely identifiable information (drug code) about the type of injection drug). By referring to this data table, the transfer control unit 191 can determine which injection drug is stored in which region of which cassette Ca.

図50の(b)に示すように、カセット領域情報として、本例では、「0」、「1」及び「2」が設定されている。「0」は、カセットCaの全域が注射薬の収容対象となっていることを示し、「1」は、第1分割領域CaAが注射薬の収容対象となっていることを示し、「2」は、第2分割領域CaBが注射薬の収容対象となっていることを示す。 As shown in FIG. 50(b), in this example, "0", "1", and "2" are set as the cassette area information. "0" indicates that the entire area of the cassette Ca is to accommodate injection drugs, "1" indicates that the first divided area CaA is to accommodate injection drugs, and "2" indicates that the second divided area CaB is a target for storing injection drugs.

なお、カセット領域情報は、この3つの収容パターンを特定できればどのような情報であっても構わない。また、カセットCaの分割数は2つに限れられず、3つ以上であっても構わない。この場合、カセット領域情報は、分割した領域数に応じて収容パターンを特定できる情報であればよい。 Note that the cassette area information may be any information as long as these three accommodation patterns can be specified. Further, the number of divisions of the cassette Ca is not limited to two, and may be three or more. In this case, the cassette area information may be any information that allows the accommodation pattern to be specified according to the number of divided areas.

このように1つのカセットCaを2分割し、かつ上記データテーブルを有している場合、当該カセットCaには、以下のように注射薬等を収容できる。
(A)異なる種類の注射薬を収容するパターン。この場合、同種の注射薬毎に第1分割領域CaA及び第2分割領域CaBに分割して収容する。
(B)同一種類の注射薬を収容するパターン。この場合、有効期限に基づき第1分割領域CaA及び第2分割領域CaBに分割して注射薬を収容する。
(C)溶解液付きの注射薬を収容するパターン。この場合、溶解液及び注射薬をそれぞれ分割して収容する。例えば、注射薬を第1分割領域CaAに収容した場合、溶解液を第2分割領域CaBに収容する。
When one cassette Ca is divided into two in this way and has the above data table, the cassette Ca can contain injections and the like as follows.
(A) Pattern accommodating different types of injectable drugs. In this case, each injection drug of the same type is divided into a first divided area CaA and a second divided area CaB and stored therein.
(B) A pattern that accommodates the same type of injection drug. In this case, the injection medicine is divided into a first divided area CaA and a second divided area CaB based on the expiration date.
(C) Pattern containing an injection drug with a solution. In this case, the solution and the injection drug are stored separately. For example, when an injection drug is stored in the first divided area CaA, a solution is stored in the second divided area CaB.

<(A)異なる種類の注射薬を収容するパターン>
本パターンの場合、上記データテーブルには、データパターンDP2に示すような形態でデータが保存される。つまり、第1分割領域CaAと第2分割領域CaBとには種類の異なる注射薬が収容され(同一の分割領域内には同種の注射薬が収容され)、その収容状態が上記データテーブルに反映される。図50の(b)の例では、「00005」のカセットCaにおいて、第1分割領域CaAに注射薬「CCC01」が収容されており、第2分割領域CaBに注射薬「DDD03」が収容されていることが示されている。
<(A) Pattern for accommodating different types of injection drugs>
In the case of this pattern, data is stored in the data table in the form shown in data pattern DP2. In other words, different types of injection drugs are stored in the first divided area CaA and the second divided area CaB (the same type of injection medicine is stored in the same divided area), and the storage status is reflected in the data table above. be done. In the example of FIG. 50(b), in the cassette Ca of "00005", the first divided area CaA contains the injection drug "CCC01", and the second divided area CaB contains the injection drug "DDD03". It is shown that there is.

注射薬払出装置100が、注射薬払出システム1の全体を統括的に制御する制御装置(不図示)から1患者への投与に係る処方データの払出指示を受信した場合、移送制御部191は、当該処方データ及び上記データテーブルに基づきカセットCaから注射薬を取出す。上記の例において、上記処方データに示される注射薬が注射薬「CCC01」であった場合、移送制御部191は、上記データテーブルを参照することで、注射薬「CCC01」が「00005」のカセットCaの第1分割領域CaAに収容されていることを特定する。この特定により、移送制御部191は、注射薬「CCC01」を「00005」のカセットCaの第1分割領域CaAから取出すことができる。 When the injection drug dispensing device 100 receives an instruction to dispense prescription data related to administration to one patient from a control device (not shown) that centrally controls the entire injection drug dispensing system 1, the transfer control unit 191: An injection drug is taken out from the cassette Ca based on the prescription data and the data table. In the above example, if the injection drug indicated in the prescription data is the injection drug "CCC01", the transfer control unit 191 determines that the injection drug "CCC01" is a cassette of "00005" by referring to the data table. It is specified that it is accommodated in the first divided area CaA of Ca. By this identification, the transfer control unit 191 can take out the injection drug "CCC01" from the first divided area CaA of the cassette Ca of "00005".

また、第1判別処理部195は、位置変更部126において、バーコードリーダー123で読取られた注射薬の種類を示す情報に基づき、注射薬の払出しの可否を判別する。そのため、払出すべき注射薬とは異なる注射薬が取出されたとしても、第1判別処理部195による判別により当該注射薬の払出しを行わないようにすることができる。例えば、実際に第1分割領域CaA及び第2分割領域CaBに収容された注射薬と、上記データテーブルに示される情報との間で齟齬があった場合であっても、誤った注射薬の払出しを防止できる。 In addition, the first determination processing unit 195 determines whether or not the injection medicine can be dispensed based on the information indicating the type of injection medicine read by the barcode reader 123 in the position changing unit 126 . Therefore, even if an injection different from the injection to be dispensed is taken out, it is possible to prevent the injection from being dispensed based on the determination by the first discrimination processing unit 195. For example, even if there is a discrepancy between the injections actually stored in the first divided area CaA and the second divided area CaB and the information shown in the data table, incorrect injections may be dispensed. can be prevented.

なお、カセットCaの領域を3つ以上に分割した場合も、同一の分割領域には同種の注射薬が収容され、かつ、複数の分割領域において互いに異なる種類の注射薬が収容されていればよい。 In addition, even when the area of the cassette Ca is divided into three or more areas, it is sufficient that the same type of injection drug is accommodated in the same divided area, and different types of injection drugs are accommodated in the plurality of divided areas. .

<(B)同一種類の注射薬を収容するパターン>
上述のように、この場合、注射薬は、有効期限に基づき第1分割領域CaA及び第2分割領域CaBに分割して収容される。ロッド番号又は製造番号が注射薬毎に付されているため、これらの番号から有効期限を特定しても構わない。
<(B) Pattern containing the same type of injection drug>
As described above, in this case, the injection drug is divided and stored in the first divided area CaA and the second divided area CaB based on the expiration date. Since a rod number or manufacturing number is attached to each injection drug, the expiration date may be determined from these numbers.

本パターンの場合、上記データテーブルには、データパターンDP1に示すような形態でデータが保存される。つまり、同種の注射薬が、有効期限に基づき、第1分割領域CaA及び第2分割領域CaBに物理的に分割されて収容されているが、上記データテーブル上では分割されていない。図50の(b)の例では、「00003」のカセットCaに注射薬「AAA03」が有効期限に基づき分割して収容されているとしても、上記データテーブルでは、第1分割領域CaA及び第2分割領域CaBの両方に当該注射薬が収容されていることのみ示される。 In the case of this pattern, data is stored in the data table in the form shown in data pattern DP1. That is, although the same type of injection drugs are physically divided and housed in the first divided area CaA and the second divided area CaB based on the expiration date, they are not divided on the data table. In the example of FIG. 50(b), even if the injection drug "AAA03" is divided and stored in the cassette Ca "00003" based on the expiration date, the first divided area CaA and the second divided area CaA are stored in the above data table. It is only shown that the injection drug is contained in both divided areas CaB.

移送制御部191は、上記払出指示に基づき注射薬をカセットCaから取出した場合、当該カセットCaをカセット保持部130へと移送する。その後、カセット保持部130に載置されたカセットCaは、処理位置132において、位置特定用カメラ122で撮像される。吸着位置決定部194は、位置特定用カメラ122で撮像された画像を解析することで、カセットCaが分割されていることを認識する。つまり、吸着位置決定部194は、カセットCaが物理的に分割されており、かつ、上記データテーブル上では当該カセットCaのカセット領域情報が「0」であることを特定した場合に初めて、有効期限で分割してカセットCaに収容された注射薬の取出しであることを認識できる。 When the injection drug is taken out from the cassette Ca based on the above-mentioned dispensing instruction, the transfer control section 191 transfers the cassette Ca to the cassette holding section 130. Thereafter, the cassette Ca placed on the cassette holding section 130 is imaged by the position specifying camera 122 at the processing position 132. The suction position determining unit 194 recognizes that the cassette Ca is divided by analyzing the image captured by the position specifying camera 122. In other words, the suction position determining unit 194 determines the expiration date only when it specifies that the cassette Ca is physically divided and the cassette area information of the cassette Ca is "0" on the data table. It can be recognized that this is the extraction of the injection drug that has been divided and stored in the cassette Ca.

搬送制御部193は、予め決められた順序でカセットCaから注射薬を取出す。初期状態において、搬送制御部193による注射薬の取出領域は、第1分割領域CaAに設定されている。この場合、搬送制御部193は、第1分割領域CaAに収容された注射薬から順に取出していく。その後、第1分割領域CaAが欠品となった場合に、搬送制御部193は、第2分割領域CaBから注射薬を取出す。 The transport control unit 193 takes out the injection medicine from the cassette Ca in a predetermined order. In the initial state, the region from which the injection drug is taken out by the transport control unit 193 is set to the first divided region CaA. In this case, the transport control unit 193 sequentially takes out the injection drugs stored in the first divided area CaA. Thereafter, when the first divided area CaA is out of stock, the transport control unit 193 takes out the injection from the second divided area CaB.

このように、カセットCaを分割して、有効期限に基づき、同種の注射薬を第1分割領域CaA及び第2分割領域CaBに収容し、かつ取出し順序を決めておくことで、搬送制御部193は、注射薬を収容した順に取出すことができる。つまり、注射薬払出装置100は、カセットCaに収容した順に払出す(所謂「先入れ先出し」を行う)ことができる。 In this way, by dividing the cassette Ca, accommodating the same type of injection drugs in the first divided area CaA and the second divided area CaB based on the expiration date, and determining the order of taking out, the transport control unit 193 The injection drugs can be taken out in the order in which they are stored. That is, the injection medicine dispensing device 100 can dispense the injections in the order in which they are stored in the cassette Ca (performing what is called "first in, first out").

また、比較的古い注射薬を第1分割領域CaAへ収容すると共に、比較的新しい注射薬を第2分割領域CaBへ収容することで、搬送制御部193は、古い注射薬から順に取出していくことが可能となる。 Furthermore, by storing relatively old injections in the first divided area CaA and storing relatively new injections in the second divided area CaB, the transport control unit 193 can take out the injections in order starting from the oldest one. becomes possible.

なお、第1分割領域CaAが欠品となったり、第1分割領域CaAに注射薬を充填したりする場合、第2分割領域CaBに収容されていた注射薬を第1分割領域CaAに移した後、第2分割領域CaBに、移した注射薬よりも新しい注射薬を収容(充填)する。またこのとき、制御部190は、上記注射薬の取出領域を初期状態に戻す。これにより、再び第1分割領域CaAからの注射薬の取出し(古い注射薬からの取出し)が可能となる。 In addition, when the first divided area CaA is out of stock or when the first divided area CaA is filled with an injection, the injection stored in the second divided area CaB is moved to the first divided area CaA. After that, the second divided area CaB is filled with an injection that is newer than the transferred injection. Also, at this time, the control unit 190 returns the injection medicine extraction region to its initial state. This makes it possible to take out the injection medicine from the first divided area CaA again (take out the old injection medicine).

例えば、制御部190は、位置特定用カメラ122が撮像した画像に基づき、第1分割領域CaAの状態が空の状態から、注射薬が収容された状態へと変化したことを認識したときに、上記注射薬の取出領域を初期状態に戻す。この他、制御部190は、ユーザ入力により払出処理が中断され、かつカセットCaが取出されたことを検知したときに、初期状態に戻しても構わない。 For example, when the control unit 190 recognizes that the state of the first divided area CaA has changed from an empty state to a state in which an injection drug is accommodated based on the image captured by the position specifying camera 122, The above-mentioned injection drug extraction region is returned to its initial state. In addition, the control unit 190 may return to the initial state when it detects that the payout process is interrupted by a user input and the cassette Ca is removed.

ここで、カセットに注射薬を整列させて収容する注射薬払出装置では、収容時に注射薬を古い順に収容させることができる。しかし、カセットにランダムに(つまり非整列状態で)注射薬を収容する注射薬払出装置の場合、1つのカセットから古い順に注射薬を収容することは困難である。上記のような処理及び注射薬の収容を行うことで、注射薬払出装置100においては、所謂「先入れ先出し」を実現できる。 Here, in an injection medicine dispensing device that arranges and stores injection medicines in a cassette, it is possible to store the injection medicines in chronological order at the time of storage. However, in the case of an injection medicine dispensing device that stores injection medicines in cassettes randomly (that is, in a non-aligned state), it is difficult to store injection medicines from one cassette in chronological order. By performing the above-described processing and storing the injection medicine, the injection medicine dispensing device 100 can realize a so-called "first in, first out" system.

なお、カセットCaの領域を3つ以上に分割した場合も、分割領域毎に有効期限が異なる同種の注射薬が収容されればよい。この場合も、3つ以上の分割領域について取出し順を予め決めておき、先に収容された注射薬から取出されるように、各分割領域に注射薬を収容することで、所謂「先入れ先出し」を実現できる。 Note that even when the area of the cassette Ca is divided into three or more areas, the same type of injection drug with a different expiration date may be accommodated in each divided area. In this case as well, the order of taking out the three or more divided areas is determined in advance, and the injectables are stored in each divided area so that the injectables stored first are taken out, thereby achieving the so-called "first in, first out" system. realizable.

また、注射薬の取出順序は任意に設定できる。例えば、注射薬の取出順序が、初期状態では第2分割領域CaBに設定されており、第2分割領域CaBに欠品が生じた場合に、第1分割領域CaAから注射薬を取出すように設定されていても構わない。 Further, the order of taking out the injection medicines can be set arbitrarily. For example, the order for taking out injections is set to the second divided area CaB in the initial state, and if there is a shortage in the second divided area CaB, the injection medicine is set to be taken out from the first divided area CaA. It doesn't matter if it is done.

<(C)溶解液付きの注射薬を収容するパターン>
注射薬の中には、溶解液で溶解して使用される溶解液付きの注射薬が存在する。この場合、注射薬と溶解液とが互いに異なる容器で保管されるが、注射薬及び溶解液はセットで搬送トレイ151aに払出される必要がある。
<(C) Pattern for accommodating injection drugs with solution>
Among the injection drugs, there are injection drugs with a dissolving solution, which are used after being dissolved in a dissolving solution. In this case, the injection drug and the solution are stored in different containers, but the injection drug and the solution need to be delivered as a set to the transport tray 151a.

本パターンの場合、上記データテーブルには、データパターンDP2に示すような形態でデータが保存される。つまり、第1分割領域CaA及び第2分割領域CaBの何れか一方に注射薬が収容され、他方に溶解液が収容される。そして、その収容状態が上記データテーブルに反映される。例えば、第1分割領域CaAに注射薬、第2分割領域CaBに溶解液が収容されている場合を考える。この場合、図50の(b)の例では、「00005」のカセットCaにおいて、第1分割領域CaAに注射薬「CCC01」が収容されており、第2分割領域CaBに溶解液「DDD03」が収容されていることが示されている。注射薬払出装置100は、上記データテーブルを参照することで、上記(A)の場合と同様に、第1分割領域CaAから注射薬を、第2分割領域CaBから溶解液をそれぞれ取出すことができる。 In the case of this pattern, data is stored in the data table in the form shown in data pattern DP2. That is, the injection drug is accommodated in either the first divided area CaA or the second divided area CaB, and the solution is accommodated in the other. Then, the accommodation state is reflected in the data table. For example, consider a case where an injection drug is stored in the first divided area CaA and a solution is stored in the second divided area CaB. In this case, in the example of FIG. 50(b), in the cassette Ca of "00005", the first divided area CaA contains the injection drug "CCC01", and the second divided area CaB contains the solution "DDD03". It is shown that it is contained. By referring to the data table, the injection drug dispensing device 100 can take out the injection drug from the first divided area CaA and the solution from the second divided area CaB, as in the case of (A) above. .

注射薬及び溶解液は、納品時同一の梱包であることが多く、また、必ずセットで払出されるため、カセットCaを2分割にし、かつ分割領域毎に注射薬及び溶解液を分割して収容しやすい。また、このように分割して収容しておくことで、1度のカセットCaの取出動作で、注射薬及び溶解液をセットで取出すことができる。つまり、同一のカセットCaに注射薬及び溶解液を収容しておくことで、注射薬及び溶解液をそれぞれ別々のカセットCaに収容する場合に比べ、効率良く注射薬及び溶解液を払出すことができる。 Injectables and solutions are often packaged in the same package upon delivery, and are always dispensed as a set. Therefore, the cassette Ca is divided into two parts, and the injectables and solutions are stored separately in each divided area. It's easy to do. Further, by storing the cassette in such a divided manner, the injection drug and the solution can be taken out as a set in one operation of taking out the cassette Ca. In other words, by storing the injection drug and solution in the same cassette Ca, the injection drug and solution can be dispensed more efficiently than when the injection drug and solution are stored in separate cassettes Ca. can.

ここで一般に、薬剤には、薬剤を一意に識別するための薬剤識別情報が付与されている。例えば、注射薬には、注射薬識別情報(例:注射薬コードとしてのGS1コード)が付与されている。一方、溶解液には、薬剤のように、薬剤識別情報(例:GS1コード)が付与されていない。つまり、溶解液が保存された容器には、バーコードリーダー123が読取る可能なバーコードが付されていない。 Generally, drugs are given drug identification information for uniquely identifying the drug. For example, injection drug identification information (eg, GS1 code as an injection drug code) is assigned to an injection drug. On the other hand, unlike drugs, drug identification information (eg, GS1 code) is not attached to the solution. That is, the container in which the solution is stored does not have a barcode that can be read by the barcode reader 123.

そのため、上述の制御装置は、上位システム(不図示)から受信した処方データを解析した結果、当該処方データに溶解液付きの注射薬が含まれている場合には、注射薬及び溶解液のそれぞれに予め定められた薬品コードが登録された、薬剤に関するマスタデータを参照する。そして、処方データにこれらの薬品コードを追加する。また、上記データテーブルに、当該溶解液に対応する薬品コードとカセット固有情報とが紐づけられて記憶されている。これにより、注射薬払出装置100は、制御装置から受信した処方データを解析すると共に、上記データテーブルを参照することで、注射薬及び溶解液が収容されたカセットCaを特定できる。 Therefore, as a result of analyzing the prescription data received from the host system (not shown), if the prescription data includes an injection drug with a solution, the above-mentioned control device controls the injection drug and the solution respectively. Reference is made to master data regarding drugs in which predetermined drug codes are registered. These drug codes are then added to the prescription data. Moreover, the drug code corresponding to the solution and the cassette specific information are stored in association with each other in the data table. Thereby, the injection drug dispensing device 100 can identify the cassette Ca containing the injection drug and the solution by analyzing the prescription data received from the control device and referring to the data table.

なお、注射薬については、処方データにおいて、注射薬識別情報に薬品コードが紐付けられている。また、形状モデルについては、当該薬品コードに紐付けて登録されている。さらに、注射薬については注射薬識別情報をそのまま使用し、溶解液については当該注射薬識別情報に紐付けられた薬品コードが付与されても構わない。つまり、少なくとも溶解液に、溶解液を識別するための溶解液識別情報が付与されていればよい。 Note that for injection drugs, a drug code is linked to the injection drug identification information in the prescription data. Furthermore, the shape model is registered in association with the drug code. Furthermore, for injection drugs, the injection drug identification information may be used as is, and for the solution, a drug code linked to the injection drug identification information may be assigned. That is, it is sufficient that at least the dissolving solution is provided with dissolving solution identification information for identifying the dissolving solution.

ここで、注射薬については注射薬識別情報が付与されているため、バーコードリーダー123で読取ることができる。そのため、第1判別処理部195により、搬送トレイ151aに実際に注射薬を払出す前に、位置変更部126に載置された注射薬が払出されるべき注射薬であるか否かを判別できる。一方、上述の通り、溶解液にはバーコードリーダー123が読取り可能な情報が付与されていない。そのため、第1判別処理部195は、バーコードリーダー123の読取結果に基づき、位置変更部126に載置された溶解液が払出されるべき溶解液であるか否かを判別できない。 Here, since injection drug identification information is attached to the injection drug, it can be read by the barcode reader 123. Therefore, the first determination processing unit 195 can determine whether or not the injection placed on the position changing unit 126 is the injection that should be dispensed before actually dispensing the injection onto the transport tray 151a. . On the other hand, as described above, no information readable by the barcode reader 123 is attached to the solution. Therefore, the first determination processing unit 195 cannot determine whether the solution placed on the position changing unit 126 is the solution to be dispensed based on the reading result of the barcode reader 123.

そこで、第1判別処理部195は、受信した1患者への投与に係る処方データに溶解液付きの注射薬が含まれ、かつ、バーコードリーダー123から所定時間読取結果を受取らなかった場合(すなわち、注射薬識別情報が付されていない物体であると判断した場合)に、位置変更部126に載置された物体を、払出されるべき溶解液であると判別する。これにより、溶解液についても搬送トレイ151aへ払出すことができる。 Therefore, the first discrimination processing unit 195 determines that when the received prescription data regarding administration to one patient includes an injection drug with a solution, and the reading result is not received from the barcode reader 123 for a predetermined period of time (i.e. , the object placed on the position change unit 126 is determined to be a solution to be dispensed. Thereby, the solution can also be delivered to the transport tray 151a.

ここで、吸着位置決定部194は、処理位置132で吸着位置を特定するときに形状モデルを参照することで、吸着対象の注射薬(実際には注射薬が保存されている容器)の形状を特定する。また、薬品コードに形状モデルが紐付けられているため、吸着位置決定部194は、注射薬と同様に溶解液についても、吸着対象の溶解液(実際には溶解液が保存されている容器)の形状を特定する。このように、吸着位置決定部194は、薬品コードに紐付けられた形状モデルに基づき、吸着対象の溶解液を特定している。そのため、この時点で払出対象となる溶解液を正確に特定していると推察できる。 Here, the suction position determination unit 194 refers to the shape model when specifying the suction position at the processing position 132, thereby determining the shape of the injection drug to be adsorbed (actually, the container in which the injection drug is stored). Identify. In addition, since the shape model is linked to the drug code, the adsorption position determination unit 194 can detect the solution to be adsorbed (actually, the container in which the solution is stored) for the solution as well as for injection drugs. Identify the shape of. In this way, the adsorption position determination unit 194 specifies the solution to be adsorbed based on the shape model linked to the drug code. Therefore, it can be inferred that the solution to be dispensed has been accurately identified at this point.

つまり、溶解液について、注射薬払出装置100では、1患者への投与に係る処方データ、上記データテーブル及び形状モデル等に基づいて、払出対象となる溶解液を位置変更部126に載置する。そのため、第1判別処理部195による、バーコードリーダー123の読取結果に基づく判別が行われなくても、上記処方データに基づく溶解液の払出しを行うことができる。 That is, regarding the solution, the injection drug dispensing device 100 places the solution to be dispensed on the position changing unit 126 based on the prescription data related to administration to one patient, the data table, the shape model, etc. Therefore, even if the first discrimination processing unit 195 does not make a discrimination based on the reading result of the barcode reader 123, it is possible to dispense the solution based on the prescription data.

このように本例では、第1判別処理部195は、注射薬については注射薬識別情報に基づき注射薬の払出し可否を判別すると共に、溶解液については注射薬識別情報に準ずる情報が読取れるか否かによって溶解液の払出し可否を判別する。具体的には上述のように、第1判別処理部195は、受信した1患者への投与に係る処方データに溶解液付きの注射薬が含まれる場合であって、注射薬と共に払出対象となっている物体について注射薬識別情報に準ずる情報が読取れなかった場合、当該物体を払出対象の溶解液であると判別する。これにより、溶解液についても容易な手法で払出すことができる。 As described above, in this example, the first discrimination processing unit 195 determines whether or not the injection drug can be dispensed based on the injection drug identification information, and also determines whether information corresponding to the injection drug identification information can be read for the solution. Whether or not the dissolving solution can be dispensed is determined based on whether or not the dissolving solution can be dispensed. Specifically, as described above, the first discrimination processing unit 195 determines whether the received prescription data for administration to one patient includes an injection drug with a solution, and if the injection drug is to be dispensed together with the injection drug. If information similar to injection drug identification information cannot be read from the object, the object is determined to be a solution to be dispensed. Thereby, the solution can also be dispensed with an easy method.

また、吸着位置決定部194は、上述のように形状モデル等に基づき、カセットCaから取出す対象とする注射薬及び溶解液を特定する。そのため、注射薬払出装置100では、払出し対象となる注射薬及び溶解液について、形状モデル等に基づく特定と、第1判別処理部195による判別との2段階で判別しているといえる。また、制御部190は、溶解液付きの注射薬を払出す場合、少なくとも形状に基づいて溶解液の払出し可否を判定する第1判定部と、少なくとも薬種に基づいて注射薬の払出し可否を判定する第2判定部とを備えているともいえる。さらに、溶解液については、形状モデルに基づく特定により、第1判別処理部195による判別を補完しているともいえる。 Further, the suction position determining unit 194 specifies the injection drug and solution to be taken out from the cassette Ca based on the shape model and the like as described above. Therefore, it can be said that the injection drug dispensing device 100 discriminates the injection drug and solution to be dispensed in two stages: identification based on a shape model, etc., and discrimination by the first discrimination processing unit 195. Further, when dispensing an injection with a solution, the control unit 190 includes a first determination unit that determines whether or not the solution can be dispensed based on at least the shape, and a first determination unit that determines whether or not the injection can be dispensed based at least on the type of drug. It can also be said to include a second determination section. Furthermore, regarding the dissolving liquid, it can be said that the determination based on the shape model complements the determination by the first determination processing unit 195.

〔プリンタ装置の概要〕
次に、プリンタ装置13について説明する。プリンタ装置13は、注射薬(薬剤)を搬送する搬送トレイ151a(トレイ)又は小型トレイ151b(トレイ)に収容された注射薬に関する情報を印字する印字装置として機能する。上記では、プリンタ装置13が、注射薬の種類等を示す情報を搬送トレイ151aに印字する機能、及び、輸液容器の内容物を示す内容物情報が印字された輸液ラベル(ラベル)を発行する(払出す)機能の少なくともいずれかを有するものとして説明した。以降では、プリンタ装置13が、この2つの機能以外に、収容物情報を印字した収容物印字シート(処方箋(例:注射箋))を払出す機能、及び、非収容物情報を印字した非収容物印字シート(例:欠品箋)を払出す機能を備える構成について説明する。つまり、以降では、プリンタ装置13が上記4つの機能を有する構成(上記4つの機能のそれぞれを有する4つの装置を1つの筐体内に設けたプリンタ装置13)について説明する。
[Outline of printer device]
Next, the printer device 13 will be explained. The printer device 13 functions as a printing device that prints information regarding the injection drug contained in the transport tray 151a (tray) that transports the injection drug (drug) or the small tray 151b (tray). In the above, the printer device 13 has a function of printing information indicating the type of injection drug, etc. on the transport tray 151a, and issues an infusion label on which content information indicating the contents of the infusion container is printed ( The explanation has been made as having at least one of the following functions. In the following, in addition to these two functions, the printer device 13 has a function of dispensing a stored item printing sheet (prescription (e.g., injection tablet)) on which stored item information is printed, and a function of dispensing a stored item printing sheet (prescription (e.g., injection tablet)) on which stored item information is printed, and a function to dispense a stored item printing sheet on which stored item information is printed. A configuration having a function of dispensing an object-printed sheet (for example, a missing item note) will be described. That is, hereinafter, a configuration in which the printer device 13 has the above four functions (a printer device 13 in which four devices each having the above four functions are provided in one housing) will be described.

上記4つの装置を1つの筐体内に設けることで、注射薬払出システム1の省スペース化を図ることができる。また、後述するように、上記4つの装置に加え、輸液ラベル及び収容物印字シートのそれぞれを搬送する搬送機構を配置することで、プリンタ装置13の処理を効率良く行うことができる。 By providing the above four devices in one housing, space saving of the injection drug dispensing system 1 can be achieved. Furthermore, as will be described later, in addition to the four devices described above, the processing of the printer device 13 can be performed efficiently by arranging a conveyance mechanism that conveys each of the infusion label and the printed matter printed sheet.

図37は、プリンタ装置13の一例を示す斜視図である。また、図38は、プリンタ装置13の一例を示すブロック図である。 FIG. 37 is a perspective view showing an example of the printer device 13. Further, FIG. 38 is a block diagram showing an example of the printer device 13. As shown in FIG.

具体的には、図37及び図38に示すように、プリンタ装置13は、搬送トレイ印字装置300(トレイ書込部)、輸液ラベル払出装置400(ラベル払出部、輸液ラベル払出部)、注射箋払出装置500(第1シート払出部)、及び欠品箋払出装置600(第2シート払出部)を備える。また、プリンタ装置13は、輸液ラベル搬送機構700(ラベル搬送部)、注射箋搬送機構800、及びトレイ搬送機構900を備える。さらに、図38に示すように、プリンタ装置13は、これらの各装置または各機構を制御する制御部1000を備える。 Specifically, as shown in FIGS. 37 and 38, the printer device 13 includes a transport tray printing device 300 (tray writing section), an infusion label dispensing device 400 (label dispensing section, infusion label dispensing section), and an injection label. It includes a dispensing device 500 (first sheet dispensing unit) and an out-of-stock note dispensing device 600 (second sheet dispensing unit). The printer device 13 also includes an infusion label transport mechanism 700 (label transport unit), an injection tablet transport mechanism 800, and a tray transport mechanism 900. Further, as shown in FIG. 38, the printer device 13 includes a control section 1000 that controls each of these devices or mechanisms.

以下ではまず、各装置及び各機構の具体的な構成について説明する前に、プリンタ装置13における動作の流れについて説明する。また、以下の説明においては、収容物印字シートが注射箋であり、非収容物印字シートが欠品箋であるものとして説明する。 Below, first, before explaining the specific configuration of each device and each mechanism, the flow of operations in the printer device 13 will be explained. Furthermore, in the following description, it is assumed that the stored item printed sheet is an injection prescription, and the non-accommodated item printed sheet is an out-of-stock item.

〔プリンタ装置における動作〕
プリンタ装置13における動作の流れについて説明する。図39は、プリンタ装置13における動作の流れについて説明するための図である。具体的には、図39は、搬送トレイ151aが搬送される順序を説明するための、プリンタ装置13の底部の一例を示す平面図である。
[Operation in printer device]
The flow of operations in the printer device 13 will be explained. FIG. 39 is a diagram for explaining the flow of operations in the printer device 13. Specifically, FIG. 39 is a plan view showing an example of the bottom of the printer device 13 for explaining the order in which the transport tray 151a is transported.

プリンタ装置13では、前段に設けられた注射薬払出装置100から搬送された搬送トレイ151aは、トレイ搬送機構900によって、後段に設けられた排出リフタ14まで搬送される。トレイ搬送機構900は、まず、注射薬払出装置100から第1位置P101まで搬送された搬送トレイ151aを第2位置P102へと移動させる。つまり、第1位置P101は、注射薬払出装置100から搬送トレイ151aを受入れるトレイ受入位置である。 In the printer device 13, the conveyance tray 151a conveyed from the injection dispensing device 100 provided at the front stage is conveyed by the tray conveyance mechanism 900 to the discharge lifter 14 provided at the rear stage. The tray transport mechanism 900 first moves the transport tray 151a, which has been transported from the injection dispensing device 100 to the first position P101, to the second position P102. That is, the first position P101 is a tray receiving position that receives the transport tray 151a from the injection drug dispensing device 100.

搬送トレイ印字装置300は、処方データに基づき、第2位置P102に配置された搬送トレイ151aに対して搬送先情報を書込む。搬送先情報としては、例えば、患者名及び病棟名が挙げられる。搬送先情報には、注射薬の種類を示す情報が含まれても構わない。また、輸液ラベル搬送機構700は、処方データに基づき輸液ラベル払出装置400により払出された輸液ラベルを、第2位置P102に配置された搬送トレイ151aまで搬送し載置する。つまり、第2位置P102は、搬送トレイ151aに搬送先情報が書込まれ、かつ搬送トレイ151aに輸液ラベルが載置される位置である。 The transport tray printing device 300 writes transport destination information on the transport tray 151a located at the second position P102 based on the prescription data. Examples of the transport destination information include a patient name and a ward name. The destination information may include information indicating the type of injection drug. Further, the infusion label transport mechanism 700 transports and places the infusion label dispensed by the infusion label dispensing device 400 based on the prescription data to the transport tray 151a disposed at the second position P102. That is, the second position P102 is a position where the transport destination information is written on the transport tray 151a and where the infusion label is placed on the transport tray 151a.

第2位置P102の上方には、2つの輸液ラベル払出装置400a及び400bが配置されており、その間に貫通孔400hが形成されている(図42参照)。具体的には、貫通孔400hは、第2位置P102の少なくとも一部と対向する位置に設けられている。2つの輸液ラベル払出装置400a及び400bから払出された輸液ラベルは、輸液ラベル搬送機構700によって、貫通孔400hを介して搬送トレイ151aに載置される。 Two infusion label dispensing devices 400a and 400b are arranged above the second position P102, and a through hole 400h is formed between them (see FIG. 42). Specifically, the through hole 400h is provided at a position facing at least a portion of the second position P102. The infusion labels discharged from the two infusion label dispensing devices 400a and 400b are placed on the conveyance tray 151a via the through hole 400h by the infusion label conveyance mechanism 700.

本実施形態では、第2位置P102の1箇所で搬送先情報の印字及び輸送ラベルの載置を行っているため、これらの処理を効率良く行うことができる。そのため、プリンタ装置13における処理速度を向上させることができる。 In this embodiment, since the destination information is printed and the transport label is placed at one location, the second position P102, these processes can be performed efficiently. Therefore, the processing speed of the printer device 13 can be improved.

なお、本実施形態では、第1位置P101から第2位置P102へ搬送トレイ151aを移動させているが、注射薬払出システム1の設計上可能であれば、第2位置P102が第1位置P101(トレイ受入位置)として機能しても構わない。例えば、プリンタ装置13は、プリンタ装置13の前面から、注射薬払出装置100から搬送された搬送トレイ151aを受入れ、当該搬送トレイ151aを第2位置P102まで移動させても構わない。この構成の場合、注射薬を払出した後に輸液ラベル及び注射箋等の印刷物を払出す注射薬払出システム1において、注射薬払出装置100のメンテナンスを容易に行うことができる共に、排出リフタ14の小型化を図ることが可能となる。また、この構成の場合、当該注射薬払出システム1において、搬送トレイ印字装置300による搬送トレイ151aの側面への印字を効率良く行うことが可能となる。 Note that in this embodiment, the transport tray 151a is moved from the first position P101 to the second position P102, but if it is possible due to the design of the injection dispensing system 1, the second position P102 is moved from the first position P101 ( It may also function as a tray receiving position). For example, the printer device 13 may receive the transport tray 151a transported from the injection drug dispensing device 100 from the front of the printer device 13, and move the transport tray 151a to the second position P102. In the case of this configuration, in the injection drug dispensing system 1 that dispenses printed materials such as infusion labels and injection slips after dispensing injection drugs, maintenance of the injection drug dispensing device 100 can be easily performed, and the discharge lifter 14 can be made small. This makes it possible to achieve Moreover, in the case of this configuration, in the injection drug dispensing system 1, it becomes possible to efficiently print on the side surface of the conveyance tray 151a by the conveyance tray printing device 300.

第2位置P102での搬送先情報の印字、及び、輸送ラベルの載置が完了すると、トレイ搬送機構900は、第3位置P103まで搬送トレイ151aを移動させる。注射箋搬送機構800は、処方データに基づき注射箋払出装置500により払出された注射箋を、第3位置P103に配置された搬送トレイ151aまで搬送し載置する。 When the printing of the destination information and the placement of the transport label at the second position P102 are completed, the tray transport mechanism 900 moves the transport tray 151a to the third position P103. The injection tablet transport mechanism 800 transports and places the injection tablet dispensed by the injection tablet dispensing device 500 based on the prescription data to the transport tray 151a disposed at the third position P103.

また、第3位置P103の上方には、欠品箋払出装置600が配置されている。欠品箋払出装置600は、搬送トレイ151aに収容されるべき注射薬が収容されていない場合に、その注射薬を示す欠品情報を印字した欠品箋を、当該搬送トレイ151aに払出す。 Further, above the third position P103, a missing item note dispensing device 600 is arranged. When an injection to be stored in the transport tray 151a is not stored, the out-of-stock note dispensing device 600 delivers an out-of-stock note on which out-of-stock information indicating the injection is printed onto the transport tray 151a.

第3位置P103において注射箋の載置、場合によっては欠品箋の載置が完了すると、トレイ搬送機構900は、搬送トレイ151aを排出リフタ14へと搬送する。 When the placement of the injection tablets and, in some cases, the placement of the missing medicine tablets, is completed at the third position P103, the tray conveyance mechanism 900 conveys the conveyance tray 151a to the discharge lifter 14.

このように、本例のプリンタ装置13は、搬送トレイ151aに載置される(又は載置された)輸液容器に対応する輸液ラベル、及び、搬送トレイ151aに載置された注射薬に対応する注射箋を、当該搬送トレイ151aに払出す。また、プリンタ装置13は、搬送トレイ151aに載置された注射薬等に対応する患者の患者名等を、当該搬送トレイ151aに書込む。また、プリンタ装置13は、場合によっては欠品箋を当該搬送トレイ151aに払出す。 In this way, the printer device 13 of this example prints an infusion label corresponding to an infusion container placed (or placed) on the transport tray 151a, and an infusion label corresponding to an injection drug placed on the transport tray 151a. The injection tablet is dispensed onto the transport tray 151a. Further, the printer device 13 writes the patient name and the like of the patient corresponding to the injection medicine etc. placed on the transport tray 151a on the transport tray 151a. Further, the printer device 13 delivers out-of-stock notes to the transport tray 151a as the case may be.

上記の例では、注射箋が搬送トレイ151aの最上面となるように載置される。注射箋の載置は、搬送先情報の印字後、及び輸液ラベルの載置後に行われる。注射箋の最上面への配置により、注射薬等の目視鑑査を行うユーザの利便性が向上する。但し、この点を考慮しなければ、印字及び載置順序は、上記の例に限定されない。つまり、搬送先情報の印字、並びに、輸液ラベル及び注射箋(場合によっては欠品箋)の払出しの順序(印字又は払出しの位置)は、上記の順序に限定されない。 In the above example, the injection tablet is placed on the top surface of the transport tray 151a. The injection tablet is placed after printing the destination information and after placing the infusion label. By arranging the injection tablet on the top surface, convenience for the user who visually inspects the injection drug etc. is improved. However, unless this point is taken into account, the printing and placement order is not limited to the above example. In other words, the order (printing or dispensing position) of printing the destination information and dispensing the infusion label and the injection label (in some cases, the missing one) is not limited to the above order.

ここで、制御部1000は、例えば、注射薬払出装置100により注射薬の払出しが完了した、1患者への投与に係る処方データを、注射薬払出システム1の全体を統括的に制御する制御装置(不図示)から受信する。また、当該1患者への投与に係る処方データを受信するときに、当該注射薬が払出された搬送トレイ151aを注射薬払出装置100から受取る。 Here, the control unit 1000 is, for example, a control device that centrally controls the entire injection drug dispensing system 1, for prescription data related to administration to one patient, for which dispensing of the injection drug has been completed by the injection drug dispensing device 100. (not shown). Further, when receiving prescription data related to administration to the one patient, the transport tray 151a on which the injection drug has been dispensed is received from the injection drug dispensing device 100.

例えば、注射薬払出装置100は、1患者への投与に係る処方データに示された注射薬の払出しが完了すると、当該払出しの完了を示す払出完了情報を制御装置に送信する。また、当該1患者への投与に係る処方データに示された注射薬の欠品が生じた場合には、例えば、注射薬払出装置100は、欠品の注射薬を示す欠品情報を払出完了情報に紐付けて、制御装置に送信する。制御装置は、この払出完了情報を確認することで、払出しが完了した1患者への投与に係る処方データ(場合によっては欠品情報)をプリンタ装置13に送信する。また、制御装置は、この確認により、当該1患者への投与に係る処方データに示された注射薬が載置された搬送トレイ151aをプリンタ装置13に搬送するように、注射薬払出装置100に指示する。 For example, when the injection drug dispensing device 100 completes dispensing the injection drug indicated in the prescription data regarding administration to one patient, it transmits dispensing completion information indicating completion of the dispensing to the control device. In addition, if there is a shortage of the injection drug indicated in the prescription data related to administration to the one patient, the injection drug dispensing device 100, for example, completes dispensing of the shortage information indicating the missing injection drug. It is linked to information and sent to the control device. By confirming this dispensing completion information, the control device transmits to the printer device 13 prescription data (in some cases, out-of-stock information) related to administration to one patient for which dispensing has been completed. Based on this confirmation, the control device also instructs the injection drug dispensing device 100 to transfer the transport tray 151a on which the injection drug indicated in the prescription data regarding administration to the one patient is placed to the printer device 13. Instruct.

これにより、制御部1000は、1患者への投与に係る処方データに基づく搬送先情報を、印字対象となる搬送トレイ151aを誤認することなく、当該搬送トレイ151aに印字できる。また、制御部1000は、当該1患者への投与に係る処方データに基づく輸液ラベル及び注射箋(場合によっては欠品箋)を、払出対象となる搬送トレイ151aを誤認することなく、当該搬送トレイ151aに払出すことができる。 Thereby, the control unit 1000 can print the destination information based on prescription data regarding administration to one patient on the conveyance tray 151a without misrecognizing the conveyance tray 151a to be printed. In addition, the control unit 1000 transfers infusion labels and injection tablets (in some cases, missing items) to the transport tray 151a to be delivered without misrecognizing the transport tray 151a to be dispensed. 151a.

なお、制御部1000は、払出完了情報として、払出しが完了した1患者への投与に係る処方データを、注射薬払出装置100から直接受信しても構わない。この場合、注射薬払出装置100は、払出完了情報を送信するときに、搬送トレイ151aをプリンタ装置13に搬送する。 Note that the control unit 1000 may directly receive prescription data related to administration to one patient for which dispensing has been completed from the injection drug dispensing device 100 as dispensing completion information. In this case, the injection drug dispensing device 100 conveys the transport tray 151a to the printer device 13 when transmitting the dispensing completion information.

〔トレイ搬送機構〕
トレイ搬送機構900は、図39に示すように、制御部1000の制御に基づき、注射薬払出装置100から第1位置P101まで搬送された搬送トレイ151aを、第2位置P102及び第3位置P103を介して、排出リフタ14へと搬送するものである。トレイ搬送機構900は、搬送トレイ151aを搬送するために、プリンタ装置13の底部に設けられている。本実施形態では、トレイ搬送機構900は、第1位置P101と第2位置P102との間で搬送トレイ151aを移動させる第1移動機構と、第1位置P101と第3位置P103との間で搬送トレイ151aを移動させる第2移動機構とを有する。
[Tray transport mechanism]
As shown in FIG. 39, the tray conveyance mechanism 900 moves the conveyance tray 151a conveyed from the injection dispensing device 100 to the first position P101 to the second position P102 and the third position P103 based on the control of the control unit 1000. It is conveyed to the discharge lifter 14 via the discharge lifter 14. The tray transport mechanism 900 is provided at the bottom of the printer device 13 to transport the transport tray 151a. In this embodiment, the tray transport mechanism 900 includes a first movement mechanism that moves the transport tray 151a between the first position P101 and the second position P102, and a transport mechanism that transports the transport tray 151a between the first position P101 and the third position P103. It has a second moving mechanism that moves the tray 151a.

制御部1000は、トレイ搬送機構900を制御することで、1患者への投与に係る処方データを受信したときに第1位置P101に搬送された搬送トレイ151aを、第1位置P101から第2位置P102へと移動させる。 By controlling the tray transport mechanism 900, the control unit 1000 moves the transport tray 151a, which was transported to the first position P101 when prescription data related to administration to one patient is received, from the first position P101 to the second position. Move to P102.

制御部1000は、輸液ラベル払出装置400により払出された輸液ラベルの、搬送トレイ151aへの搬送が完了したと判定した場合、トレイ搬送機構900を制御することで、搬送トレイ151aを第3位置P103まで搬送させる。制御部1000は、例えば、輸液ラベル搬送機構700が輸液ラベルを搬送トレイ151aへ載置した後、輸液ラベル把持部701を待機位置(後述)まで戻したときに、上記搬送が完了したと判定しても構わない。 When the control unit 1000 determines that the transport of the infusion label dispensed by the infusion label dispensing device 400 to the transport tray 151a is completed, the control unit 1000 controls the tray transport mechanism 900 to move the transport tray 151a to the third position P103. transport to. For example, when the infusion label transport mechanism 700 places the infusion label on the transport tray 151a and then returns the infusion label gripping unit 701 to a standby position (described later), the control unit 1000 determines that the transport is completed. I don't mind.

その後、制御部1000は、注射箋払出装置500により払出された注射箋の、搬送トレイ151aへの搬送が完了したと判定した場合、トレイ搬送機構900を制御することで、搬送トレイ151aを排出リフタ14へと搬送させる。制御部1000は、例えば、注射箋搬送機構800が注射箋を搬送トレイ151aへ載置した後、注射箋把持部801を待機位置(後述)まで戻したときに、上記搬送が完了したと判定しても構わない。 Thereafter, when the control unit 1000 determines that the injection tablet dispensed by the injection tablet dispensing device 500 has been completely transported to the transport tray 151a, the controller 1000 controls the tray transport mechanism 900 to move the transport tray 151a to the discharge lifter. 14. For example, the control unit 1000 determines that the transport is completed when the injection tablet transport mechanism 800 returns the injection tablet gripping unit 801 to a standby position (described later) after placing the injection tablet on the transport tray 151a. I don't mind.

なお、プリンタ装置13の前面から搬送トレイ151aを受取る上述した構成の場合、制御部1000は、第2位置P102で受取った搬送トレイ151aへの搬送先情報の印字、及び輸液ラベルの収容が完了した後、第1位置P101を経由して、第3位置P103へと搬送トレイ151aを移動させる。つまりこの場合、トレイ搬送機構900は、制御部1000の制御に基づき、注射薬払出装置100から第2位置P102まで搬送された搬送トレイ151aを、第1位置P101及び第3位置P103を介して、排出リフタ14へと搬送するものである。 Note that in the case of the above-described configuration in which the transport tray 151a is received from the front of the printer device 13, the control unit 1000 determines whether printing of the transport destination information on the transport tray 151a received at the second position P102 and storage of the infusion label are completed. Thereafter, the transport tray 151a is moved to the third position P103 via the first position P101. In other words, in this case, the tray transport mechanism 900, under the control of the control unit 1000, transports the transport tray 151a transported from the injection dispensing device 100 to the second position P102 via the first position P101 and the third position P103. It is conveyed to the discharge lifter 14.

〔搬送トレイ印字装置〕
次に、搬送トレイ印字装置300について説明する。図40は、搬送トレイ印字装置300の一例を示す正面図である。
[Transport tray printing device]
Next, the transport tray printing device 300 will be explained. FIG. 40 is a front view showing an example of the conveyance tray printing device 300.

搬送トレイ印字装置300は、搬送トレイ151aの搬送先を示す搬送先情報(例:患者名及び病棟名)を、搬送トレイ151aの所定位置に印字する。制御部1000は、第2位置P102に搬送トレイ151aが載置されたことを認識すると、搬送トレイ印字装置300を制御することで、受信した1患者への投与に係る処方データに含まれる、又は処方データに紐付けられた搬送先情報を搬送トレイ151aに印字する。搬送トレイ印字装置300は、搬送トレイ印字装置300の前に搬送された搬送トレイ151aの1側面の略中央付近に、搬送先情報を印字する。 The transport tray printing device 300 prints transport destination information (eg, patient name and ward name) indicating the transport destination of the transport tray 151a at a predetermined position on the transport tray 151a. When the control unit 1000 recognizes that the transport tray 151a is placed at the second position P102, it controls the transport tray printing device 300 to print the data included in the received prescription data for administration to one patient, or Transport destination information linked to the prescription data is printed on the transport tray 151a. The conveyance tray printing device 300 prints conveyance destination information near the approximate center of one side of the conveyance tray 151a conveyed before the conveyance tray printing device 300.

なお、例えば、搬送トレイ151aの経路上に複数のセンサ(不図示)を設けておく。これにより、制御部1000は、各センサの出力に基づいて、第1位置P101、第2位置P102及び第3位置P103のいずれに搬送トレイ151aが配置されているかを認識しても構わない。 Note that, for example, a plurality of sensors (not shown) are provided on the path of the transport tray 151a. Thereby, the control unit 1000 may recognize which of the first position P101, the second position P102, and the third position P103 the transport tray 151a is arranged based on the output of each sensor.

搬送トレイ印字装置300は、搬送トレイ151aに非接触で搬送先情報を印字可能な装置である。本実施形態では、搬送トレイ印字装置300は、レーザLsを出射することで対象物に情報を印字するレーザーマーカーである。 The conveyance tray printing device 300 is a device that can print conveyance destination information on the conveyance tray 151a without contacting it. In this embodiment, the conveyance tray printing device 300 is a laser marker that prints information on an object by emitting a laser Ls.

但し、搬送トレイ印字装置300は、レーザーマーカーに限らず、搬送トレイ151aに搬送先情報を書込可能な搬送トレイ書込装置であれば良い。例えば、搬送トレイ書込装置は、搬送先情報を送信する送信部を備えると共に、搬送トレイ151aには、電子カード(又は電子ペーパー)、及び搬送先情報を受信する受信部が設けられる。これにより、搬送トレイ書込装置が送信した搬送先情報を電子カードに表示できる。また、搬送トレイ151aに磁気カードを取外し可能に設け、搬送トレイ書込装置は、当該磁気カードに搬送先情報を書込可能な装置であっても構わない。さらに、搬送トレイ書込装置は、熱を用いて搬送先情報を搬送トレイ151aに書込んでも構わない。 However, the conveyance tray printing device 300 is not limited to a laser marker, and may be any conveyance tray writing device that can write conveyance destination information on the conveyance tray 151a. For example, the transport tray writing device includes a transmitter that transmits transport destination information, and the transport tray 151a is provided with an electronic card (or electronic paper) and a receiver that receives transport destination information. Thereby, the conveyance destination information transmitted by the conveyance tray writing device can be displayed on the electronic card. Alternatively, a magnetic card may be removably provided on the transport tray 151a, and the transport tray writing device may be a device capable of writing transport destination information onto the magnetic card. Furthermore, the transport tray writing device may write the transport destination information onto the transport tray 151a using heat.

例えば磁気カードを用いた場合、取外した状態で磁気カードに搬送先情報を書込むことになる。この場合、磁気カードを搬送トレイ151aから取外すときに、磁気カードが搬送トレイ151aの一部に引っかかってしまう可能性がある。また、電子カードを用いた場合にはこのような問題は起こらないが、費用が比較的高くなってしまう。 For example, if a magnetic card is used, destination information will be written on the magnetic card while it is removed. In this case, when removing the magnetic card from the transport tray 151a, there is a possibility that the magnetic card gets caught in a part of the transport tray 151a. Further, when using an electronic card, this problem does not occur, but the cost is relatively high.

搬送トレイ印字装置300としてレーザーマーカーを用いることで、安価に、かつ磁気カードのような手間を発生させることなく、搬送トレイ151aに搬送先情報を印字できる。 By using a laser marker as the conveyance tray printing device 300, conveyance destination information can be printed on the conveyance tray 151a at low cost and without the hassle of using a magnetic card.

〔輸液ラベル払出装置及び輸液ラベル搬送機構〕
次に、輸液ラベル払出装置400、及び輸液ラベル搬送機構700について説明する。図41の(a)は、輸液ラベル払出装置400、及び輸液ラベル搬送機構700の一例を示す斜視図であり、(b)及び(c)は、輸液ラベル払出装置400が備える輸液ラベル受取部403の一例を示す斜視図である。図42は、輸液ラベル払出装置400の一例を示す平面図である。
[Infusion label dispensing device and infusion label transport mechanism]
Next, the infusion label dispensing device 400 and the infusion label transport mechanism 700 will be explained. FIG. 41(a) is a perspective view showing an example of the infusion label dispensing device 400 and the infusion label transport mechanism 700, and FIG. It is a perspective view showing an example. FIG. 42 is a plan view showing an example of the infusion label dispensing device 400.

輸液ラベル払出装置400は、輸液容器に貼付けられる輸液ラベルを払出すものである。また、輸液ラベル搬送機構700は、輸液ラベル払出装置400が払出した輸液ラベルを把持して、搬送トレイ151aへと搬送するものである。輸液ラベル払出装置400及び輸液ラベル搬送機構700は、輸液ラベルを搬送トレイ151aに払出すラベル払出装置として機能する。 The infusion label dispensing device 400 dispenses an infusion label to be attached to an infusion container. Further, the infusion label transport mechanism 700 grips the infusion label dispensed by the infusion label dispensing device 400 and transports it to the transport tray 151a. The infusion label dispensing device 400 and the infusion label transport mechanism 700 function as a label dispensing device that dispenses an infusion label onto the transport tray 151a.

<輸液ラベル払出装置の詳細>
図41の(a)及び図42に示すように、本実施形態では、輸液ラベル払出装置400として2つの輸液ラベル払出装置400a及び400bを備える。図42に示すように、2つの輸液ラベル払出装置400a及び400bは、第2位置P102の上方に設けられた台座450に配置されている。上述したように、台座450の、第2位置P102と対向する位置(第2位置P102に搬送された搬送トレイ151aと対向する位置)に、貫通孔400hが形成されている。
<Details of the infusion label dispensing device>
As shown in FIG. 41(a) and FIG. 42, in this embodiment, the infusion label dispensing device 400 includes two infusion label dispensing devices 400a and 400b. As shown in FIG. 42, the two infusion label dispensing devices 400a and 400b are arranged on a pedestal 450 provided above the second position P102. As described above, the through hole 400h is formed in the pedestal 450 at a position facing the second position P102 (a position facing the transport tray 151a transported to the second position P102).

輸液ラベル払出装置400は、図41の(a)に示すように、印字シート保管部401、第1本体部402、輸液ラベル受取部403、及び受取部回動機構404を備える。印字シート保管部401は、内容物情報の印字対象となる印字シートを保管するものである。第1本体部402は、受信した1患者への投与に係る処方データに示される内容物情報を、印字シート保管部401に保管された印字シートに印字することで、輸液ラベルを発行するものである。 The infusion label dispensing device 400 includes a printed sheet storage section 401, a first main body section 402, an infusion label receiving section 403, and a receiving section rotating mechanism 404, as shown in FIG. 41(a). The print sheet storage unit 401 stores print sheets on which content information is printed. The first main body section 402 issues an infusion label by printing the content information indicated in the received prescription data for administration to one patient on a print sheet stored in the print sheet storage section 401. be.

輸液ラベル受取部403は、第1本体部402で発行された輸液ラベルを受取り、一時的に収容しておくものである。図41の(b)に示すように、底部403bから立設した側壁403cによって、輸液ラベル受取部403に輸液ラベルを収容する空間が形成されている。また、側壁403cによって、第1本体部402から輸液ラベルを受取り、かつ、輸液ラベル搬送機構700の輸液ラベル把持部701が輸液ラベルを抜取るための開口部403aが形成されている。また、側壁403cによって、輸液ラベル把持部701が備える一対の爪部702の開閉動作を可能とするための間隙部403dが形成されている。 The infusion label receiving section 403 receives the infusion label issued by the first main body section 402 and temporarily stores it. As shown in FIG. 41(b), a space for accommodating an infusion label is formed in the infusion label receiving section 403 by a side wall 403c standing up from the bottom 403b. Further, the side wall 403c forms an opening 403a through which the infusion label is received from the first main body part 402 and through which the infusion label gripping section 701 of the infusion label transport mechanism 700 extracts the infusion label. In addition, a gap 403d is formed by the side wall 403c to enable the pair of claws 702 of the infusion label gripping section 701 to open and close.

一対の爪部702は、図43の(b)に示すように、輸液ラベル受取部403に収容された輸液ラベルを把持するときに開く。本実施形態では、図41の(b)に示すように、側壁403cは、その中央に間隙部403dを有する形状となっている。そのため、一対の爪部702は、輸液ラベルを把持するときに、側壁403cに衝突することなく、間隙部403dを介して開閉動作を行うことが可能となる。 The pair of claws 702 opens when gripping the infusion label accommodated in the infusion label receiving section 403, as shown in FIG. 43(b). In this embodiment, as shown in FIG. 41(b), the side wall 403c has a shape having a gap 403d at its center. Therefore, the pair of claws 702 can open and close through the gap 403d without colliding with the side wall 403c when gripping the infusion label.

一方、間隙部403dが形成されていない場合、輸液ラベルを把持するときに、輸液ラベル受取部403の内部で一対の爪部702を開くことができる程度の空間を形成しておくことが必要となる。この場合、厚みW10を、当該空間を形成する程度の厚みとする必要がある。しかし、輸液ラベルは薄く、かつ、一度に収容される輸液ラベルの数は数枚程度(例:1~5枚程度)であるため、厚みW10をそれほど厚くする必要は無い。上記のように、側壁403cが間隙部403dを有することで、輸液ラベル受取部403を比較的小さくすることができる。この点を鑑みなければ、輸液ラベル受取部403は間隙部403dを有していなくも構わない。 On the other hand, if the gap 403d is not formed, it is necessary to form a space large enough to open the pair of claws 702 inside the infusion label receiving part 403 when grasping the infusion label. Become. In this case, the thickness W10 needs to be thick enough to form the space. However, since the infusion label is thin and the number of infusion labels that can be accommodated at one time is about several (for example, about 1 to 5), there is no need to increase the thickness W10 so much. As described above, since the side wall 403c has the gap 403d, the infusion label receiving section 403 can be made relatively small. Unless this point is taken into account, the infusion label receiving section 403 does not need to have the gap section 403d.

輸液ラベル受取部403は、開口部403aの向きが変更可能なように設けられている。具体的には、輸液ラベル受取部403は、ラベル受取位置(図43の(a)の状態)では、開口部403aを第1本体部402側に向けた状態で固定される。ラベル受取位置は、輸液ラベル受取部403が第1本体部402から発行された輸液ラベルを受取るときの輸液ラベル受取部403の位置である。一方、輸液ラベル受取部403は、ラベル把持位置(図43の(b)及び(c)の状態)では、開口部403aを輸液ラベル把持部701側(Z軸方向;上方向)に向けた状態で固定される。ラベル把持位置は、輸液ラベル把持部701が、輸液ラベル受取部403に収容された輸液ラベルを把持するときの輸液ラベル受取部403の位置である。 The infusion label receiving section 403 is provided so that the direction of the opening 403a can be changed. Specifically, in the label receiving position (the state shown in FIG. 43(a)), the infusion label receiving section 403 is fixed with the opening 403a facing the first main body section 402 side. The label receiving position is the position of the infusion label receiving section 403 when the infusion label receiving section 403 receives the infusion label issued from the first main body section 402. On the other hand, in the label gripping position (states of (b) and (c) in FIG. 43), the infusion label receiving part 403 is in a state in which the opening 403a is directed toward the infusion label gripping part 701 side (Z-axis direction; upward direction). is fixed. The label grasping position is the position of the infusion label receiving section 403 when the infusion label grasping section 701 grasps the infusion label accommodated in the infusion label receiving section 403.

なお、輸液ラベル受取部403には、図41の(c)に示すように、アタッチメント403eが取付けられても構わない。アタッチメント403eは、輸液ラベル受取部403の底部の高さを調整するものであり、開口部403aから輸液ラベル受取部403の内部に嵌合される。アタッチメント403eが取付けられていない場合、比較的小さい輸液ラベルが輸液ラベル受取部403に収容されると、輸液ラベル把持部701が輸液ラベルを把持できない可能性がある。輸液ラベル受取部403にアタッチメント403eを取付けることで、輸液ラベル受取部403の底部を高くできる。そのため、上記輸液ラベルが払出された場合であっても、輸液ラベル把持部701による当該輸液ラベルの把持が可能となる。 Note that an attachment 403e may be attached to the infusion label receiving section 403, as shown in FIG. 41(c). The attachment 403e is for adjusting the height of the bottom of the infusion label receiving section 403, and is fitted into the inside of the infusion label receiving section 403 from the opening 403a. If the attachment 403e is not attached and a relatively small infusion label is accommodated in the infusion label receiving section 403, the infusion label gripping section 701 may not be able to grip the infusion label. By attaching the attachment 403e to the infusion label receiving section 403, the bottom of the infusion label receiving section 403 can be made higher. Therefore, even if the infusion label is dispensed, the infusion label gripping section 701 can grasp the infusion label.

受取部回動機構404は、Y軸方向に延伸する軸部と、軸部を回動させる駆動機構とを備える。上記軸部に輸液ラベル受取部403(例:側壁403c)が取付けられている。受取部回動機構404は、駆動機構により軸部を回動させることで、輸液ラベル受取部403を当該軸部の周りに回動させる。これにより、輸液ラベル受取部403は、ラベル受取位置及びラベル把持位置のそれぞれにおいて開口部403aの向きが上述した向きとなるように、ラベル受取位置とラベル把持位置との間で移動できる。 The receiver rotation mechanism 404 includes a shaft portion extending in the Y-axis direction and a drive mechanism that rotates the shaft portion. An infusion label receiving portion 403 (eg, side wall 403c) is attached to the shaft portion. The receiving section rotating mechanism 404 rotates the infusion label receiving section 403 around the shaft by rotating the shaft using a drive mechanism. Thereby, the infusion label receiving section 403 can be moved between the label receiving position and the label gripping position such that the opening 403a is oriented in the above-described direction in each of the label receiving position and the label gripping position.

また、図43の(a)に示すように、ラベル受取位置において、輸液ラベル受取部403の開口部403aと、第1本体部402の、輸液ラベルを払出すラベル払出口402a(又はその近傍)とが互いに対向する位置となっている。つまり、ラベル受取位置において、当該位置関係となるように、輸液ラベル受取部403及び受取部回動機構404が配置されている。換言すれば、輸液ラベル受取部403は、回動することで、ラベル払出口402a(またはその近傍)に対向する位置することが可能な部材である。 Further, as shown in FIG. 43(a), at the label receiving position, the opening 403a of the infusion label receiving section 403 and the label dispensing opening 402a of the first main body part 402 for dispensing the infusion label (or the vicinity thereof) are located opposite each other. That is, at the label receiving position, the infusion label receiving section 403 and the receiving section rotating mechanism 404 are arranged so as to have the above positional relationship. In other words, the infusion label receiving section 403 is a member that can be rotated to be positioned opposite the label dispensing port 402a (or the vicinity thereof).

また、輸液ラベル受取部403の近傍又は第1本体部402のラベル払出口402aには、輸液ラベル受取部403に収容される輸液ラベル(第1本体部402が払出した輸液ラベル)を計数するラベル計数部(不図示)が設けられていても構わない。ラベル計数部(例:センサ)からの通知により、制御部1000は、規定された枚数の輸液ラベルが払出されたか否かを判定できる。 Further, near the infusion label receiving section 403 or in the label dispensing port 402a of the first main body section 402, a label for counting the infusion labels accommodated in the infusion label receiving section 403 (infusion labels dispensed by the first main body section 402) is provided. A counting section (not shown) may be provided. Based on the notification from the label counting unit (eg, sensor), the control unit 1000 can determine whether a specified number of infusion labels have been dispensed.

<輸液ラベル搬送機構の詳細>
次に、輸液ラベル搬送機構700について説明する。図49の(a)及び(b)は、輸液ラベル把持部701の一例を示す斜視図である。
<Details of the infusion label transport mechanism>
Next, the infusion label transport mechanism 700 will be explained. (a) and (b) of FIG. 49 are perspective views showing an example of the infusion label gripping section 701.

図41の(a)に示すように、本実施形態では、輸液ラベル搬送機構700は、輸液ラベル把持部701a、701b(総称して輸液ラベル把持部701とも称する)、第1支持部711、第2支持部712、及び第3支持部713を備える。 As shown in FIG. 41(a), in this embodiment, the infusion label transport mechanism 700 includes infusion label gripping parts 701a and 701b (also collectively referred to as infusion label gripping parts 701), a first support part 711, a first support part 711, A second support part 712 and a third support part 713 are provided.

輸液ラベル把持部701は、輸液ラベル受取部403に払出された輸液ラベルを把持(挟持)するものである。また、輸液ラベル把持部701は、把持した輸液ラベルを搬送トレイ151aに載置するために、搬送トレイ151a上で輸液ラベルをリリースする。輸液ラベル把持部701a及び701bは、この把持及びリリース動作を実現するために、その先端部にそれぞれ、開閉動作を行うことが可能な一対の爪部702a及び702bを備える(図49の(a)及び(b)も参照)。なお、一対の爪部702a及び702bは、総称して一対の爪部702とも称する。 The infusion label gripping section 701 grips (pinches) the infusion label delivered to the infusion label receiving section 403. Further, the infusion label gripping section 701 releases the infusion label on the transport tray 151a in order to place the gripped infusion label on the transport tray 151a. In order to realize this gripping and releasing operation, the infusion label gripping parts 701a and 701b are provided with a pair of claw parts 702a and 702b, respectively, which can perform opening and closing operations at their tips ((a) in FIG. 49). and (b)). Note that the pair of claws 702a and 702b are also collectively referred to as a pair of claws 702.

また、輸液ラベル把持部701は、図49の(a)及び(b)に示すように、固定具703と、一対の爪部702を開閉させる把持部駆動機構704と、把持部駆動機構704に支持される共に、固定具703を支持する支柱705とを備える。 In addition, as shown in FIGS. 49(a) and 49(b), the infusion label gripping part 701 includes a fixture 703, a gripping part driving mechanism 704 that opens and closes a pair of claw parts 702, and a gripping part driving mechanism 704. A support column 705 that is supported and supports the fixture 703 is provided.

固定具703は、支柱705を介して把持部駆動機構704と固定されているものである。固定具703は、一対の爪部702の一方(ここでは一方の爪部7021と称する)の、輸液ラベルを把持する側と反対側の表面に対向して設けられている。また、固定具703は、支柱705で支持されることで、把持部駆動機構704が一対の爪部702の開閉動作を実行しても、その開閉動作に伴い一対の爪部702と共に移動することが無い。 The fixture 703 is fixed to the grip drive mechanism 704 via a support 705. The fixture 703 is provided facing the surface of one of the pair of claws 702 (herein referred to as one claw 7021) on the side opposite to the side on which the infusion label is gripped. In addition, by being supported by the support column 705, the fixture 703 does not move together with the pair of claws 702 even when the gripping portion drive mechanism 704 performs the opening/closing operation of the pair of claws 702. There is no

固定具703には、一方の爪部7021に向けて延伸する棒状部材703aが設けられている。また、一方の爪部7021には、棒状部材703aが貫通することが可能な開口部7021aが設けられている。棒状部材703aは、一対の爪部702が閉じた状態においては、開口部7021aを貫通しない位置(棒状部材703aの全体が上記反対側の表面と対向する位置)に位置している。一方、棒状部材703aは、一対の爪部702が開いた状態においては、図49の(a)及び(b)に示すように、その先端部が開口部7021aから一対の爪部702の内側へと突出した位置に位置する。 The fixture 703 is provided with a rod-shaped member 703a extending toward one claw portion 7021. Furthermore, one claw portion 7021 is provided with an opening 7021a through which the rod-shaped member 703a can pass. When the pair of claws 702 are closed, the rod-shaped member 703a is located at a position where it does not pass through the opening 7021a (a position where the entire rod-shaped member 703a faces the opposite surface). On the other hand, when the pair of claws 702 of the rod-shaped member 703a is open, the tip end of the rod-like member 703a extends from the opening 7021a to the inside of the pair of claws 702, as shown in FIGS. 49(a) and (b). located in a prominent position.

これにより、一対の爪部702が開いたときに、把持していた輸液ラベルが、静電気等により一方の爪部7021に付着していたとしても、開口部7021aから突出した棒状部材703aにより、一方の爪部7021から輸液ラベルを物理的に剥離できる。そのため、固定具703を設けることで、一対の爪部702が開いたときに、把持していた輸液ラベルを確実にリリースできる。つまり、固定具703は、一対の爪部702に付着した輸液ラベルを剥離するラベル剥離部として機能するといえる。 As a result, even if the gripped infusion label is attached to one of the claws 7021 due to static electricity when the pair of claws 702 is opened, the bar-like member 703a protruding from the opening 7021a will allow the infusion label to be held on one side by the rod-shaped member 703a protruding from the opening 7021a. The infusion label can be physically peeled off from the claw portion 7021. Therefore, by providing the fixture 703, the gripped infusion label can be reliably released when the pair of claws 702 opens. In other words, it can be said that the fixture 703 functions as a label peeling unit that peels off the infusion label attached to the pair of claws 702.

なお、他方の爪部7022に固定具703が設けられていても構わない。つまり、固定具703は、一方の爪部7021及び/又は他方の爪部7022に設けられていても構わない。 Note that the fixture 703 may be provided on the other claw portion 7022. In other words, the fixture 703 may be provided on one claw portion 7021 and/or the other claw portion 7022.

輸液ラベル把持部701は、Z軸方向に移動可能なように、第3支持部713に取付けられている。つまり、第3支持部713は、輸液ラベル把持部701を支持し、かつ輸液ラベル把持部701をZ軸方向に移動させる移動機構である。 The infusion label gripping part 701 is attached to the third support part 713 so as to be movable in the Z-axis direction. That is, the third support part 713 is a moving mechanism that supports the infusion label gripping part 701 and moves the infusion label gripping part 701 in the Z-axis direction.

第3支持部713は、待機位置と、ラベル把持位置の輸液ラベル受取部403との間において輸液ラベル把持部701を移動させる。また、第3支持部713は、搬送トレイ151aの上方の位置(待機位置と同等の高さの位置)と、搬送トレイ151aの近傍位置(ラベルリリース位置)との間において輸液ラベル把持部701を移動させる。なお、待機位置は、輸液ラベル受取部403の上方であって、輸液ラベル受取部403に収容された輸液ラベルの把持を待機する位置である。 The third support section 713 moves the infusion label gripping section 701 between the standby position and the infusion label receiving section 403 at the label gripping position. Further, the third support section 713 holds the infusion label gripping section 701 between a position above the transport tray 151a (a position at the same height as the standby position) and a position near the transport tray 151a (label release position). move it. Note that the standby position is above the infusion label receiving section 403 and is a position where the infusion label stored in the infusion label receiving section 403 is on standby for gripping.

第1支持部711は、輸液ラベル把持部701を支持し、かつ輸液ラベル把持部701をY軸方向に移動させる移動機構である。具体的には、第1支持部711には、輸液ラベル把持部701が取付けられた第3支持部713が、Y軸方向に移動可能なように取付けられている。これにより、輸液ラベル把持部701は、待機位置と、第1支持部711の中央付近との間での移動が可能となる。 The first support section 711 is a moving mechanism that supports the infusion label gripping section 701 and moves the infusion label gripping section 701 in the Y-axis direction. Specifically, a third support part 713 to which the infusion label gripping part 701 is attached is attached to the first support part 711 so as to be movable in the Y-axis direction. This allows the infusion label gripping section 701 to move between the standby position and the vicinity of the center of the first support section 711.

第2支持部712は、輸液ラベル把持部701を支持し、かつ輸液ラベル把持部701をX軸方向に移動させる移動機構である。具体的には、第2支持部712には、第3支持部713が取付けられた第1支持部711が、X軸方向に移動可能なように取付けられている。これにより、輸液ラベル把持部701は、第1支持部711の中央付近と、搬送トレイ151aの上方の位置との間での移動が可能となる。 The second support section 712 is a moving mechanism that supports the infusion label gripping section 701 and moves the infusion label gripping section 701 in the X-axis direction. Specifically, the first support part 711 to which the third support part 713 is attached is attached to the second support part 712 so as to be movable in the X-axis direction. This allows the infusion label gripping section 701 to move between the vicinity of the center of the first support section 711 and a position above the transport tray 151a.

<輸液ラベル払出装置及び輸液ラベル搬送機構の動作>
次に、輸液ラベル搬送機構700による輸液ラベルの把持動作及び搬送動作について説明する。図43の(a)~(d)は、輸液ラベル搬送機構700による輸液ラベルLaの把持動作の一例について説明するための図である。図44の(a)~(d)は、輸液ラベル搬送機構700による輸液ラベルLaの搬送動作の一例について説明するための図である。
<Operation of the infusion label dispensing device and infusion label transport mechanism>
Next, the gripping operation and transporting operation of the infusion label by the infusion label transport mechanism 700 will be explained. FIGS. 43A to 43D are diagrams for explaining an example of the gripping operation of the infusion label La by the infusion label transport mechanism 700. FIGS. 44A to 44D are diagrams for explaining an example of the operation of transporting the infusion label La by the infusion label transport mechanism 700.

図43の(a)に示すように、輸液ラベル払出装置400では、制御部1000の制御に基づき第1本体部402が輸液ラベルLaを払出すと、輸液ラベルLaは輸液ラベル受取部403に収容される。制御部1000は、輸液ラベルLaが規定された枚数収容されたと判定すると、図43の(b)に示すように、輸液ラベルLaが収容された輸液ラベル受取部403の開口部403aが輸液ラベル把持部701側を向くように、輸液ラベル受取部403を回動させる。この状態において、制御部1000は、輸液ラベル把持部701を、待機位置から輸液ラベル受取部403まで移動させる。 As shown in FIG. 43(a), in the infusion label dispensing device 400, when the first main body section 402 dispenses the infusion label La under the control of the control section 1000, the infusion label La is received in the infusion label receiving section 403. be done. When the control unit 1000 determines that the prescribed number of infusion labels La have been accommodated, as shown in FIG. The infusion label receiving section 403 is rotated so as to face the section 701 side. In this state, the control unit 1000 moves the infusion label gripping unit 701 from the standby position to the infusion label receiving unit 403.

図43の(b)に示すように、制御部1000は、ラベル把持位置において一対の爪部702を開いた後、図43の(c)に示すように、一対の爪部702を閉じることで、輸液ラベル受取部403に収容された輸液ラベルLaを把持する。図43の(d)に示すように、制御部1000は、輸液ラベルLaを把持した状態で、輸液ラベル把持部701を待機位置まで引き上げる。またこのとき、制御部1000は、輸液ラベルLaが抜取られた後、開口部403aが元の向き(第1本体部402側)を向くように、輸液ラベル受取部403を回動させる。 As shown in FIG. 43(b), the control unit 1000 opens the pair of claws 702 at the label gripping position, and then closes the pair of claws 702 as shown in FIG. 43(c). , grips the infusion label La accommodated in the infusion label receiving section 403. As shown in FIG. 43(d), the control unit 1000 pulls up the infusion label gripping unit 701 to the standby position while gripping the infusion label La. At this time, after the infusion label La is removed, the control unit 1000 rotates the infusion label receiving unit 403 so that the opening 403a faces the original direction (toward the first main body 402 side).

なお、輸液ラベル受取部403の内部にセンサ(不図示)を設けておくことで、制御部1000は、その内部に輸液ラベルLaが存在するか否かを判定できる。また、例えば一対の爪部702(不図示)にセンサを設けておくことで、制御部1000は、一対の爪部702が輸液ラベルLaを把持した状態であるか否かを判定する。 Note that by providing a sensor (not shown) inside the infusion label receiving section 403, the control section 1000 can determine whether or not the infusion label La is present inside the infusion label receiving section 403. For example, by providing a sensor on the pair of claws 702 (not shown), the control unit 1000 determines whether or not the pair of claws 702 are gripping the infusion label La.

また、制御部1000は、輸液ラベル受取部403に設けられたセンサと、上述したラベル払出口402aに設けられたラベル計数部からの通知を受けたことをトリガとして、輸液ラベル把持部701による把持動作を開始させても構わない。具体的には、制御部1000は、第1本体部402から規定された枚数の輸液ラベルLaが払出され、かつ輸液ラベル受取部403に輸液ラベルLaが存在することを認識したことをトリガとして、上記把持動作を開始させても構わない。またこのとき、制御部1000は、開口部403aが輸液ラベル把持部701側を向くように輸液ラベル受取部403を回動させる。この構成の場合、輸液ラベル払出装置400から輸液ラベルLaの払出しが完了したことを示す通知を受けて上記把持動作を行う場合に比べ、当該把持動作の開始を早めることができる。 Further, the control unit 1000 is triggered by receiving a notification from the sensor provided in the infusion label receiving unit 403 and the label counting unit provided in the label dispensing port 402a described above, and causes the infusion label gripping unit 701 to hold the infusion label. You may start the operation. Specifically, the control unit 1000 is triggered by recognizing that a specified number of infusion labels La have been dispensed from the first main body unit 402 and that the infusion labels La are present in the infusion label receiving unit 403. The above-mentioned gripping operation may be started. Also, at this time, the control unit 1000 rotates the infusion label receiving unit 403 so that the opening 403a faces the infusion label gripping unit 701 side. With this configuration, the gripping operation can be started earlier than when the gripping operation is performed upon receiving a notification from the infusion label dispensing device 400 that the dispensing of the infusion label La has been completed.

図44の(a)は、待機位置で、輸液ラベル把持部701が輸液ラベルLaを把持している状態を示している。この状態から、図44の(b)に示すように、制御部1000は、各待機位置まで移動した輸液ラベル把持部701を、第1支持部711の中央付近まで移動させる。制御部1000は、輸液ラベル把持部701を中央付近まで移動させた後、第1支持部711を貫通孔400hの上方(つまり、搬送トレイ151aが載置された第2位置P102)まで移動させる。具体的には、制御部1000は、輸液ラベル把持部701が把持した輸液ラベルLaを、当該輸液ラベルLaを配置すべき搬送トレイ151a内の位置(輸液ラベル載置領域)の上方まで移動させる。 FIG. 44(a) shows a state in which the infusion label gripping section 701 is grasping the infusion label La at the standby position. From this state, as shown in FIG. 44(b), the control section 1000 moves the infusion label gripping section 701 that has been moved to each standby position to near the center of the first support section 711. After moving the infusion label gripping section 701 to the vicinity of the center, the control section 1000 moves the first support section 711 to the upper part of the through hole 400h (that is, the second position P102 where the transport tray 151a is placed). Specifically, the control unit 1000 moves the infusion label La held by the infusion label gripping unit 701 to above the position (infusion label placement area) in the transport tray 151a where the infusion label La is to be placed.

その後、図44の(d)に示すように、制御部1000は、輸液ラベルLaを把持した輸液ラベル把持部701を降下させ、ラベルリリース位置で一対の爪部702を開くことで、輸液ラベルLaを搬送トレイ151aに載置する。 Thereafter, as shown in FIG. 44(d), the control unit 1000 lowers the infusion label gripping part 701 that grips the infusion label La, and opens the pair of claws 702 at the label release position. is placed on the transport tray 151a.

次に、搬送トレイ151aにおける輸液ラベルLaの載置位置について説明する。図45の(a)及び(b)は、搬送トレイ151aにおける輸液ラベルLaの載置位置について説明するための図である。上述のように、搬送トレイ151aの内部には小型トレイ151bが4つ収容されているものとする。また、各小型トレイ151bには、注射薬が払出されず、かつ輸液ラベルLaが払出される領域である輸液ラベル載置領域151rが設けられているものとする。また、受信した1患者への投与に係る処方データに示された内容物情報には、朝投与分、昼投与分、夕投与分、及び就寝前投与分の4つの情報が含まれているものとする。 Next, the placement position of the infusion label La on the transport tray 151a will be explained. FIGS. 45A and 45B are diagrams for explaining the placement position of the infusion label La on the transport tray 151a. As mentioned above, it is assumed that four small trays 151b are accommodated inside the transport tray 151a. It is also assumed that each small tray 151b is provided with an infusion label placement area 151r, which is an area where the injection drug is not dispensed and where the infusion label La is dispensed. In addition, the content information shown in the received prescription data for administration to one patient includes four pieces of information: morning dose, afternoon dose, evening dose, and bedtime dose. shall be.

ここで、図45では、説明の便宜上、4つの小型トレイ151bを、搬送トレイ151aの搬送方向から順に、小型トレイ151b1、151b2、151b3及び151b4と称する。また、小型トレイ151b1、151b2、151b3及び151b4には、それぞれ朝投与分、昼投与分、夕投与分、及び就寝前投与分の注射薬が払出されているものとする。なお、受信した1患者への投与に係る処方データには、搬送トレイ151aにおける注射薬の配置位置を示す情報が紐付けられている。そのため、制御部1000は、当該処方データを解析することで、小型トレイ151b1、151b2、151b3及び151b4への上記のような払出し(注射薬の所定位置への払出し)を実現できる。 Here, in FIG. 45, for convenience of explanation, the four small trays 151b are referred to as small trays 151b1, 151b2, 151b3, and 151b4 in order from the transport direction of the transport tray 151a. Further, it is assumed that the small trays 151b1, 151b2, 151b3, and 151b4 are dispensed with injections for morning administration, afternoon administration, evening administration, and bedtime administration, respectively. Note that the received prescription data regarding administration to one patient is associated with information indicating the placement position of the injection drug on the transport tray 151a. Therefore, the control unit 1000 can realize the above-described dispensing of the injection medicine to the small trays 151b1, 151b2, 151b3, and 151b4 (dispensing of the injection to a predetermined position) by analyzing the prescription data.

制御部1000は、受信した1患者への投与に係る処方データに示された内容物情報について、輸液ラベル払出装置400a及び400bのいずれで印字して輸液ラベルLaを払出すのかを特定する。例えば、制御部1000は、朝投与分及び夕投与分の輸液ラベルLaを輸液ラベル払出装置400aから払出させ、昼投与分及び就寝前投与分の輸液ラベルLaを輸液ラベル払出装置400bから払出させる。換言すれば、輸液ラベル払出装置400aから払出された輸液ラベルLaは、小型トレイ151b1(搬送トレイ151aの1番目の区画)、及び小型トレイ151b3(3番目の区画)に払出される。輸液ラベル払出装置400bから払出された輸液ラベルLaは、小型トレイ151b2(2番目の区画)、及び小型トレイ151b4(4番目の区画)に払出される。 The control unit 1000 specifies which of the infusion label dispensing devices 400a and 400b should print and dispense the infusion label La regarding the content information shown in the received prescription data regarding administration to one patient. For example, the control unit 1000 causes the infusion label La for the morning dose and the evening dose to be dispensed from the infusion label dispensing device 400a, and causes the infusion label La for the midday dose and the bedtime dose to be dispensed from the infusion label dispensing device 400b. In other words, the infusion label La dispensed from the infusion label dispensing device 400a is delivered to the small tray 151b1 (first section of the transport tray 151a) and the small tray 151b3 (third section). The infusion label La discharged from the infusion label dispensing device 400b is discharged to a small tray 151b2 (second compartment) and a small tray 151b4 (fourth compartment).

また、制御部1000は、1度目の払出し時に、輸液ラベル払出装置400aから朝投与分の輸液ラベルLaを小型トレイ151b1に払出させると共に、輸液ラベル払出装置400bから昼投与分の輸液ラベルLaを小型トレイ151b2に払出させる。図45の(a)に示すように、1度目の払出し時に、輸液ラベル払出装置400aから払出された朝投与分の輸液ラベルLaは、輸液ラベル把持部701aにより小型トレイ151b1の輸液ラベル載置領域151rに払出される。また、輸液ラベル払出装置400bから払出された昼投与分の輸液ラベルLaは、輸液ラベル把持部701bにより小型トレイ151b2の輸液ラベル載置領域151rに払出される。 In addition, at the time of first dispensing, the control unit 1000 causes the infusion label dispensing device 400a to dispense the infusion label La for the morning dose onto the small tray 151b1, and also causes the infusion label dispensing device 400b to dispense the infusion label La for the midday dose in a small size tray 151b1. It is discharged onto the tray 151b2. As shown in FIG. 45(a), during the first dispensing, the infusion label La for the morning dose dispensed from the infusion label dispensing device 400a is transferred to the infusion label placement area of the small tray 151b1 by the infusion label gripping portion 701a. It will be paid out at 151r. Further, the infusion label La for the daytime dose dispensed from the infusion label dispensing device 400b is delivered to the infusion label placement area 151r of the small tray 151b2 by the infusion label gripping section 701b.

また、制御部1000は、2度目の払出し時に、輸液ラベル払出装置400aから夕投与分の輸液ラベルLaを小型トレイ151b3に払出させる共に、輸液ラベル払出装置400bから就寝前投与分の輸液ラベルLaを小型トレイ151b4に払出させる。図45の(b)に示すように、2度目の払出し時に、輸液ラベル払出装置400aから払出された夕投与分の輸液ラベルLaは、輸液ラベル把持部701bにより小型トレイ151b3の輸液ラベル載置領域151rに払出される。また、輸液ラベル払出装置400bから払出された就寝前投与分の輸液ラベルLaは、輸液ラベル把持部701bにより小型トレイ151b4の輸液ラベル載置領域151rに払出される。 In addition, at the time of second dispensing, the control unit 1000 causes the infusion label dispensing device 400a to dispense the infusion label La for the evening dose onto the small tray 151b3, and also causes the infusion label dispensing device 400b to dispense the infusion label La for the bedtime dose from the infusion label dispensing device 400b. The small tray 151b4 is made to dispense. As shown in FIG. 45(b), during the second dispensing, the infusion label La for the evening dose dispensed from the infusion label dispensing device 400a is transferred to the infusion label placement area of the small tray 151b3 by the infusion label gripping portion 701b. It will be paid out at 151r. Further, the infusion label La for bedtime administration dispensed from the infusion label dispensing device 400b is delivered to the infusion label placement area 151r of the small tray 151b4 by the infusion label gripping section 701b.

なお、上述した輸液ラベルLaの払出方法はあくまで一例であって、どのような順序で払出されても構わない。例えば、輸液ラベル払出装置400aから昼投与分及び就寝前投与分の輸液ラベルLaが払出され、輸液ラベル払出装置400bから朝投与分及び夕投与分の輸液ラベルLaが払出されても構わない。また、1度目の払出しと2度目の払出しが逆であっても構わない。 Note that the above-described method of dispensing the infusion labels La is just an example, and the infusion labels La may be dispensed in any order. For example, the infusion label dispensing device 400a may dispense infusion labels La for midday doses and pre-bedtime doses, and the infusion label dispensing device 400b may dispense infusion labels La for morning doses and evening doses. Further, the first payout and the second payout may be reversed.

このように、本実施形態では、複数の輸液ラベル払出装置400のそれぞれに対して、輸液ラベル把持部701と、輸液ラベル把持部701を搬送するための第1支持部711及び第3支持部713とを備えている。また、輸液ラベル把持部701を搬送するための第2支持部712を備えている。そのため、上述したように、一度の払出しにおいて、複数の輸液ラベル払出装置400を並行して動作させると共に、各輸液ラベル払出装置400から払出された輸液ラベルLaを、搬送トレイ151aの所定の位置(区画)に搬送できる。つまり、複数の輸液ラベルLaを効率良く払出すことができる。 As described above, in this embodiment, for each of the plurality of infusion label dispensing devices 400, the infusion label gripping section 701, the first support section 711 and the third support section 713 for conveying the infusion label gripping section 701 are provided. It is equipped with Further, a second support section 712 for conveying the infusion label gripping section 701 is provided. Therefore, as described above, in one dispensing operation, a plurality of infusion label dispensing devices 400 are operated in parallel, and the infusion labels La dispensed from each infusion label dispensing device 400 are placed at a predetermined position ( (section). That is, a plurality of infusion labels La can be efficiently dispensed.

また、プリンタ装置13は、複数の輸液ラベル払出装置400を備えている。そのため、任意の輸液ラベル払出装置400が輸液ラベルLaを払出せなくなった(当該輸液ラベル払出装置400に障害が発生した)としても、残りの輸液ラベル払出装置400で、任意の輸液ラベル払出装置400の払出し分の輸液ラベルLaも払出すことができる。例えば輸液ラベル払出装置400aが故障したり、又は印字シートが無くなったりして輸液ラベルLaが払出せなくなった場合であっても、輸液ラベル払出装置400aの払出し分の輸液ラベルLaを輸液ラベル払出装置400bから払出すことができる。この場合、制御部1000は、受信した1患者への投与に係る処方データに示される内容物情報に含まれる各情報(例:上記4つの投与分)を印字シートに順に印字することで、各情報に係る輸液ラベルLaを、輸液ラベル払出装置400bから払出させる。 Further, the printer device 13 includes a plurality of infusion label dispensing devices 400. Therefore, even if any infusion label dispensing device 400 becomes unable to dispense the infusion label La (a failure has occurred in the infusion label dispensing device 400), the remaining infusion label dispensing devices 400 can It is also possible to dispense the infusion label La corresponding to the quantity dispensed. For example, even if the infusion label dispensing device 400a is out of order or the printed sheet is missing, and the infusion label La cannot be dispensed, the infusion label La dispensed by the infusion label dispensing device 400a is transferred to the infusion label dispensing device. It can be paid out from 400b. In this case, the control unit 1000 sequentially prints each piece of information (e.g., the above four doses) included in the content information shown in the received prescription data for administration to one patient on a printing sheet. The infusion label La related to the information is dispensed from the infusion label dispensing device 400b.

なお、上述のような処理の効率化、又は障害発生時の代替処理について考慮しなければ、輸液ラベル払出装置400は1台であっても構わない。また、輸液ラベル払出装置400は3台以上であっても構わない。但しこの場合、個々の輸液ラベル払出装置400に対応して輸液ラベル把持部701等が設けられる。 Note that the number of the infusion label dispensing device 400 may be one, as long as the efficiency of processing as described above or alternative processing in the event of a failure is not considered. Further, the number of infusion label dispensing devices 400 may be three or more. However, in this case, an infusion label gripping section 701 or the like is provided corresponding to each infusion label dispensing device 400.

また、輸液ラベル搬送機構700では、輸液ラベル把持部701が輸液ラベルLaを把持すると共に、輸液ラベル把持部701を第1支持部711、第2支持部712及び第3支持部713に沿って移動させる。そのため、搬送トレイ151aの所定の位置(例:各小型トレイ151bの輸液ラベル載置領域151r)に精度良く載置できる。 In addition, in the infusion label transport mechanism 700, the infusion label gripping part 701 grips the infusion label La, and moves the infusion label gripping part 701 along the first support part 711, the second support part 712, and the third support part 713. let Therefore, it can be placed at a predetermined position on the transport tray 151a (eg, infusion label placement area 151r of each small tray 151b) with high accuracy.

〔注射箋払出装置及び注射箋搬送機構〕
次に、注射箋払出装置500について説明する。図46は、注射箋払出装置500の一例を示す図であり、(a)は、注射箋払出装置500の一例を示す正面図であり、(b)及び(c)は、注射箋受取部512の一例を示す斜視図である。
[Injection tablet dispensing device and injection tablet transport mechanism]
Next, the injection tablet dispensing device 500 will be explained. 46 is a diagram showing an example of the injection tablet dispensing device 500, (a) is a front view showing an example of the injection tablet dispensing device 500, and (b) and (c) are diagrams showing the injection tablet receiving section 512. It is a perspective view showing an example.

<注射箋払出装置の詳細>
注射箋払出装置500は、搬送トレイ151aに収容された注射薬を示す収容物情報を印字した注射箋を払出すものである。図46の(a)に示すように、注射箋払出装置500は、第2本体部511及び注射箋受取部512を備える。
<Details of injection tablet dispensing device>
The injection tablet dispensing device 500 dispenses injection tablets on which stored item information indicating the injection medicines contained in the transport tray 151a is printed. As shown in FIG. 46(a), the injection tablet dispensing device 500 includes a second main body portion 511 and a injection tablet receiving portion 512.

第2本体部511は、受信した1患者への投与に係る処方データに示される注射薬を示す収容物情報を、保管されている用紙に印字することで、注射箋を発行するものである。欠品情報を受信している場合には、欠品情報に示される注射薬については、注射薬払出装置100から搬送トレイ151aに払出されていない。そのため、第2本体部511は、上記処方データに示される注射薬のうち、欠品情報に示される注射薬を除いた注射薬に関する情報を、収容物情報として用紙に印字しても構わない。また、第2本体部511は、注射箋を注射箋受取部512へと払出す注射箋払出口511aを有する。 The second main body section 511 issues an injection prescription by printing, on a stored sheet of paper, storage information indicating the injection drug indicated in the received prescription data for administration to one patient. When out-of-stock information has been received, the injection drug indicated in the out-of-stock information has not been dispensed from the injection drug dispensing device 100 to the transport tray 151a. Therefore, the second main body portion 511 may print information regarding injections other than the injections shown in the out-of-stock information among the injections shown in the prescription data on a sheet of paper as stored item information. Further, the second main body section 511 has an injection tablet dispensing port 511a for dispensing the injection tablet to the injection tablet receiving section 512.

注射箋受取部512は、第2本体部511で発行された注射箋を受取り、当該注射箋が一時的に載置される箇所である。図46の(b)に示すように、注射箋受取部512は、隆起部512a及び切欠部512bを有する。 The injection tablet receiving section 512 is a place where the injection tablet issued by the second main body part 511 is received and the injection tablet is temporarily placed. As shown in FIG. 46(b), the injection tablet receiving portion 512 has a raised portion 512a and a cutout portion 512b.

隆起部512aは、第2本体部511で発行された注射箋を、注射箋受取部512の底部(受板)から持ち上げた状態で受取るためのものである。隆起部512aは、図46の(b)に示すように、断面凸型の形状(湾曲形状)を有する複数の板状部材である。 The raised portion 512a is for receiving the injection tablet issued by the second main body portion 511 in a lifted state from the bottom (receiving plate) of the injection tablet receiving portion 512. The raised portions 512a are a plurality of plate-like members having a convex cross-sectional shape (curved shape), as shown in FIG. 46(b).

板状部材の、注射箋払出口511a側の高さは、注射箋払出口511aから払出された注射箋が板状部材に衝突しない程度に低くなっている。また、隆起部512aの中央付近よりも注射箋払出口511a側において、板状部材の高さが最大となっている。 The height of the plate-like member on the side of the injection tablet dispensing port 511a is low enough to prevent the injection tablet dispensed from the injection tablet dispensing port 511a from colliding with the plate-like member. Furthermore, the height of the plate-like member is at its maximum on the side closer to the injection tablet dispensing port 511a than near the center of the raised portion 512a.

上記高さが最大となる位置は、注射箋搬送機構800の注射箋把持部801が切欠部512b側から注射箋を把持する位置(又はその近傍位置)である。そのため、上記のような形状の板状部材を隆起部512aとして設けることで、注射箋把持部801の把持が容易となる。なお、注射箋は、図46の(c)に示すように隆起部512aに載置される。 The position where the above-mentioned height becomes the maximum is a position (or a position near thereto) where the injection tablet gripping section 801 of the injection tablet transport mechanism 800 grips the injection tablet from the notch 512b side. Therefore, by providing a plate-like member having the above-described shape as the raised portion 512a, the injection tablet gripping portion 801 can be easily gripped. Note that the injection tablet is placed on the raised portion 512a as shown in FIG. 46(c).

隆起部512aは、注射箋把持部801による注射箋の把持を容易にするように注射箋を持ち上げる形状であれば良い。例えば、隆起部512aは複数の板状部材で構成されるのではなく、板状部材と同様の断面形状を有する1つの部材であっても構わない。 The raised portion 512a may have any shape as long as it lifts the injection tablet so that the injection tablet can be easily grasped by the injection tablet gripping portion 801. For example, the raised portion 512a is not composed of a plurality of plate-like members, but may be a single member having the same cross-sectional shape as the plate-like members.

切欠部512bは、注射箋把持部801が近付く位置に設けられている。これにより、注射箋把持部801は、注射箋受取部512に近付いたときに、注射箋受取部512と接触(衝突)せずに注射箋を把持できる。 The cutout portion 512b is provided at a position where the injection tablet gripping portion 801 approaches. Thereby, when the injection tablet gripping section 801 approaches the injection tablet receiving section 512, it can grip the injection tablet without coming into contact with (colliding with) the injection tablet receiving section 512.

また、本実施形態では、図37に示すように、注射箋払出装置500は2台設けられている。制御部1000は、受信した1患者への投与に係る処方データの一部に示される注射薬(例:小型トレイ151b1及び151b2に払出された注射薬)を示す注射箋を、一方の注射箋払出装置500から払出させる。また、制御部1000は、上記処方データの残りに示される注射薬(例:小型トレイ151b3及び151b4に払出された注射薬)を示す注射箋を、他方の注射箋払出装置500から払出させる。なお、注射箋払出装置500は、2台に限られず、1台であっても構わないし、3台以上であっても構わない。 Further, in this embodiment, as shown in FIG. 37, two injection tablet dispensing devices 500 are provided. The control unit 1000 transfers the injection tablets indicating the injection medicines (for example, the injection medicines dispensed into the small trays 151b1 and 151b2) indicated as part of the received prescription data for administration to one patient to one injection tablet dispenser. It is dispensed from the device 500. Further, the control unit 1000 causes the other injection tablet dispensing device 500 to dispense the injection tablets indicating the injections shown in the remainder of the prescription data (eg, the injections dispensed into the small trays 151b3 and 151b4). Note that the number of injection tablet dispensing devices 500 is not limited to two, and may be one, or three or more.

<注射箋払出搬送機構の詳細>
次に、注射箋搬送機構800について説明する。図47の(a)及び(b)は、注射箋搬送機構800の一例を示す斜視図である。
<Details of the injection tablet dispensing transport mechanism>
Next, the injection tablet transport mechanism 800 will be explained. FIGS. 47A and 47B are perspective views showing an example of the injection tablet transport mechanism 800.

注射箋搬送機構800は、図47の(a)に示すように、注射箋把持部801、把持部回動機構803、第4支持部811及び第5支持部812を備える。 As shown in FIG. 47(a), the injection tablet transport mechanism 800 includes an injection tablet gripping part 801, a gripping part rotating mechanism 803, a fourth support part 811, and a fifth support part 812.

注射箋把持部801は、注射箋受取部512に払出された注射箋を把持(挟持)するものである。また、注射箋把持部801は、把持した注射箋を搬送トレイ151aに載置するために、搬送トレイ151a上で注射箋をリリースする。注射箋把持部801は、この把持及びリリース動作を実現するために、開閉動作を行うことが可能な一対の爪部802を備える。 The injection tablet gripping section 801 grips (pinches) the injection tablet delivered to the injection tablet receiving section 512. Further, the injection tablet gripping unit 801 releases the gripped injection tablet on the transport tray 151a in order to place the gripped injection tablet on the transport tray 151a. The injection tablet gripping section 801 includes a pair of claws 802 that can open and close in order to realize the gripping and releasing operations.

注射箋把持部801は、一対の爪部802の向きが変更可能なように設けられている。そのため、注射箋把持部801は、把持部回動機構803に取付けられている。具体的には、把持部回動機構803は、X軸方向に延伸する軸部と、軸部を回動させる駆動機構とを備え、上記軸部に注射箋把持部801が取付けられている。これにより、把持部回動機構803は、駆動機構により軸部を回動させることで、一対の爪部802を当該軸部の周りに回動させる。 The injection tablet grip part 801 is provided so that the direction of a pair of claw parts 802 can be changed. Therefore, the injection tablet gripping section 801 is attached to a gripping section rotation mechanism 803. Specifically, the grip rotation mechanism 803 includes a shaft extending in the X-axis direction and a drive mechanism for rotating the shaft, and the injection tablet grip 801 is attached to the shaft. As a result, the gripping portion rotation mechanism 803 rotates the pair of claw portions 802 around the shaft portion by rotating the shaft portion using the drive mechanism.

注射箋把持部801は、例えば注射箋把持位置P201及び注射箋昇降位置P202では、図47の(a)に示すように、一対の爪部802を注射箋払出装置500の注射箋受取部512に向けている(+Y軸方向に向けている)状態である。注射箋把持位置P201は、注射箋把持部801が注射箋受取部512に載置された注射箋を把持するときの注射箋把持部801の位置である。また、注射箋昇降位置P202は、第5支持部812が注射箋把持部801をZ軸方向に移動(昇降)させるときの注射箋把持部801の位置である。 For example, in the injection tablet gripping position P201 and the injection tablet raising/lowering position P202, the injection tablet gripping section 801 moves a pair of claws 802 to the injection tablet receiving section 512 of the injection tablet dispensing device 500, as shown in FIG. 47(a). (facing in the +Y-axis direction). The injection tablet gripping position P201 is the position of the injection tablet gripping part 801 when the injection tablet gripping part 801 grips the injection tablet placed on the injection tablet receiving part 512. Further, the injection tablet elevating position P202 is the position of the injection tablet gripping portion 801 when the fifth support portion 812 moves (elevating and lowering) the injection tablet gripping portion 801 in the Z-axis direction.

例えばこの状態から、一対の爪部802が斜め下方向を向くように、注射箋把持部801を回動させた状態が、図47の(b)に示されている。この状態への注射箋把持部801の回動は、例えば注射箋昇降位置P202で行われる。また、注射箋把持部801は、注射箋払出位置では、図48の(d)に示すように、一対の爪部802が、第3位置P103に載置された搬送トレイ151aに向くように(-Z軸方向を向くように)回動される。注射箋払出位置は、注射箋把持部801が把持している注射箋をリリースして搬送トレイ151aに載置するときの注射箋把持部801の位置である。 For example, FIG. 47(b) shows a state in which the injection tablet gripping part 801 is rotated from this state so that the pair of claw parts 802 face diagonally downward. The rotation of the injection tablet gripping section 801 to this state is performed, for example, at the injection tablet raising/lowering position P202. Furthermore, in the injection tablet dispensing position, the injection tablet gripping section 801 is configured such that the pair of claws 802 faces the transport tray 151a placed at the third position P103, as shown in FIG. 48(d). - rotated (to face the Z-axis direction). The injection tablet dispensing position is the position of the injection tablet gripping section 801 when the injection tablet held by the injection tablet gripping section 801 is released and placed on the transport tray 151a.

このように、把持部回動機構803は、+Y軸方向と-Z軸方向との間で一対の爪部802の向きを変更するように、注射箋把持部801を回動させる。 In this way, the grip rotation mechanism 803 rotates the injection tablet grip 801 so as to change the orientation of the pair of claws 802 between the +Y-axis direction and the -Z-axis direction.

第4支持部811は、把持部回動機構803を介して注射箋把持部801を支持するものである。第4支持部811は、注射箋把持部801をY軸方向に移動させる移動機構である。第4支持部811は、注射箋受取部512に載置された注射箋を把持するときに、注射箋把持部801及び把持部回動機構803を注射箋把持位置P201まで移動させる。一方、第4支持部811は、注射箋を把持した注射箋把持部801を搬送トレイ151a近傍まで降下させるときに、注射箋把持部801及び把持部回動機構803を注射箋昇降位置P202まで移動させる。 The fourth support portion 811 supports the injection tablet gripping portion 801 via the gripping portion rotation mechanism 803. The fourth supporter 811 is a moving mechanism that moves the injection tablet gripper 801 in the Y-axis direction. When the fourth support part 811 grips the injection tablet placed on the injection tablet receiving part 512, it moves the injection tablet gripping part 801 and the gripping part rotating mechanism 803 to the injection tablet gripping position P201. On the other hand, the fourth support part 811 moves the injection tablet gripping part 801 and the gripping part rotation mechanism 803 to the injection tablet lifting position P202 when lowering the injection tablet gripping part 801 holding the injection tablet to the vicinity of the transport tray 151a. let

注射箋把持部801は、一対の爪部802の他、一対の爪部802の開閉動作を実行する開閉動作機構等を備える。また、把持部回動機構803は、注射箋把持部801を回動させる駆動機構等を備える。そのため、第4支持部811に取付けられる注射箋把持部801及び把持部回動機構803を含む部材は、ある程度の大きさを有する。従って、注射箋把持部801及び把持部回動機構803を注射箋把持位置P201からそのまま搬送トレイ151a側に降下させた場合、注射箋把持部801又は把持部回動機構803が注射箋受取部512と接触(衝突)してしまう可能性がある。 The injection tablet gripping section 801 includes a pair of claws 802 and an opening/closing mechanism for opening and closing the pair of claws 802 . Furthermore, the gripping portion rotation mechanism 803 includes a drive mechanism and the like that rotates the injection tablet gripping portion 801. Therefore, the members including the injection tablet gripping part 801 and the gripping part rotation mechanism 803 attached to the fourth support part 811 have a certain size. Therefore, when the injection tablet gripping part 801 and the gripping part rotation mechanism 803 are directly lowered from the injection tablet gripping position P201 to the conveying tray 151a side, the injection tablet gripping part 801 or the gripping part rotation mechanism 803 moves to the injection tablet receiving part 511. There is a possibility of contact (collision) with the

注射箋把持部801及び把持部回動機構803の昇降時に、注射箋把持位置P201から注射箋昇降位置P202へと移動させることで、注射箋把持部801又は把持部回動機構803と注射箋受取部512との接触を回避できる。 When the injection tablet gripping part 801 and the gripping part rotation mechanism 803 are raised and lowered, by moving them from the injection tablet gripping position P201 to the injection tablet raising and lowering position P202, the injection tablet gripping part 801 or the gripping part rotation mechanism 803 and the injection tablet receiving Contact with the portion 512 can be avoided.

第5支持部812は、注射箋把持部801を支持する第4支持部811を支持するものである。第5支持部812は、第4支持部811(つまり注射箋把持部801)をZ軸方向に移動させる移動機構である。第5支持部812は、図37に示すように、プリンタ装置13の第3位置P103の近傍から立設しており、第3位置P103の近傍と、輸液ラベル払出装置400の上方に設けられた2台の注射箋払出装置500との間での注射箋把持部801の移動を可能とする。つまり、図37に示すように、2台の注射箋払出装置500は、第5支持部812に沿って、輸液ラベル払出装置400の上方に設けられている。 The fifth support portion 812 supports the fourth support portion 811 that supports the injection tablet gripping portion 801. The fifth support section 812 is a moving mechanism that moves the fourth support section 811 (that is, the injection tablet gripping section 801) in the Z-axis direction. As shown in FIG. 37, the fifth support portion 812 stands up near the third position P103 of the printer device 13, and is provided near the third position P103 and above the infusion label dispensing device 400. The injection tablet grip part 801 can be moved between the two injection tablet dispensing devices 500. That is, as shown in FIG. 37, the two injection tablet dispensing devices 500 are provided above the infusion label dispensing device 400 along the fifth support portion 812.

<注射箋搬送機構の動作>
次に、注射箋搬送機構800による注射箋Prの搬送動作について説明する。図48の(a)~(d)は、注射箋搬送機構800による注射箋Prの搬送動作の一例について説明するための図である。なお、注射箋把持部801は、注射箋Prの搬送動作を行わない場合、例えば図48の(c)に示す位置(下段の注射箋払出装置500と第3位置P103との間の位置;待機位置)に待機している。
<Operation of injection tablet transport mechanism>
Next, the operation of transporting the injection tablet Pr by the injection tablet transport mechanism 800 will be explained. FIGS. 48A to 48D are diagrams for explaining an example of the operation of transporting the injection tablet Pr by the injection tablet transport mechanism 800. Note that when the injection tablet gripping section 801 does not carry out the transport operation of the injection tablet Pr, the injection tablet gripping section 801 is, for example, at the position shown in FIG. position).

第2位置P102にて、搬送トレイ151aに対する印字、及び輸液ラベルの載置が完了すると、制御部1000は、トレイ搬送機構900を制御することで、搬送トレイ151aを第3位置P103へと移動させる。その後、制御部1000は、注射箋払出装置500に収容物情報を印字した注射箋Prを払出させる。なお、制御部1000は、第3位置P103に搬送トレイ151aが搬送される前に(例えば搬送トレイ151aが第2位置P102に載置され、上記印字及び輸送ラベルの載置が行われている間に)、注射箋払出装置500に注射箋Prを払出させても構わない。 When printing and placement of the infusion label on the transport tray 151a are completed at the second position P102, the control unit 1000 moves the transport tray 151a to the third position P103 by controlling the tray transport mechanism 900. . Thereafter, the control unit 1000 causes the injection tablet dispensing device 500 to dispense the injection tablet Pr on which the stored item information is printed. Note that, before the transport tray 151a is transported to the third position P103 (for example, while the transport tray 151a is placed at the second position P102 and the above-mentioned printing and transport label placement are being performed), the control unit 1000 ), the injection tablet dispensing device 500 may be caused to dispense the injection tablet Pr.

注射箋払出装置500による注射箋Prの払出しが完了すると、制御部1000は、第5支持部812を制御することで、待機位置から注射箋Prを払出した注射箋払出装置500まで、注射箋把持部801を移動させる。 When the injection tablet dispensing device 500 completes dispensing the injection tablet Pr, the control unit 1000 controls the fifth support unit 812 to move the injection tablet gripping device from the standby position to the injection tablet dispensing device 500 that has dispensed the injection tablet Pr. 801 is moved.

なお、第2本体部511の注射箋払出口511aには、注射箋受取部512に払出される注射箋Prを計数する注射箋計数部(不図示)が設けられていても構わない。この場合、注射箋計数部(例:センサ)からの通知により、制御部1000は、規定された枚数の注射箋Prが払出されたか否かを判定できる。また、制御部1000は、この通知を受けたことをトリガとして、待機位置から注射箋Prを払出した注射箋払出装置500までの注射箋把持部801の移動(つまり注射箋把持部801による注射箋Prの把持動作)を開始させても構わない。この構成の場合、注射箋払出装置500から注射箋Prの払出しが完了したことを示す通知を受けて上記移動を行う場合に比べ、当該移動の開始を早めることができる。 Note that the injection tablet dispensing port 511a of the second main body portion 511 may be provided with an injection tablet counter (not shown) that counts the injection tablets Pr dispensed to the injection tablet receiving unit 512. In this case, the control unit 1000 can determine whether a prescribed number of injection tablets Pr have been dispensed based on the notification from the injection tablet counter (eg, sensor). Further, the control unit 1000 uses the reception of this notification as a trigger to move the injection tablet gripping unit 801 from the standby position to the injection tablet dispensing device 500 that has dispensed the injection tablet Pr (that is, the injection tablet gripping unit 801 moves the injection tablet It is also possible to start the gripping operation of Pr. In the case of this configuration, the movement can be started earlier than when the above-mentioned movement is performed upon receiving a notification from the injection tablet dispensing device 500 that the dispensing of the injection tablet Pr has been completed.

制御部1000は、注射箋Prを払出した注射箋払出装置500に注射箋把持部801を移動させた後、図48の(a)に示すように、第4支持部811を制御することで、注射箋昇降位置P202から注射箋把持位置P201へと移動させる。制御部1000は、注射箋把持部801を制御することで、注射箋受取部512に載置されている注射箋Prを把持する。なお、制御部1000は、例えば一対の爪部802にセンサ(不図示)を設けておくことで、一対の爪部802が注射箋Prを把持した状態であるか否かを判定する。 After the control unit 1000 moves the injection tablet gripping unit 801 to the injection tablet dispensing device 500 that has dispensed the injection tablet Pr, as shown in FIG. 48(a), by controlling the fourth support unit 811, The injection tablet is moved from the raising/lowering position P202 to the injection tablet gripping position P201. The control unit 1000 grips the injection tablet Pr placed on the injection tablet receiving unit 512 by controlling the injection tablet gripping unit 801. Note that the control unit 1000 determines whether or not the pair of claws 802 are gripping the injection prescription Pr by providing a sensor (not shown) in the pair of claws 802, for example.

制御部1000は、注射箋Prを把持した注射箋把持部801を第3位置P103まで搬送するため、図48の(b)に示すように、第4支持部811を制御することで、注射箋把持部801を注射箋把持位置P201から注射箋昇降位置P202へと移動させる。 The control unit 1000 controls the fourth support unit 811 to convey the injection tablet gripping unit 801 holding the injection tablet Pr to the third position P103, thereby holding the injection tablet Pr. The grip portion 801 is moved from the injection tablet gripping position P201 to the injection tablet lifting position P202.

制御部1000は、注射箋Prを把持した注射箋把持部801を注射箋昇降位置P202に移動させた後、図48の(c)に示すように、第5支持部812を制御することで、注射箋把持部801を待機位置まで移動させ、待機位置で一旦停止(減速)させる。この位置で一旦減速することで、注射箋把持部801が搬送トレイ151aに衝突することを回避できる。 After the control unit 1000 moves the injection tablet gripping part 801 holding the injection tablet Pr to the injection tablet lifting position P202, as shown in FIG. 48(c), by controlling the fifth support part 812, The injection tablet gripping section 801 is moved to a standby position, and once stopped (decelerated) at the standby position. By temporarily decelerating at this position, it is possible to avoid collision of the injection tablet gripping section 801 with the transport tray 151a.

制御部1000は、図48の(d)に示すように、第5支持部812を制御することで、注射箋把持部801を、待機位置から第3位置P103に載置された搬送トレイ151aの近傍まで移動させる。その後、制御部1000は、把持部回動機構803を制御することで、一対の爪部802が搬送トレイ151a側を向くように注射箋把持部801を回動させると共に、注射箋把持部801を制御することで、注射箋Prを把持している一対の爪部802を開く。これにより、搬送トレイ151aに注射箋Prを載置できる。また、一対の爪部802を回動させながら開くことで、搬送トレイ151aに注射箋Prを静かに(つまり確実に)載置できる。 As shown in FIG. 48(d), the control unit 1000 controls the fifth support unit 812 to move the injection tablet gripping unit 801 from the standby position to the transport tray 151a placed at the third position P103. Move to nearby location. Thereafter, the control unit 1000 controls the grip rotation mechanism 803 to rotate the injection tablet grip 801 so that the pair of claws 802 face the transport tray 151a, and also The control opens the pair of claws 802 that grip the injection tablet Pr. Thereby, the injection prescription Pr can be placed on the transport tray 151a. Furthermore, by rotating and opening the pair of claws 802, the injection prescription Pr can be placed quietly (that is, reliably) on the transport tray 151a.

その後、制御部1000は、把持部回動機構803を制御することで、一対の爪部802をY軸方向に向けた後、第5支持部812を制御することで、注射箋把持部801を待機位置へと移動させる。注射箋払出装置500が注射箋Prを払出すまで待機状態となる。 Thereafter, the control unit 1000 controls the grip rotation mechanism 803 to orient the pair of claws 802 in the Y-axis direction, and then controls the fifth support unit 812 to move the injection tablet grip 801. Move it to the standby position. The injection tablet dispensing device 500 is in a standby state until the injection tablet dispensing device 500 dispenses the injection tablet Pr.

なお、本実施形態では、把持部回動機構803は、注射箋昇降位置P202において、一対の爪部802が斜め下方向を向くように注射箋把持部801を回動させる。その後、第5支持部812が、注射箋昇降位置P202から待機位置まで注射箋把持部801を降下させる。つまり、注射箋Prを斜め下向きにした状態で降下させる。 In the present embodiment, the gripping portion rotating mechanism 803 rotates the injection tablet gripping portion 801 such that the pair of claw portions 802 face diagonally downward at the injection tablet raising/lowering position P202. After that, the fifth support part 812 lowers the injection tablet gripping part 801 from the injection tablet lifting position P202 to the standby position. In other words, the injection tablet Pr is lowered with it facing diagonally downward.

注射箋Prは、一般に、A4サイズ程度の用紙である。注射箋Prを把持したときの状態で注射箋把持部801をそのまま降下させた場合、注射箋Prの表面全体で空気圧を受けることになる。そのため、受けた空気圧に起因して注射箋Prが折れ曲がる可能性がある。上記のように、注射箋Prを斜め下向きにした状態で降下させることで、降下時の空気圧により注射箋Prが折れ曲がることを防止できる。 The injection prescription Pr is generally a sheet of approximately A4 size. If the injection tablet gripping portion 801 is lowered in the state in which the injection tablet Pr is gripped, air pressure will be applied to the entire surface of the injection tablet Pr. Therefore, there is a possibility that the injection form Pr may be bent due to the air pressure received. As described above, by lowering the injection tablet Pr in a diagonally downward state, it is possible to prevent the injection tablet Pr from bending due to the air pressure during the descent.

このように、プリンタ装置13は、注射箋搬送機構800を備えることで、注射箋払出装置500が払出した注射箋を、第3位置P103に載置された搬送トレイ151aに載置できる。特に、複数の注射箋払出装置500を備える場合であっても、複数の注射箋払出装置500が設けられたそれぞれの位置に搬送トレイ151aを移動させることなく、注射箋を払出すことができる。 In this way, the printer device 13 is equipped with the injection tablet transport mechanism 800, so that the injection tablet dispensed by the injection tablet dispensing device 500 can be placed on the transport tray 151a placed at the third position P103. In particular, even when a plurality of injection tablet dispensing devices 500 are provided, the injection tablets can be dispensed without moving the transport tray 151a to each position where a plurality of injection tablet dispensing devices 500 are provided.

また、輸液ラベル払出装置400と同様、複数の注射箋払出装置500を備えることで、任意の注射箋払出装置500が注射箋を払出せなくなったとしても、残りの注射箋払出装置500で、任意の注射箋払出装置500の払出し分の注射箋も払出すことができる。 Furthermore, like the infusion label dispensing device 400, by providing a plurality of injection dispensing devices 500, even if any one of the injectable dispensing devices 500 becomes unable to dispense an injectable drug, the remaining injection dispensing devices 500 can be used as desired. The injection tablets dispensed by the injection tablet dispensing device 500 can also be dispensed.

また、注射箋搬送機構800では、注射箋把持部801が注射箋を把持すると共に、注射箋把持部801を第4支持部811及び第5支持部812に沿って移動させる。そのため、注射箋を搬送トレイ151aに確実に載置できる。 In addition, in the injection tablet transport mechanism 800, the injection tablet gripping section 801 grips the injection tablet and moves the injection tablet gripping section 801 along the fourth support section 811 and the fifth support section 812. Therefore, the injection tablet can be reliably placed on the transport tray 151a.

〔欠品箋払出装置〕
欠品箋払出装置600は、制御部1000の制御に基づき、欠品箋を搬送トレイ151aに払出すものである。具体的には、欠品箋払出装置600は、搬送トレイ151aに収容されるべき注射薬が搬送トレイ151aに収容されていない場合に、当該注射薬が収容されていないことを示す非収容物情報を印字した欠品箋を、搬送トレイ151aに払出す。本実施形態では、欠品箋払出装置600はサーマルプリンタであるが、欠品箋を払出すことが可能であれば、どのようなプリンタであっても構わない。
[Out-of-stock note dispensing device]
The out-of-stock note dispensing device 600 dispenses out-of-stock notes onto the transport tray 151a under the control of the control unit 1000. Specifically, when the injection drug to be stored in the transport tray 151a is not stored in the transport tray 151a, the missing item note dispensing device 600 generates non-contained item information indicating that the injection medicine is not stored in the transport tray 151a. The out-of-stock note on which is printed is delivered to the transport tray 151a. In this embodiment, the out-of-stock note dispensing device 600 is a thermal printer, but any printer may be used as long as it is capable of dispensing out-of-stock notes.

欠品箋払出装置600は、例えば受信した1患者への投与に係る処方データに欠品情報が紐付けられている場合に、非収容物情報として欠品情報を印字した欠品箋を落下させることで、第3位置P103に搬送された搬送トレイ151aに欠品箋を載置する。 For example, when out-of-stock information is linked to the received prescription data for administration to one patient, the out-of-stock slip dispensing device 600 drops the out-of-stock slip on which out-of-stock information is printed as non-accommodated item information. As a result, the missing item note is placed on the conveyance tray 151a conveyed to the third position P103.

〔上記構成の別表現〕
上記構成について、以下のように表現できる。
[Another expression of the above structure]
The above configuration can be expressed as follows.

[A]本発明の一態様に係るラベル払出装置は、薬剤(注射薬)を搬送するトレイ(搬送トレイ151a、小型トレイ151b)にラベル(輸液ラベルLa)を払出すラベル払出装置であって、
前記ラベルを払出すラベル払出部(輸液ラベル払出装置400)と、
前記ラベル払出部が払出したラベルを把持して、前記トレイへと搬送するラベル搬送部(輸液ラベル搬送機構700)と、を備える。
[A] A label dispensing device according to one aspect of the present invention is a label dispensing device that dispenses a label (infusion label La) onto a tray (conveyance tray 151a, small tray 151b) that conveys a drug (injection drug),
a label dispensing unit (infusion label dispensing device 400) that dispenses the label;
A label conveying section (infusion label conveying mechanism 700) that grasps the label discharged by the label dispensing section and conveys it to the tray is provided.

薬剤払出装置によってトレイに払出される薬剤が注射薬である場合、当該注射薬と共に輸液容器が用いられる。そのため、当該注射薬が払出されるトレイには、輸液容器の内容物を示す内容物情報を印字した輸液ラベルが払出される。このような輸液ラベルを払出すラベル払出装置を含むプリンタ装置の一例が、例えば、特許文献2~5に開示されている。 When the drug dispensed onto the tray by the drug dispensing device is an injection drug, an infusion container is used together with the injection drug. Therefore, an infusion label on which content information indicating the contents of the infusion container is printed is dispensed onto the tray from which the injection drug is dispensed. Examples of printer devices including a label dispensing device for dispensing such an infusion label are disclosed in, for example, Patent Documents 2 to 5.

特許文献2の技術では、第1プリンタは、印刷した貼付ラベルをトレイに落下投入可能な位置に配置されている。つまり、第1プリンタから払出された貼付ラベルは、トレイに直接収容される。また、特許文献3の技術では、トレイを保持するトレイ保持部とラベルに印字する印字部との間に分配部を備える。分配部は、複数のラベル収容部を備え、かつ所定方向に移動可能である。当該技術では、印字されたラベルをラベル収容部に供給する供給動作と、トレイ保持部に保持されたトレイ内の区画に落下させる払出動作を行う。これにより、複数の区画に仕切られたトレイに対して、高効率でラベルを払出すことが可能となる。 In the technique disclosed in Patent Document 2, the first printer is arranged at a position where the printed adhesive label can be dropped into a tray. In other words, the adhesive labels delivered from the first printer are directly stored in the tray. Furthermore, the technique disclosed in Patent Document 3 includes a distribution section between a tray holding section that holds a tray and a printing section that prints on a label. The distribution section includes a plurality of label storage sections and is movable in a predetermined direction. In this technique, a supply operation of supplying a printed label to a label accommodating section and a dispensing operation of dropping the printed label into a compartment in a tray held by a tray holding section are performed. This makes it possible to dispense labels with high efficiency to a tray partitioned into a plurality of compartments.

なお、特許文献4には、薬剤情報印刷物を払出すプリンタ(注射箋払出装置に相当)の技術が開示されている。薬剤情報印刷物が排出される排出口の下に設けられ、薬剤情報印刷物を受取る受板の支持部を揺動可能とすることで、薬剤情報印刷物を掴持した掴持部材の昇降を滑らかに行うことが可能となる。また、特許文献5の技術では、薬品自動払出装置は、印刷物を印刷し、かつトレイに投入するプリンタユニットの下部に、トレイに設けられた電子カードに患者情報を書込む電子カード書込手段が設けられている。これにより、プリンタユニットが印刷物をトレイに投入する間に、患者情報を電子カードに書込むことが可能となる。 Note that Patent Document 4 discloses a technology for a printer (corresponding to an injection tablet dispensing device) that dispenses printed medicine information. The supporting part of the receiving plate, which is provided under the discharge port through which the printed drug information is discharged and receives the printed drug information, is swingable to smoothly raise and lower the gripping member that grips the printed drug information. becomes possible. Furthermore, in the technology disclosed in Patent Document 5, the automatic drug dispensing device includes an electronic card writing means for writing patient information on an electronic card provided in the tray at the bottom of the printer unit that prints printed matter and inputs it into the tray. It is provided. This allows patient information to be written to the electronic card while the printer unit is loading printed matter into the tray.

しかしながら、特許文献2の技術では、貼付ラベルを落下投入するため、トレイの所定位置に貼付ラベルを載置することは困難である。また、特許文献3の技術では、複数の区画のそれぞれにラベルを払出すことは可能であるが、各区画の所定位置にラベルを載置しようとするものでは無い。特許文献4及び5には、ラベルの払出しに関する記載は無い。 However, in the technique of Patent Document 2, since the adhesive label is dropped and thrown in, it is difficult to place the adhesive label at a predetermined position on the tray. Furthermore, although the technique disclosed in Patent Document 3 allows labels to be delivered to each of a plurality of sections, it does not attempt to place the labels at predetermined positions in each section. Patent Documents 4 and 5 do not contain any description regarding label dispensing.

本発明の一態様に係るラベル払出装置は、ラベルの払出しを効率良く行うことを可能とすることを目的とする。 A label dispensing device according to one aspect of the present invention aims to enable efficient label dispensing.

具体的には、上記のように、ラベル払出装置は、ラベル払出部が払出したラベルを把持してトレイへと搬送するラベル搬送部を備える。ラベルを把持して搬送するため、トレイの所定位置(例:トレイにおいて規定されたラベル載置領域)へとラベルを載置できる。 Specifically, as described above, the label dispensing device includes a label conveying section that grips the label dispensed by the label dispensing section and conveys it to the tray. Since the label is gripped and conveyed, the label can be placed at a predetermined position on the tray (eg, a defined label placement area on the tray).

なお、ラベル搬送部を設けずに、ラベル払出部(ラベル印字部)に対してトレイを移動させることで、トレイの所定位置へラベルを払出す手法も考えられる。しかしながら、この手法の場合、トレイを移動させるため、トレイを移動させる機構は複雑な機構となる。そのため、当該機構の製造又はメンテナンスに手間を要する可能性がある。ラベル搬送部は、トレイと比較して小さくかつ軽いラベルをトレイまで搬送可能な構成であればよいため、トレイを移動させる機構よりも簡易な構造となる。そのため、トレイを移動させる場合よりも、簡易な構造でトレイの所定位置にラベルを載置できる。 Note that it is also possible to consider a method of dispensing the label to a predetermined position on the tray by moving the tray relative to the label dispensing section (label printing section) without providing the label conveying section. However, in this method, since the tray is moved, the mechanism for moving the tray becomes a complicated mechanism. Therefore, manufacturing or maintenance of the mechanism may require time and effort. The label conveying section may have a structure that is simpler than a mechanism for moving the tray, as long as it can convey a label that is smaller and lighter than the tray to the tray. Therefore, the label can be placed at a predetermined position on the tray with a simpler structure than when the tray is moved.

また、本実施形態に開示のように、ラベル払出装置と連動する薬剤払出装置では、薬剤移動部は、薬剤を吸着する吸着機構を有しており、吸着した薬剤を、トレイの所定位置へ精度良く載置することが可能である。そのため、トレイにラベル載置領域を設けることが可能となる。つまり、薬剤払出装置は、ラベル載置領域を設けることができるように、薬剤をトレイへ払出すことができる。 Further, as disclosed in this embodiment, in the drug dispensing device that is linked to the label dispensing device, the drug moving section has a suction mechanism that adsorbs the drug, and moves the adsorbed drug to a predetermined position on the tray with precision. It can be placed well. Therefore, it becomes possible to provide a label placement area on the tray. In other words, the drug dispensing device can dispense the drug onto the tray so that a label placement area can be provided.

また、本実施形態に開示のように、トレイは複数の区画(小型トレイ)に分割されており、当該区画内にラベル載置領域が設けられている。つまり、ラベル載置領域は、ラベルが外部に放出されない程度の比較的狭い領域である。そのため、ラベルを精度良くトレイに載置する必要がある。 Further, as disclosed in this embodiment, the tray is divided into a plurality of sections (small trays), and a label placement area is provided within each section. In other words, the label placement area is a relatively narrow area where the label is not released to the outside. Therefore, it is necessary to place the label on the tray with high precision.

つまり、ラベル払出装置は、本実施形態の薬剤払出装置のように、トレイの所定位置に精度良く薬剤を払出す装置と連動する場合に、特に有効に機能する。 In other words, the label dispensing device functions particularly effectively when interlocked with a device that accurately dispenses a medicine to a predetermined position on a tray, like the medicine dispensing device of this embodiment.

[B]本発明の一態様に係る印字装置(プリンタ装置13)は、薬剤(注射薬)を搬送するトレイ(搬送トレイ151a、小型トレイ151b)に収容された薬剤に関する情報を印字する印字装置であって、
前記トレイの搬送先を示す搬送先情報を、前記トレイの所定位置に書込むトレイ書込部(搬送トレイ印字装置300)と、
輸液容器に貼付けられる輸液ラベルを前記トレイに払出す輸液ラベル払出部(輸液ラベル払出装置400)と、
前記トレイに収容された薬剤を示す収容物情報を印字した収容物印字シート(注射箋Pr)を払出す第1シート払出部(注射箋払出装置500)と、
前記トレイに収容されるべき薬剤が前記トレイに収容されていない場合に、当該薬剤が収容されていないことを示す非収容物情報(欠品情報)を印字した非収容物印字シート(欠品箋)を払出す第2シート払出部(欠品箋払出装置600)と、を備える。
[B] The printing device (printer device 13) according to one aspect of the present invention is a printing device that prints information regarding medicines contained in trays (transport tray 151a, small tray 151b) that transport medicines (injection medicines). There it is,
a tray writing unit (transport tray printing device 300) that writes transport destination information indicating a transport destination of the tray at a predetermined position on the tray;
an infusion label dispensing unit (infusion label dispensing device 400) that dispenses an infusion label affixed to an infusion container onto the tray;
a first sheet dispensing unit (syringe dispensing device 500) for dispensing a stored object printed sheet (injection tablet Pr) on which stored object information indicating the medicine stored in the tray is printed;
When a drug that should be stored in the tray is not stored in the tray, a non-contained item printing sheet (out-of-stock information) is printed that indicates that the drug is not stored in the tray. ), a second sheet dispensing unit (missing item note dispensing device 600).

上記の構成によれば、トレイ書込部、輸液ラベル払出部、第1シート払出部及び第2シート払出部を1つの筐体内に設けているため、薬剤払出システムの省スペース化を図ることが可能となる。なお、上述した特許文献2~5の技術では、これらの4つの構成を1つの筐体に設けることについての開示は無い。 According to the above configuration, since the tray writing section, the infusion label dispensing section, the first sheet dispensing section, and the second sheet dispensing section are provided in one housing, it is possible to save space in the drug dispensing system. It becomes possible. Note that the techniques of Patent Documents 2 to 5 mentioned above do not disclose that these four configurations are provided in one casing.

また、トレイ書込部、輸液ラベル払出部及び第1シート払出部に加え、第2シート払出部を備える。これにより、前段に設けられた薬剤払出装置において払出対象となった薬剤が欠品であることを、トレイ内に収容された薬剤を鑑査するユーザに通知できる。 Further, in addition to the tray writing section, the infusion label dispensing section, and the first sheet dispensing section, a second sheet dispensing section is provided. Thereby, it is possible to notify the user who inspects the medicine stored in the tray that the medicine to be dispensed by the medicine dispensing device provided at the front stage is out of stock.

≪その他の構成3≫
以下に、主として、注射薬払出装置100の更なる構成及び処理、並びに、注射薬払出装置100の周辺装置であるプリンタ装置13の更なる構成及び処理等について説明する。但し、以下に示す説明において、上述した内容と重複する部分、又は具体的に記載した部分もあることに留意されたい。
Other configuration 3≫
Below, the further structure and processing of the injection drug dispensing device 100, and the further structure and processing of the printer device 13, which is a peripheral device of the injection drug dispensing device 100, will be mainly described. However, it should be noted that in the following explanation, there may be parts that overlap with the content described above, or parts that are specifically described.

〔注射薬払出装置の別例〕
<カセット保持部の別例>
まず、図51及び図52を用いて、カセット保持部135について説明する。図51は、カセット保持部135を備えた注射薬払出装置100の一例を示す斜視図である。図52は、カセット兼薬剤保持部136の一例を示す図である。図52の(a)は、カセット兼薬剤保持部136の概略的な分解断面図であり、(b)は転がり防止シート136cの一例を示す斜視図であり、(c)は、光源136dが点灯した状態におけるカセット兼薬剤保持部136の一例を示す平面図である。
[Another example of injection drug dispensing device]
<Another example of cassette holding part>
First, the cassette holding section 135 will be explained using FIGS. 51 and 52. FIG. 51 is a perspective view showing an example of an injection drug dispensing device 100 including a cassette holding section 135. FIG. 52 is a diagram showing an example of the cassette-cum-drug holding section 136. FIG. 52(a) is a schematic exploded cross-sectional view of the cassette-cum-drug holding part 136, FIG. 52(b) is a perspective view showing an example of the anti-rolling sheet 136c, and FIG. FIG. 7 is a plan view showing an example of the cassette-cum-drug holding section 136 in a state where the cassette-cum-drug holding section 136 is in a state where

本例の注射薬払出装置100では、図51に示すように、カセット保持部130に代えて、カセット保持部135が設けられている。カセット保持部135は、カセット保持部130a~130c、及びカセット兼薬剤保持部136を備えている。つまり、カセット保持部135は、カセット保持部130d(図6参照)をカセット兼薬剤保持部136に代えたものである。カセット保持部130a~130c、及びカセット兼薬剤保持部136は、カセット保持部130と同様、それぞれカセット受入位置131a~131dと処理位置132a~132dとの間を移動する。 In the injection drug dispensing device 100 of this example, as shown in FIG. 51, a cassette holding section 135 is provided in place of the cassette holding section 130. The cassette holding section 135 includes cassette holding sections 130a to 130c and a cassette/drug holding section 136. In other words, the cassette holding section 135 is a cassette holding section 130d (see FIG. 6) that is replaced with a cassette/drug holding section 136. Like the cassette holding section 130, the cassette holding sections 130a to 130c and the cassette/drug holding section 136 move between the cassette receiving positions 131a to 131d and the processing positions 132a to 132d, respectively.

カセット兼薬剤保持部136は、カセットCaを保持すると共に、注射薬(返品薬)を保持するものである。具体的には、カセット兼薬剤保持部136は、注射薬の払出動作時に、払出対象の注射薬が収容されたカセットCaを保持する一方、注射薬の返品動作時に、返品薬受入カセット161(図16参照)から取出された返品薬を保持する。つまり、注射薬の返品時の動作において、方向揃えカセット162を用いる代わりに、カセット兼薬剤保持部136が用いられる。 The cassette/drug holding section 136 holds the cassette Ca as well as an injection drug (returned drug). Specifically, the cassette/drug holding section 136 holds the cassette Ca containing the injection drug to be dispensed during the injection drug dispensing operation, while holding the returned drug receiving cassette 161 (Fig. 16)) will be retained. That is, in the operation when returning an injection drug, the cassette-cum-drug holding section 136 is used instead of using the direction alignment cassette 162.

カセット兼薬剤保持部136は、図52の(a)に示すように、基板136a、偏光シート136b及び転がり防止シート136cが下から順に積層されることで構成されている。つまり、転がり防止シート136cの表面において、カセットCa又は返品薬が保持される。 As shown in FIG. 52(a), the cassette-cum-drug holding section 136 is constructed by laminating a substrate 136a, a polarizing sheet 136b, and a rolling prevention sheet 136c in order from the bottom. That is, the cassette Ca or the returned medicine is held on the surface of the anti-rolling sheet 136c.

基板136aには、複数の光源136d(バックライト)が配置されている。基板136a及び光源136dは光出射層を形成している。本実施形態では、光源136dは、赤色光を出射する赤色光源である。また、光源136dは、例えばLED(Light Emitting
Diode)で実現される。
A plurality of light sources 136d (backlights) are arranged on the substrate 136a. The substrate 136a and the light source 136d form a light emitting layer. In this embodiment, the light source 136d is a red light source that emits red light. Further, the light source 136d is, for example, an LED (Light Emitting Light).
This is realized using a diode.

なお、光源136dからの光が転がり防止シート136cの表面全体から略均一に出射できるのであれば、光源136dの数は1個であってもよい。また、光出射層が、例えば、(1)複数の光源136dと、(2)複数の光源136dを側面に備え、光源136dから出射された光を上面に載置された偏光シート136bへと導く導光路と、を備えた構成であっても構わない。 Note that the number of light sources 136d may be one as long as the light from the light sources 136d can be emitted substantially uniformly from the entire surface of the anti-rolling sheet 136c. Further, the light emitting layer includes, for example, (1) a plurality of light sources 136d and (2) a plurality of light sources 136d on the side surface, and guides the light emitted from the light source 136d to the polarizing sheet 136b placed on the top surface. A configuration including a light guide path may also be used.

偏光シート136bは、光源136dから受光した光を所定方向(例:偏光シート136bの表面に略垂直な方向)に揃えて、転がり防止シート136c側へと出射するものである。 The polarizing sheet 136b aligns the light received from the light source 136d in a predetermined direction (eg, a direction substantially perpendicular to the surface of the polarizing sheet 136b) and emits it toward the anti-rolling sheet 136c.

転がり防止シート136cは、その表面に載置された返品薬が転がらないようにするためのシートである。具体的には、図52の(a)及び(b)に示すように、転がり防止シート136cには、略半球状の複数の突起部136c1が所定間隔で設けられている。この突起部136c1により、載置された返品薬の転がりが防止される。複数の突起部136c1は、返品薬の転がりを防止できるのであれば、どのように配置されていても構わない。 The anti-rolling sheet 136c is a sheet for preventing the returned medicine placed on its surface from rolling. Specifically, as shown in FIGS. 52(a) and 52(b), the anti-rolling sheet 136c is provided with a plurality of substantially hemispherical protrusions 136c1 at predetermined intervals. This protrusion 136c1 prevents the placed return medicine from rolling. The plurality of protrusions 136c1 may be arranged in any manner as long as the returned medicine can be prevented from rolling.

また、転がり防止シート136c及び突起部136c1は、偏光シート136bを透過した光源136dからの光を透過可能な材質(例:アクリル樹脂)で構成されている。 Further, the anti-rolling sheet 136c and the protrusion 136c1 are made of a material (eg, acrylic resin) that can transmit the light from the light source 136d that has passed through the polarizing sheet 136b.

光源136dは、返品薬が載置された状態で点灯する。この状態において、位置特定用カメラ122bはカセット兼薬剤保持部136を撮像する。その結果、図52の(c)に示すように、返品薬MDの輪郭が鮮明な画像を取得できる。つまり、位置特定用カメラ122b及びカセット兼薬剤保持部136は、返品薬MDの輪郭を検出する輪郭検出部(エッジ検出部)として機能する。 The light source 136d lights up when the returned medicine is placed. In this state, the position specifying camera 122b images the cassette/drug holding section 136. As a result, as shown in FIG. 52(c), an image with a clear outline of the returned medicine MD can be obtained. That is, the position specifying camera 122b and the cassette/drug holding section 136 function as a contour detection section (edge detection section) that detects the contour of the returned medicine MD.

光源136dが赤色光源である場合、例えば白色光を出射する白色光源を用いた場合よりも、撮像した画像において、注射薬とその周囲とのコントラストを高めることができる。また、返品薬の下方から光を照射し、かつ、偏光シート136bでその光の進行方向を揃えて出射させることで、撮像した画像において、返品薬の輪郭をより明瞭に取得できる。また、突起部136c1が略半球状であり、かつ所定間隔で設けられていることにより、撮像した画像には、画像処理で消去できる程度の突起部136c1の影しか映り込まない。そのため、返品薬の輪郭が鮮明な画像を取得できる結果、返品薬の形状モデルを精度良く作成することが可能となる。 When the light source 136d is a red light source, the contrast between the injection drug and its surroundings can be increased in the captured image, compared to when a white light source that emits white light is used, for example. Furthermore, by emitting light from below the returned medicine and aligning the traveling direction of the light with the polarizing sheet 136b, the outline of the returned medicine can be more clearly captured in the captured image. Moreover, since the protrusions 136c1 are approximately hemispherical and are provided at predetermined intervals, only the shadow of the protrusions 136c1 that can be erased by image processing is reflected in the captured image. Therefore, it is possible to obtain an image with a clear outline of the returned medicine, and as a result, it is possible to create a shape model of the returned medicine with high accuracy.

つまり、カセット兼薬剤保持部136は、注射薬の払出動作時に、払出対象の注射薬を収容したカセットCaが載置される載置台であって、注射薬の返品動作時に、返品薬の形状等を取得するために返品薬が載置される載置台である。カセット兼薬剤保持部136は、この2つの機能を共有する部材である。 In other words, the cassette-cum-drug holding section 136 is a mounting table on which a cassette Ca containing an injection to be dispensed is placed during an injection dispensing operation. This is a mounting table on which returned medicines are placed in order to retrieve them. The cassette/drug holding section 136 is a member that shares these two functions.

なお、返品薬の輪郭が鮮明な画像を取得するためには、処理位置132において、カセット兼薬剤保持部136の下方から光が照射されればよい。そのため、光源136dが、カセット兼薬剤保持部136に設けられている必要は必ずしもなく、例えば、処理位置132dに設けられていても構わない。 Note that in order to obtain an image with a clear outline of the returned medicine, light may be irradiated from below the cassette/drug holding section 136 at the processing position 132. Therefore, the light source 136d does not necessarily have to be provided in the cassette/drug holding section 136, and may be provided, for example, in the processing position 132d.

また、カセット兼薬剤保持部136はカセット保持部130dに代えて設けられているが、これに限らず、カセット保持部130a~130dの少なくともいずれかに代えて設けられても構わない。カセット兼薬剤保持部136が複数備えられている場合には、返品薬を各カセット兼薬剤保持部136に載置した状態で撮像し、返品薬の輪郭が最も鮮明に取得できた画像を形状モデル作成のための画像として採用しても構わない。また、各カセット兼薬剤保持部136において、光源136dの種類又は出力等を変更しても構わない。 Furthermore, although the cassette/drug holding section 136 is provided in place of the cassette holding section 130d, the present invention is not limited to this, and it may be provided in place of at least one of the cassette holding sections 130a to 130d. If a plurality of cassette-cum-medication holding sections 136 are provided, images are taken with the returned medicine placed in each cassette-cum-medication holding section 136, and an image in which the outline of the returned medicine can be obtained most clearly is used as a shape model. You may use it as an image for creation. Further, in each cassette/drug holding section 136, the type or output of the light source 136d may be changed.

また、形状モデルを精度良く作成することを考慮しなれば、上記の条件を満たしている必要は必ずしもない。 Furthermore, if creating a shape model with high accuracy is taken into consideration, it is not necessarily necessary to satisfy the above conditions.

この場合、カセット兼薬剤保持部136に載置された返品薬の撮像時に、返品薬の位置が特定できる程度の照度を有する光が照射されればよい。そのため、光源136dは赤色光源ではなく、他の色の光を出射する光源(例:白色光源)であっても構わない。 In this case, when taking an image of the returned medicine placed in the cassette/drug holding section 136, it is sufficient that light having an illuminance enough to identify the position of the returned medicine is applied. Therefore, the light source 136d may be not a red light source but a light source that emits light of another color (eg, a white light source).

また、光源136dは、例えば、カセット兼薬剤保持部136の表面の端部に設けられても構わないし、カセット兼薬剤保持部136以外の箇所(例:処理位置132d及び位置変更部126の近傍)に設けられていても構わない。この場合、基板136a及び偏光シート136bは不要であり、転がり防止シート136cは光透過性を有している必要は無い。従ってこの場合、カセット保持部130dに突起部136c1を備えた構成であっても構わない。 Further, the light source 136d may be provided, for example, at the end of the surface of the cassette/drug holding section 136, or at a location other than the cassette/drug holding section 136 (e.g., near the processing position 132d and the position changing section 126). It does not matter if it is set in In this case, the substrate 136a and the polarizing sheet 136b are unnecessary, and the anti-rolling sheet 136c does not need to have optical transparency. Therefore, in this case, the cassette holding portion 130d may be provided with the projection 136c1.

また、突起部136c1の形状は、略半球状でなくてもよく、例えば、カセット兼薬剤保持部136の表面の中央付近を囲うように配置された棒状であっても構わない。 Further, the shape of the protrusion 136c1 does not have to be substantially hemispherical, and may be, for example, a rod shape arranged so as to surround the center of the surface of the cassette/drug holding section 136.

<照明部材>
次に、図6及び図53を用いて、処理位置132での撮像時に用いられる照明部材128及び129の配置例について説明する。図53は、照明部材128及び129の概略的な配置例を示す図である。
<Lighting components>
Next, an example of the arrangement of the illumination members 128 and 129 used during imaging at the processing position 132 will be described with reference to FIGS. 6 and 53. FIG. 53 is a diagram showing a schematic arrangement example of lighting members 128 and 129.

図6及び図53に示すように、位置特定用カメラ122の近傍には、照明部材128及び129が設けられている。 As shown in FIGS. 6 and 53, lighting members 128 and 129 are provided near the position specifying camera 122.

照明部材128は、注射薬の払出動作時に、処理位置132においてカセットCaを撮像するときに、カセットCaに光を照射するものである。また、照明部材128は、注射薬の返品動作時に、処理位置132において大型返品薬カセット163(図12参照)又は中小型返品薬カセット164(図13参照)を撮像するときに、これらのカセットに光を照射するものである。照明部材128は、図6及び図53に示すように、位置特定用カメラ122a及び122bの近傍に設けられている。 The illumination member 128 irradiates the cassette Ca with light when the cassette Ca is imaged at the processing position 132 during the injection medicine dispensing operation. The illumination member 128 also illuminates the large-sized returned medicine cassette 163 (see FIG. 12) or the small-medium-sized returned medicine cassette 164 (see FIG. 13) when imaging the large-sized returned medicine cassette 163 (see FIG. 12) or the small-sized returned medicine cassette 164 (see FIG. 13) at the processing position 132 during the injection medicine return operation. It irradiates light. The illumination member 128 is provided near the position specifying cameras 122a and 122b, as shown in FIGS. 6 and 53.

照明部材129は、注射薬の返品動作時に、処理位置132において返品薬受入カセット161を撮像するときに、返品薬受入カセット161に光を照射するものである。本実施形態では、カセット保持部130cにより保持される。そのため、照明部材129は、位置特定用カメラ122bの近傍に設けられている。 The illumination member 129 irradiates the returned drug receiving cassette 161 with light when the returned drug receiving cassette 161 is imaged at the processing position 132 during the injection drug return operation. In this embodiment, it is held by the cassette holding section 130c. Therefore, the illumination member 129 is provided near the position specifying camera 122b.

なお、照明部材128及び129の配置は、カセット保持部130を備える注射薬払出装置100においても、カセット保持部135を備える注射薬払出装置100においても同じであってよい。 Note that the arrangement of the lighting members 128 and 129 may be the same in the injection drug dispensing device 100 including the cassette holding portion 130 and in the injection drug dispensing device 100 including the cassette holding portion 135.

<カセット保管例>
次に、カセット棚110におけるカセット保管例について、図5を用いて説明する。図5には、カセット棚110に、カセットCa、返品薬受入カセット161、大型返品薬カセット163、中小型返品薬カセット164、及び非払出薬受入カセット165が保管されている例が示されている。これらのカセットがカセット棚110に保管されている場合(つまり、方向揃えカセット162が保管されていない場合)、注射薬払出装置100は、カセット保持部としてカセット保持部135を備えている。
<Cassette storage example>
Next, an example of cassette storage on the cassette shelf 110 will be described using FIG. 5. FIG. 5 shows an example in which cassettes Ca, returned drug receiving cassettes 161, large returned drug cassettes 163, small and medium sized returned drug cassettes 164, and non-dispense drug receiving cassettes 165 are stored on the cassette shelf 110. . When these cassettes are stored on the cassette shelf 110 (that is, when the orientation cassette 162 is not stored), the injection drug dispensing device 100 includes a cassette holding section 135 as a cassette holding section.

図5の例では、カセット棚110の最下段に、返品薬受入カセット161、中小型返品薬カセット164及び大型返品薬カセット163が保管されており、その一段上の最端部に、非払出薬受入カセット165が保管されている。そして、それ以外の箇所にカセットCaが保管されている。図5では、各種カセットの個数及び配置の一例を示しているにすぎず、各種カセットの個数及び配置は、注射薬払出装置100が設置される病院の取り決め(運用)に従って、適宜設定されればよい。 In the example shown in FIG. 5, a returned medicine receiving cassette 161, a small and medium-sized returned medicine cassette 164, and a large returned medicine cassette 163 are stored at the bottom of the cassette shelf 110, and non-dispensed medicines are stored at the uppermost end of the cassette shelf 110. A receiving cassette 165 is stored. Then, cassettes Ca are stored in other locations. FIG. 5 merely shows an example of the number and arrangement of various cassettes, and the number and arrangement of various cassettes may be appropriately set according to the agreement (operation) of the hospital where the injection drug dispensing device 100 is installed. good.

非払出薬受入カセット165は、返品薬受入カセット161に収容された注射薬のうち、払出不可(又は再利用不可)と判別された注射薬又は物品を受け入れる。非払出薬受入カセット165は、払出対象としてカセット棚110(庫内)に取り込まない注射薬又は物品を収容するカセットであるともいえる。 The non-dispensable drug receiving cassette 165 receives injectable drugs or articles that are determined to be non-dispensable (or non-reusable) among the injectable drugs stored in the returned drug receiving cassette 161. It can also be said that the non-dispensable drug receiving cassette 165 is a cassette that stores injection drugs or articles that are not taken into the cassette shelf 110 (inside the warehouse) as a dispensing target.

具体的には、非払出薬受入カセット165は、返品薬として、払出対象とすることができない注射薬、又は注射薬の形状とは異なる形状を有する物品を受け入れる。払出対象とすることができない注射薬としては、例えば、冷所保存を必要とする注射薬(冷所保存要薬剤)、薬品マスタに登録されていない注射薬(例:新薬)、及び有効期限切れの注射薬が挙げられる。また、上記物品としては、例えば、注射薬が収容された箱(箱入り薬剤)、及び、非払出薬受入カセット165に格納不可能な大きさを有する注射薬又は物品が挙げられる。非払出薬受入カセット165は、返品薬受入カセット161と同様、種々の返品薬又は物品を受入可能なように、特段の仕切り等が無い構成となっている。 Specifically, the non-dispensable medicine receiving cassette 165 accepts, as a returned medicine, an injection that cannot be dispensed or an article having a shape different from that of an injection. Injectable drugs that cannot be subject to withdrawal include, for example, injection drugs that require cold storage (drugs that require cold storage), injection drugs that are not registered in the drug master (e.g. new drugs), and expired drugs. Examples include injectable drugs. Further, examples of the above-mentioned articles include a box containing an injection drug (boxed drug), and an injection drug or article having a size that cannot be stored in the non-dispense drug receiving cassette 165. Like the returned drug receiving cassette 161, the non-dispensable drug receiving cassette 165 is configured without any special partitions so that it can receive various returned drugs or articles.

このように、カセット棚110には、その用途に応じた複数種類のカセットが保管される。具体的には、カセット棚110には、少なくとも、同種の薬剤を収容する特定薬剤収容カセットと、2種類以上の薬剤を、その配置位置を特定した状態で収容する混合薬剤収容カセットと、が保管される。特定薬剤収容カセットは、払出対象となり得る注射薬が収容されるカセットCaである。混合薬剤収容カセットは、配置位置を特定し、かつ整列した状態で返品薬を収容する大型返品薬カセット163及び中小型返品薬カセット164である。 In this way, the cassette shelf 110 stores a plurality of types of cassettes depending on their uses. Specifically, the cassette shelf 110 stores at least specific drug storage cassettes that contain drugs of the same type and mixed drug storage cassettes that contain two or more types of drugs with their placement positions specified. be done. The specific drug storage cassette is a cassette Ca that accommodates injection drugs that can be dispensed. The mixed medicine accommodating cassettes are a large returned medicine cassette 163 and a small and medium sized returned medicine cassette 164, which store returned medicines in a specified arrangement position and in an aligned state.

上述のように、カセットCaのカセット固有情報と、カセットCaに収容された注射薬の種類を示す注射薬識別情報とは、紐付けられて記憶部180に記憶されている。そのため、注射薬払出装置100は、処方データに示される注射薬の種類に基づき、払出対象となる注射薬が収容されたカセットCaを特定すると共に、当該注射薬の形状マスタに基づき、カセットCaに収容された注射薬の吸着位置を特定する。 As described above, the cassette unique information of the cassette Ca and the injection drug identification information indicating the type of injection drug accommodated in the cassette Ca are stored in the storage unit 180 in a linked manner. Therefore, the injection drug dispensing device 100 specifies the cassette Ca containing the injection drug to be dispensed based on the type of injection drug indicated in the prescription data, and also specifies the cassette Ca containing the injection drug to be dispensed based on the shape master of the injection drug. Identify the adsorption position of the contained injection drug.

一方、大型返品薬カセット163又は中小型返品薬カセット164に収容された返品薬については、その配置位置及び種類が紐付けられて記憶部180に記憶されている。そのため、注射薬払出装置100は、処方データに示される注射薬の種類に基づき、払出対象となる返品薬が収容されたカセット、及びその配置位置を特定し、当該配置位置に基づき吸着位置を特定する。 On the other hand, regarding the returned medicines accommodated in the large returned medicine cassette 163 or the small and medium sized returned medicine cassettes 164, the placement position and type thereof are stored in the storage unit 180 in association with each other. Therefore, the injection drug dispensing device 100 specifies the cassette containing the returned drug to be dispensed and its placement position based on the type of injection drug indicated in the prescription data, and specifies the suction position based on the placement position. do.

そのため、注射薬払出装置100は、処方データに示される注射薬の種類に基づき、カセットCa、大型返品薬カセット163又は中小型返品薬カセット164に収容された注射薬(返品薬)を払出すことが可能となる。つまり、注射薬払出装置100は、注射薬の払出動作時には、カセットCa、大型返品薬カセット163及び中小型返品薬カセット164のうちの少なくともいずれかをカセット棚110から取り出し、カセット保持部135に一時的に保持する。その後、処理位置132及び位置変更部126において注射薬払出しのための処理を行う。 Therefore, the injection medicine dispensing device 100 dispenses the injection medicine (return medicine) stored in the cassette Ca, the large return medicine cassette 163, or the small and medium size return medicine cassette 164, based on the type of injection medicine indicated in the prescription data. becomes possible. That is, during the injection dispensing operation, the injection medicine dispensing device 100 takes out at least one of the cassette Ca, the large returned medicine cassette 163, and the small and medium returned medicine cassettes 164 from the cassette shelf 110, and temporarily stores it in the cassette holding part 135. to be maintained. Thereafter, processing for dispensing the injection drug is performed at the processing position 132 and the position changing unit 126.

なお、上述した特定処理は、カセットCa、大型返品薬カセット163又は中小型返品薬カセット164をカセット棚110から取出し、注射薬(返品薬を含む)の種類及び有効期限を特定するまでの処理を少なくとも含むものであってもよい。また、特定処理は、返品薬受入カセット161、大型返品薬カセット163又は中小型返品薬カセット164をカセット棚110から取出し、返品薬の形状を特定するまでの処理を少なくとも含むものであってもよい。 The above-mentioned identification process includes the process from taking out the cassette Ca, the large returned medicine cassette 163, or the small and medium-sized returned medicine cassette 164 from the cassette shelf 110 to identifying the type and expiration date of the injection medicine (including the returned medicine). It may include at least one. Further, the identification process may include at least a process of taking out the returned medicine receiving cassette 161, the large returned medicine cassette 163, or the small and medium sized returned medicine cassette 164 from the cassette shelf 110, and identifying the shape of the returned medicine. .

また、カセット棚110の収容対象となるカセットとしては、方向揃えカセット162も挙げられる。この場合、カセット保持部としては、載置対象がカセットのみであるカセット保持部130が設けられていても、光源136dを備え、載置対象がカセット及び返品薬であるカセット兼薬剤保持部136を備えるカセット保持部135が設けられていても構わない。 Furthermore, the direction alignment cassette 162 is also included as a cassette to be accommodated in the cassette shelf 110. In this case, even if the cassette holder 130 is provided with only cassettes as the cassette holder, the cassette/drug holder 136 is equipped with a light source 136d and the cassettes and returned medicines are placed as the cassette holder. A cassette holding section 135 may be provided.

このように、カセット棚110に保管されるカセットとしては、カセットCa、返品薬受入カセット161、方向揃えカセット162、大型返品薬カセット163、中小型返品薬カセット164、及び非払出薬受入カセット165が挙げられる。つまり、カセット棚110に保管されるm個のカセットは、カセットCaのみに限らず、(1)カセットCaと、(2)返品薬受入カセット161、方向揃えカセット162、大型返品薬カセット163、中小型返品薬カセット164、及び/又は非払出薬受入カセット165とによって構成されても構わない。 As described above, the cassettes stored in the cassette shelf 110 include the cassette Ca, the returned medicine receiving cassette 161, the direction alignment cassette 162, the large returned medicine cassette 163, the small and medium sized returned medicine cassette 164, and the non-dispense medicine receiving cassette 165. Can be mentioned. In other words, the m cassettes stored in the cassette shelf 110 are not limited to only the cassette Ca, but also include (1) the cassette Ca, (2) the returned medicine receiving cassette 161, the direction alignment cassette 162, the large returned medicine cassette 163, and the It may also be configured with a small-sized returned medicine cassette 164 and/or a non-dispense medicine receiving cassette 165.

<注射薬返品時の動作の別例>
次に、注射薬返品時の動作の別例について説明する。図54は、返品薬に対する注射薬払出装置100の動作の別例を示すフローチャートである。
<Another example of the operation when returning injection drugs>
Next, another example of the operation when returning an injection drug will be explained. FIG. 54 is a flowchart showing another example of the operation of the injection medicine dispensing device 100 for returned medicines.

まず、移送制御部191は、カセット移送部140により、返品薬受入カセット161、大型返品薬カセット163、及び中小型返品薬カセット164を、カセット保持部130へ移送する(SG1)。本例では、返品薬受入カセット161、大型返品薬カセット163、及び中小型返品薬カセット164はそれぞれ、カセット受入位置131cに存在するカセット保持部130c、カセット受入位置131bに存在するカセット保持部130b、カセット受入位置131aに存在するカセット保持部130aに載置される。但し、この並び順に限定されない。 First, the transfer control section 191 causes the cassette transfer section 140 to transfer the returned medicine receiving cassette 161, the large returned medicine cassette 163, and the small and medium sized returned medicine cassettes 164 to the cassette holding section 130 (SG1). In this example, the returned medicine receiving cassette 161, the large-sized returned medicine cassette 163, and the small and medium-sized returned medicine cassette 164 each include a cassette holding section 130c located at the cassette receiving position 131c, a cassette holding section 130b located at the cassette receiving position 131b, It is placed on the cassette holding portion 130a located at the cassette receiving position 131a. However, the order is not limited to this.

次に、駆動制御部192は、返品薬受入カセット161、大型返品薬カセット163、中小型返品薬カセット164及びカセット兼薬剤保持部136を処理位置132へ移動させる(SG2)。その後、制御部190は、返品薬受入カセット161、大型返品薬カセット163、及び中小型返品薬カセット164を撮像するために、照明部材128を点灯させる。制御部190は、照明部材128を点灯させた状態でこれらのカセットを撮像した後、照明部材128を消灯する。 Next, the drive control unit 192 moves the returned medicine receiving cassette 161, the large returned medicine cassette 163, the small and medium sized returned medicine cassettes 164, and the cassette/drug holding unit 136 to the processing position 132 (SG2). Thereafter, the control unit 190 turns on the illumination member 128 in order to image the returned medicine receiving cassette 161, the large returned medicine cassette 163, and the small and medium sized returned medicine cassettes 164. The control unit 190 images these cassettes with the illumination member 128 turned on, and then turns off the illumination member 128.

ここで、カセット保持部130a~130cにおいて、カセットCa、返品薬受入カセット161、大型返品薬カセット163及び中小型返品薬カセット164の位置は、カセット保持部130a~130cに載置されるたびに多少ずれる。そのため、制御部190は、これらのカセットが載置されるたびに、処理位置132において当該カセットの画像を撮像し、各カセットの所定位置を基準として、画像座標系(画像座標系を変換した世界座標系)とロボット座標系との位置関係を規定する。これにより、各カセットの位置ずれを補償できるので、吸着位置決定部194は正確な吸着位置を特定できる。また、搬送制御部193は、大型返品薬カセット163及び中小型返品薬カセット164の所定位置に、注射薬を載置できる。 Here, in the cassette holding parts 130a to 130c, the positions of the cassette Ca, the returned medicine receiving cassette 161, the large returned medicine cassette 163, and the small and medium sized returned medicine cassettes 164 change slightly each time they are placed in the cassette holding parts 130a to 130c. It shifts. Therefore, each time these cassettes are placed, the control unit 190 captures an image of the cassette at the processing position 132, and uses the predetermined position of each cassette as a reference to create an image coordinate system (a world in which the image coordinate system is transformed). (coordinate system) and the robot coordinate system. Thereby, the positional deviation of each cassette can be compensated for, so that the suction position determining section 194 can specify an accurate suction position. Further, the transport control unit 193 can place the injection medicine in a predetermined position of the large returned medicine cassette 163 and the small and medium sized returned medicine cassette 164.

なお、方向揃えカセット162が用いられる場合も上記と同様、上記位置関係を規定することで、カセット保持部130dに対する方向揃えカセット162の位置ずれを補償しても構わない。また、大型返品薬カセット163及び中小型返品薬カセット164から返品薬を払出すときも、上記と同様の処理が行われる。 In addition, when the orientation cassette 162 is used, the positional deviation of the orientation cassette 162 with respect to the cassette holding part 130d may be compensated for by defining the above-mentioned positional relationship, as described above. Furthermore, when returning medicines are dispensed from the large-sized returned medicine cassette 163 and the small and medium-sized returned medicine cassettes 164, the same process as described above is performed.

吸着位置決定部194は、位置特定用カメラ122bにより返品薬受入カセット161の内部を撮像し、当該内部を撮像した画像から返品薬の位置(及び向き)を解析して、薬剤搬送部121による吸着位置を決定する(SG3)。吸着位置決定部194は、当該画像の撮像のために照明部材129を点灯し、撮像完了後に消灯する。照明部材129から出射された光は返品薬にて反射する。そのため、撮像した画像における白色領域(光の反射が反映された領域)を返品薬と推定できる。吸着位置決定部194は、撮像した画像における白色領域の略中心を吸着位置として特定する。 The suction position determining unit 194 images the inside of the returned medicine receiving cassette 161 using the position specifying camera 122b, analyzes the position (and orientation) of the returned medicine from the image taken of the inside, and determines whether the medicine can be sucked by the medicine transporting unit 121. Determine the position (SG3). The suction position determining unit 194 turns on the illumination member 129 to capture the image, and turns off the light after the image capturing is completed. The light emitted from the illumination member 129 is reflected by the returned medicine. Therefore, the white area (area where light reflection is reflected) in the captured image can be estimated to be the returned medicine. The suction position determining unit 194 specifies the approximate center of the white area in the captured image as the suction position.

上述したように、カセットCaに収容された注射薬の吸着位置の決定においては、画像の補正処理が行われる。カセットCaの場合、収容されている注射薬の種類は予め決められているので、当該注射薬の注射薬幅情報を用いて吸着位置を算出できる。一方、返品薬受入カセット161には、複数種類の返品薬が混在した状態で収容されている。また、返品薬受入カセット161から返品薬を取出す時点においては、当該返品薬の種類は不明である。そのため、注射薬幅情報を用いて上述した位置ずれの補正を行った上での吸着位置を算出できないので、返品薬受入カセット161から返品薬を取出すときには、返品薬の種類に依らず所定の幅情報(例:幅20mm)を用いて吸着位置を算出しても構わない。 As described above, image correction processing is performed in determining the adsorption position of the injection drug contained in the cassette Ca. In the case of the cassette Ca, since the type of the stored injection drug is determined in advance, the suction position can be calculated using the injection width information of the injection drug. On the other hand, the returned medicine receiving cassette 161 accommodates a plurality of types of returned medicines in a mixed state. Further, at the time of taking out the returned medicine from the returned medicine receiving cassette 161, the type of the returned medicine is unknown. Therefore, since it is not possible to calculate the suction position after correcting the positional deviation described above using the injection width information, when taking out the returned medicine from the returned medicine receiving cassette 161, the predetermined width is used regardless of the type of returned medicine. The suction position may be calculated using information (eg, width 20 mm).

なお、上記処理は、図15のSB3及びSB5において同様に行われても構わない。 Note that the above processing may be performed in the same way at SB3 and SB5 in FIG. 15.

搬送制御部193は、吸着位置決定部194が決定した吸着位置で、薬剤搬送部121により返品薬を吸着し、返品薬受入カセット161からカセット兼薬剤保持部136へ搬送する(SG4)。 The transport control unit 193 adsorbs the returned medicine using the medicine transport unit 121 at the suction position determined by the suction position determining unit 194, and transports the returned medicine from the returned medicine receiving cassette 161 to the cassette-cum-drug holding unit 136 (SG4).

カセット兼薬剤保持部136に返品薬が搬送されると、制御部190は、光源136dを点灯させた後、位置特定用カメラ122bにより、カセット兼薬剤保持部136に載置された返品薬を撮像する。上述したように、光源136dを点灯させることにより、当該返品薬の輪郭が鮮明な画像を撮像できる。そのため、制御部190は、当該画像を解析することにより、薬品の向き(角度0°~360)、形状及び大きさを精度良く特定できる。従って、制御部190は、ステップSG3での撮像時よりも、吸着位置を正確に特定できる。 When the returned medicine is transported to the cassette/drug holding unit 136, the control unit 190 turns on the light source 136d, and then images the returned medicine placed in the cassette/drug holding unit 136 using the position specifying camera 122b. do. As described above, by lighting the light source 136d, an image with a clear outline of the returned medicine can be captured. Therefore, the control unit 190 can accurately identify the orientation (angle 0° to 360 degrees), shape, and size of the drug by analyzing the image. Therefore, the control unit 190 can specify the suction position more accurately than when imaging in step SG3.

このように、注射薬払出装置100では、位置特定用カメラ122bという1つのカメラで撮像された画像を解析することで、返品薬の取出し及び返品薬の形状特定が行われる。 In this manner, in the injection drug dispensing device 100, the return drug is taken out and the shape of the returned drug is identified by analyzing the image captured by one camera, the position specifying camera 122b.

制御部190は、特定した返品薬の形状が、予め記憶部180に記憶された規定形状に準じた形状であるか否かを判定する(SG5)。規定形状とは、注射薬(例:アンプル、バイアル)として一般に想定される大凡の形状を指す。制御部190は、特定した返品薬の形状と規定形状とを照合し、その一致度が所定値以上であれば、当該返品薬の形状が規定形状に準じた形状であると判定する。ここでは、載置された返品薬が、明らかに注射薬とは異なる物品(例:注射薬が収容された箱)であるか否かが判定できればよく、上記所定値は、当該物品と注射薬とを区別できる程度に設定されていればよい。換言すれば、制御部190は、ステップSG5において、カセット兼薬剤保持部136に載置された返品薬が、注射薬そのものであるか、注射薬とは異なる物品であるか否かを判定する。 The control unit 190 determines whether the shape of the specified returned medicine conforms to the prescribed shape stored in advance in the storage unit 180 (SG5). The prescribed shape refers to the general shape generally assumed for injection drugs (eg, ampoules, vials). The control unit 190 compares the shape of the specified returned medicine with the prescribed shape, and if the degree of matching is greater than or equal to a predetermined value, determines that the shape of the returned medicine conforms to the prescribed shape. Here, it is only necessary to determine whether or not the placed returned medicine is an item clearly different from injection drugs (e.g., a box containing injection drugs), and the above predetermined value is It suffices if the setting is set to such an extent that it is possible to distinguish between the two. In other words, in step SG5, the control unit 190 determines whether the returned medicine placed in the cassette/drug holding unit 136 is an injection itself or an item different from an injection.

制御部190が、特定した返品薬の形状が規定形状に準じた形状であると判定した場合(SG5でYES)、搬送制御部193は、制御部190(具体的には吸着位置決定部194)が特定した吸着位置で、薬剤搬送部121により返品薬を吸着する。そして、搬送制御部193は、カセット兼薬剤保持部136から第1搭載部126aへ搬送する(SG6)。 When the control unit 190 determines that the shape of the specified returned drug conforms to the prescribed shape (YES in SG5), the transport control unit 193 controls the control unit 190 (specifically, the suction position determining unit 194) The returned drug is adsorbed by the drug transport unit 121 at the adsorption position specified by. Then, the transport control section 193 transports the cassette/medicine holding section 136 to the first mounting section 126a (SG6).

搬送制御部193は、薬剤搬送部121を制御することで、返品薬の向きが所定方向(例:返品薬の頭部が注射薬払出装置100の手前側)となるように、第1搭載部126aに返品薬を載置する。搬送制御部193は、カセット兼薬剤保持部136に注射薬が載置されたときに特定された返品薬の向きに基づき、返品薬の搬送中に、返品薬の頭部が上記所定方向を向くように調整する。 The transport control unit 193 controls the medicine transport unit 121 so that the returned medicine is oriented in a predetermined direction (for example, the head of the returned medicine is on the front side of the injection medicine dispensing device 100) in the first loading part. The returned medicine is placed on 126a. The transport control unit 193 controls the head of the returned medicine to face the predetermined direction while the returned medicine is being transported, based on the direction of the returned medicine specified when the injection medicine is placed in the cassette/drug holding unit 136. Adjust as follows.

一方、制御部190が、特定した返品薬の形状が規定形状に準じた形状ではないと判定した場合(SG5でNO)、当該返品薬は注射薬とは異なる物品であるため、非払出薬受入カセット165へ収容される対象となる。当該返品薬は、第1搭載部126aに載置できないか、載置できたとしても、その種類及び有効期限を特定できないため、第1搭載部126aに搬送されることなく、非払出薬受入カセット165へ収容される。 On the other hand, if the control unit 190 determines that the shape of the specified returned drug does not conform to the prescribed shape (NO in SG5), the returned drug is a different item from an injection drug, and therefore the non-dispense drug is accepted. It becomes a target to be stored in the cassette 165. The returned medicine cannot be placed on the first loading section 126a, or even if it can be placed, its type and expiration date cannot be determined, so it is not transported to the first loading section 126a and is placed in the non-dispatch medicine receiving cassette. 165.

そのため、ステップSG5でNOの場合、駆動制御部192は、処理位置132に存在する大型返品薬カセット163を、カセット受入位置131へ移動させる。その後、移送制御部191は、カセット受入位置131に移動してきた大型返品薬カセット163をカセット棚110へと戻し、非払出薬受入カセット165をカセット棚110からカセット受入位置131(大型返品薬カセット163が載置されていたカセット受入位置131bに存在するカセット保持部130b)へと移送する。その後、駆動制御部192は、非払出薬受入カセット165を、カセット受入位置131から処理位置132へと移動させる(SG11)。 Therefore, in the case of NO in step SG5, the drive control unit 192 moves the large returned medicine cassette 163 present at the processing position 132 to the cassette receiving position 131. Thereafter, the transfer control unit 191 returns the large returned medicine cassette 163 that has been moved to the cassette receiving position 131 to the cassette shelf 110, and moves the non-dispense medicine receiving cassette 165 from the cassette shelf 110 to the cassette receiving position 131 (large returned medicine cassette 163). is transferred to the cassette holding section 130b) located at the cassette receiving position 131b where the cassette was placed. Thereafter, the drive control unit 192 moves the non-dispense medicine receiving cassette 165 from the cassette receiving position 131 to the processing position 132 (SG11).

非払出薬受入カセット165の処理位置132への移動が完了すると、搬送制御部193は、吸着位置決定部194が特定した吸着位置で、薬剤搬送部121により返品薬を吸着し、カセット兼薬剤保持部136から非払出薬受入カセット165へ搬送する(SG12)。搬送制御部193は、位置特定用カメラ122aによりカセット兼薬剤保持部136の内部を撮像し、撮像した画像を解析することで空き領域を特定する。搬送制御部193は、非払出薬受入カセット165において特定した空き領域に、返品薬を載置する。 When the movement of the non-dispense medicine receiving cassette 165 to the processing position 132 is completed, the transport control unit 193 causes the medicine transport unit 121 to adsorb the returned medicine at the suction position specified by the suction position determining unit 194, and the cassette also serves as a medicine holding unit. 136 to the non-dispense medicine receiving cassette 165 (SG12). The transport control unit 193 captures an image of the inside of the cassette/medicine holding unit 136 using the position specifying camera 122a, and specifies an empty area by analyzing the captured image. The transport control unit 193 places the returned medicine in the empty area specified in the non-dispense medicine receiving cassette 165.

非払出薬受入カセット165への返品薬の搬送が完了すると、移送制御部191及び駆動制御部192により、非払出薬受入カセット165がカセット棚110に戻される。その後、大型返品薬カセット163がカセット保持部130へと移送され、処理位置132まで移動される(SG13)。つまり、ステップSG11の処理前の状態へと戻される。 When the transportation of the returned medicine to the non-dispensable medicine receiving cassette 165 is completed, the non-dispensing medicine receiving cassette 165 is returned to the cassette shelf 110 by the transfer control section 191 and the drive control section 192. Thereafter, the large returned medicine cassette 163 is transferred to the cassette holding section 130 and moved to the processing position 132 (SG13). In other words, the state is returned to the state before the processing in step SG11.

なお本例では、ステップSG11において、非払出薬受入カセット165は大型返品薬カセット163と交換されるが、これに限らず、中小型返品薬カセット164と交換されても構わない。 In this example, in step SG11, the non-dispense medicine receiving cassette 165 is replaced with the large returned medicine cassette 163, but the present invention is not limited to this, and it may be replaced with the small to medium sized returned medicine cassette 164.

ステップSG13の処理後、吸着位置決定部194は、位置特定用カメラ122bにより返品薬受入カセット161の内部を撮像し、撮像した画像を解析することで、返品薬受入カセット161の内部に返品薬が存在するか否かを判定する(SG10)。吸着位置決定部194が、返品薬受入カセット161の内部に返品薬が存在すると判定した場合(SG10でYES)、ステップSG3の処理に戻る。一方、返品薬受入カセット161の内部に返品薬が存在しないと判定した場合には(SG10でNO)、本処理が終了となる。 After the process in step SG13, the suction position determination unit 194 images the inside of the returned medicine receiving cassette 161 with the position specifying camera 122b, and analyzes the captured image to determine whether the returned medicine is inside the returned medicine receiving cassette 161. It is determined whether it exists (SG10). When the suction position determining unit 194 determines that the returned medicine is present inside the returned medicine receiving cassette 161 (YES in SG10), the process returns to step SG3. On the other hand, if it is determined that there is no returned medicine in the returned medicine receiving cassette 161 (NO in SG10), this process ends.

また、ステップSG5でYESの場合、ステップSG6の処理後、第1判別処理部195及び第2判別処理部196は、返品薬を払出対象とすることができるか否かを判別する(SG7)。 Moreover, in the case of YES in step SG5, after the processing in step SG6, the first determination processing unit 195 and the second determination processing unit 196 determine whether the returned medicine can be made a payout target (SG7).

具体的には、第1判別処理部195は、第1搭載部126aへ搬送された返品薬の種類を判別する。第1判別処理部195は、バーコードリーダー123が読み取った返品薬(注射薬)の種類を示す情報を、薬品マスタの注射薬識別情報と照合する。第1判別処理部195は、当該種類を示す情報が薬品マスタの注射薬識別情報と一致した場合、返品薬の種類を当該注射薬識別情報が示す種類に特定する。 Specifically, the first discrimination processing section 195 discriminates the type of returned medicine transported to the first mounting section 126a. The first discrimination processing unit 195 compares the information indicating the type of returned medicine (injection medicine) read by the barcode reader 123 with the injection medicine identification information in the medicine master. If the information indicating the type matches the injection drug identification information of the drug master, the first discrimination processing unit 195 specifies the type of the returned drug as the type indicated by the injection drug identification information.

次に、第1判別処理部195は、種類を特定した返品薬が、薬品マスタにおいて、払出対象とすることができない注射薬(例:冷所保存要薬剤)として指定されているか否かを判別する。第1判別処理部195は、薬品マスタにおいて、払出対象とすることができない注射薬に指定されていない場合、返品薬を払出対象とすることができる注射薬であると判別する。一方、第1判別処理部195は、薬品マスタにおいて、払出対象とすることができない注射薬に指定されている場合、返品薬を払出対象とすることができない注射薬であると判別する。 Next, the first determination processing unit 195 determines whether or not the returned medicine for which the type has been identified is designated in the drug master as an injection drug that cannot be dispensed (e.g., a drug that requires cold storage). do. The first discrimination processing unit 195 determines that the returned medicine is an injection drug that can be dispensed if it is not specified in the medicine master as an injection drug that cannot be dispensed. On the other hand, if the medicine master specifies that the injection drug cannot be made a payout target, the first discrimination processing unit 195 determines that the returned medicine is an injection drug that cannot be made a payout target.

また、第1判別処理部195は、上記の照合において、返品薬の種類を示す情報が薬品マスタの注射薬識別情報と一致しなかった場合(例えば返品薬が新薬である場合)についても、返品薬を払出対象とすることができない注射薬であると判別する。 In addition, the first discrimination processing unit 195 also determines whether the returned drug is a new drug if the information indicating the type of the returned drug does not match the injection drug identification information in the drug master (for example, if the returned drug is a new drug). It is determined that the drug is an injection drug that cannot be dispensed.

なお、払出対象とすることができない注射薬(例:冷所保存要薬剤)を、薬品マスタに登録しておかなくても構わない。この場合、第1判別処理部195は、返品薬が新薬である場合と同様、返品薬が薬品マスタに登録されていないため、返品薬を払出対象とすることができない注射薬であると判別する。 Note that injection drugs that cannot be dispensed (for example, drugs that require cold storage) do not need to be registered in the drug master. In this case, the first discrimination processing unit 195 determines that the returned drug is an injection drug that cannot be paid out because the returned drug is not registered in the drug master, as in the case where the returned drug is a new drug. .

また、ステップSG7において、第2判別処理部196は、期限読み取り用カメラ125によって撮像された返品薬の有効期限が適切であるか否かを判別する。第2判別処理部196は、返品薬の有効期限が適切である場合、返品薬を払出対象とすることができる注射薬であると判別する一方、返品薬の有効期限が適切でない場合、返品薬を払出対象とすることができない注射薬であると判別する。有効期限が適切であるか否かは、例えば当該有効期限とステップSG7を実行している日時とを照合した結果に基づいて判別される。 Further, in step SG7, the second determination processing unit 196 determines whether the expiration date of the returned medicine imaged by the expiration reading camera 125 is appropriate. If the expiration date of the returned medicine is appropriate, the second discrimination processing unit 196 determines that the returned medicine is an injection drug that can be dispensed. is determined to be an injection drug that cannot be dispensed. Whether or not the expiration date is appropriate is determined, for example, based on the result of comparing the expiration date with the date and time when step SG7 is executed.

第1判別処理部195及び第2判別処理部196は、
(1)返品薬が薬品マスタに登録されており、
(2)薬品マスタにおいて、払出対象とすることができない注射薬に指定されておらず、かつ、
(3)有効期限が適切である
と判別したした場合に、返品薬を払出対象とすることができると判別する。第1判別処理部195及び第2判別処理部196がこのように判別した場合(SG7でYES)、搬送制御部193は、薬剤搬送部121により、返品薬を大きさに基づいて大型返品薬カセット163又は中小型返品薬カセット164へ搬送する(SG8)。その後、第1判別処理部195が返品薬の種類を、搬送制御部193が返品薬の位置(配置位置)を、それぞれ記憶部180に記憶する(SG9)。その後、ステップSG10の処理に移行する。
The first discrimination processing unit 195 and the second discrimination processing unit 196 are
(1) The returned medicine is registered in the drug master,
(2) In the drug master, it is not designated as an injectable drug that cannot be dispensed, and
(3) If it is determined that the expiration date is appropriate, it is determined that the returned medicine can be made a payout target. When the first discrimination processing section 195 and the second discrimination processing section 196 make such a discrimination (YES in SG7), the transportation control section 193 causes the medicine transportation section 121 to transfer the returned medicine into a large returned medicine cassette based on the size. 163 or the small and medium-sized returned medicine cassette 164 (SG8). Thereafter, the first discrimination processing unit 195 stores the type of the returned medicine, and the transport control unit 193 stores the position (arrangement position) of the returned medicine in the storage unit 180 (SG9). Thereafter, the process moves to step SG10.

なお、ステップSG8において、大型返品薬カセット163又は中小型返品薬カセット164に返品薬を載置するときに、返品薬に付されたバーコードを上向きにしておく必要は無い。返品薬の払出動作時には、大型返品薬カセット163又は中小型返品薬カセット164から返品薬を取出すときに返品薬の種類を確認せず、第1搭載部126aにおいてその確認が行われるためである。 Note that when placing the returned medicine in the large returned medicine cassette 163 or the small and medium sized returned medicine cassette 164 in step SG8, it is not necessary to keep the barcode attached to the returned medicine facing upward. This is because during the operation of dispensing the returned medicine, the type of the returned medicine is not checked when taking out the returned medicine from the large returned medicine cassette 163 or the small and medium sized returned medicine cassette 164, but the confirmation is performed in the first loading section 126a.

一方、第1判別処理部195及び第2判別処理部196は、
(1)返品薬が薬品マスタに登録されていないか、
(2)返品薬が薬品マスタに登録されていたとしても、薬品マスタにおいて、払出対象とすることができない注射薬に指定されているか、又は、
(3)有効期限が適切でない
と判別したした場合に、返品薬を払出対象とすることができないと判別する。第1判別処理部195及び第2判別処理部196がこのように判別した場合(SG7でNO)、ステップSG11の処理に移行する。
On the other hand, the first discrimination processing section 195 and the second discrimination processing section 196
(1) Is the returned drug not registered in the drug master?
(2) Even if the returned medicine is registered in the drug master, it is designated as an injection drug that cannot be discharged in the drug master, or
(3) If it is determined that the expiration date is not appropriate, it is determined that the returned medicine cannot be eligible for payment. When the first discrimination processing section 195 and the second discrimination processing section 196 make such a discrimination (NO in SG7), the process moves to step SG11.

このように、ステップSG7における判別処理により、返品薬が注射薬であったとしても、上記のような払出対象とすることができない返品薬を払出さないように、非払出薬受入カセット165に収容できる。つまり、注射薬払出装置100は、(1)返品薬が注射薬そのものでない場合にはカセット兼薬剤保持部136において、(2)返品薬が注射薬であっても、払出対象とすることができない場合には第1搭載部126aにおいて、当該返品薬を払出対象から除外するために、非払出薬受入カセット165に収容できる。 In this way, through the determination process in step SG7, even if the returned medicine is an injection medicine, it is stored in the non-dispensable medicine receiving cassette 165 so as not to dispense the returned medicine that cannot be dispensed as described above. can. In other words, the injection drug dispensing device 100 (1) in the case where the returned drug is not an injection itself, in the cassette/medicine holding unit 136; (2) even if the returned drug is an injection, it cannot be treated as a dispensing target; In this case, the returned medicine can be stored in the non-dispensing medicine receiving cassette 165 in the first loading section 126a in order to exclude the returned medicine from the dispensing target.

なお、大型返品薬カセット163又は中小型返品薬カセット164における返品薬の配置位置(載置位置)の特定は、公知の手法が用いられてよい。例えば、搬送制御部193は、これまでに配置した返品薬の配置位置、当該返品薬の大きさ及び形状を示す、各カセットにおける返品薬の格納情報と、今回配置対象とする返品薬の大きさ及び形状とに基づき、今回配置対象とする返品薬の配置位置を特定する。これまでに配置した返品薬の配置位置からできるだけ近い空き領域を、今回配置対象とする注射薬の配置位置として特定しても構わない。返品薬の大きさ及び形状としては、カセット兼薬剤保持部136に注射薬が載置されたときに特定された情報を用いればよい。なお、非払出薬受入カセット165における返品薬の配置位置の特定についても、同様の手法で行われても構わない。 Note that a known method may be used to specify the placement position (placement position) of the returned medicine in the large returned medicine cassette 163 or the small and medium returned medicine cassette 164. For example, the transport control unit 193 stores information on storing the returned medicine in each cassette, which indicates the placement position of the returned medicine placed so far, the size and shape of the returned medicine, and the size of the returned medicine to be placed this time. Based on the information and the shape, the location of the returned medicine to be placed this time is specified. An empty area as close as possible to the placement position of the returned medicine placed so far may be specified as the placement position of the injection drug to be placed this time. As for the size and shape of the returned medicine, the information specified when the injection medicine is placed on the cassette/drug holding section 136 may be used. Note that the same method may be used to specify the placement position of the returned medicine in the non-dispense medicine receiving cassette 165.

また、ステップSG2では、カセット保持部130a~130cに載置された全カセット、及びカセット兼薬剤保持部136を、カセット受入位置131から処理位置132へと移動させているが、これに限られない。図15を用いて説明した処理と同様、ステップSG2においては、返品薬受入カセット161及びカセット兼薬剤保持部136のみを処理位置132へと移動させても構わない。この場合、ステップSG8において、返品薬の載置対象となる大型返品薬カセット163又は中小型返品薬カセット164を処理位置132へと移動させてもよい。 Furthermore, in step SG2, all the cassettes placed in the cassette holding sections 130a to 130c and the cassette/drug holding section 136 are moved from the cassette receiving position 131 to the processing position 132, but the present invention is not limited thereto. . Similar to the process described using FIG. 15, in step SG2, only the returned medicine receiving cassette 161 and the cassette/drug holding section 136 may be moved to the processing position 132. In this case, in step SG8, the large returned medicine cassette 163 or the small and medium sized returned medicine cassette 164 on which the returned medicine is placed may be moved to the processing position 132.

<返品薬の払出動作>
また、図15の説明において付言したように、処方データに、大型返品薬カセット163又は中小型返品薬カセット164に収容されている注射薬が含まれている場合、注射薬払出装置100は、返品薬を再利用することができる。
<Dispensing operation of returned medicines>
Further, as mentioned in the explanation of FIG. 15, when the prescription data includes an injection stored in the large return drug cassette 163 or the small and medium return drug cassette 164, the injection drug dispensing device 100 Medicines can be reused.

上述したように、記憶部180には、大型返品薬カセット163又は中小型返品薬カセット164と、当該大型返品薬カセット163又は中小型返品薬カセット164に収容された返品薬との対応関係を示す対応関係データが記憶されている。具体的には、対応関係データは、大型返品薬カセット163又は中小型返品薬カセット164と、大型返品薬カセット163又は中小型返品薬カセット164に収容された返品薬の種類(及びその配置位置)との対応関係を示すデータが含まれている。つまり、記憶部180には、1つの混合薬剤収容カセットに複数種類の返品薬が収容されている場合、当該混合薬剤収容カセットを示すカセット固有情報と、収容された複数種類の返品薬のそれぞれを示す注射薬識別情報とが対応付けて記憶されている。 As described above, the storage unit 180 shows the correspondence between the large returned medicine cassette 163 or the small and medium sized returned medicine cassette 164 and the returned medicine stored in the large returned medicine cassette 163 or the small and medium sized returned medicine cassette 164. Correspondence data is stored. Specifically, the correspondence data includes the large returned medicine cassette 163 or the small and medium-sized returned medicine cassette 164, and the type of returned medicine stored in the large returned medicine cassette 163 or the small and medium-sized returned medicine cassette 164 (and its placement position). Contains data indicating the correspondence relationship with That is, when a plurality of types of returned medicines are stored in one mixed medicine storage cassette, the storage unit 180 stores cassette-specific information indicating the mixed medicine storage cassette and each of the plurality of stored returned medicines. The injection drug identification information shown in FIG.

処方データに基づき返品薬を払出す場合、移送制御部191は、記憶部180に記憶されている対応関係データを参照することで、払出対象の返品薬を収容する大型返品薬カセット163又は中小型返品薬カセット164を一意に特定する。そのため、移送制御部191は、払出対象の返品薬を収容する大型返品薬カセット163又は中小型返品薬カセット164をカセット棚110から取出し、カセット保持部135(又はカセット保持部130)へと移送する。また、搬送制御部193は、例えば対応関係データを参照することで、払出対象の返品薬の、大型返品薬カセット163又は中小型返品薬カセット164における配置位置を一意に特定し、当該返品薬を第1搭載部126aへ搬送する。その後、注射薬払出装置100は、上述したステップSA5以降の処理(図14参照)を実行する。 When dispensing returned medicines based on prescription data, the transfer control unit 191 refers to the correspondence data stored in the storage unit 180 to determine whether the returned medicine cassette 163 is large or medium-sized and which accommodates the returned medicine to be dispensed. The returned medicine cassette 164 is uniquely identified. Therefore, the transfer control unit 191 takes out the large-sized returned medicine cassette 163 or the small-medium-sized returned medicine cassette 164 containing the returned medicine to be dispensed from the cassette shelf 110, and transfers it to the cassette holding unit 135 (or the cassette holding unit 130). . Further, the transport control unit 193 uniquely identifies the placement position of the returned medicine to be dispensed in the large returned medicine cassette 163 or the small and medium returned medicine cassette 164 by referring to the correspondence relationship data, for example, and It is transported to the first mounting section 126a. Thereafter, the injection drug dispensing device 100 executes the processes from step SA5 described above (see FIG. 14).

このように、注射薬払出装置100は、返品薬を払出す場合、払出対象となる返品薬の種類毎に、当該返品薬が収容された混合薬剤収容カセットを特定すると共に、特定した混合薬剤収容カセットにおける配置位置を特定する。つまり、記憶部180には、返品薬を払出すために、混合薬剤収容カセットに収容された返品薬の種類と配置位置とを情報として記憶しておく必要がある。 In this way, when dispensing returned medicines, the injection medicine dispensing device 100 specifies the mixed medicine storage cassette containing the returned medicines for each type of returned medicine to be dispensed, and also specifies the mixed medicine storage cassette containing the returned medicines. Identify the placement position in the cassette. That is, in order to dispense the returned medicine, the storage unit 180 needs to store the type and placement position of the returned medicine contained in the mixed medicine storage cassette as information.

一方、カセットCaには予め決められた種類の注射薬が収容されている。そのため、注射薬払出装置100は、注射薬を払出す場合、払出対象の注射薬が収容されたカセットCaを特定すれば、当該カセットCaに収容された複数の注射薬のうち、どの注射薬を取出しても構わない。つまり、記憶部180には、注射薬を払出すために、特定薬剤収容カセットに収容された注射薬の種類を情報として記憶しておけばよく、特定薬剤収容カセットにおける注射薬の配置位置を情報として記憶しておく必要はない。 On the other hand, a predetermined type of injection medicine is stored in the cassette Ca. Therefore, when dispensing an injectable drug, the injectable drug dispensing device 100 specifies the cassette Ca containing the injectable drug to be dispensed, and selects which injectable drug among the plurality of injectable drugs accommodated in the cassette Ca. You can take it out. In other words, in order to dispense the injection, the storage unit 180 only needs to store the type of injection contained in the specific drug storage cassette as information, and the location of the injection in the specific drug storage cassette as information. There is no need to remember it as.

なお、カセットCaと、大型返品薬カセット163又は中小型返品薬カセット164とに同種の注射薬が収容されている場合、カセットCaに収容された注射薬を払出すか、大型返品薬カセット163又は中小型返品薬カセット164に収容された注射薬(返品薬)を払出すかについては、任意に設定できる。制御部190は、例えばカセットCaが欠品であると判別した場合に、大型返品薬カセット163又は中小型返品薬カセット164に収容された返品薬を払出しても構わない。また、大型返品薬カセット163又は中小型返品薬カセット164に収容された返品薬が存在する場合には、当該返品薬を優先的に払出対象としても構わない。 In addition, when the same type of injection medicine is stored in the cassette Ca and the large returned medicine cassette 163 or the small and medium-sized returned medicine cassette 164, the injection medicine stored in the cassette Ca is dispensed, or the large returned medicine cassette 163 or the medium-sized returned medicine cassette Whether or not to dispense the injection medicine (returned medicine) stored in the small returned medicine cassette 164 can be set arbitrarily. For example, when the control unit 190 determines that the cassette Ca is out of stock, the control unit 190 may dispense the returned medicine stored in the large returned medicine cassette 163 or the small and medium sized returned medicine cassette 164. Further, if there is a returned medicine stored in the large returned medicine cassette 163 or the small and medium sized returned medicine cassette 164, the returned medicine may be given priority as a payout target.

また、本明細書において、払出対象となる注射薬を収容可能なカセットCaに関する説明を、払出対象となる返品薬を収容可能な大型返品薬カセット163又は中小型返品薬カセット164に関する説明として適用することも可能である。例えば、本明細書において説明した、予め決められた注射薬が収容されたカセットCaから注射薬を払出す場合の処理は、大型返品薬カセット163又は中小型返品薬カセット164から返品薬を払出す場合の処理にも適用可能である。例えば、上記〔注射薬の取出しに係る具体的処理〕において説明した、カセットCaからの注射薬の取出しに係る処理は、返品薬の払出時における、大型返品薬カセット163又は中小型返品薬カセット164からの返品薬の取出しに係る処理にも適用可能である。 In addition, in this specification, the explanation regarding the cassette Ca that can accommodate the injection drug to be dispensed is applied as the explanation regarding the large-sized returned medicine cassette 163 or the small and medium-sized returned medicine cassette 164 that can accommodate the returned medicine to be dispensed. It is also possible. For example, in the case of dispensing an injection drug from a cassette Ca containing a predetermined injection drug, as described in this specification, the returned drug is dispensed from a large-sized returned medicine cassette 163 or a small and medium-sized returned medicine cassette 164. It is also applicable to the treatment of cases. For example, the process related to taking out the injection drug from the cassette Ca explained in the above [Specific process related to taking out the injection drug] is performed when the large returned medicine cassette 163 or the small and medium sized returned medicine cassette 164 is used when dispensing the returned medicine. The present invention can also be applied to processing related to the removal of returned medicines.

<その他>
返品薬受入カセット161、大型返品薬カセット163、中小型返品薬カセット164及び非払出薬受入カセット165には、カセットCaと同様、これらのカセットを識別するためのカセット固有情報が付与されている。また、カセット固有情報と、これらのカセットがカセット棚110に保管される保管位置を示す保管位置情報とが紐付けられている。さらに、これらのカセットには、カセットCaと同様、カセット固有情報を示す第1バーコードBC1が付されている(図26参照)。
<Others>
The returned medicine receiving cassette 161, the large returned medicine cassette 163, the small and medium sized returned medicine cassette 164, and the non-dispense medicine receiving cassette 165 are given cassette-specific information for identifying these cassettes, like the cassette Ca. Further, the cassette specific information is linked to storage position information indicating the storage position where these cassettes are stored on the cassette shelf 110. Furthermore, like the cassette Ca, a first barcode BC1 indicating cassette-specific information is attached to these cassettes (see FIG. 26).

そのため、カセットの取出し時に、バーコードリーダー146(図27参照)が、第1バーコードBC1が示すカセット固有情報を読み出すことで、移送制御部191は、上記カセットが適切な位置に保管されているか否かを判定できる。 Therefore, when the cassette is taken out, the barcode reader 146 (see FIG. 27) reads the cassette-specific information indicated by the first barcode BC1, so that the transfer control unit 191 can check whether the cassette is stored in an appropriate position. It can be determined whether or not.

また、返品薬の返品動作又は払出動作の途中で、大型返品薬カセット163又は中小型返品薬カセット164をユーザが抜いてしまった場合、当該カセットに対応付けて記憶された注射薬に関する情報(例:注射薬の種類、配置位置)の信頼度は低下する。そのため、制御部190は、大型返品薬カセット163又は中小型返品薬カセット164が抜き出されたと判定した場合、当該カセットについての返品薬に関する情報をリセットする。また、制御部190は、当該カセットに収容されている注射薬を取出す旨の指示画像を、タッチパネル210(図28参照)に表示する。なお、カセットの抜差しは、カセット移送部140に設けられたセンサ(不図示)により特定できる。 In addition, if the user pulls out the large returned medicine cassette 163 or the small and medium sized returned medicine cassette 164 during the return operation or dispensing operation of the returned medicine, information regarding the injection drug stored in association with the cassette (e.g. : Reliability of injection drug type, location) decreases. Therefore, when the control unit 190 determines that the large returned medicine cassette 163 or the small and medium returned medicine cassette 164 has been extracted, it resets the information regarding the returned medicine for the cassette. Further, the control unit 190 displays an instruction image on the touch panel 210 (see FIG. 28) to remove the injection drug contained in the cassette. Note that insertion and removal of the cassette can be determined by a sensor (not shown) provided in the cassette transfer section 140.

ユーザは、大型返品薬カセット163又は中小型返品薬カセット164から返品薬を取出し、カセット棚110に戻した後、使用可否判定を行うためのユーザ入力を行う。制御部190は、当該カセットをカセット棚110からカセット保持部130に移動させ、処理位置132において当該カセットを撮像する。当該カセットの内部に返品薬が載置されていないと判定できた場合、当該カセットが使用可能な状態であると判定する。 The user takes out the returned medicine from the large returned medicine cassette 163 or the small and medium sized returned medicine cassette 164, returns it to the cassette shelf 110, and then performs user input for determining whether or not it can be used. The control unit 190 moves the cassette from the cassette shelf 110 to the cassette holding unit 130 and images the cassette at the processing position 132. If it is determined that no returned medicine is placed inside the cassette, it is determined that the cassette is ready for use.

なお、大型返品薬カセット163又は中小型返品薬カセット164から取出された返品薬は、返品薬受入カセット161に戻されることで、再度返品の対象となる。 In addition, the returned medicine taken out from the large returned medicine cassette 163 or the small and medium sized returned medicine cassette 164 is returned to the returned medicine receiving cassette 161, so that it becomes a return target again.

<方向揃えカセット162を用いた場合の注射薬返品時の動作の別例>
なお、上述してきた処理は、カセット兼薬剤保持部136に返品薬を直接載置する場合に限らず、方向揃えカセット162を用いた場合にも適用可能である。つまり、上記の処理は、図15に示すフローチャートに示す処理の別例であるともいえる。
<Another example of the operation when returning an injection drug when using the direction alignment cassette 162>
Note that the process described above is applicable not only to the case where the returned medicine is placed directly on the cassette-cum-drug holding section 136 but also to the case where the direction alignment cassette 162 is used. In other words, the above process can be said to be another example of the process shown in the flowchart shown in FIG.

<表示画像例>
次に、表示画像例について、図55を用いて説明する。図55は、タッチパネル210(図28参照)に表示される画像の例を示す図である。タッチパネル210には、例えば、カセット棚110に保管されているカセットに関する情報を表示する画像Img1が表示される。
<Display image example>
Next, an example of a display image will be described using FIG. 55. FIG. 55 is a diagram showing an example of an image displayed on the touch panel 210 (see FIG. 28). For example, an image Img1 that displays information regarding the cassettes stored on the cassette shelf 110 is displayed on the touch panel 210.

画像Img1には、例えば、カセット棚110におけるカセットの収容状況を表示する収容状況表示領域Ar1が含まれる。 The image Img1 includes, for example, a housing status display area Ar1 that displays the housing status of cassettes on the cassette shelf 110.

収容状況表示領域Ar1は、カセット棚110に収容されているカセットのレイアウトを模式的に示しており、カセット棚110の各位置に、どの種類のカセットが割り付けられているかについて、視覚的な認識を可能としている。 The housing status display area Ar1 schematically shows the layout of the cassettes stored on the cassette shelf 110, and allows visual recognition of which type of cassette is assigned to each position on the cassette shelf 110. It is possible.

図55において、一部のカセットを示す画像には、「返」、「S」、「L」、および「NG」といったアイコンが付されている。「返」は、返品された注射薬を収容するカセット(返品薬受入カセット161)であることを示すアイコンである。「S」は、小型または中型の注射薬を収容するカセット(中小型返品薬カセット164)であることを示すアイコンである。「L」は、大型の注射薬を収容するカセット(大型返品薬カセット163)であることを示すアイコンである。「NG」は、払出不可と判別された注射薬又は物品を収容するカセット(非払出薬受入カセット165)であることを示すアイコンである。また、アイコンが付されていないカセットを示す画像は、予め決められた、払出対象となり得る注射薬が収容されるカセット(カセットCa)であることを示している。 In FIG. 55, icons such as "return", "S", "L", and "NG" are attached to images showing some cassettes. “Return” is an icon indicating that the cassette (returned medicine receiving cassette 161) is for storing returned injection medicines. "S" is an icon indicating that it is a cassette (medium-sized and small-sized returned medicine cassette 164) that accommodates a small or medium-sized injection drug. "L" is an icon indicating that it is a cassette (large return medicine cassette 163) that accommodates a large injection drug. “NG” is an icon indicating that the cassette is a cassette (non-dispensable medicine receiving cassette 165) that accommodates an injection drug or article determined to be non-dispensable. Further, an image showing a cassette without an icon indicates that the cassette (cassette Ca) stores a predetermined injection drug that can be dispensed.

また、画像Img1には、例えば、各カセットに含まれる注射薬に関する情報を表示するカセット情報表示領域Ar2が含まれる。 Further, the image Img1 includes, for example, a cassette information display area Ar2 that displays information regarding the injection drug contained in each cassette.

カセット情報表示領域Ar2は、カセットCaに収容されている単一の種類の注射薬の名称及び収容数(在庫数)等について、視覚的な認識を可能としている。また、カセット情報表示領域Ar2は、分割部材SPによりカセットCaが複数の分割領域に分割されている場合には(図26及び図50参照)、各分割領域に収容されている注射薬の名称及び収容数等について、視覚的な認識を可能としている。図55においては、棚No.4及び5に保管されたカセットCaには2つの分割領域が存在しており、各分割領域について、収容されている注射薬に関する情報が表示されている。 The cassette information display area Ar2 allows visual recognition of the name and number of single types of injection medicines contained in the cassette Ca (number in stock), etc. In addition, when the cassette Ca is divided into a plurality of divided regions by the dividing member SP (see FIGS. 26 and 50), the cassette information display area Ar2 also displays the name of the injection medicine stored in each divided region and This makes it possible to visually recognize the number of things that can be accommodated. In FIG. 55, shelf No. There are two divided areas in the cassettes Ca stored in cassettes 4 and 5, and information regarding the stored injection drug is displayed for each divided area.

また、カセットに収容されている注射薬の数に応じて、収容状況表示領域Ar1に表示されたカセットの画像を色分けして示してもよい。この場合、ユーザは、各カセットに収容されている注射薬の数を視覚的に認識できる。図55においては、色分けの例が、色分表示領域Ar3に示されている。 Furthermore, the images of the cassettes displayed in the storage status display area Ar1 may be shown in different colors depending on the number of injection drugs stored in the cassettes. In this case, the user can visually recognize the number of injections contained in each cassette. In FIG. 55, an example of color division is shown in the color division display area Ar3.

〔輸液ラベル払出装置の別例〕
次に、輸液ラベル払出装置400の別例について、図56及び図57を用いて説明する。図56は、輸液ラベル払出装置400が備える輸液ラベル受取部403の別例である輸液ラベル受取部413を示す図であって、(a)は斜視図であり、(b)は正面図である。図57の(a)~(d)は、輸液ラベルの搬送例について説明するための図である。
[Another example of infusion label dispensing device]
Next, another example of the infusion label dispensing device 400 will be described using FIGS. 56 and 57. FIG. 56 is a diagram showing an infusion label receiving section 413 which is another example of the infusion label receiving section 403 included in the infusion label dispensing device 400, in which (a) is a perspective view and (b) is a front view. . (a) to (d) of FIG. 57 are diagrams for explaining an example of transportation of an infusion label.

図56の(a)および(b)に示すように、輸液ラベル受取部413は、底部413bから立設した側壁413cによって、輸液ラベル受取部413に輸液ラベルを収容する空間が形成されている。また、側壁413cによって、第1本体部402から輸液ラベルを受取り、かつ、輸液ラベル搬送機構700の輸液ラベル把持部701が輸液ラベルを抜取るための開口部413aが形成されている。また、側壁413cによって、輸液ラベル把持部701が備える一対の爪部702の開閉動作を可能とするための間隙部413dが形成されている。なお、第1本体部402、輸液ラベル搬送機構700の輸液ラベル把持部701及び爪部702については、例えば図41及び図43を参照されたい。 As shown in FIGS. 56(a) and 56(b), the infusion label receiving portion 413 has a side wall 413c that stands up from the bottom 413b to form a space in which the infusion label is accommodated. Further, the side wall 413c forms an opening 413a through which the infusion label is received from the first body part 402 and through which the infusion label gripping section 701 of the infusion label transport mechanism 700 extracts the infusion label. Furthermore, a gap portion 413d is formed by the side wall 413c to enable opening and closing operations of the pair of claw portions 702 provided in the infusion label gripping portion 701. For the first main body part 402, the infusion label gripping part 701, and the claw part 702 of the infusion label transport mechanism 700, see, for example, FIGS. 41 and 43.

底部413bは、輸液ラベル払出装置400に取り付けられた状態において、輸液ラベル受取部413に収容される輸液ラベルの幅方向に沿って、水平面に対して傾斜している点で輸液ラベル受取部403の底部403bと相違する。なお、輸液ラベル受取部413は、傾斜のない底部の内側に、傾斜を持たせるためのアタッチメントが配された構成を有していても構わない。 The bottom part 413b is inclined with respect to the horizontal plane along the width direction of the infusion label accommodated in the infusion label receiving part 413 when it is attached to the infusion label receiving part 400. It is different from the bottom portion 403b. In addition, the infusion label receiving part 413 may have a structure in which an attachment for giving an inclination is arranged inside the bottom part without an inclination.

ここで本実施形態では、輸液ラベル払出装置400は、注射薬払出システム1で使用される輸液容器の大きさにあわせて、小型の輸液ラベルLS、及び大型の輸液ラベルLLの何れかを払出す。輸液ラベルLS及び輸液ラベルLLの、横方向(輸液ラベルを払出す方向と略垂直な方向;幅方向)の長さは同じであるが、縦方向(輸液ラベルを払出す方向)の長さは異なる。また、輸液ラベル把持部701が、搬送トレイ151aの上で輸液ラベルをリリースする位置(爪部702を開くことで、把持を解除する位置)は、輸液ラベルの大きさに依らず一定であるものとする。 Here, in this embodiment, the infusion label dispensing device 400 dispenses either a small infusion label LS or a large infusion label LL according to the size of the infusion container used in the injection drug dispensing system 1. . The length of the infusion label LS and the infusion label LL in the horizontal direction (direction approximately perpendicular to the direction in which the infusion label is dispensed; width direction) is the same, but the length in the vertical direction (direction in which the infusion label is dispensed) is the same. different. Further, the position at which the infusion label gripping section 701 releases the infusion label on the transport tray 151a (the position at which the grip is released by opening the claw section 702) is constant regardless of the size of the infusion label. shall be.

図57の(a)は、輸液ラベル受取部403に収容された輸液ラベルLSを輸液ラベル把持部701が抜取り、搬送トレイ151a内の小型トレイ151bに載置する工程を示す図である。輸液ラベル受取部403の底部403bは傾斜していないため、輸液ラベル把持部701は、輸液ラベルLSの下端が小型トレイ151bの底面に略平行な状態で、当該輸液ラベルLSを輸液ラベル受取部403から抜き取る。その後、輸液ラベル把持部701は、小型トレイ151bの上方へ移動し、その位置において輸液ラベルLSをリリースすることで、当該輸液ラベルLSを落下させ、小型トレイ151bに載置する。なお、輸液ラベルLLについても同様に小型トレイ151bに載置される。 FIG. 57(a) is a diagram showing a process in which the infusion label LS accommodated in the infusion label receiving unit 403 is taken out by the infusion label gripping unit 701 and placed on the small tray 151b within the transport tray 151a. Since the bottom portion 403b of the infusion label receiving portion 403 is not inclined, the infusion label gripping portion 701 holds the infusion label LS into the infusion label receiving portion 403 with the lower end of the infusion label LS substantially parallel to the bottom surface of the small tray 151b. extract it from Thereafter, the infusion label gripping section 701 moves above the small tray 151b and releases the infusion label LS at that position, thereby dropping the infusion label LS and placing it on the small tray 151b. Note that the infusion label LL is similarly placed on the small tray 151b.

図57の(a)には、輸液ラベル把持部701により小型トレイ151bの上方で把持された状態の輸液ラベルLLが、破線で示されている。図57の(a)に示すように、輸液ラベルLSを小型トレイ151bに載置する場合における、輸液ラベルLSの下端から小型トレイ151bの底面までの距離h1は、輸液ラベルLLを小型トレイ151bに載置する場合における、輸液ラベルLLの下端から小型トレイ151bの底面までの距離h2よりも長くなる。そのため、輸液ラベルLSを小型トレイ151bに載置する場合には、輸液ラベルLLを小型トレイ151bに載置する場合と比較して、輸液ラベルLSが落下する過程で載置位置にズレが生じる、又は裏返る虞が大きくなる。 In FIG. 57(a), the infusion label LL held above the small tray 151b by the infusion label gripping section 701 is shown by a broken line. As shown in FIG. 57(a), when the infusion label LS is placed on the small tray 151b, the distance h1 from the lower end of the infusion label LS to the bottom of the small tray 151b is the distance h1 when the infusion label LS is placed on the small tray 151b. It is longer than the distance h2 from the lower end of the infusion label LL to the bottom surface of the small tray 151b when placed. Therefore, when placing the infusion label LS on the small tray 151b, compared to placing the infusion label LL on the small tray 151b, the placement position may shift during the process of the infusion label LS falling. Or there is a greater possibility that it will turn over.

図57の(b)は、輸液ラベル受取部413に収容された輸液ラベルLSを輸液ラベル把持部701が抜取り、搬送トレイ151a内の小型トレイ151bに載置する工程を示す図である。輸液ラベル受取部413の底部413bは、水平面に対して角度α分傾斜している。そのため、輸液ラベル把持部701は、輸液ラベルLSの下端が小型トレイ151bの底面に対して角度α分傾斜した状態で、輸液ラベルLSを輸液ラベル受取部413から抜き取り、小型トレイ151bに載置する。 FIG. 57(b) is a diagram showing a process in which the infusion label gripping section 701 extracts the infusion label LS stored in the infusion label receiving section 413 and places it on the small tray 151b within the transport tray 151a. The bottom portion 413b of the infusion label receiving portion 413 is inclined at an angle α with respect to the horizontal plane. Therefore, the infusion label gripping section 701 pulls out the infusion label LS from the infusion label receiving section 413 and places it on the small tray 151b with the lower end of the infusion label LS inclined by an angle α with respect to the bottom surface of the small tray 151b. .

角度αは、図57の(b)に示すように、小型トレイ151bの上方において輸液ラベル把持部701に把持された状態の輸液ラベルLSの下端から小型トレイ151bの底面までの距離が、上述した距離h2に等しくなるように決定されている。そのため、輸液ラベルLSを小型トレイ151bに載置する場合に、輸液ラベル把持部701が輸液ラベルLSを輸液ラベル受取部403から抜き取る場合と比較して、落下の過程で載置位置にズレが生じる、又は裏返る虞が低減される。 As shown in FIG. 57(b), the angle α is the distance from the lower end of the infusion label LS held by the infusion label gripping section 701 above the small tray 151b to the bottom surface of the small tray 151b. It is determined to be equal to the distance h2. Therefore, when placing the infusion label LS on the small tray 151b, the placement position shifts during the falling process compared to when the infusion label gripping section 701 pulls out the infusion label LS from the infusion label receiving section 403. , or the risk of turning over is reduced.

図57の(c)及び(d)は、角度αの決定方法について説明するための図である。図57の(c)には、長辺が水平面に対して角度α分傾斜した状態の輸液ラベルLSが実線で示されている。また、長辺が水平面に対して傾斜していない状態の輸液ラベルLSが、破線で示されている。 (c) and (d) of FIG. 57 are diagrams for explaining a method for determining the angle α. In FIG. 57(c), the infusion label LS with the long side inclined by an angle α with respect to the horizontal plane is shown by a solid line. Furthermore, the infusion label LS whose long sides are not inclined with respect to the horizontal plane is shown by a broken line.

図57の(c)に示すように、輸液ラベルLSが輸液ラベル受取部413に収容されている場合、輸液ラベルLSの上端から下端までの鉛直方向における距離は、輸液ラベルLSが輸液ラベル受取部403に収容されている場合における当該距離と比較して、距離h3分長くなる。輸液ラベル把持部701に把持された状態の輸液ラベルLSの下端から小型トレイ151bの底面までの距離が、図57の(a)における距離h2に等しくなるためには、距離h3が、距離h1とh2との差に等しくなるように、角度αを決定すればよい。 As shown in FIG. 57(c), when the infusion label LS is housed in the infusion label receiving part 413, the distance in the vertical direction from the upper end to the lower end of the infusion label LS is 403, the distance is longer by h3. In order for the distance from the lower end of the infusion label LS held by the infusion label gripping part 701 to the bottom surface of the small tray 151b to be equal to the distance h2 in FIG. 57(a), the distance h3 must be equal to the distance h1. The angle α may be determined so that it is equal to the difference from h2.

図57の(d)には、長辺が水平面に対して傾斜していない状態の輸液ラベルLLと、長辺が水平面に対して角度α分傾斜した状態の輸液ラベルLSとが重畳して示されている。輸液ラベルLSの長辺および短辺の長さをそれぞれa及びbとした場合、鉛直方向における輸液ラベルLSの下端から上端までの距離cは、c=a×sinα+b×cosαで表される。距離h3が、距離h1とh2との差に等しくなるためには、図57の(d)に示すように、鉛直方向における輸液ラベルLSの下端から上端までの距離が、輸液ラベルLLの短辺の長さに等しくなればよい。例えば輸液ラベルLSの大きさが54mm×81mm、輸液ラベルLLの長さが78mm×81mmである場合には、αを約20°とすればよい。 In FIG. 57(d), an infusion label LL with its long side not inclined with respect to the horizontal plane and an infusion label LS with its long side inclined with respect to the horizontal plane by an angle α are shown superimposed. has been done. When the lengths of the long side and short side of the infusion label LS are a and b, respectively, the distance c from the lower end to the upper end of the infusion label LS in the vertical direction is expressed as c=a×sinα+b×cosα. In order for the distance h3 to be equal to the difference between the distances h1 and h2, the distance from the lower end to the upper end of the infusion label LS in the vertical direction must be It should be equal to the length of. For example, when the size of the infusion label LS is 54 mm x 81 mm and the length of the infusion label LL is 78 mm x 81 mm, α may be set to about 20°.

なお、輸液ラベルLLについても、輸液ラベル払出装置400から払い出されると、輸液ラベル受取部413に収容され、水平面に対して角度α分傾斜した状態で、抜き取られた後、小型トレイ151bに載置される。そのため、輸液ラベルLLは、輸液ラベル受取部403を用いた場合よりも低い位置から落下するので、輸液ラベルLLについてもより確実に、小型トレイ151bの所定位置に載置できる。 In addition, when the infusion label LL is dispensed from the infusion label dispensing device 400, it is accommodated in the infusion label receiving section 413, and after being pulled out while being inclined at an angle α with respect to the horizontal plane, it is placed on the small tray 151b. be done. Therefore, since the infusion label LL falls from a lower position than when the infusion label receiving section 403 is used, the infusion label LL can also be more reliably placed at a predetermined position on the small tray 151b.

また本実施形態では、輸液ラベルLSのリリース位置が、輸液ラベル受取部403を用いた場合の輸液ラベルLLのリリース位置となるように、輸液ラベル受取部413の底部413bに傾斜が設けられている。これに限らず、輸液ラベル受取部403をそのまま用い、輸液ラベルLSのリリース位置が、輸液ラベル受取部403を用いた場合の輸液ラベルLLのリリース位置となるように、輸液ラベル把持部701の高さ方向の位置を調整しても構わない。つまり、輸液ラベルの大きさに応じて、輸液ラベル把持部701の高さ方向の位置が調整可能な構成であっても構わない。 Further, in this embodiment, the bottom portion 413b of the infusion label receiver 413 is sloped so that the release position of the infusion label LS is the release position of the infusion label LL when the infusion label receiver 403 is used. . However, the present invention is not limited to this, and the infusion label gripping part 701 can be raised so that the infusion label receiving part 403 is used as it is, and the release position of the infusion label LS is the release position of the infusion label LL when the infusion label receiving part 403 is used. You may adjust the position in the horizontal direction. In other words, the configuration may be such that the position of the infusion label gripping section 701 in the height direction can be adjusted depending on the size of the infusion label.

また、輸液ラベルLSのリリース位置は、輸液ラベル受取部403を用いた場合の輸液ラベルLLのリリース位置と同じである必要は必ずしも無い。つまり、鉛直方向における輸液ラベルLSの下端から上端までの距離が、輸液ラベルLLの短辺の長さに等しく設定される必要は必ずしも無い。 Further, the release position of the infusion label LS does not necessarily have to be the same as the release position of the infusion label LL when the infusion label receiving section 403 is used. That is, the distance from the lower end to the upper end of the infusion label LS in the vertical direction does not necessarily have to be set equal to the length of the short side of the infusion label LL.

輸液ラベルLSのリリース位置は、小型トレイ151b(又は搬送トレイ151a)の所定位置に輸液ラベルLSを確実に載置できるのであれば、上記輸液ラベルLLのリリース位置より上方であっても構わない。当然ながら、輸液ラベルLSのリリース位置は、上記輸液ラベルLLのリリース位置より下方であっても構わない。 The release position of the infusion label LS may be above the release position of the infusion label LL, as long as the infusion label LS can be reliably placed in a predetermined position on the small tray 151b (or transport tray 151a). Naturally, the release position of the infusion label LS may be lower than the release position of the infusion label LL.

〔上記構成の別表現〕
上記構成について、以下のように表現できる。
[Another expression of the above structure]
The above configuration can be expressed as follows.

[A]本発明の一態様に係る薬剤カセット取扱装置(注射薬払出装置100)は、
薬剤を収容するm個のカセットを保管するカセット棚と、
上記カセットに収容された薬剤に対して特定処理を行うための特定処理部と、
上記カセットのうち、上記特定処理を受けるカセットをn個(m>n≧2)まで一時的に保持可能なカセット保持部と、
上記カセット保持部に保持される上記カセットを差し替えるために、上記カセット棚と上記カセット保持部との間で上記カセットを移送するカセット移送部と、
を備え、
上記カセット棚に保管されるm個のうちの一部のカセットは、同種の薬剤を収容する特定薬剤収容カセット(カセットCa)であり、その他のカセットは、2種類以上の薬剤を、その配置位置を特定した状態で収容する混合薬剤収容カセット(大型返品薬カセット163又は中小型返品薬カセット164)である。
[A] The drug cassette handling device (injection drug dispensing device 100) according to one aspect of the present invention includes:
a cassette shelf for storing m cassettes containing drugs;
a specific processing unit for performing specific processing on the medicine contained in the cassette;
a cassette holding unit capable of temporarily holding up to n (m>n≧2) cassettes to be subjected to the specific processing among the cassettes;
a cassette transfer unit that transfers the cassette between the cassette shelf and the cassette holding unit in order to replace the cassette held in the cassette holding unit;
Equipped with
Some of the m cassettes stored in the cassette shelf are specific drug storage cassettes (cassettes Ca) that contain the same type of drug, and other cassettes contain two or more types of drugs at their placement positions. This is a mixed medicine storage cassette (large-sized returned medicine cassette 163 or small and medium-sized returned medicine cassette 164) that accommodates the medicine in a specified state.

一般に、注射薬(例:アンプル又はバイアル)を収容するカセットから注射薬を払出す注射薬払出装置においては、払出対象となり得る同種の薬剤が収容されるカセットのみ(例えば、同種の薬剤が整列した状態で収容されるカセットのみ)がカセット棚に保管される。そのため、2種類以上の注射薬を1つのカセットから払出すことについては想定されていない。 In general, in an injection drug dispensing device that dispenses an injection drug from a cassette containing injection drugs (e.g. ampoules or vials), only cassettes containing drugs of the same type that can be dispensed (e.g. only those cassettes that are stored in the same state) are stored on the cassette shelf. Therefore, it is not envisaged that two or more types of injection drugs will be dispensed from one cassette.

上記の構成によれば、特定薬剤収容カセットに収容された薬剤、及び、混合薬剤収容カセットに収容された薬剤のいずれに対しても特定処理(例:払出処理)を行うことが可能となる。混合薬剤収容カセットにおいては、収容される薬剤の配置位置が特定されているため、薬剤カセット取扱装置は、特定処理の対象とする薬剤に対して選択的に特定処理を行うことができる。 According to the above configuration, it is possible to perform specific processing (eg, dispensing processing) on both the medicine stored in the specific medicine storage cassette and the medicine stored in the mixed medicine storage cassette. In the mixed medicine storage cassette, since the placement positions of the medicines to be accommodated are specified, the medicine cassette handling device can selectively perform the specifying process on the drugs targeted for the specifying process.

なお、上記薬剤カセット取扱装置は、上記の各部を備え、上記カセット棚に収容されるm個のカセットは、同種の薬剤のみを収容することを規定したカセット(特定薬剤収容カセット)と、多種の薬剤を混合しつつ個別にアクセス可能なように収容したカセット(混合薬剤収容カセット)と、を含むとも規定できる。 The drug cassette handling device includes the above-mentioned parts, and the m cassettes accommodated in the cassette shelf include cassettes stipulated to contain only the same type of drug (specific drug storage cassettes), and It can also be defined as including a cassette (mixed medicine storage cassette) in which medicines are mixed and accommodated so that they can be accessed individually.

なお、混合薬剤収容カセットは、注射薬の大きさ及び形状に応じた注射薬の収容箇所が複数設けられたカセットである。換言すれば、混合薬剤収容カセットは、当該収容箇所を規定する部分(例:凸部)を有する底面を備えている。一方、特定薬剤収容カセットは、同種の薬剤が収容可能であればどのような形状であっても構わない。換言すれば、特定薬剤収容カセットは、当該収容箇所を規定する部分を有していない底面を備えているカセットであっても構わないし、当該部分を有する底面を備えているカセットであっても構わない。前者のカセットとしては、同種の薬剤を非整列状態で収容するカセット(例:カセットCa)が挙げられ、後者のカセットとしては、同種の薬剤を整列状態で収容するカセットが挙げられる。 Note that the mixed drug storage cassette is a cassette that is provided with a plurality of storage locations for injection drugs depending on the size and shape of the injection drug. In other words, the mixed medicine storage cassette includes a bottom surface having a portion (eg, a convex portion) that defines the storage location. On the other hand, the specific drug storage cassette may have any shape as long as it can accommodate the same type of drug. In other words, the specific drug storage cassette may be a cassette that has a bottom surface that does not have a portion that defines the storage location, or it may be a cassette that has a bottom surface that has the portion that defines the storage location. do not have. Examples of the former cassette include cassettes (eg, cassette Ca) that accommodate the same type of drugs in an unaligned state, and examples of the latter cassette include cassettes that accommodate the same types of drugs in an aligned state.

≪補足≫
本明細書において、輸液ラベル搬送機構700が備える輸液ラベル把持部701の一対の爪部702(図49参照)は、一度に全開状態となっても構わないし、全開状態となるまで段階的に開いていく構成であっても構わない。
≪Supplement≫
In this specification, the pair of claws 702 (see FIG. 49) of the infusion label gripping part 701 provided in the infusion label transport mechanism 700 may be fully opened at once, or may be opened in stages until the fully opened state is reached. It does not matter if the configuration is as follows.

また、本明細書において、1種の注射薬につき、1つの形状モデルが準備されていても、複数の形状モデルが準備されていても構わない。 Furthermore, in this specification, one shape model or a plurality of shape models may be prepared for one type of injection drug.

一般的なバイアル又はアンプルの場合、断面形状が円形であるため、形状モデル取得時にバイアル又はアンプルがどのような状態で載置されたとしても、撮像した画像においてはその形状は同じである。従って、載置された注射薬を上方から見たときに、どのような載置状態であっても一意に形状を特定できる注射薬については、1種の注射薬につき、1つの形状モデルが準備されていればよい。 In the case of a typical vial or ampoule, the cross-sectional shape is circular, so no matter what state the vial or ampoule is placed in when acquiring the shape model, the shape will be the same in the captured image. Therefore, for injections whose shape can be uniquely identified when viewed from above, no matter how they are placed, one shape model is prepared for each type of injection. It would be fine if it had been done.

一方、断面形状が円形でない注射薬の場合(例:断面形状が楕円形であるプラスチックアンプルの場合)、載置の仕方によって、撮像した画像においてその形状が異なってくる。従って、載置された注射薬を上方から見たときに、載置状態によって一意に形状を特定できない注射薬については、1種の注射薬につき、複数の形状モデルが準備される。例えば、載置状態を変更する毎に取得される複数の形状モデルが準備される。 On the other hand, in the case of an injection drug whose cross-sectional shape is not circular (for example, in the case of a plastic ampoule whose cross-sectional shape is oval), its shape differs in the captured image depending on how it is placed. Therefore, when the placed injection drug is viewed from above, a plurality of shape models are prepared for each type of injection drug for which the shape cannot be uniquely specified depending on the placement state. For example, a plurality of shape models are prepared each time the placement state is changed.

≪その他の構成4≫
以下に、大型返品薬カセット163の別例について説明する。図58は、大型返品薬カセット163Aの一例を示す斜視図である。図59の(a)は大型返品薬カセット163Aの平面図、(b)はその側面図、(c)はその正面図である。図60は、凹部163Aaの傾斜の一例を示す断面図(図59のA-A断面図)である。なお、図60は、後述の波形状の底板の部分のみを示す図である。
Other configuration 4≫
Another example of the large returned medicine cassette 163 will be described below. FIG. 58 is a perspective view showing an example of a large returned medicine cassette 163A. FIG. 59(a) is a plan view of the large returned medicine cassette 163A, FIG. 59(b) is a side view thereof, and FIG. 59(c) is a front view thereof. FIG. 60 is a cross-sectional view (AA cross-sectional view in FIG. 59) showing an example of the slope of the recess 163Aa. Note that FIG. 60 is a diagram showing only a portion of a wavy bottom plate, which will be described later.

図58及び図59に示すように、大型返品薬カセット163Aの底部163A1には、複数の凹部163Aaと複数の凸部163Abとが設けられた波形状の底板(返品薬収容部)が配されている。複数の凸部163Abにより、大型の返品薬を載置可能な複数の凹部163Aaが形成されている。返品薬は、その長手方向が各凹部163Aa及び各凸部163Abの延伸方向と一致するように、各凹部163Aaに載置される。なお、上記波形状の底板は、大型返品薬カセット163Aの揺れに伴う返品薬の移動を抑制する材質(例:シリコンゴム)で構成されている。 As shown in FIGS. 58 and 59, a wavy bottom plate (returned medicine accommodating portion) provided with a plurality of recesses 163Aa and a plurality of protrusions 163Ab is disposed on the bottom 163A1 of the large returned medicine cassette 163A. There is. The plurality of convex parts 163Ab form a plurality of recesses 163Aa in which large-sized returned medicines can be placed. The returned medicine is placed in each recess 163Aa so that its longitudinal direction matches the extending direction of each recess 163Aa and each protrusion 163Ab. The corrugated bottom plate is made of a material (eg, silicone rubber) that suppresses movement of the returned medicine due to shaking of the large returned medicine cassette 163A.

各凹部163Aaは、図60にも示すように、その中央の高さが、その両端の高さよりも高い形状を有している。つまり、各凹部163Aaの、薬剤が載置される載置面は、側壁163A2から離隔するに従って、高さ方向に底部163A1から離隔するような傾斜を有している。なお、底部163A1と凹部163Aaの載置面との傾斜角をθLと表す。また、側壁163A2は、各凹部163Aa及び各凸部163Abの端部が接続された、大型返品薬カセット163Aの側壁である。 As shown in FIG. 60, each recess 163Aa has a shape in which the height at the center is higher than the height at both ends. In other words, the placement surface of each recess 163Aa on which the drug is placed has an inclination such that as it becomes further away from the side wall 163A2, it becomes further away from the bottom 163A1 in the height direction. Note that the angle of inclination between the bottom portion 163A1 and the mounting surface of the recessed portion 163Aa is expressed as θL. Further, the side wall 163A2 is a side wall of the large returned medicine cassette 163A to which the ends of each concave portion 163Aa and each convex portion 163Ab are connected.

返品薬は、側壁163A2から比較的近い位置に載置される。そのため、各凹部163Aaが上記のように傾斜を有していることにより、各凹部163Aaに載置された返品薬が、大型返品薬カセット163Aの揺れにより動いたとしても、当該返品薬を、その載置位置に近い側壁163A2の方へと移動させることができる。従って、1つの凹部163Aaに載置された2つの返品薬同士が衝突することにより、これらの返品薬が破損してしまうことを防止できる。また、1つの凹部163Aaに1つの返品薬が載置されている場合に、当該返品薬が、載置位置に近い側壁163A2とは反対側に位置する側壁163A2と衝突することにより破損してしまうことを防止できる。 The returned medicine is placed at a position relatively close to the side wall 163A2. Therefore, since each recess 163Aa has an inclination as described above, even if the returned medicine placed in each recess 163Aa moves due to the shaking of the large returned medicine cassette 163A, the returned medicine can be It can be moved toward the side wall 163A2 near the placement position. Therefore, it is possible to prevent the two returned medicines placed in one recess 163Aa from colliding with each other, thereby preventing the returned medicines from being damaged. Further, when one returned medicine is placed in one recess 163Aa, the returned medicine is damaged by colliding with the side wall 163A2 located on the opposite side of the side wall 163A2 near the placement position. This can be prevented.

また、各凸部163Abは、各凹部163Aaと同様に、その中央の高さが、その両端の高さよりも高い形状を有している。これにより、各凸部163Abの高さが一定である場合に比べ、凹部163Aaに載置された返品薬の、他の凹部163Aaへの移動、又は大型返品薬カセット163Aからの飛び出しを抑制できる。 Further, each convex portion 163Ab has a shape in which the height at the center is higher than the height at both ends, similarly to each concave portion 163Aa. Thereby, compared to the case where the height of each convex part 163Ab is constant, it is possible to suppress the returned medicine placed in the recessed part 163Aa from moving to another recessed part 163Aa or jumping out from the large returned medicine cassette 163A.

また、各凸部163Abの側面(返品薬と接触する表面)には、各凸部163Abの延伸方向に沿って、返品薬の滑り止めとして機能する複数の突起部163Acが設けられている。本実施形態では、突起部163Acの形状は線状であり、突起部163Acは、凹部163Aaから上方向に向かうに従って、凸部163Abの中央から側壁163A2に向かうように設けられている。これにより、返品薬を、載置位置に近い側壁163A2の方向に移動させやすくすることができる。 Further, a plurality of protrusions 163Ac that function as anti-slip for the returned medicine are provided on the side surface (the surface that contacts the returned medicine) of each convex part 163Ab along the extending direction of each convex part 163Ab. In this embodiment, the protrusion 163Ac has a linear shape, and the protrusion 163Ac is provided from the center of the protrusion 163Ab toward the side wall 163A2 as it goes upward from the recess 163Aa. Thereby, the returned medicine can be easily moved toward the side wall 163A2 near the placement position.

なお、突起部163Acの形状は線状に限らず、例えば半球形状であっても構わない。但し、返品薬を、載置位置に近い側壁163A2の方向に移動させやすくすることを考慮すれば、突起部163Acの形状を線状し、かつ、突起部163Acを上述のような向きとなるように凸部163Abの側面に設けた方がよい。 Note that the shape of the protrusion 163Ac is not limited to a linear shape, and may be, for example, a hemispherical shape. However, in order to make it easier to move the returned medicine in the direction of the side wall 163A2 near the placement position, the shape of the protrusion 163Ac is linear and the protrusion 163Ac is oriented as described above. It is better to provide this on the side surface of the convex portion 163Ab.

次に、中小型返品薬カセット164の別例について説明する。図61は、中小型返品薬カセット164の一例を示す斜視図である。図62の(a)は中小型返品薬カセット164Aの平面図、(b)はその側面図、(c)はその正面図である。図63は、凹部164AMaの傾斜の一例を示す断面図(図62のB-B断面図)である。図64は、凹部164ASaの傾斜の一例を示す断面図(図62のC-C断面図)である。なお、図63及び図64は、後述の波形状の底板の部分のみを示す図である。 Next, another example of the small and medium-sized returned medicine cassette 164 will be described. FIG. 61 is a perspective view showing an example of a small and medium-sized returned medicine cassette 164. FIG. 62(a) is a plan view of the small and medium-sized returned medicine cassette 164A, FIG. 62(b) is a side view thereof, and FIG. 62(c) is a front view thereof. FIG. 63 is a cross-sectional view (BB cross-sectional view in FIG. 62) showing an example of the slope of the recess 164AMa. FIG. 64 is a cross-sectional view (CC cross-sectional view in FIG. 62) showing an example of the slope of the recess 164ASa. Note that FIGS. 63 and 64 are views showing only a portion of a wavy bottom plate, which will be described later.

図61及び図62に示すように、中小型返品薬カセット164Aは、中型の返品薬を載置する中型薬載置領域MArと、小型の返品薬を載置する小型薬載置領域SArとを備える。中小型返品薬カセット164Aの、中型薬載置領域MAr側の底部164A1には、複数の凹部164AMaと複数の凸部164AMbとが設けられ、かつ、小型薬載置領域SAr側の底部164A1には、複数の凹部164ASaと複数の凸部164ASbとが設けられた波形状の底板(返品薬収容部)が配されている。この波形状の底板は、中小型返品薬カセット164Aの揺れに伴う返品薬の移動を抑制する材質(例:シリコンゴム)で構成されている。 As shown in FIGS. 61 and 62, the small and medium-sized returned medicine cassette 164A has a medium-sized medicine placement area MAr for placing medium-sized returned medicines, and a small-sized medicine placement area SAr for placing small-sized returned medicines. Be prepared. A plurality of concave portions 164AMa and a plurality of convex portions 164AMb are provided on the bottom portion 164A1 of the medium-sized and small-sized returned drug cassette 164A on the side of the medium-sized drug placement area MAr, and a plurality of concave portions 164AMa and a plurality of convex portions 164AMb are provided on the bottom portion 164A1 on the side of the small-sized drug placement area SAr. , a wavy bottom plate (returned medicine accommodating section) is provided with a plurality of recesses 164ASa and a plurality of protrusions 164ASb. This corrugated bottom plate is made of a material (eg, silicone rubber) that suppresses the movement of the returned medicine due to the shaking of the small and medium-sized returned medicine cassette 164A.

中型薬載置領域MArの複数の凹部164AMa及び複数の凸部164AMbは、大型返品薬カセット163Aの複数の凹部163Aa及び複数の凸部163Abと同様の形状を有している。つまり、図63にも示すように、各凹部164AMaの、薬剤が載置される載置面は、側壁164A2から離隔するに従って、高さ方向に底部164A1から離隔するような傾斜を有している。なお、底部164A1と凹部164AMaの載置面との傾斜角をθMと表す。また、各凸部164AMbの側面(返品薬と接触する表面)には、凸部163Abと同様、各凸部164AMbの延伸方向に沿って、返品薬の滑り止めとして機能する複数の突起部164AMcが設けられている。突起部164AMcは、突起部163Acと同様の形状を有していればよい。 The plurality of recesses 164AMa and the plurality of protrusions 164AMb of the medium-sized medicine placement area MAr have the same shape as the plurality of recesses 163Aa and the plurality of protrusions 163Ab of the large-sized returned medicine cassette 163A. That is, as also shown in FIG. 63, the placement surface of each recess 164AMa on which the medicine is placed has an inclination such that as it becomes distant from the side wall 164A2, it becomes further away from the bottom 164A1 in the height direction. . Note that the angle of inclination between the bottom portion 164A1 and the mounting surface of the recessed portion 164AMa is expressed as θM. In addition, on the side surface of each convex portion 164AMb (the surface that comes into contact with the returned medicine), like the convex portion 163Ab, a plurality of protrusions 164AMc that function as anti-slip for the returned medicine are provided along the extending direction of each convex portion 164AMb. It is provided. The protrusion 164AMc should just have the same shape as the protrusion 163Ac.

一方、小型薬載置領域SArでは、図64にも示すように、各凹部164ASaの、薬剤が載置される載置面は、側壁164A2から離隔するに従って、高さ方向に底部164A1から離隔するような傾斜を有している。但し、底部164A1と凹部164ASaの載置面との傾斜角をθSと表したとき、傾斜角θSは、傾斜角θLおよびθMよりも大きくなるように設定されている。なお、傾斜角θLおよびθMは同一の大きさであっても構わない。例えば、傾斜角θSは約10°に設定され、傾斜角θLおよびθMは約1.5°に設定されている。 On the other hand, in the small drug placement area SAr, as also shown in FIG. 64, the placement surface of each recess 164ASa on which the drug is placed is spaced apart from the bottom 164A1 in the height direction as it becomes spaced apart from the side wall 164A2. It has a slope like this. However, when the inclination angle between the bottom portion 164A1 and the mounting surface of the recessed portion 164ASa is expressed as θS, the inclination angle θS is set to be larger than the inclination angles θL and θM. Note that the inclination angles θL and θM may have the same magnitude. For example, the tilt angle θS is set to about 10°, and the tilt angles θL and θM are set to about 1.5°.

大型返品薬カセット163A、及び中型薬載置領域MArにおいては、比較的大きい返品薬(例:バイアル)が載置されるため、傾斜角θLおよびθMを大きくしすぎると、返品薬が大型返品薬カセット163A又は中小型返品薬カセット164Aから飛び出しやすくなってしまう。そのため、傾斜角θLおよびθMを少なくとも傾斜角θSより小さくすることで上記の飛び出しを抑制している。一方で、突起部163Ac及び突起部164AMcを設けることにより、返品薬を、載置位置に近い側壁163A2及び164A2へと移動させやすくしている。 Since relatively large returned medicines (e.g. vials) are placed in the large returned medicine cassette 163A and the medium sized medicine placement area MAr, if the tilt angles θL and θM are too large, the returned medicines may become large returned medicines. It becomes easy to jump out of the cassette 163A or the small and medium-sized returned medicine cassette 164A. Therefore, the above-mentioned protrusion is suppressed by making the inclination angles θL and θM smaller than at least the inclination angle θS. On the other hand, by providing the protrusion 163Ac and the protrusion 164AMc, the returned medicine can be easily moved to the side walls 163A2 and 164A2 near the placement position.

一方、小型薬載置領域SArにおいては、比較的小さい返品薬(例:アンプル)が載置されるため、傾斜角θSを大きくしても、大型又は中型の返品薬のように、返品薬が中小型返品薬カセット164Aから飛び出すことは無い。そのため、返品薬が中小型返品薬カセット164Aから飛び出さない程度に傾斜角θSを大きくすることで、返品薬を、載置位置に近い側壁163A2及び164A2へと移動させやすくすることができる。また、このように傾斜角θSを大きくできるので、小型薬載置領域SArにおいては、突起部163Ac及び突起部164AMcを設ける必要が無い。 On the other hand, in the small medicine placement area SAr, relatively small returned medicines (e.g. ampoules) are placed, so even if the tilt angle θS is increased, the returned medicines, like large or medium sized returned medicines, are It will not fly out from the small and medium-sized returned medicine cassette 164A. Therefore, by increasing the inclination angle θS to such an extent that the returned medicine does not jump out of the small and medium-sized returned medicine cassette 164A, the returned medicine can be easily moved to the side walls 163A2 and 164A2 near the placement position. Moreover, since the inclination angle θS can be increased in this way, there is no need to provide the protrusion 163Ac and the protrusion 164AMc in the small medicine placement area SAr.

≪その他の構成5≫
以下に、注射薬払出装置100における簡易な形状モデルの登録処理について説明する。また、注射薬払出装置100における注射薬の向きの特定処理について説明する。但し、以下に示す説明において、上述した内容と重複する部分、又は具体的に記載した部分もあることに留意されたい。また、注射薬払出装置100の基本構成については、例えば図1又は図28を参照されたい。
Other configuration 5≫
A simple shape model registration process in the injection drug dispensing device 100 will be described below. Further, a process for specifying the orientation of an injection drug in the injection drug dispensing device 100 will be explained. However, it should be noted that in the following explanation, there may be parts that overlap with the content described above, or parts that are specifically described. Further, regarding the basic configuration of the injection drug dispensing device 100, please refer to, for example, FIG. 1 or FIG. 28.

<形状モデル作成に係る課題>
上述の通り、吸着位置決定部194は、位置特定用カメラ122が撮影した画像と、記憶部180に予め登録された形状モデルとに基づいて、吸着対象の注射薬(吸着位置)を特定する。これにより、薬剤搬送部121は、カセット保持部130に載置されたカセットCaから注射薬を取出すことができる。
<Issues related to shape model creation>
As described above, the suction position determination unit 194 identifies the injection drug to be suctioned (adsorption position) based on the image taken by the position specifying camera 122 and the shape model registered in advance in the storage unit 180. Thereby, the drug transport section 121 can take out the injection drug from the cassette Ca placed on the cassette holding section 130.

形状モデルは、注射薬が載置されるカセットCaの画像から、カセットCaに載置され、かつカセットCaから取出す対象とする注射薬の像を特定するために用いられる、注射薬を平面視したときの形状を示すものである。具体的には、形状モデルは、上述の通り、注射薬の形状情報に対して複数の条件を適用することにより算出された複数の形状パターンを示すデータである。形状情報は、例えば、注射薬を撮影した画像を解析することによって取得される。複数の条件としては、例えば、下記の(1)~(5)が挙げられる。
(1)形状情報が示す注射薬を回転させる範囲(例:0°以上360°未満)。
(2)当該注射薬を回転させるピッチ。
(3)当該注射薬をX軸方向へ伸縮させるための倍率の範囲。
(4)当該注射薬をY軸方向へ伸縮させるための倍率の範囲。
(5)当該注射薬のコントラスト(注射薬における前景及び後景の輝度差)。
The shape model is a planar view of the injection drug used to identify the image of the injection drug placed in the cassette Ca and to be taken out from the cassette Ca, from the image of the cassette Ca in which the injection drug is placed. It shows the shape at the time. Specifically, the shape model is data indicating a plurality of shape patterns calculated by applying a plurality of conditions to the shape information of the injection drug, as described above. Shape information is obtained, for example, by analyzing an image taken of an injection drug. Examples of the plurality of conditions include (1) to (5) below.
(1) The range in which the injection drug is rotated as indicated by the shape information (eg, 0° or more and less than 360°).
(2) The pitch at which the injection drug is rotated.
(3) Range of magnification for expanding and contracting the injection drug in the X-axis direction.
(4) Range of magnification for expanding and contracting the injection drug in the Y-axis direction.
(5) Contrast of the injection drug (brightness difference between the foreground and background of the injection drug).

但し、形状モデルは、1種の注射薬に対して特定された1つの形状パターンであっても構わない。 However, the shape model may be one shape pattern specified for one type of injection drug.

例えば注射薬払出装置100が病院等に導入されるときに、当該病院等において注射薬払出装置100からの払出しが要求され得る注射薬の全ての形状モデルが、薬品マスタ(又は形状マスタ)に薬種毎に登録される。しかし、例えば下記の場合、払出対象の注射薬の形状に対応する形状モデルが薬品マスタに登録されていないため、注射薬払出装置100は当該注射薬を払出すことができない可能性がある。
・注射薬払出装置100が管理する注射薬(例:流通している注射薬)の容器形状に変更が生じた場合、又は、
・導入時に注射薬払出装置100において管理していない注射薬(例:新薬)を、新たに注射薬払出装置100の払出対象の注射薬とする場合。
For example, when the injection drug dispensing device 100 is introduced into a hospital etc., all the shape models of the injection drugs that can be requested to be dispensed from the injection drug dispensing device 100 in the hospital etc. are stored in the drug master (or shape master) by drug type. registered every time. However, in the following case, for example, the shape model corresponding to the shape of the injection to be dispensed is not registered in the drug master, and therefore the injection drug dispensing device 100 may not be able to dispense the injection.
- When there is a change in the container shape of the injection drug (for example, a distributed injection drug) managed by the injection drug dispensing device 100, or
- When an injection drug (for example, a new drug) that is not managed by the injection drug dispensing device 100 at the time of introduction is newly set as an injection drug to be dispensed by the injection drug dispensing device 100.

ここで一般に、形状モデルは、病院等への注射薬払出装置100の導入時に、形状モデルの管理者(例:注射薬払出装置100の製造元)によって注射薬払出装置100に登録される。そのため、注射薬払出装置100において形状モデルが管理されていないことにより注射薬の払出しができない場合、当該注射薬の形状モデルは、例えば、薬剤師等が管理者に依頼することにより作成される。この場合、管理者が、作成した形状モデルを、注射薬払出装置100に配信することにより、注射薬払出装置100に新規の形状モデルが登録される。 Generally, the shape model is registered in the injection drug dispensing device 100 by a shape model administrator (eg, the manufacturer of the injection drug dispensing device 100) when the injection drug dispensing device 100 is introduced into a hospital or the like. Therefore, when an injection cannot be dispensed because the shape model is not managed in the injection medicine dispensing device 100, the shape model of the injection is created by, for example, a pharmacist or the like requesting the administrator. In this case, a new shape model is registered in the injection drug dispensing device 100 by the administrator distributing the created shape model to the injection drug dispensing device 100.

但しこの場合、注射薬払出装置100に新規の形状モデル(正式な形状モデル)が登録されるまでの間、容器形状に変更が生じた注射薬、又は注射薬払出装置100において管理されていない注射薬を払出すことができない可能性がある。 However, in this case, until a new shape model (official shape model) is registered in the injection drug dispensing device 100, injection drugs whose container shape has changed or injections that are not managed by the injection drug dispensing device 100 There is a possibility that the medicine cannot be dispensed.

本実施形態の注射薬払出装置100は、上記の可能性を低減することが可能な、形状モデルを登録するモデル登録装置として機能する。 The injection drug dispensing device 100 of this embodiment functions as a model registration device that registers a shape model that can reduce the above-mentioned possibility.

<注射薬を搬送トレイ又はカセットに載置する場合の課題>
上述のように、注射薬払出装置100では、種類が識別された注射薬については、例えば患者毎に搬送トレイ151a(図7参照)へと搬送される。また上述のように、注射薬払出装置100は、注射薬の向き(例:頭部の向き)が所定方向を向くように搬送トレイ151aに載置する。この載置は、注射薬払出装置100が、位置変更部126における注射薬の向きを特定していることにより実現される。
<Issues when placing injectables on transport trays or cassettes>
As described above, in the injection drug dispensing device 100, the injection drugs whose types have been identified are transported to the transport tray 151a (see FIG. 7) for each patient, for example. Further, as described above, the injection drug dispensing device 100 is placed on the transport tray 151a so that the injection drug is oriented in a predetermined direction (eg, the direction of the head). This placement is realized by the injection medicine dispensing device 100 specifying the direction of the injection medicine in the position changing section 126.

注射薬払出装置100は、位置変更部126における注射薬の向きを、注射薬に付されたバーコードを読取ることで特定できるバーコードの向きにより特定する。そのため、注射薬払出装置100では、規定された注射薬の向きと、バーコードの向きとが、薬剤の種類毎に予め記憶部180に記憶されている。なお、規定された注射薬の向きは、例えば、注射薬の頭部が期限読み取り用カメラ125(図8参照)側となり、かつ注射薬の底部がバーコードリーダー124(図8参照)側となるように、第1搭載部126aに注射薬が載置されたときの注射薬の向きである。このときの第1搭載部126aの位置は、処理位置132(図6参照)側の薬剤受入位置であってよい。第2搭載部126bに注射薬が載置された場合も同じである。 The injection medicine dispensing device 100 specifies the orientation of the injection medicine in the position changing unit 126 based on the orientation of the barcode, which can be identified by reading the barcode attached to the injection medicine. Therefore, in the injection medicine dispensing device 100, the prescribed orientation of the injection medicine and the orientation of the barcode are stored in advance in the storage unit 180 for each type of medicine. Note that the specified orientation of the injection drug is, for example, such that the head of the injection drug is on the expiry date reading camera 125 (see FIG. 8) side, and the bottom of the injection drug is on the side of the barcode reader 124 (see FIG. 8). This is the orientation of the injection when it is placed on the first mounting portion 126a. The position of the first mounting portion 126a at this time may be a medicine receiving position on the side of the processing position 132 (see FIG. 6). The same applies when an injection is placed on the second mounting portion 126b.

例えば、新薬の払出を行いたい場合等、薬剤師等が形状モデルの作成を要する場合には、注射薬の種類と、規定された注射薬の向きと、バーコードの向きとの対応関係が不明であるため、その対応関係を記憶部180に記憶させることを要する。その対応関係が記憶されていない場合、注射薬払出装置100は、バーコードの向きから注射薬の向きを一意に特定することができない。 For example, when a pharmacist needs to create a shape model, such as when dispensing a new drug, the correspondence between the type of injectable drug, the specified orientation of the injectable drug, and the orientation of the barcode is unknown. Therefore, it is necessary to store the correspondence in the storage unit 180. If the correspondence relationship is not stored, the injection medicine dispensing device 100 cannot uniquely identify the orientation of the injection medicine from the orientation of the barcode.

また、上述のように、注射薬払出装置100は、返品薬受入カセット161(図16参照)から、大型返品薬カセット163(図12参照)又は中小型返品薬カセット164(図13参照)へと返品薬を搬送する。返品薬は、大型返品薬カセット163に代えて大型返品薬カセット163A(図58参照)、又は、中小型返品薬カセット164に代えて中小型返品薬カセット164A(図61参照)へ搬送されても構わない。本実施形態では、大型返品薬カセット163、大型返品薬カセット163A、中小型返品薬カセット164、及び中小型返品薬カセット164Aを総称して、返品薬カセットと称する場合もある。 Further, as described above, the injection drug dispensing device 100 transfers from the returned drug receiving cassette 161 (see FIG. 16) to the large returned drug cassette 163 (see FIG. 12) or the small and medium sized returned drug cassette 164 (see FIG. 13). Transport returned medicines. The returned medicine may be transported to a large returned medicine cassette 163A (see FIG. 58) instead of the large returned medicine cassette 163, or to a small and medium sized returned medicine cassette 164A (see FIG. 61) instead of the small and medium sized returned medicine cassette 164. I do not care. In this embodiment, the large returned medicine cassette 163, the large returned medicine cassette 163A, the small and medium sized returned medicine cassette 164, and the small and medium sized returned medicine cassette 164A may be collectively referred to as a returned medicine cassette.

上述のように、注射薬払出装置100は、返品薬が所定方向を向くように、返品薬を返品薬カセットに載置する。注射薬と同様、注射薬払出装置100では、規定された返品薬の向きと、バーコードの向きとが、返品薬の種類毎に記憶部180に記憶される。そのため、注射薬払出装置100は、位置変更部126における返品薬の向きを、返品薬に付されたバーコードの情報を読取ることで特定できるバーコードの向きにより特定できる。その結果、注射薬払出装置100は、返品薬カセットにおいて所定方向を向くように、返品薬を載置できる。一方、注射薬払出装置100は、規定された返品薬の向きとバーコードの向きとの対応関係が記憶されていない場合、注射薬と同様、返品薬の向きを一意に特定することはできない。 As described above, the injection drug dispensing device 100 places the returned medicine in the returned medicine cassette so that the returned medicine faces in a predetermined direction. Similar to injection drugs, in the injection drug dispensing device 100, the specified orientation of the returned medicine and the orientation of the barcode are stored in the storage unit 180 for each type of returned medicine. Therefore, the injection medicine dispensing device 100 can identify the orientation of the returned medicine in the position changing unit 126 based on the orientation of the barcode that can be identified by reading the information on the barcode attached to the returned medicine. As a result, the injection medicine dispensing device 100 can place the returned medicine in the returned medicine cassette so as to face the predetermined direction. On the other hand, if the correspondence relationship between the prescribed orientation of the returned medicine and the orientation of the barcode is not stored, the injection medicine dispensing device 100 cannot uniquely identify the orientation of the returned medicine, as with injection medicines.

本実施形態の注射薬払出装置100は、位置変更部126に載置された薬剤(例:注射薬又は返品薬)の向きを特定するための情報を登録する薬剤向き登録装置として機能する。また、本実施形態の注射薬払出装置100は、薬剤を載置するカセットCaから取出され、かつ種類が識別された薬剤を、搬送先(例:搬送トレイ151a又は返品薬カセット)において所定方向に沿って載置する薬剤搬送装置として機能する。上述の通り、注射薬払出装置100は、規定された薬剤の向きに対応する薬剤に付されたバーコードの向きに基づき、搬送先において薬剤を載置する。 The injection drug dispensing device 100 of this embodiment functions as a drug orientation registration device that registers information for specifying the orientation of a drug (eg, an injection drug or a returned drug) placed on the position changing unit 126. In addition, the injection drug dispensing device 100 of the present embodiment transports the drug, which has been taken out from the cassette Ca in which the drug is placed and whose type has been identified, in a predetermined direction at the destination (e.g., the transport tray 151a or the returned drug cassette). It functions as a drug delivery device placed along the line. As described above, the injection drug dispensing device 100 places the drug at the destination based on the orientation of the barcode attached to the drug that corresponds to the defined orientation of the drug.

なお、上述の薬剤搬送装置は、注射薬及び返品薬を搬送対象とする。また、上述の薬剤向き登録装置は、位置変更部126に載置された注射薬又は返品薬の向きを特定するための情報を登録する。しかし以降では、薬剤搬送装置及び薬剤向き登録装置について説明する場合についても、注射薬を例に挙げて説明する。従って、薬剤搬送装置の搬送先も搬送トレイ151aとなることに留意されたい。 Note that the above-described drug delivery device transports injection drugs and returned medicines. Further, the above-mentioned medicine orientation registration device registers information for specifying the orientation of the injection medicine or returned medicine placed on the position changing unit 126. However, hereinafter, when explaining the drug delivery device and drug orientation registration device, injection drugs will be taken as an example. Therefore, it should be noted that the destination of the drug transport device is also the transport tray 151a.

<注射薬払出装置100の構成例>
図65は、注射薬払出装置100の構成の一例を示すブロック図である。注射薬払出装置100の制御部190は、上述した符号191~197の機能に加え、例えば、情報取得部211、モデル作成部212、吸着可否判定部213、及びモデル登録部214を備える。また、注射薬払出装置100は、例えば、図形向き特定部215、薬剤向き設定部216、情報登録部217、及び重量算出部218を備える。なお、制御部190は、注射薬払出装置100と通信可能に接続される外部装置として実現されても構わない。記憶部180についても同様である。
<Configuration example of injection drug dispensing device 100>
FIG. 65 is a block diagram showing an example of the configuration of the injection drug dispensing device 100. The control unit 190 of the injection drug dispensing device 100 includes, for example, an information acquisition unit 211, a model creation unit 212, an adsorption availability determination unit 213, and a model registration unit 214 in addition to the functions 191 to 197 described above. Further, the injection drug dispensing device 100 includes, for example, a graphic orientation specifying section 215, a drug orientation setting section 216, an information registration section 217, and a weight calculation section 218. Note that the control unit 190 may be implemented as an external device that is communicably connected to the injection drug dispensing device 100. The same applies to the storage unit 180.

本例では、注射薬払出装置100は、上述のモデル登録装置、薬剤向き登録装置及び薬剤搬送装置の機能を有するものとして説明するが、モデル登録装置、薬剤向き登録装置及び薬剤搬送装置の少なくとも何れかの機能を有していればよい。 In this example, the injection drug dispensing device 100 will be described as having the functions of the above-described model registration device, drug orientation registration device, and drug delivery device. It suffices if it has this function.

上述したモデル登録装置として機能する場合、注射薬払出装置100は、少なくとも、情報取得部211、モデル作成部212、及びモデル登録部214を備えていればよく、吸着可否判定部213を備えていても構わない。情報取得部211は、後述の種類情報及びサイズ情報を取得できればよい。またこの場合、注射薬払出装置100は、図形向き特定部215、薬剤向き設定部216、情報登録部217、及び重量算出部218を備えている必要は必ずしもない。 When functioning as the above-mentioned model registration device, the injection drug dispensing device 100 only needs to include at least an information acquisition section 211, a model creation section 212, and a model registration section 214, and an adsorption availability determination section 213. I don't mind. The information acquisition unit 211 only needs to be able to acquire type information and size information, which will be described later. Further, in this case, the injection drug dispensing device 100 does not necessarily need to include the graphic orientation identification section 215, the drug orientation setting section 216, the information registration section 217, and the weight calculation section 218.

上述した薬剤向き登録装置として機能する場合、注射薬払出装置100は、少なくとも、図形向き特定部215、薬剤向き設定部216、及び情報登録部217を備えていればよく、情報取得部211を備えていても構わない。情報取得部211は、後述の薬剤向き情報及びサイズ情報を取得できればよい。またこの場合、注射薬払出装置100が、モデル作成部212、吸着可否判定部213、モデル登録部214、及び重量算出部218を備えている必要は必ずしもない。 When functioning as the drug orientation registration device described above, the injection drug dispensing device 100 only needs to include at least a graphic orientation identification section 215, a drug orientation setting section 216, and an information registration section 217, and an information acquisition section 211. It doesn't matter if you stay there. The information acquisition unit 211 only needs to be able to acquire drug compatibility information and size information, which will be described later. Further, in this case, the injection drug dispensing device 100 does not necessarily need to include the model creation section 212, the adsorption availability determination section 213, the model registration section 214, and the weight calculation section 218.

上述した薬剤搬送装置として機能する場合、注射薬払出装置100は、少なくとも、図形向き特定部215、及び吸着位置決定部194を備えていればよく、情報取得部211を備えていても構わない。情報取得部211は、後述のサイズ情報を取得できればよい。またこの場合、注射薬払出装置100が、モデル作成部212、吸着可否判定部213、モデル登録部214、薬剤向き設定部216、情報登録部217、及び重量算出部218を備えている必要は必ずしもない。 When functioning as the above-described drug delivery device, the injection drug dispensing device 100 only needs to include at least the graphic orientation specifying section 215 and the suction position determining section 194, and may also include the information acquiring section 211. The information acquisition unit 211 only needs to be able to acquire size information, which will be described later. In this case, the injection drug dispensing device 100 does not necessarily need to include the model creation section 212, the adsorption availability determination section 213, the model registration section 214, the drug orientation setting section 216, the information registration section 217, and the weight calculation section 218. do not have.

また本例では、薬剤を載置する載置部としてカセットCaを例に挙げて説明するが、これに限らず、載置部としては、薬剤を載置可能な種々の部材を用いることができる。つまり、注射薬払出装置100は、カセット棚110に保管されたカセットCa以外の載置部の画像を撮像し、当該画像から、当該載置部から取出す対象とする薬剤の像を特定しても構わない。また、注射薬払出装置100は、上記載置部から取出された薬剤を搬送先へと搬送しても構わない。 In addition, in this example, a cassette Ca will be used as an example of a loading section on which a medicine is placed; however, the loading section is not limited to this, and various members capable of loading a medicine can be used. . In other words, the injection drug dispensing device 100 captures an image of a loading section other than the cassette Ca stored on the cassette shelf 110, and identifies from the image an image of the drug to be taken out from the loading section. I do not care. Moreover, the injection medicine dispensing device 100 may transport the medicine taken out from the above-mentioned storage section to a transport destination.

情報取得部211は、形状モデルを作成するために、注射薬を収容する容器の種類情報、及び容器のサイズ情報を取得する。 The information acquisition unit 211 acquires type information of a container containing an injection drug and size information of the container in order to create a shape model.

サイズ情報としては、例えば、容器の幅、全長、胴体部分の長さ、及び高さの情報が挙げられる。胴体部分は、主として注射薬が収容される空間である。本例では、サイズ情報は、タッチパネル210を介して、薬剤師等(ユーザ)により入力される。タッチパネル210は、上述したように、薬剤師等による各種ユーザ入力を受付ける操作部と、各種情報を表示する表示部とを備える。サイズ情報は、ノギス等の測定器具を用いて実際に測定された容器の実寸(例:容器の幅、全長、及び胴体部分の長さを示す測定情報)である。 The size information includes, for example, the width, overall length, body length, and height of the container. The body portion is primarily a space in which the injection drug is accommodated. In this example, the size information is input by a pharmacist or the like (user) via the touch panel 210. As described above, the touch panel 210 includes an operation section that accepts various user inputs from a pharmacist or the like, and a display section that displays various information. The size information is the actual size of the container (eg, measurement information indicating the width, overall length, and length of the body portion of the container) that is actually measured using a measuring instrument such as a caliper.

容器の種類としては、例えばバイアル、アンプル、プラスチックアンプル、及びスティックアンプルが挙げられる。プラスチックアンプルは、プラスチック製のアンプルである。スティックアンプルは、スティック形状のアンプルである。スティックアンプルは、遮光性を有するスティック形状の収容部と、収容部に収容されたアンプル又はプラスチックアンプルと、を含む。収容部に収容されるアンプル又はプラスチックアンプルとしては、完全な遮光を要求されるものが挙げられる。また容器の種類は、例えばアンプルであっても、大きさ又は形状の異なるアンプルが互いに異なる種類のアンプルであるものとして設定されてよい。 Types of containers include, for example, vials, ampoules, plastic ampoules, and stick ampoules. A plastic ampoule is an ampoule made of plastic. A stick ampoule is a stick-shaped ampoule. The stick ampoule includes a stick-shaped accommodating portion having light-shielding properties, and an ampoule or a plastic ampoule accommodated in the accommodating portion. The ampoules or plastic ampoules accommodated in the accommodating section include those that require complete light shielding. Further, the type of container may be set such that, for example, even if the container is an ampoule, ampoules having different sizes or shapes are different types of ampoules.

また、情報取得部211は、後述の向き情報を記憶部180に記憶(登録)するために、位置変更部126に載置された注射薬の向きを示す薬剤向き情報を取得する。取得する注射薬の向きは、例えば、薬剤受入位置に存在するときの第1搭載部126a又は第2搭載部126bに載置されたときの注射薬の向きである。取得する注射薬の向きは、上述の規定された注射薬の向きが規定された位置と同一の位置での注射薬の向きであればよい。薬剤向き情報は、タッチパネル210を介して、薬剤師等(ユーザ)により入力される。 Further, the information acquisition unit 211 acquires drug orientation information indicating the orientation of the injection drug placed on the position change unit 126 in order to store (register) orientation information to be described later in the storage unit 180. The orientation of the injection drug to be obtained is, for example, the orientation of the injection drug when placed on the first mounting section 126a or the second mounting section 126b when present at the drug receiving position. The orientation of the injection to be obtained may be the orientation of the injection at the same position as the above-described defined orientation of the injection. The drug preference information is input by a pharmacist or the like (user) via the touch panel 210.

モデル作成部212は、種類情報が示す種類に対応する形状テンプレートを特定し、サイズ情報に基づき、特定した形状テンプレートを拡大又は縮小することにより、当該容器(注射薬)の形状モデルを作成する。以降、この形状モデルを簡易形状モデルと称する。 The model creation unit 212 identifies a shape template corresponding to the type indicated by the type information, and creates a shape model of the container (injection drug) by enlarging or reducing the identified shape template based on the size information. Hereinafter, this shape model will be referred to as a simple shape model.

図66は、バイアルの一例と、バイアルの形状テンプレート及び簡易形状モデルの一例と、を示す図である。図67は、アンプルの一例と、アンプルの形状テンプレート及び簡易形状モデルの一例と、を示す図である。図68は、プラスチックアンプルの一例と、プラスチックアンプルの形状テンプレート及び簡易形状モデルの一例と、を示す図である。図69は、スティックアンプルの一例と、スティックアンプルの形状テンプレート及び簡易形状モデルの一例と、を示す図である。 FIG. 66 is a diagram showing an example of a vial, and an example of a shape template and a simple shape model of the vial. FIG. 67 is a diagram showing an example of an ampoule, and an example of a shape template and a simple shape model of the ampoule. FIG. 68 is a diagram showing an example of a plastic ampoule, and an example of a shape template and a simplified shape model of the plastic ampoule. FIG. 69 is a diagram showing an example of a stick ampoule, and an example of a shape template and a simple shape model of the stick ampoule.

図66の符号66001はバイアルの一例、図67の符号67001はアンプルの一例、図68の符号68001はプラスチックアンプルの一例、図69の符号69001はスティックアンプルの一例、をそれぞれ示す。各図に示すように、符号Wd100、Ht100、Ht200及びHt300が、それぞれ容器の幅、全長、胴体部分の長さ、及び高さを示す。高さは、容器を横に倒して載置したとき(全長が載置面に対して略平行であるとき)の載置面からの高さであり、幅方向に垂直な方向の長さである。図69の符号69001に示すように、スティックアンプルにおいては、その全体がほぼ胴体部分となるため、胴体部分の長さ(Ht200)は規定されない。 Reference numeral 66001 in FIG. 66 indicates an example of a vial, reference numeral 67001 in FIG. 67 indicates an example of an ampoule, reference numeral 68001 in FIG. 68 indicates an example of a plastic ampoule, and reference numeral 69001 in FIG. 69 indicates an example of a stick ampule. As shown in each figure, symbols Wd100, Ht100, Ht200, and Ht300 respectively indicate the width, overall length, length of the body portion, and height of the container. Height is the height from the mounting surface when the container is placed horizontally (when the entire length is approximately parallel to the mounting surface), and the length in the direction perpendicular to the width direction. be. As shown by reference numeral 69001 in FIG. 69, in a stick ampoule, the entire body is substantially the body portion, so the length (Ht200) of the body portion is not specified.

アンプル及びバイアルの場合、一般に胴体部分が円柱形状であるため、容器の幅と高さとは略同一の長さである。プラスチックアンプルの胴体部分は楕円柱形状であり、スティックアンプルの全長方向に垂直な断面は円形状又は楕円形状であり、全長方向に沿って変化する。そのため、プラスチックアンプル及びスティックアンプルの場合、容器の幅と高さとは一致しない。 In the case of ampoules and vials, the body portion is generally cylindrical, so the width and height of the container are approximately the same length. The body portion of the plastic ampoule has an elliptical cylinder shape, and the cross section perpendicular to the overall length direction of the stick ampoule is circular or elliptical, varying along the entire length direction. Therefore, in the case of plastic ampoules and stick ampoules, the width and height of the container do not match.

形状テンプレートは、簡易形状モデルを作成するための元となる容器の概略形状を示すものであり、容器の種類毎に予め準備され、記憶部180に記憶されている。本例では、バイアル(図66の符号66002参照)、アンプル(図67の符号67002参照)、プラスチックアンプル(図68の符号68002参照)、及びスティックアンプル(図69の符号66002参照)の形状テンプレートが準備されている。各図に示すように、符号Wd10、Ht10、及びHt20は、それぞれ形状テンプレートの幅、全長、及び胴体部分の長さを示す。 The shape template indicates the approximate shape of the container as a basis for creating a simple shape model, and is prepared in advance for each type of container and stored in the storage unit 180. In this example, the shape templates for a vial (see numeral 66002 in FIG. 66), an ampoule (see numeral 67002 in FIG. 67), a plastic ampoule (see numeral 68002 in FIG. 68), and a stick ampoule (see numeral 66002 in FIG. 69) are used. It is prepared. As shown in each figure, symbols Wd10, Ht10, and Ht20 indicate the width, overall length, and length of the body portion of the shape template, respectively.

一般に、図68の符号68001に示すように、プラスチックアンプルの、胴体部分に接続される先端部分Edは、平坦形状である。そのため、プラスチックアンプルを横に倒して載置するとき、胴体部分のどの箇所を載置面に接触させて載置するかによって、平面視したときのプラスチックアンプルの形状は異なってくる。本例では、図68に示すように、プラスチックアンプルについては、第1方向VD1から見たときの形状テンプレート(図中の「水平」参照)と、第2方向VD2から見たときの形状テンプレート(図中の「垂直」参照)と、を予め準備している。第2方向VD2は第1方向VD1と略垂直な方向である。本例では、形状テンプレートの形状が大きく異なる上記2つの形状テンプレートを準備している。図68の符号68002に示すように、符号Ht30は、形状テンプレートの高さを示す。 Generally, as shown at 68001 in FIG. 68, the distal end portion Ed of the plastic ampoule connected to the body portion has a flat shape. Therefore, when a plastic ampoule is placed sideways, the shape of the plastic ampoule when viewed from above changes depending on which part of the body portion is placed in contact with the placement surface. In this example, as shown in FIG. 68, the plastic ampoule has a shape template when viewed from the first direction VD1 (see "horizontal" in the figure) and a shape template when viewed from the second direction VD2 (see "Horizontal" in the figure). (see "vertical" in the figure) are prepared in advance. The second direction VD2 is a direction substantially perpendicular to the first direction VD1. In this example, the above-mentioned two shape templates having greatly different shapes are prepared. As shown by reference numeral 68002 in FIG. 68, reference numeral Ht30 indicates the height of the shape template.

モデル作成部212は、タッチパネル210を介して特定された容器の種類に対応する形状テンプレートを記憶部180から読出す。モデル作成部212は、タッチパネル210を介して入力された容器のサイズ情報に基づき、読出した形状テンプレートを拡大又は縮小する。その結果、モデル作成部212は、簡易形状モデルを作成する。 The model creation unit 212 reads a shape template corresponding to the type of container specified via the touch panel 210 from the storage unit 180. The model creation unit 212 enlarges or reduces the read shape template based on the container size information input via the touch panel 210. As a result, the model creation unit 212 creates a simple shape model.

例えば、バイアルの場合、図66に示すように、符号66002に示す形状テンプレートから、符号66003に示す簡易形状モデルが作成される。アンプルの場合、図67に示すように、符号67002に示す形状テンプレートから、符号67003に示す簡易形状モデルが作成される。プラスチックアンプルの場合、図68に示すように、符号68002に示す形状テンプレートから、符号68003に示す簡易形状モデルが作成される。プラスチックアンプルの場合、上記2つの形状テンプレートが準備されているため、それぞれの形状テンプレートに基づく簡易形状モデルが作成される。スティックアンプルの場合、図69に示すように、符号69002に示す形状テンプレートから、符号69003に示す簡易形状モデルが作成される。各図に示すように、符号Wd1、Ht1、Ht2、及びHt3は、それぞれサイズ情報及び形状テンプレートを元に作成した簡易形状モデルの幅、全長、胴体部分の長さ、及び高さであって、入力されたサイズ情報が示す値(容器の実寸)を示す。 For example, in the case of a vial, as shown in FIG. 66, a simple shape model indicated by reference numeral 66003 is created from a shape template indicated by reference numeral 66002. In the case of an ampoule, as shown in FIG. 67, a simple shape model indicated by reference numeral 67003 is created from a shape template indicated by reference numeral 67002. In the case of a plastic ampoule, as shown in FIG. 68, a simple shape model indicated by reference numeral 68003 is created from a shape template indicated by reference numeral 68002. In the case of a plastic ampoule, since the above two shape templates are prepared, a simple shape model is created based on each shape template. In the case of a stick ampoule, as shown in FIG. 69, a simple shape model indicated by reference numeral 69003 is created from a shape template indicated by reference numeral 69002. As shown in each figure, symbols Wd1, Ht1, Ht2, and Ht3 are the width, total length, length of the body part, and height of the simplified shape model created based on the size information and shape template, respectively, Indicates the value indicated by the input size information (actual size of the container).

モデル作成部212は、例えば、以下のように簡易形状モデルを作成する。ここでは、バイアルを例に挙げて説明する。 The model creation unit 212 creates a simple shape model as follows, for example. Here, the explanation will be given using a vial as an example.

図66の符号66002に示すように、形状テンプレートにおいて仮想的なX1Y1座標系を設定する。 As shown by reference numeral 66002 in FIG. 66, a virtual X1Y1 coordinate system is set in the shape template.

モデル作成部212は、形状テンプレートの全長Ht10が、サイズ情報が示す全長Ht1となるように、直線X12上の各点のX1座標(つまり座標X12)に、倍率Ht1/Ht10を乗算する。モデル作成部212は、形状テンプレートの胴体部分の長さHt20が、サイズ情報が示す胴体部分の長さHt2となるように、直線X11上の各点のX1座標(つまり座標X11)に、倍率Ht2/Ht20を乗算する。但し、モデル作成部212は、直線X12上の各点のX1座標(つまり座標X12)に、単にHt1の値を代入しても構わない。同様に、モデル作成部212は、直線X11上の各点のX1座標(つまり座標X11)に、単にHt2の値を代入しても構わない。 The model creation unit 212 multiplies the X1 coordinates (that is, the coordinates X12) of each point on the straight line X12 by a magnification Ht1/Ht10 so that the total length Ht10 of the shape template becomes the total length Ht1 indicated by the size information. The model creation unit 212 adds a magnification Ht2 to the X1 coordinate (that is, the coordinate X11) of each point on the straight line Multiply by /Ht20. However, the model creation unit 212 may simply substitute the value of Ht1 for the X1 coordinate (that is, the coordinate X12) of each point on the straight line X12. Similarly, the model creation unit 212 may simply substitute the value of Ht2 for the X1 coordinate (that is, the coordinate X11) of each point on the straight line X11.

また、モデル作成部212は、直線X11と直線X12との間の点のうち直線X11寄りの点については、X1座標に、{Ht2+(Ht1-Ht2)/K1}により求められる値を代入する。直線X12寄りの点については、X1座標に、{Ht2+(Ht1-Ht2)/K2}から求められる値を代入する。K1及びK2は、実験結果を踏まえ、任意の値を設定すればよい。また、モデル作成部212は、直線X11と直線X12との間の各点について、X1座標に、倍率(S1-T1)/(1-T1)を乗算して求めても構わない。なお、S1=Ht2/Ht20、T1=(Ht1-Ht2)/(Ht10-Ht20)である。 Furthermore, the model creation unit 212 substitutes a value obtained by {Ht2+(Ht1-Ht2)/K1} into the X1 coordinate for a point between the straight line X11 and the straight line X12 that is closer to the straight line X11. For points closer to the straight line X12, the value obtained from {Ht2+(Ht1-Ht2)/K2} is substituted into the X1 coordinate. K1 and K2 may be set to arbitrary values based on experimental results. Furthermore, the model creation unit 212 may obtain the X1 coordinate of each point between the straight line X11 and the straight line X12 by multiplying the magnification (S1-T1)/(1-T1). Note that S1=Ht2/Ht20, T1=(Ht1-Ht2)/(Ht10-Ht20).

モデル作成部212は、形状テンプレートの幅Wd10が、サイズ情報が示す幅Wd1となるように、少なくともX1軸上に存在しない形状テンプレートの各点のY1座標に、倍率Wd1/Wd10を乗算する。なお、モデル作成部212は、X1軸上から最も離隔した点のY1座標(直線Y12上の点の座標)に、単にWd1の値を代入しても構わない。 The model creation unit 212 multiplies the Y1 coordinate of each point of the shape template that does not exist on at least the X1 axis by a magnification Wd1/Wd10 so that the width Wd10 of the shape template becomes the width Wd1 indicated by the size information. Note that the model creation unit 212 may simply substitute the value of Wd1 for the Y1 coordinate of the point farthest from the X1 axis (the coordinate of the point on the straight line Y12).

また、モデル作成部212は、直線Y11(X1軸上の直線)と直線Y12との間の点のうち直線Y11寄りの点については、Y1座標に、例えば{(Wd1-Wd1×K3)/2}により求められる値を代入する。直線Y12寄りの点については、Y1座標に、例えば{Wd1-(Wd1-Wd1×K3)/2}から求められる値を代入する。K3は、実験結果を踏まえ、任意の値を設定すればよい。 In addition, the model creation unit 212 sets the Y1 coordinate of a point closer to the straight line Y11 between the straight line Y11 (straight line on the X1 axis) and the straight line Y12 by, for example, } Substitute the value found by . For points closer to the straight line Y12, a value obtained from, for example, {Wd1-(Wd1-Wd1×K3)/2} is substituted into the Y1 coordinate. K3 may be set to any value based on experimental results.

また、モデル作成部212は、上述の通り、直線Y11上の各点のY1座標は変更せず、直線Y12上の各点の座標はWd1の値に変更する。しかしこれに限らず、モデル作成部212は、例えば、直線X12上の各点、及びX1軸方向において当該各点に隣接する各点については、所定の計算式を用いてその値を変更しても構わない。 Furthermore, as described above, the model creation unit 212 does not change the Y1 coordinates of each point on the straight line Y11, but changes the coordinates of each point on the straight line Y12 to the value of Wd1. However, the model creation unit 212 is not limited to this, and for example, for each point on the straight line X12 and each point adjacent to each point in the I don't mind.

アンプルの簡易形状モデル、及び、プラスチックアンプルの第1方向VD1から見たときの簡易形状モデルについても、バイアルと同様の手法により作成される。但し、アンプルの場合、Y1軸から最も離隔した点(直線X12上の点)は、X1座標に、例えばWd1/2により求められる値が代入されてよい。また、プラスチックアンプルの第2方向VD2から見たときの簡易形状モデルについても、幅Wd10及び幅Wd1の代わりに高さHt30及びHt3を用いることにより、バイアルと同様の手法により作成される。スティックアンプルについては、上述した{Ht2+(Ht1-Ht2)/Kn(n=1、2)}を用いない点以外、バイアルと同様の手法により作成される。{Ht2+(Ht1-Ht2)/Kn(n=1、2)}の代わりに、例えば{Ht1×所定倍率(0より大きく1未満、実験結果を踏まえ設定)}が用いられても構わない。 A simple shape model of the ampoule and a simple shape model of the plastic ampoule when viewed from the first direction VD1 are also created using the same method as for the vial. However, in the case of an ampoule, the point farthest from the Y1 axis (the point on the straight line X12) may be assigned a value determined by, for example, Wd1/2 to the X1 coordinate. Further, a simple shape model of the plastic ampoule when viewed from the second direction VD2 is also created in the same manner as the vial by using the heights Ht30 and Ht3 instead of the widths Wd10 and Wd1. Stick ampoules are prepared in the same manner as vials, except that the above-mentioned {Ht2+(Ht1-Ht2)/Kn(n=1, 2)} is not used. Instead of {Ht2+(Ht1-Ht2)/Kn (n=1, 2)}, for example, {Ht1×predetermined magnification (greater than 0 and less than 1, set based on experimental results)} may be used.

このようにして、モデル作成部212は、形状テンプレートを、実際に測定された値にあわせて拡大又は縮小する。本例では、少なくとも容器の幅、全長、及び胴体部分の長さが実際に測定された値となるように、形状テンプレートを拡大又は縮小することにより、簡易形状モデルを作成する。 In this way, the model creation unit 212 enlarges or reduces the shape template according to the actually measured value. In this example, a simple shape model is created by enlarging or reducing the shape template so that at least the width, overall length, and length of the body portion of the container are the actually measured values.

なお、作成された簡易形状モデルを規定する値(例:簡易形状モデルの各点の座標)がそのまま記憶部180に記憶されてもよいし、例えば、当該簡易形状モデルの相似形状を規定する値が記憶部180に記憶されてもよい。つまり、作成された簡易形状モデルの大きさ及び形状を維持した状態で、簡易形状モデルを記憶部180に記憶する必要は必ずしもない。 Note that the values that define the created simple shape model (e.g., the coordinates of each point of the simple shape model) may be stored as they are in the storage unit 180, or, for example, the values that define the similar shape of the simple shape model may be stored as they are. may be stored in the storage unit 180. That is, it is not necessarily necessary to store the created simple shape model in the storage unit 180 while maintaining its size and shape.

また、ここで言う、形状テンプレートを拡大又は縮小することにより簡易形状モデルを作成するとは、形状テンプレートを定数倍して、形状テンプレートと相似形状の簡易形状モデルを作成することを含む。つまり、予め設定された形状テンプレートを構成する各要素(形状テンプレートの各点(図66~図69に示す黒点))の座標を定数倍して、形状テンプレートと相似形状の簡易形状モデルを作成することを含む。但し、簡易形状モデルが形状テンプレートの相似形状として作成される必要は必ずしもない。つまり、簡易形状モデルが形状テンプレートの相似形状として作成されるように、形状テンプレートの各要素の座標が算出される必要は必ずしもない。また、上述した簡易モデルの作成手法はあくまで一例であって、上述した計算方法以外の方法により、形状テンプレートから簡易モデルが作成されても構わない。 Moreover, creating a simple shape model by enlarging or reducing the shape template as used herein includes multiplying the shape template by a constant to create a simple shape model having a similar shape to the shape template. In other words, the coordinates of each element (each point of the shape template (black dots shown in FIGS. 66 to 69)) constituting a preset shape template are multiplied by a constant to create a simple shape model of a shape similar to the shape template. Including. However, the simple shape model does not necessarily need to be created as a shape similar to the shape template. That is, it is not necessarily necessary to calculate the coordinates of each element of the shape template so that the simple shape model is created as a similar shape to the shape template. Further, the method for creating the simple model described above is just an example, and the simple model may be created from the shape template by a method other than the calculation method described above.

また、図66~図69では、形状テンプレートが、各要素(各点)と、各要素を結ぶ直線とにより規定されているが、これに限らず、形状テンプレートが、各要素により規定されていても構わない。 Further, in FIGS. 66 to 69, the shape template is defined by each element (each point) and a straight line connecting each element, but the shape template is not limited to this, and the shape template is defined by each element. I don't mind.

吸着可否判定部213は、モデル作成部212が作成した簡易形状モデルを用いて特定した吸着対象の注射薬を、薬剤搬送部121が吸着できるか否かを判定する。 The adsorption capability determination unit 213 determines whether the drug transport unit 121 can adsorb the injection drug to be adsorbed, which is specified using the simple shape model created by the model creation unit 212.

吸着位置決定部194は、位置特定用カメラ122が撮影したカセットCaの画像と、モデル作成部212が作成した簡易形状モデルとに基づき、薬剤搬送部121がカセットCaから取出す注射薬における吸着位置を決定する。 The suction position determination unit 194 determines the suction position of the injection drug to be taken out from the cassette Ca by the drug transport unit 121 based on the image of the cassette Ca taken by the position specifying camera 122 and the simple shape model created by the model creation unit 212. decide.

吸着位置決定部194は、例えば、上述の「(吸着位置の決定処理)」及び「(吸着位置決定に係る補正処理)」に示すように、吸着する注射薬を特定すると共に、当該注射薬における吸着位置を決定する。このとき、吸着対象とする注射薬の形状の特定は、位置特定用カメラ122が撮影した画像から検出された注射薬領域を、簡易形状モデルと照合することにより行われればよい。また、吸着位置の算出は、注射薬幅情報の代わりに、入力されたサイズ情報に含まれる幅情報を用いて行わればよい。また、サイズ情報の一部として注射薬の重心位置を取得、又はサイズ情報から当該重心位置を算出できる場合には、上述の「<吸着位置の決定例>」に示すように、撮影された画像及び重心位置を用いて、吸着位置が算出されても構わない。 The suction position determining unit 194 specifies the injection drug to be adsorbed, and also specifies the injectable drug to be adsorbed, as shown in the above-mentioned "(Suction position determination process)" and "(Adsorption position determination correction process)". Determine the suction position. At this time, the shape of the injection drug to be adsorbed may be determined by comparing the injection drug area detected from the image taken by the position specifying camera 122 with a simple shape model. Moreover, the calculation of the suction position may be performed using width information included in the input size information instead of the injection width information. In addition, if the center of gravity position of the injection drug can be obtained as part of the size information or calculated from the size information, the captured image The suction position may be calculated using the center of gravity and the position of the center of gravity.

吸着可否判定部213は、決定した吸着位置において、薬剤搬送部121が注射薬を吸着できたか否かを判定する。吸着可否判定部213は、例えば上述の空気管内の負荷(例:空気管内の圧力、又は空気管を流れる空気量)が、所定値以下となった場合に、注射薬を吸着できたと判定する。この場合、搬送制御部193は、薬剤搬送部121により吸着された注射薬を、カセット保持部130に載置されたカセットCaから取出し、位置変更部126へと搬送する。 The suction capability determining unit 213 determines whether the drug transport unit 121 was able to suction the injection drug at the determined suction position. The adsorption capability determining unit 213 determines that the injection drug can be adsorbed, for example, when the load within the air pipe (eg, the pressure within the air pipe or the amount of air flowing through the air pipe) becomes equal to or less than a predetermined value. In this case, the transport control unit 193 takes out the injection medicine adsorbed by the medicine transport unit 121 from the cassette Ca placed on the cassette holding unit 130 and transports it to the position changing unit 126.

モデル登録部214は、モデル作成部212が作成した形状モデルを登録する。本例では、モデル登録部214は、吸着可否判定部213により注射薬を吸着できたと判定された場合に、モデル作成部212が作成した簡易形状モデルを、記憶部180に記憶する。モデル登録部214は、位置変更部126に搬送された注射薬に付されたバーコードを、バーコードリーダー123に読取らせる。上述したように、注射薬の種類を示す情報(注射薬識別情報)は、バーコードの形式にて注射薬に付されている。モデル登録部214は、モデル作成部212が作成した簡易形状モデルを、読取った注射薬識別情報に紐付けて、記憶部180に記憶する。 The model registration unit 214 registers the shape model created by the model creation unit 212. In this example, the model registration unit 214 stores the simple shape model created by the model creation unit 212 in the storage unit 180 when the adsorption possibility determination unit 213 determines that the injection drug can be adsorbed. The model registration unit 214 causes the barcode reader 123 to read the barcode attached to the injection drug transported to the position change unit 126. As described above, information indicating the type of injection drug (injection drug identification information) is attached to the injection drug in the form of a bar code. The model registration unit 214 stores the simple shape model created by the model creation unit 212 in the storage unit 180 in association with the read injection drug identification information.

このように、モデル作成部212は、上述したような形状情報及び所定条件に基づき作成される手法とは異なり、薬剤師等の入力に基づき簡易形状モデルを作成し、モデル登録部214は、簡易形状モデルを記憶部180に記憶する。そのため、本例の注射薬払出装置100(モデル登録装置)では、注射薬払出装置100に新規の形状モデルが登録されるまでの間であっても、簡易な形状モデルを用いた一時的な注射薬の払出しが可能となる。 In this way, the model creation unit 212 creates a simple shape model based on input from a pharmacist, etc., unlike the method described above in which the model is created based on shape information and predetermined conditions, and the model registration unit 214 creates a simple shape model The model is stored in the storage unit 180. Therefore, in the injection drug dispensing device 100 (model registration device) of this example, temporary injection using a simple shape model is possible even until a new shape model is registered in the injection drug dispensing device 100. Medicines can be dispensed.

図形向き特定部215は、位置変更部126に載置された注射薬から、当該注射薬に付されたバーコードを読取ることにより、注射薬におけるバーコードの向きを特定する。バーコードリーダー123は、バーコードを読取ることにより、注射薬におけるバーコードの向きを特定できる。バーコードの向きは、例えばバーコードに付された英数字の並び順を指す。 The graphic orientation specifying unit 215 specifies the orientation of the barcode on the injection drug by reading the barcode attached to the injection drug placed on the position changing unit 126. The barcode reader 123 can identify the orientation of the barcode on the injection drug by reading the barcode. The orientation of a barcode refers to, for example, the order in which alphanumeric characters attached to the barcode are arranged.

図形向き特定部215は、バーコードリーダー123が特定したバーコードの向きを示す向き特定情報を取得することにより、当該向きを特定する。また、制御部190は、バーコードリーダー123が注射薬からバーコードを読取ることにより、当該注射薬識別情報を取得できる。そのため、制御部190は、バーコードの読取りにより注射薬の種類を特定する。 The graphic orientation specifying unit 215 specifies the orientation by acquiring orientation specifying information indicating the orientation of the barcode specified by the barcode reader 123. Further, the control unit 190 can obtain the injection drug identification information by having the barcode reader 123 read the barcode from the injection drug. Therefore, the control unit 190 identifies the type of injection drug by reading the barcode.

なお、位置変更部126は、バーコードリーダー123がバーコードを読取り可能な読取位置である。本例では、読取位置は、位置変更部126の薬剤受入位置であるが、搬送トレイ151aへの搬送前に注射薬が載置される位置変更部126の薬剤受渡位置であっても構わない。 Note that the position change unit 126 is a reading position where the barcode reader 123 can read the barcode. In this example, the reading position is the medicine receiving position of the position changing unit 126, but it may also be the medicine delivery position of the position changing unit 126 where the injection medicine is placed before being transported to the transport tray 151a.

また、注射薬払出装置100では、注射薬に付されたバーコードの向きにより、位置変更部126に載置された注射薬の向きを特定するが、注射薬に付されたその他の図形の向きに基づき当該注射薬の向きを特定しても構わない。つまり、注射薬に付されたバーコードは、その向きに基づき注射薬の向きを特定可能な、注射薬に付された図形の一例である。図形としては、向きを有する形状であれば、1次元バーコード、2次元バーコード(例:QRコード(登録商標))、及び3次元形状(例:凹凸形状)等であって構わない。また、文字(数字を含む)、記号、及び/符号等を並べた列の形状であっても構わない。 In addition, in the injection drug dispensing device 100, the orientation of the injection drug placed on the position changing unit 126 is specified based on the orientation of the barcode attached to the injection drug, but the orientation of the other shapes attached to the injection drug is determined. The orientation of the injection drug may be specified based on the following. In other words, a barcode attached to an injection drug is an example of a graphic attached to an injection drug that can identify the orientation of the injection drug based on its orientation. The figure may be a one-dimensional barcode, a two-dimensional barcode (eg, QR code (registered trademark)), a three-dimensional shape (eg, uneven shape), etc., as long as it has an oriented shape. Further, it may be in the form of a column in which characters (including numbers), symbols, and/or codes are arranged.

薬剤向き設定部216は、位置変更部126に載置された注射薬の向きを設定する。本例では、薬剤向き設定部216は、薬剤師等によりタッチパネル210に入力された注射薬の向きを、位置変更部126に載置された注射薬の向きとして設定する。 The medicine orientation setting unit 216 sets the orientation of the injection medicine placed on the position changing unit 126. In this example, the medicine orientation setting unit 216 sets the orientation of the injection medicine inputted into the touch panel 210 by a pharmacist or the like as the orientation of the injection medicine placed on the position changing unit 126.

制御部190は、期限読み取り用カメラ125が撮像した、位置変更部126(薬剤受入位置)における注射薬の画像を、タッチパネル210に表示する。薬剤師等は、タッチパネル210に表示された画像を視認することにより、位置変更部126における注射薬の向きを特定し、その向きをタッチパネル210に入力する。情報取得部211は、薬剤師等により特定された当該向きを示す薬剤向き情報を、タッチパネル210から取得する。薬剤向き設定部216は、情報取得部211が取得した薬剤方向情報が示す注射薬の向きを、位置変更部126に載置された注射薬の向きとして設定する。薬剤向き設定部216は、設定した注射薬の向きを、図形向き特定部215が特定した注射薬識別情報の向きと紐付ける。 The control unit 190 displays, on the touch panel 210, an image of the injection drug in the position change unit 126 (drug receiving position), which is captured by the expiration date reading camera 125. A pharmacist or the like identifies the orientation of the injection drug in the position changing unit 126 by visually checking the image displayed on the touch panel 210, and inputs the orientation into the touch panel 210. The information acquisition unit 211 acquires drug orientation information indicating the orientation specified by a pharmacist or the like from the touch panel 210. The medicine orientation setting unit 216 sets the orientation of the injection medicine indicated by the medicine orientation information acquired by the information acquisition unit 211 as the orientation of the injection medicine placed on the position changing unit 126. The medicine orientation setting unit 216 links the set orientation of the injection medicine with the orientation of the injection medicine identification information specified by the graphic orientation identification unit 215.

なお、制御部190は、注射薬の画像を表示させる必要は必ずしもない。例えば、薬剤師等が、位置変更部126に載置された注射薬の向きを、位置変更部126を直接視認することにより特定し、薬剤の向きをタッチパネル210に入力しても構わない。 Note that the control unit 190 does not necessarily need to display an image of the injection drug. For example, a pharmacist or the like may specify the orientation of the injection medicine placed on the position change unit 126 by directly viewing the position change unit 126, and input the orientation of the medicine into the touch panel 210.

情報登録部217は、図形向き特定部215により特定されたバーコードの向きと、薬剤向き設定部216により設定された注射薬の向きとに基づき、図形の向き及び薬剤の向きの関係を示す向き情報を、注射薬の種類に紐付けて登録する。 The information registration unit 217 determines an orientation indicating the relationship between the orientation of the graphic and the orientation of the drug based on the orientation of the barcode specified by the orientation identification unit 215 and the orientation of the injection drug set by the orientation setting unit 216. Information is registered in association with the type of injection drug.

本例では、情報登録部217は、薬剤向き設定部216が設定した注射薬の向きを、規定された注射薬の向きに一致させたときの、当該注射薬の向きに対応するバーコードの向きを、上記向き情報として、注射薬の種類に紐付けて登録する。 In this example, the information registration unit 217 determines the orientation of the barcode corresponding to the orientation of the injection drug when the orientation of the injection drug set by the drug orientation setting unit 216 matches the specified orientation of the injection drug. is registered as the orientation information in association with the type of injection drug.

薬剤向き設定部216が設定した注射薬の向きと、規定された注射薬の向きとが一致している場合、情報登録部217は、図形向き特定部215が特定したバーコードの向きを、上記向き情報として、バーコードを読取った注射薬の種類と紐付ける。 When the orientation of the injection drug set by the drug orientation setting unit 216 and the specified orientation of the injection medicine match, the information registration unit 217 changes the orientation of the barcode specified by the graphic orientation identification unit 215 to the above-mentioned direction. As direction information, the barcode is linked to the type of injection drug read.

薬剤向き設定部216が設定した注射薬の向き(特定向き)と、規定された注射薬の向き(規定向き)とが一致していない場合、情報登録部217は、例えば、特定向きと規定向きとの角度を算出する。情報登録部217は、図形向き特定部215が特定したバーコードの向きを当該角度の分変更したバーコードの向きを、上記向き情報として、バーコードを読取った注射薬の種類と紐付ける。 If the orientation of the injection drug set by the medicine orientation setting unit 216 (specific orientation) and the prescribed orientation of the injection medicine (regular orientation) do not match, the information registration unit 217, for example, Calculate the angle with. The information registration unit 217 associates the orientation of the barcode, which is obtained by changing the orientation of the barcode specified by the graphic orientation identification unit 215 by the angle, with the type of the injection drug for which the barcode was read, as the orientation information.

図70は、位置変更部126における注射薬の向き(載置方向)と、注射薬に付されたバーコードの向きとの対応関係の一例を示す図である。符号70001及び符号70003は、位置変更部126に注射薬が正しく載置された場合を示し、符号70002及び符号70004は、位置変更部126に注射薬が誤って載置された場合を示す。 FIG. 70 is a diagram illustrating an example of the correspondence between the orientation (placing direction) of the injection medicine in the position changing unit 126 and the orientation of the barcode attached to the injection medicine. Reference numerals 70001 and 70003 indicate cases in which the injection drug is correctly placed on the position changing unit 126, and reference numerals 70002 and 70004 indicate cases in which the injection drug is incorrectly placed in the position changing unit 126.

注射薬が正しく載置された場合とは、
・注射薬の底部MDbが、第1搭載部126a(又は第2搭載部126b)の底壁126wb側(例:底部MDbが底壁126wbに当接した状態)となり、かつ、
・注射薬の頭部MDhが、第1搭載部126a(又は第2搭載部126b)の上壁126wt側となるように、
注射薬が載置された場合を指す。また、このときの注射薬の向きが、規定された注射薬の向きとなる。図70では、左向きが、注射薬が正しく載置された状態となる。
What happens when the injection drug is placed correctly?
- The bottom MDb of the injection medicine is on the bottom wall 126wb side of the first mounting part 126a (or the second mounting part 126b) (for example, the bottom MDb is in contact with the bottom wall 126wb), and
・So that the head MDh of the injection medicine is on the upper wall 126wt side of the first mounting part 126a (or second mounting part 126b),
This refers to the case where an injection drug is placed. Further, the direction of the injection drug at this time becomes the specified direction of the injection drug. In FIG. 70, the injection drug is correctly placed when facing left.

処理位置132に載置されたカセットCaから位置変更部126へ注射薬を搬送する場合、注射薬が必ずしも正しく載置されるとは限らない。カセットCaから注射薬を取出すときの吸着位置は、画像に含まれる注射薬領域と形状モデル(簡易形状モデル)との照合に基づき決定される。そのため、照合の結果、例えば注射薬の頭部及び底部が逆向きに認識されてしまった場合、注射薬は、位置変更部126において逆向きに載置されてしまう可能性がある。また、注射薬に付されたバーコードの向きは、注射薬毎(例:注射薬の種類毎)に異なる。 When transporting an injection from the cassette Ca placed in the processing position 132 to the position change unit 126, the injection is not necessarily placed correctly. The suction position when taking out the injection from the cassette Ca is determined based on the comparison between the injection area included in the image and the shape model (simple shape model). Therefore, as a result of the verification, for example, if the head and bottom of the injection drug are recognized in opposite directions, there is a possibility that the injection drug will be placed in the position changing section 126 in the opposite direction. Further, the orientation of the barcode attached to the injection drug differs depending on the injection drug (for example, depending on the type of injection drug).

注射薬払出装置100において管理されていない注射薬(例:簡易形状モデルの作成を要する新薬)については、注射薬の向きとバーコードの向きとが紐付けられていない。そのため、バーコードの向きを特定しただけでは、位置変更部126において注射薬の正しい向きを一意に特定することはできない。従って、当該注射薬については、バーコードの向きと、位置変更部126における注射薬の向き(規定された注射薬の向き)との対応関係を特定しておく必要がある。 For injection drugs that are not managed by the injection drug dispensing device 100 (eg, new drugs that require creation of a simple shape model), the orientation of the injection drug and the orientation of the barcode are not linked. Therefore, simply by specifying the orientation of the barcode, the position changing unit 126 cannot uniquely specify the correct orientation of the injection drug. Therefore, for the injection drug, it is necessary to specify the correspondence between the orientation of the barcode and the orientation of the injection drug in the position changing unit 126 (defined orientation of the injection drug).

図70の符号70001及び符号70003の例では、注射薬の向きDmdは、規定された注射薬の向き(左向き)と一致する。そのため、情報登録部217は、注射薬識別情報の向きDbrを、規定された注射薬の向きと対応する向き(上記向き情報)として登録する。符号70001では、上記向き情報として左向きが登録され、符号70003では、上記向き情報として右向きが登録される。 In the examples 70001 and 70003 in FIG. 70, the direction Dmd of the injection drug matches the defined direction (leftward) of the injection drug. Therefore, the information registration unit 217 registers the orientation Dbr of the injection drug identification information as the orientation (the above-mentioned orientation information) corresponding to the specified orientation of the injection drug. At 70001, leftward is registered as the orientation information, and at 70003, rightward is registered as the orientation information.

図70の符号70002及び符号70004に示すように、注射薬の向きDmdが、規定された注射薬の向き(左向き)と一致しておらず、この2つの向きがなす角度は180°である。そのため、情報登録部217は、注射薬の向きDmdを規定された注射薬の向きに一致させるべく180°回転させたときのバーコードの向きを、規定された注射薬の向きと対応する向き(上記向き情報)として登録する。 As shown by reference numerals 70002 and 70004 in FIG. 70, the direction Dmd of the injection drug does not match the prescribed direction of the injection drug (leftward), and the angle formed by these two directions is 180°. Therefore, the information registration unit 217 changes the orientation of the barcode when the orientation Dmd of the injection drug is rotated by 180 degrees to match the orientation of the injection drug as specified ( (Orientation information above).

符号70002では、上記向き情報として、実際に読取られたバーコードの向き(右向き)と逆向きの左向きが登録され、符号70003では、上記向き情報として、実際に読取られたバーコードの向き(左向き)と逆向きの右向きが登録される。 In code 70002, the direction of the actually read barcode (rightward) and leftward, which is the opposite direction, is registered as the orientation information, and in code 70003, the direction of the barcode actually read (leftward) is registered as the orientation information. ) and the opposite direction to the right are registered.

このようにバーコードの向きを登録しておくことで、注射薬払出装置100は、実際に注射薬を払出すときの位置変更部126での注射薬の向きを、登録されたバーコードの向きに基づき、精度良く特定できる。そのため、制御部190は、登録されたバーコードの向きに基づき、搬送トレイ151aにおける注射薬の向きを、実際に載置させたい所定方向と一致するように算出できる。従って、制御部190は、搬送トレイ151aにおいて所定方向を向くように、複数の注射薬を整列して載置できる。 By registering the orientation of the barcode in this way, the injection drug dispensing device 100 can change the orientation of the injection drug in the position changing unit 126 when actually dispensing the injection drug to the direction of the registered barcode. Based on this, it can be identified with high accuracy. Therefore, based on the orientation of the registered barcode, the control unit 190 can calculate the orientation of the injection medicine on the transport tray 151a so that it matches the predetermined direction in which it is actually desired to be placed. Therefore, the control unit 190 can align and place a plurality of injections on the transport tray 151a so as to face in a predetermined direction.

なお、情報登録部217は、特定されたバーコードの向きと設定された注射薬の向きとに基づく向き情報を、注射薬の種類と紐付けて登録すればよい。つまり、情報登録部217は、注射薬の向きを、規定された注射薬の向きに一致させたときの、当該注射薬の向きに対応するバーコードの向きを、上記向き情報として登録する必要は必ずしもない。 Note that the information registration unit 217 may register orientation information based on the specified orientation of the barcode and the set orientation of the injection drug in association with the type of injection drug. In other words, the information registration unit 217 does not need to register, as the orientation information, the orientation of the barcode corresponding to the orientation of the injection when the orientation of the injection matches the specified orientation of the injection. Not necessarily.

例えば、規定された注射薬の向きを示す情報が記憶部180に記憶されている場合、情報登録部217は、特定されたバーコードの向きと設定された注射薬の向きとを対応付けた向き情報を、注射薬の種類に紐付けて登録しても構わない。 For example, when information indicating the specified orientation of the injection drug is stored in the storage unit 180, the information registration unit 217 stores an orientation that associates the specified orientation of the barcode with the set orientation of the injection medicine. Information may be registered in association with the type of injection drug.

この場合例えば、制御部190は、注射薬を搬送トレイ151aに搬送するときに読取ったバーコードの向きと、当該注射薬の種類に紐付けられた向き情報が示すバーコードの向きとを照合する。制御部190は、これら2つのバーコードの向きが一致する場合、向き情報が示す注射薬の向きと規定された注射薬の向きとが一致するか否かを判定することにより、実際の注射薬の向きを特定する。制御部190は、上記2つのバーコードの向きが一致しない場合、向き情報が示すバーコードの向きを読取ったバーコードの向きに一致させたときの、向き情報が示す注射薬の向きが、規定された注射薬の向きと一致するか否かを判定する。例えば、上記2つのバーコードの向きが逆向きである場合、制御部190は、向き情報が示す注射薬の向きを逆向きにして、規定された注射薬の向きと一致するか否かを判定する。 In this case, for example, the control unit 190 compares the orientation of the barcode read when transporting the injection drug to the transport tray 151a with the orientation of the barcode indicated by the orientation information associated with the type of injection drug. . When the orientations of these two barcodes match, the control unit 190 determines whether or not the orientation of the injection indicated by the orientation information matches the specified orientation of the injection, thereby determining whether the actual injection Determine the orientation of When the orientations of the two barcodes do not match, the control unit 190 determines that when the orientation of the barcode indicated by the orientation information matches the orientation of the read barcode, the orientation of the injection medicine indicated by the orientation information is determined to be the specified orientation. It is determined whether the direction of the injection drug matches the direction of the injection drug. For example, if the directions of the two barcodes are opposite, the control unit 190 reverses the direction of the injection drug indicated by the orientation information and determines whether the direction of the injection drug matches the specified direction of the injection drug. do.

また、制御部190は、例えば上述した第2距離情報を取得できる場合、注射薬ラベルが上向きとなるように、搬送トレイ151aに注射薬を載置できる。第2距離情報は、上述したように、注射薬に付されたバーコードの位置から、注射薬名(薬剤名)等が記載された注射薬ラベルの略中心位置までの、注射薬の周方向上の第2距離を示す情報である。この場合、搬送トレイ151aにおいて、所定方向を向くように注射薬を載置できるだけでなく、注射薬ラベルを上向きにして載置できる。そのため、搬送トレイ151aに載置された注射薬の目視鑑査を行い易くできる。特に、搬送トレイ151aに複数の注射薬が載置される場合に、注射薬の向き及び注射ラベルの向きが揃っていない場合、薬剤師等の目視鑑査の手間が一層増える。注射薬払出装置100は、複数の注射薬を、所定方向を向くように整列して、かつ注射ラベルが上向きとなるように載置できるので、このような手間を省くことができ、目視鑑査にかかる薬剤師等の負担を大きく軽減できる。 Further, when the second distance information described above can be acquired, for example, the control unit 190 can place the injection medicine on the transport tray 151a so that the injection medicine label faces upward. As mentioned above, the second distance information is the circumferential direction of the injection drug from the position of the barcode attached to the injection drug to the approximate center position of the injection drug label on which the injection drug name (drug name), etc. is written. This is information indicating the second distance above. In this case, on the transport tray 151a, not only can the injection medicine be placed facing a predetermined direction, but also the injection medicine label can be placed facing upward. Therefore, it is possible to easily visually inspect the injection medicine placed on the transport tray 151a. In particular, when a plurality of injection drugs are placed on the transport tray 151a, if the directions of the injection drugs and the injection labels are not aligned, the time and effort required for visual inspection by pharmacists and the like increases. The injection drug dispensing device 100 can arrange a plurality of injection drugs so that they face a predetermined direction and place them with the injection labels facing upward, so this kind of effort can be saved and visual inspection can be simplified. The burden on pharmacists, etc. can be greatly reduced.

また本例では、吸着位置決定部194は、入力された注射薬のサイズ情報、図形向き特定部215が特定したバーコードの向き、及び登録された向き情報に基づき、位置変更部126に載置された注射薬の吸着位置を決定する。 Further, in this example, the suction position determining unit 194 places the injectable medicine on the position changing unit 126 based on the input size information of the injection drug, the orientation of the barcode identified by the graphic orientation identifying unit 215, and the registered orientation information. Determine the adsorption position of the injection drug.

具体的には、吸着位置決定部194は、バイアル、アンプル、及びプラスチックアンプルについては、容器の底部から、測定された胴体部分の長さの半分(Ht2/2)の距離を、オフセット距離Htofとして算出する。このオフセット距離は、図66の符号66003、図67の符号67003、及び図68の符号68003に示されている。また、吸着位置決定部194は、スティックアンプルについては、容器の底部から、測定された全長の長さの半分(Ht1/2)を、オフセット距離Htofとして算出する。このオフセット距離は、図69の符号69003に示されている。 Specifically, for vials, ampoules, and plastic ampoules, the suction position determining unit 194 sets a distance of half the measured length of the body part (Ht2/2) from the bottom of the container as the offset distance Htof. calculate. This offset distance is shown at 66003 in FIG. 66, 67003 in FIG. 67, and 68003 in FIG. Further, for the stick ampoule, the suction position determination unit 194 calculates half (Ht1/2) of the measured total length from the bottom of the container as the offset distance Htof. This offset distance is shown at 69003 in FIG.

吸着位置決定部194は、位置変更部126から搬送トレイ151aに搬送するときに、図形向き特定部215が特定したバーコードの向きと、登録された向き情報が示すバーコードの向きとを比較する。図形向き特定部215が特定したバーコードの向きは、例えば搬送トレイ151aへ注射薬が払出される前に、位置変更部126に載置された状態で読取ったバーコードの向きである。 When transporting the barcode from the position changing unit 126 to the transport tray 151a, the suction position determination unit 194 compares the orientation of the barcode specified by the graphic orientation identification unit 215 with the orientation of the barcode indicated by the registered orientation information. . The orientation of the barcode identified by the graphic orientation identifying unit 215 is, for example, the orientation of the barcode read while placed on the position changing unit 126 before the injection is delivered to the transport tray 151a.

上記2つのバーコードの向きが一致した場合、吸着位置決定部194は、次のように吸着位置を特定する。吸着位置決定部194は、第1搭載部126a(又は第2搭載部126b)の底壁126wbから、上記オフセット距離Htof離れた位置であって、かつ、注射薬の頭部MDhから底部MDbへと延伸する注射薬における中心線上の位置を、吸着位置として特定する。 If the orientations of the two barcodes match, the suction position determination unit 194 specifies the suction position as follows. The suction position determination unit 194 is located at a position away from the bottom wall 126wb of the first mounting unit 126a (or second mounting unit 126b) by the offset distance Htof, and from the head MDh of the injection drug to the bottom MDb. A position on the center line of the stretched injection drug is specified as an adsorption position.

なお、第1搭載部126a(又は第2搭載部126b)における注射薬が載置される位置は、予め決められている。そのため、吸着位置決定部194は、位置変更部126に載置された注射薬の向きを特定すれば、位置変更部126における容器の胴体部分及び頭部の位置を特定できる。また、吸着位置決定部194は、入力された容器の幅Wd1に基づいて、位置変更部126に載置された注射薬における中心線の位置を特定できる。 Note that the position where the injection drug is placed in the first mounting part 126a (or the second mounting part 126b) is determined in advance. Therefore, by identifying the orientation of the injection placed on the position changing unit 126, the suction position determining unit 194 can identify the positions of the body portion and the head of the container in the position changing unit 126. Further, the suction position determining unit 194 can specify the position of the center line of the injection drug placed on the position changing unit 126 based on the input width Wd1 of the container.

図形向き特定部215が特定したバーコードの向きと、登録された向き情報が示すバーコードの向きとが一致しない場合について考える。本例では、図70の符号70002及び70004に示すように、注射薬の頭部MDhが底壁126wb側となり、かつ注射薬の底部MDbが上壁126wt側となるように、注射薬が第1搭載部126a(又は第2搭載部126b)に載置されていることとなる。そのため、吸着位置決定部194は、第1搭載部126a(又は第2搭載部126b)の底壁126wbから、{(注射薬の全長)-(上記オフセット距離Htof)}離れた位置であって、かつ、注射薬における中心線上の位置を、吸着位置として特定する。 Consider a case where the orientation of the barcode identified by the graphic orientation identifying unit 215 does not match the orientation of the barcode indicated by the registered orientation information. In this example, as shown by reference numerals 70002 and 70004 in FIG. 70, the injection drug is placed in the first This means that it is placed on the mounting section 126a (or the second mounting section 126b). Therefore, the suction position determining unit 194 is located at a distance {(total length of the injection drug)−(the above-mentioned offset distance Htof)} from the bottom wall 126wb of the first mounting unit 126a (or second mounting unit 126b), and In addition, a position on the center line of the injection drug is specified as an adsorption position.

このように吸着位置を特定することにより、吸着位置決定部194は、位置変更部126における注射薬の載置状態に応じて、胴体部分の中央付近(重心位置、又はその近傍と推定される位置)を吸着位置として特定できる。位置変更部126では、吸着位置は、撮影された注射薬の画像及び簡易形状モデルを用いることなく、精度良く吸着位置を決定できる。 By specifying the suction position in this way, the suction position determining unit 194 selects a position near the center of the body portion (at or near the center of gravity, depending on the placement state of the injection in the position changing unit 126). ) can be identified as the adsorption position. The position changing unit 126 can accurately determine the suction position without using a photographed image of the injection drug or a simple shape model.

重量算出部218は、カセットCaの重量を測定することにより、注射薬1本あたりの重量を算出する。図6に示すように、カセット保持部130aにはロードセル134が設けられている。重量算出部218は、カセット保持部130aにカセットCaが載置されているときに、ロードセル134を制御することにより、カセットCaの重量を測定する。カセットCaの重量測定のため、カセット移送部140は、カセットCaをカセット棚110からカセット保持部130aに移送する。 The weight calculation unit 218 calculates the weight of one injection drug by measuring the weight of the cassette Ca. As shown in FIG. 6, a load cell 134 is provided in the cassette holding section 130a. The weight calculation section 218 measures the weight of the cassette Ca by controlling the load cell 134 when the cassette Ca is placed on the cassette holding section 130a. To measure the weight of the cassette Ca, the cassette transfer section 140 transfers the cassette Ca from the cassette shelf 110 to the cassette holding section 130a.

重量算出部218は、カセットCaに1本の注射薬が載置されている場合のカセットCaの重量と、空のカセットCaの重量とを測定し、その差分を算出することにより、注射薬1本あたりの重量を算出する。これにより、注射薬払出装置100は、注射薬1本あたりの重量に基づき、注射薬払出装置100により管理されていなかった注射薬の在庫状況を管理することが可能となる。 The weight calculation unit 218 measures the weight of the cassette Ca when one injection drug is placed in the cassette Ca and the weight of the empty cassette Ca, and calculates the difference between the weights of the cassette Ca and the empty cassette Ca. Calculate the weight per book. Thereby, the injection drug dispensing device 100 can manage the inventory status of the injection drugs, which has not been managed by the injection drug dispensing device 100, based on the weight per bottle of the injection drug.

また本例では、搬送制御部193は、図形向き特定部215が特定したバーコードの向き、及び登録された向き情報に基づき、位置変更部126に載置された注射薬の向きを、予め設定された搬送トレイ151aにおける注射薬の向きとなるように調整する。つまり、搬送制御部193は、注射薬の向きが搬送トレイ151aにおいて所定方向を向くように、注射薬の向きを調整する。搬送制御部193は、吸着機構153a(図9参照)を軸方向に回転させることにより、注射薬の向きを調整する。搬送制御部193は、薬剤移動部153(図9参照)を制御することにより、注射薬の向きが調整された注射薬を、搬送トレイ151aへと搬送する。なお、搬送制御部193は、搬送トレイ151aへ注射薬を搬送し、搬送トレイ151aに注射薬を載置する前に、注射薬の向きを調整しても構わない。 Further, in this example, the transport control unit 193 presets the orientation of the injection drug placed on the position change unit 126 based on the orientation of the barcode identified by the graphic orientation identification unit 215 and the registered orientation information. The direction of the injection drug on the conveyance tray 151a is adjusted so that the injection medicine is oriented in the same direction as the transport tray 151a. That is, the transport control unit 193 adjusts the orientation of the injection so that the injection is oriented in a predetermined direction on the transport tray 151a. The transport control unit 193 adjusts the direction of the injection by rotating the suction mechanism 153a (see FIG. 9) in the axial direction. The transport control unit 193 controls the medicine moving unit 153 (see FIG. 9) to transport the injection drug whose orientation has been adjusted to the transport tray 151a. Note that the transport control unit 193 may adjust the orientation of the injection before transporting the injection to the transport tray 151a and placing the injection on the transport tray 151a.

<簡易な形状モデルの登録処理/バーコードの向きの登録処理>
図71は、簡易形状モデルの登録処理、及びバーコードの向きの登録処理の一例を示すフローチャートである。
<Simple shape model registration process/barcode orientation registration process>
FIG. 71 is a flowchart illustrating an example of a simple shape model registration process and a barcode orientation registration process.

制御部190は、簡易形状モデルを作成及び登録するためのユーザ入力を受付可能なモデル登録画像Img2(図72参照)を、タッチパネル210に表示させる(SH1)。モデル登録画像Img2は、規定された注射薬の向きに対応するバーコードの向きを登録するためのユーザ入力を受付可能な向き登録画像としても機能する。 The control unit 190 causes the touch panel 210 to display a model registration image Img2 (see FIG. 72) that can accept user input for creating and registering a simple shape model (SH1). The model registration image Img2 also functions as an orientation registration image that can accept user input for registering the orientation of the barcode corresponding to the defined orientation of the injection drug.

薬剤師等は、モデル登録画像Img2において、簡易形状モデルの作成対象であり、かつバーコードの向きの登録対象である注射薬の各種情報を入力する。各種情報としては、例えば、当該注射薬を収容する容器の種類情報、容器のサイズ情報(測定情報)、注射薬の有効期限を特定するための情報、及びカセットCaに関する情報が入力される。カセットCaに関する情報としては、例えば、上記注射薬を載置したカセットCaの、カセット棚110における格納位置を示す情報が挙げられる。 In the model registration image Img2, the pharmacist or the like inputs various information about the injection drug for which the simple shape model is to be created and the orientation of the barcode is to be registered. As various information, for example, type information of the container containing the injection drug, container size information (measurement information), information for specifying the expiration date of the injection drug, and information regarding the cassette Ca are input. Examples of the information regarding the cassette Ca include information indicating the storage position of the cassette Ca on which the injection drug is placed on the cassette shelf 110.

制御部190は、各種情報の入力完了のユーザ入力を受付けると、上記注射薬を1本、カセットCaに載置するよう薬剤師等に促すための画像を、タッチパネル210に表示する。薬剤師等は、上記注射薬を1本、カセットCaに載置し、当該カセットCaをカセット棚110に格納した後、簡易形状モデルの登録処理を注射薬払出装置100に実行させる登録開始指示を、タッチパネル210に入力する。本例では、登録開始指示は、バーコードの向きの登録処理を注射薬払出装置100に実行させる登録開始指示でもある。情報取得部211は、登録開始指示を受付けると、入力された各種情報(入力情報)を取得する(SH2)。 When the control unit 190 receives the user input indicating completion of inputting various information, the control unit 190 displays an image on the touch panel 210 for prompting the pharmacist or the like to place one bottle of the injection drug in the cassette Ca. After placing one of the above-mentioned injection drugs in the cassette Ca and storing the cassette Ca in the cassette shelf 110, the pharmacist etc. issues a registration start instruction to the injection drug dispensing device 100 to execute the registration process of the simple shape model. Input on touch panel 210. In this example, the registration start instruction is also a registration start instruction that causes the injection drug dispensing device 100 to execute a barcode orientation registration process. Upon receiving the registration start instruction, the information acquisition unit 211 acquires various input information (input information) (SH2).

なお、上記カセットCaは、簡易形状モデル作成専用のカセットであっても、注射薬が割付けられたカセットCa(使用中のカセットCa)であっても構わない。使用中のカセットCaである場合、薬剤師等は、カセットCaに載置された注射薬を全て取出した後、簡易形状モデルの作成対象となる注射薬を当該カセットCaに載置する。簡易形状モデル作成専用のカセットを用いる場合、薬剤師等は当該カセットに注射薬を載置するだけでよい。 Note that the above-mentioned cassette Ca may be a cassette dedicated to creating a simple shape model, or a cassette Ca to which an injection drug is assigned (a cassette Ca in use). If the cassette Ca is in use, the pharmacist or the like takes out all the injection medicines placed in the cassette Ca, and then places the injection medicine for which a simple shape model is to be created into the cassette Ca. When using a cassette dedicated to creating a simple shape model, a pharmacist or the like only needs to place an injection into the cassette.

移送制御部191は、入力情報に基づき、上記カセットCaの格納位置を特定し、カセット移送部140を制御することにより、当該カセットCaをカセット棚110からカセット保持部130(本例ではカセット保持部130a)へ移送する(SH3)。 The transfer control unit 191 specifies the storage position of the cassette Ca based on the input information, and controls the cassette transfer unit 140 to move the cassette Ca from the cassette shelf 110 to the cassette holding unit 130 (in this example, the cassette holding unit). 130a) (SH3).

SH3の処理と並行して、モデル作成部212は、入力情報に基づき、簡易形状モデルを作成する(SH4)。モデル作成部212は、入力情報に含まれる種類情報から、上記注射薬の容器の種類を特定し、当該種類に対応する形状テンプレートを記憶部180から読出す。モデル作成部212は、入力情報に含まれるサイズ情報に基づき、読出した形状テンプレートを拡大又は縮小することにより、形状モデルを作成する。 In parallel with the process of SH3, the model creation unit 212 creates a simple shape model based on the input information (SH4). The model creation unit 212 identifies the type of container for the injection drug from the type information included in the input information, and reads out a shape template corresponding to the type from the storage unit 180. The model creation unit 212 creates a shape model by enlarging or reducing the read shape template based on the size information included in the input information.

SH3の処理により、カセット保持部130aにカセットCaが載置されると、重量算出部218は、ロードセル134を制御することにより、当該カセットCaの重量を測定する。このとき測定されるカセットCaの重量は、1本の注射薬が載置されたカセットCaの重量である。また、カセット保持部130aにカセットCaが載置されると、駆動制御部192は、駆動機構133aを制御することにより、カセット受入位置131a(図6参照)から処理位置132aへとカセットCaを移動させる。 When the cassette Ca is placed on the cassette holding section 130a by the process of SH3, the weight calculation section 218 measures the weight of the cassette Ca by controlling the load cell 134. The weight of the cassette Ca measured at this time is the weight of the cassette Ca in which one injection drug is placed. Furthermore, when the cassette Ca is placed on the cassette holding section 130a, the drive control section 192 moves the cassette Ca from the cassette receiving position 131a (see FIG. 6) to the processing position 132a by controlling the drive mechanism 133a. let

吸着位置決定部194は、位置特定用カメラ122に、処理位置132aに載置されたカセットCa、及び当該カセットCaに載置された注射薬を撮影させる。吸着位置決定部194は、簡易形状モデル、注射薬の画像、及びサイズ情報(容器の幅情報)を用いて、処理位置132aに載置されたカセットCaにおいて、吸着対象の注射薬と、当該注射薬における吸着位置とを決定する(SH5)。搬送制御部193は、薬剤搬送部121を制御することにより、吸着位置決定部194が決定した吸着位置において、吸着対象の注射薬を吸着する。 The suction position determining unit 194 causes the position specifying camera 122 to photograph the cassette Ca placed at the processing position 132a and the injection drug placed on the cassette Ca. The suction position determining unit 194 uses the simple shape model, the image of the injection drug, and the size information (container width information) to determine the injection drug to be adsorbed and the injection concerned in the cassette Ca placed at the processing position 132a. The adsorption position on the drug is determined (SH5). The transport control unit 193 controls the drug transport unit 121 to adsorb the injection drug to be adsorbed at the adsorption position determined by the adsorption position determination unit 194.

吸着可否判定部213は、吸着対象の注射薬を薬剤搬送部121が吸着できたか否かを判定することにより、簡易形状モデルの作成に成功したか否かを判定する(SH6)。薬剤搬送部121が注射薬を吸着し、簡易形状モデルの作成に成功したと判定された場合(SH6でYES)、搬送制御部193は、薬剤搬送部121を制御することにより、吸着した注射薬を、処理位置132aから位置変更部126へと搬送する(SH7)。 The adsorption availability determining unit 213 determines whether the creation of the simple shape model was successful by determining whether the drug transport unit 121 was able to adsorb the injection drug to be adsorbed (SH6). If it is determined that the drug transport unit 121 has successfully adsorbed the injection drug and created the simple shape model (YES in SH6), the transport control unit 193 controls the drug transport unit 121 to remove the adsorbed injection drug. is transported from the processing position 132a to the position changing unit 126 (SH7).

このとき、重量算出部218は、注射薬1本あたりの重量を算出する(SH8)。重量算出部218は、SH7において注射薬を処理位置132aから位置変更部126へと搬送するときに、空となったカセットCaの重量を測定する。重量算出部218は、この測定結果と、SH3の処理によりカセット保持部130aにカセットCaが載置されたときの測定結果とに基づき、注射薬1本あたりの重量を算出する。 At this time, the weight calculation unit 218 calculates the weight per injection drug (SH8). The weight calculation unit 218 measures the weight of the empty cassette Ca when transporting the injection drug from the processing position 132a to the position changing unit 126 in SH7. The weight calculation unit 218 calculates the weight per injection drug based on this measurement result and the measurement result when the cassette Ca is placed on the cassette holding unit 130a by the process of SH3.

重量算出部218は、注射薬1本あたりの重量を算出できたか否かを判定する(SH9)。カセットCaの重量を算出できたと判定された場合(重量の算出に成功した場合)(SH9でYES)、モデル登録部214は、位置変更部126に載置された注射薬に付されたバーコードを、バーコードリーダー123に読取らせる(SH10)。これにより、制御部190は、当該注射薬の種類を特定する。また、モデル登録部214は、期限読み取り用カメラ125を制御することにより、位置変更部126に載置された注射薬に付された有効期限を撮影することにより、当該有効期限を示す情報を取得する(SH10)。 The weight calculation unit 218 determines whether the weight per injection drug has been calculated (SH9). If it is determined that the weight of the cassette Ca has been calculated (if the weight calculation is successful) (YES in SH9), the model registration unit 214 stores the barcode attached to the injection drug placed on the position change unit 126. is read by the barcode reader 123 (SH10). Thereby, the control unit 190 specifies the type of the injection drug. In addition, the model registration unit 214 controls the expiration date reading camera 125 to photograph the expiration date attached to the injection drug placed on the position changing unit 126, thereby acquiring information indicating the expiration date. (SH10).

バーコードリーダー123は、注射薬識別情報を読取ることにより、注射薬におけるバーコードの向きを特定する。図形向き特定部215は、バーコードリーダー123から当該向きを示す向き特定情報を取得することにより、当該向きを特定する(SH11)。 The barcode reader 123 identifies the orientation of the barcode on the injection drug by reading the injection drug identification information. The graphic orientation identifying unit 215 identifies the orientation by acquiring orientation identifying information indicating the orientation from the barcode reader 123 (SH11).

SH10において、制御部190は、期限読み取り用カメラ125が撮影した画像をタッチパネル210に表示する。薬剤師等は、当該画像を視認することにより、位置変更部126における注射薬の向きを特定し、その向きをタッチパネル210に入力する。薬剤向き設定部216は、タッチパネル210に入力された注射薬の向きを、位置変更部126における注射薬の向きとして設定する(SH12)。 In SH10, the control unit 190 displays an image taken by the deadline reading camera 125 on the touch panel 210. A pharmacist or the like identifies the orientation of the injection drug in the position changing unit 126 by visually recognizing the image, and inputs the orientation into the touch panel 210. The medicine orientation setting unit 216 sets the orientation of the injection medicine input into the touch panel 210 as the orientation of the injection medicine in the position changing unit 126 (SH12).

情報登録部217は、記憶部180に記憶するバーコードの向きを特定する(SH13)。情報登録部217は、例えば、薬剤向き設定部216が設定した注射薬の向きと、規定された注射薬の向きとが一致しているか否かを判定する。 The information registration unit 217 specifies the orientation of the barcode to be stored in the storage unit 180 (SH13). The information registration unit 217 determines, for example, whether the orientation of the injection drug set by the medicine orientation setting unit 216 matches the prescribed orientation of the injection medicine.

薬剤向き設定部216が設定した注射薬の向きと、規定された注射薬の向きとが一致している場合、情報登録部217は、図形向き特定部215が特定したバーコードの向きを、記憶部180に記憶する向き情報として特定する。 If the orientation of the injection drug set by the drug orientation setting unit 216 matches the prescribed orientation of the injection medicine, the information registration unit 217 stores the orientation of the barcode specified by the graphic orientation identification unit 215. The orientation information is specified as the orientation information stored in the section 180.

薬剤向き設定部216が特定した注射薬の向きと、規定された注射薬の向きとが一致していない場合、情報登録部217は、図形向き特定部215が特定したバーコードの向きを、上記2つの向きを一致させたときの向きに変更する。情報登録部217は、変更後のバーコードの向きを、記憶部180に記憶する向き情報として特定する。 If the orientation of the injection drug specified by the drug orientation setting unit 216 does not match the prescribed orientation of the injection drug, the information registration unit 217 changes the orientation of the barcode specified by the graphic orientation identification unit 215 to the above-mentioned direction. Change the orientation to match the two orientations. The information registration unit 217 specifies the changed orientation of the barcode as orientation information to be stored in the storage unit 180.

最後に、モデル登録部214は、SH4においてモデル作成部212が作成した簡易形状モデルを、読取ったバーコードが示す注射薬識別情報に紐付けて記憶部180に記憶する(SH14)。また、情報登録部217は、S13において特定した向き情報を、当該注射薬識別情報に紐付けて記憶部180に記憶する(SH14)。 Finally, the model registration unit 214 stores the simple shape model created by the model creation unit 212 in SH4 in the storage unit 180 in association with the injection drug identification information indicated by the read barcode (SH14). Further, the information registration unit 217 stores the orientation information specified in S13 in the storage unit 180 in association with the injection drug identification information (SH14).

また、制御部190は、上記有効期限を特定するための情報に基づき、有効期限の表示形態及び向きを特定できる。そのため、制御部190は、撮影した画像から、有効期限を精度良く読取ることができる。制御部190は、SH10において読取った有効期限を示す情報を、上記注射薬識別情報に紐付けて記憶部180に記憶する。 Further, the control unit 190 can specify the display form and orientation of the expiration date based on the information for specifying the expiration date. Therefore, the control unit 190 can accurately read the expiration date from the captured image. The control unit 190 stores the information indicating the expiration date read by the SH 10 in the storage unit 180 in association with the injection drug identification information.

なお、SH6でNO(簡易形状モデルの作成失敗)、SH9でNO(注射薬1本あたりの重量算出失敗)の場合、制御部190は本処理を終了する。SH6でNOの場合、制御部190は、タッチパネル210を介して、簡易形状モデルの作成に失敗した旨のエラー通知を行っても構わない。SH9でNOの場合、制御部190は、タッチパネル210を介して、上記重量算出に失敗した旨のエラー通知を行っても構わない。 Note that in the case of NO in SH6 (failed to create the simple shape model) and NO in SH9 (failed to calculate the weight per injection drug), the control unit 190 ends this process. If NO in SH6, the control unit 190 may issue an error notification via the touch panel 210 to the effect that creation of the simple shape model has failed. If NO in SH9, the control unit 190 may issue an error notification to the effect that the weight calculation has failed via the touch panel 210.

また、上記モデル登録装置としては、注射薬払出装置100は、少なくとも、SH1~SH6の処理、及び、SH6でYESの場合にSH10において注射薬識別情報を読取り後、SH14において簡易形状モデルを登録する処理を行えばよい。上記薬剤向き登録装置としては、注射薬払出装置100は、SH10においてバーコードを読取り後、SH11~SH13の処理を経て、SH14において上記向き情報を登録する処理を行えばよい。 Further, as the model registration device, the injection drug dispensing device 100 registers a simple shape model in SH14, at least after processing SH1 to SH6 and reading injection drug identification information in SH10 if YES in SH6. All you have to do is process it. As the drug orientation registration device, the injection drug dispensing device 100 may perform the process of registering the orientation information in SH14 after reading the barcode at SH10, through the processes of SH11 to SH13.

<表示画像例>
次に、図72~図76に基づき、タッチパネル210に表示されるモデル登録画像Img2の一例について説明する。図72~図76は、モデル登録画像Img2の一例を示す図である。
<Display image example>
Next, an example of the model registration image Img2 displayed on the touch panel 210 will be described based on FIGS. 72 to 76. FIGS. 72 to 76 are diagrams showing an example of the model registration image Img2.

モデル登録画像Img2(図72の「注射薬払出管理 薬品簡易登録」画像)は、例えば次のように表示される。例えば、制御部190は、タッチパネル210に表示された初期画像(ホーム画面)において「メンテナンス」ボタンが選択されると、ユーザ認証画像(ユーザID及びパスワード入力受付画像)をタッチパネル210に表示する。制御部190は、ユーザ認証に成功した場合、モデル登録画像Img2をタッチパネル210に表示する。 The model registration image Img2 (the "injection medicine dispensing management drug simple registration" image in FIG. 72) is displayed, for example, as follows. For example, when the “maintenance” button is selected on the initial image (home screen) displayed on the touch panel 210, the control unit 190 displays a user authentication image (user ID and password input acceptance image) on the touch panel 210. If the user authentication is successful, the control unit 190 displays the model registration image Img2 on the touch panel 210.

モデル登録画像Img2は、図72に示すように、登録された注射薬に関する情報を表示する登録一覧表示領域A21と、各種情報のユーザ入力を受付ける入力受付領域A22と、を含む。制御部190は、「入力」タブへのユーザ入力を受付けた場合、入力受付領域A22を表示する。制御部190は、「結果」タブへのユーザ入力を受付けた場合、登録一覧表示領域A21と、各種処理の結果を示す結果表示領域A24(図76参照)と、を含むモデル登録画像Img2を表示する。 As shown in FIG. 72, the model registration image Img2 includes a registration list display area A21 that displays information regarding registered injection drugs, and an input reception area A22 that accepts user input of various information. When the control unit 190 receives a user input to the "input" tab, it displays the input reception area A22. When the control unit 190 receives a user input to the "Results" tab, the control unit 190 displays a model registration image Img2 including a registration list display area A21 and a result display area A24 (see FIG. 76) that shows the results of various processes. do.

図72~図75は、入力受付領域A22を順にスクロール表示したときの一例を示す図である。図76は、登録一覧表示領域A21と共に表示される結果表示領域A24の一例を示す図である。モデル登録画像Img2は、登録一覧表示領域A21と、入力受付領域A22又は結果表示領域A24とを含むが、図73~図76では、登録一覧表示領域A21を割愛している。 FIGS. 72 to 75 are diagrams showing an example when the input reception area A22 is scrolled in order. FIG. 76 is a diagram showing an example of the result display area A24 displayed together with the registration list display area A21. The model registration image Img2 includes a registration list display area A21 and an input reception area A22 or a result display area A24, but the registration list display area A21 is omitted in FIGS. 73 to 76.

図72に示すように、登録一覧表示領域A21には、導入時に登録された注射薬に関する情報と、新規に登録された(簡易形状モデルが登録された)注射薬に関する情報と、を表示可能な領域である。制御部190は、これらの2種類の情報を識別可能に表示しても構わない。例えば、制御部190は、新規に登録された注射薬に関する情報の識別番号の先頭に「9」を付して、導入時に登録された注射薬に関する情報と区別するようにしても構わない。 As shown in FIG. 72, the registration list display area A21 can display information related to injection drugs registered at the time of introduction and information related to newly registered injection drugs (in which a simple shape model is registered). It is an area. The control unit 190 may display these two types of information in a distinguishable manner. For example, the control unit 190 may add "9" to the beginning of the identification number of the information regarding the newly registered injection drug to distinguish it from the information regarding the injection drug registered at the time of introduction.

名称入力領域A221は、登録する注射薬名の入力を受付けるための領域である。名称入力領域A221へのユーザ入力を受付けると、制御部190は、例えばQWERTYキーを表示する。制御部190は、QWERTYキーへの入力内容を名称入力領域A221に反映する。 The name input area A221 is an area for accepting input of the name of the injection drug to be registered. Upon receiving a user input to the name input area A221, the control unit 190 displays, for example, a QWERTY key. The control unit 190 reflects the input content to the QWERTY key in the name input area A221.

容器種類選択領域A222は、容器の種類を選択するためのユーザ入力(容器の種類情報)を受付ける。本例では、アンプル、バイアル、プラスチックアンプル(プラバラ)、及びスティックアンプル(スティック)の何れかが選択可能となっている。容器種類選択領域A222に対するユーザ入力を受けて、モデル作成部212は、形状テンプレートを特定する。 The container type selection area A222 accepts user input (container type information) for selecting a container type. In this example, any one of ampoules, vials, plastic ampoules (plastic ampoules), and stick ampoules (sticks) can be selected. In response to user input in the container type selection area A222, the model creation unit 212 specifies a shape template.

容器色選択領域A223は、容器(瓶)の色を選択するためのユーザ入力を受付ける。本例では、透明であるか否かが選択可能となっている。容器の色を選択させることにより、制御部190は、例えば、カセットCaにおいて注射薬を吸着するときの画像処理、及び有効期限を読取るときの画像処理において、容器の色を考慮した画像処理を実行できる。 The container color selection area A223 accepts user input for selecting the color of the container (bottle). In this example, it is possible to select whether or not it is transparent. By selecting the color of the container, the control unit 190 executes image processing that takes the color of the container into consideration, for example, in image processing when adsorbing an injection drug in the cassette Ca and image processing when reading an expiration date. can.

バーコード種類選択領域A224は、注射薬識別情報を示すバーコードの形式を選択するためのユーザ入力を受付ける。本例では、バーコード種類選択領域A224は、バーコードの有無を選択するためのユーザ入力を受付ける。具体的には、注射薬に付されたバーコードが一次元バーコードであるか、注射薬にバーコードを付されていない(バーコード無し)かが選択可能となっている。バーコード無しが選択された場合、簡易形状モデル、及び注射薬1本あたりの重量は、注射薬識別情報に代えて、入力された注射薬名に紐付けて登録される。またこの場合、制御部190は、バーコードの向きの登録処理を行わない。 The barcode type selection area A224 accepts user input for selecting the format of the barcode indicating injection drug identification information. In this example, the barcode type selection area A224 accepts a user input for selecting the presence or absence of a barcode. Specifically, it is possible to select whether the barcode attached to the injection drug is a one-dimensional barcode or whether the injection drug is not attached with a barcode (no barcode). When "No barcode" is selected, the simple shape model and the weight per injection drug are registered in association with the input drug name instead of the injection drug identification information. Further, in this case, the control unit 190 does not perform the barcode orientation registration process.

図72~図74に示すように、期限特定入力領域A225は、有効期限を特定するための情報のユーザ入力を受付ける。本例では、期限特定入力領域A225には、「使用期限読取有無」、「パターン」、「色」、「方向」及び「順方向」の各項目が含まれている。 As shown in FIGS. 72 to 74, the term specification input area A225 accepts user input of information for specifying the expiration date. In this example, the expiration date specification input area A225 includes the following items: "reading expiration date or not", "pattern", "color", "direction", and "forward direction".

「使用期限読取有無」項目は、有効期限の読取りを制御部190に実行させるか否かをユーザに選択させる項目である。「有」が選択された場合、制御部190は有効期限を読取り、「無」が選択された場合、制御部190は有効期限の読取りを実行しない。この場合、「無」が選択された注射薬については、有効期限の登録が行われず、また、注射薬を払出すときに有効期限の適否は判断されない。 The “reading expiration date” item is an item that allows the user to select whether or not to cause the control unit 190 to read the expiration date. If "Yes" is selected, the control unit 190 reads the expiration date; if "No" is selected, the control unit 190 does not read the expiration date. In this case, for injections for which "none" is selected, the expiration date is not registered, and the appropriateness of the expiration date is not determined when dispensing the injections.

「パターン」項目は、有効期限(年月)の表示形式をユーザに選択させる項目である。例えば「yyyy.mm」は、年が4桁、月が2桁の表示形式を示す。本例では、3つの表示形式が選択可能となっている。 The "pattern" item is an item that allows the user to select the display format of the expiration date (year and month). For example, "yyyy.mm" indicates a display format in which the year is 4 digits and the month is 2 digits. In this example, three display formats are selectable.

「色」項目は、有効期限の表示色をユーザに選択させる項目である。本例では、表示色が白である(白文字)か、白以外の表示色である(白文字以外)かが選択可能となっている。 The "color" item is an item that allows the user to select the display color of the expiration date. In this example, it is possible to select whether the display color is white (white text) or a display color other than white (other than white text).

「方向」項目は、有効期限の印字方向をユーザに選択させる項目である。本例では、印字方向が注射薬の全長向きであるか、注射薬の周方向(胴径向き)であるかが選択可能となっている。 The "direction" item is an item that allows the user to select the printing direction of the expiration date. In this example, it is possible to select whether the printing direction is along the entire length of the injection drug or in the circumferential direction (direction of the barrel diameter) of the injection drug.

「順方向」項目は、有効期限の印字方向が全長向きである場合に、有効期限(年月)が注射薬の底部から頭部に向けて(順方向に)印字されているのか、その逆に印字されているのかを、ユーザに選択させる項目である。「一般」ボタンは印字方向が順方向である場合の選択ボタンであり、「逆」は印字方向がその逆向きである場合の選択ボタンである。 The "Forward direction" item indicates whether the expiration date (year/month) is printed from the bottom of the injection drug toward the top (forward direction) when the expiration date is printed on the entire length, or vice versa. This is an item that allows the user to select whether the The "General" button is a selection button when the printing direction is the forward direction, and the "Reverse" button is the selection button when the printing direction is the opposite direction.

「パターン」、「色」、「方向」、及び「順方向」の各項目において選択された情報により、制御部190は、有効期限の表示形態を認識できる。そのため、制御部190は、有効期限を精度良く読取ることが可能となる。 The control unit 190 can recognize the display format of the expiration date based on the information selected in each item of "pattern", "color", "direction", and "forward direction". Therefore, the control unit 190 can read the expiration date with high accuracy.

図73に示すように、「色」項目をユーザに選択させる場合、制御部190は、ユーザの選択を支援するための選択支援画像を表示しても構わない。制御部190は、その他の項目をユーザに選択させる場合に、その項目の選択に適した選択支援画像を表示しても構わない。 As shown in FIG. 73, when the user selects the "color" item, the control unit 190 may display a selection support image to support the user's selection. When allowing the user to select another item, the control unit 190 may display a selection support image suitable for selecting that item.

図74に示すように、測定情報入力領域A226は、容器のサイズ情報(測定情報)のユーザ入力を受付ける。本例では、容器のサイズ情報として、ユーザが測定した容器(注射薬)の幅(Wd1)、全長(Ht1)、胴体部分の長さ(Ht2)、及び高さの各数値の入力を受付ける。各長さの入力領域へのユーザ入力を受付けると、制御部190は、例えばテンキーを表示する。制御部190は、テンキーへの入力内容を、各入力領域に反映する。 As shown in FIG. 74, the measurement information input area A226 accepts user input of container size information (measurement information). In this example, as the container size information, input of the width (Wd1), total length (Ht1), body length (Ht2), and height of the container (injection drug) measured by the user is accepted. Upon receiving user input into the input areas of each length, the control unit 190 displays, for example, a numeric keypad. The control unit 190 reflects the input contents on the numeric keypad in each input area.

制御部190は、容器の高さについては、入力された容器の幅に基づく値を自動入力しても構わない。この場合、制御部190は、ユーザの入力支援を行うことができる。 Regarding the height of the container, the control unit 190 may automatically input a value based on the input width of the container. In this case, the control unit 190 can support the user's input.

上述したように、容器の種類がバイアル及びアンプルの場合、容器の幅及び高さは略同一である。そのため、制御部190は、容器の幅として入力された数値を、容器の高さの入力値として反映させる。また、制御部190は、プラスチックアンプル及びスティックアンプルについては、実験結果を踏まえ、容器の幅よりも所定量小さくした値を、容器の高さの入力値として反映させても構わない。制御部190は、プラスチックアンプルについては、例えば容器の幅から所定値(例:20mm)を減算した値を、容器の高さの入力値として反映させても構わない。制御部190は、スティックアンプルについては、例えば容器の幅に所定値(例:2/3)を乗算した値を、容器の高さの入力値として反映させてよい。 As mentioned above, when the types of containers are vials and ampoules, the width and height of the containers are approximately the same. Therefore, the control unit 190 reflects the numerical value input as the width of the container as the input value of the height of the container. Furthermore, for plastic ampoules and stick ampoules, based on experimental results, the control unit 190 may reflect a value smaller than the container width by a predetermined amount as the input value of the container height. For plastic ampoules, the control unit 190 may, for example, reflect a value obtained by subtracting a predetermined value (eg, 20 mm) from the width of the container as the input value of the height of the container. For stick ampoules, the control unit 190 may, for example, reflect a value obtained by multiplying the width of the container by a predetermined value (eg 2/3) as the input value of the height of the container.

図74に示すように、容器のサイズ情報をユーザに入力させる場合、制御部190は、ユーザ入力を支援するための入力支援画像を表示しても構わない。例えば、容器の幅(Wd1)の入力領域に対するユーザ入力を受付けた場合、制御部190は、図74に示すように、選択された容器の概略形状に容器の幅の位置を示した入力支援画像を表示する。その他の長さ(例:容器の全長、胴体部分の長さ)の入力においても、同様の入力支援画像が表示されてよい。 As shown in FIG. 74, when having the user input container size information, the control unit 190 may display an input support image to support the user input. For example, when accepting a user input to the input area for the container width (Wd1), the control unit 190 displays an input support image showing the position of the container width in the general shape of the selected container, as shown in FIG. Display. A similar input support image may be displayed when inputting other lengths (eg, the total length of the container, the length of the body portion).

図75に示すように、カセットCaに関する情報を取得するための領域として、入力受付領域A22は、種別選択領域A227、保管位置表示領域A228、及びカセット一覧表示領域A229を含む。 As shown in FIG. 75, the input reception area A22 includes a type selection area A227, a storage position display area A228, and a cassette list display area A229 as an area for acquiring information regarding the cassette Ca.

種別選択領域A227は、簡易形状モデルの作成対象である注射薬を載置するカセットCaとして、簡易形状モデル作成専用のカセット(専用カセット)を用いるか、使用中のカセットCaを用いるか、をユーザに選択させる領域である。保管位置表示領域A228は、上記注射薬を載置するカセットCaのカセット保管位置(例:当該位置を示す番号、読取棚No)を表示する。カセット一覧表示領域A229は、カセットCaの保管位置及び種類等を表示する。 The type selection area A227 allows the user to select whether to use a cassette Ca exclusively for creating a simple shape model (dedicated cassette) or a cassette Ca in use as the cassette Ca for placing the injection drug for which the simple shape model is to be created. This is the area to be selected. The storage position display area A228 displays the cassette storage position (eg, number indicating the position, reading shelf number) of the cassette Ca in which the injection drug is placed. The cassette list display area A229 displays the storage position and type of the cassette Ca.

上述の通り、注射薬払出装置100は、各カセットCaのカセット固有情報と、カセット保管位置を示す保管位置情報とを紐付けて管理している。注射薬払出装置100は、専用カセットのカセット固有情報についても、その保管位置情報と紐付けて管理している。そのため、制御部190は、使用するカセットCaが選択されると、当該カセットCaの保管位置を特定できる。その結果、制御部190は、選択されたカセットCaの保管位置を表示したり、当該カセットCaをカセット棚110から取出したりできる。 As described above, the injection drug dispensing device 100 manages the cassette-specific information of each cassette Ca in association with the storage position information indicating the cassette storage position. The injection drug dispensing device 100 also manages the cassette-specific information of the dedicated cassette in association with its storage location information. Therefore, when the cassette Ca to be used is selected, the control unit 190 can specify the storage position of the cassette Ca. As a result, the control unit 190 can display the storage position of the selected cassette Ca and can take out the cassette Ca from the cassette shelf 110.

「専用トレイ」ボタンが選択された場合、制御部190は、上記注射薬を載置するカセットが専用カセットであると特定する。この場合、制御部190は、専用カセットのカセット保管位置を、保管位置表示領域A228に表示する。 When the "dedicated tray" button is selected, the control unit 190 specifies that the cassette on which the injection drug is placed is a dedicated cassette. In this case, the control unit 190 displays the cassette storage position of the dedicated cassette in the storage position display area A228.

「通常トレイ」ボタンが選択された場合、制御部190は、カセット一覧表示領域A229の中から選択されたカセットCaを、上記注射薬を載置するカセットCaとして特定し、当該カセットCaのカセット保管位置を、保管位置表示領域A228に表示する。 When the "normal tray" button is selected, the control unit 190 specifies the cassette Ca selected from the cassette list display area A229 as the cassette Ca on which the injection drug is placed, and stores the cassette Ca. The position is displayed in the storage position display area A228.

薬品情報読取ボタンA230は、入力受付領域A22に入力された入力情報の取得を情報取得部211に開始させるためのユーザ入力を受付ける。薬品情報読取ボタンA230に対するユーザ入力を受付けると、制御部190は、保管位置表示領域A228に表示されたカセットCaに、上記注射薬を1本載置するように促すための通知を、タッチパネル210に表示させる。その後、簡易形状モデルの作成及び登録処理を開始するためのユーザ入力(登録開始指示)を受付けると、制御部190は、入力情報を取得すると共に、簡易形状モデルの作成及び登録処理を実行する。 The drug information reading button A230 accepts a user input for causing the information acquisition unit 211 to start acquiring the input information input into the input reception area A22. Upon receiving a user input to the drug information reading button A230, the control unit 190 displays a notification on the touch panel 210 to prompt the user to place one injection drug into the cassette Ca displayed in the storage position display area A228. Display. Thereafter, upon receiving a user input (registration start instruction) for starting the simple geometric model creation and registration process, the control unit 190 acquires the input information and executes the simple geometric model creation and registration process.

図76に示すように、制御部190は、各種処理結果を結果表示領域A24に表示する。制御部190は、読取ったバーコードが示す情報を、識別情報表示領域A241に表示する。本例では、読取ったバーコードの文字列が表示される。制御部190は、バーコードを読取ることにより特定したバーコードの向き(バーコード方向)を、向き表示領域A242に表示する。つまり、向き表示領域A242には、図形向き特定部215が特定したバーコードの向きが表示される。 As shown in FIG. 76, the control unit 190 displays various processing results in the result display area A24. The control unit 190 displays the information indicated by the read barcode in the identification information display area A241. In this example, the character string of the read barcode is displayed. The control unit 190 displays the orientation of the barcode (barcode direction) specified by reading the barcode in the orientation display area A242. That is, the orientation of the barcode specified by the graphic orientation identification unit 215 is displayed in the orientation display area A242.

また、制御部190は、位置変更部126において撮影した上記注射薬の画像を、画像表示領域A243に表示する。制御部190は、作成した簡易形状モデルのイメージ画像を、モデル表示領域A245に表示する。制御部190は、算出した注射薬1本あたりの重量を、重量表示領域A246に表示する。 Further, the control unit 190 displays the image of the injection drug taken by the position changing unit 126 in the image display area A243. The control unit 190 displays an image of the created simple shape model in the model display area A245. The control unit 190 displays the calculated weight per injection drug in the weight display area A246.

向き選択領域A244は、位置変更部126に載置された注射薬の向きを示す薬剤向き情報のユーザ入力を受付ける。薬剤師等は、画像表示領域A243に表示された画像を視認することにより、位置変更部126における注射薬の向きを特定し、当該向きを向き選択領域A244に入力する。 The orientation selection area A244 accepts user input of drug orientation information indicating the orientation of the injection drug placed on the position changing unit 126. A pharmacist or the like identifies the orientation of the injection drug in the position changing unit 126 by visually recognizing the image displayed in the image display area A243, and inputs the orientation into the orientation selection area A244.

図76では、注射薬の向きが左向き(注射薬の頭部が左側)であるため、薬剤師等は、向き選択領域A244において「左」ボタンを選択する。薬剤向き設定部216は、この選択された向きを、注射薬の向きとして設定する。情報登録部217は、注射薬の向きが規定された注射薬の向き(本例では左向き)であると特定する。そのため、情報登録部217は、図形向き特定部215が特定したバーコードの向き(向き表示領域A242に表示されている向き)を、向き情報として、読取ったバーコードが示す注射薬識別情報に紐付けて登録する。 In FIG. 76, since the injection drug is oriented to the left (the head of the injection drug is on the left side), the pharmacist or the like selects the "left" button in the orientation selection area A244. The medicine orientation setting unit 216 sets this selected orientation as the orientation of the injection medicine. The information registration unit 217 specifies that the orientation of the injection medicine is the specified orientation (in this example, facing left). Therefore, the information registration unit 217 links the orientation of the barcode identified by the graphic orientation identification unit 215 (the orientation displayed in the orientation display area A242) to the injection drug identification information indicated by the read barcode as orientation information. Add and register.

一方、画像表示領域A243に表示された画像において、右向きの注射薬の像が表示された場合、薬剤師等は、向き選択領域A244において「右」ボタンを選択する。薬剤向き設定部216は、この選択された向きを、注射薬の向きとして設定する。情報登録部217は、注射薬の向きが規定された注射薬の向き(本例では左向き)とは逆向きであると特定する。そのため、情報登録部217は、図形向き特定部215が特定したバーコードの向き(向き表示領域A242に表示されている向き)とは逆向きを、向き情報として、上記注射薬識別情報に紐付けて登録する。 On the other hand, if an image of an injection drug facing right is displayed in the image displayed in the image display area A243, the pharmacist or the like selects the "right" button in the orientation selection area A244. The medicine orientation setting unit 216 sets this selected orientation as the orientation of the injection medicine. The information registration unit 217 specifies that the direction of the injection drug is opposite to the specified direction of the injection drug (leftward in this example). Therefore, the information registration unit 217 links the orientation of the barcode specified by the graphic orientation identification unit 215 (the orientation displayed in the orientation display area A242) to the injection drug identification information as orientation information. and register.

なお、薬剤師等が位置変更部126を直接視認することにより、位置変更部126に載置された注射薬の向きを特定する場合には、結果表示領域A24に画像表示領域A243が表示されなくても構わない。 Note that when a pharmacist or the like identifies the orientation of the injection drug placed on the position changing unit 126 by directly viewing the position changing unit 126, the image display area A243 is not displayed in the result display area A24. I don't mind.

<補足>
(1)ユーザ入力等により、注射薬識別情報とバーコードの向きとを紐付けて、予め記憶部180に記憶しておいても構わない。この場合、制御部190は、注射薬に付されたバーコードを読取ることにより、当該注射薬の注射薬識別情報を特定し、記憶部180を参照することにより、バーコードの向きを特定する。
(2)バーコードを読取る場合、バーコードリーダー123がバーコード全体を読取ることができるように、薬剤回転部127(図8参照)を回転させる。バーコードの大きさに依らず回転速度が一定の場合、注射薬に占めるバーコードの大きさが大きくなるほど、バーコードを精度良く読取ることができなくなる可能性がある。
<Supplement>
(1) The injection drug identification information and the orientation of the barcode may be associated with each other and stored in advance in the storage unit 180 through user input or the like. In this case, the control section 190 specifies the injection drug identification information of the injection drug by reading the barcode attached to the injection drug, and specifies the orientation of the barcode by referring to the storage section 180.
(2) When reading a barcode, rotate the medicine rotation unit 127 (see FIG. 8) so that the barcode reader 123 can read the entire barcode. If the rotational speed is constant regardless of the size of the barcode, the larger the size of the barcode that occupies the injection drug, the more accurately the barcode may not be read.

そこで、注射薬識別情報と薬剤回転部127の回転速度とを紐付けて記憶部180に記憶しておいても構わない。例えば、注射薬に占めるバーコードの大きさ(占有角度)が大きい程、回転速度が小さくなるように、注射薬識別情報と回転速度とを紐付けて記憶しておく。制御部190は、注射薬に付されたバーコードを読取ることにより、当該注射薬の注射薬識別情報を特定し、注射薬識別情報に紐付けられた回転速度で薬剤回転部127を回転させる。これにより、バーコードの大きさに依らず、バーコードを精度良く読取ることができる。 Therefore, the injection drug identification information and the rotational speed of the drug rotating section 127 may be stored in the storage section 180 in association with each other. For example, the injection drug identification information and the rotation speed are stored in association with each other so that the larger the size (occupancy angle) of the barcode on the injection drug, the smaller the rotation speed. The control section 190 identifies the injection drug identification information of the injection drug by reading the barcode attached to the injection drug, and rotates the drug rotation section 127 at a rotation speed linked to the injection drug identification information. Thereby, barcodes can be read with high accuracy regardless of the size of the barcode.

また、注射薬識別情報とバーコードの大きさとを紐付けておくと共に、回転速度を小さくするための基準値を設けておいても構わない。この場合、制御部190は、注射薬に付されたバーコードを読取ることにより、当該注射薬の注射薬識別情報に紐付けられたバーコードの大きさを特定する。制御部190は、特定したバーコードの大きさを基準値と比較し、当該大きさが基準値未満であれば、所定速度(例:初期設定の速度)で薬剤回転部127を回転させる。制御部190は、特定したバーコードの大きさが基準値以上であれば、所定速度よりも遅い速度で薬剤回転部127を回転させる。この場合も、バーコードの大きさに依らず、バーコードを精度良く読取ることができる。なお、基準値は複数設定されていても構わない。 Further, in addition to linking the injection drug identification information and the size of the barcode, a reference value for reducing the rotation speed may be provided. In this case, the control unit 190 specifies the size of the barcode associated with the injection drug identification information of the injection drug by reading the barcode attached to the injection drug. The control unit 190 compares the size of the identified barcode with a reference value, and if the size is less than the reference value, rotates the drug rotating unit 127 at a predetermined speed (eg, the initial setting speed). If the size of the identified barcode is greater than or equal to the reference value, the control unit 190 rotates the drug rotating unit 127 at a speed slower than the predetermined speed. In this case as well, the barcode can be read with high accuracy regardless of the size of the barcode. Note that a plurality of reference values may be set.

〔上記構成の別表現〕
上記構成について、以下のように表現できる。
[Another expression of the above structure]
The above configuration can be expressed as follows.

[A]<モデル登録装置>
特許文献1~5には、薬剤を平面視したときの形状を示す形状モデルの、薬剤師等のユーザによる登録に関する開示は無い。本発明の一態様は、薬剤師等のユーザが形状モデルを簡易に登録可能なモデル登録装置を実現することを第1の目的とする。
[A] <Model registration device>
Patent Documents 1 to 5 do not disclose how a user such as a pharmacist can register a shape model that shows the shape of a drug when viewed from above. A first object of one aspect of the present invention is to realize a model registration device that allows a user such as a pharmacist to easily register a shape model.

上記の第1の課題を解決するために、本発明の一態様に係るモデル登録装置は、
薬剤が載置された載置部の画像から、前記載置部に載置され、かつ前記載置部から取出す対象とする薬剤の像を特定するために用いられる、薬剤を平面視したときの形状を示す形状モデルを登録するモデル登録装置であって、
薬剤を収容する容器の種類毎に、前記容器の概略形状を表す形状テンプレートが予め準備されており、
入力された前記容器の種類情報、及び前記容器のサイズ情報を取得する情報取得部と、
前記種類情報が示す種類に対応する形状テンプレートを特定し、前記サイズ情報に基づき、特定した形状テンプレートを拡大又は縮小することにより、前記形状モデルを作成するモデル作成部と、
前記モデル作成部が作成した形状モデルを登録するモデル登録部と、を備える。
In order to solve the above first problem, a model registration device according to one aspect of the present invention includes:
This is used to identify the image of the drug placed on the placement section and to be taken out from the placement section from the image of the placement section on which the drug is placed, when the drug is viewed in plan. A model registration device that registers a shape model indicating a shape,
A shape template representing the approximate shape of the container is prepared in advance for each type of container containing the drug,
an information acquisition unit that acquires the input type information of the container and size information of the container;
a model creation unit that creates the shape model by identifying a shape template corresponding to the type indicated by the type information and enlarging or reducing the identified shape template based on the size information;
A model registration unit that registers the shape model created by the model creation unit.

本発明の一態様に係るモデル登録装置によれば、薬剤師等のユーザが形状モデルを簡易に登録できる。また、前記構成によれば、薬剤師等が容器の種類情報及びサイズ情報を入力するだけで、簡易に形状モデルを作成し、薬剤を払出す薬剤払出装置、又は薬剤払出装置と通信可能に接続できる記憶装置に登録できる。そのため、薬剤払出装置は、登録された形状モデルを用いて、載置部の画像において、載置部から取出し対象とする薬剤の像を特定できる。つまり、形状モデルが登録されていない薬剤(例:新薬)であって、かつ、形状モデルの管理者により当該薬剤の形状モデルが正式に登録されるまでの間であっても、薬剤払出装置は、登録された形状モデルを用いて、取出し対象とする薬剤を特定できる。 According to the model registration device according to one aspect of the present invention, a user such as a pharmacist can easily register a shape model. Further, according to the above configuration, by simply inputting container type information and size information, a pharmacist or the like can easily create a shape model and connect it communicably with a drug dispensing device that dispenses drugs or a drug dispensing device. Can be registered in the storage device. Therefore, using the registered shape model, the drug dispensing device can identify the image of the drug to be taken out from the receiver in the image of the receiver. In other words, even if the shape model of a drug is not registered (e.g. a new drug) and the shape model of the drug is officially registered by the shape model administrator, the drug dispensing device Using the registered shape model, it is possible to specify the drug to be taken out.

従って、形状モデルが登録されていない薬剤についても、薬剤払出装置は、簡易な形状モデルを用いた薬剤の払出しを行うことが可能となる。 Therefore, even for a drug for which a shape model is not registered, the drug dispensing device can dispense the drug using a simple shape model.

なお、薬剤払出装置が、載置された注射薬にバックライトを照射して当該注射薬を撮像する場合(例:カセット兼薬剤保持部136(図51及び図52参照)を用いて、注射薬を撮像する場合)を考える。この場合、撮像画像において、注射薬の形状を鮮明に特定できる。そのため、容器の種類情報及びサイズ情報を取得することなく、また、形状テンプレートを用いることなく、形状モデルを作成できる。しかし、バックライトを設けた構成の場合、注射薬払出装置100は、その分高価なものとなる。 In addition, when the drug dispensing device irradiates the placed injection drug with a backlight to image the injection drug (for example, using the cassette and drug holding section 136 (see FIGS. 51 and 52), ). In this case, the shape of the injection drug can be clearly identified in the captured image. Therefore, a shape model can be created without acquiring container type information and size information and without using a shape template. However, in the case of a configuration in which a backlight is provided, the injection drug dispensing device 100 becomes correspondingly more expensive.

上記のモデル登録装置によれば、薬剤師等が容器の種類情報及びサイズ情報を入力するだけで、新薬等の形状モデルを作成し登録できる。そのため、バックライトを備えていない安価な注射薬払出装置100においても、新薬等の形状モデルを登録できる。 According to the above-described model registration device, a pharmacist or the like can create and register a shape model of a new drug, etc. simply by inputting container type information and size information. Therefore, even in the inexpensive injection drug dispensing device 100 that does not include a backlight, a shape model of a new drug or the like can be registered.

また、特許文献1~5には、薬剤の向きの登録に関する開示は無い。本発明の一態様は、薬剤搬送装置が搬送先へ薬剤を搬送するときの薬剤搬送装置による薬剤の取出し、及び、薬剤搬送装置による搬送先での薬剤の載置を、精度良く行うことが可能とする薬剤向き登録装置を実現することを第2の目的とする。 Furthermore, Patent Documents 1 to 5 do not disclose the registration of drug orientation. One aspect of the present invention is that when the drug delivery device transports the drug to the destination, the drug delivery device can take out the drug and place the drug at the destination with high precision. The second objective is to realize a registration device suitable for drugs.

上記の第2の課題を解決するために、本発明の一態様に係る薬剤向き登録装置は、
読取位置に載置された薬剤から、前記薬剤に付された図形を読取ることにより、前記図形の向きを特定する図形向き特定部と、
前記読取位置に載置された薬剤の向きを設定する薬剤向き設定部と、
前記図形向き特定部により特定された前記図形の向きと、前記薬剤向き設定部により設定された前記薬剤の向きとに基づき、前記図形の向き及び前記薬剤の向きの関係を示す向き情報を、前記薬剤の種類に紐付けて登録する情報登録部と、を備える。
In order to solve the above second problem, a drug-oriented registration device according to one aspect of the present invention,
a figure orientation identifying unit that identifies the orientation of the figure by reading the figure attached to the medicine from the medicine placed at the reading position;
a medicine orientation setting unit that sets the orientation of the medicine placed at the reading position;
Based on the orientation of the graphic specified by the graphic orientation specifying unit and the orientation of the medication set by the medication orientation setting unit, orientation information indicating the relationship between the orientation of the graphic and the orientation of the medication is determined by the and an information registration unit that registers the drug in association with the type of drug.

前記構成によれば、薬剤搬送装置は、特定された図形の向きと設定された薬剤の向きとに基づき登録された上記向き情報を用いることにより、読取位置において図形の向きを読取った薬剤について、実際の薬剤の向きを特定できる。そのため、薬剤搬送装置は、読取位置からの薬剤の取出し、及び搬送先での薬剤の載置を精度良く行うことができる。すなわち、本発明の一態様に係る薬剤向き登録装置によれば、上記薬剤搬送装置による薬剤の取出し及び搬送先での薬剤の載置を精度良く行うことができる。 According to the configuration, the drug delivery device uses the orientation information registered based on the specified orientation of the shape and the set orientation of the medicine to deliver the medicine whose orientation of the shape has been read at the reading position. The actual direction of the drug can be determined. Therefore, the drug delivery device can accurately take out the drug from the reading position and place the drug at the destination. That is, according to the drug orientation registration device according to one aspect of the present invention, the drug delivery device can take out the drug and place the drug at the destination with high precision.

なお、上記薬剤搬送装置は、薬剤を載置する載置部から取出され、かつ種類が識別された薬剤を、薬剤に付された図形の向きに基づき、搬送先において所定方向に沿って載置するものである。 In addition, the above-mentioned drug delivery device places the drug, which has been taken out from the drug placement section and whose type has been identified, along a predetermined direction at the destination, based on the orientation of the figure attached to the drug. It is something to do.

さらに、本発明の一態様に係る薬剤向き登録装置では、前記薬剤の向きは、ユーザ入力により設定されても構わない。前記構成によれば、簡易な手法により薬剤の向きを特定できる。 Furthermore, in the drug orientation registration device according to one aspect of the present invention, the orientation of the drug may be set by user input. According to the above configuration, the direction of the medicine can be specified by a simple method.

さらに、本発明の一態様に係る薬剤搬送装置は、
薬剤を載置する載置部から取出され、かつ種類が識別された薬剤を、薬剤に付された図形の向きに基づき、搬送先において所定方向に沿って載置する薬剤搬送装置であって、
読取位置に設置された薬剤から、当該薬剤に付された図形を読取ることにより、前記図形の向きを特定する図形向き特定部と、
入力された薬剤のサイズ情報、前記図形向き特定部が特定した前記図形の向き、及び前記薬剤向き登録装置により登録された前記向き情報に基づき、前記読取位置に載置された薬剤の吸着位置を決定する吸着位置決定部と、を備えても構わない。
Furthermore, the drug delivery device according to one aspect of the present invention includes:
A drug delivery device that places a drug taken out from a drug placement part and whose type has been identified at a destination along a predetermined direction based on the orientation of a graphic attached to the drug,
a figure orientation identification unit that identifies the orientation of the figure by reading the figure attached to the drug from the medicine installed at the reading position;
Based on the input size information of the medicine, the orientation of the figure specified by the figure orientation identification unit, and the orientation information registered by the medicine orientation registration device, the adsorption position of the medicine placed at the reading position is determined. A suction position determination unit that determines the suction position may also be provided.

前記構成によれば、読取位置に載置された薬剤の吸着位置を精度良く算出できる。そのため、読取位置において薬剤を精度良く吸着できる。 According to the configuration, the adsorption position of the medicine placed at the reading position can be calculated with high accuracy. Therefore, the medicine can be adsorbed with high precision at the reading position.

さらに、本発明の一態様に係る薬剤搬送装置は、
薬剤を載置する載置部から取出され、かつ種類が識別された薬剤を、薬剤に付された図形の向きに基づき、搬送先において所定方向に沿って載置する薬剤搬送装置であって、
読取位置に設置された薬剤から、当該薬剤に付された図形を読取ることにより、前記図形の向きを特定する図形向き特定部と、
前記図形向き特定部が特定した前記図形の向き、及び、前記薬剤向き登録装置により登録された前記向き情報に基づき、前記読取位置に載置された薬剤の向きを調整すると共に、前記薬剤を前記搬送先へと搬送する搬送制御部と、を備えても構わない。
Furthermore, the drug delivery device according to one aspect of the present invention includes:
A drug delivery device that places a drug taken out from a drug placement part and whose type has been identified at a destination along a predetermined direction based on the orientation of a graphic attached to the drug,
a figure orientation identification unit that identifies the orientation of the figure by reading the figure attached to the drug from the medicine installed at the reading position;
Based on the orientation of the graphic specified by the graphic orientation identification unit and the orientation information registered by the medication orientation registration device, the orientation of the medicine placed at the reading position is adjusted, and the medicine is It is also possible to include a transport control unit that transports the image to the transport destination.

前記構成によれば、搬送先において所定方向に沿って複数の薬剤を載置できる。 According to the configuration, a plurality of drugs can be placed along a predetermined direction at the destination.

≪ソフトウェアによる実現例≫
注射薬払出装置100の制御ブロック(特に移送制御部191、駆動制御部192、搬送制御部193、吸着位置決定部194、第1判別処理部195、第2判別処理部196、薬剤位置制御部197、保管位置判定部198、報知制御部199、情報取得部211、モデル作成部212、吸着可否判定部213、モデル登録部214、図形向き特定部215、薬剤向き設定部216、情報登録部217、及び重量算出部218)は、集積回路(ICチップ)等に形成された論理回路(ハードウェア)によって実現してもよいし、ソフトウェアによって実現してもよい。また、プリンタ装置13の制御ブロック(特に制御部1000)についても同様に、論理回路(ハードウェア)によって実現してもよいし、ソフトウェアによって実現してもよい。
≪Example of implementation using software≫
Control blocks of the injection drug dispensing device 100 (especially transfer control section 191, drive control section 192, transport control section 193, suction position determination section 194, first discrimination processing section 195, second discrimination processing section 196, drug position control section 197) , storage position determination unit 198, notification control unit 199, information acquisition unit 211, model creation unit 212, adsorption availability determination unit 213, model registration unit 214, figure orientation identification unit 215, drug orientation setting unit 216, information registration unit 217, and weight calculation section 218) may be realized by a logic circuit (hardware) formed in an integrated circuit (IC chip) or the like, or may be realized by software. Further, the control block (particularly the control unit 1000) of the printer device 13 may be similarly realized by a logic circuit (hardware) or may be realized by software.

後者の場合、注射薬払出装置100及びプリンタ装置13は、各機能を実現するソフトウェアであるプログラムの命令を実行するコンピュータを備えている。このコンピュータは、例えば1つ以上のプロセッサを備えていると共に、上記プログラムを記憶したコンピュータ読み取り可能な記録媒体を備えている。そして、上記コンピュータにおいて、上記プロセッサが上記プログラムを上記記録媒体から読み取って実行することにより、本発明の目的が達成される。上記プロセッサとしては、例えばCPU(Central Processing Unit)を用いることができる。上記記録媒体としては、「一時的でない有形の媒体」、例えば、ROM(Read Only Memory)等の他、テープ、ディスク、カード、半導体メモリ、プログラマブルな論理回路などを用いることができる。また、上記プログラムを展開するRAM(Random Access Memory)などをさらに備えていてもよい。また、上記プログラムは、該プログラムを伝送可能な任意の伝送媒体(通信ネットワークや放送波等)を介して上記コンピュータに供給されてもよい。なお、本発明の一態様は、上記プログラムが電子的な伝送によって具現化された、搬送波に埋め込まれたデータ信号の形態でも実現され得る。 In the latter case, the injection drug dispensing device 100 and the printer device 13 are equipped with a computer that executes instructions of a program that is software that implements each function. This computer includes, for example, one or more processors and a computer-readable recording medium that stores the above program. In the computer, the processor reads the program from the recording medium and executes the program, thereby achieving the object of the present invention. As the processor, for example, a CPU (Central Processing Unit) can be used. As the recording medium, in addition to "non-temporary tangible media" such as ROM (Read Only Memory), tapes, disks, cards, semiconductor memories, programmable logic circuits, etc. can be used. Further, the computer may further include a RAM (Random Access Memory) for expanding the above program. Furthermore, the program may be supplied to the computer via any transmission medium (communication network, broadcast waves, etc.) that can transmit the program. Note that one aspect of the present invention can also be realized in the form of a data signal embedded in a carrier wave, in which the program is embodied by electronic transmission.

〔付記事項〕
本発明は上述した各実施形態に限定されるものではなく、請求項に示した範囲で種々の変更が可能であり、異なる実施形態にそれぞれ開示された技術的手段を適宜組み合わせて得られる実施形態についても本発明の技術的範囲に含まれる。
[Additional notes]
The present invention is not limited to the embodiments described above, and various modifications can be made within the scope of the claims, and embodiments obtained by appropriately combining technical means disclosed in different embodiments. are also included within the technical scope of the present invention.

100 注射薬払出装置(モデル登録装置、薬剤向き登録装置、薬剤搬送装置)
126 位置変更部(読取位置)
190 制御部(モデル登録装置、薬剤向き登録装置)
193 搬送制御部
194 吸着位置決定部
211 情報取得部
212 モデル作成部
214 モデル登録部
215 図形向き特定部
216 薬剤向き設定部
217 情報登録部
Ca カセット(載置部)
100 Injection drug dispensing device (model registration device, drug registration device, drug delivery device)
126 Position change section (reading position)
190 Control unit (model registration device, drug-oriented registration device)
193 Transport control unit 194 Adsorption position determination unit 211 Information acquisition unit 212 Model creation unit 214 Model registration unit 215 Graphic orientation identification unit 216 Drug orientation setting unit 217 Information registration unit Ca cassette (placement unit)

Claims (7)

薬剤に付された図形を前記薬剤から読取ることにより、前記図形の向きを特定する図形向き特定部と、
前記薬剤の向きを設定する薬剤向き設定部と、
前記図形向き特定部により特定された前記図形の向きと、前記薬剤向き設定部により設定された前記薬剤の向きとに基づき、前記図形の向き及び前記薬剤の向きの関係を示す向き情報を、前記薬剤の種類に紐付けて登録する情報登録部と、を備える、薬剤向き登録装置。
a figure orientation identifying unit that identifies the orientation of the figure by reading a figure attached to the drug from the drug;
a drug orientation setting unit that sets the direction of the drug;
Based on the orientation of the graphic specified by the graphic orientation specifying unit and the orientation of the medication set by the medication orientation setting unit, orientation information indicating the relationship between the orientation of the graphic and the orientation of the medication is determined by the A drug-oriented registration device, comprising: an information registration unit that registers information in association with a drug type.
前記薬剤の向きは、ユーザ入力により設定される、請求項1に記載の薬剤向き登録装置。 The medicine orientation registration device according to claim 1, wherein the orientation of the medicine is set by user input. ユーザ入力により受け付けた、前記薬剤に付された有効期限の表示形式を、前記薬剤の種類に紐付けて登録する制御部を備える、請求項1に記載の薬剤向き登録装置。 The drug registration device according to claim 1, further comprising a control unit that registers a display format of an expiration date attached to the drug, which is received by user input, in association with the type of drug. ユーザに入力により受け付けた、前記薬剤に付された有効期限の印字方向を、前記薬剤の種類に紐付けて登録する制御部を備える、請求項1に記載の薬剤向き登録装置。 The drug orientation registration device according to claim 1, further comprising a control unit that registers a printing direction of an expiration date attached to the drug, which is input by a user, in association with the type of the drug. 請求項1に記載の薬剤向き登録装置としてコンピュータを機能させるためのプログラムであって、前記図形向き特定部、前記薬剤向き設定部及び前記情報登録部としてコンピュータを機能させるためのプログラム。 A program for causing a computer to function as the drug orientation registration device according to claim 1, the program for causing the computer to function as the graphic orientation specifying section, the drug orientation setting section, and the information registration section. 薬剤を載置する載置部から取出された薬剤を搬送する薬剤搬送装置であって、
入力された薬剤のサイズ情報、請求項1に記載の薬剤向き登録装置により特定された前記図形の向き、及び、前記薬剤向き登録装置により登録された前記向き情報に基づき、前記薬剤の吸着位置を決定する吸着位置決定部を備える、薬剤搬送装置。
A drug transport device that transports a drug taken out from a placing section on which the drug is placed,
The adsorption position of the drug is determined based on the input size information of the drug, the orientation of the figure specified by the drug orientation registration device according to claim 1, and the orientation information registered by the drug orientation registration device. A drug delivery device comprising a suction position determination unit that determines a suction position.
薬剤を載置する載置部から取出された薬剤を、搬送先において所定方向に沿って載置する薬剤搬送装置であって、
請求項1に記載の薬剤向き登録装置により特定された前記図形の向き、及び、前記薬剤向き登録装置により登録された前記向き情報に基づき、前記薬剤の向きを調整する搬送制御部を備える、薬剤搬送装置。
A drug delivery device that places a drug taken out from a drug placement part on a delivery destination along a predetermined direction,
A drug, comprising a transport control unit that adjusts the orientation of the drug based on the orientation of the figure specified by the drug orientation registration device according to claim 1, and the orientation information registered by the drug orientation registration device. Conveyance device.
JP2023140094A 2018-11-22 2023-08-30 Drug registration device, program, and drug delivery device Pending JP2023155420A (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP2018219763 2018-11-22
JP2018219763 2018-11-22
JP2019207312A JP7343771B2 (en) 2018-11-22 2019-11-15 Model registration device, drug registration device, and program

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2019207312A Division JP7343771B2 (en) 2018-11-22 2019-11-15 Model registration device, drug registration device, and program

Publications (1)

Publication Number Publication Date
JP2023155420A true JP2023155420A (en) 2023-10-20

Family

ID=71012061

Family Applications (2)

Application Number Title Priority Date Filing Date
JP2019207312A Active JP7343771B2 (en) 2018-11-22 2019-11-15 Model registration device, drug registration device, and program
JP2023140094A Pending JP2023155420A (en) 2018-11-22 2023-08-30 Drug registration device, program, and drug delivery device

Family Applications Before (1)

Application Number Title Priority Date Filing Date
JP2019207312A Active JP7343771B2 (en) 2018-11-22 2019-11-15 Model registration device, drug registration device, and program

Country Status (1)

Country Link
JP (2) JP7343771B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112938279B (en) * 2020-10-26 2022-12-09 北京印刷学院 Adsorption type medicine taking device
KR102561478B1 (en) * 2020-12-02 2023-07-28 장복녀 Medication Reminder Device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5959903B2 (en) * 2012-04-06 2016-08-02 株式会社セントラルユニ Automatic medicine label reader
JP6750257B2 (en) * 2016-03-08 2020-09-02 株式会社湯山製作所 Drug recognition device

Also Published As

Publication number Publication date
JP7343771B2 (en) 2023-09-13
JP2020089720A (en) 2020-06-11

Similar Documents

Publication Publication Date Title
JP7376786B2 (en) Drug cassette handling device and drug dispensing device
JP7307373B2 (en) Drug recognition device and drug sorting device provided with the same
JP7147925B2 (en) Drug sorting device and drug sorting method
US11504747B2 (en) Drug sorting device, sorting container, and drug return method
US7748628B2 (en) Systems and methods for scanning an identification code of an unknown orientation
JP2023155420A (en) Drug registration device, program, and drug delivery device
JP7469729B2 (en) Drug sorting device and drug sorting device control method
US20080300794A1 (en) System, method, apparatus and computer program product for capturing human-readable text displayed on a unit dose package
JP5902022B2 (en) Returned medicine sorting apparatus and returned medicine sorting method
US20100239169A1 (en) System And Method For Determining The Orientation Of A Unit Dose Package
JP2023009248A (en) Drug sorting device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20230830

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20240227

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20240305

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20240403