JP2017127407A - Dispensing inspection device and method, and program - Google Patents

Dispensing inspection device and method, and program Download PDF

Info

Publication number
JP2017127407A
JP2017127407A JP2016007692A JP2016007692A JP2017127407A JP 2017127407 A JP2017127407 A JP 2017127407A JP 2016007692 A JP2016007692 A JP 2016007692A JP 2016007692 A JP2016007692 A JP 2016007692A JP 2017127407 A JP2017127407 A JP 2017127407A
Authority
JP
Japan
Prior art keywords
drug
medicine
image
name
sheet
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2016007692A
Other languages
Japanese (ja)
Other versions
JP6548584B2 (en
Inventor
横内 康治
Koji Yokouchi
康治 横内
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.)
Fujifilm Corp
Original Assignee
Fujifilm Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujifilm Corp filed Critical Fujifilm Corp
Priority to JP2016007692A priority Critical patent/JP6548584B2/en
Publication of JP2017127407A publication Critical patent/JP2017127407A/en
Application granted granted Critical
Publication of JP6548584B2 publication Critical patent/JP6548584B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

PROBLEM TO BE SOLVED: To provide a dispensing inspection device and method, and a program capable of reliably inspecting whether or not dispensing has been properly performed.SOLUTION: A dispensing inspection device detects a medicine name using optical character recognition and/or code recognition from a first image 110 taken of a medicine sheet placed on a first placement table by a first imaging device 26. The dispensing inspection device detects the number of medicine sheets from a second image 120 taken of the medicine sheets placed on the first placement table by a second imaging device 28, detects the number of fractional medicines from a third image 130 taken of fractional medicines placed on a second placement table by a third image device 30, and detects a total number of medicines. The dispensing inspection device detects a medicine name of fractional medicines from the third image, and determines whether or not the medicine name and the number of medicines according to the prescription information coincide with the detected medicine name and total number of medicines.SELECTED DRAWING: Figure 7

Description

本発明は、調剤監査装置及び方法、並びにプログラムに係り、特に、調剤が正しく行われたか否かを判定する調剤監査の支援技術に関する。   The present invention relates to a dispensing inspection apparatus and method, and a program, and more particularly, to a dispensing audit support technique for determining whether dispensing has been performed correctly.

調剤薬局等では、医師が発行する処方箋に基づいて薬剤を調剤する。調剤には「ピッキング」が含まれる。また、調剤薬局等では、処方箋に基づいて調剤を行った後、薬剤の種類又は薬剤の数など、調剤が処方箋どおりに間違いなく行われたかどうかを確認する調剤監査が行われる。調剤監査は「調剤薬監査」とも呼ばれる。   Dispensing pharmacies dispense drugs based on prescriptions issued by doctors. Dispensing includes “picking”. In addition, after dispensing based on a prescription at a dispensing pharmacy or the like, a dispensing audit is performed to check whether the dispensing is definitely performed according to the prescription, such as the type of drug or the number of drugs. Dispensing audit is also called “Dispensing medicine audit”.

調剤監査は、通常、調剤を行った薬剤師とは異なる薬剤師が、目視によって確認することで行われる。すなわち、調剤を行った薬剤師とは異なる薬剤師が、例えば、調剤されたPTP(Press Through Package)シートの裏面等に記載された薬剤名を目視によって確認し、さらに、PTPシートの枚数及び端数の薬剤の数を目視によって確認して薬剤数を計数する。その上で、調剤された薬剤の薬剤名及び薬剤の数が、処方箋の内容と適合しているかを確認する。   Dispensing audits are usually performed by visual confirmation by a pharmacist who is different from the pharmacist who performed the dispensing. That is, a pharmacist who is different from the pharmacist who performed dispensing confirms, for example, the name of the drug written on the back surface of a dispensed PTP (Press Through Package) sheet, and further, the number of PTP sheets and fractional drugs. The number of drugs is visually confirmed and the number of drugs is counted. Then, it is confirmed whether the name of the dispensed drug and the number of drugs match the contents of the prescription.

このように、現状の調剤監査は、薬剤師による目視確認に頼っているため、調剤事故を防止する上で、必ずしも十分であるとは言えない。また、調剤監査は、薬剤師の負担も大きい。このような問題を解決するために、調剤監査を支援する装置が提案されている。   Thus, since the current dispensing audit relies on visual confirmation by a pharmacist, it is not necessarily sufficient to prevent dispensing accidents. Dispensing audits are also a burden on pharmacists. In order to solve such a problem, an apparatus for supporting a dispensing audit has been proposed.

特許文献1には、監査対象となる薬剤の画像を撮影し、撮影した画像を解析することによって調剤監査を行う薬剤検査システムが記載されている。特許文献1に記載される薬剤検査システムでは、監査対象薬剤が有する薬剤シートの枚数毎に輪ゴム等の結束具の色を決めておく。その上で、薬剤シートの枚数に応じた色の結束具によって調剤監査の対象となる監査対象薬剤を結束して、薬剤シートのバーコードが表示されている面をカメラに向けて載置台に載置する。次いで、載置台に載置した監査対象薬剤を撮影し、撮影した画像のバーコードから監査対象薬剤の薬剤名を検出し、結束具の色から監査対象薬剤が有する薬剤シートの枚数を検知して薬剤数を検出する。   Patent Document 1 describes a drug inspection system that performs a dispensing audit by taking an image of a medicine to be audited and analyzing the taken image. In the medicine inspection system described in Patent Document 1, the color of a binding tool such as a rubber band is determined for each number of medicine sheets of the medicine to be audited. After that, the medicine to be audited is dispensed with a binding tool of a color according to the number of the medicine sheets, and the surface on which the barcode of the medicine sheet is displayed faces the camera and is placed on the mounting table. Put. Next, the auditable medicine placed on the mounting table is photographed, the medicine name of the auditable medicine is detected from the barcode of the photographed image, and the number of medicine sheets of the auditable medicine is detected from the color of the binding tool Detect the number of drugs.

特許文献1に記載される薬剤検査システムの別の態様では、結束具の色に代えて、載置台に載置した監査対象薬剤の高さを測定することにより、薬剤シートの枚数を知見して薬剤数を検出している。   In another aspect of the drug inspection system described in Patent Document 1, the number of drug sheets is known by measuring the height of a drug to be audited placed on a placement table instead of the color of a binding tool. The number of drugs is detected.

また、特許文献1に記載される薬剤検査システムでは、薬剤シートのバーコードが表示されている面を上に向けて載置台に監査対象薬剤を載置し、載置台の上方から監査対象薬剤の撮影を行う態様と、撮影台を透明にして、薬剤シートのバーコードが表示されている面を下にして監査対象薬剤を載置台に載置して、載置台の下方から監査対象薬剤の撮影を行う態様とが記載されている。   In the medicine inspection system described in Patent Literature 1, the medicine to be audited is placed on the placement table with the surface of the medicine sheet on which the barcode is displayed facing upward, and the medicine to be audited is placed from above the placement table. The mode of imaging and the imaging table are made transparent, the drug sheet bar code surface is facing down, the auditable drug is placed on the mounting table, and the auditable drug is imaged from below the mounting table Are described.

特許文献1では、載置台の下方から撮影を行う態様によれば、監査対象薬剤が有する薬剤シートの枚数によらず、薬剤シートのバーコードが表示されている面と、カメラとの距離を均一にできるので、常に、薬剤シートのバーコードが表示されている面に合焦した、バーコードを高精細に撮影した画像が得られるとしている。   In patent document 1, according to the aspect which image | photographs from the downward direction of a mounting base, the distance with the surface with which the barcode of a chemical | medical agent sheet is displayed, and a camera is equal irrespective of the number of the chemical | medical agent sheets which an inspection object chemical | medical agent has. Therefore, it is always possible to obtain an image obtained by photographing the barcode with high definition, focusing on the surface of the medicine sheet where the barcode is displayed.

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

特許文献1に記載されるような薬剤検査システムを用いることで、調剤監査における薬剤師の負担を低減することができる。   By using a drug inspection system as described in Patent Document 1, it is possible to reduce the burden on the pharmacist in dispensing inspection.

しかしながら、特許文献1に記載される薬剤検査システムでは、監査対象薬剤が有する薬剤シートの枚数ごとに結束具の色を決め、薬剤シートの枚数毎に定められた色の結束具を用いて監査対象薬剤を結束する必要がある。そのため、調剤監査に手間がかかり、さらに、間違った色の結束具を用いて監査対象薬剤を結束してしまう可能性もある。   However, in the medicine inspection system described in Patent Document 1, the color of the binding tool is determined for each number of medicine sheets of the medicine to be audited, and the object to be audited using the binding tool of the color determined for each number of medicine sheets. It is necessary to bind the drugs. Therefore, it takes a lot of time for dispensing inspection, and there is also a possibility that the medicine to be audited may be bound using a binding tool of wrong color.

他方、監査対象薬剤の高さを測定する態様では、予め、薬剤シートの種類毎に高さ(厚さ)を測定して記憶する必要があり、やはり、手間がかかる。   On the other hand, in the aspect of measuring the height of the medicine to be inspected, it is necessary to measure and store the height (thickness) for each kind of the medicine sheet in advance, which is also troublesome.

また、処方される薬剤は、完全な薬剤シートのみならず、薬剤シートから切断された端数の薬剤を含む場合も多いが、特許文献1の薬剤検査システムでは、この端数の薬剤の数を考慮していない。   In addition, the prescribed medicine often includes not only a complete medicine sheet but also a fraction of a medicine cut from the medicine sheet. However, in the medicine inspection system of Patent Document 1, the number of medicines in the fraction is considered. Not.

本発明はこのような事情に鑑みてなされたものであり、端数の薬剤も含めて、監査対象となる薬剤の監査を、高い信頼性で、かつ、簡便に行うことができる調剤監査装置及び方法、並びにプログラムを提供することを目的とする。   DISCLOSURE OF THE INVENTION The present invention has been made in view of such circumstances, and a dispensing inspection apparatus and method that can perform audits of medicines to be audited, including fractional medicines, with high reliability and ease. It aims at providing a program.

課題を解決するための手段として、次の発明態様を提供する。   As means for solving the problems, the following aspects of the invention are provided.

第1態様の調剤監査装置は、薬剤シートを載置する第1載置台と、薬剤シートから切断された端数の薬剤を載置する第2載置台と、第1載置台に載置された薬剤シートを第1方向から撮影する第1撮影手段と、第1載置台に載置された薬剤シートを第1方向と異なる第2方向から撮影する第2撮影手段と、第2載置台に載置された端数の薬剤を撮影する第3撮影手段と、第1撮影手段が撮影した画像である第1画像から、光学文字認識及びコード認識の少なくとも一方を用いて、薬剤シートの薬剤名を検出する第1薬剤名検出手段と、第2撮影手段が撮影した画像である第2画像から薬剤シートの枚数を検出する枚数検出手段と、第3撮影手段が撮影した画像である第3画像から端数の薬剤の数を検出する端数薬剤数検出手段と、薬剤シートの枚数と端数の薬剤の数とから、総薬剤数を検出する総薬剤数検出手段と、第3画像から端数の薬剤の薬剤名を検出する第2薬剤名検出手段と、処方箋の指示に対応した処方情報における薬剤名及び薬剤数と、第1薬剤名検出手段及び第2薬剤名検出手段のそれぞれが検出した薬剤名及び総薬剤数検出手段が検出した総薬剤数とが、一致しているか否かを判定する監査結果判定手段と、を備える調剤監査装置である。   The dispensing inspection device according to the first aspect includes a first placement table for placing a medicine sheet, a second placement table for placing a fraction of the medicine cut from the medicine sheet, and a medicine placed on the first placement table. First imaging means for imaging the sheet from the first direction, second imaging means for imaging the drug sheet placed on the first mounting table from a second direction different from the first direction, and mounting on the second mounting table The medicine name of the medicine sheet is detected from at least one of optical character recognition and code recognition from the third photographing means for photographing the fractioned medicine and the first image which is an image photographed by the first photographing means. The first medicine name detection means, the number detection means for detecting the number of medicine sheets from the second image which is an image taken by the second imaging means, and the fractional number from the third image which is an image taken by the third imaging means. A fraction drug number detecting means for detecting the number of drugs, and a drug sheet Corresponding to the prescription instructions, the total drug number detection means for detecting the total drug number from the number of sheets and the number of fractional drugs, the second drug name detection means for detecting the drug name of the fractional drug from the third image Whether the drug name and the number of drugs in the prescription information match the drug name detected by the first drug name detecting unit and the second drug name detecting unit and the total number of drugs detected by the total drug number detecting unit, respectively. A dispensing audit apparatus comprising: an audit result determination unit that determines whether or not.

「薬剤シート」とは、複数個の薬剤が包装体に包装されているシートである。薬剤シートの代表的な例として、PTP包装された調剤包装単位のPTPシートを挙げることができる。   A “drug sheet” is a sheet in which a plurality of drugs are packaged in a package. A typical example of the drug sheet is a PTP sheet of a dispensing packaging unit in which PTP is packaged.

第1態様によれば、第1載置台に載置された薬剤シートの薬剤名と第2載置台に載置された端数の薬剤の薬剤名とが一致しているか否かを判定することができ、監査対象となる薬剤について、端数の薬剤も含めて、高い信頼性で、かつ、簡便に監査を行うことができる。   According to the first aspect, it is determined whether or not the medicine name of the medicine sheet placed on the first placement table matches the medicine name of the fractional medicine placed on the second placement table. It is possible to perform audits with high reliability and simpleness, including fractional drugs, for drugs to be audited.

第2態様は、第1態様の調剤監査装置において、第2薬剤名検出手段は、薬剤の画像の特徴と薬剤名とが関連付けられた辞書を用いて、第3画像からパターン認識によって端数の薬剤の薬剤名を検出する構成とすることができる。   The second aspect is the dispensing inspection device according to the first aspect, wherein the second medicine name detecting means uses a dictionary in which the feature of the medicine image and the medicine name are associated with each other, and the fraction medicine is obtained by pattern recognition from the third image. It can be set as the structure which detects the chemical | medical agent name.

第3態様は、第2態様の調剤監査装置において、第3画像と、第1薬剤名検出手段が検出した薬剤名とから、辞書のデータを生成する辞書データ生成手段を備える構成とすることができる。   According to a third aspect, the dispensing inspection device of the second aspect includes a dictionary data generation unit that generates dictionary data from the third image and the drug name detected by the first drug name detection unit. it can.

第4態様は、第2態様又は第3態様の調剤監査装置において、第3画像を用いて追加学習を行い、辞書を更新する処理を行う辞書更新手段を備える構成とすることができる。   A 4th aspect can be set as the structure provided with the dictionary update means which performs the additional learning using the 3rd image, and the process which updates a dictionary in the dispensing inspection apparatus of the 2nd aspect or the 3rd aspect.

第5態様は、第4態様の調剤監査装置において、第1薬剤名検出手段が検出した薬剤名と第2薬剤名検出手段が検出した薬剤名とが不一致である場合に、追加学習を実行させる指示を与える操作手段を備える構成とすることができる。   In the dispensing inspection device according to the fourth aspect, the fifth aspect causes additional learning to be executed when the drug name detected by the first drug name detection unit and the drug name detected by the second drug name detection unit do not match. An operation means for giving an instruction can be provided.

第6態様は、第4態様又は第5の調剤監査装置において、第2薬剤名検出手段が検出した薬剤名が間違っている場合に、追加学習を実行させる指示を与える操作手段を備える構成とすることができる。   The sixth aspect is configured such that, in the fourth aspect or the fifth dispensing inspection apparatus, an operation means for giving an instruction to execute additional learning when the medicine name detected by the second medicine name detection means is incorrect. be able to.

第7態様は、第2態様から第6態様のいずれか一態様の調剤監査装置において、辞書を記憶する辞書記憶手段を有するサーバがネットワークに接続されており、ネットワークに接続されているサーバと通信を行う通信手段を備える構成とすることができる。   A seventh aspect is the dispensing inspection apparatus according to any one of the second to sixth aspects, wherein a server having dictionary storage means for storing a dictionary is connected to the network, and communicates with the server connected to the network. It can be set as the structure provided with the communication means to perform.

第8態様は、第1態様から第7態様のいずれか一態様に記載の調剤監査装置において、監査結果判定手段による判定結果の情報を表示する表示手段を備える構成とすることができる。   According to an eighth aspect, in the dispensing inspection device according to any one of the first to seventh aspects, a configuration may be provided that includes display means for displaying information on a determination result by the audit result determination means.

第9態様は、第1態様から第8態様のいずれか一態様に記載の調剤監査装置において、第1撮影手段は、第1載置台の載置面よりも重力方向下側である下方から薬剤シートを撮影する構成とすることができる。   A ninth aspect is the dispensing inspection device according to any one of the first aspect to the eighth aspect, wherein the first imaging means is a medicine from below that is below the mounting surface of the first mounting table in the direction of gravity. It can be set as the structure which image | photographs a sheet | seat.

第10態様は、第9態様の調剤監査装置において、第1載置台の下方から第1載置台に拡散光を照射する拡散照明手段を備える構成とすることができる。   According to a tenth aspect, in the dispensing inspection apparatus according to the ninth aspect, a diffusing illumination unit that irradiates the first mounting table with diffused light from below the first mounting table can be provided.

第11態様は、第1態様から第10態様のいずれか一態様の調剤監査装置において、第2撮影手段は、重力方向と非平行な方向である第1載置台の側方から薬剤シートを撮影する構成とすることができる。   An eleventh aspect is the dispensing inspection device according to any one of the first aspect to the tenth aspect, wherein the second imaging means images the drug sheet from the side of the first mounting table that is a direction non-parallel to the gravity direction. It can be set as the structure to do.

第12態様は、第11態様の調剤監査装置において、第1載置台に載置された薬剤シートに、第1載置台の側方から光を照射する側方照明手段を備える構成とすることができる。   According to a twelfth aspect, in the dispensing inspection device according to the eleventh aspect, the medicine sheet placed on the first placement table is provided with a side illumination unit that emits light from the side of the first placement table. it can.

第13態様は、第1態様から第12態様のいずれか一態様の調剤監査装置において、第3撮影手段は、第2載置台の載置面よりも重力方向下側である下方から端数の薬剤を撮影する構成とすることができる。   A thirteenth aspect is the dispensing inspection device according to any one of the first aspect to the twelfth aspect, wherein the third imaging means is a medicine with a fraction from the lower side that is lower than the placement surface of the second placement table in the direction of gravity. It can be set as the structure which image | photographs.

第14態様は、第13態様の調剤監査装置において、第3撮影手段の撮影光軸に対して、光軸が角度を有する状態で、第2載置台の下方から第2載置台に光を照射する斜方照明手段を備える構成とすることができる。   A fourteenth aspect is the dispensing inspection device according to the thirteenth aspect, in which the second mounting table is irradiated with light from below the second mounting table in a state where the optical axis has an angle with respect to the imaging optical axis of the third imaging unit. It can be set as the structure provided with the oblique illumination means to do.

第15態様の調剤監査方法は、薬剤シートを載置するための第1載置台に載置された薬剤シートを第1方向から撮影する第1撮影工程と、第1載置台に載置された薬剤シートを第1方向と異なる第2方向から撮影する第2撮影工程と、薬剤シートから切断された端数の薬剤を載置するための第2載置台に載置された端数の薬剤を撮影する第3撮影工程と、第1撮影工程により撮影した画像である第1画像から、光学文字認識及びコード認識の少なくとも一方を用いて、薬剤シートの薬剤名を検出する第1薬剤名検出工程と、第2撮影工程により撮影した画像である第2画像から薬剤シートの枚数を検出する枚数検出工程と、第3撮影工程により撮影した画像である第3画像から端数の薬剤の数を検出する端数薬剤数検出工程と、薬剤シートの枚数と端数の薬剤の数とから、総薬剤数を検出する総薬剤数検出工程と、第3画像から端数の薬剤の薬剤名を検出する第2薬剤名検出工程と、処方箋の指示に対応した処方情報における薬剤名及び薬剤数と、第1薬剤名検出工程及び第2薬剤名検出工程のそれぞれの工程で検出した薬剤名及び総薬剤数検出工程で検出した総薬剤数とが、一致しているか否かを判定する監査結果判定工程と、を含む調剤監査方法である。   According to the fifteenth aspect of the dispensing inspection method, the first imaging step of imaging the medicine sheet placed on the first placement table for placing the medicine sheet from the first direction and the first placement table The second imaging step of imaging the medicine sheet from a second direction different from the first direction, and the fraction of medicine placed on the second mounting table for placing the fraction of medicine cut from the medicine sheet. A first drug name detecting step of detecting a drug name of a drug sheet using at least one of optical character recognition and code recognition from a first image which is an image shot by the third shooting step and the first shooting step; A number detection step for detecting the number of drug sheets from the second image, which is an image taken in the second imaging step, and a fractional drug for detecting the number of fractional drugs from the third image, which is an image taken in the third imaging step Number detection process and drug sheet Corresponding to the prescription instructions, the total drug number detecting step for detecting the total drug number from the number and the number of fractional drugs, the second drug name detecting step for detecting the drug name of the fractional drug from the third image, The drug name and the number of drugs in the prescription information coincide with the drug name detected in each step of the first drug name detection step and the second drug name detection step and the total number of drugs detected in the total drug number detection step. An audit result determination step for determining whether or not there is a dispensing audit method.

第15態様において、第2態様から第14態様で特定した事項と同様の事項を適宜組み合わせることができる。その場合、調剤監査装置において特定される処理又は機能を担う手段は、これに対応する処理又は動作の「工程(ステップ)」の要素として把握することができる。   In the fifteenth aspect, matters similar to the matters specified in the second aspect to the fourteenth aspect can be appropriately combined. In this case, the means responsible for the process or function specified in the dispensing inspection apparatus can be grasped as an element of the “process (step)” of the corresponding process or operation.

第16態様のプログラムは、薬剤シートを載置するための第1載置台に載置された薬剤シートを第1方向から第1撮影手段によって撮影した画像である第1画像を取得する第1画像取得機能と、第1載置台に載置された薬剤シートを第1方向と異なる第2方向から第2撮影手段によって撮影した画像である第2画像を取得する第2画像取得機能と、薬剤シートから切断された端数の薬剤を載置するための第2載置台に載置された端数の薬剤を第3撮影手段により撮影した画像である第3画像を取得する第3画像取得機能と、第1画像から、光学文字認識及びコード認識の少なくとも一方を用いて、薬剤シートの薬剤名を検出する第1薬剤名検出機能と、第2画像から薬剤シートの枚数を検出する枚数検出機能と、第3画像から端数の薬剤の数を検出する端数薬剤数検出機能と、薬剤シートの枚数と端数の薬剤の数とから、総薬剤数を検出する総薬剤数検出機能と、第3画像から端数の薬剤の薬剤名を検出する第2薬剤名検出機能と、処方箋の指示に対応した処方情報における薬剤名及び薬剤数と、第1薬剤名検出機能及び第2薬剤名検出機能のそれぞれの機能で検出した薬剤名及び総薬剤数検出機能で検出した総薬剤数とが、一致しているか否かを判定する監査結果判定機能を、コンピュータに実現させるためのプログラムである。   The program according to the sixteenth aspect is a first image for acquiring a first image that is an image obtained by photographing the medicine sheet placed on the first placement table for placing the medicine sheet from the first direction by the first photographing means. An acquisition function, a second image acquisition function for acquiring a second image, which is an image obtained by photographing the medicine sheet placed on the first placement table from the second direction different from the first direction by the second photographing means, and the medicine sheet A third image acquisition function for acquiring a third image, which is an image obtained by imaging the fractional medicine placed on the second mounting table for placing the fractional medicine cut from the second imaging means by the third imaging means; A first medicine name detection function for detecting a medicine name of a medicine sheet from one image using at least one of optical character recognition and code recognition; a number detection function for detecting the number of medicine sheets from a second image; Number of fractional drugs from 3 images A fraction drug number detection function to detect, a total drug number detection function to detect the total drug number from the number of drug sheets and the number of fraction drugs, and a second drug name to detect the drug name of the fraction drug from the third image Drug name detection function, drug name and number of drugs in prescription information corresponding to prescription instructions, drug name and total drug number detection function detected by each of the first drug name detection function and the second drug name detection function This is a program for causing a computer to realize an audit result determination function for determining whether or not the total number of drugs detected in (1) matches.

第16態様において、第2態様から第14態様で特定した事項と同様の事項を適宜組み合わせることができる。その場合、調剤監査装置において特定される処理又は機能を担う手段は、これに対応する処理又は動作を行うプログラムの「機能」の要素として把握することができる。   In the sixteenth aspect, matters similar to the matters specified in the second aspect to the fourteenth aspect can be appropriately combined. In that case, the means responsible for the process or function specified in the dispensing inspection apparatus can be grasped as an element of the “function” of the program that performs the corresponding process or operation.

本発明によれば、端数の薬剤も含めて、簡易な換作で、信頼性の高い調剤監査を行うことができる。   According to the present invention, it is possible to perform a highly reliable dispensing audit including a fractional drug by simple conversion.

図1は、本発明の実施形態に係る調剤監査装置の構成を示すブロック図である。FIG. 1 is a block diagram showing a configuration of a dispensing inspection apparatus according to an embodiment of the present invention. 図2は、スキャナの外観の一例を示す斜視図である。FIG. 2 is a perspective view showing an example of the appearance of the scanner. 図3は、スキャナの構成の一例を模式的に示した斜視図である。FIG. 3 is a perspective view schematically showing an example of the configuration of the scanner. 図4は、側方照明装置と第2撮影装置の位置関係の例を模式的に示した斜視図である。FIG. 4 is a perspective view schematically showing an example of the positional relationship between the side illumination device and the second imaging device. 図5は、調剤包装単位の薬剤シートであるPTPシートの一例を模式的に示した斜視図である。FIG. 5 is a perspective view schematically showing an example of a PTP sheet that is a medicine sheet in a dispensing packaging unit. 図6は、PTPシートの裏面の例を示した平面図である。FIG. 6 is a plan view showing an example of the back surface of the PTP sheet. 図7は、処理装置における検出部の機能を説明するためのブロック図である。FIG. 7 is a block diagram for explaining the function of the detection unit in the processing apparatus. 図8は、PTPシートの裏面を撮影して得られる第1画像の一例を示す図である。FIG. 8 is a diagram illustrating an example of a first image obtained by photographing the back surface of the PTP sheet. 図9は、複数枚のPTPシートが積層されたPTPシート積層体の側面を撮影して得られる第2画像の一例を示す図である。FIG. 9 is a diagram illustrating an example of a second image obtained by photographing a side surface of a PTP sheet laminate in which a plurality of PTP sheets are laminated. 図10は、複数枚のPTPシートが積層されたPTPシート積層体の側面を撮影して得られる第2画像の一例を示す図である。FIG. 10 is a diagram illustrating an example of a second image obtained by photographing the side surface of the PTP sheet laminate in which a plurality of PTP sheets are laminated. 図11は、PTPシート積層体の側面を撮影して得られる第2画像の別の例を示す図である。FIG. 11 is a diagram illustrating another example of the second image obtained by photographing the side surface of the PTP sheet laminate. 図12は、PTPシート積層体の側面を撮影して得られる第2画像の別の例を示す図である。FIG. 12 is a diagram illustrating another example of the second image obtained by photographing the side surface of the PTP sheet laminate. 図13は、端数の薬剤のおもて面を撮影して得られる第3画像の例を示す図である。FIG. 13 is a diagram illustrating an example of a third image obtained by photographing the front surface of the fractional medicine. 図14は、図13に示した第3画像から抽出した端数薬剤のシート領域を示す図である。FIG. 14 is a diagram showing a sheet region of fractional medicines extracted from the third image shown in FIG. 図15は、第3画像におけるシート領域の部分を切り出した部分拡大図である。FIG. 15 is a partial enlarged view in which a portion of the sheet area in the third image is cut out. 図16は、図15に示した画像から明部と暗部を抽出した画像を示す図である。FIG. 16 is a diagram illustrating an image obtained by extracting a bright part and a dark part from the image illustrated in FIG. 15. 図17は、図16に示した画像から薬剤候補の領域を絞り込んだ画像を示す図である。FIG. 17 is a diagram illustrating an image obtained by narrowing down drug candidate regions from the image illustrated in FIG. 16. 図18は、図17に示した画像を基に薬剤候補として抽出した画像を回転させた画像を示す図である。FIG. 18 is a diagram illustrating an image obtained by rotating an image extracted as a drug candidate based on the image illustrated in FIG. 図19は、調剤監査装置における辞書の更新機能に関する要部構成を示すブロック図である。FIG. 19 is a block diagram showing a main configuration of the dictionary updating function in the dispensing inspection device. 図20は、本発明の実施形態に係る調剤監査方法の手順を示したフローチャートである。FIG. 20 is a flowchart showing the procedure of the dispensing inspection method according to the embodiment of the present invention. 図21は、第2薬剤名検出工程において実施される認識処理のフローチャートである。FIG. 21 is a flowchart of a recognition process performed in the second medicine name detection step. 図22は、調剤監査装置による調剤監査結果の表示例を示す図である。FIG. 22 is a diagram illustrating a display example of a dispensing audit result by the dispensing inspection device. 図23は、調剤監査装置による調剤監査結果の表示例を示す図である。FIG. 23 is a diagram illustrating a display example of a dispensing audit result by the dispensing auditing device. 図24は、調剤監査装置による調剤監査結果の表示例を示す図である。FIG. 24 is a diagram illustrating a display example of a dispensing audit result by the dispensing inspection device. 図25は、調剤監査装置による追加学習処理のフローチャートである。FIG. 25 is a flowchart of additional learning processing by the dispensing inspection device. 図26は、本発明の他の実施形態に係る調剤監査装置のシステム構成例を示したブロック図である。FIG. 26 is a block diagram showing a system configuration example of a dispensing inspection apparatus according to another embodiment of the present invention.

以下、添付図面に従って本発明の好ましい実施の形態について詳説する。   Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings.

[調剤監査装置の概要]
図1は、本発明の実施形態に係る調剤監査装置10の構成を示すブロック図である。調剤監査装置10は、調剤薬局等において薬剤師によって調剤された薬剤が、医師が処方した処方箋どおりに調剤されたか否かを監査(確認)することにより、薬剤師による調剤監査の支援を行う装置である。調剤監査装置10は、スキャナ12と、処理装置14と、表示部16と、操作部18と、を有して構成される。
[Outline of dispensing inspection equipment]
FIG. 1 is a block diagram showing a configuration of a dispensing inspection apparatus 10 according to an embodiment of the present invention. The dispensing inspection apparatus 10 is an apparatus that supports dispensing audits by a pharmacist by auditing (confirming) whether or not a medicine dispensed by a pharmacist at a dispensing pharmacy or the like has been dispensed according to a prescription prescribed by a doctor. . The dispensing inspection device 10 includes a scanner 12, a processing device 14, a display unit 16, and an operation unit 18.

〈スキャナ12の構成〉
スキャナ12は、監査対象となる監査対象薬剤の撮影を行う装置である。スキャナ12は、第1載置台20と、第2載置台24と、第1撮影装置26と、第2撮影装置28と、第3撮影装置30と、拡散照明装置32と、側方照明装置34と、斜方照明装置36とを有する。
<Configuration of Scanner 12>
The scanner 12 is an apparatus that performs imaging of an audit target medicine to be audited. The scanner 12 includes a first mounting table 20, a second mounting table 24, a first imaging device 26, a second imaging device 28, a third imaging device 30, a diffuse illumination device 32, and a side illumination device 34. And an oblique illumination device 36.

図2は、スキャナ12の外観の一例を示す斜視図である。図3は、スキャナ12の構成の一部を模式的に示した斜視図である。   FIG. 2 is a perspective view showing an example of the appearance of the scanner 12. FIG. 3 is a perspective view schematically showing a part of the configuration of the scanner 12.

第1載置台20は、監査対象薬剤のうち、調剤包装単位の薬剤シートであるPTPシートを撮影するためのテーブルである。1枚若しくは複数枚のPTPシートが第1載置台20に載置される。監査対象薬剤のPTPシートが1枚である場合は、PTPシートの裏面を第1載置台20の載置面20aに対面させて(つまり、PTPシートの裏面を下方に向けて)、PTPシートを第1載置台20に載置する。同じ薬剤種別のPTPシートが複数枚ある場合は、これら複数枚のPTPシートを積層した状態で、かつ、最下層に位置するPTPシートの裏面を第1載置台20の載置面20aに対面させて、第1載置台20に載置する。   The 1st mounting base 20 is a table for imaging | photography the PTP sheet | seat which is a chemical | medical agent sheet of a dispensing packaging unit among the chemical | medical agents to be audited. One or a plurality of PTP sheets are mounted on the first mounting table 20. When there is one PTP sheet of the medicine to be inspected, the back surface of the PTP sheet faces the mounting surface 20a of the first mounting table 20 (that is, the back surface of the PTP sheet faces downward), and the PTP sheet is It is mounted on the first mounting table 20. When there are a plurality of PTP sheets of the same drug type, the back surface of the PTP sheet positioned in the lowermost layer faces the mounting surface 20a of the first mounting table 20 in a state where the plurality of PTP sheets are stacked. Then, it is mounted on the first mounting table 20.

PTPシートの裏面とは、薬剤が取り出される側の面である。PTPシートの裏面の逆側の面、つまり、薬剤による凸部がある側の面がPTPシートのおもて面である。以下の説明では、第1載置台20に載置される1枚のPTPシート若しくは複数枚のPTPシートが積層されてなるPTPシート積層体を、便宜的に「シート薬剤」といい、符号41で表す。シート薬剤41は第1載置台20に載置される。   The back surface of the PTP sheet is the surface on the side from which the medicine is taken out. The surface opposite to the back surface of the PTP sheet, that is, the surface on the side having the convex portions due to the medicine is the front surface of the PTP sheet. In the following description, a single PTP sheet placed on the first placement table 20 or a PTP sheet laminate formed by laminating a plurality of PTP sheets is referred to as a “sheet drug” for the sake of convenience. Represent. The sheet medicine 41 is placed on the first placement table 20.

第2載置台24は、監査対象となる監査対象薬剤のうち、調剤包装単位のPTPシートから切断された端数の薬剤を撮影するためのテーブルである。PTPシートから切断された端数の薬剤を、便宜的に「端数薬剤」といい、符号42で表す。端数薬剤42は第2載置台24に載置される。   The 2nd mounting base 24 is a table for imaging | photography the fraction chemical | medical agent cut | disconnected from the PTP sheet | seat of the dispensing packaging unit among the audit target chemical | medical agents used as audit object. The fractional medicine cut from the PTP sheet is referred to as “fractional medicine” for convenience and is represented by reference numeral 42. The fraction drug 42 is placed on the second placement table 24.

端数薬剤42は、PTPシートから切断された端数のシート片のおもて面を第2載置台24の載置面に対面させて、第2載置台24に載置される。シート片のおもて面とは、シート片において薬剤による凸部がある側の面をいう。   The fraction drug 42 is placed on the second placement table 24 with the front surface of the fractional sheet piece cut from the PTP sheet facing the placement surface of the second placement table 24. The front surface of the sheet piece refers to the surface of the sheet piece on the side where there are convex portions due to the drug.

図3に示すように、第1載置台20には、第1撮影装置26、第2撮影装置28、拡散照明装置32及び側方照明装置34が設けられる。また、第2載置台24には、第3撮影装置30と斜方照明装置36が設けられる。   As shown in FIG. 3, the first mounting table 20 is provided with a first imaging device 26, a second imaging device 28, a diffuse illumination device 32, and a side illumination device 34. The second mounting table 24 is provided with a third imaging device 30 and an oblique illumination device 36.

第1撮影装置26、第2撮影装置28及び第3撮影装置30のそれぞれは、CCD(Charge-Coupled Device)イメージセンサ又はCMOS(Complementary Metal Oxide Semiconductor)イメージセンサなどの撮像デバイスを用いたカメラによって構成することができる。カメラは、レンズなどの光学部材を具備してもよい。「カメラ」は、「撮影装置」と同義である。   Each of the first imaging device 26, the second imaging device 28, and the third imaging device 30 is configured by a camera using an imaging device such as a CCD (Charge-Coupled Device) image sensor or a CMOS (Complementary Metal Oxide Semiconductor) image sensor. can do. The camera may include an optical member such as a lens. “Camera” is synonymous with “imaging device”.

第1撮影装置26、第2撮影装置28及び第3撮影装置30のそれぞれは、カラー画像の撮影を行うものでもよいし、モノクロ画像の撮影を行うものでもよい。後述する画像解析によるバーコード及び/又は薬剤数の検出を、より高精度に行える等の点で、撮影装置は、カラー画像の撮影を行うのが好ましい。   Each of the first photographing device 26, the second photographing device 28, and the third photographing device 30 may shoot a color image or may shoot a monochrome image. It is preferable that the imaging apparatus captures a color image in that a barcode and / or the number of drugs can be detected with higher accuracy by image analysis described later.

なお、明細書中「及び/又は」という表記を用いて「A及び/又はB」の形式の記載をした部分は、「A及びB、若しくはA又はB」という項目の組み合わせであることを略して表現したものであり、以下、この表記を用いる。「A及び/又はB」の記載は、AとBのうち少なくとも一つを含むことを表している。   In addition, in the specification, the part of the description “A and / or B” using the notation “and / or” is abbreviated to be a combination of the items “A and B, or A or B”. In the following, this notation is used. The description “A and / or B” indicates that at least one of A and B is included.

第1撮影装置26は、第1載置台20に載置されたシート薬剤41を、第1載置台20の下方から撮影する撮影装置である。第1載置台20の下方とは、第1載置台20の載置面20aよりも重力方向下側を指す。図2のように水平面に対して傾斜した載置面20aの場合、載置面20aよりも下側の空間が第1載置台20の下方に該当する。   The first imaging device 26 is an imaging device that images the sheet medicine 41 placed on the first placement table 20 from below the first placement table 20. The lower side of the first mounting table 20 indicates the lower side in the gravity direction than the mounting surface 20a of the first mounting table 20. In the case of the mounting surface 20 a inclined with respect to the horizontal plane as shown in FIG. 2, the space below the mounting surface 20 a corresponds to the lower side of the first mounting table 20.

第1撮影装置26は、第1載置台20の載置面20aに載置されたシート薬剤41の裏面を撮影する。シート薬剤41の裏面とは、シート薬剤41が1枚のPTPシートのみである場合は、PTPシートの裏面を意味し、シート薬剤41が複数枚のPTPシートを積層した構成である場合は、最下層に位置するPTPシート(第1載置台20の載置面20aに最も近いPTPシート)の裏面を意味する。   The first imaging device 26 images the back surface of the sheet medicine 41 placed on the placement surface 20 a of the first placement table 20. The back surface of the sheet medicine 41 means the back surface of the PTP sheet when the sheet medicine 41 is only one PTP sheet. When the sheet medicine 41 has a configuration in which a plurality of PTP sheets are laminated, It means the back surface of the PTP sheet (PTP sheet closest to the mounting surface 20a of the first mounting table 20) located in the lower layer.

第1撮影装置26は、PTPシートの裏面を正面から撮影することが好ましい。本例における第1撮影装置26の撮影光軸は、第1載置台20の載置面20aに直交する構成(載置面20aの法線と平行である構成)となっている。第1撮影装置26の撮影方向(被写体に向かうカメラの撮影光軸の方向)が「第1方向」の一形態に相当する。   It is preferable that the first photographing device 26 photographs the back surface of the PTP sheet from the front. The imaging optical axis of the first imaging device 26 in this example is configured to be orthogonal to the mounting surface 20a of the first mounting table 20 (configuration parallel to the normal line of the mounting surface 20a). The photographing direction of the first photographing device 26 (the direction of the photographing optical axis of the camera facing the subject) corresponds to one form of “first direction”.

拡散照明装置32は、第1載置台20に載置されたシート薬剤41に対し、第1載置台20の下方から照明光を照射する第1照明装置の一例である(図3参照)。スキャナ12の第1載置台20は、水平面に対して傾斜した載置面20aを有する。第1載置台20の載置面20aの一部には、ガラス板等によって透明な撮影領域20bが設けられている(図3参照)。   The diffuse illumination device 32 is an example of a first illumination device that irradiates the sheet medicine 41 placed on the first placement table 20 with illumination light from below the first placement table 20 (see FIG. 3). The first mounting table 20 of the scanner 12 has a mounting surface 20a that is inclined with respect to a horizontal plane. A transparent imaging region 20b is provided on a part of the mounting surface 20a of the first mounting table 20 with a glass plate or the like (see FIG. 3).

拡散照明装置32は、第1載置台20の撮影領域20bに、下方からシート薬剤41を撮影するための拡散光を照射する。図3に示した例において、拡散照明装置32は、略半球状のリフレクタ32aと、リフレクタ32aの中に配置される図示せぬ光源とから構成される。リフレクタ32aの内面は拡散反射面となっている。図示せぬ光源は、LED(Light Emitting Diode)又はハロゲンランプ等の公知の光源を用いればよい。   The diffuse illumination device 32 irradiates the imaging region 20b of the first mounting table 20 with diffused light for imaging the sheet medicine 41 from below. In the example shown in FIG. 3, the diffuse illumination device 32 includes a substantially hemispherical reflector 32 a and a light source (not shown) disposed in the reflector 32 a. The inner surface of the reflector 32a is a diffuse reflection surface. As the light source (not shown), a known light source such as an LED (Light Emitting Diode) or a halogen lamp may be used.

リフレクタ32aは、その開口部においで撮影領域20bを覆うように配置される。図示せぬ光源から照射された光が、リフレクタ32aによって拡散反射されて、拡散光が撮影領域20bに載置されているシート薬剤41の裏面に入射する。   The reflector 32a is arranged at the opening so as to cover the imaging region 20b. Light emitted from a light source (not shown) is diffusely reflected by the reflector 32a, and the diffused light is incident on the back surface of the sheet medicine 41 placed in the imaging region 20b.

このように第1載置台20の撮影領域20bを介して、拡散照明装置32からシート薬剤41に拡散光を照射した状態で、第1撮影装置26によってシート薬剤41の裏面を撮影することにより、PTPシートの裏面に形成される凹凸等に起因する影を無くしてPTPシートの裏面を撮影できる。このため、後述するバーコードの認識及び/又は光学文字認識(OCR;Optical Character Recognition)による薬剤名等の検出を、より正確に行うことができる。   In this way, by photographing the back surface of the sheet medicine 41 by the first imaging device 26 in a state where the diffused illumination device 32 irradiates the sheet medicine 41 with the diffused light through the imaging region 20b of the first mounting table 20, The back surface of the PTP sheet can be photographed without shadows caused by unevenness formed on the back surface of the PTP sheet. For this reason, detection of a drug name or the like by barcode recognition and / or optical character recognition (OCR) described later can be performed more accurately.

PTPシートの裏面には、通常、PTPシートが有する薬剤の薬剤名が印刷されている。また、近年では、PTPシートに、調剤包装単位(薬剤名及び薬剤数)を示すバーコードを付すことが義務付けられるようになっている。このバーコードは、PTPシートの裏面に印刷されるのが通常である。   The drug name of the drug that the PTP sheet has is usually printed on the back surface of the PTP sheet. In recent years, it has become mandatory to attach a barcode indicating a dispensing packaging unit (drug name and number of drugs) to a PTP sheet. This barcode is usually printed on the back side of the PTP sheet.

調剤監査装置10は、PTPシートの裏面を撮影した画像から、バーコードの認識及びOCRの少なくとも一方を行って、監査対象薬剤の薬剤名及びPTPシートが有する薬剤の数を検出する。この点に関しては、後に詳述する。   The dispensing inspection device 10 detects the name of the medicine to be audited and the number of medicines included in the PTP sheet by performing at least one of barcode recognition and OCR from an image obtained by photographing the back surface of the PTP sheet. This will be described in detail later.

なお、第1載置台20の撮影領域20bに拡散光を照射する拡散照明装置の形態は、図3の例に限定はされず、拡散光を照射する他の構成による照明装置が、各種、利用可能である。   In addition, the form of the diffused illumination device that irradiates the imaging region 20b of the first mounting table 20 with the diffused light is not limited to the example of FIG. 3, and various illumination devices with other configurations that irradiate the diffused light are used. Is possible.

拡散照明装置32によって、シート薬剤41の裏面に照明光が照射された状態で、第1撮影装置26によってシート薬剤41の裏面を撮影して得られる撮影画像を第1画像という。   A photographed image obtained by photographing the back surface of the sheet medicine 41 by the first photographing device 26 in a state where the illumination light is irradiated to the back surface of the sheet medicine 41 by the diffuse illumination device 32 is referred to as a first image.

第2撮影装置28は、第1載置台20に載置されたシート薬剤41を、重力方向と非平行な方向である第1載置台20の側方から撮影する撮影装置である。側方照明装置34は、第1載置台20に載置されたシート薬剤41に対し、第1載置台20の側方から照明光を照射する第2照明装置の一例である。側方照明装置34によって、シート薬剤41の側面側からシート薬剤41に照明光が照射された状態で、第2撮影装置28によってシート薬剤41が撮影される。第2撮影装置28によってシート薬剤41を撮影して得られる撮影画像を第2画像という。   The second imaging device 28 is an imaging device that images the sheet medicine 41 placed on the first placement table 20 from the side of the first placement table 20 that is a direction non-parallel to the gravity direction. The side illumination device 34 is an example of a second illumination device that irradiates the sheet medicine 41 placed on the first placement table 20 with illumination light from the side of the first placement table 20. The sheet medicine 41 is imaged by the second imaging device 28 in a state where the illumination light is irradiated to the sheet medicine 41 from the side surface side of the sheet medicine 41 by the side illumination device 34. A captured image obtained by photographing the sheet medicine 41 by the second photographing device 28 is referred to as a second image.

図3に示した例において、第2撮影装置28は、図3の図中奥側から、シート薬剤41の側面を撮影する。第2画像は、シート薬剤41の側面、言い換えれば、1枚若しくは積層された複数枚のPTPシートの端面を撮影した画像である。   In the example shown in FIG. 3, the second imaging device 28 images the side surface of the sheet medicine 41 from the back side in the drawing of FIG. 3. The second image is an image obtained by photographing the side surface of the sheet medicine 41, in other words, the end surface of one or a plurality of stacked PTP sheets.

第2撮影装置28の撮影方向が「第2方向」の一形態に相当する。図3から明らかなように、第2撮影装置28の撮影方向である第2方向は、第1撮影装置26の撮影方向である第1方向と異なる方向である。本例の場合、第1方向と第2方向は直交しているが、発明の実施に際して、第1方向と第2方向は非平行であればよく、必ずしも直交することは要求されない。   The photographing direction of the second photographing device 28 corresponds to one form of “second direction”. As is clear from FIG. 3, the second direction that is the shooting direction of the second shooting device 28 is different from the first direction that is the shooting direction of the first shooting device 26. In this example, the first direction and the second direction are orthogonal to each other. However, when the invention is implemented, the first direction and the second direction may be non-parallel, and are not necessarily required to be orthogonal.

調剤監査装置10は、シート薬剤41の側面を撮影した第2画像から、シート薬剤41のPTPシートの枚数を検出する。この点に関しては、後に詳述する。   The dispensing inspection apparatus 10 detects the number of PTP sheets of the sheet medicine 41 from the second image obtained by photographing the side surface of the sheet medicine 41. This will be described in detail later.

側方照明装置34は、第1載置台20に載置されたシート薬剤41の側面(図2及び図3中、奥側の側面)に光を照射するものである。好ましくは、側方照明装置34は、第1突き当て部50及び第2突き当て部52によって位置決めされたシート薬剤41のPTPシートの角部に、光を照射する。   The side illumination device 34 irradiates light to the side surface (the back side surface in FIGS. 2 and 3) of the sheet medicine 41 mounted on the first mounting table 20. Preferably, the side illumination device 34 irradiates the corners of the PTP sheet of the sheet medicine 41 positioned by the first butting portion 50 and the second butting portion 52.

側方照明装置34には、LED、ハロゲンランプ、蛍光灯、又は、レーザ光源を平面状にしたレーザライン光源等の光源と、光を所定方向に照射するためのリフレクタ又はプロジェクタ等を含んで構成される照明装置を用いればよい。   The side illumination device 34 includes a light source such as an LED, a halogen lamp, a fluorescent lamp, or a laser line light source in which the laser light source is planar, and a reflector or projector for irradiating light in a predetermined direction. The lighting device to be used may be used.

図4は、側方照明装置34と第2撮影装置28の位置関係の例を模式的に示した斜視図である。PTPシートは、通常、アルミ箔と透明な樹脂材料とによって形成される。そのため、本実施形態のような側方照明装置34を採用することにより、シート薬剤41であるPTPシートの端面、好ましくは、図4中にメッシュによって示したPTPシートの端面角部54にて光を反射した状態で、第2撮影装置28によってシート薬剤41の側面を撮影することができる。   FIG. 4 is a perspective view schematically showing an example of the positional relationship between the side illumination device 34 and the second imaging device 28. The PTP sheet is usually formed of an aluminum foil and a transparent resin material. Therefore, by adopting the side illumination device 34 as in this embodiment, light is emitted from the end surface of the PTP sheet as the sheet medicine 41, preferably at the end surface corner portion 54 of the PTP sheet indicated by the mesh in FIG. The side surface of the sheet medicine 41 can be photographed by the second photographing device 28 in a state where the light is reflected.

これにより、第2画像として、シート薬剤41の各PTPシートの端面を強調した撮影画像を得ることができ、後述するPTPシートの枚数の検出を、より安定して高精度に行うことが可能になる。   As a result, a captured image in which the end face of each PTP sheet of the sheet medicine 41 is emphasized can be obtained as the second image, and the detection of the number of PTP sheets described later can be performed more stably and with high accuracy. Become.

また、本例のスキャナ12は、図2に示したように、第1載置台20において、平板状の第1突き当て部50及び第2突き当て部52が載置面20aから垂直に立設されている。第1突き当て部50と第2突き当て部52は、互いに直交して設けられる。第1突き当て部50と第2突き当て部52は、第1載置台20の上でシート薬剤41を位置決めするための突き当て面となる。   Further, as shown in FIG. 2, in the scanner 12 of this example, in the first mounting table 20, the flat plate-like first abutting portion 50 and the second abutting portion 52 are erected vertically from the mounting surface 20a. Has been. The first butting portion 50 and the second butting portion 52 are provided orthogonal to each other. The first butting portion 50 and the second butting portion 52 serve as butting surfaces for positioning the sheet medicine 41 on the first mounting table 20.

第2突き当て部52の一部には、透明領域52aが設けられている。この透明領域52aを介して、側方照明装置34からシート薬剤41に光が照射され、かつ、第2撮影装置28によってシート薬剤41の撮影が行われる。   A transparent region 52 a is provided in a part of the second abutting portion 52. Light is applied to the sheet medicine 41 from the side illumination device 34 through the transparent region 52a, and the sheet medicine 41 is imaged by the second imaging device 28.

シート薬剤41は、PTPシートの端面を第1突き当て部50及び第2突き当て部52に突き当て、第1突き当て部50と第2突き当て部52とが成す角部にPTPシートの角部を当接させた状態で、シート薬剤41の裏面を下方にして第1載置台20に載置される。PTPシートの角部が第1突き当て部50及び第2突き当て部52の角部に当接した状態で、シート薬剤41が第1載置台20の撮影領域20b上の適正な位置に載置されるように、第1突き当て部50及び第2突き当て部52の位置が定められている。   The sheet medicine 41 abuts the end surface of the PTP sheet against the first butting portion 50 and the second butting portion 52, and the corner of the PTP sheet is formed at the corner formed by the first butting portion 50 and the second butting portion 52. The sheet medicine 41 is placed on the first placement table 20 with the back surface of the sheet medicine 41 facing downward while the parts are in contact with each other. With the corners of the PTP sheet in contact with the corners of the first butting portion 50 and the second butting portion 52, the sheet medicine 41 is placed at an appropriate position on the imaging region 20b of the first placing table 20. As described above, the positions of the first butting portion 50 and the second butting portion 52 are determined.

これにより、第1載置台20の上におけるシート薬剤41の位置を、所定の位置に規制して、第1撮影装置26及び第2撮影装置28によるシート薬剤41の撮影を安定して適正に行うことが可能になる。   Thereby, the position of the sheet medicine 41 on the first mounting table 20 is regulated to a predetermined position, and the first photographing device 26 and the second photographing device 28 perform the photographing of the sheet medicine 41 stably and appropriately. It becomes possible.

また、本例のスキャナ12の場合、第1載置台20の載置面20aが、第1突き当て部50に向かって下降するように、水平面に対して傾斜している。このように、シート薬剤41を載置する載置面20aを水平面に対して傾斜させる構成を採用したことにより、載置面20aに載置されたシート薬剤41を載置面20aの傾斜に沿って下方に落とし込むようにして、より安定して、かつ確実に、シート薬剤41を第1突き当て部50に突き当てて、所定位置に位置決めすることができる。   In the case of the scanner 12 of this example, the mounting surface 20 a of the first mounting table 20 is inclined with respect to the horizontal plane so as to descend toward the first abutting portion 50. Thus, by adopting a configuration in which the placement surface 20a on which the sheet medicine 41 is placed is inclined with respect to the horizontal plane, the sheet medicine 41 placed on the placement surface 20a is moved along the inclination of the placement surface 20a. The sheet medicine 41 can be abutted against the first abutting portion 50 and positioned at a predetermined position more stably and reliably.

スキャナ12において、シート薬剤41を位置決めする手段は、図2の例のような第1突き当て部50と第2突き当て部52の構成に限定はされず、シート状物、又はシート状物の積層体の面方向の位置決めを行うための各種の位置決め方法が利用可能である。   In the scanner 12, the means for positioning the sheet medicine 41 is not limited to the configuration of the first butting portion 50 and the second butting portion 52 as in the example of FIG. Various positioning methods for positioning the laminated body in the surface direction can be used.

図2に例示したスキャナ12は、直交する2方向でシート薬剤41の位置決めを行っているが、シート薬剤41の位置決めは1方向のみでもよい。しかしながら、図2の例のように、直交する2方向でシート薬剤41の位置決めを行う方が、より適正な位置にシート薬剤41を誘導できるため、より安定して正確な監査対象薬剤の監査が可能になる。   The scanner 12 illustrated in FIG. 2 positions the sheet medicine 41 in two orthogonal directions, but the sheet medicine 41 may be positioned in only one direction. However, as shown in the example of FIG. 2, it is possible to guide the sheet medicine 41 to a more appropriate position by positioning the sheet medicine 41 in two orthogonal directions. It becomes possible.

なお、複数枚のPTPシートを積層した構成のシート薬剤41を第1載置台20に載置する場合、これら複数枚のPTPシートは輪ゴム等の結束具を用いて結束されていてもよいし、されていなくてもよい。   In addition, when mounting the sheet | seat chemical | medical agent 41 of the structure which laminated | stacked the several PTP sheet | seat on the 1st mounting base 20, these several PTP sheet | seats may be bound using binding tools, such as a rubber band, It does not have to be.

他方、第2載置台24の載置面の一部には、ガラス板等によって透明な撮影領域24bが設けられる(図3参照)。この撮影領域24bを介して、斜方照明装置36から端数薬剤42に光が照射され、かつ、第3撮影装置30によって端数薬剤42の撮影が行われる。   On the other hand, a transparent imaging region 24b is provided on a part of the mounting surface of the second mounting table 24 by a glass plate or the like (see FIG. 3). The fractional medicine 42 is irradiated with light from the oblique illumination device 36 through the imaging region 24b, and the fractional medicine 42 is imaged by the third imaging device 30.

第3撮影装置30は、第2載置台24に載置された端数薬剤42を、第2載置台24の下方から撮影する撮影装置である。第2載置台24の下方とは、第2載置台24の載置面よりも重力方向下側を指す。第2載置台24の載置面よりも下側の空間が第2載置台24の下方に該当する。   The third imaging device 30 is an imaging device that images the fraction medicine 42 placed on the second mounting table 24 from below the second mounting table 24. The lower side of the second mounting table 24 indicates a lower side in the gravity direction than the mounting surface of the second mounting table 24. The space below the mounting surface of the second mounting table 24 corresponds to the lower side of the second mounting table 24.

第3撮影装置30は、第2載置台24に載置された端数薬剤42のシート片のおもて面を撮影する。第3撮影装置30は、第2載置台24の下方に配置され、第2載置台24に載置された端数薬剤42のおもて面を第2載置台24の下方から撮影する。端数薬剤42は、第2載置台24の撮影領域24bに、シート片のおもて面を下方に向けて載置される。第3撮影装置30から得られる第3画像は、端数薬剤42のおもて面を撮影した画像である。   The third imaging device 30 images the front surface of the sheet piece of the fraction drug 42 placed on the second placement table 24. The third imaging device 30 is disposed below the second mounting table 24, and images the front surface of the fraction drug 42 mounted on the second mounting table 24 from below the second mounting table 24. The fraction drug 42 is placed on the imaging region 24b of the second placement table 24 with the front surface of the sheet piece facing downward. The third image obtained from the third imaging device 30 is an image obtained by photographing the front surface of the fraction medicine 42.

斜方照明装置36は、第2載置台24に置かれた端数薬剤42に照明光を照射する第3照明装置の一例である。斜方照明装置36は、第2載置台24の下方から、第2載置台24の撮影領域24bに、端数薬剤42を撮影するための光を照射する。   The oblique illumination device 36 is an example of a third illumination device that irradiates the fraction medicine 42 placed on the second mounting table 24 with illumination light. The oblique illumination device 36 irradiates the imaging region 24 b of the second mounting table 24 with light for imaging the fraction medicine 42 from below the second mounting table 24.

図3に示すように、斜方照明装置36は、第3撮影装置30の撮影光軸に対して、照明光の照射光軸が角度を有する状態(撮影光軸と照射光軸が非平行の状態で)、第2載置台24の下方、かつ、第2載置台24の載置面に対して斜め(非平行かつ非直角)の方向から、第2載置台24の上の端数薬剤42に照明光を照射する。   As shown in FIG. 3, the oblique illumination device 36 is in a state where the illumination optical axis of the illumination light has an angle with respect to the imaging optical axis of the third imaging device 30 (the imaging optical axis and the illumination optical axis are non-parallel). In the state), the fraction drug 42 on the second mounting table 24 is moved from below the second mounting table 24 and obliquely (non-parallel and non-perpendicular) to the mounting surface of the second mounting table 24. Irradiate with illumination light.

すなわち、図3の例において、第3撮影装置30の撮影光軸は、撮影領域24bにおける端数薬剤42の載置面に対して直交している。第2載置台24の載置面が水平面と平行である場合、第3撮影装置30は撮影領域24bの鉛直方向の真下に配置され、第3撮影装置30の撮影光軸は、載置面の法線と平行である。   That is, in the example of FIG. 3, the imaging optical axis of the third imaging device 30 is orthogonal to the placement surface of the fractional medicine 42 in the imaging region 24b. When the mounting surface of the second mounting table 24 is parallel to the horizontal plane, the third imaging device 30 is arranged directly below the imaging region 24b, and the imaging optical axis of the third imaging device 30 is the same as that of the mounting surface. Parallel to the normal.

これに対し、斜方照明装置36は、第3撮影装置30の撮影光軸に対して、照明光の照射光軸を傾けた状態で、第2載置台24の撮影領域24bに光を照射する。すなわち、第3画像は、第3撮影装置30の光軸(撮影方向)に対して、斜めに光を照射した状態で端数薬剤42のおもて面を撮影した画像である。言い換えれば、第3画像は、斜めから端数薬剤42に光を照射した状態で、端数薬剤42のおもて面を正面から撮影した画像である。   On the other hand, the oblique illumination device 36 irradiates light to the imaging region 24b of the second mounting table 24 with the illumination optical axis of the illumination light inclined with respect to the imaging optical axis of the third imaging device 30. . That is, the third image is an image obtained by photographing the front surface of the fraction drug 42 in a state where light is obliquely irradiated with respect to the optical axis (imaging direction) of the third imaging device 30. In other words, the third image is an image obtained by photographing the front surface of the fraction medicine 42 from the front in a state where the fraction medicine 42 is irradiated with light obliquely.

PTPシートのおもて面には、薬剤に起因する凸部が有る。したがって、端数薬剤42のおもて面を下方に向けて、室内照明などの環境光に照らされずシート表面を暗くした状態とし、斜めの一方向から端数薬剤42のおもて面に光を照射することにより、端数薬剤42には、薬剤による凸部に起因する影が形成される。他方、薬剤は、光を拡散反射するので、光を斜めに入射しても、薬剤で反射された光は、第3撮影装置30に入射し、薬剤は明るく写る。すなわち、斜めから光を照射して端数薬剤42のおもて面を撮影した第3画像では、薬剤の位置には、薬剤に起因する明部と、薬剤の影に起因する暗部とが隣接して存在する。   The front surface of the PTP sheet has a convex portion due to the medicine. Accordingly, the front surface of the fraction medicine 42 is directed downward, the sheet surface is darkened without being illuminated by ambient light such as room lighting, and the front face of the fraction medicine 42 is irradiated from one oblique direction. As a result, a shadow caused by the convex portion due to the medicine is formed on the fraction medicine 42. On the other hand, since the drug diffuses and reflects light, even if the light is incident obliquely, the light reflected by the drug enters the third imaging device 30 and the drug appears bright. That is, in the third image obtained by irradiating light obliquely and photographing the front surface of the fraction medicine 42, a bright portion due to the medicine and a dark portion due to the shadow of the medicine are adjacent to the position of the medicine. Exist.

本実施形態の調剤監査装置10は、この薬剤の影に起因する第3画像の明暗を用いて、端数薬剤42が有する薬剤数を検出する。この点に関しては、後に詳述する。   The dispensing inspection apparatus 10 according to the present embodiment detects the number of medicines included in the fraction medicine 42 by using the brightness of the third image resulting from the shadow of the medicine. This will be described in detail later.

また、PTPシートは、アルミ箔等を用いて形成される。そのため、PTPシートのおもて面は、ある程度の光反射性を有する。PTPシートの平面部で反射された光が、第3撮影装置30に入射すると、光源の写り込み等の妨害光になってしまい、第3画像の画質を低下させてしまう。第3画像の画質低下は、後述する端数薬剤42が有する端数の薬剤数の検出精度を低下させる要因となり得る。   The PTP sheet is formed using aluminum foil or the like. Therefore, the front surface of the PTP sheet has a certain degree of light reflectivity. When the light reflected by the plane portion of the PTP sheet enters the third photographing device 30, it becomes interference light such as reflection of the light source, and the quality of the third image is deteriorated. The deterioration of the image quality of the third image can be a factor of reducing the detection accuracy of the fractional medicine number that the fractional medicine 42 described later has.

この点、本実施形態のように、第3撮影装置30による撮影のための照明光を、斜めから端数薬剤42に照射した状態で、正面から端数薬剤42の平面部を撮影することにより、端数薬剤42のシートの平面部で反射した光が第3撮影装置30に入射することを抑制して、高画質な第3画像を安定して撮影することができる。   In this regard, as in the present embodiment, the fractional medicine 42 is photographed from the front by photographing the flat part of the fraction medicine 42 with the illumination light for photographing by the third photographing device 30 obliquely applied to the fraction medicine 42. The light reflected by the planar portion of the sheet of the medicine 42 can be prevented from entering the third imaging device 30, and a high-quality third image can be stably captured.

また、端数薬剤42のシートの平面部で反射された光は第3撮影装置30とは異なる方向に反射され、薬剤は光を拡散反射するので、第3画像では、薬剤を特に明るくすることができる。   In addition, since the light reflected by the flat portion of the sheet of the fraction medicine 42 is reflected in a direction different from that of the third imaging device 30, and the medicine diffuses and reflects the light, the medicine may be particularly bright in the third image. it can.

第3撮影装置30の撮影光軸に対する斜方照明装置36の光軸(照射光軸)の角度、すなわち、第3撮影装置30の撮影光軸に対する斜方照明装置36の光照射方向は、斜方照明装置36からの出射される光が撮影領域24bの全域を適正な光量で照射できる角度及び/又は距離を、適宜、設定すればよい。   The angle of the optical axis (irradiation optical axis) of the oblique illumination device 36 relative to the imaging optical axis of the third imaging device 30, that is, the light irradiation direction of the oblique illumination device 36 relative to the imaging optical axis of the third imaging device 30 is oblique. What is necessary is just to set suitably the angle and / or distance which the light radiate | emitted from the direction illumination apparatus 36 can irradiate the whole imaging | photography area | region 24b with appropriate light quantity.

ここで、第3撮影装置30の撮影光軸に対する斜方照明装置36の光軸の角度が小さすぎると、薬剤による影が十分に出ない。逆に、第3撮影装置30の撮影光軸に対する斜方照明装置36の光軸の角度が大きすぎると、影が不要に大きくなり、影を検出しにくくなる。   Here, if the angle of the optical axis of the oblique illumination device 36 with respect to the imaging optical axis of the third imaging device 30 is too small, the shadow caused by the medicine is not sufficiently produced. On the other hand, if the angle of the optical axis of the oblique illumination device 36 with respect to the imaging optical axis of the third imaging device 30 is too large, the shadow becomes unnecessarily large and it becomes difficult to detect the shadow.

以上の点を考慮すると、斜方照明装置36が照射する光の光軸と第3撮影装置30の撮影光軸とが成す角度が30°以上60°以下であることが好ましく、45°以上60°以下であることが、より好ましい。   Considering the above points, the angle formed by the optical axis of the light emitted by the oblique illumination device 36 and the imaging optical axis of the third imaging device 30 is preferably 30 ° or more and 60 ° or less, and 45 ° or more and 60 ° or less. It is more preferable that the temperature is not more than °.

斜方照明装置36の光照射方向を、上記の角度範囲とすることにより、端数薬剤42の薬剤による影を適正に形成して、端数の薬剤数の検出を、より正確に行うことが可能になる。   By making the light irradiation direction of the oblique illumination device 36 within the above-mentioned angular range, it is possible to appropriately form a shadow of the fractional medicine 42 and detect the fractional medicine number more accurately. Become.

斜方照明装置36と第2載置台24との距離は、斜方照明装置36の照射角度、斜方照明装置36の大きさ、並びに、照射する光の指向性及び/又は強度のうち少なくとも一つの条件等に応じて、斜方照明装置36からの光が撮影領域24bの全域を適正な光量で照射できる距離を、適宜、設定すればよい。   The distance between the oblique illumination device 36 and the second mounting table 24 is at least one of the irradiation angle of the oblique illumination device 36, the size of the oblique illumination device 36, and the directivity and / or intensity of the irradiated light. According to the two conditions, the distance at which the light from the oblique illumination device 36 can irradiate the entire imaging region 24b with an appropriate amount of light may be set as appropriate.

斜方照明装置36が照射する光は、ある程度の指向性を有するのが好ましい。斜方照明装置36による光が、指向性を有することにより、薬剤による影を、より好適に形成でき、端数の薬剤数の検出を、より正確に行うことが可能になる。   The light emitted by the oblique illumination device 36 preferably has a certain degree of directivity. Since the light from the oblique illumination device 36 has directivity, it is possible to more appropriately form a shadow due to the medicine, and it is possible to more accurately detect the fraction of the medicine.

斜方照明装置36が照射する光は、配向分布(配向曲線)における半値幅が20°以上60°以下(±10〜30°)であるのが好ましく、20°以上40°以下(±10〜20°)であるのがより好ましい。なお、配向分布における半値幅とは、配向分布において光の強度が正面(光軸上)の半分になる角度である。「光の強度」は放射強度(光度)を指す。   The light emitted by the oblique illumination device 36 preferably has a half-value width in an orientation distribution (orientation curve) of 20 ° or more and 60 ° or less (± 10 to 30 °), and 20 ° or more and 40 ° or less (± 10 to 10 °). 20 °) is more preferable. The half width in the orientation distribution is an angle at which the light intensity is half of the front (on the optical axis) in the orientation distribution. “Light intensity” refers to radiation intensity (luminosity).

斜方照明装置36が照射する光の半値幅を20°以上60°以下とすることにより、端数薬剤42に撮影を行うための光を斜めに入射することの効果を、より好適に得て、薬剤による影をより好適に形成することができる。これにより、端数の薬剤数の検出を、より正確に行うことができる。   By setting the half-value width of the light emitted by the oblique illumination device 36 to 20 ° or more and 60 ° or less, the effect of obliquely entering the light for photographing on the fraction drug 42 can be obtained more suitably, The shadow by the medicine can be formed more suitably. Thereby, the detection of the fractional number of medicines can be performed more accurately.

斜方照明装置36には、LED又は蛍光灯等の光源、リフレクタ、及び/又は、照射する光の配向性等を調節するためのレンズ等から構成される、各種形態の照明装置が利用可能である。   As the oblique illumination device 36, various types of illumination devices composed of a light source such as an LED or a fluorescent lamp, a reflector, and / or a lens for adjusting the orientation of irradiated light, etc. can be used. is there.

ここで、斜方照明装置36は、例えば、複数個のLEDを一方向に並べて配列した1列或いは複数列のLEDアレイを有する照明装置、又は蛍光灯を用いる照明装置など、長尺な照明装置であるのが好ましい。特に、斜方照明装置36は、長手方向の長さが、第2載置台24の撮影領域24bにおける斜方照明装置36の長手方向と一致する方向(以下、同方向とも言う)の長さ以上であるのが好ましい。   Here, the oblique illumination device 36 is, for example, a long illumination device such as an illumination device having one or a plurality of LED arrays in which a plurality of LEDs are arranged in one direction, or an illumination device using a fluorescent lamp. Is preferred. In particular, the oblique illumination device 36 has a length in the longitudinal direction equal to or longer than a length (hereinafter also referred to as the same direction) that coincides with the longitudinal direction of the oblique illumination device 36 in the imaging region 24 b of the second mounting table 24. Is preferred.

一般に照明装置が照射する光の強度は、光の拡散方向の端部に行くほど低くなる。そのため、斜方照明装置36を長尺なものにして、かつ、長手方向の長さを撮影領域24bにおける同方向の長さ以上とすることにより、撮影領域24bの全域に適正に光を照射することが可能になる。これにより、撮影領域24bにおける端数薬剤42の載置位置によらず、安定して、端数薬剤42の薬剤数の検出を適正に行うことができる。   In general, the intensity of light emitted from the illumination device decreases as it goes to the end in the light diffusion direction. Therefore, by making the oblique illumination device 36 long and making the length in the longitudinal direction equal to or longer than the length in the same direction in the photographing region 24b, the entire region of the photographing region 24b is appropriately irradiated with light. It becomes possible. Thereby, the detection of the number of drugs of the fraction medicine 42 can be performed stably regardless of the placement position of the fraction medicine 42 in the imaging region 24b.

斜方照明装置36よって端数薬剤42のおもて面に第2載置台24の下方の斜め方向から照明光が照射された状態で、第3撮影装置30によって端数薬剤42が撮影される。第3撮影装置30によって端数薬剤42を撮影して得られる撮影画像を第3画像という。   The fraction medicine 42 is photographed by the third photographing device 30 in a state where the illumination light is irradiated from the oblique direction below the second mounting table 24 onto the front surface of the fraction medicine 42 by the oblique illumination device 36. A photographed image obtained by photographing the fraction medicine 42 with the third photographing device 30 is referred to as a third image.

第1撮影装置26は「第1撮影手段」の一形態に相当する。第2撮影装置28は「第2撮影手段」の一形態に相当する。第3撮影装置30は「第3撮影手段」の一形態に相当する。拡散照明装置32は「拡散照明手段」の一形態に相当する。側方照明装置34は「側方照明手段」の一形態に相当する。斜方照明装置36は「斜方照明手段」の一形態に相当する。   The first imaging device 26 corresponds to one form of “first imaging means”. The second imaging device 28 corresponds to one form of “second imaging means”. The third imaging device 30 corresponds to one form of “third imaging means”. The diffuse illumination device 32 corresponds to one form of “diffuse illumination means”. The side illumination device 34 corresponds to one form of “side illumination means”. The oblique illumination device 36 corresponds to one form of “orthogonal illumination means”.

〈処理装置14の構成〉
図1に示した処理装置14は、スキャナ12を制御する制御装置として機能し、かつ、スキャナ12から得られる撮影画像(第1画像、第2画像及び第3画像)の処理を含む各種演算を行う演算装置として機能する。処理装置14は、撮影制御部56と照明制御部58とを備える。また、処理装置14は、画像取得部60と、画像処理部62と、検出部64と、監査結果判定部66と、辞書データ生成部68と、記憶部70と、表示制御部72と、制御部74と、を備える。
<Configuration of Processing Device 14>
The processing device 14 illustrated in FIG. 1 functions as a control device that controls the scanner 12 and performs various operations including processing of captured images (first image, second image, and third image) obtained from the scanner 12. It functions as a computing device to perform. The processing device 14 includes an imaging control unit 56 and an illumination control unit 58. Further, the processing device 14 includes an image acquisition unit 60, an image processing unit 62, a detection unit 64, an audit result determination unit 66, a dictionary data generation unit 68, a storage unit 70, a display control unit 72, and a control. Part 74.

処理装置14は、例えば、コンピュータのハードウエア及びソフトウエアを用いて構成される。「ソフトウエア」は「プログラム」と同義である。また、処理装置14における処理機能の一部又は全部は、集積回路などによって実現することもできる。   The processing device 14 is configured using, for example, computer hardware and software. “Software” is synonymous with “program”. Further, part or all of the processing functions in the processing device 14 can be realized by an integrated circuit or the like.

撮影制御部56は、第1撮影装置26、第2撮影装置28及び第3撮影装置30のそれぞれの撮影装置の撮影動作を制御する。   The photographing control unit 56 controls the photographing operation of each of the first photographing device 26, the second photographing device 28, and the third photographing device 30.

照明制御部58は、拡散照明装置32、側方照明装置34及び斜方照明装置36のそれぞれの照明装置が発する光照射を制御する。   The illumination control unit 58 controls light irradiation emitted from each of the illuminating device 32, the side illuminating device 34, and the oblique illuminating device 36.

画像取得部60は、第1撮影装置26、第2撮影装置28及び第3撮影装置30のそれぞれによって撮影された撮影画像を取得するインターフェース部である。画像取得部60は、第1撮影装置26が撮影した第1画像、第2撮影装置28が撮影した第2画像及び第3撮影装置30が撮影した第3画像のデータを取り込むデータ入力端子によって構成することができる。また、画像取得部60として、有線又は無線の通信インターフェース部を採用してもよい。   The image acquisition unit 60 is an interface unit that acquires captured images captured by the first imaging device 26, the second imaging device 28, and the third imaging device 30. The image acquisition unit 60 includes a data input terminal that captures data of the first image captured by the first imaging device 26, the second image captured by the second imaging device 28, and the third image captured by the third imaging device 30. can do. Further, a wired or wireless communication interface unit may be employed as the image acquisition unit 60.

処理装置14が画像取得部60を介して第1画像を取得する機能が「第1画像取得機能」の一形態に相当する。処理装置14が画像取得部60を介して第2画像を取得する機能が「第2画像取得機能」の一形態に相当する。処理装置14が画像取得部60を介して第3画像を取得する機能が「第3画像取得機能」の一形態に相当する。   The function in which the processing device 14 acquires the first image via the image acquisition unit 60 corresponds to one form of the “first image acquisition function”. The function in which the processing device 14 acquires the second image via the image acquisition unit 60 corresponds to one form of the “second image acquisition function”. The function in which the processing device 14 acquires the third image via the image acquisition unit 60 corresponds to one form of the “third image acquisition function”.

画像処理部62は、画像取得部60を介して取得した第1画像、第2画像、及び第3画像に対して、色補正、階調補正、ノイズ除去、領域マスク処理などの所要の画像処理を施す。画像処理部62は、処理済の第1画像、第2画像及び第3画像を表示制御部72に供給することができる。表示制御部72は、表示部16に第1画像、第2画像及び第3画像を表示させる。   The image processing unit 62 performs necessary image processing such as color correction, gradation correction, noise removal, and area mask processing on the first image, the second image, and the third image acquired via the image acquisition unit 60. Apply. The image processing unit 62 can supply the processed first image, second image, and third image to the display control unit 72. The display control unit 72 causes the display unit 16 to display the first image, the second image, and the third image.

本実施形態において、表示部16に表示させる画像は、第1画像、第2画像及び第3画像の全てに限定はされず、例えば、第1画像、第2画像及び第3画像のいずれか一枚のみでもよく、或いは、第1画像と第3画像など、適宜、選択された二つの画像を表示してもよい。また、薬剤師などがユーザ操作によって、表示部16に表示させる画像を選択できるようにしてもよい。   In the present embodiment, the image displayed on the display unit 16 is not limited to all of the first image, the second image, and the third image, and for example, any one of the first image, the second image, and the third image. Only two images may be displayed, or two appropriately selected images such as a first image and a third image may be displayed. Moreover, a pharmacist or the like may select an image to be displayed on the display unit 16 by a user operation.

しかしながら、調剤監査を正確に行うためには、第1画像、第2画像及び第3画像の全てを表示するのが好ましく、端数薬剤42の薬剤数を目視確認するために、少なくとも、端数薬剤42のおもて面を撮影した第3画像は、表示するのが好ましい。   However, in order to accurately perform the dispensing audit, it is preferable to display all of the first image, the second image, and the third image. In order to visually confirm the number of drugs in the fraction drug 42, at least the fraction drug 42 is displayed. It is preferable to display the 3rd image which image | photographed the front surface.

また、画像処理部62により画像処理を施した第1画像、第2画像及び第3画像は、検出部64及び記憶部70に供給される。記憶部70は、第1画像、第2画像及び第3画像を対応付けして記憶する。   The first image, the second image, and the third image that have been subjected to image processing by the image processing unit 62 are supplied to the detection unit 64 and the storage unit 70. The storage unit 70 stores the first image, the second image, and the third image in association with each other.

検出部64は、画像処理部62によって所要の画像処理が施された第1画像、第2画像及び第3画像を解析して、シート薬剤41及び端数薬剤42からなる監査対象薬剤の薬剤名及び薬剤数を検出する。検出部64は、薬剤名及び薬剤数の検出に際して薬剤データベース80に登録されている情報を活用する。検出部64の機能について詳細は後述する。   The detection unit 64 analyzes the first image, the second image, and the third image that have been subjected to the required image processing by the image processing unit 62, and the drug name of the audit target drug including the sheet drug 41 and the fraction drug 42 and Detect the number of drugs. The detection unit 64 utilizes information registered in the drug database 80 when detecting the drug name and the number of drugs. Details of the function of the detection unit 64 will be described later.

薬剤データベース80は、調剤薬局が取り扱う薬剤の調剤包装単位(薬剤名及び薬剤数)、薬効、服用タイミング、薬価等の情報が管理されたデータベースである。薬剤データベース80には、薬剤の外観特徴を示す情報と薬剤名とを対応付けた辞書のデータを含めることができる。外観特徴には、形状、刻印、及び色などの要素のうち少なくとも一つの要素が含まれる。   The drug database 80 is a database in which information such as a dispensing package unit (drug name and number of drugs), drug efficacy, timing of medication, and drug price handled by a dispensing pharmacy is managed. The drug database 80 can include dictionary data in which information indicating the appearance characteristics of drugs and drug names are associated with each other. The appearance feature includes at least one of elements such as shape, engraving, and color.

薬剤データベース80は、処理装置14に接続された外部記憶装置に記憶されていてもいし、処理装置14内の記憶装置に記憶されていてもよい。「接続」という用語には、有線接続、無線接続、又はこれらの組み合わせが含まれる。薬剤データベース80は、例えば、調剤薬局が保有しているコンピュータの記憶装置に記憶しておくことができる。例えば、薬剤データベース80は、レセプトコンピュータ82に保持されていてもよい。また、薬剤データベース80は、図示せぬ他のコンピュータに保持されていてもよく、処理装置14がネットワーク経由で薬剤データベース80から情報を取得する形態も可能である。ネットワークは、ローカルエリアネットワーク、若しくはワイドエリアネットワーク、又はこれらの組み合わせとすることができる。   The medicine database 80 may be stored in an external storage device connected to the processing device 14, or may be stored in a storage device in the processing device 14. The term “connection” includes a wired connection, a wireless connection, or a combination thereof. The medicine database 80 can be stored, for example, in a storage device of a computer owned by a dispensing pharmacy. For example, the drug database 80 may be held in the receipt computer 82. Further, the medicine database 80 may be held in another computer (not shown), and a form in which the processing device 14 acquires information from the medicine database 80 via a network is also possible. The network can be a local area network, a wide area network, or a combination thereof.

検出部64は、検出した監査対象薬剤の薬剤名及び薬剤数を、監査結果判定部66と、記憶部70と、表示制御部72とに供給する。   The detection unit 64 supplies the detected drug name and the number of drugs to be audited to the audit result determination unit 66, the storage unit 70, and the display control unit 72.

監査結果判定部66は、検出部64から供給された監査対象薬剤の薬剤名及び薬剤数と、レセプトコンピュータ82から供給された処方箋の情報とを比較して、検出部64が検出した監査対象薬剤の薬剤名及び薬剤数が、処方箋の情報と一致しているか否か判定する。   The audit result determination unit 66 compares the drug name and the number of drugs to be audited supplied from the detection unit 64 with the prescription information supplied from the receipt computer 82, and the auditable drug detected by the detection unit 64 It is determined whether or not the drug name and the number of drugs match the prescription information.

レセプトコンピュータ82には、処方箋の記載に基づく調剤情報が保持されている。薬剤師は、調剤を行う際に、処方箋に記載されている調剤情報を基に、レセプトコンピュータ82に調剤情報を入力する作業を行う。調剤情報には、患者の氏名及び年齢、並びに薬剤名、分量、用法及び用量などが含まれる。なお、レセプトコンピュータ82に入力する薬剤名は、処方箋に記載された薬剤名に限らず、これと同一成分かつ同一薬効を有する後発医薬品の薬剤名であってもよい。   The receipt computer 82 holds dispensing information based on the description of the prescription. When dispensing, the pharmacist performs an operation of inputting the dispensing information to the receipt computer 82 based on the dispensing information described in the prescription. The dispensing information includes the patient's name and age, and the drug name, dosage, usage and dose. Note that the drug name input to the receipt computer 82 is not limited to the drug name described in the prescription, and may be the drug name of a generic drug having the same component and the same medicinal effect.

薬剤名は、薬剤を特定するための各薬剤に固有の呼び名である。薬剤名は「薬剤種別」と同義である。レセプトコンピュータ82に入力された処方箋の情報(調剤情報)を「処方情報」と呼ぶ。監査結果判定部66による判定結果の情報は、表示制御部72を介して表示部16に表示される。   The drug name is a unique name for each drug for identifying the drug. The drug name is synonymous with “drug type”. The prescription information (dispensing information) input to the receipt computer 82 is referred to as “prescription information”. Information on the determination result by the audit result determination unit 66 is displayed on the display unit 16 via the display control unit 72.

表示制御部72は、表示部16に各種情報を表示させるための制御を行う。表示制御部72は、表示部16に対する表示用の信号を生成する処理を行う。   The display control unit 72 performs control for displaying various information on the display unit 16. The display control unit 72 performs a process of generating a display signal for the display unit 16.

表示部16には、例えば、液晶ディスプレイ、有機EL(Organic Electro-Luminescence)ディスプレイなどの種々の表示方式による表示デバイスを用いることができる。処理装置14に対する指示の入力及び/又は設定等の作業は、操作部18と表示部16を利用して行うことができる。表示部16と操作部18の組み合わせは、処理装置14のユーザインターフェースとして機能する。   As the display unit 16, for example, display devices using various display methods such as a liquid crystal display and an organic EL (Organic Electro-Luminescence) display can be used. Operations such as inputting and / or setting instructions to the processing device 14 can be performed using the operation unit 18 and the display unit 16. The combination of the display unit 16 and the operation unit 18 functions as a user interface of the processing device 14.

操作部18は、薬剤師等のオペレータが各種情報を入力する操作を行うため手段である。操作部18には、キーボード、マウス、タッチパネル、トラックボール、又は操作ボタンなど、各種の入力装置を採用することができ、これらの適宜の組み合わせであってもよい。本実施形態では、一例として、表示部16がタッチパネルになっており、表示部16が操作部18を構成する要素となっている。調剤監査装置10を操作するためのボタン及び/又はメニュー、又は、操作指示等が表示部16に表示される。   The operation unit 18 is a means for an operator such as a pharmacist to input various information. Various input devices such as a keyboard, a mouse, a touch panel, a trackball, or operation buttons can be used for the operation unit 18, and an appropriate combination thereof may be used. In the present embodiment, as an example, the display unit 16 is a touch panel, and the display unit 16 is an element constituting the operation unit 18. Buttons and / or menus for operating the dispensing inspection device 10 or operation instructions are displayed on the display unit 16.

また、表示部16は、第1撮影装置26、第2撮影装置28及び第3撮影装置30のそれぞれが撮影した撮影画像、調剤監査の結果、又は、調剤監査装置10の操作などに関する各種の情報等を表示することができる。表示部16は「表示手段」の一形態に相当する。操作部18は「操作手段」の一形態に相当する。   In addition, the display unit 16 displays various types of information related to the captured images captured by the first imaging device 26, the second imaging device 28, and the third imaging device 30, the result of the dispensing audit, or the operation of the dispensing audit device 10. Etc. can be displayed. The display unit 16 corresponds to a form of “display means”. The operation unit 18 corresponds to one form of “operation means”.

辞書データ生成部68は、操作部18から入力された指示にしたがい、又は、プログラムに従って自動的に、第3画像から生成した薬剤の画像と薬剤名とを関連付けて新たな辞書データを生成し、辞書を更新する処理を行う。辞書データ生成部68は「辞書データ生成手段」の一形態に相当する。   The dictionary data generation unit 68 generates new dictionary data by associating the drug image generated from the third image with the drug name automatically according to the instruction input from the operation unit 18 or according to the program, Perform a process to update the dictionary. The dictionary data generation unit 68 corresponds to one form of “dictionary data generation means”.

記憶部70は、処理装置14における各種処理に必要な様々なデータを記憶する。例えば、記憶部70は、画像処理部62から供給された第1画像、第2画像及び第3画像を記憶することができる。また、記憶部70は、検出部64から供給された薬剤名及び薬剤数を、第1画像、第2画像及び第3画像と対応付けて記憶することができる。   The storage unit 70 stores various data necessary for various processes in the processing device 14. For example, the storage unit 70 can store the first image, the second image, and the third image supplied from the image processing unit 62. The storage unit 70 can store the medicine name and the number of medicines supplied from the detection unit 64 in association with the first image, the second image, and the third image.

制御部74は、処理装置14の各部を統括制御する。記憶部70の記憶領域の一部は、制御部74のワークメモリとして利用することができる。   The control unit 74 performs overall control of each unit of the processing device 14. A part of the storage area of the storage unit 70 can be used as a work memory of the control unit 74.

[PTPシートの例]
図5は、調剤包装単位の薬剤シートであるPTPシート90の一例を模式的に示した斜視図である。PTPシート90には複数個(図5の例では10個)の薬剤92が包装されている。1シート当りの薬剤数は、図5に例示の10個に限らず、薬剤の種別によって、7個、14個、20個など様々な形態があり得る。「1シート当りの薬剤数」とは、1枚のPTPシートに含まれる薬剤の個数である。
[Example of PTP sheet]
FIG. 5 is a perspective view schematically showing an example of a PTP sheet 90 which is a medicine sheet in a dispensing packaging unit. A plurality (10 in the example of FIG. 5) of medicines 92 is packaged on the PTP sheet 90. The number of medicines per sheet is not limited to 10 illustrated in FIG. 5, and may be various forms such as 7, 14, 20 depending on the kind of medicine. “Number of medicines per sheet” is the number of medicines contained in one PTP sheet.

PTPシート90は、薬剤92が収容される凸状の収容部94を有する。収容部94は、その縦断面が半円形又は半楕円形若しくは概ねこれらに類する形状を有するドーム状の凸部となっている。収容部94はPTPシート90の片側の面のみに設けられている。PTPシート90において収容部94が設けられている片側の面を、PTPシート90の「おもて面」といい、収容部94と反対側の面を、PTPシート90の「裏面」という。なお、図4には示されていないが、薬剤92自体に薬種を示す文字が印刷又は刻印されている場合がある。   The PTP sheet 90 has a convex accommodation portion 94 in which the medicine 92 is accommodated. The accommodating portion 94 is a dome-shaped convex portion having a semicircular or semi-elliptical longitudinal shape or a shape substantially similar to these. The accommodating portion 94 is provided only on one surface of the PTP sheet 90. One side of the PTP sheet 90 on which the accommodating portion 94 is provided is referred to as the “front surface” of the PTP sheet 90, and the opposite surface to the accommodating portion 94 is referred to as the “back surface” of the PTP sheet 90. Although not shown in FIG. 4, there are cases where characters indicating the drug type are printed or stamped on the drug 92 itself.

図6は、PTPシート90の裏面の例を示した平面図である。PTPシート90の包装体96であるアルミ箔には、薬剤名を示す文字列97と、調剤包装単位を表すコード情報であるバーコード98が記載されている。なお、文字列97及び/又はバーコード98の配置形態は図示の例に限定されず、様々な形態があり得る。図6に示した例では、PTPシート90の裏面の複数箇所に文字列97とバーコード98が記載されているが、文字列97及びバーコード98のうち少なくとも一方が、PTPシート90の裏面の少なくとも一箇所に記載されていればよい。   FIG. 6 is a plan view showing an example of the back surface of the PTP sheet 90. On the aluminum foil that is the package 96 of the PTP sheet 90, a character string 97 indicating a drug name and a barcode 98 that is code information indicating a dispensing package unit are described. The arrangement form of the character string 97 and / or the barcode 98 is not limited to the illustrated example, and there may be various forms. In the example shown in FIG. 6, the character string 97 and the barcode 98 are described at a plurality of positions on the back surface of the PTP sheet 90, but at least one of the character string 97 and the barcode 98 is on the back surface of the PTP sheet 90. It should just be described in at least one place.

[検出部64の構成例]
図7は、検出部64の機能を説明するためのブロック図である。検出部64は、第1薬剤名検出部100と、枚数検出部102と、端数薬剤数検出部104と、総薬剤数検出部106と、第2薬剤名検出部108とを含んで構成される。
[Configuration Example of Detection Unit 64]
FIG. 7 is a block diagram for explaining the function of the detection unit 64. The detection unit 64 includes a first drug name detection unit 100, a number detection unit 102, a fraction drug detection unit 104, a total drug number detection unit 106, and a second drug name detection unit 108. .

第1薬剤名検出部100は、第1撮影装置26が撮影した第1画像110から光学文字認識及びコード認識の少なくとも一方を用いて、シート薬剤41(図2参照)の薬剤名を検出する処理を行う。   The first medicine name detection unit 100 detects the medicine name of the sheet medicine 41 (see FIG. 2) using at least one of optical character recognition and code recognition from the first image 110 photographed by the first photographing device 26. I do.

図8は、第1画像110の一例である。図8に示すように、PTPシートの裏面には、薬剤名を示す文字列114と、調剤包装単位のコードを表すバーコード116が印刷されている。   FIG. 8 is an example of the first image 110. As shown in FIG. 8, on the back surface of the PTP sheet, a character string 114 indicating a medicine name and a barcode 116 indicating a code of a dispensing packaging unit are printed.

図7に示した第1薬剤名検出部100は、第1画像110を解析して、バーコード116を抽出し、バーコード116が抽出できた場合には、バーコード116を認識する。「バーコード116を認識する」とは、バーコードを読み取ることと同義である。なお、画像内からのバーコードの抽出及び認識は、公知の方法で行えばよい。   The first medicine name detection unit 100 illustrated in FIG. 7 analyzes the first image 110, extracts the barcode 116, and recognizes the barcode 116 when the barcode 116 can be extracted. “Recognize the barcode 116” is synonymous with reading the barcode. Note that the extraction and recognition of the barcode from the image may be performed by a known method.

第1薬剤名検出部100は、第1画像110から認識したバーコード116を用いて薬剤データベース80を検索して、認識したバーコード116に対応する調剤包装単位のPTPシートのデータを探し、該当するPTPシートの薬剤名及び1シート当りの薬剤数を検出する。   The first medicine name detection unit 100 searches the medicine database 80 using the barcode 116 recognized from the first image 110, searches for the data of the PTP sheet of the dispensing packaging unit corresponding to the recognized barcode 116, and The drug name of the PTP sheet and the number of drugs per sheet are detected.

なお、本発明の実施に際して、コード認識はバーコードに限定はされず、例えば二次元バーコードなど、公知の各種のコード認識が利用可能である。   In implementing the present invention, code recognition is not limited to barcodes, and various known code recognitions such as two-dimensional barcodes can be used.

第1薬剤名検出部100は、第1画像110からバーコードが抽出できなかった場合には、第1画像110をOCRによって解析して、PTPシートの裏面に表記された文字列114を認識し、薬剤名を検出する。なお、OCRは、公知の方法で行えばよい。   If the barcode cannot be extracted from the first image 110, the first medicine name detection unit 100 analyzes the first image 110 by OCR and recognizes the character string 114 written on the back surface of the PTP sheet. , Detect drug name. In addition, what is necessary is just to perform OCR by a well-known method.

第1薬剤名検出部100がOCRによって薬剤名を検出した場合、第1薬剤名検出部100は、検出した薬剤名を用いて薬剤データベース80を検索して、薬剤名に対応するPTPシートの1シート当りの薬剤数を検出する。   When the first drug name detection unit 100 detects the drug name by OCR, the first drug name detection unit 100 searches the drug database 80 using the detected drug name, and 1 of the PTP sheet corresponding to the drug name Detect the number of drugs per sheet.

第1画像110からの薬剤名を検出する処理は、OCRによる方法とコード認識による方法とを、併用して行ってもよい。また、OCRによる方法とコード認識による方法とを併用した場合において、OCRによる薬剤名と、コード認識による薬剤名とが異なる場合には、エラーを発生するようにしてもよい。第1薬剤名検出部100は「第1薬剤名検出手段」の一形態に相当する。第1薬剤名検出部100が薬剤名を検出する機能が「第1薬剤名検出機能」の一形態に相当する。   The process of detecting the drug name from the first image 110 may be performed using both the OCR method and the code recognition method. Further, when the OCR method and the code recognition method are used in combination, an error may be generated if the drug name by OCR and the drug name by code recognition are different. The first medicine name detection unit 100 corresponds to one form of “first medicine name detection means”. The function of the first drug name detection unit 100 detecting the drug name corresponds to one form of the “first drug name detection function”.

第1薬剤名検出部100が検出した薬剤名の情報は監査結果判定部66に供給される。また、第1薬剤名検出部100が検出した1シート当りの薬剤数の情報、又は操作部18(図1参照)を通じて入力された1シート当りの薬剤数の情報は、総薬剤数検出部106に供給される。   Information on the drug name detected by the first drug name detection unit 100 is supplied to the audit result determination unit 66. The information on the number of drugs per sheet detected by the first drug name detection unit 100 or the information on the number of drugs per sheet input through the operation unit 18 (see FIG. 1) is the total drug number detection unit 106. To be supplied.

なお、例えば、PTPシートのおもて面を下方にして第1載置台20にシート薬剤41が載置された場合など、第1画像110から、バーコード及び/又は文字列を適正に認識できない場合も起こりうる。この場合には、表示部16への表示等によってエラーが生じたことを出力して、シート薬剤41の置き直し、目視での調剤監査、シート薬剤41の確認等を促すようにする。また、認識したバーコードに対応する調剤包装単位のPTPシートが薬剤データベース80に無かった場合にも、同様にエラーを出力する。   Note that, for example, when the sheet medicine 41 is placed on the first placement table 20 with the front surface of the PTP sheet facing down, the barcode and / or the character string cannot be properly recognized from the first image 110. It can happen. In this case, it is output that an error has occurred due to a display on the display unit 16, etc., and the sheet medicine 41 is repositioned to visually check the dispensing medicine and confirm the sheet medicine 41. Similarly, an error is output when there is no PTP sheet for the dispensing packaging unit corresponding to the recognized barcode in the medicine database 80.

枚数検出部102は、第2撮影装置28によって撮影された第2画像120から、シート薬剤41のPTPシートの枚数を検出する。一例として、枚数検出部102は、第2画像120のエッジ検出を行い、さらにハフ変換(Hough変換)を行って直線を求めて、PTPシートの端面を検出する。   The sheet number detecting unit 102 detects the number of PTP sheets of the sheet medicine 41 from the second image 120 photographed by the second photographing device 28. As an example, the sheet number detection unit 102 detects an edge of the second image 120, further performs a Hough transform (Hough transform), obtains a straight line, and detects an end surface of the PTP sheet.

この際において、図4で説明したように、側方照明装置34によって、シート薬剤41の側面、特に端面角部を照明することで、PTPシートの端面の検出精度を向上できる。   At this time, as described with reference to FIG. 4, the side illumination device 34 illuminates the side surface of the sheet medicine 41, particularly the end surface corner, thereby improving the detection accuracy of the end surface of the PTP sheet.

図9及び図10に、第2画像120の例を示す。図9及び図10に示すように、PTPシートの端面において、PTPシートの面方向(図面の横方向)の端部90aは反り返った状態になっている場合が多い。したがって、枚数検出部102は、第2画像120から検出したPTPシートの端面の端部90aにおいて、端面の数を計数することで、PTPシートの枚数を検出することができる。   9 and 10 show examples of the second image 120. FIG. As shown in FIGS. 9 and 10, the end portion 90a in the surface direction (lateral direction in the drawing) of the PTP sheet is often warped on the end surface of the PTP sheet. Therefore, the sheet number detection unit 102 can detect the number of PTP sheets by counting the number of end faces at the end part 90 a of the end face of the PTP sheet detected from the second image 120.

また、図9に示すように、PTPシートの面方向中央部では一つの端面に見える場合でも、端面の端部90aを観察することにより、2枚のPTPシートが裏面を合わせて積層されているのか、1枚のPTPシートなのかを判断して、シート薬剤41が有するPTPシートの枚数を検出することができる。   In addition, as shown in FIG. 9, two PTP sheets are laminated with their back surfaces aligned by observing the end portion 90 a of the end surface even when it appears as one end surface at the center in the surface direction of the PTP sheet. Or a single PTP sheet, the number of PTP sheets included in the sheet medicine 41 can be detected.

また、図10に示すように、2枚のPTPシートが裏面を合わせて積層されている状態であっても、PTPシートの間には隙間90bがある場合が多い。PTPシート間の隙間90bは、影になるため、アルミ箔及び/又は樹脂で形成されるPTPシートの端面に比して、低輝度である。したがって、枚数検出部102は、第2画像120から検出したPTPシートの端面の間に、暗部が存在する場合には、2枚のPTPシートが裏面を合わせて積層された状態になっていると判断することができる。   In addition, as shown in FIG. 10, there are many cases where there is a gap 90b between the PTP sheets even in the state where the two PTP sheets are laminated with their back surfaces aligned. Since the gap 90b between the PTP sheets becomes a shadow, it has lower luminance than the end face of the PTP sheet formed of aluminum foil and / or resin. Therefore, when there is a dark portion between the end surfaces of the PTP sheet detected from the second image 120, the number detection unit 102 is in a state where the two PTP sheets are stacked with the back surface aligned. Judgment can be made.

或いは、裏面を合わせて積層されている2枚のPTPシートが密着している状態であっても、図9に示すように、部分的に離間している場合も多い。この部分的な離間部90cも影になるために、低輝度になる。したがって、枚数検出部102は、第2画像120の中で1枚のPTPシートの端面に見える場合でも、第2画像120から検出した端面の内部に暗部が存在する場合には、2枚のPTPシートが裏面を合わせて積層された状態になっていると判断することができる。   Alternatively, even when two PTP sheets that are laminated with their back surfaces are in close contact with each other, they are often partially separated as shown in FIG. Since this partial separation part 90c also becomes a shadow, it becomes low-intensity. Therefore, even when the number detection unit 102 looks at the end face of one PTP sheet in the second image 120, if the dark part exists inside the end face detected from the second image 120, the number of PTPs is two. It can be determined that the sheet is in a state of being laminated with the back surfaces aligned.

図11及び図12に、シート薬剤41の側面を撮影した第2画像120の別の例を示す。調剤では、処方した薬剤を積層した際の積層体の厚さを薄くするために、2枚のPTPシートのおもて面同士を向かい合わせてPTPシートを積層する場合が多い。また、おもて面を合わせた2枚のPTPシートは、面方向に位置がずれている場合も多い。   11 and 12 show another example of the second image 120 obtained by photographing the side surface of the sheet medicine 41. FIG. In dispensing, in order to reduce the thickness of the laminate when the prescribed medicines are laminated, the PTP sheets are often laminated with the front surfaces of the two PTP sheets facing each other. Also, the two PTP sheets with the front surfaces aligned are often misaligned in the surface direction.

ここで、図11及び図12に示すように、PTPシートが面方向にずれて積層されている場合には、裏面を合わせる2枚のPTPシートでは、一つの端面に見えても、面方向の中央部と端部とで、厚さが異なる。したがって、枚数検出部102は、第2画像120から検出したPTPシートの端面の厚さが、中央部と端部とで異なる場合には、2枚のPTPシートが裏面を合わせて積層された状態になっていると判断することができる。   Here, as shown in FIG. 11 and FIG. 12, when the PTP sheets are stacked so as to be displaced in the surface direction, the two PTP sheets that match the back surface can be seen as one end surface, but the surface direction The thickness is different between the central portion and the end portion. Therefore, when the thickness of the end surface of the PTP sheet detected from the second image 120 is different between the center portion and the end portion, the number detection unit 102 is in a state in which the two PTP sheets are stacked with the back surface aligned. It can be determined that

また2枚のPTPシートの表面を合わせてPTPシートを積層する場合には、検出した端面の間には、薬剤が存在する。ここで、おもて面を合わせて積層したPTPシートの抜けが無い場合には、図11に示すように、第2画像120から検出したPTPシートの端面の間では、薬剤の配列は、各端面間で同様になる。これに対し、PTPシートに抜けが有る場合には、図12に示すように、PTPシートの抜けが有る部分(矢印Cで示した端面間の部分)では、他の端面の間とは薬剤の配列が異なる。   In addition, when the PTP sheets are stacked by combining the surfaces of the two PTP sheets, the drug is present between the detected end faces. Here, when there is no omission of the PTP sheet laminated with the front surfaces aligned, as shown in FIG. 11, between the end faces of the PTP sheet detected from the second image 120, the arrangement of the drugs is The same applies between the end faces. On the other hand, when the PTP sheet is missing, as shown in FIG. 12, the portion where the PTP sheet is missing (the portion between the end surfaces indicated by the arrow C) is different from the gap between the other end surfaces. The sequence is different.

したがって、第2画像120から検出した端面の間を解析して、薬剤の配列が他と異なる端面間が有る場合、すなわち検出した複数の端面間で画像の規則性が崩れた場合には、薬剤の配列が他と異なる端面間においてPTPシートの抜けがあると判断することができる。   Therefore, when the gap between the end faces detected from the second image 120 is analyzed and there is a gap between the end faces where the arrangement of the drugs is different from the other, that is, when the regularity of the image is broken between the detected end faces, It can be determined that there is a missing PTP sheet between the end faces having different arrangements.

枚数検出部102は、上述のように第2画像120を解析して、検出したPTPシートの端面の端部の形状、検出した端面間の濃度、検出した端面内の濃度、検出した端面の厚さ、及び、検出した端面間同士における画像の規則性の少なくとも一つを用いて、シート薬剤41が有するPTPシートの枚数を検出する。枚数検出部102は、検出したPTPシートの枚数の情報を総薬剤数検出部106に供給する。枚数検出部102は「枚数検出手段」の一形態に相当する。枚数検出部102がPTPシートの枚数を検出する機能が「枚数検出機能」の一形態に相当する。   The sheet number detection unit 102 analyzes the second image 120 as described above, detects the shape of the edge of the end face of the PTP sheet, the density between the detected end faces, the density in the detected end face, and the thickness of the detected end face. The number of PTP sheets included in the sheet medicine 41 is detected using at least one of the regularity of the image between the detected end faces. The number detection unit 102 supplies information on the number of detected PTP sheets to the total drug number detection unit 106. The sheet number detection unit 102 corresponds to a form of “sheet number detection means”. The function of detecting the number of PTP sheets by the number detection unit 102 corresponds to one form of the “number detection function”.

なお、枚数検出部102が、第2画像120から、シート薬剤41におけるPTPシートの枚数を適正に検出できなかった場合には、検出部64は表示部16への表示等によってエラーが生じたことを出力して、シート薬剤41の置き直し、目視での調剤監査、シート薬剤41の確認などを促すようにする。   When the number detection unit 102 cannot properly detect the number of PTP sheets in the sheet medicine 41 from the second image 120, the detection unit 64 has caused an error due to display on the display unit 16 or the like. Is output to prompt the user to reposition the sheet medicine 41, visually check the dispensing, check the sheet medicine 41, and the like.

端数薬剤数検出部104は、第3撮影装置30が撮影した第3画像130から、端数薬剤42の薬剤数(端数薬剤数)を検出する。   The fraction drug number detection unit 104 detects the drug number (fraction drug number) of the fraction drug 42 from the third image 130 captured by the third imaging device 30.

図13は、第3画像130の一例を示す図である。図14は、第3画像130から抽出した端数薬剤のシート領域を示す図である。図15は、第3画像130におけるシート領域の部分を切り出した部分拡大図である。図16は、図15に示した画像から明部と暗部を抽出した画像である。図17は、図16に示した画像から薬剤候補の領域を絞り込んだ画像である。図18は、薬剤候補として抽出した画像を回転させた画像である。   FIG. 13 is a diagram illustrating an example of the third image 130. FIG. 14 is a diagram illustrating a sheet region of fractional medicines extracted from the third image 130. FIG. 15 is a partially enlarged view in which a sheet area portion in the third image 130 is cut out. FIG. 16 is an image obtained by extracting a bright part and a dark part from the image shown in FIG. FIG. 17 is an image obtained by narrowing down drug candidate regions from the image shown in FIG. 16. FIG. 18 is an image obtained by rotating an image extracted as a drug candidate.

端数薬剤数検出部104は、図13に示すような第3画像130を解析して、図14に示すように、端数薬剤42のシートの領域を抽出する。シート領域の抽出は、背景差分、エッジ検出、画像(画素)の連続性を用いた抽出等、公知の方法で行えばよい。   The fraction drug number detection unit 104 analyzes the third image 130 as shown in FIG. 13 and extracts the area of the sheet of the fraction drug 42 as shown in FIG. Extraction of the sheet region may be performed by a known method such as background difference, edge detection, or extraction using image (pixel) continuity.

図3で説明したように、斜方照明装置36は、第2載置台24の載置面に対して斜め方向から光りを照射しており、斜方照明装置36の照明光の光軸は、第3撮影装置30の撮影光軸に対して角度を有して斜めに交差している。そのため第3撮影装置30から得られる第3画像130のシート領域には、図15に示すように、薬剤の凸部による影が生じる。また、PTPシートの包装体はアルミ箔等を用いて作成されるため、包装体は斜めに入射した光を第3撮影装置30とは異なる方向に反射するのに対し、薬剤は、光を拡散反射するので、薬剤により反射された光は、第3撮影装置30に入射する。そのため、第3画像130においては、薬剤の部分は明るくなる。   As described in FIG. 3, the oblique illumination device 36 irradiates light from the oblique direction on the mounting surface of the second mounting table 24, and the optical axis of the illumination light of the oblique illumination device 36 is The third imaging device 30 crosses obliquely with an angle with respect to the imaging optical axis. Therefore, as shown in FIG. 15, a shadow due to the convex portion of the medicine is generated in the sheet region of the third image 130 obtained from the third imaging device 30. Moreover, since the packaging body of the PTP sheet is made using aluminum foil or the like, the packaging body reflects obliquely incident light in a direction different from that of the third imaging device 30, whereas the drug diffuses light. Since the light is reflected, the light reflected by the medicine enters the third imaging device 30. Therefore, in the third image 130, the drug portion is brightened.

すなわち、第3画像130では、相対的に明るい薬剤と、薬剤の凸部に起因する影とが隣り合わせて撮影されている。このような画像の特徴に対応して、端数薬剤数検出部104は、図16に示すように、抽出したシート領域において、特徴を有する領域として、画像の明部と暗部とを抽出する。さらに、端数薬剤数検出部104は、図17に示すように、シート領域において、明部と暗部とが隣接している領域を、薬剤候補として検出する。   That is, in the third image 130, a relatively bright medicine and a shadow caused by the convex part of the medicine are photographed next to each other. Corresponding to such image features, as shown in FIG. 16, the fraction drug number detection unit 104 extracts a bright portion and a dark portion of the image as regions having features in the extracted sheet region. Furthermore, as shown in FIG. 17, the fraction drug number detection unit 104 detects an area where a bright part and a dark part are adjacent to each other in the sheet area as a drug candidate.

薬剤候補を検出する処理における検出条件の一つとして、シート領域の端部の近傍には、薬剤は存在し得ない。また、薬剤の大きさを大幅に超えるような異常に大きい明部、又は、薬剤の大きさに比べて異常に小さい明部も、薬剤では無いと判断できる。したがって、明部と暗部とが隣接していても、シート領域の端部近傍に明部が位置する場合、又は、明部の大きさが不適正な場合には、薬剤候補として抽出しない(薬剤候補から除外する)。   As one of the detection conditions in the process of detecting drug candidates, no drug can exist near the edge of the sheet region. Further, it is possible to determine that an abnormally large bright portion that greatly exceeds the size of the drug or a bright portion that is abnormally smaller than the size of the drug is not a drug. Therefore, even if the bright part and the dark part are adjacent to each other, if the bright part is located near the edge of the sheet region, or if the size of the bright part is inappropriate, it is not extracted as a drug candidate (medicine Exclude from candidates).

こうして、適正な位置と大きさの明部である薬剤候補を抽出したら、端数薬剤数検出部104は、図18に示すように、薬剤候補の明部の配列方向が所定の方向となるように、第3画像130を回転する。図18の例では、薬剤候補の明部が図中の水平方向(横方向)に並ぶように第3画像130を回転させている。   In this way, when the drug candidate that is a bright part having an appropriate position and size is extracted, the fraction drug number detection unit 104 causes the arrangement direction of the bright part of the drug candidate to be a predetermined direction as shown in FIG. The third image 130 is rotated. In the example of FIG. 18, the third image 130 is rotated so that the bright portions of drug candidates are arranged in the horizontal direction (lateral direction) in the drawing.

端数薬剤42はPTPシートから切断されたものである。PTPシートは複数個の薬剤が規則的に配列されている。したがって、端数薬剤42においては、切断する前のPTPシートにおける薬剤の配列形態を反映して、薬剤は規則的に配列される。このため、図18のように、所定方向に配列された薬剤候補において、配列の規則性から外れるものは、薬剤ではないと判断することができる。   The fraction drug 42 is cut from the PTP sheet. A plurality of drugs are regularly arranged on the PTP sheet. Therefore, in the fraction drug 42, the drugs are regularly arranged to reflect the arrangement form of the drugs in the PTP sheet before cutting. For this reason, as shown in FIG. 18, it is possible to determine that a drug candidate arranged in a predetermined direction is not a drug if it is out of the regularity of the arrangement.

端数薬剤数検出部104(図7参照)は、薬剤候補の配列方向が所定の方向となるように回転した第3画像130において、規則的な配列から外れる薬剤候補を排除して、端数薬剤42のシート領域から最終的に薬剤の部分を抽出し、端数薬剤42が有する薬剤数を検出する。端数薬剤数検出部104は「端数薬剤数検出手段」の一形態に相当する。端数薬剤数検出部104が端数薬剤42の薬剤数を検出する機能が「端数薬剤数検出機能」の一形態に相当する。   The fraction drug number detection unit 104 (see FIG. 7) excludes drug candidates that deviate from the regular arrangement in the third image 130 rotated so that the arrangement direction of the drug candidates is a predetermined direction, and the fraction drug 42 The part of the medicine is finally extracted from the sheet area, and the number of medicines included in the fraction medicine 42 is detected. The fraction drug number detection unit 104 corresponds to one form of “fraction drug number detection means”. The function in which the fraction medicine number detection unit 104 detects the number of medicines of the fraction medicine 42 corresponds to one form of the “fraction medicine number detection function”.

端数薬剤数検出部104が検出した端数薬剤42の薬剤数(端数薬剤数)は、総薬剤数検出部106に供給される。   The drug number (fraction drug number) of the fraction drug 42 detected by the fraction drug number detection unit 104 is supplied to the total drug number detection unit 106.

なお、端数薬剤数検出部104は、例えば、端数薬剤42が裏面を下方にして第2載置台24に載置された場合など、第3画像130から端数薬剤42の薬剤数を適正に検出できなかった場合には、表示部16への表示等によってエラーが生じたことを出力して、端数薬剤42の置き直し、目視での調剤監査、端数薬剤42の確認等を促すようにする。   The fraction drug number detection unit 104 can appropriately detect the drug number of the fraction drug 42 from the third image 130, for example, when the fraction drug 42 is placed on the second mounting table 24 with the back side down. If not, the fact that an error has occurred is displayed on the display unit 16, etc., and the fractional medicine 42 is repositioned, and the dispensing inspection by visual inspection, confirmation of the fractional medicine 42, etc. are prompted.

総薬剤数検出部106は、枚数検出部102が検出したPTPシートの枚数と、第1薬剤名検出部100を介して取得した1シート当りの薬剤数と、端数薬剤数検出部104が検出した端数薬剤42の薬剤数とから、シート薬剤41及び端数薬剤42からなる監査対象薬剤の薬剤数(総薬剤数)を算出する。なお、1シート当りの薬剤数の情報は、第1薬剤名検出部100から取得する形態に限らず、総薬剤数検出部106が薬剤データベース80から取得してもよい。   The total drug number detection unit 106 detects the number of PTP sheets detected by the number detection unit 102, the number of drugs per sheet acquired through the first drug name detection unit 100, and the fraction drug number detection unit 104 detects From the number of medicines of the fraction medicine 42, the number of medicines (total number of medicines) of the medicine to be audited consisting of the sheet medicine 41 and the fraction medicine 42 is calculated. Note that the information on the number of drugs per sheet is not limited to the form acquired from the first drug name detection unit 100, and the total drug number detection unit 106 may acquire the information from the drug database 80.

総薬剤数検出部106における総薬剤数の算出方法は、例えば、枚数検出部102が検出したPTPシートの枚数をk枚、1シート当りの薬剤数をa個、端数薬剤数検出部104が検出した端数薬剤の薬剤数をb個、総薬剤数をs個とする場合、s=a×k+bの式にしたがって総薬剤数を求めることができる。なお、kは0以上の整数を表す。aは2以上の整数を表す。bは0以上の整数を表す。総薬剤数検出部106にて検出した総薬剤数の情報は監査結果判定部66に供給される。総薬剤数検出部106は「総薬剤数検出手段」の一形態に相当する。総薬剤数検出部106が総薬剤数を検出する機能が「総薬剤数検出機能」の一形態に相当する。   The total drug number detection unit 106 calculates the total drug number, for example, the number of PTP sheets detected by the sheet number detection unit 102 is k, the number of drugs per sheet is a, the fraction drug number detection unit 104 detects When the number of drugs in the fractional drug is b and the total number of drugs is s, the total number of drugs can be obtained according to the formula s = a × k + b. K represents an integer of 0 or more. a represents an integer of 2 or more. b represents an integer of 0 or more. Information on the total number of drugs detected by the total drug number detection unit 106 is supplied to the audit result determination unit 66. The total drug number detection unit 106 corresponds to one form of “total drug number detection means”. The function that the total drug number detection unit 106 detects the total drug number corresponds to one form of the “total drug number detection function”.

第2薬剤名検出部108は、第3撮影装置30が撮影した第3画像130から端数薬剤42の薬剤名を検出する。第2薬剤名検出部108は、第3画像130から薬剤の部分を抽出し、薬剤の画像の特徴と薬剤名とが関連付けられた辞書140を用いて、パターン認識によって端数薬剤42の薬剤名を検出する。辞書140のデータは、図1で説明した記憶部70に記憶されていてもよいし、薬剤データベース80に含まれていてもよい。辞書140のデータの保存場所及びデータ構造については特に制限はない。   The second drug name detection unit 108 detects the drug name of the fraction drug 42 from the third image 130 captured by the third imaging device 30. The second drug name detection unit 108 extracts the drug part from the third image 130, and uses the dictionary 140 in which the feature of the drug image and the drug name are associated with each other to determine the drug name of the fraction drug 42 by pattern recognition. To detect. The data of the dictionary 140 may be stored in the storage unit 70 described with reference to FIG. 1 or may be included in the medicine database 80. There are no particular restrictions on the data storage location and data structure of the dictionary 140.

第2薬剤名検出部108は「第2薬剤名検出手段」の一形態に相当する。第2薬剤名検出部108が端数薬剤42の薬剤名を検出する機能が「第2薬剤名検出機能」の一形態に相当する。第2薬剤名検出部108が検出した薬剤名は監査結果判定部66に供給される。   The second medicine name detection unit 108 corresponds to one form of “second medicine name detection means”. The function in which the second medicine name detection unit 108 detects the medicine name of the fraction medicine 42 corresponds to one form of the “second medicine name detection function”. The drug name detected by the second drug name detection unit 108 is supplied to the audit result determination unit 66.

監査結果判定部66は、第2薬剤名検出部108が検出した薬剤名と第1薬剤名検出部100が検出した薬剤名とが一致しているか否かを判定する。監査結果判定部66には、例えば、NSIPS(登録商標 New Standard Interface of Pharmacy−system Specifications:調剤システム処方IF共有仕様)に準拠するネットワーク経由で、レセプトコンピュータ82から処方箋の情報である処方情報84が供給される。「IF」はInterfaceの略語である。なお、処方箋の情報は、スキャナ等で処方箋を光学的に読み取って、OCRを利用して取得してもよい。   The audit result determination unit 66 determines whether the drug name detected by the second drug name detection unit 108 matches the drug name detected by the first drug name detection unit 100. The audit result determination unit 66 receives prescription information 84, which is prescription information, from the receipt computer 82 via a network conforming to NSIPS (registered trademark New Standard Interface of Pharmacy-system Specifications). Supplied. “IF” is an abbreviation for Interface. The prescription information may be acquired by optically reading the prescription with a scanner or the like and using OCR.

監査結果判定部66は、処方箋の指示に対応した処方情報84における薬剤名及び薬剤数と、第1薬剤名検出部100及び第2薬剤名検出部108のそれぞれが検出した薬剤名及び総薬剤数検出部が検出した総薬剤数とが、一致しているか否かを判定する。監査結果判定部66は「監査結果判定手段」の一形態に相当する。監査結果判定部66の処理機能が「監査結果判定機能」の一形態に相当する。監査結果判定部66によって得られる判定結果の情報は、表示制御部72を介して表示部16に表示される。   The audit result determination unit 66 includes the drug name and the number of drugs in the prescription information 84 corresponding to the prescription instruction, and the drug name and the total number of drugs detected by the first drug name detection unit 100 and the second drug name detection unit 108, respectively. It is determined whether or not the total number of drugs detected by the detection unit matches. The audit result determination unit 66 corresponds to one form of “audit result determination means”. The processing function of the audit result determination unit 66 corresponds to one form of the “audit result determination function”. Information on the determination result obtained by the audit result determination unit 66 is displayed on the display unit 16 via the display control unit 72.

[機械学習による辞書の更新機能について]
本実施形態の調剤監査装置10は、端数薬剤42の薬剤名の検出に用いる辞書140のデータを機械学習によって更新する機能を備えている。すなわち、調剤監査装置10は、第3撮影装置30によって撮影した第3画像から、薬剤の画像領域を抜き出して、その抜き出した画像領域の画像データを学習する機能を有する。調剤監査装置10は、第1薬剤名検出部100が検出した薬剤名と第2薬剤名検出部108が検出した薬剤名とが不一致である場合、又は、第2薬剤名検出部108で検出した薬剤名が間違っている場合に、操作部18からのユーザ操作にしたがい、追加学習を実行し、辞書140の更新を行う。薬剤名が間違っているかどうかの判断は、ユーザのマニュアル操作を参照して行うことができる。操作部18は、薬剤名の検出結果の成否をユーザが指示するための手段として機能する。操作部18は、追加学習を実行させる指示を与える操作手段の役割を果たす。また、ユーザは、操作部18から端数薬剤42の正しい薬剤名の情報を入力することができる。
[Dictionary update function by machine learning]
The dispensing inspection apparatus 10 according to the present embodiment has a function of updating data in the dictionary 140 used for detecting the medicine name of the fraction medicine 42 by machine learning. That is, the dispensing inspection apparatus 10 has a function of extracting a drug image area from the third image captured by the third imaging apparatus 30 and learning image data of the extracted image area. The dispensing inspection device 10 detects the case where the drug name detected by the first drug name detection unit 100 and the drug name detected by the second drug name detection unit 108 do not match, or detected by the second drug name detection unit 108 When the medicine name is wrong, additional learning is executed and the dictionary 140 is updated according to the user operation from the operation unit 18. Whether the medicine name is incorrect can be determined with reference to the user's manual operation. The operation unit 18 functions as a means for the user to indicate success or failure of the detection result of the medicine name. The operation unit 18 serves as an operation unit that gives an instruction to execute additional learning. Further, the user can input information on the correct medicine name of the fraction medicine 42 from the operation unit 18.

図19は、本実施形態に係る調剤監査装置10における辞書の更新機能に関する要部構成を示すブロック図である。図19中、図1から図3で説明した構成と同一の要素には同一の符号を付し、その説明は省略する。図19に示したように、調剤監査装置10は、追加学習判定部150と、学習用画像生成部152と、辞書更新部154と、を備える。   FIG. 19 is a block diagram showing the main configuration of the dictionary update function in the dispensing inspection device 10 according to the present embodiment. In FIG. 19, the same elements as those described in FIGS. 1 to 3 are denoted by the same reference numerals, and the description thereof is omitted. As illustrated in FIG. 19, the dispensing inspection apparatus 10 includes an additional learning determination unit 150, a learning image generation unit 152, and a dictionary update unit 154.

追加学習判定部150、学習用画像生成部152及び辞書更新部154は、図1に示した辞書データ生成部68に含まれる構成とすることができる。   The additional learning determination unit 150, the learning image generation unit 152, and the dictionary update unit 154 can be included in the dictionary data generation unit 68 shown in FIG.

追加学習判定部150は、操作部18からのユーザによる指示入力に基づいて、第3画像130から薬剤の部分の画像領域を抜き出し、その薬剤画像が負事例画像(不正解パターン)であるか正事例画像であるかを判定する。第2薬剤名検出部108が検出した薬剤名に誤りがあり、ユーザが操作部18から正しい薬剤名を入力した場合は、負事例画像と判定される。第2薬剤名検出部108が検出した薬剤名が正しい場合は、正事例画像と判定される。   The additional learning determination unit 150 extracts an image region of the drug portion from the third image 130 based on an instruction input from the operation unit 18 by the user, and determines whether the drug image is a negative case image (incorrect answer pattern). Determine whether it is a case image. If there is an error in the drug name detected by the second drug name detection unit 108 and the user inputs a correct drug name from the operation unit 18, it is determined as a negative case image. When the medicine name detected by the second medicine name detection unit 108 is correct, it is determined as a correct case image.

学習用画像生成部152は、追加学習判定部150により負事例画像であると判定された画像領域の画像に基づいて学習用画像を生成する。学習用画像生成部152は、第3画像130から薬剤の画像領域を抽出して学習用画像を生成する。学習用画像生成部152は、第3画像130から抽出した薬剤の画像領域に対して、回転、拡大、縮小、及びアフィン変換のうち少なくとも一つの画像処理を実施し、様々な画像変動を含む学習用画像を生成することができる。   The learning image generation unit 152 generates a learning image based on the image in the image area determined to be a negative case image by the additional learning determination unit 150. The learning image generation unit 152 extracts a drug image region from the third image 130 and generates a learning image. The learning image generation unit 152 performs at least one image processing among rotation, enlargement, reduction, and affine transformation on the drug image region extracted from the third image 130, and includes various image variations. An image can be generated.

辞書更新部154は、学習用画像生成部152により生成された学習用画像を用いて追加学習を行い、辞書記憶部156に記憶された辞書140(図7参照)を更新する。辞書更新部154は「辞書更新手段」の一形態に相当する。   The dictionary update unit 154 performs additional learning using the learning image generated by the learning image generation unit 152, and updates the dictionary 140 (see FIG. 7) stored in the dictionary storage unit 156. The dictionary update unit 154 corresponds to one form of “dictionary update means”.

辞書記憶部156は、辞書140のデータを記憶する記憶手段である。辞書記憶部156は、図1で説明した記憶部70の記憶領域の一部であってもよいし、外部記憶装置、又はネットワークに接続されたサーバの記憶装置であってもよい。辞書記憶部156は「辞書記憶手段」の一形態に相当する。   The dictionary storage unit 156 is a storage unit that stores data of the dictionary 140. The dictionary storage unit 156 may be a part of the storage area of the storage unit 70 described in FIG. 1, or may be an external storage device or a storage device of a server connected to a network. The dictionary storage unit 156 corresponds to one form of “dictionary storage means”.

[調剤監査装置10の動作の一例]
次に、調剤監査装置10の動作について説明する。図20は、調剤監査装置10による調剤監査方法の手順を示したフローチャートである。図20のフローチャートにおける各工程は、図1で説明した処理装置14のプログラムによって実行される。
[Example of operation of dispensing inspection apparatus 10]
Next, the operation of the dispensing inspection apparatus 10 will be described. FIG. 20 is a flowchart showing the procedure of the dispensing inspection method by the dispensing inspection device 10. Each step in the flowchart of FIG. 20 is executed by the program of the processing device 14 described in FIG.

監査対象薬剤は、通常、シート薬剤41と端数薬剤42を重ねた状態で輪ゴムなどの結束具によって束ねられている。調剤監査の際には、まず、薬剤師等によって、監査対象薬剤から端数薬剤42が外され、シート薬剤41と端数薬剤42に分離される。そして、シート薬剤41が第1載置台20に載置される。シート薬剤41は、第1突き当て部50及び第2突き当て部52によって位置決めされて、PTPシートの裏面を下方にした状態で第1載置台20の撮影領域20bに載置される。また、端数薬剤42が第2載置台24の撮影領域24bに、おもて面を下方にして載置される。   The medicine to be inspected is usually bundled by a binding tool such as a rubber band in a state where the sheet medicine 41 and the fraction medicine 42 are overlapped. In the dispensing audit, first, the pharmacist or the like removes the fraction medicine 42 from the medicine to be audited and separates it into the sheet medicine 41 and the fraction medicine 42. Then, the sheet medicine 41 is placed on the first placement table 20. The sheet medicine 41 is positioned by the first butting portion 50 and the second butting portion 52 and placed on the imaging region 20b of the first placing table 20 with the back surface of the PTP sheet facing downward. In addition, the fraction medicine 42 is placed on the imaging region 24b of the second mounting table 24 with the front surface facing downward.

調剤監査開始の指示が入力されると、照明制御部58の指示によって拡散照明装置32、側方照明装置34及び斜方照明装置36が作動する。拡散照明装置32はシート薬剤41の裏面に、側方照明装置34はシート薬剤41の側面、特に角部に、斜方照明装置36は端数薬剤42のおもて面に斜め方向から、それぞれ、光を照射する。   When an instruction to start dispensing inspection is input, the diffuse lighting device 32, the side lighting device 34, and the oblique lighting device 36 are operated according to an instruction from the lighting control unit 58. The diffuse illumination device 32 is disposed on the back surface of the sheet medicine 41, the side illumination device 34 is disposed on the side surface of the sheet medicine 41, particularly the corner portion, and the oblique illumination device 36 is disposed obliquely on the front surface of the fraction medicine 42, respectively. Irradiate light.

なお、第1撮影装置26、第2撮影装置28及び第3撮影装置30のうち少なくとも一つの撮影装置が撮影した画像から、シート薬剤41及び端数薬剤42の少なくとも一方が第1載置台20及び第2載置台24の少なくとも一方に載置されたことを検出して、自動的に、調剤監査を開始するようにしてもよい。   Note that at least one of the sheet medicine 41 and the fraction medicine 42 is the first mounting table 20 and the first medicine from the image photographed by at least one of the first photographing device 26, the second photographing device 28, and the third photographing device 30. It is also possible to detect dispensing on at least one of the two loading tables 24 and automatically start dispensing inspection.

図20に示した調剤監査処理が開始されると、第1載置台20に載置されたシート薬剤41を第1載置台20の下方から第1撮影装置26によって撮影する(ステップS12)。ステップS12は「第1撮影工程」の一形態に相当する。ステップS12の第1撮影工程により第1画像110が得られる。   When the dispensing inspection process shown in FIG. 20 is started, the sheet medicine 41 placed on the first placement table 20 is photographed by the first photographing device 26 from below the first placement table 20 (step S12). Step S12 corresponds to a form of “first photographing step”. The first image 110 is obtained by the first photographing process in step S12.

また、第1載置台20に載置されたシート薬剤41を第1載置台20の側方から第2撮影装置28によって撮影する(ステップS14)。ステップS14は「第2撮影工程」の一形態に相当する。ステップS14の第2撮影工程により第2画像120が得られる。   Moreover, the sheet | seat chemical | medical agent 41 mounted in the 1st mounting base 20 is image | photographed by the 2nd imaging device 28 from the side of the 1st mounting base 20 (step S14). Step S14 corresponds to a form of “second photographing step”. The second image 120 is obtained by the second photographing process in step S14.

さらに、監査対象薬剤の端数薬剤42が第2載置台24に載置されると、第2載置台24に載置された端数薬剤42を第2載置台24の下方から第3撮影装置30によって撮影する(ステップS16)。ステップS16は「第3撮影工程」の一形態に相当する。ステップS16の第3撮影工程により第3画像130が得られる。   Furthermore, when the fraction medicine 42 of the medicine to be inspected is placed on the second mounting table 24, the fraction medicine 42 placed on the second placing table 24 is moved from below the second placing table 24 by the third imaging device 30. A picture is taken (step S16). Step S <b> 16 corresponds to a form of “third photographing step”. The third image 130 is obtained by the third photographing process in step S16.

第1撮影工程(ステップS12)、第2撮影工程(ステップS14)、及び第3撮影工程(ステップS16)の実施順は、図示の例に限らず、撮影順番に制約はない。第1撮影工程(ステップS12)、第2撮影工程(ステップS14)及び第3撮影工程(ステップS16)は、同時に実施されてもよいし、撮影の順序は前後してよい。   The order of execution of the first photographing step (step S12), the second photographing step (step S14), and the third photographing step (step S16) is not limited to the illustrated example, and the photographing order is not limited. The first shooting step (step S12), the second shooting step (step S14), and the third shooting step (step S16) may be performed simultaneously, and the shooting order may be changed.

第1撮影工程(ステップS12)により第1画像110が取得されると、第1薬剤名検出部100は、第1画像110からシート薬剤41の薬剤名を検出する(ステップS18)。ステップS18は「第1薬剤名検出工程」の一形態に相当する。   When the first image 110 is acquired by the first imaging process (step S12), the first medicine name detection unit 100 detects the medicine name of the sheet medicine 41 from the first image 110 (step S18). Step S18 corresponds to one form of a “first drug name detection step”.

第2撮影工程(ステップS14)により第2画像120が取得されると、枚数検出部102は、第2画像120からシート薬剤41の枚数を検出する(ステップS20)。ステップS20は「枚数検出工程」の一形態に相当する。   When the second image 120 is acquired by the second imaging step (step S14), the number detection unit 102 detects the number of sheet medicines 41 from the second image 120 (step S20). Step S20 corresponds to one form of the “sheet number detection step”.

第3撮影工程(ステップS16)により第3画像130が取得されると、端数薬剤数検出部104は、第3画像130から端数薬剤42の数を検出する(ステップS22)。ステップS22は「端数薬剤数検出工程」の一形態に相当する。   When the third image 130 is acquired by the third imaging step (step S16), the fraction drug number detection unit 104 detects the number of fraction medicines 42 from the third image 130 (step S22). Step S22 corresponds to one form of the “fraction drug number detection step”.

ステップS20によりシート薬剤41の枚数が検出され、かつ、ステップS22により端数薬剤42の数が検出されると、総薬剤数検出部106は、シート薬剤41の枚数と端数薬剤42の数から総薬剤数を検出する(ステップS24)。ステップS24は「総薬剤数検出工程」の一形態に相当する。   When the number of sheet medicines 41 is detected in step S20 and the number of fraction medicines 42 is detected in step S22, the total medicine number detection unit 106 determines the total medicine from the number of sheet medicines 41 and the number of fraction medicines 42. The number is detected (step S24). Step S24 corresponds to one form of the “total drug number detection step”.

また、第3撮影工程(ステップS16)により第3画像130が取得されると、第2薬剤名検出部108は、第3画像から端数薬剤42の薬剤名を検出する(ステップS26)。ステップS26は「第2薬剤名検出工程」の一形態に相当する。第2薬剤名検出工程(ステップS26)では、薬剤の画像の特徴と薬剤名とが関連付けられた辞書140を用いて、第3画像130からパターン認識によって端数薬剤42の薬剤名が検出される。   In addition, when the third image 130 is acquired by the third imaging process (step S16), the second drug name detection unit 108 detects the drug name of the fraction drug 42 from the third image (step S26). Step S26 corresponds to one form of a “second medicine name detection step”. In the second drug name detection step (step S26), the drug name of the fraction drug 42 is detected by pattern recognition from the third image 130 using the dictionary 140 in which the feature of the drug image and the drug name are associated with each other.

なお、ステップS18からステップS28の各工程の順番は、図示の例に限らず、目的の検出が可能な範囲で、適宜工程の順番の入れ換えが可能である。   In addition, the order of each process of step S18 to step S28 is not restricted to the example of illustration, The order of a process can be changed suitably in the range which can detect the objective.

ステップS18によるシート薬剤41の薬剤名の検出と、ステップS24による総薬剤数の検出と、ステップS26による端数薬剤42の薬剤名の検出とが行われた後、監査結果判定部66は、第1薬剤名検出工程(ステップS18)と第2薬剤名検出工程(ステップS26)のそれぞれの工程で検出した薬剤名と、ステップS24で検出した総薬剤数が、処方情報84と一致しているか否かを判定する(ステップS28)。ステップS28は監査結果判定工程の一形態に相当する。   After the detection of the drug name of the sheet drug 41 in step S18, the detection of the total drug number in step S24, and the detection of the drug name of the fraction drug 42 in step S26, the audit result determination unit 66 first Whether the drug name detected in each of the drug name detection process (step S18) and the second drug name detection process (step S26) and the total number of drugs detected in step S24 match the prescription information 84. Is determined (step S28). Step S28 corresponds to one form of the audit result determination step.

ステップS28による判定結果に基づき、表示制御部72は、判定結果の情報を表示部16に表示させる(ステップS30)。ステップS30の判定結果表示工程により、判定結果の情報が表示部16に表示されるため、薬剤師等のユーザに対して調剤の誤りに関する注意を喚起することができる。   Based on the determination result in step S28, the display control unit 72 displays information on the determination result on the display unit 16 (step S30). Since the determination result information is displayed on the display unit 16 by the determination result display step in step S30, it is possible to alert a user such as a pharmacist about a dispensing error.

[第2薬剤名検出工程(ステップS26)における認識処理について]
図21は、第2薬剤名検出工程(ステップS26)において実施される認識処理の手順を示すフローチャートである。本実施形態の場合、図21のフローチャートは第2薬剤名検出部108(図4参照)によって実行される。
[Recognition process in second drug name detection step (step S26)]
FIG. 21 is a flowchart showing the procedure of the recognition process performed in the second medicine name detection step (step S26). In the present embodiment, the flowchart of FIG. 21 is executed by the second medicine name detection unit 108 (see FIG. 4).

図21の認識処理が開始すると、第2薬剤名検出部108は、第1薬剤名検出部100で検出した薬剤名を検索キーにして、辞書記憶部156の辞書140の中から、該当する薬剤名の辞書データを取得する(ステップS42)。辞書データ取得工程(ステップS42)において、例えば、第1薬剤名検出部100が検出した薬剤名を「薬剤名A」とすると、第2薬剤名検出部108は、辞書140の中から「薬剤名A」の薬剤の外観特徴を示す特徴量を取得する。   When the recognition process in FIG. 21 is started, the second medicine name detection unit 108 uses the medicine name detected by the first medicine name detection unit 100 as a search key, and the corresponding medicine from the dictionary 140 of the dictionary storage unit 156. Name dictionary data is acquired (step S42). In the dictionary data acquisition step (step S42), for example, when the drug name detected by the first drug name detection unit 100 is “medicine name A”, the second drug name detection unit 108 reads “drug name” from the dictionary 140. A feature amount indicating the appearance feature of the drug “A” is acquired.

また、第2薬剤名検出部108は、第3撮影装置30によって撮影された第3画像から薬剤領域を抽出する(ステップS44)。そして、第2薬剤名検出部108は、ステップS44の薬剤領域抽出工程において抽出した薬剤領域から薬剤の特徴量を算出する(ステップS46)。ステップS46の特徴量算出工程において算出される特徴量は、パターン判別に有用な画像特徴であり、薬剤の外観特徴を示す画像特徴であればよい。   Further, the second medicine name detection unit 108 extracts a medicine region from the third image photographed by the third photographing device 30 (step S44). Then, the second medicine name detection unit 108 calculates the feature amount of the medicine from the medicine area extracted in the medicine area extraction process of Step S44 (Step S46). The feature amount calculated in the feature amount calculation step in step S46 is an image feature useful for pattern discrimination, and may be an image feature indicating the appearance feature of the medicine.

次いで、第2薬剤名検出部108は、ステップS46において算出した特徴量(第3画像の中の薬剤の特徴量)と、辞書140から取得した「薬剤名A」の特徴量とを比較して、第3画像の中の薬剤の特徴量が「薬剤名A」の特徴量に尤もらしく近いものであるか否かを評価するための評価値である尤度を算出する(ステップS48)。尤度は、画像間の類似の程度を表す指標である。   Next, the second drug name detection unit 108 compares the feature amount calculated in step S46 (the feature amount of the drug in the third image) with the feature amount of “drug name A” acquired from the dictionary 140. The likelihood that is an evaluation value for evaluating whether or not the feature amount of the drug in the third image is likely to be close to the feature amount of “drug name A” is calculated (step S48). Likelihood is an index representing the degree of similarity between images.

画像の特徴量から尤度を算出する方法は、例えば、特開2011−90413号公報に記載のされているような方法を用いることができる。ある画像領域内の特徴量の値がfであれば、その領域が認識物体(所定パターン)の一部である確率をPr(f|I)、非認識物体の一部である確率をPr(f|I)とする。これらの確率Pr(f|I)及びPr(f|I)は、大量の学習用画像を機械学習することにより予め求めておく。対象とする画像領域内の尤度Cは、式(1)のように定義される。すなわち、確率Pr(f|I)と確率Pr(f|I)との比率を算出し、その対数を尤度Cとする。 As a method for calculating the likelihood from the feature amount of the image, for example, a method described in JP 2011-90413 A can be used. If the value of the feature value in a certain image region is f k , the probability that the region is a part of the recognized object (predetermined pattern) is Pr (f k | I + ), and the probability that the region is a part of the unrecognized object. Is Pr (f k | I ). These probabilities Pr (f k | I + ) and Pr (f k | I ) are obtained in advance by machine learning a large amount of learning images. Likelihood C k in the target image region is defined as in equation (1). That is, the ratio between the probability Pr (f k | I + ) and the probability Pr (f k | I ) is calculated, and the logarithm thereof is set as the likelihood C k .

=log[{Pr(f|I)}÷{Pr(f|I)}]
=Ck+(f)−Ck−(f) ・・・・式(1)
ただし、Ck+(f)=log{Pr(f|I)}、
k−(f)=log{Pr(f|I)}
辞書データは、式(1)のCk+(f)の値とCk−(f)の値とを参照できる構成としておく。つまり、機械学習により、Pr(f|I)及びPr(f|I)を求めておき、これらの対数を求めた値が辞書140のデータ中に保持されていればよい。
C k = log [{Pr (f k | I + )} ÷ {Pr (f k | I )}]
= C k + (f k ) −C k− (f k ) (1)
Where C k + (f k ) = log {Pr (f k | I + )},
C k− (f k ) = log {Pr (f k | I )}
The dictionary data has a configuration in which the value of C k + (f k ) and the value of C k− (f k ) in Expression (1) can be referred to. That is, it is only necessary that Pr (f k | I + ) and Pr (f k | I ) are obtained by machine learning and the logarithm of these values is stored in the data of the dictionary 140.

次いで、第2薬剤名検出部108は、ステップS48の尤度算出工程で算出した尤度に基づいて、薬剤名を決定する(ステップS50)。例えば、第2薬剤名検出部108におけるパターン認識の処理では、予め定められている閾値に対して、その閾値以上の尤度を持つ薬剤画像を認識結果として検出する。   Next, the second drug name detection unit 108 determines a drug name based on the likelihood calculated in the likelihood calculation step of step S48 (step S50). For example, in the pattern recognition process in the second medicine name detection unit 108, a medicine image having a likelihood equal to or higher than a predetermined threshold is detected as a recognition result.

第3画像の薬剤の特徴量が、辞書データから取得した「薬剤名A」の特徴量に尤もらしく近い場合(尤度が閾値以上である場合)には、ステップS50の薬剤名決定工程において、第2薬剤名検出部108は、端数薬剤42の薬剤名が「薬剤名A」であると検出する。その一方、ステップS48において算出した尤度が閾値に満たない場合には、第2薬剤名検出部108は、端数薬剤42の薬剤名が「薬剤名A」ではないと判定し、薬剤名の不一致を検出する。   When the feature amount of the drug in the third image is likely to be close to the feature amount of “drug name A” acquired from the dictionary data (when the likelihood is greater than or equal to the threshold value), in the drug name determination step of step S50, The second drug name detection unit 108 detects that the drug name of the fraction drug 42 is “drug name A”. On the other hand, if the likelihood calculated in step S48 is less than the threshold, the second drug name detection unit 108 determines that the drug name of the fraction drug 42 is not “drug name A”, and the drug names do not match. Is detected.

第2薬剤名検出部108が薬剤名の不一致を検出した場合の対応例として、不一致であることを示すエラー情報を第2薬剤名検出部108から監査結果判定部66に供給する構成を採用することができる。また、第2薬剤名検出部108が薬剤名の不一致を検出した場合の他の対応例として、第2薬剤名検出部108は、ステップS46において算出した第3画像の薬剤の特徴量を検索キーとして、辞書140を参照し、辞書140の中から該当する薬剤名を検出する構成を採用することができる。   As a correspondence example when the second drug name detection unit 108 detects a mismatch in the drug name, a configuration is adopted in which error information indicating the mismatch is supplied from the second drug name detection unit 108 to the audit result determination unit 66. be able to. As another example of correspondence when the second drug name detection unit 108 detects a mismatch in drug name, the second drug name detection unit 108 uses the search key to search for the feature amount of the drug in the third image calculated in step S46. As an example, a configuration in which the corresponding drug name is detected from the dictionary 140 by referring to the dictionary 140 can be employed.

こうして、端数薬剤42の撮影画像である第3画像130からパターン認識によって辞書データを基に決定した薬剤名の情報は、監査結果判定部66に供給される。   In this way, the information on the drug name determined based on the dictionary data by pattern recognition from the third image 130 which is a captured image of the fraction drug 42 is supplied to the audit result determination unit 66.

監査結果判定部66は、第2薬剤名検出部108が検出した薬剤名と、第1薬剤名検出部100が検出した薬剤名とが一致しているか否かの判定を行い、かつ、検出した薬剤名及び総薬剤数が処方情報84の薬剤名及び薬剤数と一致するか否かの判定を行う。   The audit result determination unit 66 determines whether or not the drug name detected by the second drug name detection unit 108 matches the drug name detected by the first drug name detection unit 100. It is determined whether the drug name and the total number of drugs match the drug name and the number of drugs in the prescription information 84.

[監査結果の表示画面の例]
図22は、監査結果の表示画面の一例を示す図である。監査結果判定部66は、処方された薬剤の薬剤名及び薬剤数と、検出部64から供給された監査対象薬剤の薬剤名と薬剤数とが一致した場合には、図22に示すような、監査結果が適正であることを示す表示「OK 合格」を行うように、表示制御部72に指示を出す。
[Example of audit result display screen]
FIG. 22 is a diagram illustrating an example of an audit result display screen. When the medicine name and the number of medicines of the prescribed medicine and the medicine name and the medicine number of the medicine to be audited supplied from the detection section 64 match, the audit result determination unit 66, as shown in FIG. The display control unit 72 is instructed to display “OK pass” indicating that the audit result is appropriate.

図23は、監査結果の表示画面の他の例を示す図である。監査結果判定部66は、処方された薬剤の薬剤数に対して、検出部64から供給された監査対象薬剤の薬剤数が多い場合には、図23に示すような、監査結果が不適正で、薬剤の数が多すぎることを示す表示「NG 超過」を行うように、表示制御部72に指示を出す。   FIG. 23 is a diagram illustrating another example of an audit result display screen. When the number of medicines to be audited supplied from the detection unit 64 is larger than the number of medicines prescribed, the audit result determination unit 66 has an inappropriate audit result as shown in FIG. The display control unit 72 is instructed to display “NG excess” indicating that the number of drugs is too large.

図24は、監査結果の表示画面の他の例を示す図である。監査結果判定部66は、処方された薬剤の薬剤数に対して、検出部64から供給された監査対象薬剤の薬剤数が少ない場合には、図24に示すような、監査結果が不適正で、薬剤の数が不足であることを示す表示「NG 不足」を行うように、表示制御部72に指示を出す。図24に例示した表示画面において、『(追加入力?)』の表示は、第3画像130の撮影を2回に分けて行う場合に対応するものである。   FIG. 24 is a diagram illustrating another example of an audit result display screen. When the number of medicines of the audit target medicine supplied from the detection unit 64 is smaller than the number of medicines of the prescribed medicine, the audit result determination part 66 has an inappropriate audit result as shown in FIG. The display control unit 72 is instructed to display “NG shortage” indicating that the number of medicines is short. In the display screen illustrated in FIG. 24, “(additional input?)” Is displayed when the third image 130 is shot in two steps.

調剤において、例えば、薬剤数が21錠の場合には、10錠のPTPシートを2枚と、1錠の端数のような薬の出し方はせずに、例えば、1枚のPTPシートと5錠の端数と6錠の端数のような薬の出し方をする。1錠の端数を提供しないことにより、薬剤を包装体から取り出さずに(包装体ごと)飲んでしまう誤飲を予防している。このような場合には、二つの端数薬剤42を撮影する必要がある。図24に示す『(追加入力?)』の表示は、二つの端数薬剤42を撮影する場合に対応するもので、端数の追加入力、すなわち第3画像130の追加撮影の有無を問いかけて、確認するため表示である。   In dispensing, for example, when the number of drugs is 21 tablets, there are 2 PTP sheets of 10 tablets and 5 PTS sheets and 5 How to put out medicines like the fraction of tablets and the fraction of 6 tablets. By not providing the fraction of one tablet, accidental ingestion that prevents the medicine from being taken out of the package (whole package) is prevented. In such a case, it is necessary to photograph two fraction drugs 42. The display of “(additional input?)” Shown in FIG. 24 corresponds to the case where two fraction medicines 42 are imaged, and asks whether or not additional input of fractions, that is, whether or not the third image 130 is additionally imaged. To display.

本実施形態に係る調剤監査装置10においては、端数薬剤42が二つある場合には、個々の端数薬剤42に対応して2回に分けて第3画像130の撮影を行ってもよく、或いは、二つの端数薬剤42を第2載置台に載置して、1枚の第3画像130に二つの端数薬剤42を撮影して、前述のように端数の薬剤数を検出してもよい。   In the dispensing inspection apparatus 10 according to the present embodiment, when there are two fractional medicines 42, the third image 130 may be taken in two steps corresponding to each fractional medicine 42, or Alternatively, the two fraction medicines 42 may be placed on the second mounting table, the two fraction medicines 42 may be photographed on one third image 130, and the fraction medicine number may be detected as described above.

調剤監査装置10においては、二つの端数薬剤42を同時に撮影する場合には、薬剤師等が、その旨を操作部18によって入力できるようにしてもよい。或いは、端数薬剤42が一つであるか、二つの端数薬剤42を1回で撮影するか、二つの端数薬剤42を2回に分けて撮影するかを、薬剤師等が操作部18によって入力できるようにしてもよい。   In the dispensing inspection device 10, when two fractional medicines 42 are photographed simultaneously, a pharmacist or the like may be able to input the fact through the operation unit 18. Alternatively, the pharmacist or the like can input by the operation unit 18 whether the fractional medicine 42 is one, the two fractional medicines 42 are photographed at one time, or the two fractional medicines 42 are photographed at two times. You may do it.

また、監査結果判定部66は、処方された薬剤の薬剤名と、検出部64から供給された監査対象薬剤の薬剤名とが異なる場合には、薬剤名が異なることを示す表示を行うように、表示制御部72に指示を出す。さらに、監査結果判定部66は、第1薬剤名検出部100が検出した薬剤名と第2薬剤名検出部108が検出した薬剤名が異なる場合には、両者の薬剤名が異なることを示す表示を行うように、表示制御部72に指示を出す。この場合は、第1薬剤名検出部100が検出した薬剤名と第2薬剤名検出部108が検出した薬剤名を一つの表示画面に並べて表示させることが好ましい。   In addition, when the medicine name of the prescribed medicine and the medicine name of the medicine to be audited supplied from the detection section 64 are different, the audit result determination unit 66 performs a display indicating that the medicine name is different. The display control unit 72 is instructed. Further, when the drug name detected by the first drug name detection unit 100 and the drug name detected by the second drug name detection unit 108 are different, the audit result determination unit 66 displays that the two drug names are different. The display control unit 72 is instructed to perform In this case, it is preferable that the drug name detected by the first drug name detection unit 100 and the drug name detected by the second drug name detection unit 108 are displayed side by side on one display screen.

また、監査結果判定部66は、第1薬剤名検出部100及び第2薬剤名検出部108の少なくとも一方が薬剤名を検出できなかった場合には、薬剤名が検出できなかったことを示す表示を行うように、表示制御部72に指示を出す。表示制御部72は、判定結果に応じた表示を表示部16に行わせる。   The audit result determination unit 66 displays that the drug name could not be detected when at least one of the first drug name detection unit 100 and the second drug name detection unit 108 could not detect the drug name. The display control unit 72 is instructed to perform The display control unit 72 causes the display unit 16 to perform display according to the determination result.

例えば、第2薬剤名検出部108が、第1薬剤名検出部100で検出した薬剤名と一致する薬剤名を検出できなかった場合は、表示部16に「端数のシートが違う薬剤ではありませんか?確認して下さい。」又は「端数のシートを取り違えていませんか?」などといった警告メッセージを表示させる。   For example, if the second drug name detection unit 108 cannot detect a drug name that matches the drug name detected by the first drug name detection unit 100, the display unit 16 indicates “Is it a drug with a different fractional sheet? "Check it?" Or "Would you have mistaken the fractional sheet?"

ユーザである薬剤師等が目視でシート薬剤41と、端数薬剤42のそれぞれの薬剤名を確認し、両者の薬剤名が一致していたにもかかわらず、調剤監査装置10が「不一致」の判定を下していた場合には、操作部18からユーザによる正誤判断を入力して、辞書140のデータを修正する。   A pharmacist or the like who is a user visually confirms the drug names of the sheet drug 41 and the fraction drug 42, and the dispensing inspecting apparatus 10 determines “mismatch” even though both drug names match. If the answer is yes, correct / wrong judgment by the user is input from the operation unit 18 to correct the data in the dictionary 140.

すなわち、第2薬剤名検出部108が検出した薬剤名(つまり、端数薬剤42の薬剤名)に誤りがある場合、又は、第2薬剤名検出部108が薬剤名を検出できなかった場合には、追加学習により辞書140を更新する処理が行われる。   That is, when there is an error in the drug name detected by the second drug name detection unit 108 (that is, the drug name of the fraction drug 42), or when the second drug name detection unit 108 cannot detect the drug name. Then, a process of updating the dictionary 140 by additional learning is performed.

また、例えば、処方すべき薬剤が「薬剤名A」であって、第2薬剤名検出部108が検出した薬剤名が「薬剤名B」であった場合、調剤監査装置10は、表示部16の表示を通じて、ユーザに対し「薬が間違っている」と知らせる。この場合、ユーザが目視で第2載置台24に載せた端数薬剤42の薬剤名を確認し、端数薬剤42の薬剤名が「薬剤名A」の場合(実際には間違っていない場合)は、第2薬剤名検出部108による薬剤名の検出が間違っていたことになるため、ユーザは、操作部18からのマニュアル操作によって第2載置台24上の端数薬剤42の薬剤名を「薬剤名A」と入力する。操作部18からの正しい薬剤名の入力に基づき、調剤監査装置10は、追加学習により辞書140を更新する処理を実行する。   For example, when the medicine to be prescribed is “medicine name A” and the medicine name detected by the second medicine name detecting unit 108 is “medicine name B”, the dispensing inspection apparatus 10 displays the display unit 16. Through the display, the user is informed that “medicine is wrong”. In this case, when the user visually confirms the drug name of the fraction drug 42 placed on the second mounting table 24 and the drug name of the fraction drug 42 is “medicine name A” (in fact, it is not wrong) Since the detection of the drug name by the second drug name detection unit 108 is incorrect, the user can change the drug name of the fraction drug 42 on the second mounting table 24 by the manual operation from the operation unit 18. ". Based on the correct drug name input from the operation unit 18, the dispensing inspection apparatus 10 executes a process of updating the dictionary 140 by additional learning.

[辞書について]
辞書140は、予め用意されたものであってもよいし、本実施形態の調剤監査装置10によって自動収集された第3画像から辞書データを構築してもよく、自動収集された第3画像が規定枚数を超えた場合に、第2薬剤名検出部108による薬剤名の検出機能を有効にしてもよい。
[About dictionary]
The dictionary 140 may be prepared in advance, or the dictionary data may be constructed from the third image automatically collected by the dispensing inspection apparatus 10 of the present embodiment. When the prescribed number is exceeded, the drug name detection function by the second drug name detection unit 108 may be validated.

[追加学習による辞書の更新処理について]
図25は、追加学習による辞書の更新処理の手順を示したフローチャートである。辞書の更新処理は、学習用画像取得工程(ステップS62)と、特徴量算出工程(ステップSS64)と、確率分布更新工程(ステップS66)と、辞書更新工程(ステップS68)と、を含む。
[Dictionary update process by additional learning]
FIG. 25 is a flowchart showing a procedure of dictionary update processing by additional learning. The dictionary update process includes a learning image acquisition step (step S62), a feature amount calculation step (step SS64), a probability distribution update step (step S66), and a dictionary update step (step S68).

追加学習の処理が開始すると、辞書更新部154は、学習用画像生成部152により生成された負事例画像又は正事例画像を学習用画像として取得する(ステップS62)。そして、辞書更新部154は、取得した学習用画像から特徴量を算出する(ステップS64)。   When the additional learning process is started, the dictionary updating unit 154 acquires the negative case image or the positive case image generated by the learning image generation unit 152 as a learning image (step S62). Then, the dictionary update unit 154 calculates a feature amount from the acquired learning image (step S64).

次いで、辞書更新部154は、ステップS64で算出した特徴量に基づき、確率分布を更新する(ステップS66)。ここでの確率分布とは、先に説明した確率Pr(f|I)及び確率Pr(f|I)を指す。 Next, the dictionary updating unit 154 updates the probability distribution based on the feature amount calculated in step S64 (step S66). The probability distribution here refers to the probability Pr (f k | I + ) and the probability Pr (f k | I ) described above.

そして、辞書更新部154は、ステップS66の確率分布の更新に伴い、薬剤の画像と薬剤名の対応関係を規定する辞書を更新する(ステップS68)。   Then, the dictionary updating unit 154 updates the dictionary that defines the correspondence between the medicine image and the medicine name in accordance with the update of the probability distribution in Step S66 (Step S68).

このように、第1薬剤名検出部100で検出した薬剤名と、第3画像から抽出した薬剤の外観特徴とを紐付けした辞書データを生成し、辞書を更新する。追加学習によって辞書を更新する機能を搭載することで、調剤監査装置10の判定の信頼性を向上させることができる。   In this manner, dictionary data in which the drug name detected by the first drug name detection unit 100 is associated with the appearance characteristics of the drug extracted from the third image is generated, and the dictionary is updated. By installing the function of updating the dictionary by additional learning, the reliability of determination by the dispensing inspection apparatus 10 can be improved.

[本実施形態の利点]
(1)本実施形態の調剤監査装置10によれば、調剤された監査対象薬剤から端数薬剤42を外し、PTPシートの裏面を下方にしてシート薬剤41を第1載置台20に戴置する一方、端数薬剤42のおもて面を下方にして端数薬剤42を第2載置台24に戴置して、監査開始の指示を出すだけで、若しくは自動的に、端数の薬剤の薬剤数も含めて、処方した監査対象薬剤の薬剤名及び薬剤数が適正か否かの監査を行うことができる。
[Advantages of this embodiment]
(1) According to the dispensing inspection apparatus 10 of the present embodiment, the fraction medicine 42 is removed from the dispensed medicine to be audited, and the sheet medicine 41 is placed on the first mounting table 20 with the back surface of the PTP sheet facing downward. The fraction medicine 42 is placed on the second mounting table 24 with the front face of the fraction medicine 42 facing down, and an instruction to start an audit is given or automatically, including the medicine number of the fraction medicine. Thus, it is possible to audit whether or not the prescribed drug name and number of drugs to be audited are appropriate.

(2)本実施形態の調剤監査装置10によれば、シート薬剤41の薬剤名と端数薬剤42の薬剤名が一致しているか否かを判定することができる。   (2) According to the dispensing inspection apparatus 10 of the present embodiment, it can be determined whether or not the drug name of the sheet drug 41 and the drug name of the fraction drug 42 match.

(3)本実施形態の調剤監査装置10によれば、端数薬剤42の薬剤名を正しく検出することができなかった場合に、第3画像を追加学習して、第1画像から検出した薬剤名と第3画像から抽出した薬剤の画像とを関連付けた辞書データを生成し、辞書140を更新することができる。これにより、端数薬剤42の薬剤名の検出精度を向上させることができる。   (3) According to the dispensing inspection apparatus 10 of the present embodiment, when the drug name of the fraction drug 42 cannot be correctly detected, the drug name detected from the first image by additionally learning the third image Dictionary data in which the image of the medicine extracted from the third image is associated, and the dictionary 140 can be updated. Thereby, the detection accuracy of the medicine name of the fraction medicine 42 can be improved.

(4)本実施形態の調剤監査装置10によれば、監査対象薬剤のPTPシートの枚数に応じて色分けした輪ゴム等の結束具を用いる必要が無い。加えて、調剤監査装置10は、監査対象薬剤の画像を撮影して、画像解析によってPTPシートの枚数を検出するので、監査対象薬剤の厚さからPTPシートの枚数を求める場合とは異なり、予め、PTPシート毎に厚さを知見しておく必要も無い。   (4) According to the dispensing inspection apparatus 10 of the present embodiment, there is no need to use a binding tool such as a rubber band that is color-coded according to the number of PTP sheets of the medicine to be audited. In addition, since the dispensing inspection apparatus 10 captures an image of the auditable drug and detects the number of PTP sheets by image analysis, unlike the case of obtaining the number of PTP sheets from the thickness of the auditable drug, It is not necessary to know the thickness for each PTP sheet.

(5)本実施形態の調剤監査装置10によれば、調剤薬局等における薬剤師による調剤監査の負担を、大幅に低減できる。   (5) According to the dispensing inspection apparatus 10 of the present embodiment, the burden of dispensing inspection by a pharmacist at a dispensing pharmacy or the like can be significantly reduced.

(6)本実施形態の調剤監査装置10によれば、第3撮影装置30によって実際に撮影された第3画像を基に辞書140のデータを簡便に更新していくことができ、判定の信頼性を高めていくことができる。   (6) According to the dispensing inspection apparatus 10 of the present embodiment, the data in the dictionary 140 can be easily updated based on the third image actually captured by the third imaging apparatus 30, and the determination reliability You can improve your sex.

(7)本実施形態の調剤監査装置10は、好ましい態様として、撮影した第1画像、第2画像及び第3画像、薬剤名及び薬剤数、並びに、監査結果(判定結果)を、対応付けして、記憶部70に記憶している。このように、監査対象薬剤の画像、薬剤名及び薬剤の数、監査結果を対応付け(紐付け)して記憶しておくことにより、患者に提供した薬剤を、後日、確認する必要が生じた場合にも、画像、薬剤名及び薬剤の数、監査結果を示して、好適に対応できる。   (7) The dispensing inspection device 10 of the present embodiment associates the captured first image, second image and third image, drug name and number of drugs, and audit result (determination result) as a preferred mode. And stored in the storage unit 70. In this way, it is necessary to confirm the drug provided to the patient at a later date by storing the image of the drug to be audited, the name of the drug, the number of drugs, and the audit result in association (linked). Even in this case, the image, the name of the medicine, the number of medicines, and the audit result can be shown to cope with it appropriately.

[変形例1]
監査対象薬剤の画像、薬剤名及び薬剤数、監査結果等の情報は、調剤監査装置10が有する記憶部70に代えて、或いは、調剤監査装置10が有する記憶部70に加えて、ローカルなパーソナルコンピュータ、又はネットワーク上のクラウドサーバ等に記憶(保存)してもよい。
[Modification 1]
Information such as the image of the medicine to be audited, the name of the medicine, the number of medicines, and the audit result is stored in the local personal computer instead of the storage unit 70 included in the dispensing inspection device 10 or in addition to the storage unit 70 included in the dispensing inspection device 10. It may be stored (saved) in a computer or a cloud server on a network.

なお、監査対象薬剤を撮影した画像、薬剤名及び薬剤数、並びに、監査結果を全て記憶するのに限定はされない。例えば、監査結果と画像のみを記憶するものでもよく、薬剤名及び薬剤数と監査結果のみを記憶するものでもよく、薬剤名及び薬剤数と画像のみを記憶するものでもよい。或いは、監査対象薬剤を撮影した画像、薬剤名及び薬剤数、並びに、監査結果のいずれの情報も記憶しなくてもよい。   In addition, it is not limited to memorize | storing all the image which image | photographed the chemical | medical agent to be audited, a chemical | medical agent name and the number of chemical | medical agents, and an audit result. For example, only an audit result and an image may be stored, only a drug name, the number of drugs, and an audit result may be stored, or only a drug name, the number of drugs, and an image may be stored. Alternatively, it is not necessary to store any information such as an image obtained by photographing the medicine to be audited, the medicine name and the number of medicines, and the audit result.

[変形例2]
第1撮影装置26、第2撮影装置28、及び第3撮影装置30のそれぞれの撮影装置の設置位置については、各撮影装置の役割を果たしうる範囲で様々な形態があり得る。第1撮影装置26は、PTPシートの裏面に付されたバーコード及び/又は文字列を光学的に読み取ることができればよい。第2撮影装置28は、シート薬剤41の側方から、好ましくは、PTPシートの積層方向に直交する方向(PTPシートの面方向)からシート薬剤41を撮影できればよい。第3撮影装置30は、端数薬剤42のおもて面(薬剤側)を撮影できればよい。撮影時におけるシート薬剤41と端数薬剤42のそれぞれの向き又は姿勢によっては、第1撮影装置26を第1載置台20の載置面20aよりも上方に設置する形態、第2撮影装置28を第1載置台20の載置面20aよりも下方に設置する形態、若しくは、第3撮影装置30を第2載置台24の載置面よりも上方に設置する形態などがあり得る。
[Modification 2]
The installation positions of the first imaging device 26, the second imaging device 28, and the third imaging device 30 may have various forms as long as each imaging device can function. The 1st imaging device 26 should just be able to optically read the barcode and / or character string attached | subjected to the back surface of the PTP sheet. The second imaging device 28 only needs to be able to image the sheet drug 41 from the side of the sheet drug 41, preferably from a direction orthogonal to the stacking direction of the PTP sheets (surface direction of the PTP sheet). The 3rd imaging device 30 should just image the front surface (drug | medicine side) of the fraction medicine 42. FIG. Depending on the orientation or posture of each of the sheet medicine 41 and the fraction medicine 42 at the time of photographing, the first photographing device 26 is installed above the placement surface 20a of the first placement table 20, and the second photographing device 28 is a second one. There may be a mode in which the first mounting table 20 is installed below the mounting surface 20 a or a mode in which the third imaging device 30 is installed above the mounting surface of the second mounting table 24.

[変形例3]
図1では、処理装置14の機能を一台のコンピュータで実現する例を述べたが、処理装置14の機能を複数台のコンピュータで機能分担して実現する形態とすることも可能である。また、図1で説明したスキャナ12と処理装置14を一つの筐体にまとめた一体型の調剤監査装置とする形態も可能である。
[Modification 3]
In FIG. 1, the example in which the function of the processing device 14 is realized by a single computer has been described. However, the function of the processing device 14 may be realized by sharing the function among a plurality of computers. In addition, a configuration in which the scanner 12 and the processing device 14 described in FIG. 1 are integrated into a single housing to be an integrated dispensing inspection device is also possible.

[変形例4]
上述の実施形態における操作部18は、第1薬剤名検出部100が検出した薬剤名と第2薬剤名検出部108が検出した薬剤名とが不一致である場合に、追加学習を実行させる指示を与える操作手段として機能し、かつ、第2薬剤名検出手段が検出した薬剤名が間違っている場合に、追加学習を実行させる指示を与える操作手段として機能している。
[Modification 4]
The operation unit 18 in the above-described embodiment gives an instruction to perform additional learning when the drug name detected by the first drug name detection unit 100 and the drug name detected by the second drug name detection unit 108 do not match. It functions as an operating means that gives an instruction to execute additional learning when the medicine name detected by the second medicine name detecting means is incorrect.

しかし、発明の実施に際しては、第1薬剤名検出部100が検出した薬剤名と第2薬剤名検出部108が検出した薬剤名とが不一致である場合に、追加学習を実行させる指示を与える操作手段、及び、第2薬剤名検出手段が検出した薬剤名が間違っている場合に、追加学習を実行させる指示を与える操作手段の少なくとも一方を備える形態も可能である。   However, when carrying out the invention, an operation for giving an instruction to execute additional learning when the drug name detected by the first drug name detection unit 100 and the drug name detected by the second drug name detection unit 108 do not match. A configuration in which at least one of a means and an instruction to execute additional learning when the medicine name detected by the means and the second medicine name detection means is wrong is also possible.

また、第1薬剤名検出部100が検出した薬剤名と第2薬剤名検出部108が検出した薬剤名とが不一致である場合に、追加学習を実行させる指示を与える操作手段(第1操作手段)と、第2薬剤名検出手段が検出した薬剤名が間違っている場合に、追加学習を実行させる指示を与える操作手段(第2操作手段)とを別々に具備する形態も可能である。   In addition, when the drug name detected by the first drug name detection unit 100 and the drug name detected by the second drug name detection unit 108 do not match, an operation unit that gives an instruction to perform additional learning (first operation unit) ) And an operation means (second operation means) for giving an instruction to execute additional learning when the drug name detected by the second drug name detection means is wrong is also possible.

[他の実施形態に係る調剤監査システムの構成例]
図26は、他の実施形態に係る調剤監査システム200の構成例を示すブロック図である。図26中、図1から図25で説明した実施形態の構成と同一又は類似する要素には同一の符号を付し、その説明は省略する。
[Configuration Example of Dispensing Audit System According to Other Embodiment]
FIG. 26 is a block diagram illustrating a configuration example of a dispensing inspection system 200 according to another embodiment. In FIG. 26, elements that are the same as or similar to the configuration of the embodiment described in FIGS. 1 to 25 are given the same reference numerals, and descriptions thereof are omitted.

図26に示す調剤監査システム200は、サーバ202と、調剤監査装置10Aと、レセプトコンピュータ82Aとを備える。サーバ202は、辞書記憶部156を有しており、辞書記憶部156には辞書140(図7参照)のデータが記憶される。また、サーバ202は、図1で説明した辞書データ生成部68の処理機能を備える構成とすることができる。サーバ202は、ネットワーク204に接続されている。ネットワーク204は、電気通信回線を意味し、例えば、インターネットなどのワイドエリアネットワークとすることができる。   A dispensing inspection system 200 shown in FIG. 26 includes a server 202, a dispensing inspection apparatus 10A, and a receipt computer 82A. The server 202 has a dictionary storage unit 156, and the dictionary storage unit 156 stores data of the dictionary 140 (see FIG. 7). Further, the server 202 can be configured to include the processing function of the dictionary data generation unit 68 described with reference to FIG. The server 202 is connected to the network 204. The network 204 means a telecommunication line and can be a wide area network such as the Internet, for example.

調剤監査装置10Aの構成は、図1で説明した調剤監査装置10の構成と同様である。調剤監査装置10Aの処理装置14は通信部210を有する。通信部210は、第1通信回線212Aを通じてデータの送受信を行う通信インターフェース部である。処理装置14は通信部210を介して第1通信回線212Aに接続される。第1通信回線212Aは、例えば、調剤薬局又は病院の構内に構築されたローカルエリアネットワークとすることができる。通信部210は「通信手段」の一形態に相当する。   The configuration of the dispensing inspection device 10A is the same as the configuration of the dispensing inspection device 10 described in FIG. The processing device 14 of the dispensing inspection device 10 </ b> A has a communication unit 210. The communication unit 210 is a communication interface unit that transmits and receives data through the first communication line 212A. The processing device 14 is connected to the first communication line 212A via the communication unit 210. The first communication line 212A can be, for example, a local area network constructed in a dispensing pharmacy or hospital premises. The communication unit 210 corresponds to a form of “communication means”.

第1通信回線212Aにはルータ214Aが接続されている。ルータ214Aは、第1通信回線212Aと、ネットワーク204との間の接続を中継する機器である。第1通信回線212Aは、ルータ214Aを介してネットワーク204に接続される。また、第1通信回線212Aには、レセプトコンピュータ82Aが接続されている。   A router 214A is connected to the first communication line 212A. The router 214A is a device that relays the connection between the first communication line 212A and the network 204. The first communication line 212A is connected to the network 204 via the router 214A. A receipt computer 82A is connected to the first communication line 212A.

調剤監査装置10Aは、第1通信回線212Aを介してレセプトコンピュータ82Aから処方情報84(図7参照)を取得することができる。調剤監査装置10Aは、第1通信回線212A及びネットワーク204を介してサーバ202と接続される。調剤監査装置10Aのスキャナ12で取得された第3画像は、サーバ202に送られ、サーバ202にて、辞書140の更新処理が行われる。   The dispensing inspection apparatus 10A can acquire the prescription information 84 (see FIG. 7) from the receipt computer 82A via the first communication line 212A. The dispensing inspection apparatus 10A is connected to the server 202 via the first communication line 212A and the network 204. The third image acquired by the scanner 12 of the dispensing auditing apparatus 10A is sent to the server 202, and the server 202 updates the dictionary 140.

調剤監査システム200は、複数台の調剤監査装置10A、10Bを含むことができる。図17では、図示の便宜上、2台の調剤監査装置10A、10Bを図示したが、2台以上、任意の台数の調剤監査装置10を含む構成とすることができる。   The dispensing audit system 200 can include a plurality of dispensing audit apparatuses 10A and 10B. In FIG. 17, for convenience of illustration, two dispensing inspection apparatuses 10 </ b> A and 10 </ b> B are illustrated, but two or more dispensing inspection apparatuses 10 may be included.

調剤監査装置10Bの構成は、調剤監査装置10Aの構成と同様である。調剤監査装置10Bは、第2通信回線212Bと接続されている。第2通信回線212Bは、第1通信回線212Aとは異なる別の調剤薬局又は病院の構内に構築されたローカルエリアネットワークとすることができる。第2通信回線212Bは、ルータ214Bを介してネットワーク204に接続される。第2通信回線212Bには、レセプトコンピュータ82Bが接続されている。   The configuration of the dispensing inspection device 10B is the same as the configuration of the dispensing inspection device 10A. The dispensing inspection device 10B is connected to the second communication line 212B. The second communication line 212B can be a local area network constructed in another dispensing pharmacy or hospital premises different from the first communication line 212A. The second communication line 212B is connected to the network 204 via the router 214B. A receipt computer 82B is connected to the second communication line 212B.

調剤監査装置10Bは、第2通信回線212Bを介してレセプトコンピュータ82Bから処方情報84(図7参照)を取得することができる。調剤監査装置10Bは、第2通信回線212B及びネットワーク204を介してサーバ202と接続される。調剤監査装置10Bのスキャナ12で取得された第3画像は、サーバ202に送られ、サーバ202にて、辞書140の更新処理が行われる。   The dispensing inspection apparatus 10B can acquire the prescription information 84 (see FIG. 7) from the receipt computer 82B via the second communication line 212B. The dispensing inspection device 10B is connected to the server 202 via the second communication line 212B and the network 204. The third image acquired by the scanner 12 of the dispensing auditing apparatus 10B is sent to the server 202, and the server 202 updates the dictionary 140.

図26に示した調剤監査システム200によれば、複数台の調剤監査装置10A、10Bで用いる辞書140をネットワーク上のサーバ202で一元管理することができる。   According to the dispensing inspection system 200 shown in FIG. 26, the dictionary 140 used in the plurality of dispensing inspection apparatuses 10A and 10B can be centrally managed by the server 202 on the network.

調剤監査装置10A、10Bからサーバ202に第3画像を送信して辞書140を更新するタイミングとしては、例えば、それぞれの調剤監査装置10A、10Bにおけるユーザ操作のタイミング、錠剤形状のモデルチェンジが行われたタイミング、薬剤自体に付される刻印が印刷に変わったタイミングなど、様々なタイミングがあり得る。   The timing at which the third image is transmitted from the dispensing inspection apparatuses 10A and 10B to the server 202 and the dictionary 140 is updated includes, for example, the timing of user operation and the model change of the tablet shape in each dispensing inspection apparatus 10A and 10B. There may be various timings such as the timing at which the marking on the medicine itself is changed to printing.

[コンピュータに調剤監査機能を実現させるためのプログラムについて]
上述の実施形態で説明した調剤監査装置の調剤監査機能をコンピュータに実現させるためのプログラムをCD−ROM(Compact Disc Read-Only Memory)又は磁気ディスクその他のコンピュータ可読媒体(有体物たる非一時的な情報記憶媒体)に記録し、情報記憶媒体を通じてプログラムを提供することが可能である。このような情報記憶媒体にプログラムを記憶させて提供する態様に代えて、インターネットなどのネットワークを利用してプログラム信号をダウンロードサービスとして提供することも可能である。
[About a program that enables a computer to implement the dispensing audit function]
A program for causing a computer to implement the dispensing inspection function of the dispensing inspection apparatus described in the above embodiment is a CD-ROM (Compact Disc Read-Only Memory) or a magnetic disk or other computer-readable medium (non-transitory information as a tangible object) It is possible to provide the program through the information storage medium. Instead of providing a program stored in such an information storage medium, it is also possible to provide a program signal as a download service using a network such as the Internet.

また、実施形態で説明した調剤監査装置における処理機能の一部又は全部をアプリケーションサーバ又はクラウドコンピューティングによって実現し、ネットワークを通じて処理機能を提供するサービスを行うことも可能である。   It is also possible to provide a service that provides a processing function through a network by realizing part or all of the processing function in the dispensing inspection apparatus described in the embodiment by an application server or cloud computing.

以上説明した本発明の実施形態は、本発明の趣旨を逸脱しない範囲で、適宜構成要件を変更、追加、又は削除することが可能である。本発明は以上説明した実施形態に限定されるものでは無く、本発明の技術的思想内で当該分野の通常の知識を有するものにより、多くの変形が可能である。   In the embodiment of the present invention described above, the configuration requirements can be changed, added, or deleted as appropriate without departing from the spirit of the present invention. The present invention is not limited to the embodiments described above, and many modifications can be made by those having ordinary knowledge in the field within the technical idea of the present invention.

10、10A、10B 調剤監査装置
12 スキャナ
14 処理装置
16 表示部
18 操作部
20 第1載置台
20a 載置面
20b 撮影領域
24 第2載置台
24b 撮影領域
26 第1撮影装置
28 第2撮影装置
30 第3撮影装置
32 拡散照明装置
32a リフレクタ
34 側方照明装置
36 斜方照明装置
41 シート薬剤
42 端数薬剤
50 第1突き当て部
52 第2突き当て部
52a 透明領域
54 端面角部
56 撮影制御部
58 照明制御部
60 画像取得部
62 画像処理部
64 検出部
66 監査結果判定部
68 辞書データ生成部
70 記憶部
72 表示制御部
74 制御部
80 薬剤データベース
82、82A、82B レセプトコンピュータ
84 処方情報
90 PTPシート
90a 端部
90b 隙間
90c 離間部
92 薬剤
94 収容部
96 包装体
97 文字列
98 バーコード
100 第1薬剤名検出部
102 枚数検出部
104 端数薬剤数検出部
106 総薬剤数検出部
108 第2薬剤名検出部
110 第1画像
114 文字列
116 バーコード
120 第2画像
130 第3画像
140 辞書
150 追加学習判定部
152 学習用画像生成部
154 辞書更新部
156 辞書記憶部
200 調剤監査システム
202 サーバ
204 ネットワーク
210 通信部
212A 第1通信回線
212B 第2通信回線
214A、214B ルータ
S12 第1撮影工程
S14 第2撮影工程
S16 第3撮影工程
S18 第1薬剤名検出工程
S20 枚数検出工程
S22 端数薬剤数検出工程
S24 総薬剤数検出工程
S26 第2薬剤名検出工程
S28 監査結果判定工程
S30 判定結果表示工程
S42 辞書データ取得工程
S44 薬剤領域抽出工程
S46 特徴量算出工程
S48 尤度算出工程
S50 薬剤名決定工程
S62 学習画像取得工程
S64 特徴量算出工程
S66 確率分布更新工程
S68 辞書更新工程
10, 10A, 10B Dispensing inspection device 12 Scanner 14 Processing device 16 Display unit 18 Operation unit 20 First mounting table 20a Mounting surface 20b Imaging region 24 Second mounting table 24b Imaging region 26 First imaging device 28 Second imaging device 30 Third imaging device 32 Diffuse illumination device 32a Reflector 34 Side illumination device 36 Oblique illumination device 41 Sheet medicine 42 fraction medicine 50 first abutting section 52 second abutting section 52a transparent region 54 end face corner section 56 imaging control section 58 Illumination control unit 60 Image acquisition unit 62 Image processing unit 64 Detection unit 66 Audit result determination unit 68 Dictionary data generation unit 70 Storage unit 72 Display control unit 74 Control unit 80 Drug database 82, 82A, 82B Recto computer 84 Prescription information 90 PTP sheet 90a End 90b Clearance 90c Separation part 92 Drug 94 Storage part 96 Packaging 97 sentence Column 98 Barcode 100 First drug name detection unit 102 Number detection unit 104 Fractional drug number detection unit 106 Total drug number detection unit 108 Second drug name detection unit 110 First image 114 Character string 116 Bar code 120 Second image 130 Three images 140 Dictionary 150 Additional learning determination unit 152 Learning image generation unit 154 Dictionary update unit 156 Dictionary storage unit 200 Dispensing audit system 202 Server 204 Network 210 Communication unit 212A First communication line 212B Second communication line 214A, 214B Router S12 1 imaging process S14 2nd imaging process S16 3rd imaging process S18 1st medicine name detection process S20 number detection process S22 fraction medicine number detection process S24 total medicine number detection process S26 2nd medicine name detection process S28 audit result judgment process S30 judgment Result display step S42 Dictionary data acquisition step S44 Region extracting step S46 the feature quantity calculation step S48 the likelihood calculation step S50 drug name determining step S62 training image acquisition step S64 the feature quantity calculation step S66 probability distribution updating step S68 dictionary updating process

Claims (16)

薬剤シートを載置する第1載置台と、
薬剤シートから切断された端数の薬剤を載置する第2載置台と、
前記第1載置台に載置された薬剤シートを第1方向から撮影する第1撮影手段と、
前記第1載置台に載置された薬剤シートを前記第1方向と異なる第2方向から撮影する第2撮影手段と、
前記第2載置台に載置された端数の薬剤を撮影する第3撮影手段と、
前記第1撮影手段が撮影した画像である第1画像から、光学文字認識及びコード認識の少なくとも一方を用いて、薬剤シートの薬剤名を検出する第1薬剤名検出手段と、
前記第2撮影手段が撮影した画像である第2画像から薬剤シートの枚数を検出する枚数検出手段と、
第3撮影手段が撮影した画像である第3画像から前記端数の薬剤の数を検出する端数薬剤数検出手段と、
前記薬剤シートの枚数と前記端数の薬剤の数とから、総薬剤数を検出する総薬剤数検出手段と、
前記第3画像から前記端数の薬剤の薬剤名を検出する第2薬剤名検出手段と、
処方箋の指示に対応した処方情報における薬剤名及び薬剤数と、前記第1薬剤名検出手段及び前記第2薬剤名検出手段のそれぞれが検出した薬剤名及び前記総薬剤数検出手段が検出した総薬剤数とが、一致しているか否かを判定する監査結果判定手段と、
を備える調剤監査装置。
A first mounting table for mounting a medicine sheet;
A second mounting table for mounting a fraction of the medicine cut from the medicine sheet;
First imaging means for imaging a medicine sheet placed on the first placement table from a first direction;
Second imaging means for imaging the drug sheet placed on the first placement table from a second direction different from the first direction;
Third imaging means for imaging a fraction of the medicine placed on the second mounting table;
A first medicine name detecting means for detecting a medicine name of a medicine sheet from at least one of optical character recognition and code recognition from a first image that is an image photographed by the first photographing means;
A number detection means for detecting the number of drug sheets from a second image which is an image taken by the second imaging means;
A fraction medicine number detection means for detecting the number of fraction medicines from a third image which is an image photographed by the third photographing means;
From the number of the drug sheets and the fractional number of drugs, a total drug number detecting means for detecting the total drug number;
Second drug name detection means for detecting a drug name of the fractional drug from the third image;
The drug name and the number of drugs in the prescription information corresponding to the prescription instruction, the drug name detected by each of the first drug name detecting means and the second drug name detecting means, and the total drug detected by the total drug number detecting means An audit result judging means for judging whether or not the numbers match,
Dispensing inspection device comprising
前記第2薬剤名検出手段は、薬剤の画像の特徴と薬剤名とが関連付けられた辞書を用いて、前記第3画像からパターン認識によって前記端数の薬剤の薬剤名を検出する請求項1に記載の調剤監査装置。   The said 2nd medicine name detection means detects the medicine name of the said fraction drug by pattern recognition from the said 3rd image using the dictionary with which the characteristic of the image of a medicine and the medicine name were linked | related. Dispensing inspection equipment. 前記第3画像と、前記第1薬剤名検出手段が検出した薬剤名とから、前記辞書のデータを生成する辞書データ生成手段を備える請求項2に記載の調剤監査装置。   The dispensing inspection apparatus according to claim 2, further comprising dictionary data generation means for generating data of the dictionary from the third image and the drug name detected by the first drug name detection means. 前記第3画像を用いて追加学習を行い、前記辞書を更新する処理を行う辞書更新手段を備える請求項2又は3に記載の調剤監査装置。   The dispensing inspection device according to claim 2 or 3, further comprising a dictionary updating unit that performs additional learning using the third image and performs a process of updating the dictionary. 前記第1薬剤名検出手段が検出した薬剤名と前記第2薬剤名検出手段が検出した薬剤名とが不一致である場合に、前記追加学習を実行させる指示を与える操作手段を備える請求項4に記載の調剤監査装置。   The operation means which gives the instruction | indication which performs the said additional learning when the chemical | medical agent name which the said 1st chemical | medical agent name detection means and the chemical | medical agent name which the said 2nd chemical | medical agent name detection means do not correspond is provided. The dispensing inspection device described. 前記第2薬剤名検出手段が検出した薬剤名が間違っている場合に、前記追加学習を実行させる指示を与える操作手段を備える請求項4又は5に記載の調剤監査装置。   The dispensing inspection apparatus according to claim 4 or 5, further comprising an operation unit that gives an instruction to execute the additional learning when a drug name detected by the second drug name detection unit is incorrect. 前記辞書を記憶する辞書記憶手段を有するサーバがネットワークに接続されており、
前記ネットワークに接続されている前記サーバと通信を行う通信手段を備える請求項2から6のいずれか一項に記載の調剤監査装置。
A server having dictionary storage means for storing the dictionary is connected to the network;
The dispensing inspection apparatus according to any one of claims 2 to 6, further comprising a communication unit that communicates with the server connected to the network.
前記監査結果判定手段による判定結果の情報を表示する表示手段を備える請求項1から7のいずれか一項に記載の調剤監査装置。   The dispensing inspection device according to any one of claims 1 to 7, further comprising a display unit that displays information on a determination result by the audit result determination unit. 前記第1撮影手段は、前記第1載置台の載置面よりも重力方向下側である下方から薬剤シートを撮影する請求項1から8のいずれか一項に記載の調剤監査装置。   The dispensing inspection apparatus according to any one of claims 1 to 8, wherein the first photographing unit photographs a medicine sheet from a lower side that is lower than a placement surface of the first placement table in a direction of gravity. 前記第1載置台の前記下方から前記第1載置台に拡散光を照射する拡散照明手段を備える請求項9に記載の調剤監査装置。   The dispensing inspection device according to claim 9, further comprising diffusion illumination means for irradiating diffused light to the first mounting table from the lower side of the first mounting table. 前記第2撮影手段は、重力方向と非平行な方向である前記第1載置台の側方から薬剤シートを撮影する請求項1から10のいずれか一項に記載の調剤監査装置。   The dispensing inspection device according to any one of claims 1 to 10, wherein the second imaging unit images the medicine sheet from a side of the first mounting table that is a direction not parallel to the direction of gravity. 前記第1載置台に載置された薬剤シートに、前記第1載置台の側方から光を照射する側方照明手段を備える請求項11に記載の調剤監査装置。   The dispensing inspection apparatus according to claim 11, further comprising a side illumination unit configured to irradiate the medicine sheet placed on the first placement table with light from a side of the first placement table. 前記第3撮影手段は、前記第2載置台の載置面よりも重力方向下側である下方から端数の薬剤を撮影する請求項1から12のいずれか一項に記載の調剤監査装置。   The dispensing inspection apparatus according to any one of claims 1 to 12, wherein the third imaging unit images a fraction of the drug from below, which is below the mounting surface of the second mounting table in the direction of gravity. 前記第3撮影手段の撮影光軸に対して、光軸が角度を有する状態で、前記第2載置台の前記下方から前記第2載置台に光を照射する斜方照明手段を備える請求項13に記載の調剤監査装置。   The oblique illumination means which irradiates light to the said 2nd mounting base from the said lower part of the said 2nd mounting base in the state in which an optical axis has an angle with respect to the imaging | photography optical axis of a said 3rd imaging means. Dispensing inspection device as described in 1. 薬剤シートを載置するための第1載置台に載置された薬剤シートを第1方向から撮影する第1撮影工程と、
前記第1載置台に載置された薬剤シートを前記第1方向と異なる第2方向から撮影する第2撮影工程と、
薬剤シートから切断された端数の薬剤を載置するための第2載置台に載置された端数の薬剤を撮影する第3撮影工程と、
前記第1撮影工程により撮影した画像である第1画像から、光学文字認識及びコード認識の少なくとも一方を用いて、薬剤シートの薬剤名を検出する第1薬剤名検出工程と、
前記第2撮影工程により撮影した画像である第2画像から薬剤シートの枚数を検出する枚数検出工程と、
第3撮影工程により撮影した画像である第3画像から前記端数の薬剤の数を検出する端数薬剤数検出工程と、
前記薬剤シートの枚数と前記端数の薬剤の数とから、総薬剤数を検出する総薬剤数検出工程と、
前記第3画像から前記端数の薬剤の薬剤名を検出する第2薬剤名検出工程と、
処方箋の指示に対応した処方情報における薬剤名及び薬剤数と、前記第1薬剤名検出工程及び前記第2薬剤名検出工程のそれぞれの工程で検出した薬剤名及び前記総薬剤数検出工程で検出した総薬剤数とが、一致しているか否かを判定する監査結果判定工程と、
を含む調剤監査方法。
A first imaging step of imaging the medicine sheet placed on the first mounting table for placing the medicine sheet from the first direction;
A second imaging step of imaging the medicine sheet placed on the first placement table from a second direction different from the first direction;
A third imaging step of imaging the fractional medicine placed on the second mounting table for placing the fractional medicine cut from the medicine sheet;
A first drug name detection step of detecting a drug name of a drug sheet using at least one of optical character recognition and code recognition from a first image which is an image shot by the first shooting step;
A number detection step of detecting the number of drug sheets from a second image that is an image taken by the second imaging step;
A fraction medicine number detection step of detecting the number of fraction medicines from a third image that is an image photographed by the third photographing step;
From the number of medicine sheets and the number of fractional medicines, a total medicine number detecting step for detecting the total number of medicines;
A second drug name detection step of detecting a drug name of the fractional drug from the third image;
The drug name and the number of drugs in the prescription information corresponding to the prescription instruction, the drug name detected in each of the first drug name detection step and the second drug name detection step, and the total drug number detection step An audit result determination step for determining whether or not the total number of drugs matches,
Dispensing audit method including
薬剤シートを載置するための第1載置台に載置された薬剤シートを第1方向から第1撮影手段によって撮影した画像である第1画像を取得する第1画像取得機能と、
前記第1載置台に載置された薬剤シートを前記第1方向と異なる第2方向から第2撮影手段によって撮影した画像である第2画像を取得する第2画像取得機能と、
薬剤シートから切断された端数の薬剤を載置するための第2載置台に載置された端数の薬剤を第3撮影手段により撮影した画像である第3画像を取得する第3画像取得機能と、
前記第1画像から、光学文字認識及びコード認識の少なくとも一方を用いて、薬剤シートの薬剤名を検出する第1薬剤名検出機能と、
前記第2画像から薬剤シートの枚数を検出する枚数検出機能と、
前記第3画像から前記端数の薬剤の数を検出する端数薬剤数検出機能と、
前記薬剤シートの枚数と前記端数の薬剤の数とから、総薬剤数を検出する総薬剤数検出機能と、
前記第3画像から前記端数の薬剤の薬剤名を検出する第2薬剤名検出機能と、
処方箋の指示に対応した処方情報における薬剤名及び薬剤数と、前記第1薬剤名検出機能及び前記第2薬剤名検出機能のそれぞれの機能で検出した薬剤名及び前記総薬剤数検出機能で検出した総薬剤数とが、一致しているか否かを判定する監査結果判定機能を、コンピュータに実現させるためのプログラム。
A first image obtaining function for obtaining a first image, which is an image obtained by photographing the medicine sheet placed on the first placement table for placing the medicine sheet by the first photographing means from the first direction;
A second image acquisition function for acquiring a second image, which is an image obtained by photographing the medicine sheet placed on the first placement table from a second direction different from the first direction by a second photographing unit;
A third image acquisition function for acquiring a third image which is an image obtained by photographing the fraction medicine placed on the second mounting table for placing the fraction medicine cut from the medicine sheet by the third photographing means; ,
A first drug name detection function for detecting a drug name of a drug sheet from the first image using at least one of optical character recognition and code recognition;
A number detection function for detecting the number of drug sheets from the second image;
A fraction drug number detection function for detecting the number of fraction drugs from the third image;
From the number of the drug sheets and the number of fractional drugs, a total drug number detection function for detecting the total drug number,
A second drug name detection function for detecting a drug name of the fractional drug from the third image;
Detected by the drug name and the number of drugs in the prescription information corresponding to the prescription instructions, the drug name detected by the respective functions of the first drug name detection function and the second drug name detection function, and the total drug number detection function A program for causing a computer to realize an audit result determination function for determining whether or not the total number of drugs matches.
JP2016007692A 2016-01-19 2016-01-19 Dispensing audit apparatus and method, and program Active JP6548584B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016007692A JP6548584B2 (en) 2016-01-19 2016-01-19 Dispensing audit apparatus and method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016007692A JP6548584B2 (en) 2016-01-19 2016-01-19 Dispensing audit apparatus and method, and program

Publications (2)

Publication Number Publication Date
JP2017127407A true JP2017127407A (en) 2017-07-27
JP6548584B2 JP6548584B2 (en) 2019-07-24

Family

ID=59396420

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016007692A Active JP6548584B2 (en) 2016-01-19 2016-01-19 Dispensing audit apparatus and method, and program

Country Status (1)

Country Link
JP (1) JP6548584B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6434595B1 (en) * 2017-10-04 2018-12-05 三菱電機インフォメーションシステムズ株式会社 Medicine bag inspection device, medicine bag inspection method, and medicine bag inspection program
JP2020156746A (en) * 2019-03-26 2020-10-01 沖電気工業株式会社 Medicine discrimination device, medicine imaging device and medicine imaging method
JPWO2021065658A1 (en) * 2019-10-01 2021-04-08
WO2024009570A1 (en) * 2022-07-07 2024-01-11 大塚電子株式会社 Inspecting device and inspecting method

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07287753A (en) * 1994-04-19 1995-10-31 N T T Data Tsushin Kk Article discrimination system
JP2004167158A (en) * 2002-11-22 2004-06-17 Glory Ltd Medicine recognition device
JP2008119443A (en) * 2006-10-19 2008-05-29 Takazono Sangyo Co Ltd Counting device of dispensing device, and inventory management device using the same
JP2010086257A (en) * 2008-09-30 2010-04-15 Shinichi Suguno Image pickup storage device for medicine and image pickup table for medicine
US8215557B1 (en) * 2010-11-18 2012-07-10 Innovation Associates, Inc. Low profile color-based counting system
JP2015057114A (en) * 2014-11-25 2015-03-26 株式会社ダイフク Pharmacy checking system
WO2015098452A1 (en) * 2013-12-27 2015-07-02 エヴォーブテクノロジー株式会社 Pill pickup apparatus
JPWO2016194680A1 (en) * 2015-05-29 2018-03-08 富士フイルム株式会社 Dispensing inspection device, dispensing inspection method, program, and recording medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07287753A (en) * 1994-04-19 1995-10-31 N T T Data Tsushin Kk Article discrimination system
JP2004167158A (en) * 2002-11-22 2004-06-17 Glory Ltd Medicine recognition device
JP2008119443A (en) * 2006-10-19 2008-05-29 Takazono Sangyo Co Ltd Counting device of dispensing device, and inventory management device using the same
JP2010086257A (en) * 2008-09-30 2010-04-15 Shinichi Suguno Image pickup storage device for medicine and image pickup table for medicine
US8215557B1 (en) * 2010-11-18 2012-07-10 Innovation Associates, Inc. Low profile color-based counting system
WO2015098452A1 (en) * 2013-12-27 2015-07-02 エヴォーブテクノロジー株式会社 Pill pickup apparatus
JP2015057114A (en) * 2014-11-25 2015-03-26 株式会社ダイフク Pharmacy checking system
JPWO2016194680A1 (en) * 2015-05-29 2018-03-08 富士フイルム株式会社 Dispensing inspection device, dispensing inspection method, program, and recording medium

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6434595B1 (en) * 2017-10-04 2018-12-05 三菱電機インフォメーションシステムズ株式会社 Medicine bag inspection device, medicine bag inspection method, and medicine bag inspection program
JP2019063383A (en) * 2017-10-04 2019-04-25 三菱電機インフォメーションシステムズ株式会社 Medicine bag audit apparatus, medicine bag audit method, and medicine bag audit program
JP2020156746A (en) * 2019-03-26 2020-10-01 沖電気工業株式会社 Medicine discrimination device, medicine imaging device and medicine imaging method
JP7143802B2 (en) 2019-03-26 2022-09-29 沖電気工業株式会社 Drug identification device, drug imaging device, and drug imaging method
JPWO2021065658A1 (en) * 2019-10-01 2021-04-08
WO2021065658A1 (en) * 2019-10-01 2021-04-08 富士フイルム富山化学株式会社 Medicine collation device, medicine collation system, medicine management method, and program
CN114450677A (en) * 2019-10-01 2022-05-06 富士胶片富山化学株式会社 Drug matching device, drug matching system, drug management method, and program
JP7427684B2 (en) 2019-10-01 2024-02-05 富士フイルム富山化学株式会社 Drug verification system, drug management method and program
WO2024009570A1 (en) * 2022-07-07 2024-01-11 大塚電子株式会社 Inspecting device and inspecting method

Also Published As

Publication number Publication date
JP6548584B2 (en) 2019-07-24

Similar Documents

Publication Publication Date Title
CN106415251B (en) Medicine imaging device
US9406127B2 (en) Medication identification and verification
JP4923282B2 (en) Drug recognition device
US10314767B2 (en) Dispensing inspection device, dispensing inspection method, and recording medium
JP6548584B2 (en) Dispensing audit apparatus and method, and program
US10726285B2 (en) Medicine audit apparatus, method, and program
US9659206B2 (en) Station for acquiring biometric and biographic data
KR102355337B1 (en) An image processing program, and an image processing apparatus
WO2004112685A1 (en) Drug auditing device
JP2012073822A (en) Form reading device
JP2014053791A (en) Image processing device, image processing program and image pickup device
JP7141596B2 (en) Item confirmation device, inspection support system, and item confirmation device program
JP4456240B2 (en) Fingerprint verification device
JP2016220911A (en) Pharmacy inspection device, pharmacy inspection method, program and recording medium
CA3056120C (en) Verification system for medication packaging and method
JP7375049B2 (en) Image processing device and method
JP2016106647A (en) Agent inspection support device
US20210090699A1 (en) Verification system for medication packaging and method
JP2020182525A (en) Drug imaging auxiliary apparatus, drug imaging apparatus, drug identification method, and drug identification system
JP2013252161A (en) Syringe measuring system
JP2009110169A (en) Medicament inspection apparatus and image processing method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20180308

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20190117

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A132

Effective date: 20190215

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20190402

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20190625

R150 Certificate of patent or registration of utility model

Ref document number: 6548584

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250