JP2022069588A - Medicine distribution device - Google Patents

Medicine distribution device Download PDF

Info

Publication number
JP2022069588A
JP2022069588A JP2022040983A JP2022040983A JP2022069588A JP 2022069588 A JP2022069588 A JP 2022069588A JP 2022040983 A JP2022040983 A JP 2022040983A JP 2022040983 A JP2022040983 A JP 2022040983A JP 2022069588 A JP2022069588 A JP 2022069588A
Authority
JP
Japan
Prior art keywords
drug
returned
payout
data
medicine
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
JP2022040983A
Other languages
Japanese (ja)
Inventor
俊介 仲達
Shunsuke Nakadachi
幸久 吉屋
Yukihisa Yoshiya
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 JP2022069588A publication Critical patent/JP2022069588A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61JCONTAINERS SPECIALLY ADAPTED FOR MEDICAL OR PHARMACEUTICAL PURPOSES; DEVICES OR METHODS SPECIALLY ADAPTED FOR BRINGING PHARMACEUTICAL PRODUCTS INTO PARTICULAR PHYSICAL OR ADMINISTERING FORMS; DEVICES FOR ADMINISTERING FOOD OR MEDICINES ORALLY; BABY COMFORTERS; DEVICES FOR RECEIVING SPITTLE
    • A61J3/00Devices or methods specially adapted for bringing pharmaceutical products into particular physical or administering forms
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B07SEPARATING SOLIDS FROM SOLIDS; SORTING
    • B07CPOSTAL SORTING; SORTING INDIVIDUAL ARTICLES, OR BULK MATERIAL FIT TO BE SORTED PIECE-MEAL, e.g. BY PICKING
    • B07C5/00Sorting according to a characteristic or feature of the articles or material being sorted, e.g. by control effected by devices which detect or measure such characteristic or feature; Sorting by manually actuated devices, e.g. switches
    • B07C5/36Sorting apparatus characterised by the means used for distribution
    • B07C5/361Processing or control devices therefor, e.g. escort memory
    • B07C5/362Separating or distributor mechanisms
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B07SEPARATING SOLIDS FROM SOLIDS; SORTING
    • B07CPOSTAL SORTING; SORTING INDIVIDUAL ARTICLES, OR BULK MATERIAL FIT TO BE SORTED PIECE-MEAL, e.g. BY PICKING
    • B07C5/00Sorting according to a characteristic or feature of the articles or material being sorted, e.g. by control effected by devices which detect or measure such characteristic or feature; Sorting by manually actuated devices, e.g. switches
    • B07C5/34Sorting according to other particular properties
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B07SEPARATING SOLIDS FROM SOLIDS; SORTING
    • B07CPOSTAL SORTING; SORTING INDIVIDUAL ARTICLES, OR BULK MATERIAL FIT TO BE SORTED PIECE-MEAL, e.g. BY PICKING
    • B07C5/00Sorting according to a characteristic or feature of the articles or material being sorted, e.g. by control effected by devices which detect or measure such characteristic or feature; Sorting by manually actuated devices, e.g. switches
    • B07C5/36Sorting apparatus characterised by the means used for distribution
    • B07C5/38Collecting or arranging articles in groups
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N20/00Machine learning
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/08Logistics, e.g. warehousing, loading or distribution; Inventory or stock management
    • G06Q10/087Inventory or stock management, e.g. order filling, procurement or balancing against orders
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16HHEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
    • G16H20/00ICT specially adapted for therapies or health-improving plans, e.g. for handling prescriptions, for steering therapy or for monitoring patient compliance
    • G16H20/10ICT specially adapted for therapies or health-improving plans, e.g. for handling prescriptions, for steering therapy or for monitoring patient compliance relating to drugs or medications, e.g. for ensuring correct administration to patients
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16HHEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
    • G16H70/00ICT specially adapted for the handling or processing of medical references
    • G16H70/40ICT specially adapted for the handling or processing of medical references relating to drugs, e.g. their side effects or intended usage

Abstract

PROBLEM TO BE SOLVED: To provide a medicine distribution device for automatically recognizing the size and kind, etc. of a medicine and storing the medicine by securing a high degree of freedom.
SOLUTION: A medicine distribution device includes: the first recognition section for recognizing the size of a medicine; the second recognition section for recognizing the kind of the medicine; a storage part for storing the recognized medicine; and a storage section for storing the storage position of the medicine stored in the storage part and the kind of the medicine. The storage position of the medicine to be stored is determined based on the storage position stored in the storage section and the size obtained by the first recognition section. The kind obtained by the second recognition section and the storage position are associated each other and recorded in the storage section.
SELECTED DRAWING: Figure 1
COPYRIGHT: (C)2022,JPO&INPIT

Description

本発明は、薬剤仕分装置に関する。 The present invention relates to a drug sorting device.

患者に処方された薬剤が、処方変更等の理由により医療機関内の薬剤処方を管理する部署に返却される場合がある(返品薬剤)。特許文献1には、返品薬剤の処理作業の効率化と、この作業におけるヒューマンエラー防止のための、返品薬剤を自動的に認識して格納する返品薬剤仕分装置を開示している。 The drug prescribed to the patient may be returned to the department that manages the drug prescription in the medical institution due to reasons such as a change in the prescription (returned drug). Patent Document 1 discloses a returned drug sorting device that automatically recognizes and stores a returned drug in order to improve the efficiency of the return drug processing work and prevent human error in this work.

特開2013-215343号公報Japanese Unexamined Patent Publication No. 2013-215343

一般に、返品薬剤は、種類、形状、大きさ、使用期限等の性状が種々異なる。しかし、特許文献1に開示されたものを含め、従来の返品薬剤仕分装置では、性状が種々異なる返品薬剤をその後の払出作業の効率等の要因を考慮した高い自由度を確保して格納することについて、特段の考慮が払われていない。より具体的には、性状が種々異なる返品薬剤を、例えば処方情報に応じた自由な払い出しが可能となるように、高い自由度を確保して格納することについて、特段の考慮が払われていない。 In general, returned drugs have various properties such as type, shape, size, and expiration date. However, in the conventional returned drug sorting device including the one disclosed in Patent Document 1, returned drugs having various properties should be stored with a high degree of freedom in consideration of factors such as the efficiency of the subsequent payout work. No special consideration has been given to. More specifically, no special consideration has been given to storing returned drugs with various properties with a high degree of freedom so that they can be freely dispensed according to prescription information, for example. ..

本発明は、種類、形状、大きさ、使用期限等の性状が種々異なり、かつ非整列状態で供給された薬剤を、自動的に認識して高い自由度を確保して格納することを課題とする。 An object of the present invention is to automatically recognize drugs supplied in an unaligned state with various properties such as type, shape, size, expiration date, etc., and to secure a high degree of freedom and store them. do.

本発明の実施の形態1に係る薬剤仕分装置は、
薬剤の大きさを認識する第1の認識部と、
前記薬剤の種類を認識する第2の認識部と、
認識された前記薬剤を格納する格納部と、
前記格納部に格納された薬剤の格納位置および前記薬剤の種類を記憶する記憶部とを備え、
前記記憶部に記憶される格納位置および前記第1の認識部により得られた前記大きさに基づいて、格納される薬剤の格納位置を決定し、第2の認識部により得られた種類と、前記格納位置とを関連付けて前記記憶部に記録する。
The drug sorting apparatus according to the first embodiment of the present invention is
The first recognition unit that recognizes the size of the drug,
A second recognition unit that recognizes the type of the drug,
A storage unit for storing the recognized drug and
It is provided with a storage position for a drug stored in the storage unit and a storage unit for storing the type of the drug.
The storage position of the medicine to be stored is determined based on the storage position stored in the storage unit and the size obtained by the first recognition unit, and the type obtained by the second recognition unit and the type obtained by the second recognition unit. It is recorded in the storage unit in association with the storage position.

本発明の薬剤仕分装置によれば、薬剤の向き及び姿勢と、形状、大きさ、種類、使用期限のような性状とを自動的に認識し、例えば処方情報に応じた自由な払い出しが可能であるような、高い自由度を確保して薬剤を格納できる。 According to the drug sorting device of the present invention, the direction and posture of the drug and the properties such as shape, size, type, and expiration date can be automatically recognized, and for example, it can be freely dispensed according to prescription information. It is possible to store the drug with a high degree of freedom as there is.

本発明の実施の形態1に係る返品薬管理システムの概略構成図である。It is a schematic block diagram of the returned medicine management system which concerns on Embodiment 1 of this invention. 本発明の実施の形態1に係る返品薬管理システムにおける薬剤返戻制御装置が格納するデータベースのレイアウトを示す図である。(A)は返品薬払出装置在庫用テーブルのレイアウトを示す図である。(B)は返品薬払出装置払出用テーブルのレイアウトを示す図である。(C)は返品薬払出装置回収用テーブルのレイアウトを示す図である。It is a figure which shows the layout of the database which stores the drug return control apparatus in the returned medicine management system which concerns on Embodiment 1 of this invention. (A) is a figure which shows the layout of the table for the return medicine payout device inventory. (B) is a figure which shows the layout of the return medicine payout device payout table. (C) is a diagram showing the layout of a table for collecting returned medicines. 本発明の実施の形態1に係る返品薬管理システムにおける指示端末に接続するローカルデータベースのレイアウトを示す図である。It is a figure which shows the layout of the local database connected to the instruction terminal in the returned medicine management system which concerns on Embodiment 1 of this invention. 返品薬払出装置、及び返品薬払出装置を含む払出ラインシステムの、構成図である。It is a block diagram of the return medicine payout device and the payout line system including the return medicine payout device. 図5(1)は、払出時における、処理の流れを示す図である。図5(2)は、回収時における、処理の流れを示す図である。FIG. 5 (1) is a diagram showing a processing flow at the time of payout. FIG. 5 (2) is a diagram showing a flow of processing at the time of collection. 本発明の実施の形態1における、払出処理のフローチャートである。It is a flowchart of the payout process in Embodiment 1 of this invention. 図7(a)は、本発明の実施の形態1に係る返品薬管理システムのメイン画面図である。図7(b)は、返品薬管理システムのメイン画面図にて、各種設定ボタンをタッチした際に示されるボタンである。FIG. 7A is a main screen view of the returned drug management system according to the first embodiment of the present invention. FIG. 7B is a button shown when various setting buttons are touched on the main screen diagram of the returned drug management system. 本発明の実施の形態1に係る返品薬管理システムの薬剤回収画面図である。It is a drug recovery screen diagram of the returned drug management system which concerns on Embodiment 1 of this invention. 返品薬管理システムの薬品回収処理の対象データを抽出するためのフローチャートである。It is a flowchart for extracting the target data of the drug collection process of the returned drug management system. 返品薬払出装置回収用テーブルにレコードを作成する処理例のフローチャートである。It is a flowchart of the processing example which creates a record in the return medicine payout device collection table. 本発明の実施の形態1における、回収処理のフローチャートである。It is a flowchart of the recovery process in Embodiment 1 of this invention. 本発明の実施の形態1に係る返品薬管理システムの自動回収設定(パターン設定)画面図である。It is a screen diagram of the automatic collection setting (pattern setting) of the returned medicine management system which concerns on Embodiment 1 of this invention. 本発明の実施の形態1に係る返品薬管理システムの自動回収設定画面図(一覧図)である。It is an automatic collection setting screen diagram (list diagram) of the returned medicine management system which concerns on Embodiment 1 of this invention. 本発明の実施の形態1に係る返品薬管理システムの薬品有効期限登録一覧画面図である。It is a drug expiration date registration list screen figure of the returned drug management system which concerns on Embodiment 1 of this invention. 本発明の実施の形態1に係る返品薬管理システムの薬品有効期限登録画面図である。It is a drug expiration date registration screen figure of the returned drug management system which concerns on Embodiment 1 of this invention. 本発明の実施の形態1に係る返品薬管理システムの、各種設定におけるその他設定画面図である。It is the other setting screen figure in the various setting of the returned medicine management system which concerns on Embodiment 1 of this invention. 本発明の実施の形態1に係る返品薬管理システムの、返却薬品設定画面図である。It is a return medicine setting screen diagram of the returned medicine management system which concerns on Embodiment 1 of this invention. 本発明の実施の形態1に係る返品薬管理システムの返却許可設定画面図である。It is a return permission setting screen figure of the returned medicine management system which concerns on Embodiment 1 of this invention. 返却許可設定画面による返却許可設定に基づく処理のフローチャートである。It is a flowchart of the process based on the return permission setting by the return permission setting screen. 本発明の実施の形態1に係る返品薬管理システムの返却トレイ病棟登録画面図である。It is a return tray ward registration screen view of the returned medicine management system which concerns on Embodiment 1 of this invention. 本発明の実施の形態1に係る返品薬管理システムの入出庫照会画面図である。It is a warehousing / delivery inquiry screen diagram of the returned medicine management system which concerns on Embodiment 1 of this invention. 本発明の実施の形態1に係る払出ラインシステムにより出力される病棟別薬品集計表の図である。It is a figure of the medicine summary table by ward output by the payout line system which concerns on Embodiment 1 of this invention. 薬品集計表におけるマークを付す処理のフローチャートである。It is a flowchart of the process of adding a mark in a drug summary table. 図24(a)は、本発明の実施の形態1に係る払出ラインシステムにより出力される回収リライトカードの図である。図24(b)は、回収リライトカードを出力する処理のフローチャートである。FIG. 24A is a diagram of a recovery rewrite card output by the payout line system according to the first embodiment of the present invention. FIG. 24B is a flowchart of a process for outputting a recovery rewrite card.

以下、図面を参照しつつ、本発明に係る好適な実施形態を説明する。 Hereinafter, preferred embodiments according to the present invention will be described with reference to the drawings.

なお、以下の実施形態の説明では、返品薬管理システム(薬剤仕分装置)に収容される薬剤として、病院等における未使用の返品薬を取り挙げている。ここで、本発明に係る実施形態においては、収容される薬剤は未使用の返品薬に限定されない。つまり、収容される薬剤は、製薬メーカから納入された新しい薬剤を収納箱から取出してランダムに収容したものであってもよい。更に、そのランダムに収容することとは、同一薬品を整列させることなく収容することや、複数種の新たな未使用薬品を同時に収容することなどであってもよい。 In the following description of the embodiment, unused returned drugs in hospitals and the like are taken up as drugs stored in the returned drug management system (drug sorting device). Here, in the embodiment of the present invention, the contained drug is not limited to the unused returned drug. That is, the drug to be contained may be a new drug delivered from the pharmaceutical manufacturer taken out of the storage box and randomly stored. Further, the randomly accommodating may mean accommodating the same chemicals without arranging them, or accommodating a plurality of new unused chemicals at the same time.

[実施の形態1]
1.構成
1.1.返品薬管理システム(薬剤仕分装置)の構成
図1は、本発明の実施の形態1に係る返品薬管理システム(薬剤仕分装置)の概略の構成を示す図である。実施の形態1に係る返品薬管理システムは、返品薬払出装置(収容薬払出装置)2、指示端末4、及び薬剤返戻制御装置(薬剤収容制御装置)6により構成される。
[Embodiment 1]
1. 1. Configuration 1.1. Configuration of Returned Drug Management System (Pharmaceutical Sorting Device) FIG. 1 is a diagram showing a schematic configuration of a returned drug management system (drug sorting device) according to the first embodiment of the present invention. The returned drug management system according to the first embodiment includes a returned drug dispensing device (accommodated drug dispensing device) 2, an instruction terminal 4, and a drug return control device (drug accommodation control device) 6.

図1に示す指示端末4は、制御部(プロセッサ)、入力部、表示部、記憶部、外部機器インタフェース部、及び通信インタフェース部を備える。制御部(プロセッサ)は、演算処理及びシステム全体の制御を行う。制御部は、CPU、MPU等のプロセッサを含み、所定のプログラムを実行することにより、後述する機能を実現する。入力部は、装置に対する入力データを生成する若しくは受け取る部位であり、通常、キーボード、マウス、タッチパネル等により構成される。表示部は、プロセッサ(制御部)による処理結果等を表示する部位であり、液晶ディスプレイ、有機ELディスプレイ、プラズマディスプレイ等により構成される。記憶部は、制御部(プロセッサ)で稼働するプログラムやモデル生成に必要なパラメータデータ等を記憶している。外部機器インタフェース部は、プリンタ等の外部機器とのインタフェースとして動作する部位である。通信インタフェース部は、外部ネットワークと通信するためのインタフェースとして動作する部位である。これらのプロセッサ(制御部)、入力部、表示部、記憶部、外部機器インタフェース部、及び通信インタフェース部は、適切なバスにより相互に接続されている。指示端末4は、デスクトップパソコン、ノートパソコン、ワークステーション、又はタブレット端末のような情報処理装置で構成される。更に、指示端末4は、薬剤に関するデータの記憶部としてのローカルデータベース3を備える。 The instruction terminal 4 shown in FIG. 1 includes a control unit (processor), an input unit, a display unit, a storage unit, an external device interface unit, and a communication interface unit. The control unit (processor) performs arithmetic processing and control of the entire system. The control unit includes a processor such as a CPU and an MPU, and realizes a function described later by executing a predetermined program. The input unit is a part that generates or receives input data for the device, and is usually composed of a keyboard, a mouse, a touch panel, and the like. The display unit is a portion that displays processing results and the like by a processor (control unit), and is composed of a liquid crystal display, an organic EL display, a plasma display, and the like. The storage unit stores programs running in the control unit (processor), parameter data required for model generation, and the like. The external device interface unit is a part that operates as an interface with an external device such as a printer. The communication interface unit is a part that operates as an interface for communicating with an external network. These processors (control units), input units, display units, storage units, external device interface units, and communication interface units are connected to each other by appropriate buses. The instruction terminal 4 is composed of an information processing device such as a desktop personal computer, a notebook personal computer, a workstation, or a tablet terminal. Further, the instruction terminal 4 includes a local database 3 as a storage unit for data related to the drug.

また、薬剤返戻制御装置(薬剤収容制御装置)6は、制御部(プロセッサ)、入力部、表示部、記憶部、外部機器インタフェース部、及び通信インタフェース部を備える。制御部(プロセッサ)は、演算処理及びシステム全体の制御を行う。制御部は、CPU、MPU等のプロセッサを含み、所定のプログラムを実行することにより、後述する機能を実現する。入力部は、装置に対する入力データを生成する若しくは受け取る部位であり、通常、キーボード、マウス、タッチパネル等により構成される。表示部は、プロセッサ(制御部)による処理結果等を表示する部位であり、液晶ディスプレイ、有機ELディスプレイ、プラズマディスプレイ等により構成される。記憶部は、制御部(プロセッサ)で稼働するプログラムやモデル生成に必要なパラメータデータ等を記憶している。外部機器インタフェース部は、プリンタ等の外部機器とのインタフェースとして動作する部位である。通信インタフェース部は、外部ネットワークと通信するためのインタフェースとして動作する部位である。これらのプロセッサ(制御部)、入力部、表示部、記憶部、外部機器インタフェース部、及び通信インタフェース部は、適切なバスにより相互に接続されている。薬剤返戻制御装置6は、デスクトップパソコン、ノートパソコン、ワークステーション、又はタブレット端末のような情報処理装置で構成される。薬剤返戻制御装置6は、更に、薬剤に関するデータの記憶部としての複数のテーブル7a、7b、7c・・・を格納するデータベース5と接続する。 Further, the drug return control device (drug storage control device) 6 includes a control unit (processor), an input unit, a display unit, a storage unit, an external device interface unit, and a communication interface unit. The control unit (processor) performs arithmetic processing and control of the entire system. The control unit includes a processor such as a CPU and an MPU, and realizes a function described later by executing a predetermined program. The input unit is a part that generates or receives input data for the device, and is usually composed of a keyboard, a mouse, a touch panel, and the like. The display unit is a portion that displays processing results and the like by a processor (control unit), and is composed of a liquid crystal display, an organic EL display, a plasma display, and the like. The storage unit stores programs running in the control unit (processor), parameter data required for model generation, and the like. The external device interface unit is a part that operates as an interface with an external device such as a printer. The communication interface unit is a part that operates as an interface for communicating with an external network. These processors (control units), input units, display units, storage units, external device interface units, and communication interface units are connected to each other by appropriate buses. The drug return control device 6 is composed of an information processing device such as a desktop personal computer, a laptop personal computer, a workstation, or a tablet terminal. The drug return control device 6 is further connected to a database 5 that stores a plurality of tables 7a, 7b, 7c ... As a storage unit for data related to the drug.

データベース5は、返品薬払出装置在庫用テーブル7a、返品薬払出装置払出用テーブル7b、返品薬払出装置回収用テーブル7c、返品薬払出装置共有設定テーブル、及び、薬品マスタ等(図2参照)の、薬剤関連データテーブルを含む。一方、指示端末4に付属するローカルデータベース3は、返品薬在庫テーブル9等(図3参照)の、薬剤関連データテーブルを含む。 The database 5 includes a returned drug dispensing device inventory table 7a, a returned drug dispensing device dispensing table 7b, a returned drug dispensing device collection table 7c, a returned drug dispensing device shared setting table, a drug master, etc. (see FIG. 2). , Includes drug-related data tables. On the other hand, the local database 3 attached to the instruction terminal 4 includes a drug-related data table such as a returned drug inventory table 9 (see FIG. 3).

返品薬払出装置在庫用テーブル7aは、返品薬払出装置2内に格納される返品薬剤の内容を表すテーブル(データベース)であり、返品薬払出装置2の返却動作時に新規のレコードが発生する。図2(A)に、返品薬払出装置在庫用テーブル7aのレイアウトを示す。 The returned drug dispensing device inventory table 7a is a table (database) showing the contents of the returned drug stored in the returned drug dispensing device 2, and a new record is generated when the returned drug dispensing device 2 is returned. FIG. 2A shows the layout of the returned drug dispensing device inventory table 7a.

返品薬払出装置払出用テーブル7bは、払出動作の対象となる返品薬払出装置2内に存在する返品薬剤及び払出内容を示すテーブル(データベース)であり、返品薬払出装置2の返却動作時に新規のレコードが発生する。図2(B)に、返品薬払出装置払出用テーブル7bのレイアウトを示す。 The returned medicine payout device payout table 7b is a table (database) showing the returned medicines existing in the returned medicine payout device 2 to be paid out and the contents of the payout, and is new when the returned medicine payout device 2 is returned. A record is generated. FIG. 2B shows the layout of the return drug payout device payout table 7b.

返品薬払出装置回収用テーブル7cは、回収される返品薬払出装置2内に存在する返品薬剤及び回収理由などを示すテーブル(データベース)であり、返品薬払出装置2の回収動作時に新規のレコードが発生する。図2(C)に、返品薬払出装置回収用テーブル7cのレイアウトを示す。 The returned drug dispensing device collection table 7c is a table (database) showing the returned drugs existing in the returned drug dispensing device 2 to be collected, the reason for collection, etc., and a new record is recorded during the collection operation of the returned drug dispensing device 2. Occur. FIG. 2C shows the layout of the returned drug dispensing device collection table 7c.

なお、本実施形態における「回収」動作は、特定の条件に該当する薬剤を格納部15からまとめて払い出す動作であり、その特定の条件には「有効期限が切れたこと」や「特定の薬種であること」など種々の条件が含まれる。従って、「回収」動作は、処方データに基づいて行われる薬剤の「払出」動作とは明確に異なる動作である。なお、「有効期限」は「使用期限」と言い換えられることがあるが、両語は同義である。 The "collection" operation in the present embodiment is an operation in which drugs corresponding to specific conditions are collectively discharged from the storage unit 15, and the specific conditions include "expired" and "specific". It includes various conditions such as "being a drug type". Therefore, the "recovery" operation is a distinctly different operation from the drug "discharging" operation performed based on the prescription data. The "expiration date" may be paraphrased as "expiration date", but both terms are synonymous.

薬品マスタは、薬品コードをキー項目(キーフィールド)とし、各薬品の特性データ・属性データを備えるマスタファイルである。なお、本実施形態の薬品マスタは、各病院が採用する薬品についてのマスタファイルであればよい。 The drug master is a master file containing characteristic data and attribute data of each drug with the drug code as a key item (key field). The drug master of this embodiment may be a master file for the drug adopted by each hospital.

ローカルデータベース3の返品薬在庫テーブル9は、返品薬払出装置2の格納部15における格納位置(アドレス)などを示すローカルファイルであり、返品薬払出装置2の返却動作時に新規のレコードが発生する。図3に、返品薬在庫テーブル9のレイアウトを示す。 The returned drug inventory table 9 of the local database 3 is a local file showing a storage position (address) in the storage unit 15 of the returned drug dispensing device 2, and a new record is generated when the returned drug dispensing device 2 is returned. FIG. 3 shows the layout of the returned drug inventory table 9.

格納情報記憶部は、格納部15への薬剤の格納状況を記憶する記憶領域であり、指示端末4の記憶部に含まれてもよいし、薬剤返戻制御装置(薬剤収容制御装置)6の記憶部に含まれてもよい。 The storage information storage unit is a storage area for storing the storage status of the drug in the storage unit 15, and may be included in the storage unit of the instruction terminal 4, or is stored in the drug return control device (drug storage control device) 6. It may be included in the part.

返品薬払出装置(収容薬払出装置)2は、薬剤返戻制御装置6及び指示端末4と必要なデータを遣り取りしつつ、返品薬管理システム(薬剤仕分装置)に収容された未使用の返品薬剤を、(後でも説明する)認識部14により認識してその認識に従い返品薬剤を自らの(後でも説明する)格納部15に仕分けして格納する。つまり、返品薬払出装置2は認識部14の認識動作に基づき、(返品薬払出装置2への返却日時と連番で構成される)「薬品識別コード」、「返品薬払出装置そのもののユニットの番号」、(個々の薬品に付される)「薬品バーコード」、「有効期限」、「薬品の径と全長」、「薬品の向き及び姿勢」などの薬剤の性状に係るデータを把握し、これらデータに基づいて返品薬管理システムに対して、格納部15における格納位置を検索するように通知する。返品薬管理システムは、返品薬払出装置2からのデータに基づいて、返品薬払出装置2の格納部15における充填位置、即ち、空き位置と置き方を、格納情報記憶部を用いて検索する。 The returned drug dispensing device (accommodated drug dispensing device) 2 exchanges necessary data with the drug return control device 6 and the instruction terminal 4 to exchange unused returned drugs stored in the returned drug management system (drug sorting device). , Recognized by the recognition unit 14 (described later), and according to the recognition, the returned drug is sorted and stored in its own (described later) storage unit 15. That is, the returned drug dispensing device 2 is based on the recognition operation of the recognition unit 14, and has a "drug identification code" (consisting of a return date and time to the returned drug dispensing device 2 and a serial number) and a "unit of the returned drug dispensing device itself". Understand data related to the properties of drugs such as "number", "drug barcode" (attached to each drug), "expiration date", "diameter and total length of drug", "direction and attitude of drug", etc. Based on these data, the returned drug management system is notified to search for the storage position in the storage unit 15. The returned drug management system searches for a filling position in the storage unit 15 of the returned drug dispensing device 2, that is, a vacant position and a placement method using the stored information storage unit, based on the data from the returned drug dispensing device 2.

返品薬剤の格納部15における空き位置と置き方について説明する。後でも述べるように、格納部15には、鉛直方向に複数の棚が設けられ、各棚には格納トレイが配置される。各棚の格納トレイには複数の列が設けられ、更に、各列は複数の横(方向の)位置を備える。格納トレイは、Sサイズ(の薬剤)用のもの、Mサイズ(の薬剤)用のもの、及びLサイズ(の薬剤)用のものに分類されている。返品薬管理システムは、返品薬払出装置2から返品薬剤のサイズ(のデータ)を受け取ると、返品薬剤がS、M、Lのいずれのサイズであるかを判断し、それに対応した格納トレイを特定する。その上で、返品薬管理システムは、格納情報記憶部を用いて、当該サイズの薬剤を配置できる領域(薬剤間のマージン領域も含む)があるかどうかを見つけようとし(即ち、検索し)、あれば充填位置情報(即ち、(後でも説明する)「棚、列、横位置」のデータ)が決定されることになる。このとき(後で説明する)マスクが設定された位置については、検索の対象外となる。 The vacant position and how to put the returned medicine in the storage unit 15 will be described. As will be described later, the storage unit 15 is provided with a plurality of shelves in the vertical direction, and storage trays are arranged on each shelf. The storage trays on each shelf are provided with a plurality of rows, and each row has a plurality of lateral (directional) positions. The storage trays are classified into those for S size (drug), those for M size (drug), and those for L size (drug). When the returned drug management system receives the size (data) of the returned drug from the returned drug dispensing device 2, it determines whether the returned drug is of S, M, or L size, and identifies the corresponding storage tray. do. The returned drug management system then uses the stored information storage to find out (ie, search) if there is an area (including a margin area between the drugs) in which the drug of that size can be placed. If so, the filling position information (that is, the “shelf, row, horizontal position” data (which will be described later)) will be determined. At this time, the position where the mask is set (described later) is excluded from the search.

指示端末4は、検索の結果決定した充填位置情報、即ち、(後でも説明する)「棚、列、横位置」データを「薬品識別コード」や「返品薬払出装置そのもののユニットの番号」のデータと共に、返品薬払出装置2に通知する。返品薬払出装置2は、受け取った充填位置情報により、格納部15への返品薬剤の仕分及び格納を行う。 The instruction terminal 4 uses the filling position information determined as a result of the search, that is, the “shelf, row, horizontal position” data (described later) as the “drug identification code” or the “unit number of the returned drug dispensing device itself”. Notify the returned drug dispensing device 2 together with the data. The returned drug dispensing device 2 sorts and stores the returned drug in the storage unit 15 based on the received filling position information.

格納部15への返品薬剤の仕分及び格納後には、返品薬管理システムは、格納情報記憶部において、充填位置にマスクをかける。これにより、以後、同じ位置に重ねて薬剤が配置(格納)されることは無くなる。このように、格納情報記憶部において、格納トレイの薬剤が配置されている位置ではマスクが設定され、薬剤が(払出等により)存在しない位置ではマスクが外され該位置は配置(充填)可能領域として存在する。以上のように、返品薬管理システムは、配置可能領域の検索に当たっては、配置しようとする薬剤が最も効率的に配置(格納)され得る場所を見つけようとする。よって、格納部15にて無駄な格納スペースが生じることが無い。 After sorting and storing the returned drug in the storage unit 15, the returned drug management system masks the filling position in the storage information storage unit. As a result, the agents will not be placed (stored) in the same position thereafter. In this way, in the storage information storage unit, a mask is set at the position where the medicine is placed in the storage tray, and the mask is removed at the position where the medicine does not exist (due to payout or the like), and the position is the place where the medicine can be placed (filled). Exists as. As described above, when searching for a placeable area, the returned drug management system tries to find a place where the drug to be placed can be placed (stored) most efficiently. Therefore, no wasted storage space is generated in the storage unit 15.

また、薬剤返戻制御装置6は、返品薬払出装置2から受け取る「薬品バーコード」から薬品コードを抽出し、この薬品コードをキー項目としてデータベース5における薬品マスタを検索して、薬品の種類、名称、区分(冷所保管、抗がん剤、劇薬、等)などのデータを把握する。更に、返品薬払出装置2の格納部15への格納発生を示すデータが、返品薬払出装置2から薬剤返戻制御装置6及び指示端末4に即座に通知されて、薬剤返戻制御装置6は、(後でも説明するように)、返品薬払出装置在庫用テーブル7a(図2(A)参照)と返品薬払出装置払出用テーブル7b(図2(B)参照)にレコードを作成し、指示端末4は、ローカルデータベース3内の返品薬在庫テーブル9(図3参照)にレコードを作成する。このとき、ローカルデータベース3内の返品薬在庫テーブル9には、格納される薬剤に係るデータと格納部15における充填位置に係るデータとが関連付けて格納される。 Further, the drug return control device 6 extracts the drug code from the "drug bar code" received from the returned drug dispensing device 2, searches the drug master in the database 5 using this drug code as a key item, and searches for the drug type and name. , Classification (cold storage, anti-cancer drug, powerful drug, etc.), etc. Further, the data indicating the occurrence of storage of the returned drug withdrawal device 2 in the storage unit 15 is immediately notified from the returned drug withdrawal device 2 to the drug return control device 6 and the instruction terminal 4, and the drug return control device 6 receives ( (As will be described later), a record is created in the returned drug payout device inventory table 7a (see FIG. 2 (A)) and the returned drug payout device payout table 7b (see FIG. 2 (B)), and the instruction terminal 4 is used. Creates a record in the returned drug inventory table 9 (see FIG. 3) in the local database 3. At this time, in the returned drug inventory table 9 in the local database 3, the data related to the stored drug and the data related to the filling position in the storage unit 15 are stored in association with each other.

薬剤払出時には、薬剤返戻制御装置6は、払い出す薬剤の条件を指定した払出指示を生成して返品薬払出装置2へ送信する。返品薬払出装置2は、薬剤返戻制御装置6から受信した払出指示に従い払出動作を行う。 At the time of drug withdrawal, the drug return control device 6 generates a payout instruction specifying the conditions of the drug to be paid out and sends it to the returned drug payout device 2. The returned drug payout device 2 performs a payout operation according to a payout instruction received from the drug return control device 6.

なお、返品薬払出装置2を含む(後で説明する)払出ラインシステム101(図4参照)全体が、例えば夜間停止しているときでも、返品薬払出装置2の返却動作及びそれに対応する指示端末4の動作だけが稼働していることがある。その場合、ローカルデータベース3の返品薬在庫テーブル9の内容のみ更新されることになる。従って、翌朝、払出ラインシステム101全体が再起動する際には、データベース5に格納されるテーブル(返品薬払出装置在庫用テーブル7a、返品薬払出装置払出用テーブル7b、返品薬払出装置回収用テーブル7c等)と、指示端末4に付属するローカルデータベース3(返品薬在庫テーブル9等)との、同期をとる処理が行われる。 Even when the entire payout line system 101 (see FIG. 4) including the returned drug payout device 2 (described later) is stopped at night, for example, the return operation of the returned drug payout device 2 and the corresponding instruction terminal. Only the operation of 4 may be in operation. In that case, only the contents of the returned drug inventory table 9 of the local database 3 will be updated. Therefore, when the entire payout line system 101 is restarted the next morning, the tables stored in the database 5 (returned medicine payout device inventory table 7a, returned medicine payout device payout table 7b, returned medicine payout device collection table) are stored. 7c etc.) and the local database 3 (returned drug inventory table 9 etc.) attached to the instruction terminal 4 are synchronized with each other.

返品薬払出装置2と指示端末4、及び、返品薬払出装置2と薬剤返戻制御装置6は、夫々、RS-232C等を介して接続している。また、指示端末4と薬剤返戻制御装置6は、LAN等を介して接続している。 The returned medicine withdrawal device 2 and the instruction terminal 4, and the returned medicine withdrawal device 2 and the medicine return control device 6 are connected via RS-232C or the like, respectively. Further, the instruction terminal 4 and the drug return control device 6 are connected via a LAN or the like.

1.2.払出ラインシステムの構成
図4上部に示す図は、本実施形態の返品薬払出装置2を含む払出ラインシステム101の全体構成図である。返品薬剤の払出や回収のためのトレイが、払出ラインシステム101内を通過する。払出ラインシステム101は、ユーザの仕様により種々の機器構成が考えられるが、例えば、図4では、供給リフタ103、ボトル払出機105、返品薬払出装置2、ランダム払出機107、特殊払出機109、冷所払出機111、袋詰機113、プリンタユニット115、排出リフタ(リライト付き)117、及び積上リフタ119等により構成されている。
1.2. Configuration of the payout line system The figure shown in the upper part of FIG. 4 is an overall configuration diagram of the payout line system 101 including the returned drug payout device 2 of the present embodiment. A tray for paying out and collecting the returned medicine passes through the payout line system 101. The payout line system 101 may have various device configurations depending on the user's specifications. For example, in FIG. 4, the supply lifter 103, the bottle payout machine 105, the returned medicine payout device 2, the random payout machine 107, and the special payout machine 109. It is composed of a cold place dispenser 111, a bagging machine 113, a printer unit 115, a discharge lifter (with rewrite) 117, a stacking lifter 119, and the like.

供給リフタ103は、払出ラインシステム101を左から右へ流れるトレイを充填する装置である。ボトル払出機105は、輸液バック(生理食塩水)を払い出す装置である。ランダム払出機107は、アンプルを払出す装置である。特殊払出機109は、特殊形状のアンプル(5連アンプルなど)を払出す装置である。冷所払出機111は、冷所保管が必要なアンプル専用の払出装置である。袋詰機113は、この袋詰機113に至るまでに払出された薬品を袋(薬袋)に充填する装置である。プリンタユニット115は、注射箋(処方に基づく、トレイ内に払出された薬品のリスト)や(薬袋や薬自体に添付される)投与対象患者情報を付したラベルをプリントする装置である。ランダム払出機107や特殊払出機109は、新品のアンプル(即ち、非返品薬剤)を払い出す。なお、払出ラインシステム101におけるランダム払出機107や特殊払出機109は、どのような払出機でも構成され得る。 The supply lifter 103 is a device for filling a tray that flows from left to right in the payout line system 101. The bottle dispenser 105 is a device that dispenses an infusion bag (physiological saline solution). The random dispenser 107 is a device that dispenses ampoules. The special dispenser 109 is a device that dispenses an ampoule having a special shape (such as a 5-unit ampoule). The cold place dispenser 111 is an ampoule-dedicated payout device that needs to be stored in a cold place. The bagging machine 113 is a device for filling a bag (medicine bag) with the chemicals discharged up to the bagging machine 113. The printer unit 115 is a device that prints a label with an injection slip (a list of medicines dispensed in a tray based on a prescription) and information on a patient to be administered (attached to a medicine bag or the medicine itself). The random dispenser 107 and the special dispenser 109 dispense new ampoules (ie, non-returned agents). The random payout machine 107 and the special payout machine 109 in the payout line system 101 can be configured as any payout machine.

払出ラインシステム101は、図4に示すものと異なるように構成されてもよく、例えば、返品薬払出装置2を2台以上、含んでもよい。また、払出ラインシステム101は、カセット式注射薬払出機を含み得る。カセット式注射薬払出機には通常、特定の薬品をその薬品専用のカセットに整列して収容する方式と、特定の薬品をその薬品専用のカセットにランダムに収容する方式とがある。前述のランダム払出機107は、特定の薬品をその薬品専用のカセットにランダムに収容する方式のものである。 The payout line system 101 may be configured differently from that shown in FIG. 4, and may include, for example, two or more returned drug payout devices 2. The payout line system 101 may also include a cassette type injectable drug dispenser. The cassette-type injection dispenser usually has a method of arranging and storing a specific drug in a cassette dedicated to the drug, and a method of randomly storing a specific drug in the cassette dedicated to the drug. The above-mentioned random dispenser 107 is of a method of randomly accommodating a specific drug in a cassette dedicated to the drug.

前記カセット式注射薬払出機は、カセットに詰められたアンプルをそのカセットから払出す装置である。薬剤を格納するカセットは、カセット式注射薬払出機内に差し込まれて保持される。カセットは、カセット式注射薬払出機の縦(鉛直)方向及び水平方向に多数配置される。カセットの内部には、個々のカセットに対応する薬剤が格納される。カセット式注射薬払出機は、薬剤返戻制御装置6や指示端末4から特定の薬剤を払い出す信号を受信すると、その特定の薬剤を格納するカセットからその特定の薬剤を払い出す。 The cassette-type injection dispensing machine is a device that dispenses an ampoule packed in a cassette from the cassette. The cassette for storing the medicine is inserted and held in the cassette type injection medicine dispenser. A large number of cassettes are arranged in the vertical (vertical) direction and the horizontal direction of the cassette type injection dispenser. Inside the cassette, the medicine corresponding to each cassette is stored. When the cassette-type injection drug dispenser receives a signal to dispense a specific drug from the drug return control device 6 or the instruction terminal 4, the cassette-type injection drug dispenser dispenses the specific drug from the cassette storing the specific drug.

なお、上述のカセット式注射薬払出機に仮想上対応する仮想カセット(の概念)が構築されていることがある。後で説明する、返品薬払出装置2の格納部15は、現実のカセットにより構築されるものでは無いが、仮想上若しくは論理上、カセットの概念に従って薬剤を格納することができる。 In addition, a virtual cassette (concept) that virtually corresponds to the above-mentioned cassette type injection drug dispenser may be constructed. The storage unit 15 of the returned medicine dispensing device 2, which will be described later, is not constructed by an actual cassette, but can virtually or logically store the medicine according to the concept of the cassette.

前述の薬品マスタは、薬品(薬品コード)毎に、在庫上限、在庫定数、及び、在庫下限のデータを備えることができる。返品薬払出装置2の格納部15において、個々の薬剤(薬品)は様々な格納位置(格納アドレス)に格納されるが、薬品毎に纏めると、同じ薬品は仮想上、格納部15の備える全体格納領域内に或る領域を備えることになる。この同じ薬品毎の領域を、(個数上の)在庫上限、在庫定数、及び、在庫下限により制約を加えて管理するのが、仮想カセットの考え方である。 The above-mentioned drug master can include data of an inventory upper limit, an inventory constant, and an inventory lower limit for each drug (drug code). In the storage unit 15 of the returned drug dispensing device 2, individual drugs (drugs) are stored in various storage positions (storage addresses), but when grouped by drug, the same drug is virtually the whole provided by the storage unit 15. A certain area will be provided in the storage area. The idea of the virtual cassette is to manage the area for each of the same chemicals with restrictions imposed by the inventory upper limit (in terms of quantity), the inventory constant, and the inventory lower limit.

ここで、「在庫定数」は、その薬品しか置けない仮想上の割り付け領域に対応する個数である。この「在庫定数」は仮想カセットの概念における基本的数値である。「在庫定数」は「最大実装量」と言うことがある。次に、「在庫上限」は、その薬品が格納部15内にて仮想上占有して構わない個数の上限値である。ただし、仮想上その上限値により占有され得る領域には、他の薬品が入り込む可能性がある。更に、「在庫下限」は、薬品残量が僅かであることを外部に通知するための境界値である。「在庫下限」は「充填基準量」と言うことがある。 Here, the "inventory constant" is the number corresponding to the virtual allocation area where only the chemical can be placed. This "inventory constant" is a basic numerical value in the concept of a virtual cassette. The "inventory constant" is sometimes referred to as the "maximum mounting amount". Next, the "inventory upper limit" is an upper limit value of the number of chemicals that may be virtually occupied in the storage unit 15. However, there is a possibility that other chemicals may enter the area that can be virtually occupied by the upper limit. Further, the "stock lower limit" is a boundary value for notifying the outside that the remaining amount of chemicals is small. The "lower limit of inventory" is sometimes referred to as the "filling standard amount".

薬品マスタにおける薬品(薬品コード)毎のレコードおいては、在庫上限、在庫定数、及び、在庫下限の全てが設定されてもよいし、いずれも設定されなくてもよい。以上のように、仮想カセットの考え方に従って返品薬払出装置2の格納部15に格納される薬品、及び、カセット式注射薬払出機のカセットに格納される薬品を、以下、「カセット薬品」と称することがある。 In the record for each drug (drug code) in the drug master, all of the inventory upper limit, the inventory constant, and the inventory lower limit may or may not be set. As described above, the medicines stored in the storage unit 15 of the returned medicine dispensing device 2 and the medicines stored in the cassette of the cassette type injection medicine dispensing machine according to the concept of the virtual cassette are hereinafter referred to as "cassette medicines". Sometimes.

1.3.返品薬払出装置の構成
図4下部に示す図は、実施の形態1に係る返品薬管理システムにおける返品薬払出装置2の概略のブロック図である。返品薬払出装置2は、未使用の(アンプルやバイアルなどの)返品薬剤を格納する返却動作、格納された返品薬剤を払い出す払出動作、及び、格納された返品薬剤を回収する回収動作を行うことができる。返品薬払出装置2は、受入部12、認識部14、格納部15、及び払出部16を含む。
1.3. Configuration of Returned Drug Dispensing Device The figure shown at the bottom of FIG. 4 is a schematic block diagram of the returned drug dispensing device 2 in the returned drug management system according to the first embodiment. The returned drug payout device 2 performs a return operation for storing unused (ampoules, vials, etc.) returned drugs, a payout operation for discharging the stored returned drugs, and a collection operation for collecting the stored returned drugs. be able to. The returned medicine dispensing device 2 includes a receiving unit 12, a recognition unit 14, a storage unit 15, and a dispensing unit 16.

受入部12は、例えば、7個の返却トレイ(図20参照)を受け入れられるように構成されている。返却トレイは、例えば、病院の個々の病棟において使用されなかったアンプルやバイアルなどの返品薬剤を先ず収容するトレイである。認識部14は、薬剤仕分装置内に収容された薬剤を認識する。即ち、認識部14は、個々の返却トレイに乗せられた返品薬剤の向き、姿勢、形状、径及び全長、並びに、薬品コード及び有効期限などのデータを画像処理により認識する。認識部14により認識された返品薬剤は、格納部15に格納される。 The receiving unit 12 is configured to accept, for example, seven return trays (see FIG. 20). The return tray is, for example, a tray that first stores returned drugs such as ampoules and vials that have not been used in the individual wards of the hospital. The recognition unit 14 recognizes the medicine contained in the medicine sorting device. That is, the recognition unit 14 recognizes data such as the orientation, posture, shape, diameter and total length of the returned drug placed on each return tray, as well as the drug code and the expiration date by image processing. The returned drug recognized by the recognition unit 14 is stored in the storage unit 15.

アンプルやバイアルなどの返品薬剤は、返品薬払出装置2に含まれる第1のロボットの備える第1の吸着ノズル及び第1の吸着パッドに吸着されつつ、第1のロボットによって返却トレイから認識部14まで移送される。更に、それらの返品薬剤は、返品薬払出装置2に含まれる第2のロボットの備える第2の吸着ノズル及び第2の吸着パッドに吸着されつつ、第2のロボットによって認識部14から格納部15まで移送される。第1の吸着ノズル及び第2の吸着ノズルは、真空源から供給される真空により返品薬剤を解放可能に吸着するのであり、先端に夫々ゴム製の第1の吸着パッド及び第2の吸着パッドが取り付けられている。 The returned drug such as an ampoule or a vial is adsorbed by the first suction nozzle and the first suction pad included in the first robot included in the returned drug dispensing device 2, and is adsorbed by the first robot from the return tray to the recognition unit 14. Will be transferred to. Further, the returned medicines are sucked by the second suction nozzle and the second suction pad included in the second robot included in the returned medicine dispensing device 2, and are sucked by the second robot from the recognition unit 14 to the storage unit 15. Will be transferred to. The first suction nozzle and the second suction nozzle are capable of releasably sucking the returned chemicals by the vacuum supplied from the vacuum source, and the first suction pad and the second suction pad made of rubber are respectively attached to the tips thereof. It is attached.

払出部16は、薬剤返戻制御装置6からの処方指示に従って、格納部15に格納された薬剤を、払出ラインシステム101内部を通過するトレイに払い出す。また、払出部16は、格納部15に格納された薬剤を、指示端末4から入力され薬剤返戻制御装置6により生成される回収指示(ダミー処方指示)に従って、払出ラインシステム101内部を通過するトレイへ回収する。 The dispensing unit 16 dispenses the drug stored in the storage unit 15 to a tray passing through the inside of the dispensing line system 101 according to a prescription instruction from the drug return control device 6. Further, the payout unit 16 passes the medicine stored in the storage unit 15 inside the payout line system 101 according to a collection instruction (dummy prescription instruction) input from the instruction terminal 4 and generated by the medicine return control device 6. Collect to.

2.動作
2.1.返品薬払出装置の返却動作
返品薬払出装置2は、返品薬剤が乗せられた返却トレイを受入部12にて受け入れ、それら返品薬剤を認識部14により認識し、その認識に従い返品薬剤を格納部15に仕分けして格納することで、返品薬剤の返却動作を行う。なお、返品薬管理システムの利用者は返却動作の開始指示を返品薬払出装置2、又は指示端末4のいずれにおいても行うことができるように、返品薬管理システムは構成されている。
2. 2. Operation 2.1. Return operation of the returned drug payout device The returned drug payout device 2 receives the return tray on which the returned drug is placed at the receiving unit 12, recognizes the returned drug by the recognition unit 14, and stores the returned drug according to the recognition. By sorting and storing the returned medicines, the returned medicines are returned. The returned drug management system is configured so that the user of the returned drug management system can give an instruction to start the return operation on either the returned drug payout device 2 or the instruction terminal 4.

返品薬払出装置2の受入部12は、アンプルやバイアルなどの返品薬剤が乗せられた、例えば、7個の返却トレイを受け入れる。これら7個の返却トレイの各々は、図20に示すように、受入部12内で積層して一時的に格納される。 The receiving unit 12 of the returned medicine dispensing device 2 receives, for example, seven return trays on which the returned medicine such as an ampoule or a vial is placed. As shown in FIG. 20, each of these seven return trays is stacked and temporarily stored in the receiving unit 12.

積層して一時的に格納される7個の返却トレイのうち、最も下部の返却トレイを、NG(No Good)トレイとして機能させることもできる。すなわち、返品薬払出装置2は、返品薬剤として格納部15にそもそも入れる必要が無いと判断されるものを「NG」とし、このNGトレイに移す、という動作をすることもできる。NGトレイに移される対象として、例えば、以下の3種類が挙げられる。
[1]薬品形状が一般的なアンプルやバイアルの形状でないもの
[2]後述の「返却許可設定」画面にて「返却不可薬品」として設定したもの
[3]薬剤返戻制御装置6に接続するデータベースに含まれる薬品マスタに登録されていない薬品であるもの
個々の返品薬剤がこれら[1]~[3]に該当するか否かは、認識部14及び指示端末4の制御部が判定する。特に[2]や[3]に該当するか否かの判定の際には、薬剤返戻制御装置6に接続するデータベースが参照される([2]については後でも説明する。)。なお、最も下部の返却トレイ以外の返却トレイが、NGトレイとして機能してもよい。このとき、最も下部の返却トレイは非NGトレイとして機能してもよい。
Of the seven return trays that are stacked and temporarily stored, the lowest return tray can be made to function as an NG (No Good) tray. That is, the returned drug payout device 2 can also perform an operation of setting "NG" as a returned drug that is determined not to be necessary to be put in the storage unit 15 in the first place and transferring the returned drug to this NG tray. Examples of the target to be transferred to the NG tray include the following three types.
[1] The shape of the medicine is not the shape of a general ampoule or vial [2] The shape of the medicine is set as "non-returnable medicine" on the "Return permission setting" screen described later [3] Database connected to the medicine return control device 6 Drugs that are not registered in the drug master included in the above, and whether or not each returned drug falls under these [1] to [3] is determined by the control unit of the recognition unit 14 and the instruction terminal 4. In particular, when determining whether or not it corresponds to [2] or [3], the database connected to the drug return control device 6 is referred to ([2] will be described later). A return tray other than the lowermost return tray may function as an NG tray. At this time, the lowermost return tray may function as a non-NG tray.

個々の返却トレイ(NGトレイは除く)に乗せられた返品薬剤は、認識部14において、画像処理により認識される。その際、薬品コードを含むバーコードや、有効期限などのデータが取得される。 The returned medicines placed on the individual return trays (excluding the NG tray) are recognized by the recognition unit 14 by image processing. At that time, data such as a barcode including a drug code and an expiration date are acquired.

なお、返却される個々の薬品には「薬品識別コード」が割り振られる。この「薬品識別コード」は、例えば、「返却トレイの返品薬払出装置への返却日時」+「連番」で構成される、一意的識別コードである。 A "drug identification code" is assigned to each drug returned. This "drug identification code" is, for example, a unique identification code composed of "date and time of return of the return tray to the returned drug dispensing device" + "serial number".

返品薬払出装置2は、認識されたデータを薬剤返戻制御装置6及び指示端末4に送信する。送信されたデータに基づいて、薬剤返戻制御装置6は、返品薬払出装置在庫用テーブル7a(図2(A)参照)と返品薬払出装置払出用テーブル7b(図2(B)参照)にレコードを作成し、指示端末4は、ローカルデータベース3内の返品薬在庫テーブル9(図3参照)にレコードを作成する。 The returned drug payout device 2 transmits the recognized data to the drug return control device 6 and the instruction terminal 4. Based on the transmitted data, the drug return control device 6 records in the returned drug payout device inventory table 7a (see FIG. 2A) and the returned drug payout device payout table 7b (see FIG. 2B). Is created, and the instruction terminal 4 creates a record in the returned drug inventory table 9 (see FIG. 3) in the local database 3.

認識部14により認識された返品薬剤は、格納部15に仕分けされて格納される。格納部15には、鉛直方向に複数の棚が設けられており、各棚には複数の列が設けられている。更に、各列は複数の横(方向の)位置を備える。つまり、格納部15では、(棚、列、横位置)により、薬剤の格納位置(格納アドレス)が一意的に決定される。この(棚、列、横位置)の情報は、「充填棚番号」、「充填列番号」及び「充填横位置」のフィールドとして、ローカルデータベース3である、図3に示す返品薬在庫テーブル9のレコード内に記録される。 The returned drug recognized by the recognition unit 14 is sorted and stored in the storage unit 15. The storage unit 15 is provided with a plurality of shelves in the vertical direction, and each shelf is provided with a plurality of rows. In addition, each row has multiple lateral (directional) positions. That is, in the storage unit 15, the storage position (storage address) of the drug is uniquely determined by (shelf, row, horizontal position). This (shelf, column, horizontal position) information is the returned drug inventory table 9 shown in FIG. 3, which is the local database 3 as the fields of "filling shelf number", "filling column number", and "filling horizontal position". Recorded in the record.

2.2.返品薬払出装置の払出動作
前述のように、返品薬払出装置2の払出部16は、薬剤返戻制御装置6からの処方指示に従って、格納部15に格納された薬剤を、払出ラインシステム101内部を通過するトレイに払い出す。
2.2. Dispensing operation of the returned drug dispensing device As described above, the dispensing unit 16 of the returned drug dispensing device 2 dispenses the drug stored in the storage unit 15 inside the dispensing line system 101 according to the prescription instruction from the drug return control device 6. Pay out to the passing tray.

薬剤返戻制御装置6は、外部システム(例えば、病院総合システム)から処方データを受け付け、返品薬払出装置払出用テーブル7b(図2(B)参照)を参照して、対象の薬品コードを含むレコードが存在する場合優先的にその薬剤を払い出すよう「割り付け処理」を行う。割り付け処理後、薬剤返戻制御装置6は、返品薬払出装置2に対して、薬品コードや払出本数などを含む払出指示データを送る。その他の、返品薬払出装置2に存在しない薬品については、薬剤返戻制御装置6は、払出ラインシステム101上のランダム払出機107や冷所払出機111から払出を行うようにランダム払出機107や冷所払出機111に払出指示データを送る。 The drug return control device 6 receives prescription data from an external system (for example, a hospital integrated system), refers to the returned drug payout device payout table 7b (see FIG. 2B), and records the target drug code. If there is, "allocation processing" is performed so that the drug is preferentially dispensed. After the allocation process, the drug return control device 6 sends the withdrawal instruction data including the drug code and the number of withdrawals to the returned drug withdrawal device 2. For other drugs that do not exist in the returned drug payout device 2, the drug return control device 6 is such that the random payout machine 107 or the cold place payout machine 111 on the payout line system 101 pays out the medicine or the cold. The payout instruction data is sent to the payout machine 111.

送られた払出指示データ(薬品コード、本数)を基にして、返品薬払出装置2、更に返品薬管理システムは、ローカルデータベース3の返品薬在庫テーブル9(図3参照)の各レコードにおける、薬品コードを検索して、抽出する薬剤を再決定(再抽出)する。このとき返品薬在庫テーブル9の各レコードの「有効期限」の項目が参照される。これは、後で説明するように、有効期限不明である返品薬及び有効期限の近い返品薬が優先して払い出しされることがあるためである。なお、薬剤返戻制御装置6の割り付け処理後、他の処方指示のキャンセル等が発生する可能性があるため、返品薬払出装置2は再決定(再抽出)を行う。具体的な抽出(払出)作業の際には、「充填棚番号、充填列番号、充填横位置」のフィールドのデータが利用される。 Based on the sent withdrawal instruction data (drug code, number of medicines), the returned medicine dispensing device 2 and the returned medicine management system are the medicines in each record of the returned medicine inventory table 9 (see FIG. 3) of the local database 3. Search the code to redetermine (re-extract) the drug to be extracted. At this time, the item of "expiration date" of each record of the returned drug inventory table 9 is referred to. This is because, as will be described later, returned medicines with an unknown expiration date and returned medicines with a near expiration date may be preferentially paid out. Since there is a possibility that other prescription instructions may be canceled after the allocation process of the drug return control device 6, the returned drug payout device 2 redetermines (re-extracts). In the specific extraction (delivery) work, the data in the fields of "filling shelf number, filling row number, filling horizontal position" is used.

ある薬品について、払出の本数よりも格納部15での在庫の本数の方が多い場合、薬剤返戻制御装置6及び返品薬払出装置2は、次のようにして払出の優先順位を決定する。まず、返品薬払出装置在庫用テーブル7aや返品薬在庫テーブル9の「有効期限」が不明である(即ち、「有効期限」に関するデータが空白である)場合、それが優先される。次に、返品薬払出装置在庫用テーブル7aや返品薬在庫テーブル9の「有効期限」が近いものが、「有効期限」の遠いものよりも優先される。返品薬払出装置2が払出ラインシステム101に複数のユニットで組み込まれている場合に、複数の返品薬払出装置2間で有効期限が同じ返品薬剤が存在する、ということも想定される。この場合には、複数の返品薬払出装置2間で(即ち、ユニット間で)、優先順位が決定されていればよい。なお、後でも説明するように、「有効期限」が不明である薬剤が払出の対象とならないことがある。その場合には上述のように「有効期限」の内容による優先度やユニット間での優先度に従って、払出の優先度が決定されればよい。 When the number of medicines in stock in the storage unit 15 is larger than the number of medicines to be paid out, the medicine return control device 6 and the returned medicine withdrawal device 2 determine the priority of withdrawal as follows. First, if the "expiration date" of the returned drug dispensing device inventory table 7a or the returned drug inventory table 9 is unknown (that is, the data regarding the "expiration date" is blank), that is given priority. Next, those having a close "expiration date" in the returned drug payout device inventory table 7a and the returned drug inventory table 9 have priority over those having a distant "expiration date". When the returned drug payout device 2 is incorporated in the payout line system 101 by a plurality of units, it is also assumed that there are returned drugs having the same expiration date among the plurality of returned drug payout devices 2. In this case, the priority may be determined among the plurality of returned drug dispensing devices 2 (that is, between the units). As will be described later, drugs for which the "expiration date" is unknown may not be subject to withdrawal. In that case, as described above, the priority of payout may be determined according to the priority according to the content of the "expiration date" and the priority between units.

図5(1)は、払出時における、処理の流れを示す図である。図5(1)における締めモニタ86は薬剤返戻制御装置6の機能である。締めモニタ86は、外部システムにより更新される処方データ85を監視する。締めモニタ86は、更新された処方データ85に基づいて、返品薬払出装置払出用テーブル7bのレコードに対して割り付け処理を行う。これにより、薬剤返戻制御装置6は払出指示データ87を生成し、生成された払出指示データ87を受けて、返品薬払出装置2、ランダム払出機107及び冷所払出機111等はアンプルピッキング処理(払出)91を実施し、払出ラインシステム101は集計表89を作成する。 FIG. 5 (1) is a diagram showing a processing flow at the time of payout. The tightening monitor 86 in FIG. 5 (1) is a function of the drug return control device 6. The tightening monitor 86 monitors the prescription data 85 updated by the external system. The closing monitor 86 performs an allocation process on the record of the return drug payout device payout table 7b based on the updated prescription data 85. As a result, the drug return control device 6 generates the payout instruction data 87, and in response to the generated payout instruction data 87, the returned drug payout device 2, the random payout machine 107, the cold place payout machine 111, and the like perform ampoule picking processing ( The payout) 91 is carried out, and the payout line system 101 creates a summary table 89.

図6は、図5(1)に示す、返品薬払出装置2及び返品薬管理システムの払出処理の具体的なフローチャートである。先ず、薬剤返戻制御装置6は、外部システムからの処方データ85を纏めて定期的に処理する(締め処理)(ST41)。薬剤返戻制御装置6は、返品薬払出装置払出用テーブル7bに対象の薬品のレコードが有るか否かチェックし(ST42)、有ればその薬品のレコードに対して割付処理を行う(ST43)。無ければ、薬剤返戻制御装置6は、処方データ85を、返品薬払出装置2以外の払出機(例えば、ランダム払出機107や冷所払出機111)に送信する。なお、締め処理(ST41)は、割付処理(ST43)の直後に行われるように構成されていてもよい。 FIG. 6 is a specific flowchart of the withdrawal process of the returned medicine withdrawal device 2 and the returned medicine management system shown in FIG. 5 (1). First, the drug return control device 6 periodically processes the prescription data 85 from the external system together (tightening process) (ST41). The drug return control device 6 checks whether or not there is a record of the target drug in the returned drug payout device payout table 7b (ST42), and if so, performs an allocation process on the record of the drug (ST43). If not, the drug return control device 6 transmits the prescription data 85 to a payout machine other than the returned medicine payout device 2 (for example, a random payout machine 107 or a cold place payout machine 111). The tightening process (ST41) may be configured to be performed immediately after the allocation process (ST43).

薬剤返戻制御装置6が、返品薬払出装置払出用テーブル7bに対象の薬品のレコードが有ることを確認して(ST42・YES)その薬品のレコードに対して割付処理を行ったら(ST43)、返品薬払出装置2に払出指示データ87を送る(ST44)。一方、返品薬払出装置2は、ローカルデータベース3の返品薬在庫テーブル9から該当薬品コードのレコードを再決定(再抽出)する。このとき、前述のように返品薬在庫テーブル9の各レコードの「有効期限」の項目が参照される(ST45)。決定(抽出)されたデータにより薬剤の「充填棚、充填列、充填横位置」を認識して、返品薬払出装置2は払出を行う(ST46)。 When the drug return control device 6 confirms that the record of the target drug exists in the returned drug payout device payout table 7b (ST42 / YES) and performs the allocation process for the drug record (ST43), the product is returned. The payout instruction data 87 is sent to the drug payout device 2 (ST44). On the other hand, the returned drug dispensing device 2 redetermines (re-extracts) the record of the corresponding drug code from the returned drug inventory table 9 of the local database 3. At this time, as described above, the item of "expiration date" of each record of the returned drug inventory table 9 is referred to (ST45). The returned drug payout device 2 pays out the drug by recognizing the "filling shelf, filling row, filling horizontal position" of the drug from the determined (extracted) data (ST46).

返品薬払出装置2の払出を受けて、薬剤返戻制御装置6は、返品薬払出装置払出用テーブルの当該レコードの「払出完了日時(払出完了日付、払出完了時間)」を更新する(ST47)。返品薬管理システムは、返品薬在庫テーブル9の当該レコードの「払出完了日時(払出完了日付、払出完了時間)」を更新する(ST48)。このとき同時に、返品薬管理システムは、返品薬在庫テーブル9の当該レコードの「払出理由」のフィールドを、「払出」を示すデータに設定する。なお、返品薬払出装置2の払出を受けて、返品薬管理システムは、格納情報記憶部において、薬剤が払出により存在しなくなった位置についてはマスクを外す。よって、格納情報記憶部にて該位置は、配置(充填)可能領域となる。 Upon receiving the withdrawal of the returned drug withdrawal device 2, the drug return control device 6 updates the "payout completion date and time (payout completion date, withdrawal completion time)" of the record in the returned drug withdrawal device withdrawal table (ST47). The returned drug management system updates the "payout completion date (payout completion date, payout completion time)" of the relevant record in the returned drug inventory table 9 (ST48). At the same time, the returned drug management system sets the field of "reason for withdrawal" of the record in the returned drug inventory table 9 to the data indicating "withdrawal". In response to the withdrawal of the returned drug withdrawal device 2, the returned drug management system removes the mask from the stored information storage unit at the position where the drug no longer exists due to the withdrawal. Therefore, in the stored information storage unit, the position becomes an arrangement (filling) possible area.

2.3.返品薬管理システムの動作
返品薬管理システムの動作について説明する。図7(a)は、実施の形態1に係る返品薬管理システムにおける返品薬管理システムのメイン画面図である。メイン画面を含む返品薬管理システムの操作画面は、指示端末4が表示し動作させる。ユーザは、このメイン画面上で様々な処理(機能)を選択することができる。返品薬管理システムは、ユーザの選択に従った処理を実行する。返品薬管理システムが実行し得る、主たる処理(機能)の例として以下のものが挙げられる。
[1]薬品回収処理
[2]有効期限登録処理
[3]返却許可設定処理
[4]病棟登録処理
[5]各種表示処理
以下、それぞれの処理について、返品薬管理システムの動作を説明する。
2.3. Operation of Returned Drug Management System This section describes the operation of the Returned Drug Management System. FIG. 7A is a main screen view of the returned drug management system in the returned drug management system according to the first embodiment. The operation screen of the returned drug management system including the main screen is displayed and operated by the instruction terminal 4. The user can select various processes (functions) on this main screen. The returned drug management system performs processing according to the user's choice. The following are examples of the main processes (functions) that the returned drug management system can perform.
[1] Drug recovery process [2] Expiration date registration process [3] Return permission setting process [4] Ward registration process [5] Various display processes The operation of the returned drug management system will be described below for each process.

2.3.1.薬品回収処理
2.3.1.1.薬品回収画面によるもの
薬品回収処理は、(a)薬品回収処理条件の設定、(b)回収対象薬品の抽出、及び、(c)回収実行の順序で行われる。
2.3.1. Chemical recovery processing 2.3.1.1. Using the chemical recovery screen The chemical recovery process is performed in the order of (a) setting the chemical recovery processing conditions, (b) extracting the chemicals to be recovered, and (c) executing the recovery.

図7(a)に示すメイン画面において、薬品回収ボタン30がタッチ(若しくは、クリック)されると、図8に示す薬品回収画面に移行する。薬品回収画面は、その左部において、回収の抽出条件設定部56を含む。抽出条件設定部56にて、ユーザにより詳細条件が入力され、若しくは、詳細条件に関するチェックボックスがチェックされ((a)薬品回収処理条件の設定)、抽出実行ボタンがクリックされると、指示端末4は、画面の右上部に抽出条件に適合する薬品(のデータ)を表示する。 When the drug recovery button 30 is touched (or clicked) on the main screen shown in FIG. 7 (a), the screen shifts to the drug recovery screen shown in FIG. The chemical recovery screen includes a recovery extraction condition setting unit 56 on the left side thereof. In the extraction condition setting unit 56, when the detailed condition is input by the user, the check box for the detailed condition is checked ((a) setting of the drug recovery processing condition), and the extraction execution button is clicked, the instruction terminal 4 Displays (data) of chemicals that meet the extraction conditions in the upper right corner of the screen.

データの抽出及び抽出データの表示は、返品薬払出装置在庫用テーブル7a(若しくはローカルデータベース3の返品薬在庫テーブル9)の各レコード、及び、薬剤返戻制御装置6に接続するデータベース5に含まれる薬品マスタに基づいて行われる。図9を用いて、薬品回収処理の対象データを抽出するための処理を具体的に説明する。 The extraction of data and the display of the extracted data are performed by each record of the returned drug dispensing device inventory table 7a (or the returned drug inventory table 9 of the local database 3) and the drug contained in the database 5 connected to the drug return control device 6. It is based on the master. The process for extracting the target data of the drug recovery process will be specifically described with reference to FIG. 9.

指示端末4の制御部は、返品薬払出装置在庫用テーブル7aの各レコードを読み出す(ST02、ST03)。次に、指示端末4の制御部は、抽出条件が、薬品マスタに格納されるデータに関するものか、又は、返品薬払出装置在庫用テーブル7a(若しくは返品薬在庫テーブル9)(の各レコード)に格納されるデータに関するものか、を判断する(ST04)。 The control unit of the instruction terminal 4 reads out each record of the returned drug dispensing device inventory table 7a (ST02, ST03). Next, the control unit of the instruction terminal 4 determines whether the extraction condition is related to the data stored in the drug master, or is set in the returned drug dispensing device inventory table 7a (or returned drug inventory table 9) (each record). It is determined whether it is related to the stored data (ST04).

薬品回収画面で設定された抽出条件が薬品マスタに格納されるデータに関するものである場合、指示端末4の制御部は、返品薬払出装置在庫用テーブル7aの各レコードに含まれる薬品コードをキー項目として薬品マスタを検索する(ST05)。指示端末4の制御部は、検索された薬品マスタの各レコードにおけるフィールドデータ(例えば、薬種フラグなど)の内容が抽出条件に適合すれば、返品薬払出装置在庫用テーブル7aからの抽出・表示を行う(ST06、ST07、ST08、ST09)。 When the extraction condition set on the drug collection screen is related to the data stored in the drug master, the control unit of the instruction terminal 4 uses the drug code included in each record of the returned drug dispensing device inventory table 7a as a key item. Search for the drug master as (ST05). If the content of the field data (for example, the drug type flag) in each record of the searched drug master matches the extraction conditions, the control unit of the instruction terminal 4 extracts and displays the returned drug from the returned drug dispensing device inventory table 7a. (ST06, ST07, ST08, ST09).

例えば、図8の薬品回収画面における抽出条件として「向精神薬」が選択されており、返品薬払出装置在庫用テーブル7aの或るレコードに含まれる薬品コードをキー項目として検索した薬品マスタのレコードの「薬種フラグ」に「1」が設定されているのであれば、指示端末4の制御部は、検索された薬品マスタのレコードにおけるフィールドデータの内容が抽出条件に適合したとして、返品薬払出装置在庫用テーブル7aの当該レコードの抽出表示を行う。 For example, the record of the drug master in which "psychotropic drug" is selected as the extraction condition on the drug recovery screen of FIG. 8 and the drug code included in a certain record of the returned drug dispensing device inventory table 7a is searched as a key item. If "1" is set in the "drug type flag" of the above, the control unit of the instruction terminal 4 considers that the content of the field data in the record of the searched drug master matches the extraction condition, and determines that the returned drug dispenser device. The record of the inventory table 7a is extracted and displayed.

一方、薬品回収画面で設定された抽出条件が返品薬払出装置在庫用テーブル7a(若しくは返品薬在庫テーブル9)(の各レコード)に格納されるデータに関するものである場合(例えば、抽出条件が「長期滞留」「有効期限切れ」「有効期限間近」等である場合)、返品薬払出装置在庫用テーブル7a(若しくは返品薬在庫テーブル9)のフィールド(例えば、「有効期限」や「作成日付」などのフィールド)に基づいて抽出・表示が行われる(ST10、ST11、ST12、ST13)((b)回収対象薬品の抽出)。以上の処理を返品薬払出装置在庫用テーブルの全レコードについて行う(ST03、ST14)。 On the other hand, when the extraction condition set on the drug collection screen is related to the data stored in the returned drug dispensing device inventory table 7a (or the returned drug inventory table 9) (each record) (for example, the extraction condition is ". Fields (for example, "expiration date", "creation date", etc.) of the returned drug dispensing device inventory table 7a (or returned drug inventory table 9), such as "long-term retention", "expiration date", "expiration date approaching", etc.) Extraction / display is performed based on the field) (ST10, ST11, ST12, ST13) ((b) Extraction of the drug to be collected). The above processing is performed for all the records in the returned drug payout device inventory table (ST03, ST14).

図10は、抽出条件が「有効期限間近」であるときの、図9のステップST10における具体的処理を、主として示すフローチャートである。つまり、図10に示すフローチャートは、ローカルデータベース3の返品薬在庫テーブル9の各レコードが、そのレコードにおける「有効期限」項目のデータに基づいて、「有効期限間近」という回収抽出条件に当てはまるか、をチェックする処理を行っている。なお、このフローチャートでは、返品薬払出装置在庫用テーブル7aと、ローカルデータベース3の返品薬在庫テーブル9とは、同期するものとして両データファイルを扱っている。 FIG. 10 is a flowchart mainly showing the specific processing in step ST10 of FIG. 9 when the extraction condition is “close to the expiration date”. That is, in the flowchart shown in FIG. 10, does each record in the returned drug inventory table 9 of the local database 3 meet the collection / extraction condition of "close to expiration date" based on the data of the "expiration date" item in the record? Is being processed to check. In this flowchart, both the data files are treated as being synchronized between the returned medicine dispensing device inventory table 7a and the returned medicine inventory table 9 of the local database 3.

まず、「有効期限間近日数」データが設定され格納される(ST22)。有効期限間近日数」データの設定は、例えば、図7(a)のメイン画面の各種設定ボタンに係る機能の一つにより設定されてもよい。設定されたデータは、例えば、薬剤返戻制御装置6と接続する返品薬払出装置共有設定テーブルに格納されてもよい。次に、ユーザにより、図8に示す薬品回収画面における、回収の抽出条件設定部56の「有効期限間近」のチェックボックスが、選択される。 First, the "expiration date coming soon" data is set and stored (ST22). The setting of the "expiration date approaching days" data may be set by, for example, one of the functions related to the various setting buttons on the main screen of FIG. 7 (a). The set data may be stored in, for example, a returned drug dispensing device shared setting table connected to the drug return control device 6. Next, the user selects the "close to expiration date" check box of the extraction condition setting unit 56 for collection on the drug collection screen shown in FIG.

「有効期限間近」のチェックボックスが選択されると、指示端末4の制御部は、返品薬在庫テーブル9の各レコードを順に読み出す(ST24)。返品薬在庫テーブル9のレコード中の「有効期限」のデータ、及び、返品薬払出装置共有設定テーブルに格納される「有効期限間近日数」データを用いて、指示端末4の制御部は、有効期限間近であるか否かの計算(判定)をする(ST26)。有効期限が間近であると計算(判定)すれば、指示端末4の制御部は、抽出・表示を行う(ST27、ST28)。以上の処理をローカルデータベース3の返品薬在庫テーブル9の全レコードについて行う(ST25、ST29)。 When the "Expiration date is approaching" check box is selected, the control unit of the instruction terminal 4 reads out each record of the returned drug inventory table 9 in order (ST24). Using the "expiration date" data in the record of the returned drug inventory table 9 and the "expiration date approaching days" data stored in the returned drug dispensing device shared setting table, the control unit of the instruction terminal 4 has an expiration date. Calculation (determination) of whether or not it is imminent is performed (ST26). If it is calculated (determined) that the expiration date is approaching, the control unit of the instruction terminal 4 extracts and displays (ST27, ST28). The above processing is performed for all the records in the returned drug inventory table 9 of the local database 3 (ST25, ST29).

なお、前に説明した「カセット薬品」を薬品回収の対象から除外する場合には「カセット薬品除外」のチェックボックスにチェックされることになる。また、「上限超過薬品」ボタン55がタッチ(若しくは、クリック)されていると、(仮想)カセットにおける「在庫上限」を超えている薬品のみを薬品回収の対象とすることになる。 また、「払出対象外」のチェックボックスにチェックされると、実装薬(即ち、「カセット薬品」)以外の非実装薬において、返品薬払出装置2によって払出をしない薬剤を、薬品回収の対象とすることになる。これにより、払出ラインシステム101から払出す薬剤と、手動で調剤する薬剤とを明確に仕分けすることができる。 If the "cassette chemicals" described above are excluded from the target of chemical collection, the "cassette chemical exclusion" check box will be checked. Further, when the "upper limit chemicals" button 55 is touched (or clicked), only the chemicals exceeding the "stock upper limit" in the (virtual) cassette are targeted for drug collection. If the "Not eligible for withdrawal" check box is checked, non-implemented drugs other than the mounted drug (that is, "cassette drug") that are not paid out by the returned drug withdrawal device 2 are targeted for drug collection. Will be done. This makes it possible to clearly sort the medicines to be dispensed from the payout line system 101 and the medicines to be dispensed manually.

次に、(c)回収実行について説明する。図8に示す薬品回収画面における「回収実行」ボタン57がタッチ(若しくは、クリック)されると、指示端末4の制御部は、返品薬払出装置2に対して回収指示を行う。この際、指示端末4の制御部は、返品薬払出装置在庫用テーブル7aを参照しつつ、薬剤返戻制御装置6に接続するデータベース5に含まれる返品薬払出装置回収用テーブル7c(図2(C)参照)へ新規のデータ(レコード)の書き込みを行う。 Next, (c) collection execution will be described. When the "collection execution" button 57 on the drug collection screen shown in FIG. 8 is touched (or clicked), the control unit of the instruction terminal 4 gives a collection instruction to the returned drug dispensing device 2. At this time, the control unit of the instruction terminal 4 refers to the returned medicine payout device inventory table 7a and refers to the returned medicine payout device collection table 7c included in the database 5 connected to the medicine return control device 6 (FIG. 2 (C). )) Write new data (record).

図5(2)は、回収時における、処理の流れを示す図である。図5(2)における回収監査モニタ88は薬剤返戻制御装置6の機能であり、指示端末4が返品薬払出装置回収用テーブル7c(図2(C)参照)へデータの書き込みを新規に行ったか否かを常時監視する。具体的には、回収監査モニタ88は返品薬払出装置回収用テーブル7c内の「回収連番」フィールドがインクリメントされるかどうかを監視している。返品薬払出装置回収用テーブル7cへのデータの新規の書き込み発生により、薬剤返戻制御装置6の回収監査モニタ88は、ダミー処方指示データ(回収データ)90を生成する。生成されたダミー処方指示データ(回収データ)90は、アンプルピッキング処理(回収作業)92を実施するために、薬剤返戻制御装置6から返品薬払出装置2に送信される。 FIG. 5 (2) is a diagram showing a flow of processing at the time of collection. The recovery audit monitor 88 in FIG. 5 (2) is a function of the drug return control device 6, and whether the instruction terminal 4 newly writes data to the returned drug dispensing device recovery table 7c (see FIG. 2 (C)). Always monitor whether or not. Specifically, the collection audit monitor 88 monitors whether or not the "collection serial number" field in the return drug dispensing device collection table 7c is incremented. The recovery audit monitor 88 of the drug return control device 6 generates dummy prescription instruction data (recovery data) 90 due to the occurrence of new writing of data to the returned drug dispensing device recovery table 7c. The generated dummy prescription instruction data (recovery data) 90 is transmitted from the drug return control device 6 to the returned drug dispensing device 2 in order to carry out the ampoule picking process (recovery operation) 92.

ここでの指示データは回収データであり実際の処方データではないので、「ダミー処方指示データ」と称している。ここで「ダミー処方」とは、外部システム(例えば、前記病院総合システム)から送られてくる患者毎の処方とは異なり、前述の各種抽出条件に基づいて行う薬剤の払い出しのためのダミーの払出指示情報であり、通常の処方に基づく払出と同様の動作を返品薬払出装置2にさせるものである。 Since the instruction data here is collected data and not actual prescription data, it is referred to as "dummy prescription instruction data". Here, the "dummy prescription" is different from the prescription for each patient sent from an external system (for example, the hospital integrated system), and the "dummy prescription" is used to pay out the drug based on the above-mentioned various extraction conditions. It is instructional information, and causes the returned medicine payout device 2 to perform the same operation as the payout based on a normal prescription.

「ダミー処方指示データ」を受けて、返品薬払出装置2は、ダミー処方指示データに含まれる薬品識別コードを基に、ローカルデータベース3内の返品薬在庫テーブル9を参照・検索し、その薬品識別コードを付された薬品の「充填棚番号、充填列番号、充填横番号」を把握し、把握した「充填棚番号、充填列番号、充填横番号」に基づいて、実際の回収作業を行う((c)回収実行)。 In response to the "dummy prescription instruction data", the returned drug dispensing device 2 refers to and searches the returned drug inventory table 9 in the local database 3 based on the drug identification code included in the dummy prescription instruction data, and identifies the drug. Grasp the "filling shelf number, filling row number, filling horizontal number" of the drug with the code, and perform the actual collection work based on the grasped "filling shelf number, filling row number, filling horizontal number" ( (C) Collection execution).

図11は、図5(2)に示す回収処理の具体的なフローチャートである。先ず、指示端末4は、薬品回収画面上で設定された抽出条件に基づいて、回収対象薬品データを抽出し、抽出した薬品への回収指示を行う(ST61)。回収指示の直後、指示端末4は、返品薬払出装置在庫用テーブル7aを参照して、返品薬払出装置回収用テーブル7cに新規のレコードの書き込みを行う。薬剤返戻制御装置6における回収監査モニタ88は、返品薬払出装置回収用テーブル7cに新規のレコードが作成されたことをチェックする(ST63)と、ダミー処方指示データ(回収データ)90を発行する(ST64)。ダミー処方指示データ(回収データ)90を受けて、返品薬払出装置2は、返品薬在庫テーブル9から、ダミー処方指示データ(回収データ)90における薬品識別コードのレコードを抽出する(ST65)。返品薬払出装置2は、抽出されたデータにより薬剤の「充填棚、充填列、充填横位置」を認識し、認識された「充填棚、充填列、充填横位置」に基づいて回収作業を行う(ST66)。 FIG. 11 is a specific flowchart of the collection process shown in FIG. 5 (2). First, the instruction terminal 4 extracts the collection target drug data based on the extraction conditions set on the drug recovery screen, and gives a recovery instruction to the extracted drug (ST61). Immediately after the collection instruction, the instruction terminal 4 writes a new record in the returned drug dispensing device collection table 7c with reference to the returned drug dispensing device inventory table 7a. The recovery audit monitor 88 in the drug return control device 6 checks that a new record has been created in the return drug delivery device recovery table 7c (ST63), and issues dummy prescription instruction data (recovery data) 90 (recovery data). ST64). Upon receiving the dummy prescription instruction data (collection data) 90, the returned drug dispensing device 2 extracts a record of the drug identification code in the dummy prescription instruction data (collection data) 90 from the returned drug inventory table 9 (ST65). The returned medicine dispensing device 2 recognizes the "filling shelf, filling row, filling horizontal position" of the drug from the extracted data, and performs the collection operation based on the recognized "filling shelf, filling row, filling horizontal position". (ST66).

返品薬払出装置2の回収作業を受けて、薬剤返戻制御装置6は、返品薬払出装置在庫用テーブル7aのうち、ダミー処方指示データにおける薬品識別コードを含むレコードの「払出完了日時(払出完了日付、払出完了時間)」を更新する。同時に、薬剤返戻制御装置6は、返品薬払出装置回収用テーブル7cのうち、ダミー処方指示データにおける薬品識別コードを含むレコードの「払出完了日時(払出完了日付、払出完了時間)」を更新する(ST67)。返品薬管理システムは、返品薬在庫テーブル9の当該レコードの「払出完了日時(払出完了日付、払出完了時間)」を更新する(ST68)。このとき同時に返品薬管理システムは、返品薬在庫テーブル9の当該レコードの「払出理由」のフィールドを、「指示回収」を示すデータに設定する。払出時と同様に、返品薬払出装置2の回収を受けて、返品薬管理システムは、格納情報記憶部において、薬剤が回収により存在しなくなった位置についてはマスクを外す。よって、格納情報記憶部にて該位置は、配置(充填)可能領域となる。 In response to the collection work of the returned drug payout device 2, the drug return control device 6 sets the "payout completion date and time (payout completion date) of the record including the drug identification code in the dummy prescription instruction data in the returned drug payout device inventory table 7a. , Payout completion time) ”is updated. At the same time, the drug return control device 6 updates the "payout completion date (payout completion date, payout completion time)" of the record including the drug identification code in the dummy prescription instruction data in the returned drug payout device collection table 7c (the payout completion date and time). ST67). The returned drug management system updates the "payout completion date (payout completion date, payout completion time)" of the record in the returned drug inventory table 9 (ST68). At the same time, the returned drug management system sets the field of "reason for withdrawal" of the record in the returned drug inventory table 9 to the data indicating "instruction collection". As in the case of withdrawal, upon collection of the returned drug withdrawal device 2, the returned drug management system removes the mask at the position where the drug no longer exists due to the collection in the stored information storage unit. Therefore, in the stored information storage unit, the position becomes an arrangement (filling) possible area.

2.3.1.2.自動回収設定画面によるもの
なお、指示端末4では、前述の「(a)薬品回収処理条件の設定」を別の画面で行うこともできる。図7(a)に示すメイン画面において、各種設定ボタン34がタッチ(若しくは、クリック)されると、図7(b)に示すような、各種設定画面へ分岐するための設定画面ボタン群(34a~34e)が表示される。ここで「自動回収設定」ボタン34aがタッチ(若しくは、クリック)されると、図12に示す自動回収設定(パターン設定)画面が表示される。この画面は、所定の日時(時刻)や所定の条件充足時に回収作業を行うように、返品薬払出装置2に予め指示を与えておくための画面である。図12に示す画面では、「所定の日時(時刻)」を画面下部で設定するように構成されている。また、「所定の条件充足」とは、例えば、図12に示すように、「ストック棚が満載になった時」や「返却トレイ内の返品薬が全て返却完了となったタイミング」である。この「ストック棚が満載になった時」や「返却トレイ内の返品薬が全て返却完了となったタイミング」は、図12に示す自動回収設定(パターン設定)画面における棚満載時ボタン58aや返却完了時ボタン58が「オン」されることにより、設定される。
2.3.1.2. By the automatic collection setting screen In the instruction terminal 4, the above-mentioned "(a) setting of chemical collection processing conditions" can be performed on another screen. When the various setting buttons 34 are touched (or clicked) on the main screen shown in FIG. 7 (a), a group of setting screen buttons (34a) for branching to various setting screens as shown in FIG. 7 (b). ~ 34e) is displayed. Here, when the "automatic collection setting" button 34a is touched (or clicked), the automatic collection setting (pattern setting) screen shown in FIG. 12 is displayed. This screen is a screen for giving an instruction in advance to the returned drug payout device 2 so that the collection work is performed when a predetermined date and time (time) or a predetermined condition is satisfied. The screen shown in FIG. 12 is configured to set a "predetermined date and time (time)" at the bottom of the screen. Further, the "satisfaction of a predetermined condition" is, for example, "when the stock shelf is full" or "the timing when all the returned medicines in the return tray are returned" as shown in FIG. This "when the stock shelves are full" and "when all the returned medicines in the return tray are returned" are the buttons 58a when the shelves are full and the return on the automatic collection setting (pattern setting) screen shown in FIG. It is set by turning on the button 58 at the time of completion.

図12に示す自動回収設定(パターン設定)画面においては、画面の上部の自動回収条件設定部56aを介して、詳細条件が入力されることで、若しくは、詳細条件に関するチェックボックスがチェックされることで、薬品回収処理条件の設定が行われる。 In the automatic collection setting (pattern setting) screen shown in FIG. 12, detailed conditions are input via the automatic collection condition setting unit 56a at the top of the screen, or a check box related to the detailed conditions is checked. Then, the chemical recovery processing conditions are set.

図12に示す自動回収設定(パターン設定)画面の自動回収条件設定部56aの「有効期限間近」チェックボックスがチェックされた上で、図7(a)のメイン画面に戻った場合、指示端末4は、返品薬払出装置在庫用テーブル7a内に対象レコードがあると判定すれば、図7(a)のメイン画面のボタン22の表示を「有効期限間近薬品なし」から「有効期限間近薬品あり」に変え、更にボタン22を点滅させる。ここで、「有効期限間近薬品あり」ボタン22がタッチ若しくはクリックされると、抽出条件に適合する薬品(のデータ)が表示された、図8に示す薬品回収画面が表示される。この後、「回収実行」ボタン57がクリックされると、回収指示が実行される。 When the "Expiration date is approaching" check box of the automatic collection condition setting unit 56a of the automatic collection setting (pattern setting) screen shown in FIG. 12 is checked and then the main screen of FIG. 7A is returned, the instruction terminal 4 If it is determined that the target record is in the returned drug dispensing device inventory table 7a, the display of the button 22 on the main screen of FIG. 7 (a) is changed from "no drug near expiration date" to "with drug near expiration date". And make the button 22 blink. Here, when the "drugs near expiration date" button 22 is touched or clicked, the drug recovery screen shown in FIG. 8 is displayed, in which the drugs (data) conforming to the extraction conditions are displayed. After that, when the "collection execution" button 57 is clicked, the collection instruction is executed.

なお、「回収実行」ボタン57による回収指示がなされない場合も、図12の自動回収設定(パターン設定)画面上で設定された自動回収のための条件・日時に基づいて、返品薬払出装置2への回収指示が実行される。 Even if the collection instruction is not given by the "collection execution" button 57, the returned drug withdrawal device 2 is based on the conditions and date and time for automatic collection set on the automatic collection setting (pattern setting) screen of FIG. The collection instruction to is executed.

図12に示す自動回収設定(パターン設定)画面の自動回収条件設定部56aの「長期滞留」などのチェックボックスがチェックされた場合においても、上記と同様の処理が実行される。「上限超過薬品」ボタン56a、「カセット薬品除外」のチェックボックス、及び「払出対象外」のチェックボックスについても、図8の薬品回収画面における夫々のボタンやチェックボックスと同様の機能を備える。 Even when a check box such as "long-term retention" in the automatic collection condition setting unit 56a of the automatic collection setting (pattern setting) screen shown in FIG. 12 is checked, the same processing as described above is executed. The "upper limit excess drug" button 56a, the "cassette drug exclusion" check box, and the "not payable" check box have the same functions as the buttons and check boxes on the drug recovery screen of FIG.

このように、図12に示す自動回収設定(パターン設定)画面では、回収作業を行う基準となる、所定の日時(時刻)や所定の条件が設定される。即ち、これら所定の日時(時刻)や所定の条件の充足時に回収作業が行われる。ここで、本実施形態の薬品回収処理が、返品薬払出装置2の格納部15における薬剤の充填率が所定の閾値以上になれば行われる、というように、返品薬管理システムが構成されてもよい。なお、ここでの「充填率」とは、格納部15に格納可能な最大の薬剤数に対する、格納部15に実際に格納されている薬剤数の比率である。 As described above, on the automatic collection setting (pattern setting) screen shown in FIG. 12, a predetermined date and time (time) and a predetermined condition, which are the reference for performing the collection work, are set. That is, the collection work is performed when these predetermined dates and times (time) and predetermined conditions are satisfied. Here, even if the returned drug management system is configured, the drug recovery process of the present embodiment is performed when the filling rate of the drug in the storage unit 15 of the returned drug dispensing device 2 becomes equal to or higher than a predetermined threshold value. good. The "filling rate" here is the ratio of the number of drugs actually stored in the storage unit 15 to the maximum number of drugs that can be stored in the storage unit 15.

図12に示す自動回収設定(パターン設定)画面の自動回収条件設定部56aには、「返戻指定」のチェックボックスも設けられている。この「返戻指定」のチェックボックスが示すデータは、当該薬剤が返品薬管理(薬剤仕分)の対象であることを示すものである。この「返戻指定」のチェックボックスがチェックされると、データ上、返戻指定された薬品が自動回収の対象となる。データ上、返戻指定されているか否かは、返品薬払出装置在庫用テーブル9の「指定薬品フラグ」フィールドの内容(即ち、「指定薬品フラグ」が設定されていれば、返戻指定の対象である)により判別される。なお、各薬品について「返戻指定」の対象であるか否かの区分に関しては、例えば、別途、指示端末4において、薬品毎の設定画面が設けられてもよい。 The automatic collection condition setting unit 56a of the automatic collection setting (pattern setting) screen shown in FIG. 12 is also provided with a check box for “return designation”. The data indicated by this "return designation" check box indicates that the drug is subject to return drug management (drug sorting). When this "Return designation" check box is checked, the chemicals designated for return will be subject to automatic collection in the data. Whether or not the return is specified in the data is the target of the return specification if the content of the "designated drug flag" field of the returned drug dispensing device inventory table 9 (that is, the "designated drug flag" is set. ). Regarding the classification of whether or not each chemical is subject to "return designation", for example, a setting screen for each chemical may be separately provided in the instruction terminal 4.

更に、図12に示す自動回収設定(パターン設定)画面の自動回収条件設定部56aには、「非搭載薬」のチェックボックスも設けられている。この「非搭載薬」のチェックボックスが示すデータは、当該薬剤が返品薬管理(薬剤仕分)の対象でない(即ち、返品薬管理システム(薬剤仕分装置)に搭載されない)ことを示すものである。非搭載薬には、例えば、特別な傷病手術でのみ用いられるような使用頻度の低い薬剤や、取扱いについて注意すべき薬剤等が含まれる。この「非搭載薬」のチェックボックスがチェックされると、データ上、非搭載薬であると設定された薬品が自動回収の対象となる。データ上、非搭載薬であると設定されているか否かは、返品薬払出装置在庫用テーブル9の「非搭載薬フラグ」フィールドの内容(即ち、「非搭載薬フラグ」が設定されていれば、非搭載薬である)により判別される。なお、各薬品について「非搭載薬」であるか否かの区分に関しても、例えば、別途、指示端末4において、薬品毎の設定画面が設けられてもよい。 Further, the automatic collection condition setting unit 56a on the automatic collection setting (pattern setting) screen shown in FIG. 12 is also provided with a check box for “non-loaded drug”. The data indicated by this "non-loaded drug" check box indicates that the drug is not subject to returned drug management (drug sorting) (that is, it is not loaded in the returned drug management system (drug sorting device)). Non-carrying drugs include, for example, infrequently used drugs such as those used only in special injury and illness surgery, and drugs that should be handled with care. When this "non-carrying drug" check box is checked, the drug set as non-carrying drug in the data is subject to automatic collection. Whether or not it is set as a non-loaded drug in the data is determined by the contents of the "non-loaded drug flag" field of the returned drug dispensing device inventory table 9 (that is, if the "non-loaded drug flag" is set. , It is a non-loaded drug). Regarding the classification of whether or not each drug is a “non-loaded drug”, for example, a setting screen for each drug may be separately provided on the instruction terminal 4.

上述の、「返戻指定」のチェックボックス、及び、「非搭載薬」のチェックボックスは、図8に示す薬品回収画面の左部の抽出条件設定部56に設けられてもよい。 The above-mentioned check box for "return designation" and the check box for "non-loaded drug" may be provided in the extraction condition setting unit 56 on the left side of the drug recovery screen shown in FIG.

返品薬管理システムにおいて、自動回収のための条件・日時(即ち、自動回収パターン)が、複数設けられるようにしてもよい。前述のように、図7(a)に示すメイン画面において、各種設定ボタン34がタッチ(若しくは、クリック)されると、図7(b)に示すような、各種設定画面へ分岐するための設定画面ボタン群(34a~34e)が表示される。「自動回収設定」ボタン34aがタッチ(若しくは、クリック)されると、図12に示す自動回収設定(パターン設定)画面が表示されるのであるが、ここで、まず、図13に示すような、複数の自動回収のための条件・日時の一覧を示す「自動回収設定」画面が表示されるようにしてもよい。 In the returned drug management system, a plurality of conditions / dates (that is, automatic collection patterns) for automatic collection may be provided. As described above, when the various setting buttons 34 are touched (or clicked) on the main screen shown in FIG. 7 (a), the setting for branching to the various setting screens as shown in FIG. 7 (b). A group of screen buttons (34a to 34e) are displayed. When the "automatic collection setting" button 34a is touched (or clicked), the automatic collection setting (pattern setting) screen shown in FIG. 12 is displayed. Here, first, as shown in FIG. 13, The "automatic collection setting" screen showing a list of conditions / dates for a plurality of automatic collections may be displayed.

図13に示す自動回収設定画面では、「パターン追加」ボタン150がタッチ(若しくは、クリック)されると、続いて且つ初めて、図12に示す自動回収設定(パターン設定)画面が表示される。図12に示す自動回収設定(パターン設定)画面にて薬品回収処理条件が設定されて「登録」ボタンがタッチ(若しくは、クリック)されると、薬品回収処理条件が登録された上で、図13に示す自動回収設定画面に戻る。この戻った際には、登録された薬品回収処理条件が、一覧に含まれて表示される。このように、図13における「パターン追加」ボタン150のタッチ、及び、図12における薬品回収処理条件の設定・登録が複数回行われると、図13に示す自動回収設定画面には、複数の薬品回収処理条件、即ち、自動回収のための条件・日時(自動回収パターン)が、返品薬管理システムにて設定登録された上で、表示される。なお、図13に示す「パターン変更」ボタンは、自動回収パターンを変更するための画面に進むボタンであり、「パターン削除」ボタンは、自動回収パターンを削除するためのボタンである。選択チェック156の欄は薬品回収処理条件を選択するためのチェック欄である。複数の選択チェック156の欄の選択が為されると、選択された薬品回収処理条件が(例えば、AND条件により)組み合わせられて実際の薬品回収処理条件が決定される。なお、複数の薬品回収処理条件に係るデータは、ローカルデータベース3内の、例えば、返品薬払出装置共有設定テーブルに格納されればよい。具体的には、返却処理完了時に薬品回収処理を行うか(即ち、「所定の条件充足」に薬品回収処理を行うか)又はタイマー設定時に薬品回収処理を行うか(即ち、「所定の日時(時刻)」に薬品回収処理を行うか)、などのデータが格納される。 In the automatic collection setting screen shown in FIG. 13, when the "add pattern" button 150 is touched (or clicked), the automatic collection setting (pattern setting) screen shown in FIG. 12 is displayed subsequently and for the first time. When the chemical recovery processing conditions are set on the automatic recovery setting (pattern setting) screen shown in FIG. 12 and the "Register" button is touched (or clicked), the chemical recovery processing conditions are registered and then FIG. 13 Return to the automatic collection setting screen shown in. When this returns, the registered drug recovery processing conditions are included in the list and displayed. As described above, when the touch of the "pattern addition" button 150 in FIG. 13 and the setting / registration of the drug recovery processing conditions in FIG. 12 are performed a plurality of times, a plurality of drugs are displayed on the automatic recovery setting screen shown in FIG. The collection processing conditions, that is, the conditions and date and time for automatic collection (automatic collection pattern) are displayed after being set and registered in the returned drug management system. The "pattern change" button shown in FIG. 13 is a button for advancing to the screen for changing the automatic collection pattern, and the "pattern deletion" button is a button for deleting the automatic collection pattern. The column of selection check 156 is a check column for selecting chemical recovery processing conditions. When the plurality of selection check 156 columns are selected, the selected chemical recovery processing conditions are combined (for example, by AND conditions) to determine the actual chemical recovery processing conditions. The data related to the plurality of drug recovery processing conditions may be stored in the local database 3, for example, the returned drug dispensing device shared setting table. Specifically, whether to perform the drug recovery process when the return process is completed (that is, whether to perform the drug recovery process when "predetermined conditions are satisfied") or to perform the drug recovery process when the timer is set (that is, "predetermined date and time (that is, whether to perform the drug recovery process"). Data such as whether to perform chemical recovery processing at "time") "is stored.

以上のように、返品薬管理システムによる薬品回収処理により、不要な返品薬剤や格納に向かない不適切な返品薬剤が、返品薬払出装置2から適切に適時に取り除かれることになる。このことにより、格納部15にて不必要な在庫や無駄な在庫が生じることが防がれる。従って、返品薬払出装置2の払出作業における効率性や確実性(安全性)が高められる。 As described above, by the drug collection process by the returned drug management system, unnecessary returned drugs and inappropriate returned drugs that are not suitable for storage are appropriately and timely removed from the returned drug dispensing device 2. This prevents unnecessary inventory and wasteful inventory from being generated in the storage unit 15. Therefore, the efficiency and certainty (safety) in the payout work of the returned medicine payout device 2 are enhanced.

2.3.1.3.薬品回収処理の変形例について
薬品回収処理の変形例について説明する。図20に示す返品薬払出装置2の受入部12は、7個までの返却トレイを受け入れるように構成されている。返品薬払出装置2の受入部12は、8個以上の返却トレイを受け入れるように構成されることもある。
2.3.1.3. About the modified example of the chemical recovery process The modified example of the chemical recovery process will be described. The receiving unit 12 of the returned medicine dispensing device 2 shown in FIG. 20 is configured to accept up to seven return trays. The receiving unit 12 of the returned medicine dispensing device 2 may be configured to accept eight or more return trays.

ここで、図12に示す自動回収設定(パターン設定)画面における返却完了時ボタン58が「オン」されており、「返却トレイ内の返品薬が全て返却完了となったタイミング」が自動回収を行うタイミングとして設定されているとする。 Here, the return completion button 58 on the automatic collection setting (pattern setting) screen shown in FIG. 12 is "on", and the "timing when all the returned medicines in the return tray are returned" automatically collects. It is assumed that it is set as a timing.

この場合、返品薬管理システムは、7個の返却トレイ(NGトレイが設定されている場合には、6個の返却トレイ)が返却完了した時点で、即座に返品薬払出装置2に対して自動回収の作業を行うように指示するのでは無く、指示端末4の画面上に「自動回収を行いますか」のポップアップ、及び、「はい」「いいえ」のボタンを表示するようにしてもよい。「はい」のボタンが選択されると、返品薬管理システムは、返品薬払出装置2に対して自動回収の作業を行うように指示する。「いいえ」のボタンが選択された場合には、8個目以降の返却トレイ(NGトレイが設定されている場合には、7個以降の返却トレイ)の返却が完了することによって、返品薬管理システムが返品薬払出装置2に対して自動回収の作業を行うように指示する、というように返品薬管理システムが構成されてもよい。 In this case, the returned drug management system automatically performs the returned drug dispensing device 2 immediately after the return of 7 return trays (6 return trays when the NG tray is set) is completed. Instead of instructing to perform the collection work, a pop-up of "Do you want to perform automatic collection?" And a "Yes" and "No" buttons may be displayed on the screen of the instruction terminal 4. When the "Yes" button is selected, the returned drug management system instructs the returned drug dispensing device 2 to perform an automatic collection operation. When the "No" button is selected, the return drug management is completed by completing the return of the 8th and subsequent return trays (7 or more return trays if the NG tray is set). A returned drug management system may be configured such that the system instructs the returned drug dispensing device 2 to perform an automatic collection operation.

2.3.2.有効期限登録処理
2.3.2.1.不明の有効期限を登録する処理
返品薬管理システムが、返品薬払出装置在庫用テーブル7a内に「有効期限」が不明である(即ち、未入力である)レコードがあると判定すれば、図7(a)のメイン画面のボタン28の表示を「有効期限不明薬品なし」から「有効期限不明薬品あり」へ変え、ボタン28を点滅させる。ここで、「有効期限不明薬品あり」ボタン28がタッチ(若しくはクリック)されれば、「有効期限」フィールドが不明である薬品(のデータ)の一覧リストが表示された、図14に示す薬品有効期限登録一覧画面が表示される。なお、前述のように「有効期限」は「使用期限」と言い換えられることがあるが、両語は同義である。
2.3.2. Expiration date registration process 2.3.2.1. Processing to register an unknown expiration date If the returned drug management system determines that there is a record whose "expiration date" is unknown (that is, not entered) in the returned drug dispensing device inventory table 7a, FIG. 7 The display of the button 28 on the main screen of (a) is changed from "no chemicals with unknown expiration date" to "with chemicals with unknown expiration date", and the button 28 is blinked. Here, if the "drug with unknown expiration date" button 28 is touched (or clicked), a list of drugs (data) whose "expiration date" field is unknown is displayed, and the drug validity shown in FIG. 14 is displayed. The deadline registration list screen is displayed. As mentioned above, "expiration date" may be paraphrased as "expiration date", but both terms are synonymous.

図14に示す薬品有効期限登録一覧画面においても、抽出条件設定部62の設定により、一覧リストの表示を絞ることができる。 Also on the drug expiration date registration list screen shown in FIG. 14, the display of the list can be narrowed down by setting the extraction condition setting unit 62.

図14に示す薬品有効期限登録一覧画面の一覧リストにおいて、一つの行がタッチ(若しくは、クリック)されると、図15に示す、薬品有効期限登録画面が表示される。この画面では、返品薬払出装置2の認識部14により取得された、タッチされた行に関連する薬品の画像データが表示される。薬品有効期限登録画面にて、当該薬品の画像データに基づいて、ユーザにより有効期限が入力(登録)される。この登録画面は、登録者のID(識別子)を入力するためのフィールドを含み、そのフィールドを介して登録者のIDが同時に入力(登録)されてもよい。なお、個別の薬品識別コードが割り振られる薬品毎に(即ち、薬品識別コード毎に)、ローカルデータベース3内に薬品の画像データが格納される。 When one line is touched (or clicked) in the list of the drug expiration date registration list screen shown in FIG. 14, the drug expiration date registration screen shown in FIG. 15 is displayed. On this screen, the image data of the drug related to the touched line, which is acquired by the recognition unit 14 of the returned drug dispensing device 2, is displayed. On the drug expiration date registration screen, the expiration date is input (registered) by the user based on the image data of the drug. This registration screen includes a field for inputting a registrant's ID (identifier), and the registrant's ID may be simultaneously input (registered) through the field. The image data of the drug is stored in the local database 3 for each drug to which the individual drug identification code is assigned (that is, for each drug identification code).

返品薬管理システムによる有効期限登録処理により、有効期限が認識されなかった薬剤についても、有効期限を追加登録することができる。これにより、返品薬払出装置2内の有効期限管理対象の薬剤数をより増やすことができ、ひいては不用意な在庫を発生させることがなくなり、また、使用し得た薬剤を使用しないまま有効期限切れにするというような無駄を発生させることもなくなる。 By the expiration date registration process by the returned drug management system, it is possible to additionally register the expiration date even for the drug whose expiration date is not recognized. As a result, the number of drugs subject to expiration date management in the returned drug dispensing device 2 can be further increased, and inadvertent inventory is not generated, and the expiration date is expired without using the drugs that could be used. There is no need to waste money.

2.3.2.2.有効期限を再読み取りする処理
なお、図14に示す薬品有効期限登録一覧画面の「再読取」ボタン63は、返品薬払出装置2の格納部15に格納された返品薬剤を、認識部14の画像処理により再び認識させ、これにより有効期限を含むデータを再取得するためのボタンである。具体的には、薬品有効期限登録一覧画面の一覧リストの一つの行をタッチ(若しくは、クリック)しつつ、「再読取」ボタン63をタッチ(若しくは、クリック)することになる。このようにすることにより、返品薬払出装置2は、タッチされた行に示されている薬剤を、格納部15から認識部14に戻し、認識部14に画像処理による認識を再び行わせる。有効期限を含むデータを再取得後、返品薬払出装置2は、再読み取りされた薬剤を再び、格納部15に格納する。このとき、指示端末4は、返品薬在庫テーブル9の再読取フラグのフィールドに対して、再読み取りを行ったことを示すデータを格納する。
2.3.2.2. Process for re-reading the expiration date The "re-read" button 63 on the drug expiration date registration list screen shown in FIG. 14 displays the returned drug stored in the storage unit 15 of the returned drug dispensing device 2 as an image of the recognition unit 14. It is a button for re-acquiring the data including the expiration date by making it recognized again by the process. Specifically, the "reread" button 63 is touched (or clicked) while touching (or clicking) one line of the list on the drug expiration date registration list screen. By doing so, the returned drug dispensing device 2 returns the drug shown in the touched line from the storage unit 15 to the recognition unit 14, and causes the recognition unit 14 to perform recognition by image processing again. After reacquiring the data including the expiration date, the returned drug payout device 2 stores the reread drug in the storage unit 15 again. At this time, the instruction terminal 4 stores data indicating that the reread is performed in the field of the reread flag of the returned drug inventory table 9.

上述の、指示端末4に表示される薬品有効期限登録一覧画面の「再読取」ボタン63に係る処理により、有効期限が認識されなかった薬剤について、返品薬払出装置2の認識部14により有効期限を再取得させることができる。これにより、返品薬払出装置2内の有効期限管理対象の薬剤数をより増やすことができ、ひいては不用意な在庫を発生させることがなくなり、また、使用し得た薬剤を使用しないまま有効期限切れにするというような無駄を発生させることもなくなる。 For drugs whose expiration date was not recognized by the above-mentioned process related to the "reread" button 63 on the drug expiration date registration list screen displayed on the instruction terminal 4, the expiration date is determined by the recognition unit 14 of the returned drug dispensing device 2. Can be reacquired. As a result, the number of drugs subject to expiration date management in the returned drug dispensing device 2 can be further increased, and inadvertent inventory is not generated, and the expiration date is expired without using the drugs that could be used. There is no need to waste money.

また、返品薬在庫テーブル9の再読取フラグのフィールドにて、再読み取りを行ったことを示すデータが格納されている薬剤については、返品薬管理システム及び指示端末4は、上述の「再読取」ボタン63に係る処理を行わせない、という制御を行うこともできる。このような制御を行うことにより返品薬管理システムは不必要で無駄な、再読み取り処理(再認識処理)の繰り返しを回避できる。 Further, for the drug in which the data indicating that the reread has been performed is stored in the field of the reread flag of the returned drug inventory table 9, the returned drug management system and the instruction terminal 4 have the above-mentioned "reread". It is also possible to control not to perform the process related to the button 63. By performing such control, the returned drug management system can avoid unnecessary and useless repetition of the re-reading process (re-recognition process).

なお、図14に示す薬品有効期限登録一覧画面においては、有効期限データが不正に変更されることを防ぐために、払出又は回収された薬品に関しては一覧リスト上に表示しないことが好ましい。 In the drug expiration date registration list screen shown in FIG. 14, it is preferable not to display the drugs that have been dispensed or collected on the list in order to prevent the expiration date data from being changed illegally.

2.3.2.3.使用期限不明薬品払出設定による払出許可処理
図7(a)に示すメイン画面において、各種設定ボタン34がタッチ(若しくは、クリック)されると、図7(b)に示すような、各種設定画面へ分岐するための設定画面ボタン群(34a~34e)が表示される。ここで「その他設定」ボタン34cがタッチ(若しくは、クリック)されると、図16に示すその他設定画面が表示される。図16に示すその他設定画面の「有効期限不明薬払出オン・オフ」ボタン160によって、有効期限不明薬品の払出を行うのか否かを制御することができる。つまり、「有効期限不明薬払出オン・オフ」ボタン160によって有効期限不明薬払出が「オン」の状態にされると、「有効期限不明薬払出がオン状態であること」が指示端末4の記憶部(ローカルデータベース3の、例えば、返品薬払出装置共有設定テーブル)に記憶され、これにより返品薬払出装置在庫用テーブル7aの「有効期限」が不明であるレコードに係る薬剤も、払出処理の対象となる。また、「有効期限不明薬払出オン・オフ」ボタン160によって有効期限不明薬払出が「オフ」の状態にされると、「有効期限不明薬払出がオフ状態であること」が指示端末4の記憶部(ローカルデータベース3の、例えば、返品薬払出装置共有設定テーブル)に記憶され、これにより返品薬払出装置在庫用テーブル7aの「有効期限」が不明であるレコードに係る薬剤は払出処理の対象とはならない。
2.3.2.3. Discharge permission processing by drug withdrawal setting with unknown expiration date When the various setting buttons 34 are touched (or clicked) on the main screen shown in FIG. 7 (a), various setting screens as shown in FIG. 7 (b) are displayed. A group of setting screen buttons (34a to 34e) for branching are displayed. Here, when the "other setting" button 34c is touched (or clicked), the other setting screen shown in FIG. 16 is displayed. It is possible to control whether or not to withdraw the medicine with unknown expiration date by the "on / off withdrawal of medicine with unknown expiration date" button 160 on the other setting screen shown in FIG. That is, when the "drug with unknown expiration date on / off" button 160 is used to turn on the withdrawal of the drug with unknown expiration date, "the withdrawal of the drug with unknown expiration date is on" is stored in the instruction terminal 4. Drugs related to records whose "expiration date" is unknown in the returned drug dispensing device inventory table 7a stored in the section (for example, the returned drug dispensing device shared setting table in the local database 3) are also subject to the dispensing process. It becomes. Further, when the "drug with unknown expiration date on / off" button 160 is used to set the withdrawal of the drug with unknown expiration date to the "off" state, "the withdrawal of the drug with unknown expiration date is in the off state" is stored in the instruction terminal 4. Drugs related to records whose "expiration date" is unknown in the returned drug dispensing device inventory table 7a stored in the section (for example, the returned drug dispensing device shared setting table in the local database 3) are subject to the dispensing process. Must not be.

なお、有効期限(使用期限)不明薬品の払出処理における取り扱いについて設定する画面が、更に用意されている。図17は、そのような有効期限(使用期限)不明薬品のうち任意の薬剤の払出処理における取り扱いについて設定する画面である「返却薬品設定」画面である。図7(b)に示す、各種設定画面へ分岐するための設定画面ボタン群(34a~34e)にて、「メンテナンス」ボタン34eがタッチ(若しくは、クリック)され、更に、「返却薬品設定」ボタン(図示せず)がタッチ(若しくは、クリック)されると、図17に示す返却薬品設定画面が表示される。任意の薬剤を指定し、画面左部の「使用期限(有効期限)無効」部において「払出常時許可」ボタン166が選択されると、図16に示す、その他設定画面の「有効期限不明薬払出オン・オフ」ボタン160の状態に関わりなく、且つ、返品薬払出装置在庫用テーブル7aの「有効期限」の状態に関わりなく、返品薬払出装置在庫用テーブル7aにおけるレコードに係る薬剤が払出処理の対象となる。 In addition, a screen for setting the handling in the dispensing process of the drug whose expiration date (expiration date) is unknown is further prepared. FIG. 17 is a “returned drug setting” screen, which is a screen for setting the handling of any drug having an unknown expiration date (expiration date) in the withdrawal process. In the setting screen button group (34a to 34e) for branching to various setting screens shown in FIG. 7 (b), the "maintenance" button 34e is touched (or clicked), and further, the "return chemical setting" button. When (not shown) is touched (or clicked), the return chemical setting screen shown in FIG. 17 is displayed. When an arbitrary drug is specified and the "Always payout permission" button 166 is selected in the "Expiration date (expiration date) invalid" section on the left side of the screen, the "Drug withdrawal of unknown expiration date" on the other setting screen shown in FIG. Regardless of the state of the "on / off" button 160 and regardless of the state of the "expiration date" of the returned drug dispensing device inventory table 7a, the drug related to the record in the returned drug dispensing device inventory table 7a is dispensed. Be the target.

一方で、画面左部の「使用期限(有効期限)無効」部において「払出許可設定対応」ボタン164が選択されると、図16に示す、その他設定画面の「有効期限不明薬払出オン・オフ」ボタン160の状態に適合させて、返品薬払出装置在庫用テーブル7aにおけるレコードに係る薬剤が払出処理の対象となるか否かが決定される。したがって、返却される薬剤に対し、払出対象ではないが、回収対象と設定することが可能になる。 On the other hand, when the "Payout permission setting support" button 164 is selected in the "Expiration date (expiration date) invalid" section on the left side of the screen, the "Drug withdrawal on / off of unknown expiration date" on the other setting screen shown in FIG. It is determined whether or not the drug related to the record in the returned drug dispensing device inventory table 7a is subject to the dispensing process according to the state of the button 160. Therefore, it is possible to set the returned drug as a collection target, although it is not a payout target.

このように、有効期限不明薬品を払出処理でどのように扱うかについて、きめ細やかに設定することができる。 In this way, it is possible to finely set how to handle a drug having an unknown expiration date in the payout process.

2.3.3.返却許可設定処理
図7(a)に示すメイン画面において、各種設定ボタン34がタッチ(若しくは、クリック)されると、図7(b)に示すような、各種設定画面へ分岐するための設定画面ボタン群(34a~34e)が表示される。ここで「返却許可設定」ボタン34bがタッチ(若しくは、クリック)されると、図18に示す返却許可設定画面が表示される。この画面は、返品薬払出装置2に返品してよい薬品を設定するための画面である。つまり、図18に示す設定画面では返品してはならない返却不可薬品の条件を設定することで、ユーザの所望の返却処理を実行することができる。より具体的には、この画面は、所定の時間帯において、及び所定の薬品以外の薬品(すなわち、返却不可薬品でない薬品)に対して、返却作業を行うように返品薬払出装置2に予め指示を与えておく画面である。図18に示す画面では、「所定の時間帯」を画面の下部で設定するように構成されている。また、図18に示す画面は、「返却不可薬品」を画面の上部で設定するように構成されている。例えば、「上限超過薬品」のチェックボックスにチェックされていると、(仮想)カセットにおける「在庫上限」を超えている薬品が返却不可の薬品となる。また、「払出対象外」のチェックボックスにチェックされていると、実装薬(即ち、「カセット薬品」)以外の非実装薬において、返品薬払出装置2によって払出をしない薬品が返却不可の薬品となる。
2.3.3. Return permission setting process When the various setting buttons 34 are touched (or clicked) on the main screen shown in FIG. 7 (a), the setting screen for branching to various setting screens as shown in FIG. 7 (b). Button groups (34a to 34e) are displayed. Here, when the "return permission setting" button 34b is touched (or clicked), the return permission setting screen shown in FIG. 18 is displayed. This screen is a screen for setting the medicines that may be returned to the returned medicine dispensing device 2. That is, by setting the conditions for non-returnable chemicals that must not be returned on the setting screen shown in FIG. 18, the user's desired return process can be executed. More specifically, this screen instructs the returned medicine dispensing device 2 in advance to perform the return work for the medicines other than the predetermined medicines (that is, the medicines that are not non-returnable medicines) at the predetermined time zone. It is a screen to give. The screen shown in FIG. 18 is configured to set a "predetermined time zone" at the bottom of the screen. Further, the screen shown in FIG. 18 is configured to set "non-returnable chemicals" at the upper part of the screen. For example, if the check box of "Chemicals exceeding the upper limit" is checked, the chemicals exceeding the "stock upper limit" in the (virtual) cassette are non-returnable chemicals. In addition, if the "Not eligible for withdrawal" check box is checked, among non-implemented drugs other than the mounted drug (that is, "cassette drug"), the drug that is not paid out by the returned drug payout device 2 is a non-returnable drug. Become.

画面の下部にて、時間帯が設定されると、その時間帯にのみ返却作業を行うように返品薬払出装置2は指示される。また、画面の上部にて、返却不可薬品が設定されると、返却トレイ内の返却不可薬品をNGトレイに移すように返品薬払出装置2は指示される。 When a time zone is set at the bottom of the screen, the returned drug payout device 2 is instructed to perform the return operation only in that time zone. Further, when the non-returnable medicine is set at the upper part of the screen, the returned medicine dispensing device 2 is instructed to move the non-returnable medicine in the return tray to the NG tray.

図19は、図18に示す返却許可設定画面で設定された返却許可設定に基づく、返却トレイ上の薬剤に対する返却処理のフローチャートである。まず、返却許可設定画面上で設定された開始時刻になると、本処理が開始する(ST81)。返品薬払出装置2の認識部14は、返却トレイ上の薬剤を一つずつ認識する作業を行う(ST82)。返却許可設定画面の上部において、返却不可薬品についての(条件の)設定が為されていなければ(ST84・NO)、返品薬払出装置2は薬剤を格納部15に格納する。これと同時に、指示端末4の制御部は、後の処理(払出処理、回収処理、及び集計処理など)に備えるために、返品薬払出装置在庫用テーブル7a、返品薬払出装置払出用テーブル7b、及び、(ローカルデータベース3の)返品薬在庫テーブル9にて、夫々、新規のレコードを作成する(ST89)。更に、返品薬払出装置2の認識部14は薬剤の認識作業を継続する(ST82)。 FIG. 19 is a flowchart of a return process for a drug on a return tray based on the return permission setting set on the return permission setting screen shown in FIG. First, when the start time set on the return permission setting screen is reached, this process starts (ST81). The recognition unit 14 of the returned medicine dispensing device 2 performs an operation of recognizing the medicines on the return tray one by one (ST82). If the (conditional) setting for the non-returnable drug is not made (ST84 / NO) at the upper part of the return permission setting screen, the returned drug dispensing device 2 stores the drug in the storage unit 15. At the same time, the control unit of the instruction terminal 4 prepares for the subsequent processing (payout processing, collection processing, aggregation processing, etc.), the returned drug payout device inventory table 7a, the returned drug payout device payout table 7b, and the like. Then, a new record is created in each of the returned drug inventory table 9 (in the local database 3) (ST89). Further, the recognition unit 14 of the returned drug dispensing device 2 continues the drug recognition work (ST82).

返却許可設定画面の上部において、返却不可薬品についての(条件の)設定が有れば(ST84・YES)、指示端末4の制御部は、返品薬払出装置2の認識部14により認識されたバーコードに含まれる薬品コードに基づいて、薬品マスタを読み出す(ST85)。指示端末4の制御部が、薬品マスタにおける項目(フィールド)データにて返却不可条件に適合するものがある(ST86・YES)、若しくは、他に返却不可条件がある(ST87・YES)と判別すれば、返品薬払出装置2は、薬剤をNGトレイに移す。これと同時に、指示端末4の制御部は、後の処理(払出処理、回収処理、及び集計処理など)に備えるために、NGフラグを「1」としNGコメントの書き込みを行った上で、返品薬払出装置在庫用テーブル7a、及び、(ローカルデータベース3の)返品薬在庫テーブル9にて、夫々、レコードを作成する(ST90)。 If there is a (conditional) setting (ST84 / YES) for non-returnable medicines at the top of the return permission setting screen, the control unit of the instruction terminal 4 is a bar recognized by the recognition unit 14 of the returned medicine dispensing device 2. Read the drug master based on the drug code contained in the code (ST85). The control unit of the instruction terminal 4 determines that there is an item (field) data in the drug master that meets the non-returnable condition (ST86 / YES), or that there is another non-returnable condition (ST87 / YES). For example, the returned drug dispensing device 2 transfers the drug to the NG tray. At the same time, the control unit of the instruction terminal 4 sets the NG flag to "1" and writes an NG comment in order to prepare for the subsequent processing (payout processing, collection processing, aggregation processing, etc.), and then returns the product. Records are created in the drug dispensing device inventory table 7a and the returned drug inventory table 9 (in the local database 3), respectively (ST90).

一方で、指示端末4の制御部が、薬品マスタにおける項目(フィールド)データにて返却不可条件に適合するものが無く(ST86・NO)、且つ、他にも返却不可条件が無い(ST87・NO)と判別すれば、返品薬払出装置2は薬剤を格納部15に格納する。これと同時に、指示端末4の制御部は、後の処理(払出処理、回収処理、及び集計処理など)に備えるために、返品薬払出装置在庫用テーブル7a、返品薬払出装置払出用テーブル7b、及び、(ローカルデータベース3の)返品薬在庫テーブル9にて、夫々、新規のレコードを作成する(ST89)。更に、返品薬払出装置2の認識部14は、薬剤の認識作業を継続する(ST82)。 On the other hand, the control unit of the instruction terminal 4 does not meet the non-returnable condition in the item (field) data in the drug master (ST86 / NO), and there is no other non-returnable condition (ST87 / NO). ), The returned drug dispensing device 2 stores the drug in the storage unit 15. At the same time, the control unit of the instruction terminal 4 prepares for the subsequent processing (payout processing, collection processing, aggregation processing, etc.), the returned drug payout device inventory table 7a, the returned drug payout device payout table 7b, and the like. Then, a new record is created in each of the returned drug inventory table 9 (in the local database 3) (ST89). Further, the recognition unit 14 of the returned drug dispensing device 2 continues the drug recognition work (ST82).

図19に示すフローチャートに係る処理は、認識部14の認識対象の薬剤が無くなれば(ST83・YES)、終了する(ST91)。また、図18で設定される終了時刻にて(ST88・YES)、処理が終了する(ST91)。 The process according to the flowchart shown in FIG. 19 ends when the drug to be recognized by the recognition unit 14 disappears (ST83 · YES) (ST91). Further, the process ends at the end time set in FIG. 18 (ST88 · YES) (ST91).

返品薬管理システムによる返却許可設定処理により、本来、返品薬払出装置2に保管されるべき薬剤でない薬剤について、保管管理上、他の保管すべき場所(冷所、劇薬管理庫等)が在ることに対して注意喚起することができるだけでなく、有効期限が間近なものや切れたもの、或いは不明なものまでを返品薬払出装置2内に格納してしまい、本来収容しなければならない薬剤のスペースを潰してしまうというようなことも無くなる。その結果、より効率的で正しい返却処理を実施することができる。 Due to the return permission setting process by the returned drug management system, there are other places (cold place, powerful drug management warehouse, etc.) for storage management of drugs that should not be stored in the returned drug dispensing device 2. Not only can you be alerted to this, but the medicines that are about to expire, have expired, or are unknown are stored in the returned medicine dispensing device 2, and the medicines that should be stored originally. There is no need to crush the space. As a result, more efficient and correct return processing can be carried out.

2.3.4.病棟登録処理
図7(a)に示すメイン画面において、病棟登録ボタン38がタッチ(若しくは、クリック)されると、図20に示す病棟登録画面が表示される。この画面は、返品薬払出装置2の受入部12内に受け入れられている返却トレイ毎に、返却元の病棟名を登録するための画面である。前述のように、返品薬払出装置2における受入部12は、例えば、最大で7個の返却トレイが受け入れられるように構成されている。即ち、図20の病棟登録画面に示すように、受入部12は、7個のトレイ受入棚を備える。個々のトレイ受入棚に実際に返却トレイが設置されると、それに対応して、図20の病棟登録画面の左部において、返却トレイ画像が表示される。
2.3.4. Ward registration process When the ward registration button 38 is touched (or clicked) on the main screen shown in FIG. 7 (a), the ward registration screen shown in FIG. 20 is displayed. This screen is a screen for registering the name of the ward of the return source for each return tray accepted in the receiving unit 12 of the returned drug payout device 2. As described above, the receiving unit 12 in the returned drug payout device 2 is configured to accept, for example, a maximum of seven return trays. That is, as shown in the ward registration screen of FIG. 20, the receiving unit 12 includes seven tray receiving shelves. When the return tray is actually installed on each tray receiving shelf, the return tray image is displayed on the left side of the ward registration screen of FIG. 20 correspondingly.

表示された個々の返却トレイに対して、病棟登録画面の右部では、返却トレイの返却元の病棟名を選択の上、登録することができるようになっている。病棟名のデータは、返却される各薬剤のデータと結び付けて、データベース(例えば、返品薬払出装置在庫用テーブル7a)に格納することができる。 For each displayed return tray, the name of the ward from which the return tray is returned can be selected and registered on the right side of the ward registration screen. The data of the ward name can be combined with the data of each drug returned and stored in a database (for example, the returned drug dispensing device inventory table 7a).

返品薬管理システムにより返却トレイの病棟名を登録することにより、各病棟別の返品薬剤の状況が迅速かつ明確に把握され得ることになる。特に、病棟名のデータは、統計データとして、具体的な帳票等の作成に利用することができる。 By registering the ward name of the return tray with the returned drug management system, the status of the returned drug for each ward can be grasped quickly and clearly. In particular, the ward name data can be used as statistical data to create specific forms and the like.

2.3.5.各種表示処理
図7(a)に示すメイン画面では、様々な各種情報が表示され得る。例えば、画面左部では、返品薬払出装置2の受入部12において、空いている(即ち、実際に返却トレイが設置されていない)トレイ受入棚の数が表示される(図7(a)では、例として「空5」と表示されている。)。また、最下段のNGトレイに薬剤が移されているか否かが表示される(図では、例として「薬品なし」と表示されている。)。
2.3.5. Various display processes Various information can be displayed on the main screen shown in FIG. 7 (a). For example, on the left side of the screen, the number of empty tray receiving shelves in the receiving unit 12 of the returned medicine dispensing device 2 (that is, the return tray is not actually installed) is displayed (in FIG. 7A). , As an example, "empty 5" is displayed.). In addition, it is displayed whether or not the medicine has been transferred to the NG tray at the bottom (in the figure, "no medicine" is displayed as an example).

また、画面右部では、返品薬払出装置2の格納部15に格納された薬剤の、大きさ別の(即ち、S、M、L別の)構成比率が、グラフによりリアルタムで表示される。ここでの「大きさ別の構成比率」とは、(S、M、Lの)各サイズに対応する棚における、対応サイズを備える薬剤が占有する率である。 Further, on the right side of the screen, the composition ratio of the medicines stored in the storage unit 15 of the returned medicine dispensing device 2 by size (that is, by S, M, L) is displayed in real tom by a graph. Here, the "composition ratio by size" is the rate occupied by the drug having the corresponding size on the shelf corresponding to each size (S, M, L).

また、図7(a)に示すメイン画面では、吸着パッド交換メッセージが表示され得る。例えば、薬剤返戻制御装置(薬剤収容制御装置)6の記憶部には、ゴム製の吸着パッド(第1の吸着パッド、第2の吸着パッド)が装着若しくは交換された年月日が、吸着パッドの使用開始日として夫々記憶されている。返品薬管理システム(薬剤仕分装置)は、吸着パッドの使用開始日から所定の期間(例えば、2ヶ月と20日)が経過すれば、指示端末4のメイン画面に「第1の吸着パッド(又は、第2の吸着パッド)を交換すべき3ヶ月が近づいています。」と表示するように構成されている。更に、返品薬管理システム(薬剤仕分装置)は、吸着パッドの使用開始日から所定の期間(例えば、3ヶ月)が経過すれば、指示端末4のメイン画面に「第1の吸着パッド(又は、第2の吸着パッド)を交換すべき3ヶ月が過ぎました。すぐに交換して下さい。」と表示するように構成されている。 Further, on the main screen shown in FIG. 7A, a suction pad replacement message may be displayed. For example, the date when the rubber suction pad (first suction pad, second suction pad) is attached or replaced in the storage unit of the drug return control device (drug storage control device) 6 is the suction pad. It is remembered as the start date of each use. When a predetermined period (for example, 2 months and 20 days) has elapsed from the start date of use of the adsorption pad, the returned drug management system (drug sorting device) displays the "first adsorption pad (or first adsorption pad (or)" on the main screen of the instruction terminal 4. , The second suction pad) is approaching three months to be replaced. " Further, the returned drug management system (drug sorting device) displays the "first adsorption pad (or first adsorption pad (or)" on the main screen of the instruction terminal 4 after a predetermined period (for example, 3 months) has elapsed from the start date of use of the adsorption pad. Three months have passed to replace the second suction pad). Please replace it immediately. "

更に、薬剤返戻制御装置(薬剤収容制御装置)6の記憶部には、吸着パッド(第1の吸着パッド、第2の吸着パッド)の交換日以降の、吸着ノズル及び吸着パッド(第1の吸着ノズル及び第1の吸着パッド、第2の吸着ノズル及び第2の吸着パッド)の稼働回数(即ち、吸着パッドの吸着回数)が夫々記憶されている。返品薬管理システム(薬剤仕分装置)は、吸着パッドの使用開始日からの稼働回数が所定の回数(例えば、27000回)を超えれば、指示端末4のメイン画面に「第1の吸着パッド(又は、第2の吸着パッド)を交換すべき30000回の使用が近づいています。」と表示するように構成されている。更に、返品薬管理システム(薬剤仕分装置)は、吸着パッドの使用開始日からの稼働回数が所定の回数(例えば、30000回)を超えれば、指示端末4のメイン画面に「第1の吸着パッド(又は、第2の吸着パッド)を交換すべき30000回の使用を超えました。すぐに交換して下さい。」と表示するように構成されている。 Further, in the storage unit of the drug return control device (drug storage control device) 6, the suction nozzle and the suction pad (first suction pad) after the replacement date of the suction pads (first suction pad, second suction pad) are stored. The number of times the nozzle, the first suction pad, the second suction nozzle, and the second suction pad are operated (that is, the number of times the suction pad is sucked) is stored. If the number of operations of the returned drug management system (drug sorting device) exceeds a predetermined number of times (for example, 27,000 times) from the start date of use of the adsorption pad, the "first adsorption pad (or the first adsorption pad (or)" is displayed on the main screen of the instruction terminal 4. , The second suction pad) is approaching 30,000 uses to be replaced. " Further, if the number of operations of the returned drug management system (drug sorting device) exceeds a predetermined number of times (for example, 30,000 times) from the start date of use of the adsorption pad, the "first adsorption pad" is displayed on the main screen of the instruction terminal 4. (Or, the second suction pad) has been used more than 30,000 times to be replaced. Please replace it immediately. "

更に、返品薬払出装置(収容薬払出装置)2の認識部14は、吸着パッドの吸引圧力を定期的にモニタする吸引圧力モニタを備えてもよい。そして、吸引圧力モニタがモニタする吸着パッド(第1の吸着パッド、第2の吸着パッド)の吸引圧力が所定値を下回る事態が発生すると、指示端末4のメイン画面に「第1の吸着パッド(又は、第2の吸着パッド)の吸引圧力が低下しています。交換して下さい。」と表示するように、返品薬管理システム(薬剤仕分装置)が構成されてもよい。 Further, the recognition unit 14 of the returned drug dispensing device (accommodated drug dispensing device) 2 may include a suction pressure monitor that periodically monitors the suction pressure of the suction pad. Then, when a situation occurs in which the suction pressure of the suction pads (first suction pad, second suction pad) monitored by the suction pressure monitor falls below a predetermined value, the main screen of the instruction terminal 4 displays the "first suction pad (first suction pad). Alternatively, the returned drug management system (drug sorting device) may be configured to display "The suction pressure of the second suction pad) has decreased. Please replace it."

以上のようなメイン画面における吸着パッド交換メッセージを、表示させるか否かを設定する画面が返品薬管理システム(薬剤仕分装置)にて構築されており、それを指示端末4にて使用できることが好ましい。同様に、吸着パッドを交換すべき所定の使用期間、吸着パッドを交換すべき所定の稼働回数、及び、吸着パッドを交換すべき所定の最低限の吸引圧力値を設定する画面も返品薬管理システム(薬剤仕分装置)にて構築されており、それを指示端末4にて使用できることが好ましい。 It is preferable that a screen for setting whether or not to display the adsorption pad replacement message on the main screen as described above is constructed by the returned drug management system (drug sorting device) and can be used by the instruction terminal 4. .. Similarly, a screen for setting a predetermined period of use in which the suction pad should be replaced, a predetermined number of operations in which the suction pad should be replaced, and a predetermined minimum suction pressure value in which the suction pad should be replaced is also a returned drug management system. It is preferable that it is constructed by (drug sorting device) and can be used by the instruction terminal 4.

また、図7(a)に示すメイン画面では、カセット式注射薬払出機、及び、返品薬払出装置2の格納部15における、カセット薬品の在庫状況を「カセット薬品在庫」ボタン21bにより表示している。まず、カセットにおいて、在庫数がゼロであるカセットが少なくとも一つあれば、「欠品あり」と表示される。「欠品あり」に該当するカセットが無くとも、在庫数が充填基準量(在庫下限)より少なく1以上であるカセットが少なくとも一つあれば、「残少あり」と表示される。「欠品あり」に該当するカセットや「残少あり」に該当するカセットが無く、全てのカセットにおいて、在庫数が最大実装量(在庫定数)と充填基準量(在庫下限)の間にあれば、「適正」と表示される。なお、メイン画面において、払出ラインシステム101の中でのカセットにおける在庫情報を表示するようにしてもよい。 Further, on the main screen shown in FIG. 7A, the inventory status of the cassette drug in the storage unit 15 of the cassette type injection drug dispenser and the returned drug dispenser 2 is displayed by the "cassette drug inventory" button 21b. There is. First, if there is at least one cassette in which the number of stocks is zero, "out of stock" is displayed. Even if there is no cassette corresponding to "out of stock", if there is at least one cassette whose inventory quantity is less than the filling standard amount (stock lower limit) and is 1 or more, "remaining quantity" is displayed. If there is no cassette that corresponds to "out of stock" or "remaining shortage", and the number of stocks is between the maximum mounting amount (stock constant) and the filling standard amount (stock lower limit) for all cassettes. , "Appropriate" is displayed. The inventory information of the cassette in the payout line system 101 may be displayed on the main screen.

2.3.6.入出庫履歴表示処理
図7(a)に示すメイン画面において、照会ボタン32がタッチ(若しくは、クリック)され、更に、「入出庫照会」ボタン(図示せず)がタッチ(若しくは、クリック)されると、図21に示す入出庫照会画面(入出庫履歴画面)が表示される。ここで画面左部の「抽出条件」を入力すれば、データベース5及びローカルデータベース3に格納されるデータに基づいて、抽出条件に適合する入庫データ、即ち返却薬剤データの一覧、又は、出庫データ、即ち払出データ及び回収データの一覧が、表示される。このとき、画面右下部に一覧(抽出条件に適合する返却薬剤データの一覧、又は、抽出条件に適合する払出データ及び回収データの一覧)に含まれるデータ件数が表示される。
2.3.6. Entry / exit history display process On the main screen shown in FIG. 7 (a), the inquiry button 32 is touched (or clicked), and further, the “warehousing / delivery inquiry” button (not shown) is touched (or clicked). Then, the warehousing / delivery inquiry screen (receipt / delivery history screen) shown in FIG. 21 is displayed. If you enter the "extraction condition" on the left side of the screen here, the warehousing data that meets the extraction condition, that is, the list of returned drug data or the warehousing data, based on the data stored in the database 5 and the local database 3 That is, a list of payout data and collection data is displayed. At this time, the number of data included in the list (list of returned drug data conforming to the extraction conditions or list of payout data and collection data conforming to the extraction conditions) is displayed at the lower right of the screen.

図21に示す入出庫照会画面(入出庫履歴画面)の右部では、出庫データの一覧が表示されている。なお、出庫データの一覧では「払出理由」の項目が表示される。払出理由には、「払出」と「指示回収」とが含まれる。払出理由の表示は、ローカルデータベース3の返品薬在庫テーブル9における「払出理由」のフィールドに格納されるデータに基づいて行われる。なお、払出処理時には、返品薬払出装置払出用テーブル7bから払出指示データ87が生成されるので(図5(1)参照)、そのことを受けて返品薬管理システムは、ローカルデータベース3の返品薬在庫テーブル9における「払出理由」のフィールドに「払出」を示すデータを格納する。一方、回収処理時には、返品薬払出装置回収用テーブル7cから回収データ(ダミー処方データ)90が生成されるので(図5(2)参照)、そのことを受けて返品薬管理システムは、ローカルデータベース3の返品薬在庫テーブル9における「払出理由」のフィールドに「指示回収」を示すデータを格納する。 On the right side of the warehousing / delivery inquiry screen (receipt / delivery history screen) shown in FIG. 21, a list of warehousing data is displayed. In the list of shipping data, the item of "reason for withdrawal" is displayed. Reasons for withdrawal include "payout" and "instruction collection". The display of the reason for withdrawal is performed based on the data stored in the field of "reason for withdrawal" in the returned drug inventory table 9 of the local database 3. At the time of the payout process, the payout instruction data 87 is generated from the return drug payout device payout table 7b (see FIG. 5 (1)). Data indicating "payout" is stored in the "payout reason" field in the inventory table 9. On the other hand, at the time of collection processing, collection data (dummy prescription data) 90 is generated from the return drug dispensing device collection table 7c (see FIG. 5 (2)), and in response to this, the returned drug management system is a local database. Data indicating "instruction collection" is stored in the field of "reason for withdrawal" in the returned drug inventory table 9 of 3.

前述のように図21に示す入出庫照会画面(入出庫履歴画面)の右部では、出庫データの一覧が表示されている。表示された一覧リストにおいて、任意の薬品のデータに関する1行がタッチ(若しくは、クリック)されると、返品薬払出装置2の認識部14により取得された、タッチ(若しくは、クリック)された行に関連する薬品の「有効期限(使用期限)」を含む画像データと、返品薬払出装置在庫用テーブル7a内の「有効期限(使用期限)」データとが、表示されている画面(有効期限登録チェック画面)が表示されるようにしてもよい。この有効期限登録チェック画面を利用することにより、返品薬払出装置2において読み取られた有効期限データが正確であるかチェックをすることができる。 As described above, a list of warehousing data is displayed on the right side of the warehousing / delivery inquiry screen (receipt / delivery history screen) shown in FIG. In the displayed list, when one line related to the data of any drug is touched (or clicked), the touched (or clicked) line acquired by the recognition unit 14 of the returned drug dispensing device 2 is displayed. The screen (expiration date registration check) in which the image data including the "expiration date (expiration date)" of the related drug and the "expiration date (expiration date)" data in the returned drug dispensing device inventory table 7a are displayed. The screen) may be displayed. By using this expiration date registration check screen, it is possible to check whether the expiration date data read by the returned drug dispensing device 2 is accurate.

なお、表示する一覧リストにおいては、既に払出や回収が為された返品薬払出装置2には無い薬品についてのデータが表示されているため、それら薬品に関しても返品薬払出装置2が読み取った有効期限データが正確であるかチェックをすることができる。また、このような有効期限登録チェック画面は、既に払出や回収が為され返品薬払出装置2には無い薬品についてのデータも表示することから、有効期限データが不正に変更されることを防ぐために、少なくとも既に払出がされ返品薬払出装置2には無い薬品について、この画面から有効期限データの変更ができないように構成されていることが望ましい。 In the list to be displayed, data on drugs that are not in the returned drug dispensing device 2 that has already been paid out or collected is displayed. Therefore, the expiration date read by the returned drug dispensing device 2 for those drugs as well. You can check if the data is accurate. In addition, since such an expiration date registration check screen also displays data on drugs that have already been withdrawn or collected and are not in the returned drug dispensing device 2, in order to prevent the expiration date data from being changed illegally. It is desirable that the expiration date data cannot be changed from this screen for at least the medicines that have already been paid out and are not in the returned medicine dispensing device 2.

2.3.7.複数の薬品が割り当てられたバーコードに関する表示と薬品の選択
一つの薬品バーコードに対して、複数の薬品が割り当てられていることがある。その場合、返品薬管理システムは複数の薬品が割り当てられていることを示す画面を、指示端末4に表示することができる。更に、指示端末4の当該画面では、複数の薬品のうち一つの薬品を選択することができる。選択後、返品薬管理システムは、その薬品バーコードに対応する薬品として、選択された薬品を使用することになる。
2.3.7. Labeling and drug selection for barcodes to which multiple chemicals are assigned Multiple chemicals may be assigned to a single chemical barcode. In that case, the returned drug management system can display a screen indicating that a plurality of drugs are assigned on the instruction terminal 4. Further, on the screen of the instruction terminal 4, one of a plurality of chemicals can be selected. After selection, the returned drug management system will use the selected drug as the drug corresponding to the drug barcode.

2.3.8.薬品集計表の出力
返品薬管理システムを含む払出ラインシステム101は、ネットワーク接続されたプリンタから帳票出力することができる。図22は帳票の一つである病棟別薬品集計表70を示している。病棟別薬品集計表70は、払出ラインシステム101から払出を行った薬剤について、払出実施日毎に、病棟別に集計を行い出力される帳票である。表内では薬品別に払い出された本数が表示されている。
2.3.8. Output of drug summary table The payout line system 101 including the returned drug management system can output a form from a printer connected to the network. FIG. 22 shows a drug summary table 70 by ward, which is one of the forms. The drug summary table 70 by ward is a form that aggregates and outputs the drugs paid out from the payout line system 101 for each ward for each payout date. In the table, the number of bottles paid out for each drug is displayed.

病棟別薬品集計表70では、薬品別に払い出された本数内に、返品薬払出装置2から払い出されたものが含まれていれば、その旨を示すマーク(図22では、星マーク)72が薬品の本数表示の右側に示される。 In the drug summary table 70 by ward, if the number of drugs paid out by drug includes those paid out from the returned drug payout device 2, a mark (star mark in FIG. 22) 72 indicates that fact. Is shown on the right side of the number of medicines display.

図23は、薬剤返戻制御装置6が出力する払出指示データ87に基づいて、返品薬管理システムを含む払出ラインシステム101が病棟別薬品集計表70を出力する処理のフローチャートである。返品薬管理システムは、払出実行された後の払出指示データ87を順次取り出す(ST102)。順次取り出す払出実行された後の払出指示データ87について、返品薬管理システムは、払出実施日別・病棟別に、払出薬品毎の本数を集計していく。このとき、返品薬払出装置2から払出実行されたものが払出薬品に含まれていれば、返品薬管理システムは、その払出薬品について「返品薬あり」フラグを記憶する(ST104)。払出実行された後の払出指示データ87が終了すれば(ST103・YES)、返品薬管理システムは集計に係る処理を終了する。 FIG. 23 is a flowchart of a process in which the payout line system 101 including the returned drug management system outputs the drug summary table 70 for each ward based on the payout instruction data 87 output by the drug return control device 6. The returned drug management system sequentially retrieves the withdrawal instruction data 87 after the withdrawal is executed (ST102). With respect to the payout instruction data 87 after the payouts are sequentially taken out, the returned medicine management system aggregates the number of medicines to be paid out for each payout date and ward. At this time, if the medicines to be paid out are included in the medicines to be paid out from the returned medicines paying out device 2, the returned medicines management system stores the "returned medicines available" flag for the medicines to be returned (ST104). When the withdrawal instruction data 87 after the withdrawal is executed is completed (ST103 / YES), the returned drug management system ends the processing related to the aggregation.

続いて、返品薬管理システムを含む払出ラインシステム101は、払出実施日別・病棟別に、払出薬品毎の本数を印刷する(ST105)。このとき、払出薬品毎の本数内に返品薬払出装置2から払出された薬品が含まれているならば、即ち、印刷対象の払出薬品について「返品薬あり」フラグが記憶されているならば、返品薬管理システムを含む払出ラインシステム101は、払出薬品の本数データの近傍にマークを印刷する(ST107)。払出薬品の集計データが終了すれば(ST108・YES)、印刷に係る処理は終了する(ST109)。 Subsequently, the payout line system 101 including the returned medicine management system prints the number of medicines to be paid out for each payout date and ward (ST105). At this time, if the medicines paid out from the returned medicines payout device 2 are included in the number of medicines to be paid out, that is, if the "returned medicines available" flag is stored for the medicines to be printed out. The payout line system 101 including the returned medicine management system prints a mark in the vicinity of the number of medicines to be paid out data (ST107). When the aggregated data of the dispensed chemicals is completed (ST108 · YES), the processing related to printing is completed (ST109).

このように、病棟別薬品集計表70において、薬品別に払い出された本数内に返品薬払出装置2から払い出されたものが含まれている場合に、その旨を示すマークが本数表示の右側に示されれば、払出薬品に返品薬剤が含まれていることが明確になる。 In this way, in the drug summary table 70 by ward, when the number of drugs paid out by drug includes the one paid out from the returned drug payout device 2, the mark indicating that fact is on the right side of the number display. If indicated in, it becomes clear that the dispensed drug contains the returned drug.

更に、払出ラインシステム101から払出された薬剤を収集するトレイに対し、払出された薬剤の情報を示す「注射箋」なる箋(紙片)が付加されることがある。この注射箋に表示される薬品情報においても、上記の病棟別薬品集計表70と同様に、返品薬が含まれていることを示すマークを付すことができる。 Further, a stick (paper piece) called an "injection slip" showing information on the dispensed medicine may be added to the tray for collecting the medicines dispensed from the payout line system 101. Similar to the above-mentioned ward-specific drug summary table 70, the drug information displayed on this injection sheet can also be marked to indicate that the returned drug is included.

2.3.9.回収リライトカードの出力
返品薬管理システムが回収動作を行った際には、返却トレイに対して回収リライトカード74を付与する。ここでのリライトカードは、文字情報、図形情報、及びバーコード等の情報を、書換装置により表示変更可能なカードであり、ロイコ方式や白濁方式のものが利用可能である。回収リライトカードとして、これらの方式のリライトカードの代わりに、電子ペーパや液晶ディスプレイが用いられてもよい。
2.3.9. Output of collection rewrite card When the returned drug management system performs a collection operation, the collection rewrite card 74 is attached to the return tray. The rewrite card here is a card in which the display of information such as character information, graphic information, and barcode can be changed by a rewriting device, and a leuco system or a cloudy system can be used. As the recovery rewrite card, electronic paper or a liquid crystal display may be used instead of these types of rewrite cards.

返品薬管理システムを含む払出ラインシステム101が返却トレイに対して付与する「回収リライトカード」74には、回収条件が表示される。図24(a)は、回収リライトカード74における回収条件の表示例である。 The collection conditions are displayed on the "collection rewrite card" 74 given to the return tray by the payout line system 101 including the returned drug management system. FIG. 24A is a display example of the collection conditions in the collection rewrite card 74.

返品薬管理システムは、返品薬払出装置回収用テーブル7cを参照して回収条件を把握する。例えば、長期滞留フラグや有効期限間近フラグなどのフィールドが参照される。即ち、図8(又は図12)に示す薬品回収画面にて入力された抽出条件が、回収リライトカード74に表示される。回収リライトカード74は、例えば、払出ラインシステム101における排出リフタ(リライト付き)117において作成することができる。 The returned drug management system grasps the collection conditions with reference to the returned drug dispensing device collection table 7c. For example, fields such as the long-term retention flag and the near-expiration flag are referenced. That is, the extraction conditions input on the chemical recovery screen shown in FIG. 8 (or FIG. 12) are displayed on the recovery rewrite card 74. The recovery rewrite card 74 can be created, for example, in the discharge lifter (with rewrite) 117 in the payout line system 101.

図24(b)は、図24(a)に示す回収リライトカードを出力する処理のフローチャートである。まず、返品薬払出装置2の回収作業により、薬剤返戻制御装置6の制御部は返品薬払出装置回収用テーブル7cに新規のレコードを作成する(ST122)。返品薬管理システムは、当該レコードによって、回収の理由を取得する(ST123)。排出リフタ(リライト付き)117はリライトカードに当該回収の理由を印刷して、回収のためのトレイと共に出力する(ST124)。 FIG. 24B is a flowchart of the process of outputting the recovery rewrite card shown in FIG. 24A. First, by the collection work of the returned drug dispensing device 2, the control unit of the drug return control device 6 creates a new record in the returned drug dispensing device collection table 7c (ST122). The returned drug management system obtains the reason for collection from the record (ST123). The discharge lifter (with rewrite) 117 prints the reason for the collection on the rewrite card and outputs it together with the tray for collection (ST124).

このように、回収リライトカード74により回収条件が明確に表示されることにより、回収対象の薬品についての処置が即座に把握されることになる。それのみならず、トレイの取り間違いが防止され得るので、回収した後の作業のミスが軽減され、同時に作業効率も向上する。 By clearly displaying the recovery conditions on the recovery rewrite card 74 in this way, the treatment for the drug to be recovered can be immediately grasped. Not only that, mistakes in taking the tray can be prevented, so that mistakes in work after collection are reduced, and at the same time work efficiency is improved.

2・・・返品薬払出装置、3・・・ローカルデータベース、4・・・指示端末、5・・・データベース、6・・・薬剤返戻制御装置、12・・・受入部、14・・・認識部、15・・・格納部、16・・・払出部、101・・・払出ラインシステム、103・・・供給リフタ、105・・・ボトル払出機、107・・・ランダム払出機、109・・・特殊払出機、111・・・冷所払出機、113・・・袋詰機、115・・・プリンタユニット、117・・・排出リフタ(リライト付き)、119・・・積上リフタ。 2 ... Returned drug dispensing device, 3 ... Local database, 4 ... Instruction terminal, 5 ... Database, 6 ... Drug return control device, 12 ... Receiving unit, 14 ... Recognition Unit, 15 ... storage unit, 16 ... payout unit, 101 ... payout line system, 103 ... supply lifter, 105 ... bottle dispenser, 107 ... random payout machine, 109 ... -Special dispenser, 111 ... Cold dispenser, 113 ... Packing machine, 115 ... Printer unit, 117 ... Discharge lifter (with rewrite), 119 ... Stacked lifter.

Claims (6)

処理対象の薬剤の種類に対応する薬剤識別情報とは異なり当該処理対象の薬剤に割り当てられる一意的識別情報と病棟の識別情報とを対応付けて登録する第1処理部と、
前記第1処理部により登録された情報に基づいて前記処理対象の薬剤に関する情報を出力する第2処理部と、
を備える管理システム。
Unlike the drug identification information corresponding to the type of the drug to be processed, the first processing unit that registers the unique identification information assigned to the drug to be processed and the identification information of the ward in association with each other.
A second processing unit that outputs information about the drug to be processed based on the information registered by the first processing unit, and a second processing unit.
Management system equipped with.
前記薬剤は、返品薬剤として登録される薬剤であり、
前記病棟は、前記薬剤の返却元として登録される病棟である、
請求項1に記載の管理システム。
The drug is a drug registered as a returned drug and is a drug.
The ward is a ward registered as a return source of the drug.
The management system according to claim 1.
前記第1処理部は、前記薬剤が収容される収容部に対応する前記病棟の識別情報と当該収容部に収容される前記薬剤の一意的識別情報とを対応付けて登録する、
請求項1又は2に記載の管理システム。
The first processing unit registers the identification information of the ward corresponding to the storage unit in which the drug is housed and the unique identification information of the drug housed in the storage unit in association with each other.
The management system according to claim 1 or 2.
前記管理システムは、前記収容部に収容される前記薬剤について少なくとも前記薬剤識別情報を認識する第3処理部を更に備え、
前記処理対象の薬剤は、前記第3処理部により前記薬剤識別情報が認識された薬剤であり、
前記第1処理部は、前記第3処理部により認識された前記薬剤の前記薬剤識別情報と、当該薬剤に割り当てられる一意的識別情報と、ユーザ操作に応じて選択される前記病棟の識別情報とを対応付ける、
請求項3に記載の管理システム。
The management system further comprises a third processing unit that recognizes at least the drug identification information for the drug contained in the container.
The drug to be treated is a drug whose drug identification information has been recognized by the third processing unit.
The first processing unit includes the drug identification information of the drug recognized by the third processing unit, unique identification information assigned to the drug, and identification information of the ward selected according to a user operation. To associate,
The management system according to claim 3.
一又は複数のプロセッサが、
処理対象の薬剤の種類に対応する薬剤識別情報とは異なり当該処理対象の薬剤に割り当てられる一意的識別情報と病棟の識別情報とを対応付けて登録する第1ステップと、
前記第1ステップにより登録された情報に基づいて前記処理対象の薬剤に関する情報を出力する第2ステップと、
を実行する管理方法。
One or more processors
Unlike the drug identification information corresponding to the type of drug to be treated, the first step of registering the unique identification information assigned to the drug to be treated and the identification information of the ward in association with each other,
A second step of outputting information about the drug to be processed based on the information registered in the first step, and a second step.
How to manage to run.
一又は複数のプロセッサに、
処理対象の薬剤の種類に対応する薬剤識別情報とは異なり当該処理対象の薬剤に割り当てられる一意的識別情報と病棟の識別情報とを対応付けて登録する第1ステップと、
前記第1ステップにより登録された情報に基づいて前記処理対象の薬剤に関する情報を出力する第2ステップと、
を実行させるためのプログラム。
For one or more processors
Unlike the drug identification information corresponding to the type of drug to be treated, the first step of registering the unique identification information assigned to the drug to be treated and the identification information of the ward in association with each other,
A second step of outputting information about the drug to be processed based on the information registered in the first step, and a second step.
A program to execute.
JP2022040983A 2014-08-22 2022-03-16 Medicine distribution device Pending JP2022069588A (en)

Applications Claiming Priority (5)

Application Number Priority Date Filing Date Title
JP2014169815 2014-08-22
JP2014169815 2014-08-22
JP2014230988 2014-11-13
JP2014230988 2014-11-13
JP2020071876A JP7044127B2 (en) 2014-08-22 2020-04-13 Drug sorting method, payout line system, drug return control device, and instruction terminal

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2020071876A Division JP7044127B2 (en) 2014-08-22 2020-04-13 Drug sorting method, payout line system, drug return control device, and instruction terminal

Publications (1)

Publication Number Publication Date
JP2022069588A true JP2022069588A (en) 2022-05-11

Family

ID=55350790

Family Applications (4)

Application Number Title Priority Date Filing Date
JP2015560479A Active JP5904315B1 (en) 2014-08-22 2015-08-20 Drug sorting device
JP2016052848A Active JP6746986B2 (en) 2014-08-22 2016-03-16 Chemical sorting device
JP2020071876A Active JP7044127B2 (en) 2014-08-22 2020-04-13 Drug sorting method, payout line system, drug return control device, and instruction terminal
JP2022040983A Pending JP2022069588A (en) 2014-08-22 2022-03-16 Medicine distribution device

Family Applications Before (3)

Application Number Title Priority Date Filing Date
JP2015560479A Active JP5904315B1 (en) 2014-08-22 2015-08-20 Drug sorting device
JP2016052848A Active JP6746986B2 (en) 2014-08-22 2016-03-16 Chemical sorting device
JP2020071876A Active JP7044127B2 (en) 2014-08-22 2020-04-13 Drug sorting method, payout line system, drug return control device, and instruction terminal

Country Status (5)

Country Link
JP (4) JP5904315B1 (en)
KR (3) KR20220148946A (en)
CN (2) CN106572943A (en)
TW (1) TWI680921B (en)
WO (1) WO2016027849A1 (en)

Families Citing this family (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5904315B1 (en) * 2014-08-22 2016-04-13 株式会社湯山製作所 Drug sorting device
KR102355337B1 (en) * 2016-04-19 2022-01-24 가부시키가이샤 유야마 세이사쿠쇼 An image processing program, and an image processing apparatus
CN107973020B (en) * 2016-10-21 2023-08-25 北京华兴长泰物联网技术研究院有限责任公司 Recovery system and recovery method for medicine container
EP3610843A4 (en) * 2017-04-14 2021-01-27 Yuyama Mfg. Co., Ltd. Drug sorting device, sorting container, and drug return method
JP6902454B2 (en) * 2017-10-26 2021-07-14 Phcホールディングス株式会社 Chemical sorting device and chemical dispensing system equipped with this, chemical sorting method
JP2019076569A (en) * 2017-10-26 2019-05-23 Phcホールディングス株式会社 Drug sorting apparatus and drug put-out system with the same
CN109637030B (en) * 2018-11-20 2021-04-13 深圳市卫邦科技有限公司 Medicine sharing method, dispensing robot and medicine sharing system
JP6587267B2 (en) * 2019-02-06 2019-10-09 株式会社スズケン Pharmaceutical inventory management system and method for determining the amount charged for pharmaceuticals
CN112001664A (en) * 2019-05-08 2020-11-27 北京京东振世信息技术有限公司 Method, device, equipment and storage medium for generating return task
JP7414418B2 (en) 2019-07-12 2024-01-16 Toppanエッジ株式会社 Pharmaceutical management system
JP7287160B2 (en) * 2019-07-18 2023-06-06 株式会社ダイフク picking equipment
CN110482091B (en) * 2019-08-16 2024-01-30 常州市第二人民医院 Large transfusion feeding system and large transfusion feeding management method
FR3101568B1 (en) * 2019-10-03 2022-08-05 Aleph Sas METHOD FOR MANUFACTURING A FILM COMPRISING CAVITIES WITH DETERMINATION OF DRAWING PROFILES, DENSITY, THICKNESS AND/OR POROSITY OF THE FILM
KR102216641B1 (en) * 2020-02-24 2021-02-17 쿠팡 주식회사 Operation Method For Location Recommendation And Apparatus Therefor

Family Cites Families (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08322912A (en) * 1995-05-30 1996-12-10 Sanyo Electric Co Ltd Tablet inspection system
US20040172283A1 (en) * 2003-02-09 2004-09-02 Vanderveen Timothy W. Medication management and event logger and analysis system
US6597969B2 (en) * 2001-06-22 2003-07-22 Shlomo Greenwald Hospital drug distribution system
JP2004139423A (en) * 2002-10-18 2004-05-13 Casio Comput Co Ltd Medicine history data processor and program
JP2004188167A (en) * 2002-10-18 2004-07-08 Yuyama Manufacturing Co Ltd Medicine management system
JP3988876B2 (en) * 2002-12-27 2007-10-10 株式会社トーショー Prescription drug dispensing support system
JP2004287833A (en) * 2003-03-20 2004-10-14 General Business Service Kk Dispensing work support system, medicine storage system and medicine distribution management system
JP2004345837A (en) * 2003-05-26 2004-12-09 Central Uni Co Ltd Storage device for medical treatment
WO2006046642A1 (en) * 2004-10-28 2006-05-04 Yuyama Mfg. Co., Ltd. Dispening support system and dispensing support method
JP5119593B2 (en) * 2005-01-13 2013-01-16 株式会社湯山製作所 Article dispensing apparatus, method, and medicine dispensing apparatus
JP2008206850A (en) * 2007-02-27 2008-09-11 Kansai Seiki Kogyo Kk Medicine container aligning apparatus, medicine identification ic tag, tag attaching apparatus, medicine storage cabinet, and medicine management system
JP4253357B1 (en) * 2007-09-27 2009-04-08 株式会社湯山製作所 Hand-made medicine supply device, medicine hand-making method, and medicine packaging device
US20110060448A1 (en) * 2009-03-31 2011-03-10 Makoto Gotou Medicine management method
JP4960988B2 (en) * 2009-05-14 2012-06-27 株式会社トーショー Chemical management device and chemical management system
KR101194189B1 (en) * 2010-04-06 2012-10-25 (주)제이브이엠 Automatic medication control system
JP2011104188A (en) * 2009-11-19 2011-06-02 Panasonic Corp Medicine management device and method
CN110391028A (en) * 2010-08-13 2019-10-29 智能医学公司 System and method for producing personalized customization drug products
KR20120095196A (en) * 2011-02-18 2012-08-28 (주)제이브이엠 Automatic warehousing and delivery management system for medicine and the warehousing and delivery method thereof
JP5902022B2 (en) 2012-04-06 2016-04-13 株式会社セントラルユニ Returned medicine sorting apparatus and returned medicine sorting method
JP6118962B2 (en) * 2012-04-24 2017-04-26 株式会社タカゾノテクノロジー Dispensing system
JP5904315B1 (en) * 2014-08-22 2016-04-13 株式会社湯山製作所 Drug sorting device

Also Published As

Publication number Publication date
KR102398298B1 (en) 2022-05-16
KR20220148946A (en) 2022-11-07
JP6746986B2 (en) 2020-08-26
CN106572943A (en) 2017-04-19
TW201609503A (en) 2016-03-16
KR20220066196A (en) 2022-05-23
JP2016116942A (en) 2016-06-30
JPWO2016027849A1 (en) 2017-04-27
WO2016027849A1 (en) 2016-02-25
CN112133448A (en) 2020-12-25
JP2020104023A (en) 2020-07-09
TWI680921B (en) 2020-01-01
JP7044127B2 (en) 2022-03-30
JP5904315B1 (en) 2016-04-13
KR102461105B1 (en) 2022-10-31
KR20170047233A (en) 2017-05-04

Similar Documents

Publication Publication Date Title
JP7044127B2 (en) Drug sorting method, payout line system, drug return control device, and instruction terminal
US7860724B2 (en) System and method for management of pharmacy workflow
JP7372584B2 (en) Medicine storage and dispensing device
US20040054436A1 (en) Medication dispensing system including medicine cabinet and tray therefor
WO2005123003A1 (en) Medicine management device and management system
KR101122501B1 (en) Preparation control system
WO2015060296A1 (en) Drug distribution assistance system
JP4398210B2 (en) Chemical management device and chemical management system
JP4903841B2 (en) Chemical management device
JP6010579B2 (en) Automatic medicine picking method
JP7436780B2 (en) Packaging data generation device, packaging system, number of packages determining device, limit date determining device, and packaging data generation program
JP2023043187A (en) Controller, management device, display controller, control program and management program
JP2020149276A (en) Pharmacy management system and pharmacy management program
JP2023017100A (en) Medicine preparation support system, medicine preparation support method, and medicine preparation support program
JP2007265445A (en) Pharmacy system
KR20120022451A (en) Cart for managing medicine and method for managing medicine using the cart

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20220414

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20230620

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20231010

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20231208

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20240206

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20240408

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20240416