Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP7276536B2 - Dispensing control system and dispensing control method - Google Patents
[go: Go Back, main page]

JP7276536B2 - Dispensing control system and dispensing control method - Google Patents

Dispensing control system and dispensing control method Download PDF

Info

Publication number
JP7276536B2
JP7276536B2 JP2022028142A JP2022028142A JP7276536B2 JP 7276536 B2 JP7276536 B2 JP 7276536B2 JP 2022028142 A JP2022028142 A JP 2022028142A JP 2022028142 A JP2022028142 A JP 2022028142A JP 7276536 B2 JP7276536 B2 JP 7276536B2
Authority
JP
Japan
Prior art keywords
prescription data
dispensing
authorized person
target
control system
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.)
Active
Application number
JP2022028142A
Other languages
Japanese (ja)
Other versions
JP2022060549A (en
Inventor
啓史 家田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yuyama Manufacturing Co Ltd
Original Assignee
Yuyama Manufacturing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from JP2020158420A external-priority patent/JP7047877B2/en
Application filed by Yuyama Manufacturing Co Ltd filed Critical Yuyama Manufacturing Co Ltd
Priority to JP2022028142A priority Critical patent/JP7276536B2/en
Publication of JP2022060549A publication Critical patent/JP2022060549A/en
Application granted granted Critical
Publication of JP7276536B2 publication Critical patent/JP7276536B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Medical Preparation Storing Or Oral Administration Devices (AREA)

Description

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

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

特開2013-052250号公報JP 2013-052250 A

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

本発明は上記課題に鑑みてなされたものであって、その目的は、使用者の利便性を向上することが可能な調剤制御システム及び調剤制御方法を提供することにある。 SUMMARY OF THE INVENTION The present invention has been made in view of the above problems, and an object of the present invention is to provide a dispensing control system and a dispensing control method capable of improving user convenience.

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

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

また、本発明の一態様では、前記設定データには、前記調剤処理の自動開始を制限する必要のある処方データに関する条件、又は、前記調剤処理の自動開始を制限する必要のない処方データに関する条件が設定されるようにしてもよい。前記調剤制御システムは、前記対象処方データが前記条件を満足するか否かを判定する対象処方データ判定手段を含むようにしてもよい。前記判断手段は、前記対象処方データ判定手段の判定結果に基づいて、前記調剤処理の自動開始を制限するか否かを判断するようにしてもよい。 Further, in one aspect of the present invention, the setting data includes conditions related to prescription data that require restriction of the automatic start of the dispensing process, or conditions related to prescription data that do 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 or not the target prescription data satisfies the conditions. The determination means may determine whether or not to limit the automatic start of the dispensing process based on the determination result of the target prescription data determination means.

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

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

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

また、本発明の一態様では、処方データの入力を受け付けるための入力画面を表示手段に表示させる表示制御手段を含むようにしてもよい。前記処方データ取得手段は、前記入力画面を介して入力された処方データを前記対象処方データとして取得する第1処方データ取得手段と、他のシステムで入力された処方データを前記対象処方データとして取得する第2処方データ取得手段と、を含むようにしてもよい。前記条件は、前記対象処方データが、前記入力画面を介して入力された処方データと、前記他のシステムで入力された処方データとのいずれであるのかの条件を含むようにしてもよい。 Further, one aspect of the present invention may include 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 through the input screen as the target prescription data, and acquisition of prescription data input by another system as the target prescription data. and a second prescription data obtaining means for obtaining the prescription data. The condition may include 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.

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

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

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

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

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

また、本発明の一態様では、前記設定データには、前記調剤処理の自動開始を制限する必要のある処方データに関する条件、又は、前記調剤処理の自動開始を制限する必要のない処方データに関する条件が設定されるようにしてもよい。前記調剤制御システムは、直前に実行された前記調剤処理の対象であった処方データが前記条件を満足するか否かを判定する直前処方データ判定手段を含むようにしてもよい。前記判断手段は、前記直前処方データ判定手段の判定結果に基づいて、前記調剤処理の自動開始を制限するか否かを判断するようにしてもよい。 Further, in one aspect of the present invention, the setting data includes conditions related to prescription data that require restriction of the automatic start of the dispensing process, or conditions related to prescription data that do 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 object of the dispensing process executed immediately before satisfies the conditions. The judging means may judge whether or not to limit the automatic start of the dispensing process based on the judgment result of the immediately preceding prescription data judging means.

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

また、本発明の一態様では、前記対象処方データに基づいて、前記権限者を設定する権限者設定手段を含むようにしてもよい。 Further, one aspect of the present invention may include an authorized person setting means for setting the authorized person based on the target prescription data.

また、本発明の一態様では、前記処方データに関する条件と関連付けて、当該処方データの前記調剤処理の開始を指示することが可能な権限者を特定するための権限者特定データを記憶する権限者特定データ記憶手段を含むようにしてもよい。前記権限者設定手段は、前記調剤処理の対象である対象処方データが前記条件を満足する場合に、当該条件と関連付けられた前記権限者特定データに基づいて、前記権限者を設定するようにしてもよい。 Further, in one aspect of the present invention, an authorized person storing authorized person specifying data for specifying an authorized person capable of instructing the start of the dispensing process of the prescription data in association with the conditions related to the prescription data. A 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. good too.

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

また、本発明の一態様では、前記調剤処理の対象である対象処方データと、当該調剤処理の開始指示を行った権限者に関する権限者データと、当該権限者によって入力されたコメントデータとを関連付けて所定の記憶手段に登録する登録手段を含むようにしてもよい。 Further, 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 instructed the start of the dispensing process, and the comment data input by the authority are associated. A registration means for registering the information 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/splitting device or system for powder medicine, (b) an automatic dispensing/splitting device or system for tablets, (c) an automatic Dispensing/dispensing device or system, (d) automatic co-injection device or system for anticancer drugs, (e) dispensing inspection device or system, (f) any one of these devices or systems connected in plurality or (g) a mode in which a plurality of types of devices or systems among these devices are connected.

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

本発明の実施形態に係る調剤制御システムの構成について説明するための図である。1 is a diagram for explaining the configuration of a dispensing control system according to an embodiment of the present invention; FIG. 一覧画面の一例を示す図である。It is a figure which shows an example of a list screen. 指示画面の一例を示す図である。It is a figure which shows an example of an instruction screen. 本発明の実施形態に係る調剤制御システムの機能ブロック図である。1 is a functional block diagram of a dispensing control system according to an embodiment of the present invention; FIG. 使用者テーブルの一例を示す図である。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. 実行履歴テーブルの一例を示す図である。FIG. 10 illustrates an example of an execution history table; FIG. 自動開始機能フラグの一例を示す図である。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 authority specific table. 調剤制御システムで実行される処理の一例を示すフロー図である。FIG. 4 is a flow chart showing an example of processing executed by the dispensing control system; 調剤制御システムで実行される処理の他の一例を示すフロー図である。FIG. 4 is a flowchart showing another example of processing executed by the dispensing control system; 本発明の他の実施形態に係る調剤制御システムの構成について説明するための図である。FIG. 3 is a diagram for explaining the configuration of a dispensing control system according to another embodiment of the present invention; FIG. 例外条件テーブルの他の一例を示す図である。FIG. 10 is a diagram showing another example of an exception condition table; 例外条件テーブルの他の一例を示す図である。FIG. 10 is a diagram showing another example of an exception condition table; 本発明の他の実施形態に係る調剤制御システムの機能ブロック図である。FIG. 3 is a functional block diagram of a dispensing control system according to another embodiment of the present invention; 本発明の他の実施形態に係る調剤制御システムで実行される処理の一例を示すフロー図である。FIG. 10 is a flowchart showing an example of processing executed by a dispensing control system according to another embodiment of the present invention;

以下、本発明の実施形態について図面を参照しながら説明する。図面では同一又は同等の要素には同一の符号を付し、重複する説明を省略する。なお、調剤業界では「調剤」と「調製」との語が区別して用いられる場合があるが、本明細書では「調剤」を広義の意味で用いており、本明細書における「調剤」には、狭義の意味での「調剤」(すなわち「調製」と区別される「調剤」)と、「調製」との両方が含まれることとする。 BEST MODE FOR CARRYING OUT THE 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 overlapping descriptions are omitted. In the pharmaceutical industry, the terms "preparation" and "preparation" may be used separately, but in this specification, "preparation" is used in a broad sense, and "preparation" in this specification includes , "preparation" in the narrow sense (that is, "preparation" as distinguished from "preparation") and "preparation".

[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 is a system that controls the dispensing device 20 to execute dispensing processing.

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

制御部11は1又は複数のマイクロプロセッサを含み、記憶部12に記憶されたプログラムに従って処理を実行する。記憶部12は、例えば主記憶(RAM等)及び補助記憶(ハードディスクドライブ又はソリッドステートドライブ等)の情報記憶媒体を含み、制御部11によって実行されるプログラムを記憶する。記憶部12は制御部11のワークメモリとしても動作する。通信部13は他の装置と通信ネットワークを介してデータ通信するためのものである。 The control unit 11 includes one or more microprocessors and executes processing according to programs stored in the storage unit 12 . The storage unit 12 includes information storage media such as main memory (RAM, etc.) and auxiliary memory (hard disk drive, solid state drive, etc.), and stores programs 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, programs or data are provided to the control device 10 via a communication network. Note that the control device 10 may include components for reading programs or data stored in a computer-readable information storage medium such as a memory card or an optical disk. Then, the program or data may be provided to the control device 10 via an information storage medium.

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

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

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

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

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

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

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

上位システム2では処方データが入力され、上位システム2で入力された処方データは鑑査された後、調剤制御システム1に提供される。例えば、上位システム2の端末が病院内の診療部門に設置され、調剤制御システム1は病院内の調剤部門に設置される。また例えば、上位システム2は病院に設置され、調剤制御システム1は調剤薬局に設置される。 Prescription data is input to the host system 2 , 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 clinical department in the hospital, and the dispensing control system 1 is installed in the dispensing department in the hospital. Also, 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を設置しなくてもよい。 Prescription data can also be entered in the dispensing control system 1 . 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 can receive a paper-issued prescription. It is possible to receive a prescription from a patient and input prescription data while referring to the prescription. That is, the dispensing control system 1 can cause the dispensing device 20 to execute dispensing processing based on the prescription data input by the host system 2, and can also cause the dispensing device 20 to perform dispensing processing based on the prescription data input by the dispensing control system 1. It is also possible to cause the dispensing device 20 to perform the processing. Note that the host system 2 is not essential, and the host system 2 may not be installed.

[2.機能概要]調剤制御システム1は、調剤装置20に調剤処理を自動的に開始させることが可能な自動開始機能を備えている。調剤制御システム1では、使用者が自動開始機能を任意にON/OFFできるようになっている。 [2. Overview of Function] The dispensing control system 1 has an automatic start function that enables 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 an instruction to start the dispensing process from a user (authorized person) having a predetermined authority, and causes the dispensing device 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 the user ID and password on a login screen (not shown), or by the user entering an ID card distributed in advance. may be read by the card reader. However, in the latter case, the control device 10 needs to have a card reader for reading the information recorded on the card in a contact or non-contact manner.

図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 performed. 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 patient name and a part of prescription content are displayed as information indicating each prescription data.

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

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

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

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

調剤制御システム1では、このような機能を備えることにより、使用者が所定の権限者によって処方情報が確認された後で調剤処理を開始させることを望む場合に、使用者は自動開始機能がOFFに設定することによって、自らの要望通りに調剤制御システムを使用できるようになる。一方、使用者が調剤処理を自動的に開始させることを望む場合に、使用者は自動開始機能がONに設定することによって、自らの要望通りに調剤制御システムを使用できるようになる。 In the dispensing control system 1, by providing such a function, the user can turn off the automatic start function when the user desires to start dispensing processing after prescription information is confirmed by a predetermined authorized person. , you can use the dispensing control system as you wish. On the other hand, when the user desires to have the dispensing process automatically started, 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, in a specific case, the automatic start of the dispensing process can be exceptionally restricted. For this reason, in certain cases (for example, when the prescription data contains a drug that requires special attention), the dispensing process is started after the prescription information is confirmed by a predetermined authorized person, and in other cases This feature allows the user to use the dispensing control system as desired if the user wishes to have the dispensing process automatically initiated.

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

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

[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. As shown in FIG.

[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 implemented 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. FIG.

図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 into 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カードをカード読み取り部に読み取らせることによって、使用者の認証や特定が行われるようにしてもよい。 A "user ID" field indicates identification information that uniquely identifies a user. The "Name" field indicates the user's name. The "Password" field indicates the user's password. For example, an encrypted password set by the user or system administrator is registered in the "password" field. When using the dispensing control system 1, the user must be authenticated by entering his or her own user ID and password on the login screen. The user may be authenticated or specified by causing the card reader to read an ID card distributed in advance by the user.

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

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

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

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

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

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

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

図6は患者テーブルD2の一例を示す。患者テーブルD2は患者のリストを示す。図6に示す患者テーブルD2は「患者ID」、「氏名」、「性別」、「年齢」、「生年月日」、及び「薬歴」フィールドを含む。「患者ID」フィールドは、患者を一意に識別する識別情報を示す。「氏名」、「性別」、「年齢」、及び「生年月日」フィールドはそれぞれ患者の氏名、性別、年齢、及び生年月日を示す。「薬歴」フィールドは、これまでに患者に処方された薬の履歴を示す。例えば、患者が調剤薬局に初めて訪れた際に当該患者のデータが患者テーブルD2に登録される。 FIG. 6 shows an example of the patient table D2. A 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 the patient. The "Name", "Gender", "Age", and "Date of Birth" fields indicate the patient's name, sex, age, and date of birth, respectively. The "medicine history" field shows the history of drugs that have been prescribed to the patient so far. For example, when a patient visits a dispensing pharmacy for the first time, 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 and time”, “input system flag”, “inspection result flag”, “DO prescription flag”, “patient”, “prescription content”, “auto start flags”, and “execution status flags” fields.

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

「入力システムフラグ」フィールドは、処方データが入力されたシステムを示す。具体的には、「入力システム」フィールドは、処方データが調剤制御システム1で入力されたものであるか、又は、上位システム2で入力されたものであるかを示す。例えば、処方データが調剤制御システム1で入力されたものである場合には、値「0」が「入力システムフラグ」フィールドに登録される。一方、処方データが上位システム2で入力されたものである場合には、値「1」が「入力システムフラグ」フィールドに登録される。 The "input system flag" field indicates the system into which the prescription data was entered. Specifically, the "input system" field indicates whether the prescription data was input from the dispensing control system 1 or from the host system 2 . For example, if 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 . The host system 2 inspects the prescription data before providing the prescription data to the dispensing control system 1 . For example, conditions for prescription data requiring attention are predetermined, and a warning is issued for prescription data that satisfies the conditions. Regarding the prescription data subject to warning, after reconfirmation by the pharmacist, if there is no particular problem, it is provided to the dispensing control system 1 as it is, and if there is a problem, the dispensing control system 1 is corrected. provided to For example, if the prescription data is input by the host system 2 and the inspection result of 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 "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 the prescription data was entered (generated) using the DO prescription function. The dispensing control system 1 and host system 2 have a DO prescription function. The DO prescription function is a function that makes it possible to easily input prescription data of the same content by duplicating past prescription data for the same patient. For example, if the prescription data was entered using the DO prescription function, a value of "1" is registered in the "DO prescription flag" field; prescription flag” field.

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

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

「実行状況フラグ」フィールドは、処方データの調剤処理の実行状況を示す。例えば、調剤処理を開始する前の状態にある処方データに関しては、値「0」が「実行状況フラグ」フィールドに登録される。また、調剤処理を実行中の状態にある処方データに関しては、値「1」が「実行状況フラグ」フィールドに登録され、調剤処理が終了した状態にある処方データに関しては、値「2」が「実行状況フラグ」フィールドに登録される。 The "execution status flag" field indicates the execution status of dispensing processing of prescription data. For example, a value of "0" is registered in the "execution status flag" field for prescription data in a state prior to the start of dispensing processing. Further, the value "1" is registered in the "execution status flag" field for prescription data whose dispensing process is in progress, and the value "2" is registered for prescription data whose dispensing process is completed. 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 instruction person”, “authority level”, “comment”, “start date and time”, and “end Include date and time fields.

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

「自動開始フラグ」フィールドは、調剤処理が自動開始されたものであるか否かを示す。例えば、調剤処理が自動開始機能によって自動開始されたものである場合には、値「1」が「自動開始フラグ」フィールドに登録される。一方、調剤処理が自動開始機能によって自動開始されたものでなく、所定の権限者によって開始指示が行われたことによって実行されたものである場合には、値「0」が「自動開始フラグ」フィールドに登録される。 The "automatic start flag" field indicates whether or not the dispensing process has been automatically started. For example, if 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 authorized person, the value "0" is the "automatic start flag". registered in the field.

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

図4に示すように、データ記憶部100は設定データ記憶部101を含む。設定データ記憶部101は設定データを記憶する。設定データは、調剤処理の自動開始を制限するか否かを判断するために設定されたデータである。図9及び図10は設定データの一例を示す。 As shown in FIG. 4, data storage unit 100 includes setting data storage unit 101 . The setting data storage unit 101 stores setting data. The setting data is data set for determining whether to restrict the automatic start of dispensing processing. 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 dispensing processing. The automatic start function flag D5 indicates whether the automatic start function is set ON or OFF. For example, the autostart feature flag takes the value "0" or "1". A value of "1" indicates that the autostart feature is set to ON. On the other hand, a value of "0" indicates that the auto-start feature is set to OFF. For this reason, when the automatic start function flag is set to "0", the dispensing control system 1 does not cause the dispensing device 20 to automatically start the dispensing process, but instructs to start the dispensing process with a predetermined authority. After waiting for the receipt from the person, the dispensing device 20 is caused to start dispensing processing.

例えば、自動開始機能フラグD5の初期値は「0」に設定され、権限レベル「6」の使用者は所定の設定画面を介して自動開始機能フラグD5を「1」に変更できる。なお、自動開始機能フラグD5の初期値は「1」に設定されるようにしてもよい。 For example, the initial value of the automatic start function flag D5 is set to "0", and a user with an authority level of "6" can change the automatic start function flag D5 to "1" via a predetermined setting screen. 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, in principle, the dispensing control system 1 causes the dispensing device 20 to automatically start dispensing processing. In this regard, the exception condition table registers a condition (exception condition) for exceptionally restricting the automatic start of the dispensing process even when the automatic start function is set to ON. For example, a user with authority level "6" can set exception conditions 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 "exceptional condition ID" field indicates identification information that uniquely identifies an exceptional condition registered in the exceptional condition table D6. The "exception condition" field indicates an exception condition. Exceptional conditions are registered in the "exceptional condition" field in a form recognizable by the computer (control unit 11). In the following, for the sake of convenience, an exceptional condition whose exceptional condition ID is "ECn" will be referred to as an "exceptional condition ECn".

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

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

ここで、「薬剤A」とは、例えば取り扱いに特に注意を要する薬剤である。また、「薬剤B」とは、例えば薬剤Aに比べると注意度は低いものの、取り扱いには注意を要する薬剤である。このような薬剤A又は薬剤Bが対象処方データに含まれている場合には注意が必要となるが、例外条件EC1,EC2が設定されることにより、薬剤A又は薬剤Bが含まれている処方データに関しては、自動開始機能がONに設定されていたとしても、調剤処理が自動的に開始されず、所定の権限者による開始指示がなければ調剤処理が開始されないようになる。 Here, "medicine A" is, for example, a drug that requires special care in handling. Also, "medicine B" is a drug requiring caution in handling, although the degree of caution is lower than that of drug A, for example. Care must be taken when such drug A or drug B is included in the target prescription data. As for 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 a start instruction is given by a predetermined authorized person.

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

一般的に患者の年齢が低い場合には注意が必要となるが、例外条件EC3が設定されることにより、患者が10歳未満である処方データに関しては、自動開始機能がONに設定されていたとしても、調剤処理が自動的に開始されず、所定の権限者による開始指示がなければ調剤処理が開始されないようになる。なお、患者の性別又は薬歴等に関する条件が例外条件として設定されるようにしてもよい。 In general, caution is required when the patient is young, but by setting the exceptional condition EC3, the automatic start function was set to ON for prescription data for patients under the age of 10. Even so, the dispensing process is not automatically started, and the dispensing process is not started without a start instruction from a predetermined authorized person. Conditions related to the patient's gender, medication history, etc. may be set as exceptional conditions.

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

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

例外条件EC5は、上位システム2での対象処方データに対する監査結果が所定の結果であったか否かの条件である。具体的には、例外条件EC5は「上位システム2での対象処方データの鑑査結果が「警告あり」である」との条件である。 The exception condition EC5 is a condition as to whether or not the inspection 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に設定されていたとしても、調剤処理が自動的に開始されず、所定の権限者による開始指示がなければ調剤処理が開始されないようになる。 Care must be taken when the inspection result of the target prescription data in the host system 2 is "warning", but by setting the exception condition EC5, the inspection result in the host system 2 is "warning". With regard to the prescription data, the dispensing process is not automatically started even if the automatic start function is set to ON, and the dispensing process is not started unless a start instruction is given by a predetermined authorized person.

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

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

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

図11は、権限者特定データの一例である権限者特定テーブルD7の一例を示す。権限者特定テーブルD7は、調剤処理の開始指示を行うことが可能な権限者を特定するためのテーブルである。なお、例えば権限レベル「6」の使用者は所定の設定画面を介して権限者特定テーブルD7を設定できる。 FIG. 11 shows an example of an authority identification table D7, which is an example of authority identification data. The authorized person identification table D7 is a table for identifying an authorized person who can instruct the start of dispensing processing. For example, a user with an authority level of "6" can set the authority 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 give an instruction to start the dispensing process is identified based on the authorized person identification table D7, and a start instruction from the authorized person is waited for. A dispensing process is performed. 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 identification table D7 , an authorized person who can instruct the start of the dispensing process is specified, and the dispensing process is executed after waiting for a start instruction from the authorized person.

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

図11に示す権限者特定テーブルD7では、条件C1~C6が図10に示す例外条件テーブルD6の例外条件EC1~EC6と同じになっているため、ここでは説明を省略する。なお、権限者特定テーブルD7に登録される条件は、例外条件テーブルD6に登録される例外条件と異なっていてもよい。 In the authorized person identification 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. 10, so the explanation is omitted here. The conditions registered in the authority 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 "medicine D is included in the target prescription data". Here, "medicine D" is, for example, a drug requiring a certain degree of caution in handling, although the degree of caution is lower than that of drugs A and B. Condition C8 is a case other than conditions C1 to C7.

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

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

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

なお、先述の通り、権限者特定テーブル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 authority identification table D7 are the same as the exception conditions EC1 to EC6 of the exception condition table D6. In this regard, in the authority identification table D7, the condition C1 is associated with the required authority level of "5-6". There 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 started after waiting for a start instruction from a predetermined authorized person. In this case, users with authority levels "5" to "6" are set as authorized persons.

本実施形態では、例外条件テーブルD6と権限者特定テーブルD7とを別個に設けるようにしたが、これらを一体的に設けるようにしてもよい。例えば、例外条件テーブルD6を省略し、権限者特定テーブルD7のみを設けるようにしてもよい。この場合、例えば、必要権限レベルが「4~6」又は「5~6」に関連付けられている条件を「例外条件」とみなすようにしてもよい。 Although the exception condition table D6 and the authority identification table D7 are provided separately in this embodiment, they may be provided integrally. For example, the exception condition table D6 may be omitted and only the authority identification table D7 may be provided. In this case, for example, a condition associated with a required authority level of "4 to 6" or "5 to 6" may be regarded as an "exceptional 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. , a start control unit 110 , an authorized person setting unit 113 , a start instruction reception unit 114 , and an execution history registration unit 115 . These functional blocks are mainly implemented by the control unit 11 . That is, the control unit 11 functions as these functional blocks by executing processing according to the program.

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

処方データ取得部104は、調剤処理の対象となる対象処方データを取得する。図4に示すように、処方データ取得部104は第1処方データ取得部105及び第2処方データ取得部106を含む。 The prescription data acquisition unit 104 acquires target prescription data for dispensing processing. As shown in FIG. 4 , the prescription data acquisition section 104 includes a first prescription data acquisition section 105 and a second prescription data acquisition section 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 from 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. Alternatively, the second prescription data acquisition unit 106 accesses the storage device in which the prescription data input by the host system 2 is stored, and acquires the prescription data as target 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) shown in FIG. Specifically, when the automatic start function flag is "0", the determination unit 107 determines to limit the automatic start of the dispensing process. On the other hand, when the automatic start function flag is "1", in principle, the judgment unit 107 judges that the automatic start of dispensing processing is not restricted.

また例えば、判断部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, which will be 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 includes conditions related to prescription data that require restriction of automatic start of dispensing processing, or conditions related to prescription data that do not require restriction of automatic start of dispensing processing. A condition is set, and the target prescription data determination unit 108 determines whether or not the target prescription data satisfies the condition.

例えば、対象処方データ判定部108は、図10に示した例外条件テーブルD6(設定データの一例)に設定された例外条件EC1~EC5のいずれかを対象処方データが満足するか否かを判定する。自動開始機能フラグが「1」であったとしても、対象処方データが例外条件EC1~EC5のいずれかを満足すると対象処方データ判定部108によって判定された場合には、判断部107は調剤処理の自動開始を制限すると判断する。 For example, the target prescription data determination unit 108 determines whether or not the target prescription data satisfies any one of the exception conditions EC1 to EC5 set in the exception condition table D6 (an example of setting data) shown 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 one of the exception conditions EC1 to EC5, the determination unit 107 performs dispensing processing. Determine to restrict automatic start.

また例えば、判断部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, which will be described later.

直前処方データ判定部109は、直前に実行された調剤処理の対象であった処方データ(直前処方データ)が、設定データ記憶部101に記憶された設定データに設定された条件を満足するかを判定する。先述の通り、設定データ記憶部101に記憶された設定データには、調剤処理の自動開始を制限する必要のある処方データに関する条件、又は、調剤処理の自動開始を制限する必要のない処方データに関する条件が設定されており、直前処方データ判定部109は直前処方データが当該条件を満足するか否かを判定する。 The immediately preceding prescription data determination unit 109 determines whether the prescription data (immediately preceding prescription data) that was the target of the dispensing process executed immediately before satisfies the conditions 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 includes conditions related to prescription data that require restriction of automatic start of dispensing processing, or conditions related to prescription data that do not require restriction of automatic start of dispensing processing. A condition is set, and the immediately preceding prescription data determination unit 109 determines whether or not the immediately preceding prescription data satisfies the condition.

例えば、直前処方データ判定部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 exceptional condition EC6 set in the exceptional condition table D6 (an example of setting data) shown in FIG. Even if the automatic start function flag is "1", if the immediately preceding prescription data determination unit 109 determines that the immediately preceding prescription data satisfies the exception condition EC6, the determination unit 107 limits the automatic start of dispensing processing. to decide.

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

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

一方、調剤処理の自動開始を制限すると判断部107によって判断された場合に、第2開始制御部112は、調剤処理の開始指示を所定の権限者から受け付けた場合に、対象処方データの調剤処理を調剤装置20に開始させる。すなわち、対象処方データが取得された場合に、第2開始制御部112は、直ちに調剤処理を調剤装置20に開始させることはせずに、調剤処理の開始指示を所定の権限者から受け付けたか否かを監視し、調剤処理の開始指示を所定の権限者から受け付けるのを待って、調剤処理を調剤装置20に開始させる。この場合、「権限者」は後述の権限者設定部113によって対象処方データ又は直前処方データに合わせて設定される。 On the other hand, if the determining unit 107 determines that the automatic start of dispensing processing is to be restricted, the second start control unit 112 receives an instruction to start dispensing processing from a predetermined authorized person, and performs the dispensing processing of the target prescription data. is initiated by dispensing device 20 . That is, when the target prescription data is acquired, the second start control unit 112 does not cause the dispensing device 20 to immediately start the dispensing process, but determines whether or not the instruction to start the dispensing process is received from the predetermined authorized person. Then, after receiving an instruction to start the dispensing process from a predetermined authorized person, the dispensing apparatus 20 is made to start the dispensing process. In this case, the "authorized person" is set by the authorized person setting unit 113, which will be described later, in accordance with 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 instruct the start of 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 related to prescription data. The authorized person setting unit 113 sets an authorized person based on the authorized person specifying data associated with the condition satisfied by the target prescription data.

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

なお、権限者設定部113は、直前に実行された調剤処理の対象であった処方データ(直前処方データ)に基づいて権限者を設定するようにしてもよい。例えば、権限者設定部113は、直前処方データと、権限者特定データ記憶部102に記憶された権限者特定データとに基づいて、権限者を設定するようにしてもよい。先述の通り、権限者特定データ記憶部102には、処方データに関する条件と関連付けて権限者特定データが記憶されている。権限者設定部113は、直前処方データが満足する条件と関連付けられた権限者特定データに基づいて、権限者を設定するようにしてもよい。 Note that the authorized person setting unit 113 may set the authorized person based on the prescription data (immediately preceding 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 immediately preceding 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 related to prescription data. The authorized person setting unit 113 may set the authorized person based on the authorized person specifying data associated with the conditions satisfied by the immediately preceding prescription data.

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

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

開始指示受付部114は調剤処理の開始指示を受け付ける。例えば、開始指示受付部114は、例えば図3に示した指示画面G2を表示部15に表示させる。先述の通り、指示画面G2は、調剤処理の開始指示を受け付けるための画面である。指示画面G2の実行ボタンP22が押下された場合に、開始指示受付部114は調剤処理の開始指示を受け付けたと判定する。 The start instruction accepting unit 114 accepts an instruction to start dispensing processing. For example, the start instruction receiving unit 114 causes the display unit 15 to display the instruction screen G2 shown in FIG. 3, for example. As described above, the instruction screen G2 is a screen for accepting an instruction to start dispensing processing. When the execution button P22 of the instruction screen G2 is pressed, the start instruction receiving unit 114 determines that the start instruction of dispensing processing 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 device 20 to start the dispensing process when an instruction to start the dispensing process is received from the authorized person set by the authorized person setting unit 113 . That is, when the authorized person set by the authorized person setting unit 113 presses the execution button P22 on the instruction screen G2, 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, when the second start control unit 112 receives an instruction to start the dispensing process from a user (non-authorized person) other than the authorized person set by the authorized person setting unit 113, the dispensing device 20 starts the dispensing process. don't let That is, even if an unauthorized person presses the execution button P22 on the instruction screen G2, the second start control unit 112 does not cause the dispensing device 20 to start the dispensing process. In this case, an error message is displayed to the effect that there is no authority to issue a start instruction.

なお、開始指示受付部114は、非権限者から調剤処理の開始指示を受け付けないようにしてもよい。例えば、実行ボタンP22は、権限者設定部113によって設定された権限者がログインしている場合にのみ押下できるようにしてもよい。具体的には、ログインしている使用者が非権限者である場合には、実行ボタンP22を表示しないようにしたり、実行ボタンP22を押下できない状態(例えばグレーアウトの状態)で表示するようにしたりしてもよい。または、ログインしている使用者が非権限者である場合には、一覧画面G1から指示画面G2への画面遷移、又は、他の画面(メニュー画面等)から一覧画面G1への画面遷移を禁止するようにしてもよい。 Note that the start instruction receiving unit 114 may not receive an instruction to start dispensing processing from an unauthorized person. For example, the execution button P22 may be enabled only when the 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 may not be displayed, or may be displayed in a state in which the execution button P22 cannot be pressed (for example, in a grayed out state). You may Alternatively, 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 (such as a menu screen) to the list screen G1 is prohibited. You may make it

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

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

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

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

ステップS100の実行後、制御部11は自動開始機能フラグD5を参照し、自動開始機能がONに設定されているか否かを判定する(S101)。すなわち、制御部11は自動開始機能フラグが「1」であるか否かを判定する。 After executing 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 or not any exception condition is satisfied (S102).

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

その後、制御部11は調剤処理が完了したか否かを監視する(S104)。例えば、調剤装置20は調剤処理を完了した場合にその旨を制御部11に通知するようになっており、制御部11は当該通知を調剤装置20から受信したか否かを監視する。 After that, the control unit 11 monitors whether or not the dispensing process is completed (S104). For example, when dispensing processing is completed, the dispensing device 20 notifies the control unit 11 of the fact, and the control unit 11 monitors whether or not the notification has been 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 current execution result of the 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 ( In other words, the present process ends 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 execution status flag of the target prescription data to "0".

また、ステップS102において、いずれかの例外条件が満足されたと判定された場合も、制御部11はステップS103~S105を実行することなく(すなわち、調剤処理を調剤装置20に開始させることなく)、本処理を終了する。この場合も、制御部11は処方データテーブルD3にアクセスし、対象処方データの自動開始フラグ及び実行状況フラグをそれぞれ「0」に設定する。 Further, even if it is determined in step S102 that any of the exception conditions are 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). End this process. 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".

[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 the 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 for which the automatic start flag and the execution status flag are "0" are the prescription data for which the dispensing process was not automatically started.

一覧画面G1が表示されている間、制御部11は、一覧画面G1に表示されている処方データのいずれかが使用者によって選択されたか否かを監視する(S111)。 While the list screen G1 is being displayed, the control unit 11 monitors whether or not any of the prescription data displayed on the list screen G1 is 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 identifies an authorized person who can instruct the start of dispensing processing of the selected prescription data (S112). Specifically, the control unit 11 refers to the authority identification table D7 and acquires the authority level (required authority level) required to instruct the start of the dispensing process of the selected prescription data. For example, in the case of the authority identification table D7 shown in FIG. 11, the control unit 11 determines whether or not any one of the conditions C1 to C7 is satisfied. If any one of the conditions C1 to C7 is satisfied, the control unit 11 acquires the required authority level associated with the condition. On the other hand, if none of the conditions C1 to C7 are satisfied, the control unit 11 acquires the required authority level associated with the condition C8. Then, the user having the acquired required authority level is specified as the authority.

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

現在の使用者が権限者でない場合、制御部11は指示画面G2を表示部15に表示する(S119)。ただし、この場合、制御部11は実行ボタンP22を指示画面G2に表示しない。なお、制御部11は実行ボタンP22を押下不可の状態(例えばグレーアウトの状態)で指示画面G2に表示するようにしてもよい。 If the current user is not the authorized person, the control section 11 displays the instruction screen G2 on the display section 15 (S119). However, in this case, the control unit 11 does not display the execution button P22 on the instruction screen G2. Note that the control unit 11 may display the execution button P22 on the instruction screen G2 in a state in which it cannot be pressed (for example, in 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, if the current user is the authorized person, the control section 11 displays the instruction screen G2 on the display section 15 (S114). In this case, the control unit 11 displays the 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 of the prescription data selected in step S111 (S116). After that, the control unit 11 monitors whether or not the dispensing process is completed (S117), 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 (S118).

ステップS116~S118は図12のステップS103~S105と同様である。ただし、ステップS118では、実行ボタンP22を押下した使用者の使用者ID及び権限レベルが実行履歴テーブルD4の「開始指示者」や「権限レベル」フィールドに登録される。また、指示画面G2のコメント欄P21に入力されたコメントが実行履歴テーブルD4の「コメント」フィールドに登録される。さらに、値「0」が実行履歴テーブルD4の「自動開始フラグ」フィールドに登録される。 Steps S116-S118 are the same as steps S103-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 instruction person" and "authority level" fields of the execution history table D4. Also, the comment entered in the comment column P21 of the instruction screen G2 is registered in the "comment" field of the execution history table D4. Furthermore, 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. The process of step S119 may be omitted so that it is executed when it is determined. If the current user is determined to be the authorized person in the process of step S113 in this case, the process of step S116 is executed, and if the current user is determined not to be the authorized person, an error message to that effect is displayed. and the processing may be terminated.

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

[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 the prescribed authorized person can enter the prescription information. It becomes possible to select whether to start dispensing processing after confirmation. That is, it is possible to match the method of starting dispensing processing to the user's desire. As a result, it becomes possible to improve the convenience for the user.

また、調剤制御システム1によれば、例外条件テーブルD6と判断部107(及び対象処方データ判定部108又は直前処方データ判定部109)とを備えることにより、原則として、調剤処理の自動開始機能をONに設定し、特定の場合に限って、例外的に、調剤処理を自動的に開始させずに、所定の権限者が処方情報を確認した後で調剤処理を開始させることが可能になる。 Further, according to the dispensing control system 1, by providing the exception 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 dispensing processing can be performed. When set to ON, only in a specific case, it is possible to start the dispensing process only after a predetermined authorized person confirms the prescription information without automatically starting the dispensing process exceptionally.

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

また、対象処方データが調剤制御システム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 "warning present" (exception condition In EC5) as well, it is possible to exceptionally prevent the dispensing process from starting without a start instruction from a predetermined authorized person. In other words, it is possible to ensure that the dispensing process is executed after the prescribed authorized person confirms that there is no problem with the prescription information.

さらに、調剤処理の際に薬剤と触れる調剤装置20の部分(薬剤投入部等)に薬剤が残っていることがないように特に注意を要する薬剤が直前処方データに含まれている場合(例外条件EC6)にも、例外的に、所定の権限者による開始指示がなければ調剤処理を開始させないようにすることが可能になる。すなわち、所定の権限者が薬剤投入部等に薬剤が残っていないことを十分に確認した上で調剤処理が実行されるように図ることが可能になる。 Furthermore, if the immediately preceding prescription data contains a drug that requires special care so that no drug remains in the portion of the dispensing device 20 that comes into contact with the drug during the dispensing process (such as the drug input unit) (exception condition In EC6) as well, it is possible to exceptionally prevent the dispensing process from starting without a start instruction from a predetermined authorized person. That is, it is possible to ensure that the dispensing process is executed after a predetermined authorized person fully confirms that there is no medicine left in the medicine loading unit or the like.

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

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

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

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

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

[6-1.変形例1]自動開始機能がONに設定されているにもかかわらず、例外条件EC1~EC6のいずれかによって調剤処理の自動開始が制限(抑止)された処方データに関しては、一覧画面G1において、その旨や当該例外条件に関する情報を表示するようにしてもよい。このようにすることによって、調剤処理の自動開始が制限(抑止)されたことやその理由を使用者が把握し易くなるようにしてもよい。 [6-1. Modification 1] Regarding the prescription data for 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, on the list screen G1, Information to that effect and the exception condition may be displayed. By doing so, the user may easily understand that the automatic start of the dispensing process has been restricted (deterred) and the reason thereof.

[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, although only one dispensing device 20 is shown in FIG. 1, a plurality of dispensing devices 20 may be controlled by the dispensing control system 1 (control device 10). FIG. 14 shows a modification, in which the dispensing control system 1 includes a first dispensing device 20A and a second dispensing device 20B. In this case, by adding a "dispensing device" field indicating the dispensing device 20 that executed the dispensing process to the execution history table D4, it is possible to later specify which dispensing device 20 executed the dispensing process. good too.

[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 does not have to perform dispensing processing fully automatically without requiring human operation. That is, the second dispensing device 20B may be such that a person mainly performs dispensing processing while receiving assistance from the device. Exception condition EC7 as shown in FIG. 15 may be set in exception condition table D6 in this case.

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

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

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

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

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

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

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

なお、例えば国及び特定地域等によって構築され、医療・調剤業界で共有される公共データベースに、患者に過去に処方された処方データが保存されている場合、対象処方データ判定部108は当該公共データベースにアクセスすることによって、同一の患者に過去に処方された処方データのうちに対象処方データと同一の処方データが存在するか否かを判定するようにしてもよい。そして、上記のような処方データが存在する場合に、対象処方データ判定部108は例外条件EC11が満足されたと判定するようにしてもよい。 In addition, for example, when the prescription data prescribed to the patient in the past is stored in a public database constructed by a country or a specific region and shared by the medical and dispensing industries, the target prescription data determination unit 108 determines whether the public database may be accessed to determine whether or not there is prescription data identical to the target prescription data among the prescription data prescribed to the same patient in the past. Then, when such prescription data 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, the determining unit 107 exceptionally determines not to restrict the automatic start of dispensing processing of the target prescription data even if the automatic start function is OFF. 1 start control unit 111 automatically causes dispensing device 20 to start dispensing processing of the target prescription data. In general, it is considered that there is little need to reconfirm prescription data that is the same as prescription data that has been prescribed to the same patient in the past. In such a case, exceptionally, it is possible to automatically start dispensing processing.

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

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

なお、上記のような例外条件とともに、「現在の使用者(現在ログインしている使用者)が、対象処方データと同一又は類似の処方データの調剤処理が過去に調剤装置20によって実行された際に当該調剤制御システムにログインしていた使用者と同一である」との例外条件も設定するようにしてもよい。そして、対象処方データと同一又は類似の処方データの調剤処理が過去に調剤装置20によって実行されたことがあり、かつ、その際の使用者(その際にログインしていた使用者)が現在の使用者と同一である場合に例外的に判断部107が調剤処理の自動開始を制限しないと判断するようにしてもよい。 In addition to the exception conditions as described above, "when the current user (currently logged-in user) has executed 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 exception condition that the user is the same as the user who logged in to the dispensation control system at the time. Dispensing processing of prescription data identical 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 logged in at that time) is the current The determination unit 107 may exceptionally determine that the automatic start of dispensing processing is not to be restricted when the user is the same as the user.

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

このような例外条件が設定されている場合、対象処方データ判定部108は先述の公共データベースにアクセスすることによって、対象処方データが同一の患者に過去に処方された処方データと同一又は類似であるか否かを判定するようにしてもよい。または、対象処方データ判定部108は処方データテーブルD3(及び実行履歴テーブルD4)を参照することによって、対象処方データと同一又は類似の処方データの調剤処理が過去に調剤装置20によって実行されたことがあるか否かを判定するようにしてもよい。 When such an exception condition is set, the target prescription data determination unit 108 accesses the aforementioned public database to determine whether the target prescription data is the same as or similar to the prescription data previously prescribed to the same patient. You may make it determine whether it is. Alternatively, the target prescription data determination unit 108 refers to the prescription data table D3 (and the execution history table D4) to determine whether dispensing processing of prescription data identical 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が調剤処理の自動開始を制限しないと判断するようにしてもよい。 and that the target prescription data is the same as or similar to prescription data that has been prescribed to the same patient in the past, and that dispensing processing 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 Exceptionally, the determination unit 107 may determine not to limit the automatic start of the dispensing process.

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

また、例外条件EC12は「対象処方データが上位システム2から提供されたものである」との条件である。このような例外条件E12が設定されている場合、例えば、対象処方データ判定部108は処方データテーブルD3にアクセスし、対象処方データの入力システムフラグを参照することによって、対象処方データが上位システム2から提供されたものであるか否かを判定する。そして、対象処方データが上位システム2から提供されたものである場合に、対象処方データ判定部108は例外条件EC12が満足されたと判定する。 Exceptional condition EC12 is a condition that "target prescription data is provided from host 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 to determine whether the target prescription data is Determines whether or not it has been provided from Then, when the target prescription data is provided from the host system 2, the target prescription data determination unit 108 determines that the exception 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 exceptionally determines that the automatic start of the dispensing process for the target prescription data is not restricted. The start control unit 111 automatically causes the dispensing device 20 to start dispensing processing of the target prescription data. Regarding the prescription data provided from the host system 2, since the inspection is also performed on the host system 2 side, it is considered that there is little need to check again. , exceptionally in such cases, it is possible to automatically start the dispensing process.

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

判断部107は、日時判定部116の判定結果に基づいて、調剤処理の自動開始を制限するか否かを判断する。例えば、例外条件EC13が満足されたと日時判定部116によって判定された場合、自動開始機能がOFFになっていたとしても、例外的に、判断部107は対象処方データの調剤処理の自動開始を制限しないと判断し、第1開始制御部111が自動的に対象処方データの調剤処理を調剤装置20に開始させる。一般的に、月曜日は病院で受診する患者が多くなり、調剤処理の件数が多くなることが見込まれるところ、上記のような例外条件EC13を設定することにより、そのような場合に、例外的に、調剤処理を自動的に開始させることが可能になる。 Determining unit 107 determines whether or not to restrict the automatic start of the dispensing process based on the determination result of date/time determining unit 116 . For example, when the date/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 for the target prescription data even if the automatic start function is OFF. It is determined not to, and the first start control unit 111 automatically causes the dispensing device 20 to start dispensing processing of the target prescription data. In general, it is expected that the number of patients visiting hospitals on Mondays will increase and the number of dispensing processes will increase. , it is possible to automatically start the dispensing process.

例外条件EC13は一例にすぎず、調剤処理の件数が多くなることが見込まれる期間(繁忙期間)を例外条件として設定してもよい。また、営業時間外の時間帯を例外条件として設定することによって、営業時間外の時間帯に調剤処理が自動的に開始されるようにしてもよい。 The exception 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 the exception condition. Further, by setting a time period outside business hours as an exception condition, dispensing processing may be automatically started in a time period outside business hours.

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

具体的には、ステップ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. be. That is, first, the control unit 11 refers to the exception condition table D8 shown in FIG. 16 and determines whether or not any one 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と同様である。 Then, if any one of the exceptional conditions EC11 to EC13 is satisfied, the control unit 11 causes the dispensing device 20 to start dispensing processing of the target prescription data (S121). After that, the control unit 11 monitors whether 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 are 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 execution status flag of the target prescription data to "0".

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

例えば、対象処方データが特定の処方データである場合(例外条件EC11,EC12)に限って、例外的に、調剤処理の自動的に開始させることが可能になる。具体的には、対象処方データが同一の患者に過去に処方された処方データと同一である場合や、対象処方データが上位システム2から提供されたものである場合のように、改めて処方情報を確認する必要性が低い場合(言い換えれば、改めて処方情報を確認しなくても安全性が十分に確保される場合)に、例外的に、調剤処理を自動的に開始させることが可能になり、その結果として調剤業務の効率化を図ることが可能になる。 For example, only when the target prescription data is specific prescription data (exception conditions EC11, EC12), it is possible to exceptionally start dispensing processing automatically. 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 reissued. When the need to confirm is low (in other words, when safety is sufficiently ensured without reconfirming the prescription information), it is possible to exceptionally start the dispensing process automatically, As a result, it is possible to improve the efficiency of dispensing work.

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

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

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

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

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

なお、調剤処理の実行履歴だけでなく、調剤制御システム1で行われた各種操作の履歴もデータ記憶部100に登録するようにしてもよい。また、操作履歴を表示部15に表示したり、印刷部に印刷させたりする操作履歴出力制御部を備えるようにしてもよい。 Note that not only the execution history of dispensing processing 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 section that displays the operation history on the display section 15 and causes the printing section to print the operation history may be provided.

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

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

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

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 例外条件テーブル。 1 dispensing control system, 2 host system, 10 control device, 11 control unit, 12 storage unit, 13 communication unit, 14 operation unit, 15 display unit, 16 printing unit, 17 database, 20 dispensing device, 20A first dispensing device, 20B second dispensing device, 100 data storage unit, 101 setting data storage unit, 102 authorized person identification 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 column P22 Execution button P23 Back button D1 User table D2 Patient table D3 Prescription data table D4 Execution History table, D5 Automatic start function flag, D6 Exceptional condition table, D7 Authorized person identification table, D8 Exceptional condition table.

Claims (10)

調剤処理の対象となる対象処方データを取得する処方データ取得手段と、
対象処方データに含まれる薬剤の種別に関する当該対象処方データの条件と、当該対象処方データの調剤処理の開始指示を行うために必要な権限レベルであって調剤制御システムにおいて操作可能範囲が異なる権限レベルとを互いに関連付けた設定情報を、複数の当該対象処方データの条件のそれぞれについて記憶する記憶部と、
複数の前記対象処方データの条件のうち、前記処方データ取得手段により取得される前記対象処方データに含まれる薬剤の種別に対応する条件に関連付けられた前記権限レベルを有する使用者を、前記処方データ取得手段により取得される前記対象処方データの前記調剤処理の開始指示を行うことが可能な権限者として設定する権限者設定手段と、
を備える調剤制御システム。
prescription data acquisition means for acquiring target prescription data to be processed for dispensing;
The conditions of the target prescription data related to the type of drug included in the target prescription data, and the authority level necessary for instructing the start of dispensing processing of the target prescription data and having a different operable range in the dispensing control system a storage unit that stores setting information that associates with each other, for each of the conditions of the plurality of target prescription data;
The user having the authority level associated with the condition corresponding to the type of drug included in the target prescription data acquired by the prescription data acquisition means, among the conditions of the plurality of target prescription data, is selected from the prescription data. an authorized person setting means for setting an authorized person capable of instructing the start of the dispensing process for the target prescription data acquired by the acquiring means ;
A dispensing control system comprising:
前記権限者設定手段は、前記処方データ取得手段により取得される前記対象処方データに所定の薬剤が含まれる場合に、前記操作可能範囲が所定範囲に設定された権限レベルを有する使用者を前記権限者として設定し、前記処方データ取得手段により取得される前記対象処方データに前記所定の薬剤とは異なる薬剤が含まれる場合に、前記操作可能範囲が前記所定範囲とは異なる範囲に設定された権限レベルを有する使用者を前記権限者として設定する、When the target prescription data acquired by the prescription data acquisition means includes a prescribed drug, the authorized person setting means assigns a user having an authorization level with the operable range set to the prescribed range. and the operable range is set to a range different from the predetermined range when the target prescription data obtained by the prescription data obtaining means includes a drug different from the predetermined drug. setting a user with a level as the authorized person;
請求項1に記載の調剤制御システム。The dispensing control system of Claim 1.
複数の前記対象処方データの条件のそれぞれには、異なる複数の権限レベルが関連付けられている、each of the plurality of conditions of the plurality of target prescription data is associated with a plurality of different authority levels;
請求項1又は2に記載の調剤制御システム。3. The dispensing control system according to claim 1 or 2.
前記権限レベルは、前記調剤制御システムにおいて所定の操作を行うことが可能な第1権限レベルと、前記調剤制御システムにおいて前記第1権限レベルよりも制限された範囲の操作を行うことが可能な第2権限レベルとを含み、
前記権限者設定手段は、前記処方データ取得手段により取得される前記対象処方データに第1薬剤が含まれる場合に、前記第1権限レベルを有する使用者を前記権限者として設定し、前記処方データ取得手段により取得される前記対象処方データに前記第1薬剤に比べて注意度の低い第2薬剤が含まれる場合に、前記第1権限レベル又は前記第2権限レベルを有する使用者を前記権限者として設定する、
請求項1~3のいずれかに記載の調剤制御システム。
The authority levels are a first authority level capable of performing predetermined operations in the dispensing control system, and a second authority level capable of performing operations in a more restricted range than the first authority level in the dispensing control system . 2 authority levels and
When the target prescription data acquired by the prescription data acquiring means includes a first medicine, the authorized person setting means sets a user having the first authority level as the authorized person, and When the target prescription data acquired by the acquiring means includes a second drug with a lower degree of caution than the first drug, the user having the first authority level or the second authority level is the authorized person. set as
The dispensing control system according to any one of claims 1-3 .
前記調剤処理の開始指示を受け付け可能な指示画面を表示させる開始指示受付手段をさらに備え、
前記開始指示受付手段は、前記権限者設定手段により設定された前記権限者が前記開始指示を行うことができるように前記指示画面を表示させ、前記権限者設定手段により設定された前記権限者以外の使用者が前記開始指示を行うことができないように前記指示画面を表示させる、
請求項1~4のいずれかに記載の調剤制御システム。
further comprising start instruction receiving means for displaying an instruction screen capable of receiving an instruction to start the dispensing process;
The start instruction receiving means displays the instruction screen so that the authorized person set by the authorized person setting means can issue the start instruction, and the authorized person other than the authorized person set by the authorized person setting means displays the instruction screen. displaying the instruction screen so that the user of is unable to give the start instruction;
The dispensing control system according to any one of claims 1-4 .
前記開始指示受付手段が、前記指示画面において、前記権限者設定手段により設定された前記権限者から前記開始指示を受け付けた場合に、前記処方データ取得手段により取得される前記対象処方データの前記調剤処理を調剤実行手段に開始させる開始制御手段をさらに備える、
請求項に記載の調剤制御システム。
The dispensing of the target prescription data acquired by the prescription data acquisition means when the start instruction receiving means receives the start instruction from the authorized person set by the authorized person setting means on the instruction screen. further comprising start control means for causing the dispensing execution means to start processing;
A dispensing control system according to claim 5 .
前記調剤処理の対象となる複数の対象処方データを表示する表示画面において、
前記処方データ取得手段により取得される前記対象処方データが、前記調剤処理を調剤実行手段に自動的に開始させることが制限された対象処方データである場合に、前記調剤処理の自動開始が制限されたことを示す情報を、当該対象処方データに対応付けて表示させる、
請求項1~のいずれかに記載の調剤制御システム。
On the display screen displaying a plurality of target prescription data to be the target of the dispensing process,
When the target prescription data acquired by the prescription data acquisition means is target prescription data for which automatic start of the dispensing process by the dispensing execution means is restricted, automatic start of the dispensing process is restricted. displaying information indicating that the
The dispensing control system according to any one of claims 1-6 .
前記権限レベルは、少なくとも、前記調剤制御システムにおいて全ての操作を行うことが可能な権限レベルと、前記全ての操作のうち記憶部にされるマスタデータの編集操作以外の操作を行うことが可能な権限レベルと、前記マスタデータの編集操作、薬剤の充填操作、及び前記調剤処理の開始指示のそれぞれが制限された権限レベルとを含む、
請求項1~7のいずれかに記載の調剤制御システム。
The authority level includes at least the authority level that allows all operations in the dispensing control system and the ability to perform operations other than the editing operation of the master data stored in the storage unit among all the operations. and an authority level at which each of the master data editing operation, the medicine filling operation, and the dispensing process start instruction is restricted,
The dispensing control system according to any one of claims 1-7 .
前記調剤処理を前記調剤実行手段に自動的に開始させる機能がONに設定されている場合であって、前記対象処方データに取り扱いに注意を要する薬品が含まれる場合には、前記開始制御手段は、前記開始指示受付手段が前記権限者設定手段により設定された前記権限者から前記開始指示を受け付けた場合に前記調剤処理を前記調剤実行手段に開始させる、
請求項に記載の調剤制御システム。
When the function for causing the dispensing execution means to automatically start the dispensing process is set to ON, and when the target prescription data includes a drug that requires careful handling , the start control means causing the dispensing execution means to start the dispensing process when the start instruction receiving means receives the start instruction from the authorized person set by the authorized person setting means;
A dispensing control system according to claim 6 .
コンピュータが、
調剤処理の対象となる対象処方データであって、互いに異なる種別の複数の薬剤を含む対象処方データを取得する処方データ取得ステップと、
対象処方データに含まれる薬剤の種別に関する当該対象処方データの条件と、当該対象処方データの調剤処理の開始指示を行うために必要な権限レベルであって調剤制御システムにおいて操作可能範囲が異なる権限レベルとを互いに関連付けた設定情報を、複数の当該対象処方データの条件のそれぞれについて記憶する記憶ステップと、
複数の前記対象処方データの条件のうち、前記処方データ取得ステップにおいて取得される前記対象処方データに含まれる薬剤の種別に対応する条件に関連付けられた前記権限レベルを有する使用者を、前記処方データ取得ステップにおいて取得される前記対象処方データの前記調剤処理の開始指示を行うことが可能な権限者として設定する権限者設定ステップと、
を実行する調剤制御方法。
the computer
a prescription data acquisition step of acquiring target prescription data to be subjected to dispensing processing, the target prescription data including a plurality of drugs of different types ;
The conditions of the target prescription data related to the type of drug included in the target prescription data, and the authority level necessary for instructing the start of dispensing processing of the target prescription data and having a different operable range in the dispensing control system a storage step of storing setting information associated with each other for each of the conditions of the plurality of target prescription data;
A user having the authority level associated with a condition corresponding to a type of drug included in the target prescription data acquired in the prescription data acquisition step, among the conditions of the plurality of target prescription data, is selected from the prescription data. an authorized person setting step of setting an authorized person capable of instructing the start of the dispensing process of the target prescription data acquired in the acquiring step ;
Dispensing control method to implement.
JP2022028142A 2020-09-23 2022-02-25 Dispensing control system and dispensing control method Active JP7276536B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2022028142A JP7276536B2 (en) 2020-09-23 2022-02-25 Dispensing control system and dispensing control method

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2020158420A JP7047877B2 (en) 2020-09-23 2020-09-23 Dispensing control system and dispensing control method
JP2022028142A JP7276536B2 (en) 2020-09-23 2022-02-25 Dispensing control system and dispensing control method

Related Parent 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
JP2022060549A JP2022060549A (en) 2022-04-14
JP7276536B2 true JP7276536B2 (en) 2023-05-18

Family

ID=87852218

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2022028142A Active JP7276536B2 (en) 2020-09-23 2022-02-25 Dispensing control system and dispensing control method

Country Status (1)

Country Link
JP (1) JP7276536B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW202406763A (en) 2022-03-31 2024-02-16 日商島野股份有限公司 Hub assembly for human-powered vehicle
TW202340033A (en) 2022-03-31 2023-10-16 日商島野股份有限公司 Hub assembly for human-driven vehicle capable of reducing the number of parts
TW202406764A (en) 2022-03-31 2024-02-16 日商島野股份有限公司 Hub assembly for human-powered vehicle
JP2023151108A (en) 2022-03-31 2023-10-16 株式会社シマノ Hub assembly for human powered vehicles

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006502814A (en) 2002-10-18 2006-01-26 マッケソン オートメーション システムズ,インコーポレイテッド Drug substitution / confirmation / report automation system
JP2016045926A (en) 2014-08-19 2016-04-04 株式会社湯山製作所 Ward drug business support system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4073976B2 (en) * 1995-03-14 2008-04-09 株式会社東芝 Medicine ordering system
JP2013009744A (en) * 2011-06-28 2013-01-17 Tosho Inc Inspection support system for dispensing

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006502814A (en) 2002-10-18 2006-01-26 マッケソン オートメーション システムズ,インコーポレイテッド Drug substitution / confirmation / report automation system
JP2016045926A (en) 2014-08-19 2016-04-04 株式会社湯山製作所 Ward drug business support system

Also Published As

Publication number Publication date
JP2022060549A (en) 2022-04-14

Similar Documents

Publication Publication Date Title
JP7276536B2 (en) Dispensing control system and dispensing control method
KR102331859B1 (en) Systems and methods of treatment using intervention and tasking determination
JP4073976B2 (en) Medicine ordering system
US8121868B1 (en) Systems and methods for providing an inducement to purchase incident to a physician's prescription of medication
US20130204637A1 (en) Pharmacy workflow management system
Spina et al. Clinical relevance of automated drug alerts from the perspective of medical providers
JP2003030329A5 (en)
JP6725739B1 (en) Information processing apparatus, information processing method, and program
US10144547B2 (en) Medical labeling apparatus with drug information
EP1501037A2 (en) An enhanced safety medication administration system
Mille et al. Analysis of overridden alerts in a drug–drug interaction detection system
Anglada-Martínez et al. An interactive mobile phone–website platform to facilitate real-time management of medication in chronically ill patients
MacMaster et al. Development and implementation of a subcutaneous insulin pen label bar code scanning protocol to prevent wrong-patient insulin pen errors
US20170337346A1 (en) System and method for managing medicine prescriptions
US20210313031A1 (en) System, methods, and apparatus for remote verification of pharmacy prescription preparation
JP6769089B2 (en) Dispensing control system and dispensing control method
JP7047877B2 (en) Dispensing control system and dispensing control method
CN105190680A (en) Pharmacy workflow management system
KR20010054029A (en) System for web host service preparation and medical protection
JP2001325360A (en) Electronic medicine history management system
WO2017135341A1 (en) Electronic medical chart system
JP2003141253A (en) Medicine prescription system
JP2002259564A (en) System, method and program for dispensing processing
JP7120640B2 (en) Medication guidance support system, method, and computer program
JP2024158982A (en) Pharmacy dispensing support system and pharmacy dispensing support program

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20220328

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20220328

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20221216

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20221220

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20230217

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: 20230404

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20230417

R150 Certificate of patent or registration of utility model

Ref document number: 7276536

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250