JP2017196260A - Medicine preparation control system and method - Google Patents

Medicine preparation control system and method Download PDF

Info

Publication number
JP2017196260A
JP2017196260A JP2016090947A JP2016090947A JP2017196260A JP 2017196260 A JP2017196260 A JP 2017196260A JP 2016090947 A JP2016090947 A JP 2016090947A JP 2016090947 A JP2016090947 A JP 2016090947A JP 2017196260 A JP2017196260 A JP 2017196260A
Authority
JP
Japan
Prior art keywords
dispensing
prescription data
control system
condition
dispensing process
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2016090947A
Other languages
Japanese (ja)
Other versions
JP6769089B2 (en
Inventor
啓史 家田
Hiroshi Ieda
啓史 家田
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
Priority to JP2016090947A priority Critical patent/JP6769089B2/en
Publication of JP2017196260A publication Critical patent/JP2017196260A/en
Application granted granted Critical
Publication of JP6769089B2 publication Critical patent/JP6769089B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

PROBLEM TO BE SOLVED: To provide a medicine preparation control system and method capable of improving convenience for a user.SOLUTION: A prescription data acquisition part (104) acquires object prescription data which is an object of medicine preparation processing. A setting data storage part (101) stores set data which is set to determine whether or not automatic start of the medicine preparation processing is restricted. A determination part (107) determines whether or not to restrict the automatic start of the medicine preparation processing on the basis of the set data. A first start control part (111) automatically causes a medicine preparation execution part to start the medicine preparation processing of the object prescription data when it is determined that, the automatic start of the medicine preparation processing is not restricted. A second start control part (112) causes the medicine preparation execution part to start the medicine preparation processing of the object prescription data, when receiving a start instruction of the medicine preparation processing from a prescribed person who has authority, when it is determined that the automatic start of the medicine preparation processing is restricted.SELECTED DRAWING: Figure 4

Description

本発明は調剤制御システム及び調剤制御方法に関する。   The present invention relates to a dispensing control system and a dispensing control method.

処方データに基づいて調剤処理を実行する調剤装置が知られている。例えば、処方データに基づいてロボットが全自動で調剤処理を実行するような調剤装置が知られている。   Dispensing devices that perform dispensing processing based on prescription data are known. For example, a dispensing device is known in which a robot executes a dispensing process fully automatically based on prescription data.

特開2013−052250号公報JP2013-052250A

上記のような調剤装置の中には、処方データが入力又は受信されたら調剤処理を自動的に開始することが可能な調剤装置が存在する。このような調剤装置の使用者の中には、調剤処理を自動的に開始させることを望む使用者もいれば、所定の権限者が処方情報を確認した後で調剤処理を開始させることを望む使用者もいる。また、特定の場合には、所定の権限者が処方情報を確認した後で調剤処理を開始させ、それ以外の場合には、調剤処理を自動的に開始させることを望む使用者もいる。この点、従来は調剤処理の開始の仕方が使用者の要望に合っていない場合があり、利用者の利便性の点で十分でないところがあった。   Among the dispensing apparatuses as described above, there is a dispensing apparatus that can automatically start the dispensing process when prescription data is input or received. Some users of such a dispensing device want to automatically start the dispensing process, and some users want to start the dispensing process after confirming prescription information. Some users. In certain cases, there are also users who want to start the dispensing process after a predetermined authority confirms the prescription information, and to automatically start the dispensing process in other cases. In this regard, conventionally, there are cases where the method of starting the dispensing process does not meet the user's request and is not sufficient in terms of convenience for the user.

本発明は上記課題に鑑みてなされたものであって、その目的は、使用者の利便性を向上することが可能な調剤制御システム及び調剤制御方法を提供することにある。   This invention is made | formed in view of the said subject, The objective is to provide the dispensing control system and the dispensing control method which can improve a user's convenience.

上記課題を解決するために、本発明に係る調剤制御システムは、調剤処理を調剤実行手段に自動的に開始させることが可能な調剤制御システムにおいて、前記調剤処理の対象となる対象処方データを取得する処方データ取得手段と、前記調剤処理の自動開始を制限するか否かを判断するために設定された設定データを記憶する設定データ記憶手段と、前記設定データに基づいて、前記調剤処理の自動開始を制限するか否かを判断する判断手段と、前記調剤処理の自動開始を制限しないと判断された場合、自動的に、前記対象処方データの前記調剤処理を前記調剤実行手段に開始させる第1開始制御手段と、前記調剤処理の自動開始を制限すると判断された場合、前記調剤処理の開始指示を所定の権限者から受け付けた場合に、前記対象処方データの前記調剤処理を前記調剤実行手段に開始させる第2開始制御手段とを含む。   In order to solve the above-described problems, a dispensing control system according to the present invention acquires target prescription data to be a target of the dispensing process in a dispensing control system capable of automatically starting a dispensing process by a dispensing execution unit. Prescribing data acquisition means, setting data storage means for storing setting data set for determining whether or not to restrict automatic start of the dispensing process, and automatic dispensing process based on the setting data A determination means for determining whether or not to limit the start, and when it is determined not to restrict the automatic start of the dispensing process, the dispensing execution means for automatically starting the dispensing process of the target prescription data. 1 start control means, when it is determined that the automatic start of the dispensing process is restricted, and when the start instruction of the dispensing process is received from a predetermined authority, the target prescription data And a second start control means for starting the dispensing process of data to said dispensing execution unit.

また、本発明に係る調剤制御方法は、調剤処理の対象となる対象処方データを取得する処方データ取得ステップと、前記調剤処理の自動開始を制限するか否かを判断するために設定された設定データに基づいて、前記調剤処理の自動開始を制限するか否かを判断する判断ステップと、前記調剤処理の自動開始を制限しないと判断された場合、自動的に、前記対象処方データの前記調剤処理を調剤実行手段に開始させる第1開始制御ステップと、前記調剤処理の自動開始を制限すると判断された場合、前記調剤処理の開始指示を所定の権限者から受け付けた場合に、前記対象処方データの前記調剤処理を前記調剤実行手段に開始させる第2開始制御ステップとを含む。   Further, the dispensing control method according to the present invention includes a prescription data acquisition step for acquiring target prescription data to be subjected to a dispensing process, and a setting set to determine whether or not to restrict the automatic start of the dispensing process A determination step for determining whether or not to limit the automatic start of the dispensing process based on the data; and if it is determined not to limit the automatic start of the dispensing process, the dispensing of the target prescription data is automatically performed A first start control step for causing the dispensing execution means to start processing, and when it is determined to limit the automatic start of the dispensing process, and when an instruction to start the dispensing process is received from a predetermined authority, the target prescription data A second start control step for causing the dispensing execution means to start the dispensing process.

また、本発明の一態様では、前記設定データには、前記調剤処理の自動開始を制限する必要のある処方データに関する条件、又は、前記調剤処理の自動開始を制限する必要のない処方データに関する条件が設定されるようにしてもよい。前記調剤制御システムは、前記対象処方データが前記条件を満足するか否かを判定する対象処方データ判定手段を含むようにしてもよい。前記判断手段は、前記対象処方データ判定手段の判定結果に基づいて、前記調剤処理の自動開始を制限するか否かを判断するようにしてもよい。   Moreover, in one aspect of the present invention, the setting data includes a condition relating to prescription data that needs to limit the automatic start of the dispensing process, or a condition related to prescription data that does not need to restrict the automatic start of the dispensing process. May be set. The dispensing control system may include target prescription data determination means for determining whether the target prescription data satisfies the condition. The determination means may determine whether or not to restrict the automatic start of the dispensing process based on the determination result of the target prescription data determination means.

また、本発明の一態様では、前記条件は、前記対象処方データに特定の薬剤が患者に提供されるべき薬剤として含まれているか否かに関する条件を含むようにしてもよい。   Moreover, in one aspect of the present invention, the condition may include a condition regarding whether or not a specific drug is included in the target prescription data as a drug to be provided to a patient.

また、本発明の一態様では、前記条件は、前記対象処方データに含まれる患者データに関する条件を含むようにしてもよい。   Moreover, in one aspect of the present invention, the condition may include a condition related to patient data included in the target prescription data.

また、本発明の一態様では、前記処方データ取得手段は、他のシステムで入力された処方データを前記対象処方データとして取得するようにしてもよい。前記他のシステムでは処方データに対する監査が行われるようにしてもよい。前記条件は、前記対象処方データに対する前記監査の結果が所定の結果であったか否かの条件を含むようにしてもよい。   Moreover, in one aspect of the present invention, the prescription data acquisition unit may acquire prescription data input by another system as the target prescription data. In the other system, the prescription data may be audited. The condition may include a condition as to whether or not the result of the audit for the target prescription data is a predetermined result.

また、本発明の一態様では、処方データの入力を受け付けるための入力画面を表示手段に表示させる表示制御手段を含むようにしてもよい。前記処方データ取得手段は、前記入力画面を介して入力された処方データを前記対象処方データとして取得する第1処方データ取得手段と、他のシステムで入力された処方データを前記対象処方データとして取得する第2処方データ取得手段と、を含むようにしてもよい。前記条件は、前記対象処方データが、前記入力画面を介して入力された処方データと、前記他のシステムで入力された処方データとのいずれであるのかの条件を含むようにしてもよい。   Moreover, in one aspect of the present invention, a display control unit that displays an input screen for receiving input of prescription data on the display unit may be included. The prescription data acquisition means acquires first prescription data acquisition means for acquiring prescription data input via the input screen as the target prescription data, and acquires prescription data input by another system as the target prescription data. And a second prescription data acquisition means. The condition may include a condition indicating whether the target prescription data is prescription data input via the input screen or prescription data input by the other system.

また、本発明の一態様では、前記条件は、前記対象処方データが、同一の患者に過去に処方されたことのある処方データと同一又は類似の処方データであるか否かの条件を含むようにしてもよい。   Moreover, in one aspect of the present invention, the condition includes a condition as to whether or not the target prescription data is prescription data that is the same as or similar to prescription data that has been prescribed to the same patient in the past. Also good.

また、本発明の一態様では、前記条件は、前記対象処方データと同一又は類似の処方データの調剤処理が過去に前記調剤実行手段によって実行されたことがあるか否かの条件を含むようにしてもよい。   In the aspect of the invention, the condition may include a condition as to whether or not a dispensing process of prescription data that is the same as or similar to the target prescription data has been executed by the dispensing execution unit in the past. Good.

また、本発明の一態様では、前記判断手段は、前記対象処方データが、同一の患者に過去に処方されたことのある処方データと同一又は類似の処方データであったとしても、前記対象処方データと同一又は類似の処方データの調剤処理が過去に前記調剤実行手段によって実行されたことがない場合には、前記調剤処理の自動開始を制限すると判断するようにしてもよい。   Moreover, in one aspect of the present invention, the determination unit may determine whether the target prescription data is the same or similar prescription data to prescription data that has been previously prescribed to the same patient. When the dispensing process of the prescription data that is the same as or similar to the data has not been executed by the dispensing execution unit in the past, it may be determined that the automatic start of the dispensing process is restricted.

また、本発明の一態様では、前記条件は、当該調剤制御システムに現在ログインしている者が、前記対象処方データと同一又は類似の処方データの調剤処理が過去に前記調剤実行手段によって実行された際に当該調剤制御システムにログインしていた者と同一であるか否かの条件を含むようにしてもよい。   In one aspect of the present invention, the condition may be that a person who is currently logged in to the dispensing control system executes dispensing processing of prescription data that is the same as or similar to the target prescription data by the dispensing execution means in the past. May include a condition as to whether or not it is the same as the person who has logged into the dispensing control system.

また、本発明の一態様では、前記条件は、前記対象処方データに基づいて予測される前記調剤処理の実行に要する時間に関する条件を含むようにしてもよい。   Moreover, in one aspect of the present invention, the condition may include a condition relating to a time required to execute the dispensing process predicted based on the target prescription data.

また、本発明の一態様では、前記設定データには、前記調剤処理の自動開始を制限する必要のある処方データに関する条件、又は、前記調剤処理の自動開始を制限する必要のない処方データに関する条件が設定されるようにしてもよい。前記調剤制御システムは、直前に実行された前記調剤処理の対象であった処方データが前記条件を満足するか否かを判定する直前処方データ判定手段を含むようにしてもよい。前記判断手段は、前記直前処方データ判定手段の判定結果に基づいて、前記調剤処理の自動開始を制限するか否かを判断するようにしてもよい。   Moreover, in one aspect of the present invention, the setting data includes a condition relating to prescription data that needs to limit the automatic start of the dispensing process, or a condition related to prescription data that does not need to restrict the automatic start of the dispensing process. May be set. The dispensing control system may include immediately preceding prescription data determination means for determining whether or not the prescription data that was the target of the dispensing process executed immediately before satisfies the condition. The determination means may determine whether or not to restrict the automatic start of the dispensing process based on the determination result of the immediately preceding prescription data determination means.

また、本発明の一態様では、前記設定データには、前記調剤処理の自動開始を制限する必要のある日又は時刻に関する条件、又は、前記調剤処理の自動開始を制限する必要のない日又は時刻に関する条件が設定されるようにしてもよい。前記調剤制御システムは、現在が前記条件を満足するか否かを判定する日時判定手段を含むようにしてもよい。前記判断手段は、前記日時判定手段の判定結果に基づいて、前記調剤処理の自動開始を制限するか否かを判断するようにしてもよい。   Moreover, in one aspect of the present invention, the setting data includes a condition relating to a day or time that needs to be limited to the automatic start of the dispensing process, or a date or time that does not need to limit the automatic start of the dispensing process. The condition regarding may be set. The dispensing control system may include date and time determination means for determining whether or not the current condition satisfies the condition. The determination unit may determine whether to restrict the automatic start of the dispensing process based on the determination result of the date / time determination unit.

また、本発明の一態様では、前記対象処方データに基づいて、前記権限者を設定する権限者設定手段を含むようにしてもよい。   Moreover, in 1 aspect of this invention, you may make it include the authorized person setting means to set the authorized person based on the said object prescription data.

また、本発明の一態様では、前記処方データに関する条件と関連付けて、当該処方データの前記調剤処理の開始を指示することが可能な権限者を特定するための権限者特定データを記憶する権限者特定データ記憶手段を含むようにしてもよい。前記権限者設定手段は、前記調剤処理の対象である対象処方データが前記条件を満足する場合に、当該条件と関連付けられた前記権限者特定データに基づいて、前記権限者を設定するようにしてもよい。   Moreover, in one aspect of the present invention, an authorized person that stores authorized person specifying data for specifying an authorized person who can instruct the start of the dispensing process of the prescribed data in association with the conditions related to the prescribed data. Specific data storage means may be included. The authorized person setting means sets the authorized person based on the authorized person specifying data associated with the condition when the target prescription data that is the target of the dispensing process satisfies the condition. Also good.

また、本発明の一態様では、前記権限者設定手段は、直前に実行された前記調剤処理の対象であった処方データに基づいて、前記権限者を設定する手段を含むようにしてもよい。   Moreover, in one aspect of the present invention, the authority setting means may include means for setting the authority based on prescription data that was the object of the dispensing process executed immediately before.

また、本発明の一態様では、前記調剤処理の対象である対象処方データと、当該調剤処理の開始指示を行った権限者に関する権限者データと、当該権限者によって入力されたコメントデータとを関連付けて所定の記憶手段に登録する登録手段を含むようにしてもよい。   Moreover, in one aspect of the present invention, the target prescription data that is the target of the dispensing process, the authority data related to the authority who issued the instruction to start the dispensing process, and the comment data input by the authority are associated with each other. Registration means for registering in a predetermined storage means may be included.

また、本発明の一態様では、前記調剤実行手段は、(a)散薬の自動調剤・分包装置又はシステム、(b)錠剤の自動調剤・分包装置又はシステム、(c)水剤の自動調剤・分注装置又はシステム、(d)抗癌剤の自動混注装置又はシステム、(e)調剤鑑査装置又はシステム、(f)これらの装置のうちのいずれか一種類の装置又はシステムが複数接続された態様、又は、(g)これらの装置のうちの複数種類の装置又はシステムが接続された態様のいずれかであってもよい。   In one aspect of the present invention, the dispensing execution means includes (a) an automatic dispensing / packaging device or system for powder, (b) an automatic dispensing / packaging device or system for tablets, and (c) an automatic liquid medicine. Dispensing / dispensing device or system, (d) automatic anti-cancer drug injection device or system, (e) dispensing inspection device or system, (f) any one of these devices or systems connected Aspect or (g) Any of the aspects in which a plurality of types of apparatuses or systems among these apparatuses are connected may be used.

本発明によれば、調剤処理の自動開始を制限するか否かを設定することが可能になり、その結果、使用者の利便性を向上することが可能になる。   According to the present invention, it is possible to set whether to restrict the automatic start of the dispensing process, and as a result, it is possible to improve the convenience for the user.

本発明の実施形態に係る調剤制御システムの構成について説明するための図である。It is a figure for demonstrating the structure of the dispensing control system which concerns on embodiment of this invention. 一覧画面の一例を示す図である。It is a figure which shows an example of a list screen. 指示画面の一例を示す図である。It is a figure which shows an example of an instruction | indication screen. 本発明の実施形態に係る調剤制御システムの機能ブロック図である。It is a functional block diagram of the dispensing control system which concerns on embodiment of this invention. 使用者テーブルの一例を示す図である。It is a figure which shows an example of a user table. 患者テーブルの一例を示す図である。It is a figure which shows an example of a patient table. 処方データテーブルの一例を示す図である。It is a figure which shows an example of a prescription data table. 実行履歴テーブルの一例を示す図である。It is a figure which shows an example of an execution history table. 自動開始機能フラグの一例を示す図である。It is a figure which shows an example of an automatic start function flag. 例外条件テーブルの一例を示す図である。It is a figure which shows an example of an exception condition table. 権限者特定テーブルの一例を示す図である。It is a figure which shows an example of an authorized person specific table. 調剤制御システムで実行される処理の一例を示すフロー図である。It is a flowchart which shows an example of the process performed with a dispensing control system. 調剤制御システムで実行される処理の他の一例を示すフロー図である。It is a flowchart which shows another example of the process performed with a dispensing control system. 本発明の他の実施形態に係る調剤制御システムの構成について説明するための図である。It is a figure for demonstrating the structure of the dispensing control system which concerns on other embodiment of this invention. 例外条件テーブルの他の一例を示す図である。It is a figure which shows another example of an exception condition table. 例外条件テーブルの他の一例を示す図である。It is a figure which shows another example of an exception condition table. 本発明の他の実施形態に係る調剤制御システムの機能ブロック図である。It is a functional block diagram of the dispensing control system which concerns on other embodiment of this invention. 本発明の他の実施形態に係る調剤制御システムで実行される処理の一例を示すフロー図である。It is a flowchart which shows an example of the process performed with the dispensing control system which concerns on other embodiment of this invention.

以下、本発明の実施形態について図面を参照しながら説明する。図面では同一又は同等の要素には同一の符号を付し、重複する説明を省略する。なお、調剤業界では「調剤」と「調製」との語が区別して用いられる場合があるが、本明細書では「調剤」を広義の意味で用いており、本明細書における「調剤」には、狭義の意味での「調剤」(すなわち「調製」と区別される「調剤」)と、「調製」との両方が含まれることとする。   Hereinafter, embodiments of the present invention will be described with reference to the drawings. In the drawings, the same or equivalent elements are denoted by the same reference numerals, and redundant description is omitted. In the dispensing industry, the terms “dispensing” and “preparation” may be used separately, but in this specification, “dispensing” is used in a broad sense, and “dispensing” in this specification is Both “preparation” in the narrow sense (ie “preparation” distinguished from “preparation”) and “preparation” are included.

[1.全体構成]図1は、本発明の実施形態に係る調剤制御システムの構成について説明するための図である。図1には、本発明の実施形態に係る調剤制御システム1と、上位システム2とが示されている。   [1. Overall Configuration] FIG. 1 is a diagram for explaining the configuration of a dispensing control system according to an embodiment of the present invention. FIG. 1 shows a dispensing control system 1 and a host system 2 according to an embodiment of the present invention.

図1に示すように、調剤制御システム1は制御装置10とデータベース17と調剤装置20とを含み、調剤処理を調剤装置20に実行させるための制御を行うシステムである。   As shown in FIG. 1, the dispensing control system 1 includes a control device 10, a database 17, and a dispensing device 20, and performs a control for causing the dispensing device 20 to execute a dispensing process.

制御装置10は1又は複数のコンピュータによって実現される。図1に示すように、制御装置10は制御部11、記憶部12、通信部13、操作部14、表示部15、及び印刷部16を含む。   The control device 10 is realized by one or a plurality of computers. As shown in FIG. 1, the control device 10 includes a control unit 11, a storage unit 12, a communication unit 13, an operation unit 14, a display unit 15, and a printing unit 16.

制御部11は1又は複数のマイクロプロセッサを含み、記憶部12に記憶されたプログラムに従って処理を実行する。記憶部12は、例えば主記憶(RAM等)及び補助記憶(ハードディスクドライブ又はソリッドステートドライブ等)の情報記憶媒体を含み、制御部11によって実行されるプログラムを記憶する。記憶部12は制御部11のワークメモリとしても動作する。通信部13は他の装置と通信ネットワークを介してデータ通信するためのものである。   The control unit 11 includes one or a plurality of microprocessors, and executes processing according to a program stored in the storage unit 12. The storage unit 12 includes, for example, an information storage medium such as a main storage (such as a RAM) and an auxiliary storage (such as a hard disk drive or a solid state drive), and stores a program executed by the control unit 11. The storage unit 12 also operates as a work memory for the control unit 11. The communication unit 13 is for data communication with other devices via a communication network.

例えば、プログラム又はデータは通信ネットワークを介して制御装置10に提供される。なお、制御装置10は、例えばメモリカード又は光ディスク等のコンピュータで読み取り可能な情報記憶媒体に記憶されたプログラム又はデータを読み出すための構成要素を含むようにしてもよい。そして、プログラム又はデータが情報記憶媒体を介して制御装置10に提供されるようにしてもよい。   For example, the program or data is provided to the control device 10 via a communication network. The control device 10 may include a component for reading a program or data stored in a computer-readable information storage medium such as a memory card or an optical disk. The program or data may be provided to the control device 10 via the information storage medium.

操作部14はユーザの操作を受け付けるためのものであり、例えばキーボード、マウス、タッチパッド、又はタッチパネル等である。表示部15は制御部11からの指示に従って画面を表示するものであり、例えば液晶ディスプレイ又は有機ELディスプレイ等である。印刷部16は制御部11からの指示に従って印刷を行うものであり、例えばプリンタ装置等である。   The operation unit 14 is for receiving a user operation, and is, for example, a keyboard, a mouse, a touch pad, or a touch panel. The display unit 15 displays a screen according to an instruction from the control unit 11, and is, for example, a liquid crystal display or an organic EL display. The printing unit 16 performs printing in accordance with an instruction from the control unit 11 and is, for example, a printer device.

制御装置10はデータベース17にアクセスすることが可能である。データベース17は制御装置10で実現されていてもよいし、制御装置10とは別のコンピュータで実現されていてもよい。データベース17に記憶されるデータについては後述する(図5〜11,15,16参照)。   The control device 10 can access the database 17. The database 17 may be realized by the control device 10 or may be realized by a computer different from the control device 10. The data stored in the database 17 will be described later (see FIGS. 5 to 11, 15, and 16).

調剤装置20(調剤実行手段の一例)は、調剤処理を実行する装置であって、例えば、処方データに基づいて調剤処理を人の操作(作業)を要することなく全自動で実行することが可能な装置である。なお、調剤装置20は「調剤システム」と称されるものであってもよい。   The dispensing device 20 (an example of a dispensing execution unit) is a device that performs dispensing processing. For example, the dispensing processing can be performed fully automatically based on prescription data without requiring a human operation (work). Device. Dispensing device 20 may be called a “dispensing system”.

調剤処理は、例えば、散薬(散剤)の調剤・分包、錠剤の調剤・分包、水剤の調剤・分注、抗癌剤の混注、又は、調剤された各種薬品の鑑査等の少なくとも一つを含む。また、調剤装置20は、例えば、散薬(散剤)の自動調剤・分包装置、錠剤の自動調剤・分包装置、水剤の自動調剤・分注装置、抗癌剤の自動混注装置、又は、調剤鑑査装置等である。または、調剤装置20は、これらの装置のうちのいずれか一種類の装置が複数接続されたものであってもよい。あるいは、調剤装置20は、これらの装置のうちの複数種類の装置が接続されたものであってもよい。   Dispensing treatment is, for example, at least one of dispensing (separation) of powder (dispensing), dispensing / separation of tablets, dispensing / dispensing of liquid medicine, mixed injection of anticancer drugs, or inspection of various medicines dispensed. Including. The dispensing device 20 is, for example, an automatic dispensing / dispensing device for powders (powder), an automatic dispensing / packaging device for tablets, an automatic dispensing / dispensing device for liquids, an automatic mixture dispensing device for anticancer agents, or a dispensing inspection. Device. Alternatively, the dispensing device 20 may be a device in which a plurality of any one of these devices are connected. Alternatively, the dispensing device 20 may be a device to which a plurality of types of devices among these devices are connected.

例えば、調剤装置20は単腕又は双腕型のロボットを含み、当該ロボットによって調剤処理が実行されるような調剤装置である。より具体的には、例えば、ロボットが装置の筐体内に設置された複数の薬剤容器に種類毎に収納された散薬を用いて散薬の秤量及び分包等を行うような散薬の自動調剤・分包装置が調剤装置20の一例に相当する。また例えば、ロボットが装置の筐体内に設置された複数の薬剤を混合して抗癌剤を調剤するような抗癌剤の自動混注装置も調剤装置20の一例に相当する。   For example, the dispensing device 20 includes a single-arm or double-arm robot, and is a dispensing device in which a dispensing process is executed by the robot. More specifically, for example, the automatic dispensing / dispensing of powder such that the robot performs weighing and packaging of the powder using the powder stored for each type in a plurality of drug containers installed in the housing of the apparatus. The packaging device corresponds to an example of the dispensing device 20. In addition, for example, an automatic anti-cancer agent co-infusion apparatus in which a robot mixes a plurality of medicines installed in a housing of the apparatus and dispenses the anti-cancer agent corresponds to an example of the dispensing apparatus 20.

調剤装置20はロボットを利用したものに限られない。例えば、ロボット以外の特定の機構によって、装置の筐体内に設置された複数の薬剤容器から対象の錠剤が自動的に取り出されて分包されるような錠剤の自動調剤・分包装置も調剤装置20の一例に相当する。   The dispensing device 20 is not limited to one using a robot. For example, an automatic dispensing / packaging device for tablets in which a target tablet is automatically taken out and packaged from a plurality of drug containers installed in a housing of the device by a specific mechanism other than a robot is also a dispensing device. 20 examples.

なお、図1では制御装置10と調剤装置20とが別個の装置として示されているが、制御装置10と調剤装置20とは一体的に構成されていてもよい。すなわち、制御装置10は調剤装置20の調剤実行機能を備えるようにしてもよい。言い換えれば、調剤装置20が制御装置10の機能を備えるようにしてもよい。   In FIG. 1, the control device 10 and the dispensing device 20 are shown as separate devices, but the control device 10 and the dispensing device 20 may be configured integrally. That is, the control device 10 may have a dispensing execution function of the dispensing device 20. In other words, the dispensing device 20 may have the function of the control device 10.

上位システム2では処方データが入力され、上位システム2で入力された処方データは鑑査された後、調剤制御システム1に提供される。例えば、上位システム2の端末が病院内の診療部門に設置され、調剤制御システム1は病院内の調剤部門に設置される。また例えば、上位システム2は病院に設置され、調剤制御システム1は調剤薬局に設置される。   The host system 2 receives prescription data, and the prescription data input by the host system 2 is inspected and then provided to the dispensing control system 1. For example, the terminal of the host system 2 is installed in the medical department in the hospital, and the dispensing control system 1 is installed in the dispensing department in the hospital. For example, the host system 2 is installed in a hospital, and the dispensing control system 1 is installed in a dispensing pharmacy.

調剤制御システム1でも処方データを入力することが可能である。すなわち、調剤制御システム1では、処方データの入力を受け付けるための入力画面(図示せず)が表示部15に表示されるようになっており、調剤制御システム1の使用者は、紙で発行された処方箋を患者から受け取り、当該処方箋を参照しながら処方データを入力することが可能である。つまり、調剤制御システム1では、上位システム2で入力された処方データに基づいて調剤処理を調剤装置20に実行させることも可能であるし、調剤制御システム1で入力された処方データに基づいて調剤処理を調剤装置20に実行させることも可能である。なお、上位システム2は必須のものではなく、上位システム2を設置しなくてもよい。   The dispensing control system 1 can also input prescription data. That is, in the dispensing control system 1, an input screen (not shown) for accepting input of prescription data is displayed on the display unit 15, and the user of the dispensing control system 1 is issued with paper. It is possible to receive a prescription from a patient and input prescription data while referring to the prescription. That is, in the dispensing control system 1, it is possible to cause the dispensing device 20 to execute a dispensing process based on the prescription data input in the host system 2, or to dispense based on the prescription data input in the dispensing control system 1. It is also possible to cause the dispensing device 20 to execute the process. The host system 2 is not essential and the host system 2 may not be installed.

[2.機能概要]調剤制御システム1は、調剤装置20に調剤処理を自動的に開始させることが可能な自動開始機能を備えている。調剤制御システム1では、使用者が自動開始機能を任意にON/OFFできるようになっている。   [2. Functional Overview] The dispensing control system 1 has an automatic start function that allows the dispensing device 20 to automatically start dispensing processing. In the dispensing control system 1, the user can arbitrarily turn on / off the automatic start function.

自動開始機能がOFFに設定されていると、制御装置10は、所定の権限を有する使用者(権限者)から調剤処理の開始指示を受け付けるのを待って、調剤装置20に調剤処理を開始させる。   When the automatic start function is set to OFF, the control device 10 waits for receiving a dispensing processing start instruction from a user (authorized person) having a predetermined authority, and causes the dispensing apparatus 20 to start the dispensing process. .

調剤制御システム1では、使用者がログインして所定の操作を行うことによって、例えば図2に示すような一覧画面G1が表示部15に表示される。なお、調剤制御システム1へのログインは、使用者がログイン画面(図示せず)に使用者ID及びパスワードを入力することによって行われるようにしてもよいし、使用者が予め配布されたIDカードをカード読み取り部に読み取らせることによって行われるようにしてもよい。ただし、後者の場合には、制御装置10が、カードに記録された情報を接触方式又は非接触方式で読み取るためのカード読み取り部を備える必要がある。   In the dispensing control system 1, when the user logs in and performs a predetermined operation, for example, a list screen G1 as shown in FIG. The login to the dispensing control system 1 may be performed by the user entering a user ID and password on a login screen (not shown), or an ID card distributed by the user in advance. May be performed by causing the card reading unit to read. However, in the latter case, the control device 10 needs to include a card reading unit for reading information recorded on the card by a contact method or a non-contact method.

図2に示すように、一覧画面G1には、調剤処理が実行されていない処方データの一覧が表示される。図2に示す例では、処方データA,B,Cが一覧画面G1に表示されている。なお図2では、説明の簡便のため、各処方データを示す情報として「処方データA」、「処方データB」、「処方データC」等のテキストが表示されているが、実際の一覧画面G1には、例えば患者名や処方内容の一部が各処方データを示す情報として表示されることになる。   As shown in FIG. 2, the list screen G1 displays a list of prescription data for which dispensing processing has not been executed. In the example shown in FIG. 2, prescription data A, B, and C are displayed on the list screen G1. In FIG. 2, for convenience of explanation, texts such as “prescription data A”, “prescription data B”, and “prescription data C” are displayed as information indicating each prescription data, but the actual list screen G1 For example, a part of the patient name and prescription content is displayed as information indicating each prescription data.

使用者が一覧画面G1に表示される処方データのうちのいずれかを選択すると、例えば図3に示すような指示画面G2が表示される。指示画面G2は、処方データの調剤処理の開始指示を受け付けるための画面である。   When the user selects any of the prescription data displayed on the list screen G1, for example, an instruction screen G2 as shown in FIG. 3 is displayed. The instruction screen G2 is a screen for receiving an instruction to start prescription data dispensing processing.

図3に示すように、指示画面G2には、一覧画面G1で選択された処方データの詳細が表示される。例えば、患者の情報(例えば氏名、性別、年齢、生年月日、及び薬歴等)や、処方内容(例えば医療機関、診療科、薬剤、用法、用量、日数、及び数量)が表示される。   As shown in FIG. 3, the details of the prescription data selected on the list screen G1 are displayed on the instruction screen G2. For example, patient information (for example, name, sex, age, date of birth, drug history, etc.) and prescription content (for example, medical institution, medical department, drug, usage, dose, days, and quantity) are displayed.

また、指示画面G2は、コメントの入力を受け付けるためのコメント欄P21を含む。使用者は必要に応じてコメントをコメント欄P21に入力できる。さらに、指示画面G2は実行ボタンP22と戻るボタンP23とを含む。戻るボタンP23は一覧画面G1に戻るためのボタンである。実行ボタンP22は調剤処理の開始指示を行うためのボタンである。使用者が実行ボタンP22を押下すると、指示画面G2に表示されている処方データの調剤処理が調剤装置20によって開始される。   In addition, the instruction screen G2 includes a comment field P21 for accepting input of comments. The user can input a comment in the comment field P21 as necessary. Further, the instruction screen G2 includes an execution button P22 and a return button P23. The return button P23 is a button for returning to the list screen G1. The execution button P22 is a button for instructing the start of the dispensing process. When the user presses the execution button P22, the dispensing device 20 starts the dispensing process for the prescription data displayed on the instruction screen G2.

一方、自動開始機能がONに設定されていると、上位システム2で入力された処方データが調剤制御システム1に供給された場合や、調剤制御システム1で入力画面を介して処方データが入力された場合に、調剤制御システム1は、原則として、自動的に、当該処方データに基づいて調剤装置20に調剤処理を開始させる。すなわち、調剤制御システム1は、原則として、所定の権限を有する使用者(権限者)から調剤処理の開始指示を受け付けるのを待つことなく、処方データに基づいて調剤装置20に調剤処理を開始させる。   On the other hand, when the automatic start function is set to ON, prescription data input by the host system 2 is supplied to the dispensing control system 1 or prescription data is input via the input screen by the dispensing control system 1. In this case, in principle, the dispensing control system 1 automatically causes the dispensing device 20 to start dispensing processing based on the prescription data. That is, in principle, the dispensing control system 1 causes the dispensing device 20 to start the dispensing process based on the prescription data without waiting for receiving a dispensing process start instruction from a user (authorized person) having a predetermined authority. .

調剤制御システム1では、このような機能を備えることにより、使用者が所定の権限者によって処方情報が確認された後で調剤処理を開始させることを望む場合に、使用者は自動開始機能がOFFに設定することによって、自らの要望通りに調剤制御システムを使用できるようになる。一方、使用者が調剤処理を自動的に開始させることを望む場合に、使用者は自動開始機能がONに設定することによって、自らの要望通りに調剤制御システムを使用できるようになる。   In the dispensing control system 1, by providing such a function, when the user desires to start the dispensing process after the prescription information is confirmed by a predetermined authority, the user turns off the automatic start function. By setting to, the dispensing control system can be used as desired. On the other hand, when the user desires to automatically start the dispensing process, the user can use the dispensing control system as desired by setting the automatic start function to ON.

また、調剤制御システム1では、自動開始機能がONに設定されている場合であっても、特定の場合には、例外的に調剤処理の自動開始を制限できるようになっている。このため、特定の場合(例えば、特に注意を要する薬品が処方データに含まれている場合等)には所定の権限者によって処方情報が確認された後で調剤処理を開始させ、それ以外の場合には調剤処理を自動的に開始させることを使用者が望む場合、使用者はこの機能を利用することによって、自らの要望通りに調剤制御システムを使用できるようになる。   Further, in the dispensing control system 1, even when the automatic start function is set to ON, the automatic start of the dispensing process can be limited exceptionally in a specific case. For this reason, in certain cases (for example, when prescription data contains drugs that require special attention), the dispensing process is started after the prescribing information is confirmed by a predetermined authority. If the user wishes to start the dispensing process automatically, the user can use this function to use the dispensing control system as desired.

調剤業務に関しては薬剤師法等の法律が存在しているが、上記に説明した機能が調剤制御システム1に備えられる結果として、使用者は適法性や自動化による調剤作業の効率化等を考慮しつつ調剤制御システム1の使用の仕方を決定し、その使用の仕方で調剤制御システム1を使用することができる。   There are laws such as the Pharmacist Law regarding dispensing operations, but as a result that the dispensing control system 1 is equipped with the functions described above, the user considers legality and efficiency of dispensing operations through automation. It is possible to determine how to use the dispensing control system 1 and use the dispensing control system 1 depending on the usage.

また、調剤制御システム1では、人が服用する「薬品」という生命に直結するものを生成するため、人が介在して行うことによって安全性を十分に確保すべき場合と、調剤作業を自動化して効率化を図る場合との境界が非常に重要になるが、上記に説明した機能が調剤制御システム1に備えられる結果として、原則として、調剤処理を自動的に開始させるようにして効率化を図りつつ、安全性を十分に確保すべく人が介在して調剤処理を実行すべき特定の場合には、確実に人を介して調剤処理が実行されるように図ることもできる。   In addition, since the dispensing control system 1 generates a “medicine” that is directly taken by a person, the dispensing control system 1 automates the dispensing operation when safety should be sufficiently ensured by human intervention. However, as a result of the provision of the functions described above in the dispensing control system 1, in principle, the dispensing process is automatically started to improve efficiency. In a specific case where the dispensing process should be executed with human intervention to ensure sufficient safety, the dispensing process can be surely executed via a person.

[3.機能ブロック]上記に説明した機能を実現する構成について説明する。図4は、調剤制御システム1で実現される機能のうち、上記機能に関連するものを主に示す機能ブロック図である。   [3. Functional Block] A configuration for realizing the functions described above will be described. FIG. 4 is a functional block diagram mainly showing functions related to the above functions among the functions realized by the dispensing control system 1.

[3−1.データ記憶部]図4に示すように、調剤制御システム1はデータ記憶部100を含む。例えば、データ記憶部100は主にデータベース17によって実現される。データ記憶部100は各種データを記憶する。図5〜11はデータ記憶部100に記憶されるデータの例を示す。   [3-1. Data Storage Unit] As shown in FIG. 4, the dispensing control system 1 includes a data storage unit 100. For example, the data storage unit 100 is mainly realized by the database 17. The data storage unit 100 stores various data. 5 to 11 show examples of data stored in the data storage unit 100.

図5は使用者テーブルD1の一例を示す。使用者テーブルD1は、調剤制御システム1を使用可能な者(言い換えれば、調剤制御システム1にログインすることが可能な者)のリストを示す。図5に示す使用者テーブルD1は「使用者ID」、「氏名」、「パスワード」、及び「権限レベル」フィールドを含む。   FIG. 5 shows an example of the user table D1. The user table D1 shows a list of persons who can use the dispensing control system 1 (in other words, persons who can log in to the dispensing control system 1). The user table D1 shown in FIG. 5 includes “user ID”, “name”, “password”, and “authority level” fields.

「使用者ID」フィールドは、使用者を一意に識別する識別情報を示す。「氏名」フィールドは使用者の氏名を示す。「パスワード」フィールドは使用者のパスワードを示す。例えば、使用者自身又はシステム管理者によって設定されたパスワードが暗号化された状態で「パスワード」フィールドに登録される。調剤制御システム1を使用する場合、使用者はログイン画面で自らの使用者ID及びパスワードを入力することによって認証を受ける必要がある。なお、使用者が予め配布されたIDカードをカード読み取り部に読み取らせることによって、使用者の認証や特定が行われるようにしてもよい。   The “user ID” field indicates identification information for uniquely identifying a user. The “name” field indicates the name of the user. The “password” field indicates the user's password. For example, the password set by the user or the system administrator is registered in the “password” field in an encrypted state. When using the dispensing control system 1, the user needs to be authenticated by inputting his / her user ID and password on the login screen. The user may be authenticated or specified by causing the card reader to read the ID card distributed in advance by the user.

「権限レベル」フィールドは使用者の権限レベルを示す。使用者に設定された権限レベルによって、当該使用者が調剤制御システム1で行うことが可能な操作が制限される。例えば、「1」〜「6」の値が権限レベルとして設定される。「6」は最も高い権限レベルであり、「1」は最も低い権限レベルである。   The “authority level” field indicates the authority level of the user. The operations that the user can perform in the dispensing control system 1 are limited by the authority level set for the user. For example, values “1” to “6” are set as the authority level. “6” is the highest authority level, and “1” is the lowest authority level.

権限レベル「6」の使用者は、調剤制御システム1であらゆる操作を行うことができる。例えば、データ記憶部100に記憶されるマスタデータ(使用者テーブルD1等)の編集は権限レベル「6」の使用者のみに許可される。すなわち、新たな使用者を使用者テーブルに登録したり、各使用者の権限レベルを設定・変更したりすることは権限レベル「6」の使用者のみに許可される。   The user with the authority level “6” can perform all operations on the dispensing control system 1. For example, editing of master data (such as the user table D1) stored in the data storage unit 100 is permitted only to users with the authority level “6”. That is, only users with authority level “6” are allowed to register new users in the user table and to set / change authority levels of each user.

また、権限レベル「5」の使用者は、マスタデータの編集以外の操作を行うことができる。例えば、調剤装置20内の薬剤容器への薬剤の充填は権限レベル「5」又は「6」の使用者のみに許可される。   In addition, the user with the authority level “5” can perform operations other than editing the master data. For example, only a user with authority level “5” or “6” is allowed to fill the medicine container in the dispensing device 20 with the medicine.

また、権限レベル「4」の使用者は、マスタデータの編集及び薬剤の充填以外の操作を行うことができる。例えば、特別に注意を要する特定の操作(ここでは「特別操作」と呼ぶ。)は権限レベル「4」〜「6」の使用者のみに許可される。   In addition, the user with the authority level “4” can perform operations other than editing the master data and filling the medicine. For example, a specific operation requiring special attention (herein referred to as “special operation”) is permitted only to users of authority levels “4” to “6”.

また、権限レベル「3」の使用者は、マスタデータの編集、薬剤の充填、及び特別操作以外の操作を行うことができる。例えば、注意を要する特定の操作(ここでは「要注意操作」と呼ぶ。)は権限レベル「3」〜「6」の使用者のみに許可される。   A user with the authority level “3” can perform operations other than editing of master data, filling of medicines, and special operations. For example, a specific operation requiring attention (herein referred to as “operation requiring attention”) is permitted only to users with authority levels “3” to “6”.

また、権限レベル「2」の使用者は、マスタデータの編集、薬剤の充填、特別操作、及び要注意操作以外の操作を行うことができる。また、権限レベル「1」の使用者は、制限された簡易な操作のみを行うことができる。   In addition, a user with the authority level “2” can perform operations other than editing master data, filling medicines, special operations, and operations requiring attention. In addition, the user with the authority level “1” can perform only limited simple operations.

例えば、調剤制御システム1を管理する役割を担う者(システム管理者)には権限レベル「6」が設定される。また、システム管理者以外の薬剤師には権限レベル「2」〜「5」のいずれかが設定される。具体的には、経験が比較的浅い薬剤師には権限レベル「2」が設定され、ある程度の経験を有する薬剤師には権限レベル「3」が設定される。また、権限レベル「2」又は「3」の薬剤師を管理する役割を担い、経験が豊富な薬剤師には権限レベル「4」が設定される。そして、権限レベル「4」の薬剤師も管理する役割を担い、経験が非常に豊富な薬剤師には権限レベル「5」が設定される。例えば、個々の調剤現場においてその調剤現場で業務を行う薬剤師を管理する役割を担う薬剤師(現地管理者)には権限レベル「4」が設定される。そして、複数の調剤現場にわたっての全体的な管理を行う役割、すなわち、それら複数の調剤現場の各々で業務する全薬剤師を管理する役割を担う薬剤師(管理者)には権限レベル「5」が設定される。なお、薬剤師以外の使用者であって、例えば薬剤師を補助すべく簡単な操作を行う役割を担う者(操作者)には権限レベル「1」が設定される。   For example, the authority level “6” is set for a person (system administrator) who plays a role of managing the dispensing control system 1. Also, authority levels “2” to “5” are set for pharmacists other than the system administrator. Specifically, the authority level “2” is set for a pharmacist who has relatively little experience, and the authority level “3” is set for a pharmacist who has some experience. Also, the authority level “4” is set for a pharmacist who has a role of managing a pharmacist having the authority level “2” or “3” and has abundant experience. The pharmacist with the authority level “4” also takes the role of managing, and the authority level “5” is set for the pharmacist who has very rich experience. For example, the authority level “4” is set for a pharmacist (local manager) who plays a role of managing a pharmacist who performs business at the dispensing site at each dispensing site. The authority level “5” is set for the pharmacist (administrator) who performs the overall management over a plurality of dispensing sites, that is, the role of managing all pharmacists working in each of the plurality of dispensing sites. Is done. Note that the authority level “1” is set for a user (operator) who is a user other than the pharmacist and plays a role of performing a simple operation to assist the pharmacist, for example.

図6は患者テーブルD2の一例を示す。患者テーブルD2は患者のリストを示す。図6に示す患者テーブルD2は「患者ID」、「氏名」、「性別」、「年齢」、「生年月日」、及び「薬歴」フィールドを含む。「患者ID」フィールドは、患者を一意に識別する識別情報を示す。「氏名」、「性別」、「年齢」、及び「生年月日」フィールドはそれぞれ患者の氏名、性別、年齢、及び生年月日を示す。「薬歴」フィールドは、これまでに患者に処方された薬の履歴を示す。例えば、患者が調剤薬局に初めて訪れた際に当該患者のデータが患者テーブルD2に登録される。   FIG. 6 shows an example of the patient table D2. The patient table D2 shows a list of patients. The patient table D2 shown in FIG. 6 includes “patient ID”, “name”, “sex”, “age”, “date of birth”, and “medicine history” fields. The “patient ID” field indicates identification information that uniquely identifies a patient. The “name”, “sex”, “age”, and “date of birth” fields indicate the name, sex, age, and date of birth of the patient, respectively. The “medicine history” field shows a history of medicines prescribed to the patient so far. For example, when a patient first visits a dispensing pharmacy, the patient's data is registered in the patient table D2.

図7は処方データテーブルD3の一例を示す。処方データテーブルD3は、調剤制御システム1で入力された処方データと、上位システム2で入力されて調剤制御システム1に提供された処方データとのリストを示す。図7に示す処方データテーブルD3は「処方データID」、「登録日時」、「入力システムフラグ」、「鑑査結果フラグ」、「DO処方フラグ」、「患者」、「処方内容」、「自動開始フラグ」、「実行状況フラグ」フィールドを含む。   FIG. 7 shows an example of the prescription data table D3. The prescription data table D3 shows a list of prescription data input by the dispensing control system 1 and prescription data input by the host system 2 and provided to the dispensing control system 1. The prescription data table D3 shown in FIG. 7 includes “prescription data ID”, “registration date / time”, “input system flag”, “inspection result flag”, “DO prescription flag”, “patient”, “prescription content”, “automatic start” "Flag" and "execution status flag" fields are included.

「処方データID」フィールドは、処方データを一意に識別する識別情報を示す。「登録日時」フィールドは、処方データが処方データテーブルD3に登録された日時を示す。   The “prescription data ID” field indicates identification information for uniquely identifying prescription data. The “registration date / time” field indicates the date and time when the prescription data is registered in the prescription data table D3.

「入力システムフラグ」フィールドは、処方データが入力されたシステムを示す。具体的には、「入力システム」フィールドは、処方データが調剤制御システム1で入力されたものであるか、又は、上位システム2で入力されたものであるかを示す。例えば、処方データが調剤制御システム1で入力されたものである場合には、値「0」が「入力システムフラグ」フィールドに登録される。一方、処方データが上位システム2で入力されたものである場合には、値「1」が「入力システムフラグ」フィールドに登録される。   The “input system flag” field indicates a system in which prescription data is input. Specifically, the “input system” field indicates whether the prescription data is input by the dispensing control system 1 or the host system 2. For example, when the prescription data is input by the dispensing control system 1, the value “0” is registered in the “input system flag” field. On the other hand, when the prescription data is input by the host system 2, the value “1” is registered in the “input system flag” field.

「鑑査結果フラグ」フィールドは、上位システム2での処方データの鑑査結果を示す。上位システム2では、処方データを調剤制御システム1に提供する前に処方データの鑑査が行われる。例えば、注意を要する処方データの条件が予め定められており、当該条件を満足する処方データに関しては警告が発せされる。警告対象になった処方データに関しては、薬剤師による再確認が行われた後、特に問題がなければ、そのまま調剤制御システム1に提供され、もし問題があれば、修正された後で調剤制御システム1に提供される。例えば、処方データが上位システム2で入力されたものであって、上位システム2での鑑査結果が「警告あり」である場合には、値「1」が「鑑査結果フラグ」フィールドに登録され、上位システム2での鑑査結果が「警告あり」でない場合には、値「0」が「鑑査結果フラグ」フィールドに登録される。   The “inspection result flag” field indicates the inspection result of the prescription data in the host system 2. In the host system 2, the prescription data is inspected before the prescription data is provided to the dispensing control system 1. For example, prescription data conditions that require attention are predetermined, and a warning is issued for prescription data that satisfies the conditions. After the reconfirmation by the pharmacist, the pharmacist reconfirms the prescription data as the warning target, and if there is no problem, it is provided to the dispensing control system 1 as it is. Provided to. For example, when the prescription data is input by the host system 2 and the inspection result in the host system 2 is “with warning”, the value “1” is registered in the “inspection result flag” field, If the inspection result in the host system 2 is not “with warning”, the value “0” is registered in the “inspection result flag” field.

「DO処方フラグ」フィールドは、処方データがDO処方機能を用いて入力(生成)されたものであるか否かを示す。調剤制御システム1及び上位システム2はDO処方機能を備えている。DO処方機能とは、同一の患者に対する過去の処方データを複製することによって同一内容の処方データを容易に入力できるようにする機能である。例えば、処方データがDO処方機能を用いて入力されたものである場合には、値「1」が「DO処方フラグ」フィールドに登録され、それ以外の場合には、値「0」が「DO処方フラグ」フィールドに登録される。   The “DO prescription flag” field indicates whether prescription data is input (generated) using the DO prescription function. The dispensing control system 1 and the host system 2 have a DO prescription function. The DO prescription function is a function that makes it possible to easily input prescription data having the same content by duplicating past prescription data for the same patient. For example, if the prescription data is input using the DO prescription function, the value “1” is registered in the “DO prescription flag” field, otherwise the value “0” is “DO”. It is registered in the “Prescription Flag” field.

「患者」フィールドは、処方データの対象である患者(患者ID)を示す。「処方内容」フィールドは、処方内容(例えば医療機関、診療科、薬剤、用法、用量、日数、及び数量)を示す。   The “patient” field indicates the patient (patient ID) that is the subject of the prescription data. The “prescription content” field indicates prescription content (for example, medical institution, medical department, drug, usage, dose, number of days, and quantity).

「自動開始フラグ」フィールドは、処方データの調剤処理を自動的に開始することが可能であるか否かを示す。例えば、調剤処理を自動的に開始することが可能である場合には、値「1」が「自動開始フラグ」フィールドに登録され、調剤処理を自動的に開始することが可能でない場合には、値「0」が「自動開始フラグ」フィールドに登録される。   The “automatic start flag” field indicates whether the dispensing process of the prescription data can be automatically started. For example, if the dispensing process can be started automatically, the value “1” is registered in the “automatic start flag” field, and if the dispensing process cannot be started automatically, The value “0” is registered in the “automatic start flag” field.

「実行状況フラグ」フィールドは、処方データの調剤処理の実行状況を示す。例えば、調剤処理を開始する前の状態にある処方データに関しては、値「0」が「実行状況フラグ」フィールドに登録される。また、調剤処理を実行中の状態にある処方データに関しては、値「1」が「実行状況フラグ」フィールドに登録され、調剤処理が終了した状態にある処方データに関しては、値「2」が「実行状況フラグ」フィールドに登録される。   The “execution status flag” field indicates the execution status of the prescription data dispensing process. For example, for the prescription data in a state before starting the dispensing process, the value “0” is registered in the “execution status flag” field. For prescription data in a state where the dispensing process is being executed, the value “1” is registered in the “execution status flag” field, and for prescription data in a state where the dispensing process has been completed, the value “2” is “ It is registered in the execution status flag field.

図8は実行履歴テーブルD4の一例を示す。実行履歴テーブルD4は調剤処理の実行履歴を示す。図8に示す実行履歴テーブルD4は「実行履歴ID」、「対象処方データ」、「自動開始フラグ」、「開始指示者」、「権限レベル」、「コメント」、「開始日時」、及び「終了日時」フィールドを含む。   FIG. 8 shows an example of the execution history table D4. The execution history table D4 shows the execution history of the dispensing process. The execution history table D4 shown in FIG. 8 includes “execution history ID”, “target prescription data”, “automatic start flag”, “start instructor”, “authority level”, “comment”, “start date / time”, and “end”. Includes a Date / Time field.

「実行履歴ID」フィールドは、個々の実行履歴を一意に識別する識別情報を示す。「対象処方データ」フィールドは、調剤処理の対象となった処方データを示す。例えば、調剤処理の対象となった処方データの処方データIDが「対象処方データ」フィールドに登録される。   The “execution history ID” field indicates identification information for uniquely identifying each execution history. The “target prescription data” field indicates prescription data that is a target of the dispensing process. For example, the prescription data ID of the prescription data targeted for the dispensing process is registered in the “target prescription data” field.

「自動開始フラグ」フィールドは、調剤処理が自動開始されたものであるか否かを示す。例えば、調剤処理が自動開始機能によって自動開始されたものである場合には、値「1」が「自動開始フラグ」フィールドに登録される。一方、調剤処理が自動開始機能によって自動開始されたものでなく、所定の権限者によって開始指示が行われたことによって実行されたものである場合には、値「0」が「自動開始フラグ」フィールドに登録される。   The “automatic start flag” field indicates whether the dispensing process has been automatically started. For example, when the dispensing process is automatically started by the automatic start function, the value “1” is registered in the “automatic start flag” field. On the other hand, when the dispensing process is not automatically started by the automatic start function but is executed by a start instruction given by a predetermined authority, the value “0” is “automatic start flag”. Registered in the field.

また、「開始指示者」フィールドは、調剤処理の開始指示を行った者(開始指示者)を示し、「権限レベル」フィールドは、調剤処理の開始指示を行った時点における開始指示者の権限レベルを示す。例えば、開始指示者の使用者IDが「開始指示者」フィールドに登録される。さらに、その時点での開始指示者の権限レベルが「権限レベル」フィールドに登録される。また、「コメント」フィールドは開始指示者によって入力されたコメントを示す。すなわち、指示画面G2のコメント欄P21に入力されたコメントが「コメント」フィールドに登録される。なお、調剤処理が自動開始機能によって自動開始されたものである場合、「開始指示者」、「権限レベル」、及び「コメント」フィールドは空欄となる。また、「開始日時」及び「終了日時」フィールドは、調剤処理が開始及び終了された日時を示す。   In addition, the “start instructor” field indicates a person (start instructor) who has given an instruction to start dispensing processing, and the “authority level” field has the authority level of the start instructor at the time of instructing to start dispensing processing. Indicates. For example, the user ID of the start instructor is registered in the “start instructor” field. Further, the authority level of the start instructor at that time is registered in the “authority level” field. The “comment” field indicates a comment input by the start instructor. That is, the comment input in the comment field P21 of the instruction screen G2 is registered in the “comment” field. When the dispensing process is automatically started by the automatic start function, the “start instructor”, “authority level”, and “comment” fields are blank. The “start date and time” and “end date and time” fields indicate the date and time when the dispensing process was started and ended.

図4に示すように、データ記憶部100は設定データ記憶部101を含む。設定データ記憶部101は設定データを記憶する。設定データは、調剤処理の自動開始を制限するか否かを判断するために設定されたデータである。図9及び図10は設定データの一例を示す。   As shown in FIG. 4, the data storage unit 100 includes a setting data storage unit 101. The setting data storage unit 101 stores setting data. The setting data is data set to determine whether or not to restrict the automatic start of the dispensing process. 9 and 10 show an example of setting data.

図9は自動開始機能フラグD5の一例を示す。先述の通り、調剤制御システム1は、調剤装置20に調剤処理を自動的に開始させることが可能な自動開始機能を備えている。自動開始機能フラグD5はこの自動開始機能がON/OFFのいずれに設定されているのかを示す。例えば、自動開始機能フラグは値「0」又は「1」をとる。値「1」は、自動開始機能がONに設定されていることを示す。一方、値「0」は、自動開始機能がOFFに設定されていることを示す。このため、自動開始機能フラグに「0」が設定されている場合には、調剤制御システム1は、調剤装置20に調剤処理を自動的に開始させずに、調剤処理の開始指示を所定の権限者から受け付けるのを待って、調剤装置20に調剤処理を開始させる。   FIG. 9 shows an example of the automatic start function flag D5. As described above, the dispensing control system 1 has an automatic start function that allows the dispensing device 20 to automatically start the dispensing process. The automatic start function flag D5 indicates whether the automatic start function is set to ON or OFF. For example, the automatic start function flag takes a value “0” or “1”. The value “1” indicates that the automatic start function is set to ON. On the other hand, the value “0” indicates that the automatic start function is set to OFF. For this reason, when “0” is set in the automatic start function flag, the dispensing control system 1 does not automatically start the dispensing process in the dispensing device 20, but issues a dispensing process start instruction with a predetermined authority. The dispensing apparatus 20 is made to start the dispensing process after waiting for acceptance from the person.

例えば、自動開始機能フラグD5の初期値は「0」に設定され、権限レベル「6」の使用者は所定の設定画面を介して自動開始機能フラグD5を「1」に変更できる。なお、自動開始機能フラグD5の初期値は「1」に設定されるようにしてもよい。   For example, the initial value of the automatic start function flag D5 is set to “0”, and the user with the authority level “6” can change the automatic start function flag D5 to “1” via a predetermined setting screen. Note that the initial value of the automatic start function flag D5 may be set to “1”.

図10は例外条件テーブルD6の一例を示す。先述の通り、自動開始機能がONに設定されている場合、調剤制御システム1は、原則として、調剤装置20に調剤処理を自動的に開始させる。この点、例外条件テーブルには、自動開始機能がONに設定されている場合であっても、例外的に調剤処理の自動開始を制限すべき場合の条件(例外条件)が登録される。なお、例えば権限レベル「6」の使用者は所定の設定画面を介して例外条件を例外条件テーブルに設定できる。   FIG. 10 shows an example of the exception condition table D6. As described above, when the automatic start function is set to ON, the dispensing control system 1 causes the dispensing device 20 to automatically start dispensing processing in principle. In this regard, in the exception condition table, even when the automatic start function is set to ON, a condition (exception condition) for exceptionally restricting the automatic start of the dispensing process is registered. For example, a user with the authority level “6” can set an exception condition in the exception condition table via a predetermined setting screen.

図10に示す例外条件テーブルD6は「例外条件ID」及び「例外条件」フィールドを含む。「例外条件ID」フィールドは、例外条件テーブルD6に登録される例外条件を一意に識別する識別情報を示す。「例外条件」フィールドは例外条件を示す。「例外条件」フィールドには、例外条件がコンピュータ(制御部11)により認識可能な形式で登録される。なお以下では、便宜上、例外条件IDが「ECn」である例外条件のことを「例外条件ECn」と記載する。   The exception condition table D6 shown in FIG. 10 includes “exception condition ID” and “exception condition” fields. The “exception condition ID” field indicates identification information for uniquely identifying an exception condition registered in the exception condition table D6. The “exception condition” field indicates an exception condition. In the “exception condition” field, the exception condition is registered in a format recognizable by the computer (control unit 11). In the following, for the sake of convenience, an exception condition whose exception condition ID is “ECn” is referred to as “exception condition ECn”.

例えば、例外条件テーブルD6には、調剤処理の自動実行を制限する必要のある処方データに関する条件が例外条件として登録される。図10に示す例外条件EC1〜EC6は、それぞれ、調剤処理の自動実行を制限する必要のある処方データに関する条件になっている。また、例外条件EC1〜EC5は、調剤処理の対象である対象処方データに関する条件になっており、例外条件EC6は、直前に実行された調剤処理の対象であった処方データに関する条件になっている。以下、例外条件EC1〜EC6について説明する。   For example, in the exception condition table D6, conditions relating to prescription data that need to limit automatic execution of the dispensing process are registered as exception conditions. Exception conditions EC1 to EC6 shown in FIG. 10 are conditions related to prescription data that need to limit automatic execution of the dispensing process. The exceptional conditions EC1 to EC5 are conditions related to the target prescription data that is the target of the dispensing process, and the exceptional condition EC6 is a condition related to the prescription data that was the target of the dispensing process executed immediately before. . Hereinafter, the exception conditions EC1 to EC6 will be described.

例外条件EC1,EC2は、調剤処理の対象である対象処方データに特定の薬剤が患者に提供されるべき薬剤として含まれているか否かに関する条件である。具体的には、例外条件EC1は「対象処方データに薬剤Aが含まれている」との条件である。一方、例外条件EC2は「対象処方データに薬剤Bが含まれている」との条件である。   The exceptional conditions EC1 and EC2 are conditions relating to whether or not a specific drug is included as a drug to be provided to a patient in the target prescription data that is the target of the dispensing process. Specifically, the exceptional condition EC1 is a condition that “the drug A is included in the target prescription data”. On the other hand, the exceptional condition EC2 is a condition that “the drug B is included in the target prescription data”.

ここで、「薬剤A」とは、例えば取り扱いに特に注意を要する薬剤である。また、「薬剤B」とは、例えば薬剤Aに比べると注意度は低いものの、取り扱いには注意を要する薬剤である。このような薬剤A又は薬剤Bが対象処方データに含まれている場合には注意が必要となるが、例外条件EC1,EC2が設定されることにより、薬剤A又は薬剤Bが含まれている処方データに関しては、自動開始機能がONに設定されていたとしても、調剤処理が自動的に開始されず、所定の権限者による開始指示がなければ調剤処理が開始されないようになる。   Here, “drug A” is a drug that requires special attention in handling, for example. In addition, “drug B” is a drug that requires less care in handling, although the degree of attention is lower than that of drug A, for example. Care is required when such drug A or drug B is included in the target prescription data, but the prescription containing drug A or drug B is set by setting exceptional conditions EC1 and EC2. Regarding the data, even if the automatic start function is set to ON, the dispensing process is not automatically started, and the dispensing process is not started unless there is a start instruction by a predetermined authority.

例外条件EC3は、対象処方データに含まれる患者データに関する条件である。具体的には、例外条件EC3は「対象処方データの患者が10歳未満である」との条件である。   The exceptional condition EC3 is a condition related to patient data included in the target prescription data. Specifically, the exceptional condition EC3 is a condition that “the patient of the target prescription data is under 10 years old”.

一般的に患者の年齢が低い場合には注意が必要となるが、例外条件EC3が設定されることにより、患者が10歳未満である処方データに関しては、自動開始機能がONに設定されていたとしても、調剤処理が自動的に開始されず、所定の権限者による開始指示がなければ調剤処理が開始されないようになる。なお、患者の性別又は薬歴等に関する条件が例外条件として設定されるようにしてもよい。   In general, care is required when the patient is young, but by setting the exceptional condition EC3, the auto-start function was set to ON for prescription data where the patient is less than 10 years old. However, the dispensing process is not automatically started, and the dispensing process is not started without a start instruction from a predetermined authority. In addition, you may make it the conditions regarding a patient's sex, a medical history, etc. be set as an exceptional condition.

例外条件EC4は、対象処方データが、調剤制御システム1で入力画面を介して手入力された処方データと、上位システム2によって提供された処方データとのいずれであるのかの条件である。具体的には、例外条件EC4は「対象処方データが手入力されたものである」との条件である。   The exceptional condition EC4 is a condition indicating whether the target prescription data is prescription data manually input via the input screen in the dispensing control system 1 or prescription data provided by the host system 2. Specifically, the exceptional condition EC4 is a condition that “the target prescription data is manually input”.

上位システム2で鑑査された後に提供された処方データに比べて、調剤制御システム1で入力画面を介して手入力された処方データには誤りが含まれている場合があり、注意が必要となるが、例外条件EC4が設定されることにより、調剤制御システム1で入力画面を介して手入力された処方データに関しては、自動開始機能がONに設定されていたとしても、調剤処理が自動的に開始されず、所定の権限者による開始指示がなければ調剤処理が開始されないようになる。   Compared with the prescription data provided after being inspected by the host system 2, the prescription data manually entered through the input screen in the dispensing control system 1 may contain an error, which requires attention. However, when the exceptional condition EC4 is set, the prescription data manually input via the input screen in the dispensing control system 1 is automatically dispensed even if the automatic start function is set to ON. The dispensing process is not started unless the start instruction is given by a predetermined authority.

例外条件EC5は、上位システム2での対象処方データに対する監査結果が所定の結果であったか否かの条件である。具体的には、例外条件EC5は「上位システム2での対象処方データの鑑査結果が「警告あり」である」との条件である。   The exceptional condition EC5 is a condition as to whether or not the audit result for the target prescription data in the host system 2 is a predetermined result. Specifically, the exceptional condition EC5 is a condition that “the inspection result of the target prescription data in the host system 2 is“ with warning ””.

上位システム2での対象処方データの鑑査結果が「警告あり」である場合には注意が必要となるが、例外条件EC5が設定されることにより、上位システム2での鑑査結果が「警告あり」である処方データに関しては、自動開始機能がONに設定されていたとしても、調剤処理が自動的に開始されず、所定の権限者による開始指示がなければ調剤処理が開始されないようになる。   Caution is required when the inspection result of the target prescription data in the higher system 2 is “with warning”, but by setting the exception condition EC5, the inspection result in the higher system 2 is “with warning”. With respect to the prescription data, even if the automatic start function is set to ON, the dispensing process is not automatically started, and the dispensing process is not started unless there is a start instruction by a predetermined authority.

例外条件EC6は、直前に実行された調剤処理の対象であった処方データに関する条件である。具体的には、例外条件EC6は「直前処方データに薬剤Cが含まれている」との条件である。   The exceptional condition EC6 is a condition related to prescription data that was the object of the dispensing process executed immediately before. Specifically, the exceptional condition EC6 is a condition that “the drug C is included in the immediately preceding prescription data”.

ここで、「薬剤C」とは、例えば、調剤処理の際に薬剤と触れる調剤装置20の部分(薬剤投入部等)に薬剤が残っていることがないように特に注意を要する薬剤である。直前に実行された調剤処理の対象処方データに薬剤Cが含まれていた場合には薬剤Cが薬剤投入部等に残っていないことを確認する必要があるが、例外条件EC6が設定されることにより、直前に実行された調剤処理の対象処方データに薬剤Cが含まれていた場合には、自動開始機能がONに設定されていたとしても、調剤処理が自動的に開始されず、所定の権限者による開始指示がなければ調剤処理が開始されないようになる。   Here, the “medicine C” is a drug that requires special attention so that no drug remains in the part of the dispensing device 20 (such as the drug loading unit) that comes into contact with the drug during the dispensing process. When the drug C is included in the prescription data for the dispensing process executed immediately before, it is necessary to confirm that the drug C does not remain in the drug input unit or the like, but the exception condition EC6 is set Thus, in the case where the drug C is included in the target prescription data for the dispensing process executed immediately before, the dispensing process is not automatically started even if the automatic start function is set to ON. If there is no start instruction from the authorized person, the dispensing process will not start.

また図4に示すように、データ記憶部100は権限者特定データ記憶部102を含む。権限者特定データ記憶部102は、処方データに関する条件と関連付けて、権限者特定データを記憶する。権限者特定データは、処方データの調剤処理の開始を指示することが可能な権限者を特定するためのデータである。   As shown in FIG. 4, the data storage unit 100 includes an authorized person specifying data storage unit 102. The authorized person specifying data storage unit 102 stores authorized person specifying data in association with the conditions related to prescription data. The authorized person identification data is data for identifying an authorized person who can instruct the start of the dispensing process of the prescription data.

図11は、権限者特定データの一例である権限者特定テーブルD7の一例を示す。権限者特定テーブルD7は、調剤処理の開始指示を行うことが可能な権限者を特定するためのテーブルである。なお、例えば権限レベル「6」の使用者は所定の設定画面を介して権限者特定テーブルD7を設定できる。   FIG. 11 shows an example of the authorized person identification table D7 which is an example of authorized person identification data. The authorized person identification table D7 is a table for identifying authorized persons who can instruct the start of the dispensing process. For example, a user with the authority level “6” can set the authority person specifying table D7 via a predetermined setting screen.

自動開始機能がOFFに設定されている場合には、権限者特定テーブルD7に基づいて、調剤処理の開始指示を行うことが可能な権限者が特定され、当該権限者からの開始指示を待って調剤処理が実行される。同様に、自動開始機能がONに設定されている場合であっても、例外条件テーブルD6の例外条件を満足することによって例外的に自動開始機能が制限される場合には、権限者特定テーブルD7に基づいて、調剤処理の開始指示を行うことが可能な権限者が特定され、当該権限者からの開始指示を待って調剤処理が実行される。   When the automatic start function is set to OFF, an authorized person who can issue a dispensing process start instruction is specified based on the authorized person specifying table D7, and waits for a start instruction from the authorized person. Dispensing processing is executed. Similarly, even if the automatic start function is set to ON, if the automatic start function is exceptionally limited by satisfying the exception condition of the exception condition table D6, the authorized person specifying table D7 Based on the above, an authorized person who can instruct the start of the dispensing process is specified, and the dispensing process is executed after waiting for the start instruction from the authorized person.

図11に示す権限者特定テーブルD7は「条件ID」、「条件」、及び「必要権限レベル」フィールドを含む。「条件ID」フィールドは、権限者特定テーブルD7に登録される条件を一意に識別する識別情報を示す。「条件」フィールドは条件を示す。「条件」フィールドには、条件がコンピュータ(制御部11)により認識可能な形式で登録される。「必要権限レベル」フィールドは、調剤処理の開始指示を行うために必要な権限レベル(必要権限レベル)を示す。なお以下では、便宜上、条件IDが「Cn」である条件のことを「条件Cn」と記載する。   The authorized person identification table D7 shown in FIG. 11 includes “condition ID”, “condition”, and “necessary authority level” fields. The “condition ID” field indicates identification information for uniquely identifying a condition registered in the authorized person identification table D7. The “condition” field indicates a condition. In the “condition” field, the condition is registered in a format recognizable by the computer (control unit 11). The “necessary authority level” field indicates an authority level (necessary authority level) necessary for instructing the start of the dispensing process. Hereinafter, for the sake of convenience, a condition whose condition ID is “Cn” is referred to as “condition Cn”.

図11に示す権限者特定テーブルD7では、条件C1〜C6が図10に示す例外条件テーブルD6の例外条件EC1〜EC6と同じになっているため、ここでは説明を省略する。なお、権限者特定テーブルD7に登録される条件は、例外条件テーブルD6に登録される例外条件と異なっていてもよい。   In the authority specifying table D7 shown in FIG. 11, the conditions C1 to C6 are the same as the exception conditions EC1 to EC6 of the exception condition table D6 shown in FIG. Note that the conditions registered in the authorized person identification table D7 may be different from the exception conditions registered in the exception condition table D6.

図11に示す権限者特定テーブルD7では条件C1〜C6の他に条件C7,C8が設定されている。このうち、条件C7は「対象処方データに薬剤Dが含まれている」との条件である。ここで、「薬剤D」とは、例えば、薬剤A,Bに比べると注意度は低いものの、取り扱いにはある程度の注意を要するような薬剤である。また、条件C8は条件C1〜C7以外の場合である。   In the authorized person identification table D7 shown in FIG. 11, conditions C7 and C8 are set in addition to the conditions C1 to C6. Among these, the condition C7 is a condition that “the drug D is included in the target prescription data”. Here, “drug D” is, for example, a drug that requires a certain degree of care in handling although it has a lower level of caution than drugs A and B. The condition C8 is a case other than the conditions C1 to C7.

図11に示す権限者特定テーブルD7では、条件C7には必要権限レベルとして「3〜6」が関連付けられている。これは、条件C7が満足される場合には、権限レベル「3」〜「6」の使用者が権限者(調剤処理の開始指示を行うことができる者)として設定されることを示す。また、条件C2〜C5には必要権限レベルとして「4〜6」が関連付けられている。これは、権限レベル「4」〜「6」の使用者が権限者として設定されることを示す。例えば、薬剤Bは薬剤Dに比べて取り扱いに注意を要するため、条件C2には条件C7よりも高い必要権限レベルが関連付けられている。   In the authorized person identification table D7 shown in FIG. 11, "3 to 6" is associated with the condition C7 as the necessary authority level. This indicates that, when the condition C7 is satisfied, the users of the authority levels “3” to “6” are set as the authorized persons (persons who can give instructions for starting the dispensing process). Further, “4 to 6” is associated with the conditions C2 to C5 as the necessary authority level. This indicates that users with authority levels “4” to “6” are set as authorities. For example, since the drug B requires more care than the drug D, the condition C2 is associated with a higher authority level than the condition C7.

また、条件C1,C6には必要権限レベルとして「5〜6」が関連付けられている。これは、条件C1又はC6が満足される場合には、権限レベル「5」〜「6」の使用者が権限者として設定されることを示す。薬剤A,Cは薬剤Bよりもさらに取り扱いに注意を要するため、条件C1,C6に対しては条件C2よりも高い必要権限レベルが関連付けられている。   In addition, conditions 5 and 6 are associated with the conditions C1 and C6 as necessary authority levels. This indicates that, when the condition C1 or C6 is satisfied, the users of the authority levels “5” to “6” are set as the authority. Since the medicines A and C require more care than the medicine B, the required authority level higher than the condition C2 is associated with the conditions C1 and C6.

また、条件C8には必要権限レベルとして「2〜6」が関連付けられている。これは、条件C1〜C7のいずれも満足されない場合には、権限レベル「2」〜「6」の使用者が権限者として設定されることを示す。   The condition C8 is associated with “2-6” as the required authority level. This indicates that, when none of the conditions C1 to C7 is satisfied, the users of the authority levels “2” to “6” are set as the authority.

なお、先述の通り、権限者特定テーブルD7の条件C1〜C6は例外条件テーブルD6の例外条件EC1〜EC6と同じである。この点、権限者特定テーブルD7では、条件C1に必要権限レベルとして「5〜6」が関連付けられているため、実質的に、例外条件EC1に必要権限レベルとして「5〜6」が関連付けられていることになる。例外条件EC1を満足する場合には、自動開始機能がONに設定されている場合であっても、例外的に自動開始機能が制限され、所定の権限者による開始指示を待って、調剤処理が開始されることになるが、この場合には、権限レベル「5」〜「6」の使用者が権限者として設定されることになる。   As described above, the conditions C1 to C6 of the authorized person identification table D7 are the same as the exception conditions EC1 to EC6 of the exception condition table D6. In this respect, in the authorized person specifying table D7, “5-6” is associated with the condition C1 as the necessary authority level, so that “5-6” is substantially associated with the exceptional condition EC1 as the necessary authority level. Will be. When the exception condition EC1 is satisfied, even if the automatic start function is set to ON, the automatic start function is exceptionally limited, and the dispensing process is performed after waiting for a start instruction from a predetermined authority. In this case, users with authority levels “5” to “6” are set as authority persons.

本実施形態では、例外条件テーブルD6と権限者特定テーブルD7とを別個に設けるようにしたが、これらを一体的に設けるようにしてもよい。例えば、例外条件テーブルD6を省略し、権限者特定テーブルD7のみを設けるようにしてもよい。この場合、例えば、必要権限レベルが「4〜6」又は「5〜6」に関連付けられている条件を「例外条件」とみなすようにしてもよい。   In the present embodiment, the exceptional condition table D6 and the authorized person identification table D7 are provided separately, but they may be provided integrally. For example, the exception condition table D6 may be omitted and only the authorized person specifying table D7 may be provided. In this case, for example, a condition in which the required authority level is associated with “4-6” or “5-6” may be regarded as an “exception condition”.

[3−2.データ記憶部以外の機能ブロック]図4に示すように、調剤制御システム1は入力画面表示制御部103、処方データ取得部104、判断部107、対象処方データ判定部108、直前処方データ判定部109、開始制御部110、権限者設定部113、開始指示受付部114、及び実行履歴登録部115を含む。これらの機能ブロックは主に制御部11によって実現される。すなわち、制御部11がプログラムに従って処理を実行することによって、制御部11がこれらの機能ブロックとして機能する。   [3-2. Functional Blocks Other than Data Storage Unit] As shown in FIG. 4, the dispensing control system 1 includes an input screen display control unit 103, a prescription data acquisition unit 104, a determination unit 107, a target prescription data determination unit 108, and a previous prescription data determination unit 109. A start control unit 110, an authorized person setting unit 113, a start instruction receiving unit 114, and an execution history registration unit 115. These functional blocks are mainly realized by the control unit 11. That is, the control unit 11 functions as these functional blocks when the control unit 11 executes processing according to a program.

入力画面表示制御部103は入力画面を表示部15に表示させる。入力画面は処方データの入力を受け付けるための画面である。調剤制御システム1の使用者は、紙で発行された処方箋を患者から受け取り、当該処方箋を参照しながら患者情報や処方情報(医療機関、診療科、医者、薬剤、用法、用量、日数、数量等)を入力画面で入力できる。   The input screen display control unit 103 displays the input screen on the display unit 15. The input screen is a screen for accepting input of prescription data. The user of the dispensing control system 1 receives a prescription issued in paper from a patient, and refers to the prescription, and patient information and prescription information (medical institution, medical department, doctor, drug, usage, dose, days, quantity, etc.) ) On the input screen.

処方データ取得部104は、調剤処理の対象となる対象処方データを取得する。図4に示すように、処方データ取得部104は第1処方データ取得部105及び第2処方データ取得部106を含む。   The prescription data acquisition unit 104 acquires target prescription data that is a target of the dispensing process. As shown in FIG. 4, the prescription data acquisition unit 104 includes a first prescription data acquisition unit 105 and a second prescription data acquisition unit 106.

第1処方データ取得部105は、上記入力画面を介して入力された処方データを対象処方データとして取得する。   The first prescription data acquisition unit 105 acquires prescription data input via the input screen as target prescription data.

第2処方データ取得部106は、上位システム2(他のシステムの一例)で入力された処方データを対象処方データとして取得する。例えば、第2処方データ取得部106は、上位システム2から送信された処方データを受信して対象処方データとして取得する。または、第2処方データ取得部106は、上位システム2で入力された処方データが保存された記憶装置にアクセスして、当該処方データを対象処方データとして取得する。   The second prescription data acquisition unit 106 acquires prescription data input by the host system 2 (an example of another system) as target prescription data. For example, the second prescription data acquisition unit 106 receives prescription data transmitted from the host system 2 and acquires it as target prescription data. Or the 2nd prescription data acquisition part 106 accesses the memory | storage device in which the prescription data input by the high-order system 2 was preserve | saved, and acquires the said prescription data as object prescription data.

判断部107は、設定データ記憶部101に記憶された設定データに基づいて、調剤処理の自動開始を制限するか否か(言い換えれば、調剤処理の自動開始を許容するか否か)を判断する。   Based on the setting data stored in the setting data storage unit 101, the determination unit 107 determines whether to restrict the automatic start of the dispensing process (in other words, whether to allow the automatic start of the dispensing process). .

例えば、判断部107は、図9に示した自動開始機能フラグD5(設定データの一例)に基づいて、調剤処理の自動開始を制限するか否かを判断する。具体的には、自動開始機能フラグが「0」である場合に、判断部107は調剤処理の自動開始を制限すると判断する。一方、自動開始機能フラグが「1」である場合に、原則として、判断部107は調剤処理の自動開始を制限しないと判断する。   For example, the determination unit 107 determines whether or not to restrict the automatic start of the dispensing process based on the automatic start function flag D5 (an example of setting data) illustrated in FIG. Specifically, when the automatic start function flag is “0”, the determination unit 107 determines that the automatic start of the dispensing process is limited. On the other hand, when the automatic start function flag is “1”, in principle, the determination unit 107 determines not to restrict the automatic start of the dispensing process.

また例えば、判断部107は、後述の対象処方データ判定部108の判定結果に基づいて、調剤処理の自動開始を制限するか否かを判断する。   Further, for example, the determination unit 107 determines whether or not to restrict the automatic start of the dispensing process based on the determination result of the target prescription data determination unit 108 described later.

対象処方データ判定部108は、対象処方データが、設定データ記憶部101に記憶された設定データに設定された条件を満足するか否かを判定する。先述の通り、設定データ記憶部101に記憶された設定データには、調剤処理の自動開始を制限する必要のある処方データに関する条件、又は、調剤処理の自動開始を制限する必要のない処方データに関する条件が設定されており、対象処方データ判定部108は対象処方データが当該条件を満足するか否かを判定する。   The target prescription data determination unit 108 determines whether or not the target prescription data satisfies the conditions set in the setting data stored in the setting data storage unit 101. As described above, the setting data stored in the setting data storage unit 101 relates to prescription data that needs to restrict the automatic start of the dispensing process or prescription data that does not need to restrict the automatic start of the dispensing process. Conditions are set, and the target prescription data determination unit 108 determines whether the target prescription data satisfies the conditions.

例えば、対象処方データ判定部108は、図10に示した例外条件テーブルD6(設定データの一例)に設定された例外条件EC1〜EC5のいずれかを対象処方データが満足するか否かを判定する。自動開始機能フラグが「1」であったとしても、対象処方データが例外条件EC1〜EC5のいずれかを満足すると対象処方データ判定部108によって判定された場合には、判断部107は調剤処理の自動開始を制限すると判断する。   For example, the target prescription data determination unit 108 determines whether the target prescription data satisfies any of the exception conditions EC1 to EC5 set in the exception condition table D6 (an example of setting data) illustrated in FIG. . Even if the automatic start function flag is “1”, if the target prescription data determination unit 108 determines that the target prescription data satisfies any of the exception conditions EC1 to EC5, the determination unit 107 performs the dispensing process. Judge that the automatic start is limited.

また例えば、判断部107は、後述の直前処方データ判定部109の判定結果に基づいて、調剤処理の自動開始を制限するか否かを判断する。   Further, for example, the determination unit 107 determines whether or not to restrict the automatic start of the dispensing process based on the determination result of the immediately-preceding prescription data determination unit 109 described later.

直前処方データ判定部109は、直前に実行された調剤処理の対象であった処方データ(直前処方データ)が、設定データ記憶部101に記憶された設定データに設定された条件を満足するかを判定する。先述の通り、設定データ記憶部101に記憶された設定データには、調剤処理の自動開始を制限する必要のある処方データに関する条件、又は、調剤処理の自動開始を制限する必要のない処方データに関する条件が設定されており、直前処方データ判定部109は直前処方データが当該条件を満足するか否かを判定する。   The immediately preceding prescription data determination unit 109 determines whether the prescription data (previous prescription data) that was the target of the dispensing process executed immediately before satisfies the condition set in the setting data stored in the setting data storage unit 101. judge. As described above, the setting data stored in the setting data storage unit 101 relates to prescription data that needs to restrict the automatic start of the dispensing process or prescription data that does not need to restrict the automatic start of the dispensing process. Conditions are set, and the immediately preceding prescription data determination unit 109 determines whether the immediately preceding prescription data satisfies the conditions.

例えば、直前処方データ判定部109は、図10に示した例外条件テーブルD6(設定データの一例)に設定された例外条件EC6を直前処方データが満足するか否かを判定する。自動開始機能フラグが「1」であったとしても、直前処方データが例外条件EC6を満足すると直前処方データ判定部109によって判定された場合には、判断部107は調剤処理の自動開始を制限すると判断する。   For example, the immediately preceding prescription data determination unit 109 determines whether or not the immediately preceding prescription data satisfies the exception condition EC6 set in the exception condition table D6 (an example of setting data) illustrated in FIG. Even if the automatic start function flag is “1”, if the immediately preceding prescription data determining unit 109 determines that the immediately preceding prescription data satisfies the exception condition EC6, the determining unit 107 restricts the automatic start of the dispensing process. to decide.

開始制御部110は、対象処方データを対象とする調剤処理を調剤装置20(調剤実行手段の一例)に開始させる。図4に示すように、開始制御部110は第1開始制御部111と第2開始制御部112とを含む。   The start control unit 110 causes the dispensing device 20 (an example of a dispensing execution unit) to start dispensing processing for target prescription data. As shown in FIG. 4, the start control unit 110 includes a first start control unit 111 and a second start control unit 112.

調剤処理の自動開始を制限しないと判断部107によって判断された場合に、第1開始制御部111は、自動的に、対象処方データの調剤処理を調剤装置20に開始させる。すなわち、対象処方データが取得された場合に、第1開始制御部111は、調剤処理の開始指示を所定の権限者から受け付けるのを待つことなく、当該対象処方データの調剤処理を調剤装置20に開始させる。   When the determination unit 107 determines that the automatic start of the dispensing process is not restricted, the first start control unit 111 automatically causes the dispensing apparatus 20 to start the dispensing process of the target prescription data. That is, when the target prescription data is acquired, the first start control unit 111 performs the dispensing process of the target prescription data on the dispensing device 20 without waiting for receiving a start instruction for the dispensing process from a predetermined authority. Let it begin.

一方、調剤処理の自動開始を制限すると判断部107によって判断された場合に、第2開始制御部112は、調剤処理の開始指示を所定の権限者から受け付けた場合に、対象処方データの調剤処理を調剤装置20に開始させる。すなわち、対象処方データが取得された場合に、第2開始制御部112は、直ちに調剤処理を調剤装置20に開始させることはせずに、調剤処理の開始指示を所定の権限者から受け付けたか否かを監視し、調剤処理の開始指示を所定の権限者から受け付けるのを待って、調剤処理を調剤装置20に開始させる。この場合、「権限者」は後述の権限者設定部113によって対象処方データ又は直前処方データに合わせて設定される。   On the other hand, when the determination unit 107 determines that the automatic start of the dispensing process is restricted, the second start control unit 112 receives the dispensing process start instruction from a predetermined authority and dispenses the dispensing process of the target prescription data. Causes the dispensing device 20 to start. That is, when the target prescription data is acquired, the second start control unit 112 does not immediately cause the dispensing device 20 to start the dispensing process, but has received an instruction to start the dispensing process from a predetermined authority. This is monitored, and the dispensing apparatus 20 is made to start dispensing processing after waiting for a dispensing instruction start instruction to be received from a predetermined authority. In this case, the “authorized person” is set by the authorized person setting unit 113 described later according to the target prescription data or the immediately preceding prescription data.

権限者設定部113は、対象処方データに基づいて権限者(すなわち調剤処理の開始指示を行うことができる者)を設定する。例えば、権限者設定部113は、対象処方データと、権限者特定データ記憶部102に記憶された権限者特定データとに基づいて、権限者を設定する。先述の通り、権限者特定データ記憶部102には、処方データに関する条件と関連付けて権限者特定データが記憶されている。権限者設定部113は、対象処方データが満足する条件と関連付けられた権限者特定データに基づいて、権限者を設定する。   The authorized person setting unit 113 sets an authorized person (that is, a person who can give an instruction to start dispensing processing) based on the target prescription data. For example, the authorized person setting unit 113 sets the authorized person based on the target prescription data and the authorized person specifying data stored in the authorized person specifying data storage unit 102. As described above, the authorized person specifying data storage unit 102 stores authorized person specifying data in association with conditions relating to prescription data. The authorized person setting unit 113 sets the authorized person based on authorized person specifying data associated with the condition that the target prescription data is satisfied.

例えば、図11に示した権限者特定テーブルD7では、条件C1に対して必要権限レベル「5〜6」が関連付けられている。このため、対象処方データが当該条件C1を満足する場合に、権限者設定部113は、権限レベル「5」〜「6」の使用者を権限者として設定する。   For example, in the authorized person identification table D7 shown in FIG. 11, the necessary authority level “5 to 6” is associated with the condition C1. For this reason, when the target prescription data satisfies the condition C1, the authority setting unit 113 sets users with authority levels “5” to “6” as authorities.

なお、権限者設定部113は、直前に実行された調剤処理の対象であった処方データ(直前処方データ)に基づいて権限者を設定するようにしてもよい。例えば、権限者設定部113は、直前処方データと、権限者特定データ記憶部102に記憶された権限者特定データとに基づいて、権限者を設定するようにしてもよい。先述の通り、権限者特定データ記憶部102には、処方データに関する条件と関連付けて権限者特定データが記憶されている。権限者設定部113は、直前処方データが満足する条件と関連付けられた権限者特定データに基づいて、権限者を設定するようにしてもよい。   The authorized person setting unit 113 may set the authorized person based on prescription data (previous prescription data) that was the object of the dispensing process executed immediately before. For example, the authorized person setting unit 113 may set the authorized person based on the previous prescription data and the authorized person specifying data stored in the authorized person specifying data storage unit 102. As described above, the authorized person specifying data storage unit 102 stores authorized person specifying data in association with conditions relating to prescription data. The authorized person setting unit 113 may set the authorized person based on authorized person specifying data associated with the condition that the immediately preceding prescription data satisfies.

例えば、図11に示した権限者特定テーブルD7では、条件C6に対して必要権限レベル「5〜6」が関連付けられている。このため、直前処方データが当該条件C6を満足する場合に、権限者設定部113は、権限レベル「5」〜「6」の使用者を権限者として設定する。   For example, in the authority specifying table D7 shown in FIG. 11, the required authority level “5 to 6” is associated with the condition C6. For this reason, when the immediately preceding prescription data satisfies the condition C6, the authority setting unit 113 sets the users of the authority levels “5” to “6” as the authority.

なお、ここでは、権限者が権限者設定部113によって対象処方データ又は直前処方データに応じて設定されることとして説明したが、権限者は予め設定された特定の使用者であってもよい。例えば、対象処方データ又は直前処方データに関係なく、権限レベル「5」〜「6」の使用者を権限者として予め定めておくようにしてもよい。   Here, although it has been described that the authorized person is set according to the target prescription data or the immediately preceding prescription data by the authorized person setting unit 113, the authorized person may be a specific user set in advance. For example, users with authority levels “5” to “6” may be determined in advance as authorized persons regardless of the target prescription data or immediately preceding prescription data.

開始指示受付部114は調剤処理の開始指示を受け付ける。例えば、開始指示受付部114は、例えば図3に示した指示画面G2を表示部15に表示させる。先述の通り、指示画面G2は、調剤処理の開始指示を受け付けるための画面である。指示画面G2の実行ボタンP22が押下された場合に、開始指示受付部114は調剤処理の開始指示を受け付けたと判定する。   The start instruction receiving unit 114 receives a start instruction for dispensing processing. For example, the start instruction reception unit 114 causes the display unit 15 to display the instruction screen G2 illustrated in FIG. As described above, the instruction screen G2 is a screen for receiving a dispensing process start instruction. When the execution button P22 on the instruction screen G2 is pressed, the start instruction receiving unit 114 determines that the dispensing process start instruction has been received.

先述の通り、第2開始制御部112は、権限者設定部113によって設定された権限者から調剤処理の開始指示を受け付けた場合に調剤処理を調剤装置20に開始させる。すなわち、権限者設定部113によって設定された権限者によって指示画面G2の実行ボタンP22が押下された場合に、第2開始制御部112は調剤処理を調剤装置20に開始させる。   As described above, the second start control unit 112 causes the dispensing apparatus 20 to start the dispensing process when receiving a dispensing process start instruction from the authorized person set by the authorized person setting unit 113. That is, when the execution button P22 on the instruction screen G2 is pressed by the authority set by the authority setting unit 113, the second start control unit 112 causes the dispensing device 20 to start the dispensing process.

一方、第2開始制御部112は、権限者設定部113によって設定された権限者以外の使用者(非権限者)から調剤処理の開始指示を受け付けた場合には調剤処理を調剤装置20に開始させない。すなわち、仮に、非権限者によって指示画面G2の実行ボタンP22が押下されたとしても、第2開始制御部112は調剤処理を調剤装置20に開始させない。この場合には、開始指示を行う権限がない旨のエラーメッセージが表示される。   On the other hand, the second start control unit 112 starts the dispensing process in the dispensing device 20 when an instruction to start the dispensing process is received from a user (non-authorized person) other than the authorized person set by the authorized person setting unit 113. I won't let you. That is, even if the execution button P22 on the instruction screen G2 is pressed by an unauthorized person, the second start control unit 112 does not cause the dispensing device 20 to start the dispensing process. In this case, an error message indicating that there is no authority to issue a start instruction is displayed.

なお、開始指示受付部114は、非権限者から調剤処理の開始指示を受け付けないようにしてもよい。例えば、実行ボタンP22は、権限者設定部113によって設定された権限者がログインしている場合にのみ押下できるようにしてもよい。具体的には、ログインしている使用者が非権限者である場合には、実行ボタンP22を表示しないようにしたり、実行ボタンP22を押下できない状態(例えばグレーアウトの状態)で表示するようにしたりしてもよい。または、ログインしている使用者が非権限者である場合には、一覧画面G1から指示画面G2への画面遷移、又は、他の画面(メニュー画面等)から一覧画面G1への画面遷移を禁止するようにしてもよい。   The start instruction accepting unit 114 may not accept a dispensing process start instruction from an unauthorized person. For example, the execution button P22 may be pressed only when an authorized person set by the authorized person setting unit 113 is logged in. Specifically, when the logged-in user is an unauthorized person, the execution button P22 is not displayed, or the execution button P22 cannot be pressed (for example, grayed out). May be. Or, when the logged-in user is an unauthorized person, screen transition from the list screen G1 to the instruction screen G2 or screen transition from another screen (menu screen, etc.) to the list screen G1 is prohibited. You may make it do.

実行履歴登録部115は、調剤処理の実行履歴をデータ記憶部100(所定の記憶手段の一例)に登録する。すなわち、実行履歴登録部115は、調剤処理の対象である対象処方データと、調剤処理の開始指示を行った権限者に関する権限者データと、当該権限者によって入力されたコメントデータとを関連付けてデータ記憶部100に登録する。より具体的には、実行履歴登録部115は、調剤処理の実行履歴を図8に示した実行履歴テーブルD4に登録する。   The execution history registration unit 115 registers the execution history of the dispensing process in the data storage unit 100 (an example of a predetermined storage unit). That is, the execution history registration unit 115 associates the target prescription data that is the target of the dispensing process, the authority data related to the authority who has instructed the start of the dispensing process, and the comment data input by the authority. Register in the storage unit 100. More specifically, the execution history registration unit 115 registers the execution history of the dispensing process in the execution history table D4 shown in FIG.

[4.処理]調剤制御システム1で実行される処理の一例について説明する。図12及び図13は、調剤制御システム1で実行される処理の一例を示すフロー図である。制御部11が図12及び図13に示す処理をプログラムに従って実行することによって、図4に示した機能ブロック(データ記憶部100を除く)が実現される。   [4. Processing] An example of processing executed in the dispensing control system 1 will be described. 12 and 13 are flowcharts showing an example of processing executed in the dispensing control system 1. When the control unit 11 executes the processes shown in FIGS. 12 and 13 according to the program, the functional blocks (except for the data storage unit 100) shown in FIG. 4 are realized.

[4−1]図12は、処方データが調剤制御システム1(入力画面)で入力された場合や、上位システム2で入力された処方データが調剤制御システム1に供給された場合に調剤制御システム1で実行される処理の一例を示すフロー図である。   [4-1] FIG. 12 shows a dispensing control system when prescription data is input in the dispensing control system 1 (input screen) or when prescription data input in the host system 2 is supplied to the dispensing control system 1. 2 is a flowchart illustrating an example of processing executed in 1. FIG.

図12に示すように、まず、制御部11は対象処方データを処方データテーブルD3に登録する(S100)。例えば、制御部11は新たなレコードを処方データテーブルD3に追加し、当該新たなレコードに対象処方データを登録する。   As shown in FIG. 12, first, the control unit 11 registers the target prescription data in the prescription data table D3 (S100). For example, the control unit 11 adds a new record to the prescription data table D3, and registers the target prescription data in the new record.

ステップS100の実行後、制御部11は自動開始機能フラグD5を参照し、自動開始機能がONに設定されているか否かを判定する(S101)。すなわち、制御部11は自動開始機能フラグが「1」であるか否かを判定する。   After execution of step S100, the control unit 11 refers to the automatic start function flag D5 and determines whether or not the automatic start function is set to ON (S101). That is, the control unit 11 determines whether or not the automatic start function flag is “1”.

自動開始機能がONに設定されている場合、制御部11は例外条件テーブルD6を参照し、いずれかの例外条件が満足されるか否かを判定する(S102)。   When the automatic start function is set to ON, the control unit 11 refers to the exception condition table D6 and determines whether any exception condition is satisfied (S102).

いずれの例外条件も満足されない場合、制御部11は、対象処方データの調剤処理を調剤装置20に開始させる(S103)。例えば、制御部11は、対象処方データの調剤処理の開始を要求する要求データを調剤装置20に送信することによって、当該調剤処理を調剤装置20に開始させる。なお、この場合、制御部11は処方データテーブルD3にアクセスし、対象処方データの自動開始フラグ及び実行状況フラグをそれぞれ「1」に設定する。   When none of the exceptional conditions is satisfied, the control unit 11 causes the dispensing device 20 to start dispensing processing of the target prescription data (S103). For example, the control unit 11 causes the dispensing apparatus 20 to start the dispensing process by transmitting request data requesting the start of the dispensing process of the target prescription data to the dispensing apparatus 20. In this case, the control unit 11 accesses the prescription data table D3 and sets the automatic start flag and the execution status flag of the target prescription data to “1”, respectively.

その後、制御部11は調剤処理が完了したか否かを監視する(S104)。例えば、調剤装置20は調剤処理を完了した場合にその旨を制御部11に通知するようになっており、制御部11は当該通知を調剤装置20から受信したか否かを監視する。   Thereafter, the control unit 11 monitors whether the dispensing process has been completed (S104). For example, the dispensing device 20 notifies the control unit 11 when the dispensing process is completed, and the control unit 11 monitors whether or not the notification is received from the dispensing device 20.

調剤処理が完了した場合、制御部11は調剤処理の実行結果を実行履歴テーブルD4に登録する(S105)。例えば、制御部11は新たなレコードを実行履歴テーブルD4に追加し、当該新たなレコードに今回の調剤処理の実行結果を登録する。この場合、制御部11は処方データテーブルD3にもアクセスし、対象処方データの実行状況フラグを「2」に更新する。   When the dispensing process is completed, the control unit 11 registers the execution result of the dispensing process in the execution history table D4 (S105). For example, the control unit 11 adds a new record to the execution history table D4 and registers the execution result of the current dispensing process in the new record. In this case, the control unit 11 also accesses the prescription data table D3, and updates the execution status flag of the target prescription data to “2”.

なお、ステップS101において、自動開始機能がONに設定されていないと判定された場合、すなわち、自動開始機能がOFFに設定されている場合、制御部11はステップS102〜S105を実行することなく(すなわち、調剤処理を調剤装置20に開始させることなく)、本処理を終了する。この場合、制御部11は処方データテーブルD3にアクセスし、対象処方データの自動開始フラグ及び実行状況フラグをそれぞれ「0」に設定する。   If it is determined in step S101 that the automatic start function is not set to ON, that is, if the automatic start function is set to OFF, the control unit 11 does not execute steps S102 to S105 ( That is, the present process is terminated without causing the dispensing apparatus 20 to start the dispensing process. In this case, the control unit 11 accesses the prescription data table D3 and sets the automatic start flag and the execution status flag of the target prescription data to “0”, respectively.

また、ステップS102において、いずれかの例外条件が満足されたと判定された場合も、制御部11はステップS103〜S105を実行することなく(すなわち、調剤処理を調剤装置20に開始させることなく)、本処理を終了する。この場合も、制御部11は処方データテーブルD3にアクセスし、対象処方データの自動開始フラグ及び実行状況フラグをそれぞれ「0」に設定する。   Moreover, also when it is determined in step S102 that any of the exceptional conditions is satisfied, the control unit 11 does not execute steps S103 to S105 (that is, without causing the dispensing device 20 to start the dispensing process). This process ends. Also in this case, the control unit 11 accesses the prescription data table D3 and sets the automatic start flag and the execution status flag of the target prescription data to “0”, respectively.

[4−2]図13は、一覧画面G1を表示するための操作が行われた場合に調剤制御システム1で実行される処理の一例を示すフロー図である。   [4-2] FIG. 13 is a flowchart showing an example of processing executed by the dispensing control system 1 when an operation for displaying the list screen G1 is performed.

図13に示すように、まず、制御部11は一覧画面G1を表示部15に表示する(S110)。この場合、制御部11は処方データテーブルD3にアクセスし、自動開始フラグ及び実行状況フラグが「0」である処方データの一覧を一覧画面G1に表示する。ここで、自動開始フラグ及び実行状況フラグが「0」である処方データとは、調剤処理が自動的に開始されなかった処方データである。   As shown in FIG. 13, first, the control unit 11 displays a list screen G1 on the display unit 15 (S110). In this case, the control unit 11 accesses the prescription data table D3 and displays a list of prescription data whose automatic start flag and execution status flag are “0” on the list screen G1. Here, the prescription data whose automatic start flag and execution status flag are “0” is prescription data in which the dispensing process has not been automatically started.

一覧画面G1が表示されている間、制御部11は、一覧画面G1に表示されている処方データのいずれかが使用者によって選択されたか否かを監視する(S111)。   While the list screen G1 is displayed, the control unit 11 monitors whether any of the prescription data displayed on the list screen G1 has been selected by the user (S111).

いずれかの処方データが使用者によって選択された場合、制御部11は、選択された処方データの調剤処理の開始指示を行うことが可能な権限者を特定する(S112)。具体的には、制御部11は権限者特定テーブルD7を参照し、選択された処方データの調剤処理の開始指示を行うために必要な権限レベル(必要権限レベル)を取得する。例えば図11に示す権限者特定テーブルD7の場合であれば、制御部11は条件C1〜C7のいずれかが満足されているか否かを判定する。条件C1〜C7のいずれかが満足されている場合、制御部11は、当該条件に関連付けられた必要権限レベルを取得する。一方、条件C1〜C7のいずれも満足されていない場合、制御部11は、条件C8に関連付けられた必要権限レベルを取得する。そして、取得された必要権限レベルを有する使用者が上記権限者として特定される。   When any prescription data is selected by the user, the control unit 11 specifies an authorized person who can give an instruction to start the dispensing process of the selected prescription data (S112). Specifically, the control unit 11 refers to the authorized person identification table D7, and obtains the authority level (necessary authority level) necessary for instructing the start of the dispensing process for the selected prescription data. For example, in the case of the authorized person identification table D7 shown in FIG. 11, the control unit 11 determines whether any of the conditions C1 to C7 is satisfied. When any of the conditions C1 to C7 is satisfied, the control unit 11 acquires a necessary authority level associated with the condition. On the other hand, when none of the conditions C1 to C7 is satisfied, the control unit 11 acquires the necessary authority level associated with the condition C8. Then, the user having the acquired necessary authority level is specified as the authority.

ステップS112の実行後、制御部11は、現在の使用者(ログイン中の使用者)がステップS112で特定された権限者であるか否かを判定する(S113)。具体的には、制御部11は、現在の使用者の権限レベルがステップS112で取得された必要権限レベルであるか否かを判定する。この場合、現在の使用者の権限レベルが必要権限レベルであれば、現在の使用者は権限者であると判定される。   After execution of step S112, the control unit 11 determines whether or not the current user (logged-in user) is the authorized person specified in step S112 (S113). Specifically, the control unit 11 determines whether or not the current user authority level is the required authority level acquired in step S112. In this case, if the authority level of the current user is the necessary authority level, it is determined that the current user is an authorized person.

現在の使用者が権限者でない場合、制御部11は指示画面G2を表示部15に表示する(S119)。ただし、この場合、制御部11は実行ボタンP22を指示画面G2に表示しない。なお、制御部11は実行ボタンP22を押下不可の状態(例えばグレーアウトの状態)で指示画面G2に表示するようにしてもよい。   If the current user is not an authorized person, the control unit 11 displays the instruction screen G2 on the display unit 15 (S119). However, in this case, the control unit 11 does not display the execution button P22 on the instruction screen G2. The control unit 11 may display the instruction button G22 on the instruction screen G2 in a state where the execution button P22 cannot be pressed (for example, a grayed out state).

一方、現在の使用者が権限者である場合、制御部11は指示画面G2を表示部15に表示する(S114)。この場合、制御部11は実行ボタンP22を指示画面G2に表示する。そして、制御部11は、実行ボタンP22が使用者によって押下されたか否かを監視する(S115)。実行ボタンP22が押下された場合、制御部11は、ステップS111で選択された処方データの調剤処理を調剤装置20に開始させる(S116)。その後、制御部11は調剤処理が完了したか否かを監視し(S117)、調剤処理が完了した場合、制御部11は調剤処理の実行結果を実行履歴テーブルD4に登録する(S118)。   On the other hand, when the current user is an authorized person, the control unit 11 displays the instruction screen G2 on the display unit 15 (S114). In this case, the control unit 11 displays an execution button P22 on the instruction screen G2. Then, the control unit 11 monitors whether or not the execution button P22 has been pressed by the user (S115). When the execution button P22 is pressed, the control unit 11 causes the dispensing device 20 to start dispensing processing for the prescription data selected in step S111 (S116). Thereafter, the control unit 11 monitors whether or not the dispensing process is completed (S117). When the dispensing process is completed, the control unit 11 registers the execution result of the dispensing process in the execution history table D4 (S118).

ステップS116〜S118は図12のステップS103〜S105と同様である。ただし、ステップS118では、実行ボタンP22を押下した使用者の使用者ID及び権限レベルが実行履歴テーブルD4の「開始指示者」や「権限レベル」フィールドに登録される。また、指示画面G2のコメント欄P21に入力されたコメントが実行履歴テーブルD4の「コメント」フィールドに登録される。さらに、値「0」が実行履歴テーブルD4の「自動開始フラグ」フィールドに登録される。   Steps S116 to S118 are the same as steps S103 to S105 in FIG. However, in step S118, the user ID and authority level of the user who pressed the execution button P22 are registered in the “start instructor” and “authority level” fields of the execution history table D4. In addition, the comment input in the comment field P21 of the instruction screen G2 is registered in the “comment” field of the execution history table D4. Further, the value “0” is registered in the “automatic start flag” field of the execution history table D4.

図13では、ステップS113の処理をステップS114の前に実行するようになっているが、ステップS113の処理を、ステップS114の前に実行するのではなく、ステップS115で実行ボタンP22が押下されたと判定された場合に実行するようにし、ステップS119の処理を省略するようにしてもよい。この場合のステップS113の処理で現在の使用者が権限者であると判定されたら、ステップS116の処理を実行し、現在の使用者が権限者でないと判定されたら、その旨のエラーメッセージを表示して処理を終了するようにしてもよい。   In FIG. 13, the process of step S113 is executed before step S114, but the process of step S113 is not executed before step S114, but the execution button P22 is pressed in step S115. If it is determined, the process may be executed, and the process of step S119 may be omitted. If it is determined in step S113 that the current user is an authorized person, the process in step S116 is executed. If it is determined that the current user is not an authorized person, an error message to that effect is displayed. Then, the process may be terminated.

なお、指示画面G2が表示されている間には、使用者によって入力されたコメントをコメント欄P21に表示する処理、戻るボタンP23が押下されたか否かを監視する処理や、戻るボタンP23が押下された場合に一覧画面G1を表示部15に表示させるため処理も実行されるが、説明の簡便のため、図13では省略している。   While the instruction screen G2 is being displayed, a process for displaying a comment input by the user in the comment field P21, a process for monitoring whether or not the return button P23 has been pressed, and a return button P23 being pressed. In such a case, a process for displaying the list screen G1 on the display unit 15 is also executed, but is omitted in FIG.

[5.まとめ]以上説明した調剤制御システム1によれば、自動開始機能フラグD5と判断部107とを備えることにより、使用者は、調剤処理を自動的に開始させるのか、所定の権限者が処方情報を確認した後で調剤処理を開始させるのかを選択することが可能になる。すなわち、調剤処理の開始の仕方を使用者の要望に合わせることが可能になる。その結果、使用者の利便性を向上することが可能になる。   [5. Summary] According to the dispensing control system 1 described above, by providing the automatic start function flag D5 and the determination unit 107, the user can automatically start the dispensing process, or a predetermined authority can obtain the prescription information. It becomes possible to select whether to start the dispensing process after confirmation. In other words, it is possible to match the user's request with the method of starting the dispensing process. As a result, user convenience can be improved.

また、調剤制御システム1によれば、例外条件テーブルD6と判断部107(及び対象処方データ判定部108又は直前処方データ判定部109)とを備えることにより、原則として、調剤処理の自動開始機能をONに設定し、特定の場合に限って、例外的に、調剤処理を自動的に開始させずに、所定の権限者が処方情報を確認した後で調剤処理を開始させることが可能になる。   Moreover, according to the dispensing control system 1, by providing the exceptional condition table D6 and the determination unit 107 (and the target prescription data determination unit 108 or the immediately preceding prescription data determination unit 109), in principle, the automatic start function of the dispensing process is provided. It is set to ON, and only in a specific case, the dispensing process can be started after a predetermined authority confirms the prescription information, without exceptionally starting the dispensing process automatically.

例えば、注意を要する特定の薬剤が対象処方データに含まれている場合(例外条件EC1,EC2)や、対象処方データの患者が注意を要する特定の患者である場合(例外条件EC3)には、例外的に、所定の権限者による開始指示がなければ調剤処理を開始させないようにすることが可能になる。すなわち、所定の権限者が患者情報や処方内容を十分に確認した上で調剤処理が実行されるように図ることが可能になる。   For example, when a specific drug requiring attention is included in the target prescription data (exception conditions EC1, EC2), or when a patient of the target prescription data is a specific patient requiring attention (exception condition EC3), Exceptionally, it is possible to prevent the dispensing process from starting without a start instruction from a predetermined authority. That is, it becomes possible for the prescribed authority to perform the dispensing process after sufficiently confirming the patient information and the prescription content.

また、対象処方データが調剤制御システム1の入力画面を介して手入力されたものである場合(例外条件EC4)や、上位システム2での鑑査結果が「警告あり」であった場合(例外条件EC5)にも、例外的に、所定の権限者による開始指示がなければ調剤処理を開始させないようにすることが可能になる。すなわち、所定の権限者が処方情報に問題がないことを改めて確認した上で調剤処理が実行されるように図ることが可能になる。   In addition, when the target prescription data is manually input via the input screen of the dispensing control system 1 (exception condition EC4), or when the inspection result in the host system 2 is “with warning” (exception condition) Also in EC5), it becomes possible to prevent the dispensing process from starting unless there is an instruction to start by a predetermined authority. That is, the dispensing process can be executed after a predetermined authority confirms again that there is no problem in the prescription information.

さらに、調剤処理の際に薬剤と触れる調剤装置20の部分(薬剤投入部等)に薬剤が残っていることがないように特に注意を要する薬剤が直前処方データに含まれている場合(例外条件EC6)にも、例外的に、所定の権限者による開始指示がなければ調剤処理を開始させないようにすることが可能になる。すなわち、所定の権限者が薬剤投入部等に薬剤が残っていないことを十分に確認した上で調剤処理が実行されるように図ることが可能になる。   Further, when the prescription data includes a drug requiring special attention so that the drug does not remain in the part of the dispensing device 20 (drug input part or the like) that comes into contact with the drug during the dispensing process (exception condition) Also in EC6), it becomes possible to prevent the dispensing process from starting unless there is an instruction to start by a predetermined authority. That is, it becomes possible for a predetermined authorized person to execute the dispensing process after sufficiently confirming that no medicine remains in the medicine input unit or the like.

調剤業務に関しては薬剤師法等の法律が存在しているが、以上に説明した機能が調剤制御システム1に備えられる結果として、使用者は適法性や自動化による調剤作業の効率化等を考慮しつつ調剤制御システム1の使用の仕方を決定し、その使用の仕方で調剤制御システム1を使用することが可能になる。   There are laws such as the Pharmacist Law regarding dispensing operations, but as a result of providing the dispensing control system 1 with the functions described above, the user is taking into account legality and efficiency in dispensing operations through automation. It is possible to determine how to use the dispensing control system 1 and to use the dispensing control system 1 in accordance with the usage.

また、調剤制御システム1では、人が服用する「薬品」という生命に直結するものを生成するため、人が介在して行うことによって安全性を十分に確保すべき場合と、調剤作業を自動化して効率化を図る場合との境界が非常に重要になる。この点、以上に説明した機能が調剤制御システム1に備えられる結果として、原則として、調剤処理を自動的に開始させるようにして効率化を図りつつ、安全性を十分に確保すべく人が介在して調剤処理を実行すべき特定の場合には、確実に人を介して調剤処理が実行されるように図ることが可能になる。   In addition, since the dispensing control system 1 generates a “medicine” that is directly taken by a person, the dispensing control system 1 automates the dispensing operation when safety should be sufficiently ensured by human intervention. Therefore, the boundary with efficiency improvement becomes very important. In this respect, as a result of providing the dispensing control system 1 with the above-described functions, in principle, the dispensing process is automatically started so as to improve efficiency and human intervention is required to ensure sufficient safety. Thus, in a specific case where the dispensing process is to be executed, it is possible to ensure that the dispensing process is executed through a person.

さらに、調剤制御システム1によれば、権限者特定テーブルD7と権限者設定部113とを備えることにより、対象処方データ又は直前処方データに合わせて、適切な権限者を設定することが可能になる。例えば、特別に注意を要する場合(条件C1,C6)には、特に経験豊富な薬剤師のみが調剤処理の開始指示を行うことができるようにし、通常の場合(条件C8)には、特に経験豊富な薬剤師でなくても調剤処理の開始指示を行うことができるようにすることが可能になる。   Furthermore, according to the dispensing control system 1, it is possible to set an appropriate authorized person according to the target prescription data or the immediately preceding prescription data by including the authorized person specifying table D7 and the authorized person setting unit 113. . For example, when special attention is required (conditions C1 and C6), only an experienced pharmacist can instruct the start of the dispensing process, and when normal (condition C8), particularly experienced Even if it is not a proper pharmacist, it becomes possible to give an instruction to start the dispensing process.

先述の通り、調剤制御システム1では、人が服用する「薬品」という生命に直結するものを生成するため、人が介在して行うことによって安全性を十分に確保すべき場合と、調剤作業を自動化して効率化を図る場合との境界が非常に重要になる。この点、以上に説明した機能が調剤制御システム1に備えられる結果として、安全性を十分に確保すべく人が介在して調剤処理を実行すべき場合には、その際の状況(対象処方データ又は直前処方データ)に合った適切な人を介して調剤処理が実行されるように図ることが可能になる。   As described above, in the dispensing control system 1, a “medicine” that is taken by a person is directly related to life, so that the safety should be sufficiently ensured by human intervention, and the dispensing operation is performed. The boundary with the case of automation and efficiency improvement becomes very important. In this regard, as a result of providing the dispensing control system 1 with the functions described above, if the dispensing process should be executed with human intervention to ensure sufficient safety, the situation at that time (target prescription data) Alternatively, it is possible to perform the dispensing process through an appropriate person matching the previous prescription data.

[6.変形例]本発明は以上説明した実施形態に限定されるものではない。   [6. Modification] The present invention is not limited to the embodiment described above.

[6−1.変形例1]自動開始機能がONに設定されているにもかかわらず、例外条件EC1〜EC6のいずれかによって調剤処理の自動開始が制限(抑止)された処方データに関しては、一覧画面G1において、その旨や当該例外条件に関する情報を表示するようにしてもよい。このようにすることによって、調剤処理の自動開始が制限(抑止)されたことやその理由を使用者が把握し易くなるようにしてもよい。   [6-1. Modification 1] Regarding the prescription data in which the automatic start of the dispensing process is restricted (suppressed) by any of the exception conditions EC1 to EC6 even though the automatic start function is set to ON, in the list screen G1, You may make it display the information regarding that and the said exceptional condition. By doing in this way, you may make it easy for a user to grasp | ascertain and the reason that the automatic start of the dispensing process was restrict | limited (suppressed).

[6−2.変形例2]例えば、図1には1台の調剤装置20のみが示されているが、複数台の調剤装置20が調剤制御システム1(制御装置10)によって制御されるようにしてもよい。図14は変形例を示しており、図14では、調剤制御システム1が第1調剤装置20Aと第2調剤装置20Bとを含んでいる。この場合、実行履歴テーブルD4には、調剤処理を実行した調剤装置20を示す「調剤装置」フィールドを追加することによって、調剤処理がどの調剤装置20で実行されたかを後で特定できるようにしてもよい。   [6-2. Modification 2] For example, only one dispensing device 20 is shown in FIG. 1, but a plurality of dispensing devices 20 may be controlled by the dispensing control system 1 (control device 10). FIG. 14 shows a modification. In FIG. 14, the dispensing control system 1 includes a first dispensing device 20A and a second dispensing device 20B. In this case, in the execution history table D4, a “dispensing device” field indicating the dispensing device 20 that has executed the dispensing process is added so that the dispensing device 20 in which the dispensing process has been executed can be identified later. Also good.

[6−3.変形例2A]図14に示す調剤制御システム1において、第2調剤装置20Bは、人の操作を要することなく調剤処理を全自動で行うものでなくてもよい。すなわち、第2調剤装置20Bは、主に人が装置による補助を受けながら調剤処理を行うようなものであってもよい。また、この場合の例外条件テーブルD6には、図15に示すような例外条件EC7を設定するようにしてもよい。   [6-3. Modification 2A] In the dispensing control system 1 shown in FIG. 14, the second dispensing device 20B may not perform the dispensing process fully automatically without requiring any human operation. That is, the second dispensing device 20B may be such that a person performs the dispensing process while mainly receiving assistance from the device. In this case, an exception condition EC7 as shown in FIG. 15 may be set in the exception condition table D6.

図15に示す例外条件EC7は「対象処方データの予測調剤時間が20分以上である」との条件である。この場合、対象処方データ判定部108は、対象処方データの処方内容に基づいて、第1調剤装置20A(すなわち、調剤処理を全自動で行う調剤装置)によって対象処方データの調剤処理を実行した場合に要する時間を予測し、当該時間(予測調剤時間)が20分以上であるか否かを判定する。そして、例外条件EC7が満足されると判定された場合、判断部107は、対象処方データの調剤処理の自動開始を制限すると判断する。   The exceptional condition EC7 shown in FIG. 15 is a condition that “the predicted dispensing time of the target prescription data is 20 minutes or more”. In this case, the target prescription data determination unit 108 executes the dispensing process of the target prescription data by the first dispensing device 20A (that is, the dispensing device that performs the dispensing process fully automatically) based on the prescription content of the target prescription data. Is predicted, and it is determined whether or not the time (predicted dispensing time) is 20 minutes or more. When it is determined that the exceptional condition EC7 is satisfied, the determination unit 107 determines to limit the automatic start of the dispensing process of the target prescription data.

第1調剤装置20Aに調剤処理を実行させた場合に多くの時間がかかってしまうような処方データに関しては、使用者が第2調剤装置20Bで調剤処理を行った方が短い時間で調剤を行うことができて効率的な場合がある。この点、上記のようにすれば、第1調剤装置20Aに調剤処理を実行させた場合に多くの時間がかかってしまうような場合には、自動開始機能がONに設定されていたとしても、例外的に、第1調剤装置20Aに調剤処理を実行させないようになる。その結果として、使用者が第2調剤装置20Bで調剤処理を行うことができるようになり、調剤業務の効率化を図ることができるようになる。   Regarding prescription data that takes a long time when the first dispensing device 20A executes the dispensing process, the user performs the dispensing in a shorter time when the user performs the dispensing process in the second dispensing device 20B. It can be efficient. In this regard, as described above, in the case where it takes a long time when the first dispensing device 20A executes the dispensing process, even if the automatic start function is set to ON, Exceptionally, the first dispensing device 20A is not allowed to execute the dispensing process. As a result, the user can perform the dispensing process with the second dispensing device 20B, and the efficiency of the dispensing operation can be improved.

[6−4.変形例3]図10及び図15に示す例外条件テーブルD6は、自動開始機能がONに設定されている場合であっても、例外的に調剤処理の自動開始を制限する場合の条件を示すデータであったが、自動開始機能がOFFに設定されている場合であっても、例外的に調剤処理の自動開始を制限しない場合の条件を示す例外条件テーブルが設定データ記憶部101に記憶されるようにしてもよい。   [6-4. Variation 3] The exception condition table D6 shown in FIGS. 10 and 15 is data indicating conditions for exceptionally limiting the automatic start of the dispensing process even when the automatic start function is set to ON. However, even when the automatic start function is set to OFF, an exception condition table indicating conditions when the automatic start of dispensing processing is not restricted exceptionally is stored in the setting data storage unit 101. You may do it.

図16はこの場合の例外条件テーブルD8の一例を示す。なお、例外条件テーブルD8は例外条件テーブルD6とともに設けるようにしてもよいし、例外条件テーブルD6の代わりに設けるようにしてもよい。また、図17はこの場合の機能ブロック図を示す。図17に示す機能ブロック図は、日時判定部116を含む点で図4に示す機能ブロック図と異なる。日時判定部116は、現在が、設定データ記憶部101に記憶される設定データに設定された条件を満足するか否かを判定する。詳細については後述する。   FIG. 16 shows an example of the exceptional condition table D8 in this case. The exception condition table D8 may be provided together with the exception condition table D6, or may be provided instead of the exception condition table D6. FIG. 17 is a functional block diagram in this case. The functional block diagram shown in FIG. 17 is different from the functional block diagram shown in FIG. The date / time determination unit 116 determines whether or not the current time satisfies the condition set in the setting data stored in the setting data storage unit 101. Details will be described later.

例外条件テーブルD8には、調剤処理の自動開始を制限する必要のない処方データに関する条件が設定される。また、例外条件テーブルD8には、調剤処理の自動開始を制限する必要のある日又は時刻に関する条件、又は、調剤処理の自動開始を制限する必要のない日又は時刻に関する条件が設定される。図16に示す例外条件テーブルD8では例外条件EC11,EC12,及びEC13が設定されている。例外条件EC11,EC12は、調剤処理の自動開始を制限する必要のない処方データに関する条件に相当する。例外条件EC13は、調剤処理の自動開始を制限しない方がよい日(曜日)に関する条件に相当する。   Conditions relating to prescription data that do not need to limit the automatic start of the dispensing process are set in the exception condition table D8. In the exception condition table D8, a condition related to a day or time when it is necessary to limit the automatic start of the dispensing process, or a condition related to a day or time that does not need to limit the automatic start of the dispensing process is set. In the exceptional condition table D8 shown in FIG. 16, exceptional conditions EC11, EC12, and EC13 are set. The exceptional conditions EC11 and EC12 correspond to conditions relating to prescription data that do not need to limit the automatic start of the dispensing process. The exceptional condition EC13 corresponds to a condition related to a day (day of the week) when it is better not to limit the automatic start of the dispensing process.

例外条件EC11は「対象処方データが同一の患者に過去に処方された処方データと同一である」との条件である。ここで、対象処方データが同一の患者に過去に処方された処方データと同一である場合とは、対象処方データが同一の患者に過去に処方された処方データと処方内容が同一である場合である。なお、例えば、医療機関、診療科、医師、薬剤、用法、用量、日数、及び数量のすべてが同一である場合に処方内容が同一であるとみなすようにしてもよいし、これらの項目のうちの特定の一部項目が同一である場合に処方内容が同一であるとみなすようにしてもよい。   The exceptional condition EC11 is a condition that “the target prescription data is the same as prescription data previously prescribed for the same patient”. Here, the case where the target prescription data is the same as the prescription data previously prescribed for the same patient is the case where the prescription data is the same as the prescription data previously prescribed for the same patient. is there. In addition, for example, when all of the medical institution, medical department, doctor, drug, usage, dose, days, and quantity are the same, the prescription content may be regarded as the same, and among these items If certain specific items are the same, the prescription content may be regarded as the same.

このような例外条件EC11が設定されている場合、例えば、対象処方データ判定部108は対象処方データのDO処方フラグを参照することによって、対象処方データがDO処方機能によって入力(生成)されたものであるか否かを判定する。そして、対象処方データがDO処方機能によって入力されたものである場合に、対象処方データ判定部108は例外条件EC11が満足されたと判定する。   When such an exceptional condition EC11 is set, for example, the target prescription data determination unit 108 refers to the DO prescription flag of the target prescription data, and the target prescription data is input (generated) by the DO prescription function. It is determined whether or not. When the target prescription data is input by the DO prescription function, the target prescription data determination unit 108 determines that the exceptional condition EC11 is satisfied.

または、対象処方データ判定部108は処方データテーブルD3を参照することによって、同一の患者に過去に処方された処方データのうちに対象処方データと同一の処方データが存在するか否かを判定するようにしてもよい。そして、上記のような処方データが存在する場合に、対象処方データ判定部108は例外条件EC11が満足されたと判定するようにしてもよい。   Alternatively, the target prescription data determination unit 108 refers to the prescription data table D3 to determine whether prescription data identical to the target prescription data exists in prescription data previously prescribed for the same patient. You may do it. Then, when the prescription data as described above exists, the target prescription data determination unit 108 may determine that the exceptional condition EC11 is satisfied.

なお、例えば国及び特定地域等によって構築され、医療・調剤業界で共有される公共データベースに、患者に過去に処方された処方データが保存されている場合、対象処方データ判定部108は当該公共データベースにアクセスすることによって、同一の患者に過去に処方された処方データのうちに対象処方データと同一の処方データが存在するか否かを判定するようにしてもよい。そして、上記のような処方データが存在する場合に、対象処方データ判定部108は例外条件EC11が満足されたと判定するようにしてもよい。   For example, when prescription data preliminarily prescribed to a patient is stored in a public database that is constructed by a country, a specific region, etc. and is shared by the medical / dispensing industry, the target prescription data determination unit 108 By accessing, it may be determined whether or not the same prescription data as the target prescription data exists in the prescription data previously prescribed for the same patient. Then, when the prescription data as described above exists, the target prescription data determination unit 108 may determine that the exceptional condition EC11 is satisfied.

例外条件EC11が満足されると判定された場合、自動開始機能がOFFになっていたとしても、例外的に、判断部107は対象処方データの調剤処理の自動開始を制限しないと判断し、第1開始制御部111が自動的に対象処方データの調剤処理を調剤装置20に開始させる。一般的に、同一の患者に過去に処方された処方データと同一の処方データに関しては、改めて確認する必要性が低いと考えられるところ、上記のような例外条件EC11を設定することにより、そのような場合に、例外的に、調剤処理を自動的に開始させることが可能になる。   If it is determined that the exception condition EC11 is satisfied, even if the automatic start function is OFF, the determination unit 107 determines that the automatic start of the dispensing process of the target prescription data is not limited, 1 Start control part 111 makes dispensing device 20 start dispensing processing of object prescription data automatically. In general, regarding prescription data identical to prescription data previously prescribed for the same patient, it is considered that there is little need to confirm again. By setting the exceptional condition EC11 as described above, such In exceptional cases, the dispensing process can be started automatically.

なお、例外条件EC11は「対象処方データが同一の患者に過去に処方された処方データと同一又は類似である」との条件としてもよい。ここで、対象処方データが同一の患者に過去に処方された処方データと類似である場合とは、対象処方データが同一の患者に過去に処方された処方データと同一ではないが、同一とみなしても問題がないような場合である。   The exceptional condition EC11 may be a condition that “the target prescription data is the same as or similar to prescription data previously prescribed for the same patient”. Here, when the target prescription data is similar to the prescription data previously prescribed to the same patient, the target prescription data is not the same as the prescription data previously prescribed to the same patient, but is regarded as the same. Even if there is no problem.

また、例外条件EC11の代わりに、「対象処方データと同一又は類似の処方データの調剤処理が過去に調剤装置20によって実行されたことがある」との例外条件を設定するようにしてもよい。このような例外条件が設定されている場合、対象処方データ判定部108は処方データテーブルD3(及び実行履歴テーブルD4)を参照することによって、対象処方データと同一又は類似の処方データの調剤処理が過去に調剤装置20によって実行されたことがあるか否かを判定するようにすればよい。そして、対象処方データと同一又は類似の処方データの調剤処理が過去に調剤装置20によって実行されたことがある場合に、例外的に判断部107が調剤処理の自動開始を制限しないと判断するようにしてもよい。   Instead of the exceptional condition EC11, an exceptional condition may be set such that “the dispensing process of prescription data that is the same as or similar to the target prescription data has been executed by the dispensing device 20 in the past”. When such an exceptional condition is set, the target prescription data determination unit 108 refers to the prescription data table D3 (and the execution history table D4), so that the dispensing process of prescription data that is the same as or similar to the target prescription data is performed. What is necessary is just to determine whether it has been performed by the dispensing apparatus 20 in the past. Then, when the dispensing process of the same or similar prescription data as the target prescription data has been executed by the dispensing apparatus 20 in the past, the determination unit 107 exceptionally determines that the automatic start of the dispensing process is not restricted. It may be.

なお、上記のような例外条件とともに、「現在の使用者(現在ログインしている使用者)が、対象処方データと同一又は類似の処方データの調剤処理が過去に調剤装置20によって実行された際に当該調剤制御システムにログインしていた使用者と同一である」との例外条件も設定するようにしてもよい。そして、対象処方データと同一又は類似の処方データの調剤処理が過去に調剤装置20によって実行されたことがあり、かつ、その際の使用者(その際にログインしていた使用者)が現在の使用者と同一である場合に例外的に判断部107が調剤処理の自動開始を制限しないと判断するようにしてもよい。   In addition, with the exception conditions as described above, “when the current user (the currently logged-in user) has performed dispensing processing of prescription data identical or similar to the target prescription data by the dispensing device 20 in the past. It is also possible to set an exceptional condition of “the same as the user who has logged into the dispensing control system”. And the dispensing process of the prescription data which is the same as or similar to the target prescription data has been executed by the dispensing device 20 in the past, and the user at that time (the user who was logged in at that time) If the user is the same as the user, the determination unit 107 may exceptionally determine that the automatic start of the dispensing process is not restricted.

また、例外条件EC11の代わりに、「対象処方データが同一の患者に過去に処方された処方データと同一又は類似であり、対象処方データと同一又は類似の処方データの調剤処理が過去に調剤装置20によって実行されたことがある」との例外条件を設定するようにしてもよい。ここで、処方データが同一である場合とは、患者が同一であり、かつ、処方内容が同一である場合である。なお、例えば、医療機関、診療科、医師、薬剤、用法、用量、日数、及び数量のすべてが同一である場合に処方内容が同一であるとみなすようにしてもよいし、これらの項目のうちの特定の一部項目が同一である場合に処方内容が同一であるとみなすようにしてもよい。また、処方データが類似である場合とは、患者が同一であって、かつ、処方内容が同一でなかったとしても、処方内容が同一であるとみなしても問題がないような場合である。   Also, instead of the exceptional condition EC11, “the prescription data is the same as or similar to the prescription data previously prescribed for the same patient, and the prescription data that is the same or similar to the target prescription data has been dispensed in the past. An exception condition that “has been executed by 20” may be set. Here, the case where the prescription data is the same is a case where the patient is the same and the prescription content is the same. In addition, for example, when all of the medical institution, medical department, doctor, drug, usage, dose, days, and quantity are the same, the prescription content may be regarded as the same, and among these items If certain specific items are the same, the prescription content may be regarded as the same. The case where the prescription data is similar is a case where there is no problem even if the prescription contents are the same even if the patients are the same and the prescription contents are not the same.

このような例外条件が設定されている場合、対象処方データ判定部108は先述の公共データベースにアクセスすることによって、対象処方データが同一の患者に過去に処方された処方データと同一又は類似であるか否かを判定するようにしてもよい。または、対象処方データ判定部108は処方データテーブルD3(及び実行履歴テーブルD4)を参照することによって、対象処方データと同一又は類似の処方データの調剤処理が過去に調剤装置20によって実行されたことがあるか否かを判定するようにしてもよい。   When such an exceptional condition is set, the target prescription data determination unit 108 accesses the public database described above, so that the target prescription data is the same as or similar to the prescription data previously prescribed for the same patient. It may be determined whether or not. Alternatively, the prescription data determination unit 108 refers to the prescription data table D3 (and the execution history table D4), so that the dispensing process of prescription data that is the same as or similar to the target prescription data has been executed by the dispensing device 20 in the past. You may make it determine whether there exists.

そして、対象処方データが同一の患者に過去に処方された処方データと同一又は類似であり、かつ、対象処方データと同一又は類似の処方データの調剤処理が過去に調剤装置20によって実行されたことがある場合に、例外的に判断部107が調剤処理の自動開始を制限しないと判断するようにしてもよい。   Then, the prescription data that is the same or similar to the prescription data previously prescribed to the same patient and the prescription data that is the same or similar to the target prescription data has been executed by the dispensing device 20 in the past. If there is an exception, the determination unit 107 may exceptionally determine that the automatic start of the dispensing process is not restricted.

一方、対象処方データが同一の患者に過去に処方された処方データと同一又は類似であったとしても、対象処方データと同一又は類似の処方データの調剤処理が過去に調剤装置20によって実行されたことがなければ、判断部107は調剤処理の自動開始を制限すると判断するようにしてもよい。すなわち、対象処方データが同一の患者に過去に処方された処方データと同一又は類似であったとしても、それが自らの病院又は調剤薬局で調剤したものでなければ(他の病院又は調剤薬局で調剤されたものであれば)、調剤処理を自動的に開始させず、所定の権限者からの開始指示を待って、調剤処理を開始させるようにしてもよい。   On the other hand, even if the target prescription data is the same or similar to the prescription data previously prescribed to the same patient, the dispensing device 20 has executed the dispensing process of the same or similar prescription data to the target prescription data in the past. Otherwise, the determination unit 107 may determine that the automatic start of the dispensing process is restricted. That is, even if the target prescription data is the same or similar to the prescription data previously prescribed to the same patient, if it is not prepared at the own hospital or dispensing pharmacy (at another hospital or dispensing pharmacy) If it is dispensed), the dispensing process may not be started automatically, but the dispensing process may be started after a start instruction from a predetermined authority.

また、例外条件EC12は「対象処方データが上位システム2から提供されたものである」との条件である。このような例外条件E12が設定されている場合、例えば、対象処方データ判定部108は処方データテーブルD3にアクセスし、対象処方データの入力システムフラグを参照することによって、対象処方データが上位システム2から提供されたものであるか否かを判定する。そして、対象処方データが上位システム2から提供されたものである場合に、対象処方データ判定部108は例外条件EC12が満足されたと判定する。   The exceptional condition EC12 is a condition that “the target prescription data is provided from the higher system 2”. When such an exceptional condition E12 is set, for example, the target prescription data determination unit 108 accesses the prescription data table D3 and refers to the input system flag of the target prescription data, so that the target prescription data is the upper system 2. It is determined whether or not the information is provided from. When the target prescription data is provided from the host system 2, the target prescription data determination unit 108 determines that the exceptional condition EC12 is satisfied.

例外条件EC12が満足されたと判定された場合、自動開始機能がOFFになっていたとしても、例外的に、判断部107は対象処方データの調剤処理の自動開始を制限しないと判断し、第1開始制御部111が自動的に対象処方データの調剤処理を調剤装置20に開始させる。上位システム2から提供された処方データに関しては、上位システム2側でも鑑査が行われていることから、改めて確認する必要性が低いと考えられるところ、上記のような例外条件EC12を設定することにより、そのような場合に、例外的に、調剤処理を自動的に開始させることが可能になる。   If it is determined that the exception condition EC12 is satisfied, even if the automatic start function is OFF, the determination unit 107 determines that the automatic start of the dispensing process of the target prescription data is not limited, and the first The start control unit 111 automatically causes the dispensing apparatus 20 to start dispensing the target prescription data. Regarding the prescription data provided from the host system 2, the inspection is also performed on the host system 2 side, so it is considered that the necessity for reconfirmation is low. By setting the exception condition EC12 as described above, In such a case, the dispensing process can be started automatically in exceptional cases.

また、例外条件EC13は「本日が月曜日である」との条件である。このような例外条件E13が設定されている場合、日時判定部116は、例えばコンピュータに備えられている計時機能等を用いて、本日が月曜日であるか否かを判定する。本日が月曜日である場合には例外条件EC13が満足されたと判定される。   The exceptional condition EC13 is a condition that “Today is Monday”. When such an exceptional condition E13 is set, the date / time determination unit 116 determines whether today is Monday, for example, using a clock function provided in the computer. If today is Monday, it is determined that the exceptional condition EC13 is satisfied.

判断部107は、日時判定部116の判定結果に基づいて、調剤処理の自動開始を制限するか否かを判断する。例えば、例外条件EC13が満足されたと日時判定部116によって判定された場合、自動開始機能がOFFになっていたとしても、例外的に、判断部107は対象処方データの調剤処理の自動開始を制限しないと判断し、第1開始制御部111が自動的に対象処方データの調剤処理を調剤装置20に開始させる。一般的に、月曜日は病院で受診する患者が多くなり、調剤処理の件数が多くなることが見込まれるところ、上記のような例外条件EC13を設定することにより、そのような場合に、例外的に、調剤処理を自動的に開始させることが可能になる。   The determination unit 107 determines whether or not to restrict the automatic start of the dispensing process based on the determination result of the date / time determination unit 116. For example, if the date and time determination unit 116 determines that the exception condition EC13 is satisfied, the determination unit 107 exceptionally restricts the automatic start of the dispensing process of the target prescription data even if the automatic start function is OFF. The first start control unit 111 automatically causes the dispensing device 20 to start dispensing the target prescription data. In general, on Monday, there are many patients who visit the hospital and the number of dispensing processes is expected to increase. By setting the exceptional condition EC13 as described above, in such cases, The dispensing process can be automatically started.

例外条件EC13は一例にすぎず、調剤処理の件数が多くなることが見込まれる期間(繁忙期間)を例外条件として設定してもよい。また、営業時間外の時間帯を例外条件として設定することによって、営業時間外の時間帯に調剤処理が自動的に開始されるようにしてもよい。   The exceptional condition EC13 is merely an example, and a period (busy period) in which the number of dispensing processes is expected to increase may be set as an exceptional condition. Alternatively, the dispensing process may be automatically started during the non-business hours by setting the non-business hours as an exception condition.

なお、図16に示したような例外条件テーブルD8が設定されている場合、図12に示す処理では下記に説明するような処理が実行される。   When the exceptional condition table D8 as shown in FIG. 16 is set, the process described below is executed in the process shown in FIG.

具体的には、ステップS101において、自動開始機能がONに設定されていないと判定された場合(自動開始機能がOFFに設定されている場合)に、例えば図18に示すような処理が実行される。すなわち、まず、制御部11は図16に示した例外条件テーブルD8を参照し、例外条件EC11〜EC13のいずれかが満足されるか否かを判定する(S120)。   Specifically, when it is determined in step S101 that the automatic start function is not set to ON (when the automatic start function is set to OFF), for example, the processing shown in FIG. 18 is executed. The That is, first, the control unit 11 refers to the exception condition table D8 shown in FIG. 16 and determines whether any of the exception conditions EC11 to EC13 is satisfied (S120).

そして、例外条件EC11〜EC13のいずれかが満足されていれば、制御部11は対象処方データの調剤処理を調剤装置20に開始させる(S121)。その後、制御部11は調剤処理が完了したか否かを監視し(S122)、調剤処理が完了した場合に、制御部11は調剤処理の実行結果を実行履歴テーブルD4に登録する(S123)。これらのステップS121〜S123は図12のステップS103〜S105と同様である。   If any of the exceptional conditions EC11 to EC13 is satisfied, the control unit 11 causes the dispensing device 20 to start dispensing the target prescription data (S121). Thereafter, the control unit 11 monitors whether or not the dispensing process is completed (S122), and when the dispensing process is completed, the control unit 11 registers the execution result of the dispensing process in the execution history table D4 (S123). These steps S121 to S123 are the same as steps S103 to S105 in FIG.

一方、例外条件EC11〜EC13のいずれも満足されていなければ、制御部11はステップS121〜S123を実行することなく(すなわち、調剤処理を調剤装置20に開始させることなく)、処理を終了する。なお、この場合、制御部11は処方データテーブルD3にアクセスし、対象処方データの自動開始フラグ及び実行状況フラグをそれぞれ「0」に設定する。   On the other hand, if none of the exceptional conditions EC11 to EC13 is satisfied, the control unit 11 ends the process without executing steps S121 to S123 (that is, without causing the dispensing device 20 to start the dispensing process). In this case, the control unit 11 accesses the prescription data table D3 and sets the automatic start flag and the execution status flag of the target prescription data to “0”, respectively.

このような変形例3によれば、例外条件テーブルD8を備えることにより、原則として、調剤処理の自動開始機能をOFFに設定し、特定の場合に限って、例外的に、調剤処理を自動的に開始させることが可能になる。   According to the third modified example, by providing the exception condition table D8, in principle, the dispensing process automatic start function is set to OFF, and the dispensing process is automatically performed only in a specific case. Can be started.

例えば、対象処方データが特定の処方データである場合(例外条件EC11,EC12)に限って、例外的に、調剤処理の自動的に開始させることが可能になる。具体的には、対象処方データが同一の患者に過去に処方された処方データと同一である場合や、対象処方データが上位システム2から提供されたものである場合のように、改めて処方情報を確認する必要性が低い場合(言い換えれば、改めて処方情報を確認しなくても安全性が十分に確保される場合)に、例外的に、調剤処理を自動的に開始させることが可能になり、その結果として調剤業務の効率化を図ることが可能になる。   For example, the dispensing process can be automatically started exceptionally only when the target prescription data is specific prescription data (exception conditions EC11 and EC12). Specifically, when the target prescription data is the same as the prescription data previously prescribed to the same patient, or when the target prescription data is provided from the host system 2, the prescription information is updated again. If the need for confirmation is low (in other words, safety is sufficiently ensured without reconfirming prescription information), exceptionally, the dispensing process can be started automatically, As a result, it becomes possible to improve the efficiency of the dispensing operation.

また、病院で受診する患者が多くなる月曜日のように、調剤処理の件数が多くなることが見込まれるような場合(例外条件EC13)にも、例外的に、調剤処理を自動的に開始させることが可能になり、その結果として調剤業務の効率化を図ることが可能になる。   Also, in cases where the number of dispensing processes is expected to increase (exception condition EC13), such as on Mondays when more patients visit the hospital, the dispensing process should be started automatically. As a result, it becomes possible to improve the efficiency of the dispensing operation.

先述の通り、調剤制御システム1では、人が服用する「薬品」という生命に直結するものを生成するため、人が介在して行うことによって安全性を十分に確保すべき場合と、調剤作業を自動化して効率化を図る場合との境界が非常に重要になる。この点、変形例3によれば、原則として、人を介して調剤処理が開始されるようにして安全性を十分に確保しつつ、人が介在して調剤処理を実行する必要性が低い場合に限って、調剤処理が自動的に開始させるようにして効率化を図ることが可能になる。   As described above, in the dispensing control system 1, a “medicine” that is taken by a person is directly related to life, so that the safety should be sufficiently ensured by human intervention, and the dispensing operation is performed. The boundary with the case of automation and efficiency improvement becomes very important. In this regard, according to the third modification, in principle, when the dispensing process is started through a person and the safety is sufficiently ensured, and the necessity for executing the dispensing process through a person is low. However, it is possible to improve efficiency by automatically starting the dispensing process.

[6−5.変形例4]調剤制御システム1(制御装置10)は、実行履歴テーブルD4に登録された調剤処理の実行履歴を表示部15に表示したり、印刷部16に印刷させたりする実行履歴出力制御部を備えるようにしてもよい。   [6-5. Modification 4] The dispensing control system 1 (the control device 10) displays an execution history of the dispensing process registered in the execution history table D4 on the display unit 15 or causes the printing unit 16 to print the execution history output control unit. You may make it provide.

例えば、使用者が検索条件を指定できるようにし、実行履歴出力制御部は、検索条件を満足する実行履歴の一覧を表示又は印刷させるようにしてもよい。または、実行履歴出力制御部は、検索条件を満足する実行履歴の集計を表示又は印刷させるようにしてもよい。なお、検索条件としては、例えば、期間、患者、開始指示者、権限レベル、自動開始であるか否か等を指定できるようにしてもよい。   For example, the search condition may be specified by the user, and the execution history output control unit may display or print a list of execution histories that satisfy the search condition. Alternatively, the execution history output control unit may display or print the execution history total satisfying the search condition. In addition, as a search condition, for example, a period, a patient, a start instructor, an authority level, whether or not it is automatic start, and the like may be specified.

また、変形例2Aの場合、実行履歴出力制御部は、第1調剤装置20Aで実行された調剤処理(すなわち、装置が主体となって全自動で行われた調剤処理)の一覧や件数と、第2調剤装置20Bで実行された調剤処理(すなわち、装置の補助を受けながら人が主体となって行われた調剤処理)の一覧や件数とを表示又は印刷させるようにしてもよい。   In the case of the modification 2A, the execution history output control unit includes a list and the number of dispensing processes executed by the first dispensing apparatus 20A (that is, dispensing processes performed fully automatically by the apparatus as a main component), You may make it display or print the list and the number of the dispensing processes (namely, the dispensing process performed mainly by the person with the assistance of the apparatus) executed in the second dispensing apparatus 20B.

なお、調剤処理の実行履歴だけでなく、調剤制御システム1で行われた各種操作の履歴もデータ記憶部100に登録するようにしてもよい。また、操作履歴を表示部15に表示したり、印刷部に印刷させたりする操作履歴出力制御部を備えるようにしてもよい。   Note that not only the execution history of the dispensing process but also the history of various operations performed in the dispensing control system 1 may be registered in the data storage unit 100. Further, an operation history output control unit that displays the operation history on the display unit 15 or causes the printing unit to print the operation history may be provided.

[6−6.変形例5]1件の処方データの調剤処理が実行されるごとに強制的に使用者のログオフが行われるようにしてもよい。   [6-6. Modification 5] The user may be forced to log off each time the dispensing process of one prescription data is executed.

調剤制御システム1のようなシステムでは、ある使用者がログインした状態のままで使用されることによって、システム上は当該使用者が調剤処理の開始指示を行ったことになっているにもかかわらず、実際には別の使用者が調剤処理の開始指示を行っているという運用が行われるおそれがある。この点、1件の処方データの調剤処理が実行されるごとに強制的に使用者のログオフが行われるようにすれば、調剤処理の開始指示を行うために毎回ログインが必要になるため、上記のような運用が行われ難くなる。   In a system such as the dispensing control system 1, a certain user is used while logged in, so that the user instructs the dispensing process to start on the system. In actuality, there is a risk that another user is instructing to start the dispensing process. In this regard, if the user is forced to log off each time the dispensing process of one prescription data is executed, login is necessary every time to give an instruction to start the dispensing process. It becomes difficult to operate like this.

なお、この変形例では、調剤処理の完了後に直ちにログオフが行われるようにしてもよいし、調剤処理の完了後に所定時間が経過したらログオフが行われるようにしてもよい。例えば、調剤処理の完了後に所定時間(例えば20秒等)にわたって操作が行われなかった場合にログオフが行われるような構成とすることにより、調剤処理の完了後に所定時間内に操作を行えば次の調剤処理を連続して実行させることが可能となるようにしてもよい。また、強制ログオフの有無、強制ログオフの仕方、及び上記所定時間に関しては、所定の権限を有する使用者(例えば権限レベル「6」の使用者)が任意に設定できるようにしてもよい。   In this modification, logoff may be performed immediately after completion of the dispensing process, or logoff may be performed when a predetermined time has elapsed after completion of the dispensing process. For example, if the operation is not performed for a predetermined time (for example, 20 seconds) after completion of the dispensing process, the log-off is performed. It may be possible to continuously execute the dispensing process. In addition, regarding the presence / absence of forced logoff, the method of forced logoff, and the predetermined time, a user having a predetermined authority (for example, a user with an authority level “6”) may be arbitrarily set.

1 調剤制御システム、2 上位システム、10 制御装置、11 制御部、12 記憶部、13 通信部、14 操作部、15 表示部、16 印刷部、17 データベース、20 調剤装置、20A 第1調剤装置、20B 第2調剤装置、100 データ記憶部、101 設定データ記憶部、102 権限者特定データ記憶部、103 入力画面表示制御部、104 処方データ取得部、105 第1処方データ取得部、106 第2処方データ取得部、107 判断部、108 対象処方データ判定部、109 直前処方データ判定部、110 開始制御部、111 第1開始制御部、1121 第2開始制御部、113 権限者設定部、114 開始指示受付部、115 実行履歴登録部、116 日時判定部、G1 一覧画面、G2 指示画面、P21 コメント欄、P22 実行ボタン、P23 戻るボタン、D1 使用者テーブル、D2 患者テーブル、D3 処方データテーブル、D4 実行履歴テーブル、D5 自動開始機能フラグ、D6 例外条件テーブル、D7 権限者特定テーブル、D8 例外条件テーブル。   DESCRIPTION OF SYMBOLS 1 Dispensing control system, 2 Host system, 10 Control apparatus, 11 Control part, 12 Storage part, 13 Communication part, 14 Operation part, 15 Display part, 16 Printing part, 17 Database, 20 Dispensing apparatus, 20A 1st dispensing apparatus, 20B 2nd dispensing device, 100 data storage unit, 101 setting data storage unit, 102 authorized person specific data storage unit, 103 input screen display control unit, 104 prescription data acquisition unit, 105 first prescription data acquisition unit, 106 second prescription Data acquisition unit, 107 determination unit, 108 target prescription data determination unit, 109 immediately preceding prescription data determination unit, 110 start control unit, 111 first start control unit, 1121 second start control unit, 113 authorized person setting unit, 114 start instruction Reception unit, 115 execution history registration unit, 116 date and time determination unit, G1 list screen, G2 instruction screen, P21 Comment field, P22 execution button, P23 return button, D1 user table, D2 patient table, D3 prescription data table, D4 execution history table, D5 automatic start function flag, D6 exception condition table, D7 authority person identification table, D8 exception condition table.

Claims (19)

調剤処理を調剤実行手段に自動的に開始させることが可能な調剤制御システムにおいて、
前記調剤処理の対象となる対象処方データを取得する処方データ取得手段と、
前記調剤処理の自動開始を制限するか否かを判断するために設定された設定データを記憶する設定データ記憶手段と、
前記設定データに基づいて、前記調剤処理の自動開始を制限するか否かを判断する判断手段と、
前記調剤処理の自動開始を制限しないと判断された場合、自動的に、前記対象処方データの前記調剤処理を前記調剤実行手段に開始させる第1開始制御手段と、
前記調剤処理の自動開始を制限すると判断された場合、前記調剤処理の開始指示を所定の権限者から受け付けた場合に、前記対象処方データの前記調剤処理を前記調剤実行手段に開始させる第2開始制御手段と、
を含むことを特徴とする調剤制御システム。
In a dispensing control system capable of automatically starting dispensing processing by the dispensing execution means,
Prescription data acquisition means for acquiring target prescription data to be subjected to the dispensing process;
Setting data storage means for storing setting data set to determine whether or not to restrict the automatic start of the dispensing process;
A determination means for determining whether to restrict automatic start of the dispensing process based on the setting data;
When it is determined not to limit the automatic start of the dispensing process, a first start control unit that automatically causes the dispensing execution unit to start the dispensing process of the target prescription data;
When it is determined that the automatic start of the dispensing process is restricted, a second start for causing the dispensing execution unit to start the dispensing process of the target prescription data when an instruction to start the dispensing process is received from a predetermined authority Control means;
A dispensing control system comprising:
請求項1に記載の調剤制御システムにおいて、
前記設定データには、前記調剤処理の自動開始を制限する必要のある処方データに関する条件、又は、前記調剤処理の自動開始を制限する必要のない処方データに関する条件が設定され、
前記調剤制御システムは、前記対象処方データが前記条件を満足するか否かを判定する対象処方データ判定手段を含み、
前記判断手段は、前記対象処方データ判定手段の判定結果に基づいて、前記調剤処理の自動開始を制限するか否かを判断する、
ことを特徴とする調剤制御システム。
The dispensing control system according to claim 1,
In the setting data, conditions related to prescription data that need to limit the automatic start of the dispensing process, or conditions related to prescription data that does not need to limit the automatic start of the dispensing process are set,
The dispensing control system includes target prescription data determination means for determining whether the target prescription data satisfies the condition,
The determination means determines whether to limit the automatic start of the dispensing process based on the determination result of the target prescription data determination means.
Dispensing control system characterized by that.
請求項2に記載の調剤制御システムにおいて、
前記条件は、前記対象処方データに特定の薬剤が患者に提供されるべき薬剤として含まれているか否かに関する条件を含む、
ことを特徴とする調剤制御システム。
The dispensing control system according to claim 2,
The condition includes a condition regarding whether or not a specific drug is included in the target prescription data as a drug to be provided to a patient.
Dispensing control system characterized by that.
請求項2又は3のいずれかに記載の調剤制御システムにおいて、
前記条件は、前記対象処方データに含まれる患者データに関する条件を含む、
ことを特徴とする調剤制御システム。
In the dispensing control system according to claim 2 or 3,
The conditions include conditions related to patient data included in the target prescription data.
Dispensing control system characterized by that.
請求項2乃至4のいずれかに記載の調剤制御システムにおいて、
前記処方データ取得手段は、他のシステムで入力された処方データを前記対象処方データとして取得し、
前記他のシステムでは処方データに対する監査が行われ、
前記条件は、前記対象処方データに対する前記監査の結果が所定の結果であったか否かの条件を含む、
ことを特徴とする調剤制御システム。
The dispensing control system according to any one of claims 2 to 4,
The prescription data acquisition means acquires prescription data input in another system as the target prescription data,
In the other system, the prescription data is audited,
The condition includes a condition as to whether or not the result of the audit for the target prescription data was a predetermined result.
Dispensing control system characterized by that.
請求項2乃至5のいずれかに記載の調剤制御システムにおいて、
処方データの入力を受け付けるための入力画面を表示手段に表示させる表示制御手段を含み、
前記処方データ取得手段は、
前記入力画面を介して入力された処方データを前記対象処方データとして取得する第1処方データ取得手段と、
他のシステムで入力された処方データを前記対象処方データとして取得する第2処方データ取得手段と、を含み、
前記条件は、前記対象処方データが、前記入力画面を介して入力された処方データと、前記他のシステムで入力された処方データとのいずれであるのかの条件を含む、
ことを特徴とする調剤制御システム。
In the dispensing control system according to any one of claims 2 to 5,
Including display control means for causing the display means to display an input screen for accepting input of prescription data,
The prescription data acquisition means includes
First prescription data acquisition means for acquiring prescription data input via the input screen as the target prescription data;
Second prescription data acquisition means for acquiring prescription data input in another system as the target prescription data,
The condition includes a condition as to whether the target prescription data is prescription data input via the input screen or prescription data input by the other system.
Dispensing control system characterized by that.
請求項2乃至6のいずれかに記載の調剤制御システムにおいて、
前記条件は、前記対象処方データが、同一の患者に過去に処方されたことのある処方データと同一又は類似の処方データであるか否かの条件を含む、
ことを特徴とする調剤制御システム。
The dispensing control system according to any one of claims 2 to 6,
The condition includes a condition as to whether or not the target prescription data is the same or similar prescription data to prescription data that has been prescribed to the same patient in the past.
Dispensing control system characterized by that.
請求項2乃至7のいずれかに記載の調剤制御システムにおいて、
前記条件は、前記対象処方データと同一又は類似の処方データの調剤処理が過去に前記調剤実行手段によって実行されたことがあるか否かの条件を含む、
ことを特徴とする調剤制御システム。
The dispensing control system according to any one of claims 2 to 7,
The conditions include a condition as to whether or not a dispensing process of the same or similar prescription data as the target prescription data has been executed by the dispensing execution means in the past.
Dispensing control system characterized by that.
請求項7を引用する請求項8に記載の調剤制御システムにおいて、
前記判断手段は、前記対象処方データが、同一の患者に過去に処方されたことのある処方データと同一又は類似の処方データであったとしても、前記対象処方データと同一又は類似の処方データの調剤処理が過去に前記調剤実行手段によって実行されたことがない場合には、前記調剤処理の自動開始を制限すると判断する、
ことを特徴とする調剤制御システム。
A dispensing control system according to claim 8 quoting claim 7.
Even if the target prescription data is prescription data that is the same or similar to prescription data that was previously prescribed to the same patient, If the dispensing process has not been executed by the dispensing execution means in the past, it is determined to limit the automatic start of the dispensing process.
Dispensing control system characterized by that.
請求項2乃至9のいずれかに記載の調剤制御システムにおいて、
前記条件は、当該調剤制御システムに現在ログインしている者が、前記対象処方データと同一又は類似の処方データの調剤処理が過去に前記調剤実行手段によって実行された際に当該調剤制御システムにログインしていた者と同一であるか否かの条件を含む、
ことを特徴とする調剤制御システム。
The dispensing control system according to any one of claims 2 to 9,
The condition is that a person who is currently logged in to the dispensing control system logs in to the dispensing control system when dispensing processing of prescription data that is the same as or similar to the target prescription data has been executed by the dispensing execution means in the past. Including the condition of whether or not it is the same as the person who was
Dispensing control system characterized by that.
請求項2乃至10のいずれかに記載の調剤制御システムにおいて、
前記条件は、前記対象処方データに基づいて予測される前記調剤処理の実行に要する時間に関する条件を含む、
ことを特徴とする調剤制御システム。
The dispensing control system according to any one of claims 2 to 10,
The condition includes a condition related to a time required for execution of the dispensing process predicted based on the target prescription data.
Dispensing control system characterized by that.
請求項1乃至11のいずれかに記載の調剤制御システムにおいて、
前記設定データには、前記調剤処理の自動開始を制限する必要のある処方データ、又は、前記調剤処理の自動開始を制限する必要のない処方データに関する条件が設定され、
前記調剤制御システムは、直前に実行された前記調剤処理の対象であった処方データが前記条件を満足するか否かを判定する直前処方データ判定手段を含み、
前記判断手段は、前記直前処方データ判定手段の判定結果に基づいて、前記調剤処理の自動開始を制限するか否かを判断する、
ことを特徴とする調剤制御システム。
The dispensing control system according to any one of claims 1 to 11,
In the setting data, prescription data that needs to limit the automatic start of the dispensing process, or conditions for prescription data that does not need to limit the automatic start of the dispensing process is set,
The dispensing control system includes immediately preceding prescription data determination means for determining whether prescription data that was the object of the dispensing process executed immediately before satisfies the condition,
The determination means determines whether or not to limit the automatic start of the dispensing process based on the determination result of the immediately preceding prescription data determination means.
Dispensing control system characterized by that.
請求項1乃至12のいずれかに記載の調剤制御システムにおいて、
前記設定データには、前記調剤処理の自動開始を制限する必要のある日又は時刻に関する条件、又は、前記調剤処理の自動開始を制限する必要のない日又は時刻に関する条件が設定され、
前記調剤制御システムは、現在が前記条件を満足するか否かを判定する日時判定手段を含み、
前記判断手段は、前記日時判定手段の判定結果に基づいて、前記調剤処理の自動開始を制限するか否かを判断する、
ことを特徴とする調剤制御システム。
The dispensing control system according to any one of claims 1 to 12,
In the setting data, a condition related to a day or time when it is necessary to limit the automatic start of the dispensing process, or a condition related to a day or time that does not need to limit the automatic start of the dispensing process is set,
The dispensing control system includes date and time determination means for determining whether or not the current condition satisfies the condition,
The determination means determines whether to restrict automatic start of the dispensing process based on the determination result of the date determination means.
Dispensing control system characterized by that.
請求項1乃至13のいずれかに記載の調剤制御システムにおいて、
前記対象処方データに基づいて、前記権限者を設定する権限者設定手段を含む、
ことを特徴とする調剤制御システム。
The dispensing control system according to any one of claims 1 to 13,
Including an authorized person setting means for setting the authorized person based on the target prescription data;
Dispensing control system characterized by that.
請求項14に記載の調剤制御システムにおいて、
前記処方データに関する条件と関連付けて、当該処方データの前記調剤処理の開始を指示することが可能な権限者を特定するための権限者特定データを記憶する権限者特定データ記憶手段を含み、
前記権限者設定手段は、前記調剤処理の対象である対象処方データが前記条件を満足する場合に、当該条件と関連付けられた前記権限者特定データに基づいて、前記権限者を設定する、
ことを特徴とする調剤制御システム。
The dispensing control system according to claim 14,
An authority specifying data storage means for storing authority specifying data for specifying an authorized person capable of instructing the start of the dispensing process of the prescription data in association with the condition relating to the prescription data;
The authorized person setting means sets the authorized person based on the authorized person specifying data associated with the condition when the target prescription data that is the target of the dispensing process satisfies the condition.
Dispensing control system characterized by that.
請求項14又は15に記載の調剤制御システムにおいて、
前記権限者設定手段は、直前に実行された前記調剤処理の対象であった処方データに基づいて、前記権限者を設定する手段を含む、
ことを特徴とする調剤制御システム。
The dispensing control system according to claim 14 or 15,
The authorized person setting means includes means for setting the authorized person based on prescription data that was the object of the dispensing process executed immediately before.
Dispensing control system characterized by that.
請求項1乃至16のいずれかに記載の調剤制御システムにおいて、
前記調剤処理の対象である対象処方データと、当該調剤処理の開始指示を行った権限者に関する権限者データと、当該権限者によって入力されたコメントデータとを関連付けて所定の記憶手段に登録する登録手段を含む、
ことを特徴とする調剤制御システム。
The dispensing control system according to any one of claims 1 to 16,
Registration for registering in the predetermined storage means in association with the target prescription data that is the subject of the dispensing process, the authorized person data relating to the authorized person who has instructed to start the dispensing process, and the comment data entered by the authorized person Including means,
Dispensing control system characterized by that.
請求項1乃至17のいずれかに記載の調剤制御システムにおいて、
前記調剤実行手段は、
(a)散薬の自動調剤・分包装置又はシステム、
(b)錠剤の自動調剤・分包装置又はシステム、
(c)水剤の自動調剤・分注装置又はシステム、
(d)抗癌剤の自動混注装置又はシステム、
(e)調剤鑑査装置又はシステム
(f)これらの装置のうちのいずれか一種類の装置又はシステムが複数接続された態様、又は、
(g)これらの装置のうちの複数種類の装置又はシステムが接続された態様、
のいずれかであることを特徴とする調剤制御システム。
The dispensing control system according to any one of claims 1 to 17,
The dispensing execution means includes
(A) Powder automatic dispensing / packaging device or system,
(B) Automatic dispensing / packaging device or system for tablets,
(C) Automatic dispensing / dispensing device or system for liquid medicine,
(D) an automatic anti-cancer agent co-infusion apparatus or system;
(E) Dispensing inspection device or system (f) A mode in which any one of these devices or systems is connected, or
(G) a mode in which a plurality of types of devices or systems among these devices are connected;
A dispensing control system characterized by being one of the following.
調剤処理の対象となる対象処方データを取得する処方データ取得ステップと、
前記調剤処理の自動開始を制限するか否かを判断するために設定された設定データに基づいて、前記調剤処理の自動開始を制限するか否かを判断する判断ステップと、
前記調剤処理の自動開始を制限しないと判断された場合、自動的に、前記対象処方データの前記調剤処理を調剤実行手段に開始させる第1開始制御ステップと、
前記調剤処理の自動開始を制限すると判断された場合、前記調剤処理の開始指示を所定の権限者から受け付けた場合に、前記対象処方データの前記調剤処理を前記調剤実行手段に開始させる第2開始制御ステップと、
を含むことを特徴とする調剤制御方法。
A prescription data acquisition step for acquiring target prescription data to be subject to dispensing processing;
A determination step for determining whether or not to restrict the automatic start of the dispensing process based on setting data set to determine whether or not to limit the automatic start of the dispensing process;
When it is determined not to limit the automatic start of the dispensing process, a first start control step of automatically causing the dispensing execution means to start the dispensing process of the target prescription data;
When it is determined that the automatic start of the dispensing process is restricted, a second start for causing the dispensing execution unit to start the dispensing process of the target prescription data when an instruction to start the dispensing process is received from a predetermined authority Control steps;
A dispensing control method comprising:
JP2016090947A 2016-04-28 2016-04-28 Dispensing control system and dispensing control method Active JP6769089B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016090947A JP6769089B2 (en) 2016-04-28 2016-04-28 Dispensing control system and dispensing control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016090947A JP6769089B2 (en) 2016-04-28 2016-04-28 Dispensing control system and dispensing control method

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2020158420A Division JP7047877B2 (en) 2020-09-23 2020-09-23 Dispensing control system and dispensing control method

Publications (2)

Publication Number Publication Date
JP2017196260A true JP2017196260A (en) 2017-11-02
JP6769089B2 JP6769089B2 (en) 2020-10-14

Family

ID=60238552

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016090947A Active JP6769089B2 (en) 2016-04-28 2016-04-28 Dispensing control system and dispensing control method

Country Status (1)

Country Link
JP (1) JP6769089B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110767284A (en) * 2019-10-21 2020-02-07 佛山市云壹健康科技服务有限公司 Medicine grading judgment and sale method and medicine sale system applying same

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001187114A (en) * 1999-12-28 2001-07-10 Yuyama Manufacturing Co Ltd Dispensing controller
JP2006502814A (en) * 2002-10-18 2006-01-26 マッケソン オートメーション システムズ,インコーポレイテッド Drug substitution / confirmation / report automation system
JP2008521555A (en) * 2004-12-03 2008-06-26 ビー.ブラウン メディカル,インコーポレイティド Apparatus and method for transferring data to a pharmaceutical formulation system
JP2015226844A (en) * 2014-02-06 2015-12-17 株式会社湯山製作所 Drug imaging device, drug shape measuring device, and drug dispensing device
WO2016047569A1 (en) * 2014-09-25 2016-03-31 株式会社湯山製作所 Inspection assistance system and tablet packaging device
WO2016047525A1 (en) * 2014-09-24 2016-03-31 株式会社湯山製作所 Drug dispensing device and powdered drug preparation task assistance system
JP2016045926A (en) * 2014-08-19 2016-04-04 株式会社湯山製作所 Ward medicine business support system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001187114A (en) * 1999-12-28 2001-07-10 Yuyama Manufacturing Co Ltd Dispensing controller
JP2006502814A (en) * 2002-10-18 2006-01-26 マッケソン オートメーション システムズ,インコーポレイテッド Drug substitution / confirmation / report automation system
JP2008521555A (en) * 2004-12-03 2008-06-26 ビー.ブラウン メディカル,インコーポレイティド Apparatus and method for transferring data to a pharmaceutical formulation system
JP2015226844A (en) * 2014-02-06 2015-12-17 株式会社湯山製作所 Drug imaging device, drug shape measuring device, and drug dispensing device
JP2016045926A (en) * 2014-08-19 2016-04-04 株式会社湯山製作所 Ward medicine business support system
WO2016047525A1 (en) * 2014-09-24 2016-03-31 株式会社湯山製作所 Drug dispensing device and powdered drug preparation task assistance system
WO2016047569A1 (en) * 2014-09-25 2016-03-31 株式会社湯山製作所 Inspection assistance system and tablet packaging device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110767284A (en) * 2019-10-21 2020-02-07 佛山市云壹健康科技服务有限公司 Medicine grading judgment and sale method and medicine sale system applying same

Also Published As

Publication number Publication date
JP6769089B2 (en) 2020-10-14

Similar Documents

Publication Publication Date Title
JP7276536B2 (en) Dispensing control system and dispensing control method
CN105981017B (en) The system and method for distributing determining treatment using intervention and task
US20160318311A1 (en) Networkable medical labeling apparatus and method
US10984896B2 (en) Systems and methods for providing an inducement to purchase incident to a physician's prescription of medication
US8249897B2 (en) Maintaining patient medication lists
US20130204637A1 (en) Pharmacy workflow management system
US20110184755A1 (en) Managing Patient Medication Data
JP6725739B1 (en) Information processing apparatus, information processing method, and program
EP3245137A1 (en) Medical labeling apparatus with drug information
US11302427B2 (en) System and method for managing medicine prescriptions
JP6769089B2 (en) Dispensing control system and dispensing control method
Eiermann et al. Knowledge bases for clinical decision support in drug prescribing–development, quality assurance, management, integration, implementation and evaluation of clinical value
US20170242962A1 (en) Online managed medical portal for patients and physicians
JP7047877B2 (en) Dispensing control system and dispensing control method
US20210313031A1 (en) System, methods, and apparatus for remote verification of pharmacy prescription preparation
AU2014248942A1 (en) Pharmacy workflow management system
WO2017135341A1 (en) Electronic medical chart system
US20220375579A1 (en) Methods and systems for optimizing drug management
McLain et al. Applying the National Inpatient Medication Chart audit to electronic medication management systems: what does it tell us?
JP2003141253A (en) Medicine prescription system
JP7120640B2 (en) Medication guidance support system, method, and computer program
US20230290466A1 (en) Cloud-based infusion medication fulfillment
JP5946160B1 (en) Residual drug adjustment support device, residual drug adjustment support program, residual drug adjustment support method, medication notification management device, and residual drug adjustment method
Hodge et al. Embedding a State-Wide Prescription Drug Monitoring Program into the Electronic Health Record
JP6492590B2 (en) Drug information provision system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20190121

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20191122

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20200107

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20200305

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20200825

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20200907

R150 Certificate of patent or registration of utility model

Ref document number: 6769089

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250