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

JP7329463B2 - drug identification system - Google Patents

drug identification system Download PDF

Info

Publication number
JP7329463B2
JP7329463B2 JP2020018394A JP2020018394A JP7329463B2 JP 7329463 B2 JP7329463 B2 JP 7329463B2 JP 2020018394 A JP2020018394 A JP 2020018394A JP 2020018394 A JP2020018394 A JP 2020018394A JP 7329463 B2 JP7329463 B2 JP 7329463B2
Authority
JP
Japan
Prior art keywords
drug
identification
information
model
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2020018394A
Other languages
Japanese (ja)
Other versions
JP2021124989A (en
Inventor
央 谷口
賢治 高平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Contec Co Ltd
Original Assignee
Contec Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Contec Co Ltd filed Critical Contec Co Ltd
Priority to JP2020018394A priority Critical patent/JP7329463B2/en
Publication of JP2021124989A publication Critical patent/JP2021124989A/en
Application granted granted Critical
Publication of JP7329463B2 publication Critical patent/JP7329463B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Medical Preparation Storing Or Oral Administration Devices (AREA)
  • Medical Treatment And Welfare Office Work (AREA)

Description

本発明は、薬剤を撮影した撮影画像の画像認識を行うことにより撮影された薬剤の識別を行う薬剤識別システムに関するものである。 TECHNICAL FIELD The present invention relates to a drug identification system that identifies a photographed drug by performing image recognition of a photographed image of the drug.

薬局などの、薬剤を取り扱う施設において、薬剤の機械的な識別が求められることがある。例えば、処方箋に基づいて取り揃えられた薬剤が実際に処方箋の処方内容と合致しているか否かを、作業者(薬剤師など)とは別の主体によって判定するために、薬剤の機械的な識別を行う装置(薬剤鑑査装置)が用いられることがある。こうした装置を用いることにより、患者に対する薬剤の交付における作業ミスを防止することができる。 Mechanical identification of drugs is often required in drug handling facilities such as pharmacies. For example, mechanical identification of drugs is used to determine whether or not drugs arranged based on a prescription actually match the contents of the prescription by an entity other than the operator (pharmacist, etc.). A device (medicine inspection device) may be used. By using such a device, it is possible to prevent operational errors in delivering drugs to patients.

特許文献1には、薬剤鑑査装置に適用される秤量装置が開示されている。この秤量装置においては、計測対象となる薬剤の重量を計測する秤量部のほか、計測対象の画像を撮像するための撮像手段(カメラ)が設けられており、撮像された画像データを基に、計測対象の薬剤が処方箋にて指定された薬剤の種別と合致しているか否かが判定されるようになっている。 Patent Literature 1 discloses a weighing device applied to a drug inspection device. In this weighing device, in addition to a weighing unit for measuring the weight of the drug to be measured, an imaging means (camera) for capturing an image of the target to be measured is provided, and based on the captured image data, It is determined whether or not the drug to be measured matches the type of drug specified in the prescription.

特許第5744776号公報Japanese Patent No. 5744776

しかしながら、特許文献1に開示されている秤量装置においては、計測対象となる薬剤を適正な撮像条件下で撮像しなければ適正な判定を行うことができない。具体的には計測対象を、撮像手段が計測対象を上方から適正に撮像可能な撮像対象領域に位置させる必要がある。そのために、計測対象を保持する容器を計測用の適正位置に位置決めする位置決め手段が設けられている。また、外乱光により計測対象に陰影が生じるのを防ぐために、計測対象を保持する容器や撮像手段をまとめて筐体に収容することで外乱光から遮蔽する必要もある。 However, in the weighing device disclosed in Patent Literature 1, proper determination cannot be made unless the drug to be measured is imaged under proper imaging conditions. Specifically, it is necessary to position the measurement target in an imaging target region in which the imaging means can properly capture an image of the measurement target from above. For this purpose, a positioning means is provided for positioning the container holding the object to be measured at an appropriate position for measurement. In addition, in order to prevent the object to be measured from being shaded by ambient light, it is necessary to house the container holding the object to be measured and the imaging means together in a housing to shield them from ambient light.

このように、特許文献1に開示されている秤量装置には、計測対象の薬剤を適正な撮像条件下(位置、照明条件など)に置くための機構が設けられており、これらを用いなければ適正な判定を行うことができない。これは、特許文献1の秤量装置では撮像した薬剤の画像データと、マスタデータとしての薬剤の画像データとに基づいて薬剤種別の判別が行われるようになっており、マスタデータと撮像条件の異なる撮像により得られた画像データでは適正な判別が行なえないからである。 Thus, the weighing device disclosed in Patent Document 1 is provided with a mechanism for placing the drug to be measured under appropriate imaging conditions (position, lighting conditions, etc.). A proper judgment cannot be made. This is because the weighing device of Patent Document 1 discriminates the drug type based on the image data of the drug taken and the image data of the drug as master data, and the master data and imaging conditions are different. This is because image data obtained by imaging cannot be used for proper discrimination.

したがって、特許文献1に開示されている秤量装置は、薬剤の画像を撮像する際に、薬剤を適正な撮像条件下に置くための作業(位置決め、筐体への収納など)が必要である。この秤量装置を利用するためには専用の操作方法を覚える必要があり、その操作自体も大きく手間のかかるものとなっていた。このため、薬剤の機械的な識別を気軽に行うことはできなかった。また、この秤量装置は薬剤を適正な撮像条件下に置くための専用の機構を備えた大掛かりな装置となってしまい、持ち運び可能な機器とすることはできなかった。 Therefore, the weighing device disclosed in Patent Document 1 requires work (positioning, housing in a housing, etc.) for placing the drug under appropriate imaging conditions when capturing an image of the drug. In order to use this weighing device, it was necessary to learn a dedicated operation method, and the operation itself was also large and troublesome. For this reason, it has not been possible to casually perform mechanical identification of drugs. In addition, this weighing device is a large-scale device having a dedicated mechanism for placing the drug under appropriate imaging conditions, and cannot be made portable.

そこで本発明は、薬剤を特定の適正な撮影条件下に置かなくとも、様々な条件下での撮影による撮影画像から薬剤の識別を行えるようにすることを目的とする。 SUMMARY OF THE INVENTION Accordingly, an object of the present invention is to make it possible to identify a drug from images captured under various conditions without placing the drug under specific appropriate imaging conditions.

上記課題を解決するため、本発明に係る実施形態の一例としての薬剤識別システムは、薬剤を撮影した撮影画像の画像認識を行うことにより撮影された薬剤の識別を行う薬剤識別システムにおいて、薬剤の情報と撮影画像の情報との組み合わせを学習データとして記憶する学習データ記憶部と、撮影画像に含まれる薬剤を識別する薬剤識別部と、を備え、前記薬剤識別部は、AIモデルを用いて、入力された撮影画像に含まれる薬剤を識別し、前記AIモデルは、前記学習データ記憶部に記憶された前記学習データに基づいて作成されたAIモデルであって、撮影画像を入力データとして、それに対応する薬剤の情報を出力データとして返すAIモデルであり、薬剤または薬剤を包装する薬剤包装に、薬剤の識別情報を示す識別指標が記されている場合、前記薬剤識別部は、前記識別指標が示す薬剤の識別情報に基づいて薬剤の識別を行い、識別した薬剤の情報とそのときの撮影画像の情報とを組み合わせた薬剤撮影例データを作成して、前記薬剤撮影例データを前記学習データ記憶部に送信し、前記学習データ記憶部は、前記薬剤識別部から前記薬剤撮影例データを受信すると、その薬剤撮影例データに含まれる薬剤の情報と撮影画像の情報の組み合わせを記憶して、前記学習データを更新することを特徴とする。 In order to solve the above problems, a drug identification system as an example of an embodiment according to the present invention is a drug identification system that identifies a photographed drug by performing image recognition of a photographed image of the drug . A learning data storage unit that stores a combination of information and information of a captured image as learning data; and a drug identification unit that identifies a drug included in the captured image . A drug contained in an input photographed image is identified, and the AI model is an AI model created based on the learning data stored in the learning data storage unit, wherein the photographed image is used as input data, and If the AI model returns information on the corresponding drug as output data, and an identification index indicating identification information of the drug is written on the drug or on the drug package that packages the drug, the drug identification unit is configured such that the identification index is A drug is identified based on the indicated drug identification information, drug imaging example data is created by combining information on the identified drug and information on the photographed image at that time, and the drug imaging example data is stored as the learning data. When the learning data storage unit receives the drug imaging example data from the drug identification unit, the learning data storage unit stores a combination of drug information and photographed image information included in the drug imaging example data, It is characterized by updating learning data .

また好ましくは、前記薬剤識別部は、前記AIモデルとは別に、前記識別指標を画像解析により前記撮影画像から検出し、前記撮影画像に前記識別指標が含まれていることが画像解析により検出された場合、前記薬剤識別部は、画像解析により検出された前記識別指標に対応する薬剤の識別情報に基づいて薬剤の識別を行い、識別した薬剤の情報とそのときの撮影画像の情報とを組み合わせた薬剤撮影例データを作成するとよい。 Further preferably , the drug identification unit detects the identification index from the captured image by image analysis separately from the AI model, and the inclusion of the identification index in the captured image is detected by the image analysis . In this case, the drug identification unit identifies the drug based on the identification information of the drug corresponding to the identification index detected by the image analysis , and combines the information of the identified drug with the information of the captured image at that time. It is preferable to create drug imaging example data.

また好ましくは、前記学習データ記憶部を有するメイン機器と、それぞれが前記薬剤識別部を備えており、ネットワークを介して前記メイン機器へとアクセス可能な複数のローカル機器を有し、前記ローカル機器によって行われた薬剤の識別において前記薬剤撮影例データが作成された場合には、その薬剤撮影例データを前記メイン機器へ送信し、前記メイン機器は、前記ローカル機器から送信された薬剤撮影例データに基づいて前記学習データ記憶部に記憶されている学習データを更新するとよい。 Also preferably, a main device having the learning data storage unit, and a plurality of local devices each having the drug identification unit and capable of accessing the main device via a network, wherein the local device When the drug photography example data is created in the identification of the drug performed by Preferably, the learning data stored in the learning data storage unit is updated based on.

また好ましくは、前記メイン機器は、メインAIモデルを有しており、前記メインAIモデルは、前記メイン機器の前記学習データ記憶部に記憶されている学習データを基に作成されたAIモデルであって、撮影画像を入力データとして、それに対応する薬剤情報を出力データとして返すAIモデルであり、前記メイン機器は、前記学習データが更新されたら、前記メインAIモデルの再作成を行い、前記ローカル機器には、前記薬剤識別部が用いる前記AIモデルとして、撮影画像を入力データとして、それに対応する薬剤情報を出力データとして返すローカルAIモデルが組み込まれており、前記ローカルAIモデルは、前記ローカル機器が前記メイン機器から受信したデータで構成されており、前記ローカルAIモデルを構成するデータは、前記ローカル機器が前記メイン機器からデータを受信した時点での前記メインAIモデルのデータであり、前記ローカル機器の前記薬剤識別部は、前記ローカルAIモデルを用いて撮影画像に含まれる薬剤を識別し、前記ローカルAIモデルを用いても撮影画像に含まれる薬剤を識別不能な場合には、ネットワークを介して前記メイン機器にアクセスして、前記メイン機器メインAIモデルを用いて薬剤の識別を行うとよい。 Further preferably, the main device has a main AI model, and the main AI model is an AI model created based on learning data stored in the learning data storage unit of the main device. is an AI model that uses a photographed image as input data and returns corresponding drug information as output data, and the main device recreates the main AI model when the learning data is updated, and the local device incorporates, as the AI model used by the drug identification unit, a local AI model that uses a captured image as input data and returns corresponding drug information as output data. data received from the main device, data constituting the local AI model is data of the main AI model at the time when the local device receives data from the main device, and the local device The drug identification unit of uses the local AI model to identify the drug contained in the captured image, and if the drug contained in the captured image cannot be identified even using the local AI model, via a network The main device may be accessed and the drug may be identified using the main AI model of the main device.

また好ましくは、撮影された薬剤が医療用医薬品である場合、医療用医薬品の薬剤包装に記されておりその医療用医薬品に関する情報を示す光学マークを、前記識別指標とするとよい。 Preferably, when the photographed drug is a medical drug, an optical mark written on the drug package of the medical drug and indicating information about the medical drug may be used as the identification index.

また好ましくは、前記薬剤識別システムが、医師の判断により入力された処方箋情報を記憶するデータベースを含むシステムにおいて利用されるものであり、前記薬剤識別部が識別した1つ以上の薬剤の情報が、前記処方箋情報と合致するか否かを判定するとよい。 Further, preferably, the drug identification system is used in a system including a database that stores prescription information input at the discretion of a doctor, and information on one or more drugs identified by the drug identification unit is It is good to judge whether it agrees with the prescription information.

また好ましくは、前記薬剤識別システムが、薬局において入庫した薬剤および出庫した薬剤の情報に応じて変動する在庫情報を記憶するデータベースを含むシステムにおいて利用されるものであり、前記薬剤識別部が識別した1つ以上の薬剤の情報が、前記在庫情報と合致するか否かを判定するとよい。 Also preferably, the drug identification system is used in a system including a database that stores inventory information that varies according to information on drugs received and shipped from a pharmacy, and the drug identification unit identifies It may be determined whether the information for one or more drugs matches the inventory information.

また好ましくは、前記薬剤識別システムが、患者に対して調剤された薬剤について医療機関の指示する服薬スケジュールを管理するデータベースを含むシステムにおいて利用されるものであり、前記薬剤識別部が識別した1つ以上の薬剤の情報が、前記服薬スケジュールと合致するか否かを判定するとよい。 Also preferably, the drug identification system is used in a system including a database for managing a medication schedule instructed by a medical institution for drugs dispensed to a patient, and the one identified by the drug identification unit It is preferable to determine whether or not the above drug information matches the drug administration schedule.

また好ましくは、前記学習データ記憶部と前記薬剤識別部とが、それぞれ別体の機器によって構成されており、前記薬剤識別部はネットワークを介して前記学習データ記憶部にアクセス可能であるとよい。 Preferably, the learning data storage unit and the drug identification unit are configured as separate devices, and the drug identification unit can access the learning data storage unit via a network.

本発明に係る実施形態の一例としての薬剤識別システムによれば、各種薬剤がそれぞれ撮影画像においてどのような姿で現れるのかの情報、すなわち、様々な撮影画像と、それらの撮影画像に映っている薬剤の情報(種別や数量)と、の対応関係が学習データとして学習データ記憶部に記憶(蓄積)される。そして、その学習データに基づいて作成されたAIモデルを用いて、入力された撮影画像に含まれる薬剤の識別が行われる。ここで、十分に蓄積された(大量の撮影画像を取り込んだ)学習データから作成されたAIモデルであれば、様々な撮影条件(照明条件、位置、距離、角度など)で撮影された画像から、その画像に映っている薬剤の情報(種別や数量)を適正に識別することができる。したがって、薬剤を特定の適正な撮影条件下に置かなくともよい。このため、薬剤の識別を行おうとする作業者は、薬剤を適正な撮影条件下に置くための作業を行う必要がなく、薬剤の識別を手軽に行うことができる。 According to the medicine identification system as an example of the embodiment of the present invention, information about how various medicines appear in photographed images, that is, various photographed images and the The correspondence between drug information (type and quantity) is stored (accumulated) in the learning data storage unit as learning data. Then, the AI model created based on the learning data is used to identify the drug contained in the input photographed image. Here, if the AI model is created from learning data that has been sufficiently accumulated (capturing a large amount of captured images), it can be used from images captured under various shooting conditions (lighting conditions, positions, distances, angles, etc.). , the information (type and quantity) of the drug shown in the image can be properly identified. Therefore, the drug does not have to be placed under specific proper imaging conditions. Therefore, an operator who intends to identify the medicine does not need to perform work for placing the medicine under appropriate imaging conditions, and can easily identify the medicine.

また薬剤または薬剤包装に識別指標が記されている場合、その識別指標の示す識別情報に基づいて薬剤識別部が薬剤の識別を行って、さらに識別した薬剤の情報とそのときの撮影画像の情報とを組み合わせた薬剤撮影例データを基に学習データを更新するようにすれば、薬剤について専門知識を持たない人物が撮影した撮影画像であっても、撮影画像と、その撮影画像にどのような薬剤が含まれているかについての正しい情報とが紐付いた、学習データを適正に更新(蓄積)できる情報となる。このため、専門知識を持たない人物(例えば薬局において調剤された薬剤の交付を受けた患者であって、AI技術者でも医療関係者でもない人物)であっても、何が正解かについての情報を含む学習データ、いわゆる教師データの蓄積に寄与することができる。したがって、この薬剤識別システムにおいては、AIおよび薬剤に関する専門知識を持たない人物によって撮影された撮影画像をも取り込んで薬剤に関する学習データの蓄積を進めることができるので、システムの利用者(薬剤の撮影を行う人物)が増加するに従って、学習データの蓄積速度が向上していく。また、その学習データに基づいて作成されるAIモデルの精度も、システム利用者の増加に従って向上していく。 When an identification index is written on the medicine or medicine package, the medicine identification unit identifies the medicine based on the identification information indicated by the identification index, and furthermore, information on the identified medicine and information on the photographed image at that time. If the learning data is updated based on drug photography example data combined with The learning data can be appropriately updated (accumulated) in association with correct information as to whether or not the drug is contained. For this reason, even a person without specialized knowledge (for example, a patient who received a drug dispensed at a pharmacy and who is neither an AI engineer nor a medical professional) can obtain information about what is the correct answer. It can contribute to accumulation of learning data including so-called teacher data. Therefore, in this drug identification system, it is possible to capture images taken by people who do not have expert knowledge of AI and drugs, and accumulate learning data on drugs. The learning data accumulation speed increases as the number of people who perform training increases. In addition, the accuracy of the AI model created based on the learning data will improve as the number of system users increases.

また、撮影画像に識別指標が含まれているとAIモデルによって判定された場合には、そのAIモデルが判定した識別指標に対応する薬剤の識別情報に基づいて薬剤の識別と薬剤撮影例データの作成を行うようにすれば、薬剤を撮影するだけで薬剤撮影例データが得られることになり、学習データがさらに効率よく更新されるようになる。 Further, when the AI model determines that the captured image includes the identification index, the identification of the drug and the drug imaging example data are performed based on the identification information of the drug corresponding to the identification index determined by the AI model. If created, drug photography example data can be obtained simply by photographing drugs, and learning data can be updated more efficiently.

また、薬剤識別システムが、ネットワークを介してメイン機器へとアクセス可能な複数のローカル機器を有するシステムである場合には、ローカル機器を個人が持ち運び可能な機器、例えば薬剤識別部としての機能を果たす所定のアプリケーションがインストールされたスマートフォンとすることで、多数のローカル機器から薬剤撮影例データを収集することが可能となり、学習データの蓄積速度がさらに向上する。 In addition, when the drug identification system is a system having a plurality of local devices that can access the main device via a network, the local devices function as devices that can be carried by individuals, such as drug identification units. By using a smartphone on which a predetermined application is installed, it becomes possible to collect drug photography example data from a large number of local devices, further improving the accumulation speed of learning data.

また、ローカル機器に組み込まれたローカルAIモデルを用いて撮影画像に含まれる薬剤を識別する場合には、ローカルAIモデルによって薬剤の識別が可能であればローカル機器はメイン機器へアクセスする必要がないため、ネットワークを介した通信の頻度を最小限に抑えることができ、薬剤識別の平均速度が向上し、またシステム全体の通信量を抑えることができる。 In addition, when identifying a drug contained in a captured image using a local AI model incorporated in the local device, the local device does not need to access the main device if the drug can be identified by the local AI model. Therefore, the frequency of communication via the network can be minimized, the average speed of drug identification can be improved, and the communication volume of the entire system can be suppressed.

また、撮影された薬剤が医療用医薬品である場合に、医療用医薬品の薬剤包装に記されておりその医療用医薬品に関する情報を示す光学マークを識別指標とすることで、医療用医薬品の包装に表示することが求められているバーコードなどの、薬剤情報の符号化方式が予め規定されている識別指標を利用して薬剤の識別を行うことが可能になり、識別指標に基づく薬剤識別の確度が向上する。 In addition, when the drug photographed is a prescription drug, by using the optical mark written on the drug packaging of the prescription drug, which indicates information about the drug, as an identification index, the packaging of the prescription drug It is possible to identify a drug using an identification index such as a bar code that is required to be displayed, for which the encoding method of drug information is predefined, and the accuracy of drug identification based on the identification index improves.

また、撮影された薬剤が、医師の判断により入力された処方箋情報に基づいて調剤された薬剤である場合に、薬剤識別部が識別した1つ以上の薬剤の情報が処方箋情報と合致するか否かを判定することで、調剤薬局などにおける患者への薬剤交付の際に、処方箋の内容と異なる薬剤を交付することを防ぐことができる。 Also, if the photographed drug is a drug dispensed based on the prescription information input by the doctor's judgment, whether the information of one or more drugs identified by the drug identification unit matches the prescription information By determining whether the prescription is correct or not, it is possible to prevent delivery of a drug different from the content of the prescription when delivering the drug to a patient at a dispensing pharmacy or the like.

また、撮影された薬剤が、薬局において入庫した薬剤および出庫した薬剤の情報に応じて変動する在庫情報に基づいて管理される薬剤である場合に、薬剤識別部が識別した1つ以上の薬剤の情報が在庫情報と合致するか否かを判定することで、薬局の棚卸しなどの際に、在庫情報と、実際に薬局内に存在する薬剤の情報とを照合することができる。 Further, when the photographed drug is a drug managed based on inventory information that varies according to information on received and delivered drugs at the pharmacy, one or more drugs identified by the drug identification unit. By judging whether or not the information matches the inventory information, it is possible to collate the inventory information with the information on drugs actually present in the pharmacy when taking an inventory of the pharmacy.

また、撮影された薬剤が、患者に対して調剤された薬剤であって、医療機関の指示する服薬スケジュールに基づいて服薬されるべき薬剤である場合に、薬剤識別部が識別した1つ以上の薬剤の情報が服薬スケジュールと合致するか否かを判定することで、患者が正しく服薬スケジュールに従って薬剤を服薬しているかどうかを確認することができる。 Also, if the photographed drug is a drug that has been dispensed for a patient and should be taken according to a drug administration schedule instructed by a medical institution, one or more of the drugs identified by the drug identification unit By judging whether or not the drug information matches the medication schedule, it is possible to confirm whether the patient is taking the medication correctly according to the medication schedule.

また、学習データ記憶部と薬剤識別部とが、それぞれ別体の機器によって構成されており、薬剤識別部はネットワークを介して学習データ記憶部にアクセス可能である場合には、システムの構成の自由度が増す。例えば、学習データ記憶部と薬剤識別部とを距離的に離れた場所に設けることが可能となったり、それぞれの機器を小型化することができたりする。 In addition, if the learning data storage unit and the drug identification unit are configured by separate devices, and the drug identification unit can access the learning data storage unit via a network, the system can be freely configured. degree increases. For example, it becomes possible to provide the learning data storage unit and the drug identification unit at distant locations, or to downsize each device.

本発明に係る実施形態の一例としての薬剤識別システムの構成を概略的に示すブロック図。1 is a block diagram schematically showing the configuration of a drug identification system as an example of an embodiment according to the present invention; FIG. 識別指標が記された錠剤単体を示す図。The figure which shows the tablet simple substance in which the identification index was written. 図2Aの錠剤を包装する、識別指標が記されたPTPシートを示す図。FIG. 2B is a diagram showing a PTP sheet with an identification index for packaging the tablet of FIG. 2A. 図2BのPTPシートの全体を示す図。The figure which shows the whole PTP sheet of FIG. 2B. 図2CのPTPシートの裏側を示す図。The figure which shows the back side of the PTP sheet of FIG. 2C. 識別指標が記された、散剤の個別包装を示す図。FIG. 1 shows an individual package of a powder, marked with an identification index. カプセル剤を包装する、識別指標が記されたPTPシートを示す図。The figure which shows the PTP sheet with which the identification index was written which packages a capsule. 識別指標テーブルの一例を示す図。FIG. 4 is a diagram showing an example of an identification index table; 薬剤撮影例データの一例を示す図。The figure which shows an example of drug imaging|photography example data. 図1の薬剤識別システムにおける薬剤の識別および学習データ更新の手順を示すフローチャート。FIG. 2 is a flow chart showing procedures for drug identification and learning data update in the drug identification system of FIG. 1; FIG. 複数のローカル機器がネットワークを介してメイン機器へとアクセスする形態の薬剤識別システムの構成を概略的に示すブロック図。1 is a block diagram schematically showing the configuration of a drug identification system in which a plurality of local devices access a main device via a network; FIG. 薬剤識別センサの構成を概略的に示す図。The figure which shows roughly the structure of a medicine identification sensor.

図1のブロック図に、本発明に係る実施形態の一例としての薬剤識別システム10の構成を概略的に示す。この薬剤識別システム10において識別対象となる薬剤12の例として、図1には錠剤12a単体と、錠剤PTPシート12b(1枚10錠入り)が示されている。 The block diagram of FIG. 1 schematically shows the configuration of a drug identification system 10 as an example of an embodiment according to the present invention. As examples of drugs 12 to be identified in this drug identification system 10, FIG. 1 shows a single tablet 12a and a tablet PTP sheet 12b (10 tablets per sheet).

図1に示す薬剤識別システム10は、識別結果を表示するためのモニタ14と、薬剤12の画像を撮影する撮影器20と、撮影器20が撮影した撮影画像22に含まれる薬剤12を識別する薬剤識別部30と、後述の識別指標テーブル42(図3)を記憶する識別指標テーブル記憶部40と、撮影画像22を入力データとしてそれに対応する薬剤12の情報を出力データとして返すAIモデル50(実体としては、AIモデル50のデータを記憶する記憶部)と、このAIモデル50を作成する基となる学習データ62を記憶する学習データ記憶部60と、を備えている。これらの構成要素は1つの機器にまとめて組み込まれていてもよいし、複数の機器に分かれて配置されていてもよい。例えばスマートフォンの画面をモニタ14、そのスマートフォンに組み込まれたカメラを撮影器20、メモリやプロセッサを他の構成要素として、薬剤識別システム10が1つのスマートフォンで構築されるようになっていてもよい。あるいは、薬剤識別システム10がネットワーク(インターネットなど)上に構築されたものであり、ネットワークを介して接続された複数の機器のそれぞれが構成要素の一つ一つとして機能するようになっており、様々な場所の機器から薬剤識別システム10を利用可能な構成であってもよい。 A drug identification system 10 shown in FIG. 1 includes a monitor 14 for displaying identification results, a camera 20 for capturing an image of a drug 12, and a drug 12 included in a captured image 22 captured by the camera 20. A drug identification unit 30, an identification index table storage unit 40 that stores an identification index table 42 (FIG. 3), which will be described later, and an AI model 50 that uses the photographed image 22 as input data and returns information on the corresponding drug 12 as output data. As an entity, it includes a storage unit that stores data of the AI model 50) and a learning data storage unit 60 that stores learning data 62 that is the basis for creating the AI model 50. FIG. These components may be integrated into one device, or may be divided and arranged in a plurality of devices. For example, the drug identification system 10 may be configured in one smart phone with the screen of the smart phone as the monitor 14, the camera incorporated in the smart phone as the imaging device 20, and the memory and processor as other components. Alternatively, the drug identification system 10 is built on a network (such as the Internet), and each of a plurality of devices connected via the network functions as a component, The configuration may be such that the drug identification system 10 can be used from devices at various locations.

(基本的動作)
この薬剤識別システム10を用いて識別作業を行おうとするユーザ(作業者)はまず、撮影器20によって薬剤12(薬剤12を含む領域)を撮影して、撮影画像22を取得する。そして、この撮影画像22が薬剤識別部30へ入力される。薬剤識別部30は、撮影画像22をAIモデル50へ入力するための所定の処理(AIモデル50が受け付けるデータ形式に変換するなど)を行った上で、AIモデル50へ撮影画像22を入力データとして引き渡す。
(basic operation)
A user (operator) who intends to perform identification work using this drug identification system 10 first captures the drug 12 (the area containing the drug 12 ) with the imaging device 20 to obtain a captured image 22 . Then, this photographed image 22 is input to the medicine identifying section 30 . The drug identification unit 30 performs predetermined processing (such as conversion into a data format accepted by the AI model 50) for inputting the captured image 22 to the AI model 50, and then transfers the captured image 22 to the AI model 50 as input data. hand over as

この薬剤識別システム10において用いられるAIモデル50とは、何らかの入力データを受け取ると、その入力データに対応した出力データを返すという、入出力関係を記述したモデルであり、いわば一種の関数のような働きを持つ。具体的には、AIモデル50は、撮影画像22を入力データとして受け取ると、その撮影画像22に写っている(含まれている)薬剤12の情報を出力データとして返す。このAIモデル50は、製品名、剤形、有効成分、効能など、薬剤12に係る様々な情報を出力データとして出力することが可能である。ここでは説明のため、薬剤12の製品名と、撮影画像22内に写っている数量が出力データとして出力されるものとする。 The AI model 50 used in the drug identification system 10 is a model that describes the input/output relationship such that when some input data is received, output data corresponding to the input data is returned. have a job Specifically, when the AI model 50 receives the captured image 22 as input data, the AI model 50 returns information about the drug 12 shown in (included in) the captured image 22 as output data. This AI model 50 can output various information related to the drug 12, such as product name, dosage form, active ingredient, efficacy, etc., as output data. Here, for the sake of explanation, it is assumed that the product name of the drug 12 and the quantity appearing in the photographed image 22 are output as output data.

このAIモデル50は学習データ記憶部60に記憶された学習データ62に基づいて作成されたものである。この学習データ62は、過去に撮影された撮影画像22と、その撮影画像22に写っていた薬剤12が何であったか、の情報とを一組の例示データとして、複数の例示データが蓄積されたものである。ここで、過去に撮影された撮影画像22においては薬剤12が様々な状態で(薬剤12の位置、距離、角度、包装状態、撮影時の照明条件、解像度、などが撮影画像22ごとに異なる状態で)写っている。言い換えると、学習データ記憶部60には、各種薬剤12がそれぞれ撮影画像22においてどのような姿で現れるのか、が学習データ62として記憶されている。 This AI model 50 is created based on the learning data 62 stored in the learning data storage unit 60 . The learning data 62 is obtained by accumulating a plurality of example data, each of which is a set of example data including the photographed image 22 photographed in the past and information about the drug 12 shown in the photographed image 22. is. Here, in the photographed images 22 photographed in the past, the medicine 12 is in various states (the position, distance, angle, packaging state, lighting conditions at the time of photographing, resolution, etc. of the medicine 12 are different for each photographed image 22). in) is in the picture. In other words, the learning data storage unit 60 stores, as the learning data 62, how the various medicines 12 appear in the photographed images 22, respectively.

このような学習データ62を基として作成されたAIモデル50は、様々な撮影条件で撮影された撮影画像22を入力データとして、その撮影画像22の中に含まれる薬剤12の情報を的確に出力することが可能である。 The AI model 50 created based on such learning data 62 uses as input data the photographed images 22 photographed under various photographing conditions, and accurately outputs the information of the drug 12 contained in the photographed images 22. It is possible to

そして、AIモデル50からの出力データを薬剤識別部30が受け取り、AIモデル50によって識別された、撮影画像22に写っている薬剤12の情報(ここでは製品名と数量)を識別結果としてモニタ14に表示する。このとき、撮影画像22に複数種類の薬剤12が写っているならば、薬剤識別部30はそれら複数種類の薬剤12の全てについて識別を行うことが可能である。また同一種類の薬剤12については、撮影画像22に写っているその薬剤12がどれだけの数量であるかについて識別することも可能である。そしてモニタ14は、撮影画像22に写っている複数種類の薬剤12それぞれについて、種類(例えば製品名)や数量の情報を表示することが可能である。例えば識別対象の薬剤12が図1に示されている錠剤12a単体および錠剤PTPシート12bの場合、錠剤12aの製品名が「ExampleX 5mg」、錠剤PTPシート12bの製品名が「ExampleA 1mg」であるとすると、モニタ14には「<薬剤1:製品名/ExampleX 5mg、数量/1錠>-<薬剤2:製品名/ExampleA 1mg、数量/1シート>」といった情報が表示される。なおこうした識別結果の表示は、撮影画像22と共に表示されてもよい。特に、撮影画像22内の薬剤と、その薬剤の識別結果表示とが重ね合わされて、一種のAR画像として表示されてもよい。 Then, the drug identification unit 30 receives the output data from the AI model 50, and the information (here, product name and quantity) of the drug 12 identified in the captured image 22 identified by the AI model 50 is used as the identification result on the monitor 14. to display. At this time, if multiple types of drugs 12 are shown in the photographed image 22 , the drug identification unit 30 can identify all of the multiple types of drugs 12 . In addition, it is also possible to identify the quantity of the medicines 12 of the same kind shown in the photographed image 22 . The monitor 14 can display information on the type (for example, product name) and quantity for each of the multiple types of medicines 12 shown in the captured image 22 . For example, when the drug 12 to be identified is the single tablet 12a and the tablet PTP sheet 12b shown in FIG. 1, the product name of the tablet 12a is "ExampleX 5mg" and the product name of the tablet PTP sheet 12b is "ExampleA 1mg". Then, the monitor 14 displays information such as "<Drug 1: Product name/ExampleX 5 mg, quantity/1 tablet>-<Drug 2: Product name/ExampleA 1 mg, quantity/1 sheet>". The display of such identification results may be displayed together with the captured image 22 . In particular, the medicine in the captured image 22 and the identification result display of the medicine may be superimposed and displayed as a kind of AR image.

(識別指標について)
以上が薬剤識別システム10の基本的な動作であるが、本実施形態の薬剤識別システム10においては、AIモデル50による識別以外に、「識別指標」を用いて薬剤12を識別することが可能となっている。識別指標とは、薬剤12または薬剤12を包装する薬剤包装に刻印や印刷などの形で記されたものであり、その薬剤12が何であるか、つまり薬剤12の識別情報を示すものである。なお、識別指標としてはバーコードや二次元コードのような光学マーク(光の屈折率、反射スペクトルなどの光学的性質の異なる複数の部分の組み合わせによって、符号化された情報を表示するもの)のほかに、製品名そのものや識別コード(例えば製薬会社の会社コードとその会社が定める製品コードからなる記号列)が文字列/記号列として記された表示を利用することができる。これらは示すべき情報がそのまま記されている(情報が符号化されていない)が、こうした表示も識別指標として用いることができる。具体的には、薬剤12自体に刻印された識別コードや、薬剤包装にその薬剤12の製品名がそのまま印刷された文字列(例えば「ExampleA 1mg」)や、薬剤包装に印刷されたバーコード(例えば医療用医薬品に表示することが求められている、日本工業規格X0509に規定するGS1データバー)などが識別指標として利用できる。
(Regarding identification index)
The above is the basic operation of the drug identification system 10. In the drug identification system 10 of the present embodiment, in addition to identification by the AI model 50, it is possible to identify the drug 12 using the "identification index". It's becoming The identification index is written in the form of engraving, printing, or the like on the drug 12 or the drug packaging that packages the drug 12, and indicates what the drug 12 is, that is, identification information of the drug 12. As an identification index, an optical mark such as a bar code or two-dimensional code (which displays encoded information by combining multiple parts with different optical properties such as light refractive index and reflection spectrum). In addition, a display in which the product name itself or an identification code (for example, a symbol string consisting of a company code of a pharmaceutical company and a product code determined by the company) is written as a character string/symbol string can be used. Although the information to be indicated is recorded as it is (the information is not coded), such display can also be used as an identification index. Specifically, an identification code stamped on the drug 12 itself, a character string printed with the product name of the drug 12 directly on the drug package (for example, "ExampleA 1mg"), or a barcode printed on the drug package ( For example, the GS1 data bar specified in Japanese Industrial Standard X0509, which is required to be displayed on prescription drugs, can be used as an identification index.

図2A-図2Fは、識別指標の具体例を示している。なお、薬剤および薬剤の包装にはこうした識別指標のほかに、製薬会社の企業ロゴ、包装のリサイクル種別マーク、薬効、用法などが表示されていることがあるが、ここではそれらを省略して識別指標のみを示す。図2Aは1錠の錠剤70a単体を示しており、この錠剤70aには、その表面に「XY123」という識別コード71aが刻印されている。図2Bは図2Aの錠剤70aを包装するPTPシートの一部(2錠分)が切り離されたPTPシート一片73aを示しており、このPTPシート一片73aには、錠剤70aが配置される位置の近くに識別コード71aが印刷されているほか、「ExampleA 1mg」という製品名72aがそのまま文字列として印刷されている。 2A-2F show specific examples of identification indices. In addition to these identification indicators, drugs and drug packaging may display the corporate logo of the pharmaceutical company, the recycling type mark on the packaging, efficacy, and directions for use, but these are omitted here for identification. Shows indicators only. FIG. 2A shows a single tablet 70a, and this tablet 70a has an identification code 71a "XY123" stamped on its surface. FIG. 2B shows a PTP sheet piece 73a from which a portion (for two tablets) of the PTP sheet packaging the tablets 70a in FIG. 2A has been cut off. An identification code 71a is printed nearby, and a product name 72a of "ExampleA 1mg" is printed as it is as a character string.

図2Cは図2BのPTPシート一片73aが切り離される前の、PTPシート75a(10錠分)の全体を示している。図2Bと同じく錠剤70aの近くに識別コード71aおよび製品名72aが印刷されているほか、PTPシート75aの端部(図中の上端部)にも製品名72aが印刷されている。 FIG. 2C shows the entire PTP sheet 75a (10 tablets) before the PTP sheet piece 73a of FIG. 2B is cut off. As in FIG. 2B, an identification code 71a and a product name 72a are printed near the tablet 70a, and the product name 72a is also printed on the edge of the PTP sheet 75a (upper edge in the drawing).

図2Dは図2Cに示されたPTPシート75aの裏側を示している。この裏側には、切り離し線で区切られた2錠分の領域ごとに製品名72aが印刷されているほか、PTPシート75aの端部(図中の下端部)にはバーコード76aが印刷されている。このバーコード76aは、線と空白の組み合わせにより所定桁数の数字を表している。なお、医療用医薬品に記すことが求められているGS1データバーの表す数字は通常10桁以上になるが、ここでは説明のために、バーコード76aは6桁の数字を表しているものとする。 FIG. 2D shows the back side of the PTP sheet 75a shown in FIG. 2C. On the back side, a product name 72a is printed for each area of two tablets separated by a separation line, and a bar code 76a is printed on the edge of the PTP sheet 75a (lower edge in the drawing). there is The bar code 76a represents a number with a predetermined number of digits by combining lines and blanks. The number represented by the GS1 data bar, which is required to be written on prescription drugs, is usually 10 digits or more, but for the sake of explanation, the bar code 76a represents a 6-digit number. .

図2Eは散剤70b(粉薬)がナイロン製のSP包装(Strip Package)によって包装された個別包装73bを示している。この個別包装73bには、散剤70bの識別コード71b(「ZZ789」)と、製品名72b(「ExampleB 10%」)と、バーコード76bが印刷されている。 FIG. 2E shows an individual package 73b in which a powder 70b (powder medicine) is packaged by a nylon SP package (Strip Package). The identification code 71b (“ZZ789”) of the powder 70b, the product name 72b (“ExampleB 10%”), and the bar code 76b are printed on this individual package 73b.

図2Fはカプセル剤70cを包装するPTPシートの一部(3錠分)が切り離されたPTPシート一片73cを示しており、このPTPシート一片73cには、カプセル剤70cの識別コード71c(「VW456」)と、製品名72c(「ExampleC 200」)と、バーコード76cが印刷されている。 FIG. 2F shows a PTP sheet piece 73c from which a portion (for three tablets) of the PTP sheet packaging the capsule 70c has been cut off. ”), a product name 72c (“ExampleC 200”), and a bar code 76c are printed.

図2A-図2Fに示されているような識別指標が示している識別情報はそれぞれ、薬剤情報(薬剤の情報)と対応付けられている。なお、製品名72a,72b,72cは識別指標であるとともに、それ自体が薬剤情報を表しているといえる。識別情報と薬剤情報との対応関係は薬剤識別システム10において管理されており、本実施形態においてはその対応関係が図3に示すような識別指標テーブル42として識別指標テーブル記憶部40に記憶されている。 Each piece of identification information indicated by the identification index as shown in FIGS. 2A to 2F is associated with drug information (information on drugs). Note that the product names 72a, 72b, and 72c are identification indexes and can be said to represent drug information themselves. The correspondence between identification information and drug information is managed by the drug identification system 10, and in this embodiment, the correspondence is stored in the identification index table storage unit 40 as an identification index table 42 as shown in FIG. there is

図3に識別指標テーブル42の一例を示す。ここでは図2A-図2Dの錠剤70aと、図2Eの散剤70bと、図2Fのカプセル剤70cと、について、識別情報と薬剤情報との対応関係が示されている。例えば錠剤70aについては、薬剤情報である製品名72a「ExampleA 1mg」に対して、識別情報として、バーコード76aの表す数字「123456」および識別コード71a「XY123」が対応付けられて(テーブル内で同じ行、すなわち同じレコードに属するデータとして)記憶されている。同様に、散剤70bについては、その製品名72b「ExampleB 10%」に対して、バーコード76bの表す数字「456789」および識別コード71b「ZZ789」が対応付けられて記憶されている。カプセル剤70cについては、その製品名72c「ExampleC 200」に対して、バーコード76cの表す数字「024680」および識別コード71c「VW456」が対応付けられて記憶されている。なお識別指標テーブル42はこれらの情報以外にも、「剤形」(薬剤の形状)や「包装」(どのように包装されるか)など、薬剤に関する様々な情報を含むことができる。 FIG. 3 shows an example of the identification index table 42. As shown in FIG. 2A-2D, the powder 70b of FIG. 2E, and the capsule 70c of FIG. 2F, the corresponding relationship between identification information and drug information is shown. For example, for the tablet 70a, the number "123456" represented by the bar code 76a and the identification code 71a "XY123" are associated as the identification information with the product name 72a "ExampleA 1 mg", which is the drug information (in the table, data belonging to the same row, i.e. the same record). Similarly, for the powder 70b, the product name 72b "ExampleB 10%" is associated with the number "456789" represented by the bar code 76b and the identification code 71b "ZZ789" and stored. For the capsule 70c, the product name 72c "ExampleC 200" is associated with the number "024680" indicated by the bar code 76c and the identification code 71c "VW456" and stored. In addition to this information, the identification index table 42 can include various information related to drugs such as "dosage form" (the shape of the drug) and "packaging" (how it is packaged).

識別指標テーブル42には当然ながら錠剤70a、散剤70b、カプセル剤70c以外にも多数の薬剤に関する情報が含まれる。特に医療用医薬品に関しては、識別対象となり得る製品全てについての情報が含まれていることが望ましい。こうした識別指標テーブル42は図1のAIモデル50とは無関係に用意されるものであり、製薬会社の各社が公的機関に提出した書類や公開しているデータ、あるいは製薬会社から提供されたデータを基に作成される。 The identification index table 42 naturally includes information on a large number of drugs other than tablets 70a, powders 70b, and capsules 70c. Especially for pharmaceuticals, it is desirable to include information on all products that can be identified. Such an identification index table 42 is prepared independently of the AI model 50 of FIG. Created on the basis of

錠剤70a、散剤70b、カプセル剤70c以外の薬剤の一例として、図3に示されている識別指標テーブル42には、製品名「ExampleX 5mg」の薬剤の情報が含まれている。この薬剤「ExampleX 5mg」は、「包装」が「1瓶 100錠」となっている通り、瓶詰めの錠剤である。薬剤「ExampleX 5mg」の識別指標として、数字「975310」を示すバーコードが瓶に付されているが、1錠単位の薬剤にはバーコードが付されていない。一方、識別コード「NM321」の文字列は各錠剤に刻印されている。識別指標テーブル42はこのほか、チューブ入りの軟膏薬や、アンプル入りの液状薬など、様々な形態の薬剤に関する情報を含むことができる。 As an example of drugs other than tablets 70a, powders 70b, and capsules 70c, the identification index table 42 shown in FIG. This drug "ExampleX 5 mg" is a bottled tablet, as indicated by the "packaging" of "100 tablets per bottle". As an identification index for the drug "ExampleX 5 mg", a bar code indicating the number "975310" is attached to the bottle, but the bar code is not attached to the drug in units of one tablet. On the other hand, a character string with the identification code "NM321" is engraved on each tablet. The identification index table 42 can also include information on various forms of drugs, such as ointments in tubes and liquid drugs in ampoules.

(識別指標を用いた識別)
本実施形態の薬剤識別システム10(図1)は、図2A-図2Fに示されているような識別指標と、図3に示されているような識別指標テーブル42を用いて、撮影画像22に含まれる薬剤12を識別することもできる。
(Identification using identification index)
The drug identification system 10 (FIG. 1) of the present embodiment uses an identification index as shown in FIGS. 2A to 2F and an identification index table 42 as shown in FIG. It is also possible to identify drugs 12 contained in .

すなわち、撮影対象の薬剤12または薬剤包装に識別指標が記されている場合には、薬剤識別システム10は、AIモデル50の出力データをそのまま識別結果とするのではなく、識別指標が示す識別情報から薬剤の情報を特定することで識別結果を得ることができる。例えばAIモデル50とは別に、薬剤識別部30が、文字やバーコードからなる識別指標を画像解析により撮影画像22から検出する検出機能を備えているならば、その検出機能によって得られた識別指標の示す識別情報を識別指標テーブル42と照合することで、AIモデル50を用いずに薬剤12の情報を得ることができる。 That is, when an identification index is written on the medicine 12 to be imaged or on the medicine package, the medicine identification system 10 does not use the output data of the AI model 50 as the identification result as it is, but rather the identification information indicated by the identification index. Identification results can be obtained by specifying drug information from the For example, in addition to the AI model 50, if the drug identification unit 30 has a detection function for detecting an identification index made up of characters or barcodes from the photographed image 22 by image analysis, the identification index obtained by the detection function By comparing the identification information indicated by , with the identification index table 42, information on the drug 12 can be obtained without using the AI model 50. FIG.

つまり、識別指標の検出および読み取りはAIモデル50とは別の画像解析プログラムによって行われてもよい。識別指標(バーコードや文字列など)の存在する部分を検出し、その部分のみに着目して読み取ることに特化した画像解析プログラムは、識別対象の外観全体から識別を行うAIモデル50に比べて、撮影条件によっては(例えば全体的に照明が暗いがバーコード部分のみ明るくなっている場合などには)AIモデル50よりも精度の高い識別を行えることがある。 In other words, the detection and reading of the identification index may be performed by an image analysis program separate from the AI model 50. An image analysis program that specializes in detecting a part where an identification index (barcode, character string, etc.) exists and reading it by focusing on only that part is compared to the AI model 50 that identifies from the entire appearance of the identification target. Therefore, depending on the photographing conditions (for example, when the overall lighting is dark but only the barcode portion is bright), identification with higher accuracy than the AI model 50 may be possible.

ただしAIモデル50によっても、撮影画像22に含まれている識別指標を検出することは可能である。すなわち、AIモデル50は、撮影画像22に写っている薬剤12について、識別指標以外の姿(輪郭の形状、色彩など)に基づく識別を行うとともに、識別指標の有無についても判定することができる。AIモデル50は、識別指標が撮影画像22に含まれていると判定したならば、その識別指標に対応する薬剤12の識別情報を薬剤識別部30へ通知する。そして薬剤識別部30が、通知された識別情報を識別指標テーブル42と照合することで、AIモデル50を用いつつ識別指標に基づく薬剤12の識別が行われる。 However, the AI model 50 can also detect the identification index included in the captured image 22 . That is, the AI model 50 can identify the drug 12 shown in the photographed image 22 based on the appearance (contour shape, color, etc.) other than the identification index, and can also determine the presence or absence of the identification index. When the AI model 50 determines that the identification index is included in the photographed image 22, the AI model 50 notifies the identification information of the medicine 12 corresponding to the identification index to the medicine identifying section 30. FIG. Then, the medicine identification unit 30 compares the notified identification information with the identification index table 42 to identify the medicine 12 based on the identification index while using the AI model 50 .

以上のようにして識別情報に基づいて薬剤12の情報が得られたならば、識別情報に基づいて得られた薬剤12の情報を識別結果としてモニタ14へ表示するとともに、その識別結果と撮影画像22を組み合わせて学習データ記憶部60に送信する。具体的には図4に示すような、薬剤撮影例データ32a,32bを作成して学習データ記憶部60に送信する。この場合、つまり画像解析プログラムやAIモデル50によって識別指標が検出されたら、その識別指標の示す識別情報に基づく識別が、AIモデル50による識別結果よりも優先されることになる。 When the information of the drug 12 is obtained based on the identification information as described above, the information of the drug 12 obtained based on the identification information is displayed on the monitor 14 as the identification result, and the identification result and the photographed image are displayed. 22 are combined and transmitted to the learning data storage unit 60 . Specifically, drug imaging example data 32a and 32b as shown in FIG. In this case, that is, when the identification index is detected by the image analysis program or the AI model 50 , the identification based on the identification information indicated by the identification index is prioritized over the identification result by the AI model 50 .

(学習データの更新)
薬剤撮影例データ32a,32bには薬剤識別部30が識別情報に基づいて識別した薬剤12の情報と、そのときに識別対象の薬剤12を撮影した撮影画像22とが含まれる。例えば識別対象が図1に示すような1錠の錠剤12a単体と1枚の錠剤PTPシート12bであったならば、図4に示すように、「製品名がExampleA 1mgの薬剤が1シート(10錠)写っている撮影画像」という情報を表す薬剤撮影例データ32aと、「製品名がExampleX 5mgの薬剤が1錠写っている撮影画像」という情報を表す薬剤撮影例データ32bとを薬剤識別部30が作成し、これらの薬剤撮影例データ32a,32bを学習データ記憶部60へ送信する。なお、ここでは撮影画像22を「ExampleA 1mgが1シート」写っている薬剤撮影例データ32aと、「ExampleX 5mgが1錠」写っている薬剤撮影例データ32bとに切り分けているが、撮影画像22の全体を「ExampleA 1mgが1シートと、ExampleX 5mgが1錠」が写っている薬剤撮影例データとして学習データ記憶部60へ送信してもよい。
(Update learning data)
The drug imaging example data 32a and 32b include information on the drug 12 identified by the drug identification unit 30 based on the identification information, and a photographed image 22 of the drug 12 to be identified at that time. For example, if the objects to be identified are one tablet 12a alone and one tablet PTP sheet 12b as shown in FIG. 1, as shown in FIG. A drug identification unit stores drug photographing example data 32a representing information "a photographed image showing a tablet" and drug photographing example data 32b representing information "a photographed image showing one tablet of ExampleX 5 mg drug with product name". 30 creates and transmits these drug imaging example data 32 a and 32 b to the learning data storage unit 60 . Here, the photographed image 22 is divided into drug photographed example data 32a showing "one sheet of Example A 1 mg" and drug photographed example data 32b showing "one tablet of Example X 5 mg". may be sent to the learning data storage unit 60 as drug imaging example data in which "Example A 1 mg is 1 sheet and Example X 5 mg is 1 tablet".

学習データ記憶部60は、薬剤識別部30から薬剤撮影例データ32a,32bを受信すると、薬剤撮影例データ32a,32bを基に学習データ62を更新する。具体的には、薬剤撮影例データ32a,32bに含まれている薬剤12の情報(どのような薬剤が撮影されたか)と、撮影画像22の情報(どのような画像であるか)の組み合わせを、「この薬剤12(ここでは「ExampleA 1mg」および「ExampleX 5mg」)は撮影画像22においてこのような姿で現れることがある」という一例として記憶する。 Upon receiving the drug imaging example data 32a and 32b from the drug identification unit 30, the learning data storage unit 60 updates the learning data 62 based on the drug imaging example data 32a and 32b. Specifically, the combination of the information of the medicine 12 (what kind of medicine was photographed) included in the medicine photographing example data 32a and 32b and the information of the photographed image 22 (what kind of image it is) is , ``this drug 12 (here, ``ExampleA 1mg'' and ``ExampleX 5mg'') may appear in such a form in the photographed image 22" is stored as an example.

学習データ62が更新されたら、その更新後の学習データ62に基づき所定のタイミングでAIモデル50が再作成(教育)される。この再作成は、薬剤識別システム10の動作に支障をきたさないタイミングで行われることが望ましい。例えば学習データ記憶部60自身がAIモデル50の再作成を行うことができ、その再作成にそれほど時間がかからないのであれば、学習データ62が更新される度にAIモデル50が再作成されてもよい。一方、AIモデル50の再作成に要する時間が長く、さらにその再作成作業中には薬剤識別システム10が利用できなくなるような場合には、薬剤識別システム10が稼働していないとき(システム停止中)にAIモデル50の再作成が行われることが好ましい。例えば再作成のためには学習データ62を解析する外部機器(図1に示す構成要素とは別の機器)を薬剤識別システム10に接続する必要があり、その間はAIモデル50が利用できなくなるような場合には、システム停止中での再作成が望まれる。これ以外にも、再作成のタイミングは様々に設定することができ、例えば前回の再作成から所定の期間が経過したとき、学習データ62がある程度蓄積されたとき(学習データ62の更新が所定の回数行われたとき、更新により追加されたデータ量が所定量を上回ったときなど)といったタイミングでもよい。 After the learning data 62 is updated, the AI model 50 is recreated (educated) at a predetermined timing based on the updated learning data 62 . This re-creation is desirably performed at a timing that does not interfere with the operation of the drug identification system 10 . For example, if the learning data storage unit 60 itself can recreate the AI model 50 and the recreating does not take much time, the AI model 50 can be recreated every time the learning data 62 is updated. good. On the other hand, if the time required to re-create the AI model 50 is long and the drug identification system 10 becomes unavailable during the re-creation work, the drug identification system 10 is not operating (the system is stopped). ), the AI model 50 is preferably recreated. For example, for re-creation, it is necessary to connect an external device (device different from the components shown in FIG. 1) that analyzes the learning data 62 to the drug identification system 10, and the AI model 50 cannot be used during that time. In such a case, it is desirable to re-create it while the system is stopped. In addition to this, the timing of re-creation can be set variously, for example, when a predetermined period has passed since the previous re-creation, when learning data 62 has accumulated to some extent (learning data 62 is updated after a predetermined The timing may be, for example, when the update has been performed a number of times, or when the amount of data added by the update exceeds a predetermined amount.

更新後の学習データ62を基に再作成されたAIモデル50は、再作成前のAIモデル50よりも、撮影画像22に写っている薬剤12を識別する能力が高くなる。例えば図4の薬剤撮影例データ32aにはPTPシートの裏側が写っており薬剤単体の姿は現れておらず、さらに製品名の文字も小さくて読み取り困難であるが、バーコードは読み取り可能な状態になっている。このため薬剤識別部30はバーコードの示す識別情報を基に、この撮影画像は「ExampleA 1mg」が写ったものであると特定することができる。このときの薬剤撮影例データ32aを用いて学習データ62が更新され、それを基にAIモデル50が再作成(教育)されると、AIモデル50は今後、入力された撮影画像に薬剤単体の姿は現れておらず製品名も読み取り困難な場合にも、薬剤撮影例データ32aに類似した撮影画像であれば「ExampleA 1mg」が写っていると識別することが可能になる。 The AI model 50 recreated based on the updated learning data 62 has a higher ability to identify the drug 12 appearing in the captured image 22 than the AI model 50 before recreation. For example, in the drug photographing example data 32a in FIG. 4, the back side of the PTP sheet is shown, and the figure of the drug itself is not shown. It has become. Therefore, based on the identification information indicated by the bar code, the drug identification unit 30 can identify that the photographed image contains "ExampleA 1mg". When the learning data 62 is updated using the medicine photographing example data 32a at this time, and the AI model 50 is recreated (educated) based on it, the AI model 50 will be able to store the medicine alone in the input photographed image from now on. Even if the product name does not appear and it is difficult to read the product name, it is possible to identify that "ExampleA 1mg" is captured in the photographed image similar to the medicine photographed example data 32a.

また、個別の薬剤12a,12bに関する薬剤撮影例データ32a,32bが数多く蓄積されることにより、その情報が反映されたAIモデル50は、複数の薬剤12が写っている撮影画像22に対して、その中に個別の薬剤12a,12bがそれぞれ写っていることを識別できるようになる。つまり、個別の薬剤12a,12bに関する薬剤撮影例データ32a,32bを収集することで、複数の薬剤12を同時に識別することも可能になる。その一方で、撮影画像22が個別の薬剤12a,12bに関する薬剤撮影例データ32a,32bとして切り分けられずに、「複数の薬剤が写っている薬剤撮影例データ」という形で蓄積された場合にも、その薬剤撮影例データに類似する撮影画像に対して、複数の薬剤に関する識別を精度よく素早く行うことが可能になる。 In addition, by accumulating a large amount of medicine photographing example data 32a and 32b regarding individual medicines 12a and 12b, the AI model 50 in which the information is reflected is able to: It becomes possible to identify that the individual medicines 12a and 12b are shown therein. In other words, it is possible to identify a plurality of drugs 12 at the same time by collecting the drug imaging example data 32a and 32b regarding individual drugs 12a and 12b. On the other hand, even if the photographed image 22 is not segmented as medicine photographing example data 32a and 32b relating to individual medicines 12a and 12b, and is accumulated in the form of "pharmaceutical photographing example data showing a plurality of medicines". , it is possible to accurately and quickly identify a plurality of medicines in photographed images similar to the medicine photographing example data.

(薬剤識別システムによる識別の手順)
図5に、図1の薬剤識別システム10によって行われる薬剤12の識別および学習データ62の更新の手順をフローチャートとして示す。まず、ユーザが撮影した撮影画像22が、薬剤識別部30に入力される(ステップS01)。薬剤識別部30は入力された撮影画像22の画像認識を開始し(ステップS02)、AIモデル50またはそれとは別の検出機能によって、撮影画像22内に識別指標が含まれているかどうかを判定する(ステップS03)。
(Procedure for identification by drug identification system)
FIG. 5 shows a flow chart of procedures for identifying the drug 12 and updating the learning data 62 performed by the drug identification system 10 of FIG. First, the photographed image 22 photographed by the user is input to the medicine identifying section 30 (step S01). The drug identification unit 30 starts image recognition of the input photographed image 22 (step S02), and determines whether or not the photographed image 22 includes an identification index by the AI model 50 or a different detection function. (Step S03).

撮影画像22内に識別指標が含まれていた場合(ステップS03-YES)、薬剤識別部30はその識別指標が示す識別情報に基づいて、識別指標テーブル記憶部40の識別指標テーブル42から、撮影画像22内の薬剤12に関する情報(薬剤情報)を取得し(ステップS04)、その薬剤情報を識別結果とする。そして薬剤識別部30は撮影画像22および取得した薬剤情報を基に、薬剤撮影例データ32a,32bを作成し(ステップS05)、それを学習データ記憶部60へ送信する(ステップS06)。薬剤撮影例データ32a,32bを受信した学習データ記憶部60は、その薬剤撮影例データ32a,32bを基に学習データ62を更新する(ステップS07)。 If the photographed image 22 contains an identification index (step S03-YES), the drug identification unit 30 extracts the photographed image from the identification index table 42 of the identification index table storage unit 40 based on the identification information indicated by the identification index. Information (drug information) on the drug 12 in the image 22 is obtained (step S04), and the drug information is used as the identification result. Based on the captured image 22 and the obtained drug information, the drug identification unit 30 creates drug imaging example data 32a and 32b (step S05), and transmits it to the learning data storage unit 60 (step S06). The learning data storage unit 60 that has received the drug imaging example data 32a and 32b updates the learning data 62 based on the drug imaging example data 32a and 32b (step S07).

一方、撮影画像22内に識別指標が含まれていなかった場合(ステップS03-NO)、撮影画像22を入力データとして受け取ったAIモデル50が出力データとして返す薬剤情報を識別結果とする(ステップS08)。 On the other hand, if no identification index is included in the photographed image 22 (step S03-NO), the medicine information returned as output data by the AI model 50 that received the photographed image 22 as input data is used as the identification result (step S08). ).

そして薬剤識別部30は、ステップS04またはステップS08において得られた識別結果をモニタ14へ送信する。識別結果を受信したモニタ14は、その識別結果をユーザに対して表示する(ステップS09)。 Then, drug identification unit 30 transmits the identification result obtained in step S04 or step S08 to monitor . The monitor 14 that has received the identification result displays the identification result to the user (step S09).

以上のようにして、ユーザが撮影対象とした薬剤12について、識別結果がモニタ14へ表示されるとともに、識別指標が撮影画像22に含まれていれば、学習データ62の更新が行われる。この薬剤識別システム10によれば、過去の様々な条件下において撮影された撮影画像22が蓄積された学習データ62に基づいてAIモデル50が作成され、そのAIモデル50を用いて識別が行われる。そのため、薬剤識別システム10は、様々な姿勢の薬剤12(例えば図1に示す錠剤PTPシート12bのような、斜め向きになっている薬剤12またはそれを含む薬剤包装)について、その姿勢のまま識別を行うことができる。したがって特許文献1に記載された従来の秤量装置で行われるような、薬剤12を適正な撮像条件下に置くという作業を行わなくとも識別が可能であるので、ユーザは手軽に識別を行うことができる。「適正な撮像条件に置く」ことの例を一つ挙げると、従来技術では撮影画像22において薬剤12の背景色が特定の色(典型的には黒)に統一される必要があった。これは、「画像中のどこからどこまでが薬剤なのか」の検出、つまり薬剤の輪郭(エッジ)の検出を行うにあたり、従来技術で背景色を特定の色に統一することで、その色と異なる部分を薬剤の存在領域として検出できるようにする必要があった。これに対し、本実施形態で使用されるような、十分に教育されたAIモデル50であれば、画像の背景がどのような色であっても(複数の色や物体が写り込んでいても)エッジを検出することが可能であり、背景色を統一する作業(例えば予め準備された黒一色のマット上に薬剤12を配置する作業)が必要なくなる。 As described above, the identification result of the drug 12 taken by the user is displayed on the monitor 14, and if the identification index is included in the captured image 22, the learning data 62 is updated. According to this drug identification system 10, an AI model 50 is created based on learning data 62 in which captured images 22 captured under various past conditions are accumulated, and identification is performed using the AI model 50. . Therefore, the medicine identification system 10 can identify medicines 12 in various postures (for example, medicines 12 that are obliquely oriented, such as the tablet PTP sheet 12b shown in FIG. 1, or medicine packages containing the medicines) without changing their postures. It can be performed. Therefore, identification is possible without performing the work of placing the medicine 12 under appropriate imaging conditions, which is performed by the conventional weighing device described in Patent Document 1, so that the user can easily identify the medicine. can. To give an example of "putting in proper imaging conditions", in the prior art, the background color of the drug 12 in the captured image 22 had to be uniformed to a specific color (typically black). This is the detection of ``from where to where is the drug in the image'', that is, to detect the contour (edge) of the drug. was required to be able to be detected as an area in which the drug exists. On the other hand, a well-educated AI model 50, such as that used in this embodiment, will be ) edges can be detected, and the task of unifying the background color (for example, the task of arranging the medicine 12 on a black solid mat prepared in advance) is not required.

また撮影画像22に識別指標が含まれていれば、ユーザの作業としては薬剤12を撮影するだけで学習データ62の更新が行われることになるため、薬剤12に関して専門的な知識(正確な薬剤情報)を持たないユーザであっても、学習データ62の更新(蓄積)に寄与することができる。また薬剤識別の過程で撮影される撮影画像22を学習データ62の一部として蓄積することが可能であり、何度も薬剤識別が行われることでAIモデル50による識別の精度を高めていくことが可能となっている。 Further, if the photographed image 22 contains an identification index, the learning data 62 is updated simply by photographing the drug 12 as the user's work. Information) can contribute to updating (accumulating) the learning data 62 . In addition, it is possible to accumulate the photographed images 22 photographed in the process of drug identification as part of the learning data 62, and the accuracy of identification by the AI model 50 can be improved by repeatedly performing drug identification. is possible.

また識別指標が検出されなくともAIモデル50による識別は可能であるので、例えば一包化調剤されることにより製品名やバーコードがわからなくなった薬剤12についても、AIモデル50により薬剤12の外観、輪郭に基づいて識別を行うことができる。また識別指標としては薬剤12単体に施された製品コードの刻印を利用することも可能であるので、薬剤包装から取り出された薬剤12単体についても識別を行うことができるほか、医療用医薬品以外の、バーコードの付いていない市販薬も識別できる。なお、識別コードはメーカが独自に定めるものであるので、異なる薬剤に同じ識別コードが割り当てられることもあるが、そのような場合でも剤形、色彩、割線の有無で区別できることが多く、識別コードの読み取りとAIモデル50による形状識別とを組み合わせることで精度の高い識別を行うことが可能である。 In addition, even if the identification index is not detected, the AI model 50 can still identify the medicine 12. For example, the AI model 50 can detect the appearance of the medicine 12 for which the product name and bar code are unknown due to being dispensed in one package. , the identification can be done on the basis of contours. In addition, since it is possible to use the product code imprinted on the drug 12 alone as an identification index, it is possible to identify the drug 12 alone taken out of the drug package, and also to identify drugs other than medical drugs. , it can also identify over-the-counter drugs that do not have barcodes. Since the identification code is determined independently by the manufacturer, the same identification code may be assigned to different drugs. By combining the reading of and shape identification by the AI model 50, highly accurate identification can be performed.

(ネットワークを介したシステム)
図6は、複数のローカル機器86がネットワーク82を介してメイン機器84へとアクセスする形態の薬剤識別システム80を示している。この薬剤識別システム80においては、ユーザが直接操作するのはローカル機器86である。ローカル機器86はそれぞれ異なる形態の機器であってもよく、図6においてはローカル機器86の例として、スマートフォン86a、調剤鑑査装置86b(調剤薬局などに据え付けで設置される機器)、デスクトップPC86cが示されている。なお、図中ではこれら各ローカル機器86がネットワーク82に対して線で結ばれているが、実際には無線通信によってメイン機器84へのアクセスを行うものであってもよい。
(system via network)
FIG. 6 shows a drug identification system 80 in which multiple local devices 86 access a main device 84 via network 82 . In this drug identification system 80, it is the local device 86 that the user directly operates. The local devices 86 may be devices of different forms, and FIG. 6 shows a smartphone 86a, a dispensing inspection device 86b (equipment installed in a dispensing pharmacy or the like), and a desktop PC 86c as examples of the local devices 86. It is In the drawing, each of these local devices 86 is connected to the network 82 by a line, but in reality, access to the main device 84 may be performed by wireless communication.

また、ネットワーク82にはメイン機器84が接続されている。メイン機器84は各ローカル機器86がネットワーク82を介してアクセスする対象となる機器(サーバ装置など)であり、図6に示すように、学習データ62を記憶する学習データ記憶部60と、この学習データ62を基に作成されたメインAIモデル52とを有している。メインAIモデル52は図1の薬剤識別システム10におけるAIモデル50と同じく、薬剤が撮影画像においてどのような姿で現れるのかについての情報が蓄積された学習データ62を基に作成されたものであり、撮影画像を入力データとして、それに対応する薬剤情報を出力データとして返す機能を有する。 A main device 84 is also connected to the network 82 . The main device 84 is a target device (such as a server device) to which each local device 86 accesses via the network 82. As shown in FIG. and a main AI model 52 created based on the data 62 . The main AI model 52, like the AI model 50 in the drug identification system 10 shown in FIG. , has a function of using a photographed image as input data and returning corresponding drug information as output data.

各ローカル機器86はそれぞれ、図1の薬剤識別システム10における薬剤識別部30に相当する機能を備えている。例えば薬剤識別機能を提供する識別アプリケーションをローカル機器86へインストールすることで、ローカル機器86の演算器(CPUやプロセッサ)を薬剤識別部30として利用することが可能になる。また、各ローカル機器86にはそれぞれローカルAIモデル56が組み込まれている。例えば前述の識別アプリケーションにローカルAIモデル56を構成するデータが含まれていれば、ローカル機器86にローカルAIモデル56が組み込まれた状態となる。ローカルAIモデル56を構成するデータは例えば、識別アプリケーションのインストール時やアップデート時に、メイン機器84からその時点でのメインAIモデル52のデータを受信することで入手できる。 Each local device 86 has a function corresponding to the drug identification unit 30 in the drug identification system 10 of FIG. For example, by installing an identification application that provides a drug identification function in the local device 86 , it becomes possible to use the calculator (CPU or processor) of the local device 86 as the drug identification unit 30 . Also, each local device 86 incorporates a local AI model 56 . For example, if the identification application described above contains data that configures the local AI model 56 , the local device 86 will be in a state in which the local AI model 56 is incorporated. The data constituting the local AI model 56 can be obtained by receiving the current data of the main AI model 52 from the main device 84 at the time of installation or update of the identification application, for example.

ローカルAIモデル56もメインAIモデル52と同じく、撮影画像を入力データとして、それに対応する薬剤情報を出力データとして返す機能を有する。また図6には図示しないが、各ローカル機器86には薬剤の画像を撮影する機能も備わっている。例えばスマートフォン86aおよび調剤鑑査装置86bであればこれらに組み込まれたカメラが、デスクトップPC86cであればUSB接続などにより外付けされるカメラが、薬剤の撮影画像を得る手段となる。 As with the main AI model 52, the local AI model 56 also has a function of returning a photographed image as input data and corresponding drug information as output data. Although not shown in FIG. 6, each local device 86 also has a function of taking an image of the drug. For example, in the case of the smart phone 86a and the dispensing inspection device 86b, the cameras incorporated therein are used, and in the case of the desktop PC 86c, the camera externally attached via a USB connection or the like serves as means for obtaining the photographed image of the medicine.

各ローカル機器86はローカルAIモデル56を用いることにより、自身で撮影した撮影画像に関して、それに写っている(含まれる)薬剤の識別を行うことができるほか、撮影画像に識別指標が含まれているか否かを判定し、識別指標が含まれていればそれが示す識別情報を基に薬剤の識別を行うことができる。以下、一例として、スマートフォン86aがローカル機器86として機能する場合の薬剤識別システム80の働きについて説明するが、システムの構成要素間でのデータの入出力においてネットワーク82を経由することがある以外は基本的に図5のフローチャートと同じ流れで薬剤識別が行われる。 By using the local AI model 56, each local device 86 can identify the drug shown (included) in the photographed image taken by itself, and whether the photographed image contains an identification index. If the identification index is included, it is possible to identify the medicine based on the identification information indicated by the identification index. Hereinafter, as an example, the function of the drug identification system 80 when the smartphone 86a functions as the local device 86 will be described. Drug identification is basically performed in the same flow as the flow chart of FIG.

ユーザがスマートフォン86aのカメラによって薬剤の撮影画像を撮影し、それをローカルAIモデル56へ入力した結果、ローカルAIモデル56が出力データとして薬剤情報を返したならば、その薬剤情報が識別結果としてスマートフォン86aの画面に表示される。また、撮影画像に識別指標が含まれていると判定された場合には、その識別指標に対応する識別情報に基づいて薬剤の識別が行われる。この識別情報に基づく薬剤の識別においては、図3の識別指標テーブル42に相当するデータが識別アプリケーションと共にスマートフォン86aへインストールされていれば、そのデータを用いて識別情報に対応した薬剤情報を得ることができる。あるいは図1の識別指標テーブル記憶部40に相当するものとして、図6に示すような、各種薬剤に関する薬剤情報が収録されている薬剤DB88a(DB:データベース)がネットワーク82に接続されているならば、スマートフォン86aは薬剤DB88aにネットワーク82を介してアクセスし、薬剤DB88a内のデータから、撮影した薬剤に関する情報を取得するようにしてもよい。 As a result of the user taking a photographed image of the drug with the camera of the smartphone 86a and inputting it to the local AI model 56, if the local AI model 56 returns drug information as output data, the drug information is used as the identification result on the smartphone. It is displayed on the screen of 86a. Further, when it is determined that the captured image contains an identification index, the medicine is identified based on the identification information corresponding to the identification index. In the identification of drugs based on this identification information, if data corresponding to the identification index table 42 of FIG. 3 is installed in the smartphone 86a together with an identification application, the data can be used to obtain drug information corresponding to the identification information. can be done. Alternatively, if a drug DB 88a (DB: database) containing drug information on various drugs as shown in FIG. , the smartphone 86a may access the drug DB 88a via the network 82 and acquire information about the taken drug from the data in the drug DB 88a.

識別指標を用いた薬剤の識別が行われた場合には、スマートフォン86aはそのときの撮影画像と識別結果(識別した薬剤の情報)とを組み合わせた薬剤撮影例データを作成し、ネットワーク82を介してメイン機器84へ送信する。なおこの送信は薬剤の識別後すぐに行う必要はなく、メイン機器84へアクセスする機会があったときに行えばよい。メイン機器84はスマートフォン86a(ローカル機器86)から送信された薬剤撮影例データに基づき、自身の学習データ記憶部60に記憶されている学習データ62を更新する。学習データ62が更新されたら、所定のタイミングでメインAIモデル52の再作成(教育)を行う。またその後、スマートフォン86aからローカルAIモデル56を更新する要請を受信した際には、再作成したメインAIモデル52のコピーデータをスマートフォン86aへ送信する。 When the drug is identified using the identification index, the smartphone 86a creates drug imaging example data by combining the captured image at that time and the identification result (information on the identified drug), and transmits the data via the network 82. to the main device 84. It should be noted that this transmission does not have to be performed immediately after identifying the drug, and may be performed when there is an opportunity to access the main device 84 . The main device 84 updates the learning data 62 stored in its own learning data storage unit 60 based on the drug imaging example data transmitted from the smartphone 86a (local device 86). After the learning data 62 is updated, the main AI model 52 is recreated (educated) at a predetermined timing. After that, when a request to update the local AI model 56 is received from the smartphone 86a, copy data of the recreated main AI model 52 is transmitted to the smartphone 86a.

ところで、メインAIモデル52は学習データ62の更新(蓄積)に従って識別能力が向上していくが、ローカルAIモデル56はモデル自体が更新されない限り識別能力が一定のままである。そのため、メインAIモデル52であれば入力された撮影画像に何が写っているか識別可能であっても、ローカルAIモデル56では識別できないという事態も起こり得る。そこで、ローカルAIモデル56による識別では撮影画像に含まれる薬剤を識別不能な(どのような薬剤が撮影画像に含まれているか特定できない)場合には、スマートフォン86aはネットワーク82を介してメイン機器84へアクセスし、そのときの撮影画像をメイン機器84へ送信して、その撮影画像に写っている薬剤について「問い合わせ」を行う。「問い合わせ」を受けたメイン機器84は、そのときの撮影画像をメインAIモデル52に入力することで、その撮影画像に写っている薬剤を識別し、その識別結果をスマートフォン86aへ送信することで「回答」を行う。このように、ローカル機器86であるスマートフォン86aからでも、ネットワーク82を介することでメインAIモデル52を用いた薬剤の識別を行うことが可能になっていることが好ましい。 By the way, the main AI model 52 improves in identification ability as the learning data 62 is updated (accumulated), but the identification ability of the local AI model 56 remains constant unless the model itself is updated. Therefore, even if the main AI model 52 can identify what appears in the input photographed image, a situation may occur in which the local AI model 56 cannot identify it. Therefore, when the identification by the local AI model 56 cannot identify the drug contained in the captured image (the type of drug contained in the captured image cannot be identified), the smartphone 86a is connected to the main device 84 via the network 82. , and transmits the photographed image at that time to the main device 84 to make an "inquiry" about the drug shown in the photographed image. The main device 84 that has received the "inquiry" inputs the photographed image at that time to the main AI model 52, identifies the drug shown in the photographed image, and transmits the identification result to the smartphone 86a. "Answer". In this way, it is preferable that the smart phone 86a, which is the local device 86, be able to identify drugs using the main AI model 52 via the network 82.

調剤鑑査装置86bやデスクトップPC86cといったその他の機器がローカル機器86として働く場合も、上記のスマートフォン86aの場合と同様のことが行われる。このように、薬剤識別システム80がネットワーク82を介して接続されたメイン機器84と複数のローカル機器86を有する場合には、メイン機器84は世間に大量に出回っているスマートフォン86aなどの多数のローカル機器86から薬剤撮影例データを収集することが可能となり、学習データ62の蓄積速度が向上することが見込まれる。なお、このように多数の機器から薬剤撮影例データを収集する際には、データ整合性の担保およびデータ解析の効率化のため、ローカル機器86が薬剤撮影例データに撮影日時、撮影場所、自身の端末識別番号などを付加してメイン機器84へ送るようにしてもよい。 When other devices such as the dispensing inspection device 86b and the desktop PC 86c work as the local device 86, the same operation as the smart phone 86a is performed. In this way, when the drug identification system 80 has a main device 84 and a plurality of local devices 86 connected via a network 82, the main device 84 is a multitude of local It is possible to collect drug imaging example data from the equipment 86, and it is expected that the accumulation speed of the learning data 62 will be improved. When collecting drug photography example data from a large number of devices in this way, in order to ensure data consistency and improve the efficiency of data analysis, the local device 86 stores the drug photography example data as the date and time of photography, the photography location, and the user. may be sent to the main device 84 by adding a terminal identification number or the like.

また、ローカル機器86に組み込まれたローカルAIモデル56を用いて撮影画像に含まれる薬剤を識別する場合には、ローカルAIモデル56のみによって薬剤の識別が可能であればローカル機器86はメイン機器84へアクセスする必要がないため、ネットワーク82を介した通信の頻度を最小限に抑えることができ、薬剤識別の平均速度が向上し、またシステム全体の通信量を抑えることができる。 Further, when identifying a drug contained in a photographed image using the local AI model 56 incorporated in the local device 86, if the drug can be identified only by the local AI model 56, the local device 86 is the main device 84 Since there is no need to access the network 82, the frequency of communication over the network 82 can be minimized, increasing the average speed of drug identification and reducing overall system traffic.

なお、各ローカル機器86は、撮影画像を得る手段、ネットワーク82へアクセスするための通信機能、および薬剤識別部30を搭載する一方で、ローカルAIモデル56を搭載しない構成であってもよい。この場合、各ローカル機器86は、上記の「問い合わせ」を行う場合と同様に、撮影画像をメイン機器84に送信し、メイン機器84のAIモデル52を利用して薬剤を識別する。撮影画像を受信したメイン機器84が、その撮影画像に関してAIモデル52による識別の結果となる出力データを各ローカル機器86に引き渡すことにより、各ローカル機器86における薬剤の識別が行われる。 It should be noted that each local device 86 may be configured to have means for obtaining a captured image, a communication function for accessing the network 82, and the drug identification unit 30, but not the local AI model 56. In this case, each local device 86 transmits the captured image to the main device 84 and uses the AI model 52 of the main device 84 to identify the medicine, in the same manner as in the above-described "inquiry". The main device 84 that has received the captured image passes output data resulting from identification by the AI model 52 regarding the captured image to each local device 86 , thereby identifying the drug in each local device 86 .

またネットワーク82には、メイン機器84とローカル機器86以外にも、様々な構成要素を接続することが可能である。図6には例として、処方箋DB88b、在庫DB88c、服薬管理DB88dがネットワーク82に接続された状態が示されている。 Various components other than the main device 84 and the local device 86 can be connected to the network 82 . FIG. 6 shows a state in which a prescription DB 88b, an inventory DB 88c, and a medication management DB 88d are connected to the network 82 as an example.

(調剤鑑査)
処方箋DB88bは、医師の判断により入力される処方箋情報を記憶するデータベースである。処方箋情報とは、病院などの医療機関において医師が患者を診断した結果、その患者に処方するべきものとして医師が判断した薬剤の情報である。いわゆる調剤薬局においては、患者が処方箋情報を記載した書面(処方箋)を提出することにより、その処方箋情報に基づいて薬剤が調剤されて患者に交付される。このときに、患者へ交付しようとする薬剤が本当に処方箋に記載された内容と一致するかどうかを確認する「調剤鑑査」の作業において、処方箋DB88bがネットワーク82に接続されていれば、薬剤識別システム80を利用することができる。すなわち、患者へ交付しようとする薬剤をスマートフォン86aや調剤鑑査装置86bのカメラなどで撮影し、交付しようとする薬剤を識別して、その識別結果を処方箋DB88bと照合することにより、処方箋情報に基づいて調剤された薬剤が本当に処方箋情報と合致しているかどうかを確認することができる。ここで、調剤される薬剤が複数ある場合には、薬剤識別システム80はそれら複数の薬剤をまとめて識別して、それら複数の薬剤の情報が種類も数量も全て処方箋情報と合致しているかどうかを判定することが好ましい。あるいは、薬剤識別システム80は複数回に分けて識別を行い、それらの識別結果の総合が処方箋情報と合致しているか否かを判定してもよい。
(Dispensing inspection)
The prescription DB 88b is a database that stores prescription information that is input according to the doctor's judgment. Prescription information is information on drugs that a doctor has judged to be prescribed to a patient as a result of a doctor's diagnosis of the patient at a medical institution such as a hospital. In a so-called dispensing pharmacy, when a patient submits a document (prescription) describing prescription information, a drug is dispensed and delivered to the patient based on the prescription information. At this time, if the prescription DB 88b is connected to the network 82 in the work of "prescription inspection" to confirm whether the drug to be delivered to the patient really matches the content described in the prescription, the drug identification system 80 are available. That is, the drug to be delivered to the patient is photographed by the smartphone 86a or the camera of the dispensing inspection device 86b, etc., the drug to be delivered is identified, and the identification result is collated with the prescription DB 88b. It is possible to check whether the drug dispensed by the patient really matches the prescription information. Here, when there are a plurality of drugs to be dispensed, the drug identification system 80 collectively identifies the plurality of drugs to determine whether the information of the plurality of drugs matches the prescription information in terms of type and quantity. is preferably determined. Alternatively, the drug identification system 80 may perform identification in a plurality of times and determine whether or not the synthesis of the identification results matches the prescription information.

(在庫管理)
在庫DB88cは、薬局において入庫した薬剤の情報と、出庫した薬剤の情報とに応じて変動する在庫情報を記憶するデータベースである。つまり在庫情報とは、その薬局に現在どのような薬剤が残っているはずであるかを表す情報である。在庫DB88cがネットワーク82に接続されていれば、薬局に現在どのような薬剤が残っているかを確認する作業、いわゆる棚卸しの際に、薬剤識別システム80を利用することができる。例えば、薬局に残っている薬剤を取り出す度にスマートフォン86aのカメラなどで撮影して識別を行い、全ての薬剤を取り出した時点でそれまでの識別結果の総合が在庫情報と合致するか否かを判定することで、在庫情報と、実際に残っている薬剤との間に差異が生じていないかを確認することができる。このとき、在庫情報に比べて実際に残っている薬剤が少なければ、薬剤を紛失している可能性があり、残っている薬剤が多ければ、記録に残らない形で余分に入庫したか、出庫するべき薬剤を出庫し忘れているといった可能性がある。薬剤識別システム80を利用することで、こうした不測の事態が生じている可能性を割り出すことができる。
(Inventory control)
The inventory DB 88c is a database that stores inventory information that fluctuates according to information on drugs received and information on drugs delivered from the pharmacy. In other words, inventory information is information that indicates what drugs should be left in the pharmacy at present. If the inventory DB 88c is connected to the network 82, the medicine identification system 80 can be used in the work of checking what kind of medicines are currently left in the pharmacy, so-called inventory. For example, every time a medicine left in the pharmacy is taken out, it is photographed by the camera of the smartphone 86a or the like to be identified, and when all the medicines are taken out, it is determined whether or not the synthesis of the identification results up to that point matches the inventory information. By making the determination, it is possible to check whether there is any discrepancy between the inventory information and the drugs actually remaining. At this time, if the number of drugs actually remaining is less than the inventory information, there is a possibility that the drugs have been lost. There is a possibility of forgetting to deliver the medicine that should be taken. By utilizing the drug identification system 80, it is possible to determine the likelihood that such an eventuality has occurred.

(服薬管理)
服薬管理DB88dは、患者に対して調剤された薬剤について、医療機関の指示する服薬スケジュールを管理するデータベースである。具体的には、調剤された薬剤の各種類について、調剤が行われた日時と、調剤された時点の全数量と、服薬1回あたりに消費すべき数量と、望ましい服薬頻度(毎食後など)が記録されており、これらの情報を基に、現在時刻においては調剤した薬剤はどれだけ残っている(どれだけ消費された)はずであるかを推定することが可能である。服薬管理DB88dがネットワーク82に接続されていれば、患者による服薬コンプライアンスの遵守状況を確認でき、服薬アドヒアランスの向上を図ることも可能である。すなわち、在宅介護の現場などにおいて、患者の手元に残っている薬剤を撮影して識別を行い、その識別結果と、服薬管理DB88dから推定される現在の残薬剤数とが合致するか否かを判定することで、患者が服薬スケジュール通りに薬剤を服薬しているかどうかを確認することができる。また、医療機関のスタッフは、患者が服薬スケジュール通りに薬剤を服薬していない場合には、なぜ服薬スケジュールに従わないのかを患者に問い、服薬スケジュールに従えない何らかの事情があるならば、その事情に合わせて服薬スケジュールを見直すなどすることで、服薬アドヒアランスの向上が見込まれる。
(Medication management)
The medication management DB 88d is a database for managing medication schedules instructed by medical institutions for medications dispensed for patients. Specifically, for each type of dispensed drug, the date and time when the drug was dispensed, the total amount at the time of dispensation, the amount to be consumed per dose, and the desired frequency of taking the drug (after each meal, etc.) is recorded, and based on this information, it is possible to estimate how much of the dispensed medicine should remain (how much has been consumed) at the current time. If the medication management DB 88d is connected to the network 82, it is possible to check the patient's medication compliance status and improve medication adherence. That is, at home nursing care sites, etc., the medicines remaining in the patient's hand are photographed and identified, and whether or not the identification result matches the current number of remaining medicines estimated from the medication management DB 88d is determined. By judging, it is possible to confirm whether or not the patient is taking the medicine according to the dosing schedule. In addition, if the patient is not taking the medication according to the medication schedule, the staff of the medical institution should ask the patient why they are not following the medication schedule, and if there is any reason why they cannot follow the medication schedule, By reviewing the medication schedule according to the time of day, improvement of medication adherence is expected.

(課金処理)
図6に示すような、ネットワーク82を介して構成された薬剤識別システム80を運営する管理者は、この薬剤識別システム80を利用するユーザに対して、その利用状況に応じて料金を請求(課金)することも可能である。例えばメインAIモデル52を利用した識別を行うとき、ローカルAIモデル56の更新を行うとき、処方箋DB88b、在庫DB88c、服薬管理DB88dにアクセスするときなど、ユーザがネットワーク82上のリソースを利用しようとする際に、そのリソース利用形態に応じて設定された料金を支払うことについて同意したユーザに対してのみリソースの利用を許可するといったことが可能である。
(Billing process)
An administrator who operates a drug identification system 80 configured via a network 82 as shown in FIG. ) is also possible. For example, when performing identification using the main AI model 52, when updating the local AI model 56, when accessing the prescription DB 88b, the inventory DB 88c, and the medication management DB 88d, the user attempts to use resources on the network 82. At that time, it is possible to permit the use of resources only to users who have agreed to pay a fee set according to the resource usage mode.

(識別センサ)
図1に示すような、本発明の薬剤識別システム10においては、ユーザが薬剤の識別を行うたびに学習データ62が更新されていき、その学習データ62を基に再作成(教育)されるAIモデル50の薬剤識別精度も、薬剤識別システム10の利用回数に従って向上していく。その結果としてある程度まで薬剤識別精度が向上したAIモデル50を薬剤識別センサに組み込むことで、高い薬剤識別精度を持つ薬剤識別センサを構築することができる。
(identification sensor)
In the drug identification system 10 of the present invention as shown in FIG. The drug identification accuracy of the model 50 also improves as the drug identification system 10 is used. As a result, by incorporating the AI model 50 with improved drug identification accuracy to some extent into the drug identification sensor, it is possible to construct a drug identification sensor with high drug identification accuracy.

図7に、薬剤識別センサ90の一例を概略的に示す。この薬剤識別センサ90は、基板91上に配置された演算素子93(CPU、プロセッサ、PLDなど)および記憶素子95(メモリ素子など)と、フレキシブルケーブル92を介して基板91に接続された画像撮影素子94(カメラなど)と、基板91と外部の機器とを接続するためのコネクタ98と、を有する。 An example of a drug identification sensor 90 is shown schematically in FIG. This drug identification sensor 90 includes an arithmetic element 93 (CPU, processor, PLD, etc.) and a memory element 95 (memory element, etc.) arranged on a substrate 91, and an image capturing device connected to the substrate 91 via a flexible cable 92. It has an element 94 (such as a camera) and a connector 98 for connecting the board 91 and an external device.

図1の薬剤識別システム10において薬剤の識別が繰り返されたことにより十分に蓄積された学習データ62に基づいて作成された(十分に教育された)AIモデル50のデータが、記憶素子95に記憶される。薬剤識別センサ90において、演算素子93と記憶素子95は、AIモデル50が組み込まれた処理部として機能する。この薬剤識別センサ90は、画像撮影素子94によって撮影された撮影画像を処理部において画像認識処理を行うことで、その撮影画像に含まれている薬剤の識別を行うことができる。具体的には、撮影画像を入力データとしてAIモデル50に渡し、AIモデル50が出力データとして返す薬剤の情報を識別結果とすればよい。その識別結果は、コネクタ98に接続されるモニタなどに表示させることができる。 The data of the AI model 50 created (sufficiently trained) based on the learning data 62 sufficiently accumulated by repeated drug identification in the drug identification system 10 of FIG. be done. In the drug identification sensor 90, the computing element 93 and the memory element 95 function as a processing section in which the AI model 50 is incorporated. The medicine identification sensor 90 can identify medicines contained in the photographed image by performing image recognition processing on the photographed image photographed by the image photographing device 94 in the processing unit. Specifically, a photographed image may be passed to the AI model 50 as input data, and drug information returned by the AI model 50 as output data may be used as the identification result. The identification result can be displayed on a monitor or the like connected to the connector 98 .

図7の薬剤識別センサ90は、図1の薬剤識別システム10において十分に蓄積された学習データ62に基づいて作成されたAIモデル50が組み込まれているため、非常に高い精度で薬剤の識別を行うことができる。また薬剤識別センサ90を構成する最低限の構成要素は画像撮影素子94と処理部(記憶素子95と演算素子93)のみであるので、薬剤識別センサ90の寸法は非常にコンパクトなものとすることができる。 Since the drug identification sensor 90 of FIG. 7 incorporates the AI model 50 created based on the learning data 62 sufficiently accumulated in the drug identification system 10 of FIG. 1, the drug can be identified with extremely high accuracy. It can be carried out. Also, since the minimum components constituting the drug identification sensor 90 are only the image capturing element 94 and the processing section (storage element 95 and arithmetic element 93), the dimensions of the drug identification sensor 90 should be very compact. can be done.

なお、薬剤識別センサ90に図1に示すような学習データ記憶部60を設けたり、識別指標に基づく薬剤の識別や学習データ62の更新を行わせたりすることも可能である。さらに、コネクタ98を介して薬剤識別センサ90を図6に示すようなネットワーク82へ接続することで、薬剤識別センサ90において更新された学習データあるいは薬剤識別センサ90において収集された薬剤撮影例データをメイン機器84へ送信して、薬剤識別センサ90によって行われた薬剤識別の結果を利用してメイン機器84の学習データ62を更新することも可能である。 It is also possible to provide the drug identification sensor 90 with a learning data storage unit 60 as shown in FIG. Furthermore, by connecting the drug identification sensor 90 to the network 82 shown in FIG. It is also possible to transmit to the main device 84 and update the learning data 62 of the main device 84 using the drug identification results performed by the drug identification sensor 90 .

(ユーザによるデータの確認と修正)
図1の実施形態においては、識別指標の示す識別情報に基づいて薬剤の識別が行われた場合には、その識別結果が撮影画像22と組み合わされて薬剤撮影例データ32a,32bが作成され、学習データ記憶部60へ送信されるが、薬剤撮影例データ32a,32bが学習データ記憶部60へ送信される前に、ユーザによってデータの確認と入力が行われてもよい。例えば、モニタ14は識別結果を表示するとともに、「確定」ボタンと「修正」ボタンも表示する。表示された識別結果が正しければ、ユーザは(マウスやタッチパネルなどの入力手段により)「確定」ボタンを選択して、識別結果が正しいことを薬剤識別部30へ伝える。表示された識別結果が間違っていれば、ユーザは「修正」ボタンを選択して、識別結果が間違っていることを薬剤識別部30へ伝えるとともに、(キーボードやタッチパネルなどの入力手段により)薬剤12の正しい情報を入力して薬剤識別部30へ伝える。薬剤識別部30は、「確定」ボタンが選択された場合には作成した識別結果が確定されたものとして、薬剤撮影例データ32a,32bをそのまま学習データ記憶部60へ送信する。「修正」ボタンが選択された場合には、識別結果をユーザが入力した正しい情報に修正し、それを撮影画像22と組み合わせて薬剤撮影例データ32a,32bを作成し直してから学習データ記憶部60へ送信する。このようにすれば、バーコードなどの識別指標の読み取り間違いがあったとしても、正しい情報を学習データ記憶部60へ送信することができる。なお、「正しいデータ」の入力においてユーザは、図2Bに示すような、薬剤または薬剤包装に記されている識別コード71aや製品名72aなどの、人間がそのまま読み取ることが可能な識別指標の表している識別情報を入力することも可能である。特に医療用医薬品においてはこうした文字列としての識別指標が薬剤包装などに記されていると共に、バーコード76a(図2D)の表す数字もバーコード76a付近に文字列として印刷されていることが多い。そのため、ユーザが薬剤に関する専門的な知識を持っていなくとも、「正しいデータ」を入力することが可能である。このように、ユーザによるデータの入力を行う場合にも、識別指標が示す識別情報が入力されることにより、識別情報に基づいて薬剤の識別が行われることになる。
(Confirmation and correction of data by the user)
In the embodiment of FIG. 1, when the medicine is identified based on the identification information indicated by the identification index, the identification result is combined with the photographed image 22 to create medicine photographing example data 32a and 32b. Although the drug imaging example data 32 a and 32 b are transmitted to the learning data storage unit 60 , the user may confirm and input the data before the drug imaging example data 32 a and 32 b are transmitted to the learning data storage unit 60 . For example, the monitor 14 displays the identification result and also displays the "Confirm" button and the "Correct" button. If the displayed identification result is correct, the user selects the "Confirm" button (using an input means such as a mouse or a touch panel) to inform the drug identification unit 30 that the identification result is correct. If the displayed identification result is incorrect, the user selects the "Correct" button to notify the drug identification unit 30 that the identification result is incorrect, and to input the drug 12 (using an input means such as a keyboard or touch panel). correct information is input and transmitted to the drug identification unit 30 . When the “Confirm” button is selected, the drug identification unit 30 determines that the generated identification result is confirmed, and transmits the drug imaging example data 32a and 32b to the learning data storage unit 60 as they are. When the "correction" button is selected, the identification result is corrected to the correct information input by the user, and combined with the photographed image 22 to recreate drug photographing example data 32a and 32b, and then the learning data storage unit 60. In this way, correct information can be sent to the learning data storage unit 60 even if the identification index such as the bar code is read incorrectly. In addition, in inputting the "correct data", the user inputs an identification indicator that can be read by humans, such as the identification code 71a and the product name 72a written on the drug or drug package as shown in FIG. 2B. It is also possible to enter the identification information In particular, in the case of medical drugs, such an identification index as a character string is written on the packaging of the drug, and in many cases, the number represented by the bar code 76a (FIG. 2D) is also printed as a character string near the bar code 76a. . Therefore, even if the user does not have specialized knowledge about drugs, it is possible to input "correct data". In this way, even when the user inputs data, the identification information indicated by the identification index is input, and the medicine is identified based on the identification information.

また、識別指標を用いずにAIモデル50による識別が行われた場合でも、ユーザによるデータの確認と入力を行わせることが可能である。例えば、上記の例と同様、AIモデル50による識別結果と共に「確定」ボタンと「修正」ボタンがモニタ14に表示される。そしてそれぞれのボタンについて、上記と同様に識別結果の確定または修正が行われ、確定または修正された識別結果と撮影画像22とが組み合わされて学習データ記憶部60へ送られる。また、識別指標が検出されず、AIモデル50によっても識別が不可能であった場合には、識別できなかったことを示す表示(「識別不能」など)と共に、「データ入力」ボタンがモニタ14に表示され、このボタンが押された場合にもユーザによって正しいデータの入力が行われてもよい。このようにすれば、AIモデル50による識別が行われた場合や、AIモデル50によっても識別指標によっても識別が不可能であった場合にも、そのときの撮影画像22を含んだ薬剤撮影例データ32a,32bを学習データ記憶部60へ送信することが可能になる。なお、この場合の「正しいデータ」の入力においては、ユーザは、識別指標が記されている箇所を撮影器20で撮影し直す(例えば最初の撮影がPTPシートの表側を写した場合には裏側を撮影し直す)、あるいは撮影器20とは別に設けられたバーコードリーダでバーコードを読み取るなどの方法で、識別対象となっている薬剤または薬剤包装に記されている識別指標を改めて薬剤識別部30へ検出させるようにしてもよい。また、薬剤の販売包装単位となる化粧箱に書かれた薬品名も一種の薬剤包装に記された識別指標であり、PTPシートなどの薬剤個別包装に記された識別指標が汚れなどにより読み取り困難な場合には、こうした化粧箱の識別指標が読み取られてもよい。また瓶詰めの薬剤であれば、その瓶に付されたバーコードなどの識別指標が読み取られてもよい。 Moreover, even if the AI model 50 identifies the object without using the identification index, it is possible to allow the user to confirm and input the data. For example, similar to the above example, the monitor 14 displays the identification result by the AI model 50 and the "confirm" button and the "correction" button. Then, for each button, the identification result is confirmed or corrected in the same manner as described above, and the confirmed or corrected identification result and the photographed image 22 are combined and sent to the learning data storage unit 60 . In addition, when the identification index is not detected and identification is impossible even by the AI model 50, a display indicating that identification was not possible (such as “identification impossible”) is performed, and the “data input” button is displayed on the monitor 14. , and the correct data may be entered by the user when this button is pressed. In this way, even when identification by the AI model 50 is performed, or when identification is not possible by the AI model 50 or by the identification index, an example of medicine photographing including the photographed image 22 at that time can be performed. Data 32a and 32b can be transmitted to the learning data storage unit 60. FIG. In this case, when inputting the "correct data", the user re-photographs the portion marked with the identification index with the camera 20 (for example, if the front side of the PTP sheet was first photographed, the back side of the PTP sheet is photographed). ), or by reading the barcode with a barcode reader provided separately from the imaging device 20, the identification index written on the drug to be identified or the drug package is reidentified. You may make it detect to the part 30. FIG. In addition, the drug name written on the cosmetic box, which is the sales packaging unit of the drug, is also a kind of identification index written on the drug packaging, and the identification index written on the individual drug packaging such as the PTP sheet is difficult to read due to stains. In such a case, the identification index of such a vanity case may be read. In the case of a bottled drug, an identification index such as a bar code attached to the bottle may be read.

(識別確信度の評価)
また、AIモデル50による識別が行われた場合には、その識別がどの程度信頼できるかの評価が行われてもよい。例えば入力された撮影画像22が過去の撮影画像とどの程度一致するかに応じて、識別結果をどの程度の確信を持って割り出しているかを表す「確信度」の値が算出されるようにすればよい。そして、この「確信度」が所定の閾値(例えば90%)を超えているならば、その識別結果を撮影画像22と組み合わせて学習データ記憶部60へ送るようにしてもよい(確信度が高ければ、AIモデル50による識別であっても薬剤撮影例データを作成する)。また、「確信度」が高くても低くても、その場合の識別結果が確信度の値と共にモニタ14に表示される。このときモニタ14には上記の「識別不能」の場合と同じく「データ入力ボタン」が表示され、特に確信度が低い場合には、ユーザが「正しいデータ」を入力すればよい。このようにすれば、ユーザは確信度が低い場合にのみ「正しいデータ」を入力すればよく、操作のわずらわしさが低減される。
(Evaluation of identification confidence)
Also, when identification by the AI model 50 is performed, an evaluation of how reliable the identification may be performed. For example, according to the degree to which the input photographed image 22 matches the past photographed image, a value of "certainty degree" representing the degree of certainty with which the identification result is determined can be calculated. Just do it. Then, if this "certainty degree" exceeds a predetermined threshold value (for example, 90%), the identification result may be combined with the photographed image 22 and sent to the learning data storage unit 60 (the higher the certainty degree, the For example, drug imaging example data is created even for identification by the AI model 50). Also, regardless of whether the "certainty factor" is high or low, the identification result in that case is displayed on the monitor 14 together with the confidence factor value. At this time, the "data input button" is displayed on the monitor 14 in the same manner as in the case of "unidentifiable", and the user can input "correct data" when the degree of certainty is particularly low. In this way, the user only has to input "correct data" when the degree of certainty is low, thereby reducing the troublesomeness of the operation.

(ユーザによるデータ入力の補助)
また、識別指標やAIモデル50による識別をそのまま識別結果とするのではなく、ユーザによるデータ入力の補助として識別指標やAIモデル50が用いられてもよい。例えば、データは基本的にユーザが手入力するものとされ、モニタ14に表示される入力欄にユーザがデータを記入することでデータの入力が行われるようになっていてもよい。その一方で、識別指標やAIモデル50による識別が行われると、その識別結果のデータが自動的に入力欄へ挿入される。ユーザはその自動的に挿入されたデータを確認して、必要に応じて修正した上で確定することにより、薬剤識別部30や学習データ記憶部60に識別結果を通知すればよい。このようにすれば、入力されるデータはすべてユーザの確認を経た上で入力されるのでデータの信頼性が高まる一方で、データの大部分は自動的に挿入されるので、ユーザにとっては操作がわずらわしいということもない。
(Assistance in data entry by users)
In addition, the identification index or the AI model 50 may be used as an aid to data input by the user instead of using the identification by the identification index or the AI model 50 as the identification result. For example, the data is basically manually input by the user, and the data may be input by the user entering the data in the input fields displayed on the monitor 14 . On the other hand, when identification by the identification index or the AI model 50 is performed, the data of the identification result is automatically inserted into the input field. The user checks the automatically inserted data, corrects it if necessary, and confirms it, thereby notifying the drug identification unit 30 and the learning data storage unit 60 of the identification result. In this way, all data to be entered is entered after confirmation by the user, which increases the reliability of the data. It's not bothersome.

(AIモデルと識別指標の組み合わせ)
また、識別をAIモデル50のみ、または識別指標のみで行うのではなく、AIモデル50による識別と識別指標による識別とが組み合わされて識別結果の決定が行われてもよい。特に、「1シート」や「1錠」などの数量の割り出しについては、AIモデル50による識別と識別指標による識別とを組み合わせることで精度が高くなることが見込まれる。
(Combination of AI model and identification index)
Further, instead of using only the AI model 50 or only the identification index for identification, the identification result may be determined by combining the identification by the AI model 50 and the identification by the identification index. In particular, it is expected that a combination of identification by the AI model 50 and identification by the identification index will increase the accuracy of determining the quantity such as "1 sheet" or "1 tablet".

例えばPTPシートのバーコードが1シートに1箇所だけ記されているとすると、識別指標のみによる識別であれば、そのバーコードが読み取られることにより「PTPシート1シート分」の薬剤が存在すると識別される。しかしながら、実際に薬局や患者の家庭で取り扱われるPTPシートは、バーコードを残しつつも一部だけ切り取られて使用されることもある。また切り取りが行われなくとも、一部の錠剤だけ既に取り出されている可能性がある。こうした場合、AIモデル50による識別であれば、「切り取られたPTPシートの形状」や「一部の錠剤領域が破かれたPTPシートの形状」を基に、現在PTPシート内に何錠の錠剤が残っているかを識別することができる。PTPシートの形状は包装される薬剤の種類が異なっていても概ね同様の形状であるので、薬剤の種類についてはバーコードなどの識別指標に基づいて識別しつつ、数量についてはPTPシートの形状からAIモデル50により識別することにより、種類と数量の両方について精度の高い識別を行うことができる。一方、識別コードのように錠剤の1錠単位に記されている識別指標が、画像解析によって検出可能となっていれば、識別指標に基づいて薬剤の数量を識別することも可能である。 For example, if a PTP sheet has only one bar code on one sheet, it can be identified by reading the bar code if only the identification index is used to identify the presence of "one PTP sheet" of medicine. be done. However, PTP sheets that are actually handled at pharmacies and patients' homes are sometimes cut off and used while leaving the bar code. Also, even if the cutting is not performed, it is possible that only some of the tablets have already been taken out. In such a case, if it is identification by the AI model 50, based on "the shape of the cut PTP sheet" or "the shape of the PTP sheet in which a part of the tablet area is torn", how many tablets are currently in the PTP sheet? remaining can be identified. Since the shape of the PTP sheet is generally the same even if the type of medicine to be packaged is different, the type of medicine is identified based on an identification index such as a bar code, while the quantity is determined from the shape of the PTP sheet. By identifying with the AI model 50, both types and quantities can be identified with high accuracy. On the other hand, if an identification index such as an identification code written on each tablet can be detected by image analysis, it is possible to identify the quantity of medicine based on the identification index.

なお、薬剤包装(例えばPTPシート)の形状と数量との具体的な対応関係については、薬剤包装の形状と数量とが組み合された薬剤撮影例データとして学習データ62に蓄積させることが可能である。例えば10錠入りPTPシートのうち1錠だけ取り出し済みの(1錠分の領域だけ破かれている)PTPシートについて、そのPTPシートを撮影したユーザが「この撮影画像に写っているPTPシートに残っている錠剤は9錠」といった情報を入力して学習データ記憶部60へ送信すればよい。このように薬剤包装の形状とそれに内包される薬剤の数量との対応関係を示す情報が数多く学習データ62に蓄積されると、その情報が反映されたAIモデル50は、薬剤包装の形状から、その薬剤包装に内包される薬剤の数量を識別することが可能になる。例えば10錠入りPTPシートのうち1錠だけ取り出し済みのPTPシートに関する薬剤撮影例データが蓄積されていれば、蓄積された薬剤撮影例データと類似する形状のPTPシートに対して、AIモデル50は「10錠入りシートのうち9錠分が残っている」という識別が可能になる。 It should be noted that the specific correspondence relationship between the shape and quantity of drug packaging (for example, PTP sheet) can be accumulated in the learning data 62 as drug imaging example data in which the shape and quantity of the drug packaging are combined. be. For example, regarding a PTP sheet from which only one tablet has been taken out of a PTP sheet containing 10 tablets (only an area corresponding to one tablet has been torn), the user who photographed the PTP sheet may say, The number of tablets currently in use is 9", and the information is transmitted to the learning data storage unit 60. FIG. When a large amount of information indicating the correspondence relationship between the shape of the drug package and the quantity of the drug contained therein is accumulated in the learning data 62 in this way, the AI model 50 reflecting the information can, from the shape of the drug package, It becomes possible to identify the quantity of medicine contained in the medicine package. For example, if the drug imaging example data related to the PTP sheet from which only one tablet has been taken out of the PTP sheets containing 10 tablets is accumulated, the AI model 50 will It becomes possible to identify that "out of a sheet containing 10 tablets, 9 tablets remain".

(持参薬識別について)
さらに、十分に教育されたAIモデル50によれば、識別指標が付されていない薬剤であっても、薬剤自身の形状や色彩などに基づいて識別が可能になる。そのため、AIモデル50を用いた識別は、持参薬識別のために非常に有効である。持参薬とは患者が医療機関で診察、検査、治療を受ける、または入院する際に、患者がその時点で普段服用している薬剤として提示する薬剤である。医療機関にとって、患者の持参薬の内容を把握することは、診察後、治療中、入院時に薬剤を処方する上で、また手術や検査を適切に行う上で非常に重要となる。すなわち、処方する薬剤と持参薬との重複投与を避けたり、薬剤の危険な組み合わせを避けたりすることができる。さらに、治療、手術、検査前までに服用を中止した、あるいは中止すべき薬剤を確認することができる。また、医療機関から患者に対してその薬剤の服用方を適切に助言することや、健康食品やサプリメントとの飲み合わせについても助言することができる。薬剤識別を行わずとも、薬剤の説明書やいわゆるお薬手帳の情報により、患者が服薬している薬剤の内容を把握することは可能である。しかしながら、患者が実際に服薬しているかについてはこれらの情報では完全には把握できない。最も確実なのは、患者に実際に服薬している薬剤を持参してもらい、その持参薬を確認することである。持参薬を確認する際に、識別指標として薬剤の製品名や識別コードが薬剤の包装に記載されていれば、薬剤識別システムによらずとも比較的容易に薬剤を識別できる。しかし一包化調剤されたり、PTPシートが切り取られたり、錠剤が包装から取り出されて単体で保管されたりした結果、識別指標が読み取れる形で薬剤の包装に記載されていない、あるいは薬剤の包装自体が存在しないことがある。この場合、肉眼では持参薬の識別は困難となる。本発明の薬剤識別システムであれば、このような場合でも薬剤を識別することができ、患者の持参薬識別、持参薬確認のために非常に有効となる。
(Regarding Identification of Bringing Medicine)
Furthermore, according to the well-educated AI model 50, it is possible to identify even a drug that does not have an identification index, based on the shape and color of the drug itself. Therefore, identification using the AI model 50 is very effective for identification of bring-your-own-medicine. Bring-in medications are medications presented to patients as the medications they usually take at the time of examination, examination, treatment, or hospitalization at a medical institution. For medical institutions, it is very important to understand the content of medicines brought by patients in prescribing medicines after examination, during treatment, and at the time of hospitalization, and in performing surgery and examinations appropriately. That is, it is possible to avoid double administration of prescription drugs and bring-your-own drugs, and to avoid dangerous combinations of drugs. In addition, it is possible to identify drugs that have been or should be stopped prior to treatment, surgery, or testing. In addition, it is possible for the medical institution to properly advise the patient on how to take the medicine, and also to give advice on taking the medicine together with health foods and supplements. Even without drug identification, it is possible to grasp the content of the drug that the patient is taking from the information in the drug manual or so-called medicine notebook. However, these information cannot completely grasp whether the patient is actually taking the medicine. The surest way is to ask the patient to bring the drugs they are actually taking and to check the drugs they bring. When confirming the medicine brought in, if the product name and identification code of the medicine are written on the packaging of the medicine as an identification index, the medicine can be identified relatively easily without using the medicine identification system. However, as a result of dispensation in one package, the PTP sheet being cut off, or the tablet being taken out of the package and stored separately, the identification index is not written in a readable form on the package of the drug, or the package of the drug itself may not exist. In this case, it becomes difficult to identify the brought medicine with the naked eye. The medicine identification system of the present invention can identify the medicine even in such a case, and is very effective for identifying and confirming the medicine brought by the patient.

(外部機器に対するデータ入出力)
図1に示す実施形態においては撮影器20、モニタ14が薬剤識別システム10の構成要素となっているが、これらは薬剤識別システム10の外部の機器であってもよく、薬剤識別システム10は外部から撮影画像22のデータ入力を受け付け、識別結果のデータを外部へ出力できるようになっていればよい。
(Data input/output for external devices)
In the embodiment shown in FIG. 1, the imaging device 20 and the monitor 14 are components of the drug identification system 10, but these may be devices external to the drug identification system 10, and the drug identification system 10 may be external to the drug identification system 10. It is sufficient that the data input of the photographed image 22 can be received from and the data of the identification result can be output to the outside.

(データの配置について)
また図1に示す実施形態においては識別指標テーブル記憶部40およびAIモデル50が薬剤識別部30とは別体となっているが、識別指標テーブル42のデータとAIモデル50のデータが薬剤識別部30に組み込まれていてもよい。一方で、識別指標テーブル42のデータとAIモデル50のデータは、ネットワークを介してアクセス可能な、薬剤識別部30から遠方の機器に配置されてもよい。
(Regarding data placement)
In the embodiment shown in FIG. 1, the identification index table storage unit 40 and the AI model 50 are separate from the drug identification unit 30. 30 may be incorporated. On the other hand, the data of the identification index table 42 and the data of the AI model 50 may be arranged in a device remote from the drug identification unit 30 and accessible via a network.

(撮影時期について)
また薬剤12の撮影は識別の際に行われる必要はなく、事前に薬剤識別システム10とは別の場所で撮影された画像のデータを撮影画像22として取り込む(薬剤識別部30に入力する)ことも可能である。
(About shooting time)
The drug 12 does not need to be photographed at the time of identification, and the data of the image taken in advance at a location different from the drug identification system 10 can be captured as the photographed image 22 (input to the drug identification unit 30). is also possible.

(AIモデルの作成方式について)
また学習データ62に基づいて作成されるAIモデル50は、学習データ62を教師データとする教師あり学習によって作成されるものに限られない。例えば学習データ62に基づいて深層学習が行われた結果得られたAIモデルが、薬剤識別システム10のAIモデル50として用いられてもよい。
(Regarding the AI model creation method)
Also, the AI model 50 created based on the learning data 62 is not limited to one created by supervised learning using the learning data 62 as teacher data. For example, an AI model obtained as a result of deep learning based on the learning data 62 may be used as the AI model 50 of the drug identification system 10 .

10 薬剤識別システム
12 薬剤
12a 錠剤
12b 錠剤PTPシート
14 モニタ
20 撮影器
22 撮影画像
30 薬剤識別部
32a,32b 薬剤撮影例データ
40 識別指標テーブル記憶部
42 識別指標テーブル
50 AIモデル
52 メインAIモデル
56 ローカルAIモデル
60 学習データ記憶部
62 学習データ
70a 錠剤
70b 散剤
70c カプセル剤
71a,71b,71c 識別コード
72a,72b,72c 製品名
73a,73c PTPシート一片
73b 個別包装
75a PTPシート
76a,76b,76c バーコード
80 薬剤識別システム
82 ネットワーク
84 メイン機器
86 ローカル機器
88a 薬剤DB
88b 処方箋DB
88c 在庫DB
88d 服薬管理DB
90 薬剤識別センサ
91 基板
92 フレキシブルケーブル
93 演算素子
94 画像撮影素子
95 記憶素子
98 コネクタ
S01-S09 ステップ
REFERENCE SIGNS LIST 10 drug identification system 12 drug 12a tablet 12b tablet PTP sheet 14 monitor 20 imaging device 22 captured image 30 drug identification unit 32a, 32b drug imaging example data 40 identification index table storage unit 42 identification index table 50 AI model 52 main AI model 56 local AI model 60 Learning data storage unit 62 Learning data 70a Tablet 70b Powder 70c Capsule 71a, 71b, 71c Identification code 72a, 72b, 72c Product name 73a, 73c Piece of PTP sheet 73b Individual package 75a PTP sheet 76a, 76b, 76c Bar code 80 drug identification system 82 network 84 main device 86 local device 88a drug DB
88b Prescription DB
88c Inventory DB
88d Medication Management DB
90 drug identification sensor 91 substrate 92 flexible cable 93 computing element 94 imaging element 95 memory element 98 connector S01-S09 steps

Claims (9)

薬剤を撮影した撮影画像の画像認識を行うことにより撮影された薬剤の識別を行う薬剤識別システムにおいて、
薬剤の情報と撮影画像の情報との組み合わせを学習データとして記憶する学習データ記憶部と、
撮影画像に含まれる薬剤を識別する薬剤識別部と、
を備え、
前記薬剤識別部は、AIモデルを用いて、入力された撮影画像に含まれる薬剤を識別し、
前記AIモデルは、前記学習データ記憶部に記憶された前記学習データに基づいて作成されたAIモデルであって、撮影画像を入力データとして、それに対応する薬剤の情報を出力データとして返すAIモデルであり、
薬剤または薬剤を包装する薬剤包装に、薬剤の識別情報を示す識別指標が記されている場合、前記薬剤識別部は、前記識別指標が示す薬剤の識別情報に基づいて薬剤の識別を行い、識別した薬剤の情報とそのときの撮影画像の情報とを組み合わせた薬剤撮影例データを作成して、前記薬剤撮影例データを前記学習データ記憶部に送信し、
前記学習データ記憶部は、前記薬剤識別部から前記薬剤撮影例データを受信すると、その薬剤撮影例データに含まれる薬剤の情報と撮影画像の情報の組み合わせを記憶して、前記学習データを更新すること
ことを特徴とする薬剤識別システム。
In a drug identification system that identifies a photographed drug by performing image recognition of a photographed image of the drug,
a learning data storage unit that stores a combination of drug information and captured image information as learning data;
a drug identification unit that identifies a drug included in a captured image;
with
The drug identification unit uses an AI model to identify a drug contained in the input captured image,
The AI model is an AI model created based on the learning data stored in the learning data storage unit, and is an AI model that uses a captured image as input data and returns information on the corresponding drug as output data. can be,
When an identification index indicating identification information of the medicine is written on the medicine or the medicine package for packaging the medicine, the medicine identification unit identifies the medicine based on the identification information of the medicine indicated by the identification index, and identifies the medicine. creating drug imaging example data by combining the information of the drug obtained and the information of the photographed image at that time, and transmitting the drug imaging example data to the learning data storage unit;
Upon receiving the drug imaging example data from the drug identification unit, the learning data storage unit stores a combination of drug information and photographed image information included in the drug imaging example data, and updates the learning data. A drug identification system characterized by:
前記薬剤識別部は、前記AIモデルとは別に、前記識別指標を画像解析により前記撮影画像から検出し、前記撮影画像に前記識別指標が含まれていることが画像解析により検出された場合、前記薬剤識別部は、画像解析により検出された前記識別指標に対応する薬剤の識別情報に基づいて薬剤の識別を行い、識別した薬剤の情報とそのときの撮影画像の情報とを組み合わせた薬剤撮影例データを作成すること
を特徴とする請求項1に記載の薬剤識別システム。
The drug identification unit detects the identification index from the photographed image by image analysis separately from the AI model, and when it is detected by the image analysis that the identification index is included in the photographed image, the The drug identification unit identifies the drug based on the identification information of the drug corresponding to the identification index detected by the image analysis, and the drug imaging example in which the information of the identified drug and the information of the captured image at that time are combined 2. The drug identification system according to claim 1, wherein data is created.
前記学習データ記憶部を有するメイン機器と、
それぞれが前記薬剤識別部を備えており、ネットワークを介して前記メイン機器へとアクセス可能な複数のローカル機器とを有し、
前記ローカル機器によって行われた薬剤の識別において前記薬剤撮影例データが作成された場合には、その薬剤撮影例データを前記メイン機器へ送信し、
前記メイン機器は、前記ローカル機器から送信された薬剤撮影例データに基づいて前記学習データ記憶部に記憶されている学習データを更新すること
を特徴とする請求項1または請求項2に記載の薬剤識別システム。
a main device having the learning data storage unit;
a plurality of local devices each comprising the drug identification unit and capable of accessing the main device via a network;
when the drug imaging example data is created in the drug identification performed by the local device, the drug imaging example data is transmitted to the main device;
3. The medicine according to claim 1, wherein the main device updates the learning data stored in the learning data storage unit based on the drug imaging example data transmitted from the local device. identification system.
前記メイン機器は、メインAIモデルを有しており、
前記メインAIモデルは、前記メイン機器の前記学習データ記憶部に記憶されている学習データを基に作成されたAIモデルであって、撮影画像を入力データとして、それに対応する薬剤情報を出力データとして返すAIモデルであり、
前記メイン機器は、前記学習データが更新されたら、前記メインAIモデルの再作成を行い、
前記ローカル機器には、前記薬剤識別部が用いる前記AIモデルとして、撮影画像を入力データとして、それに対応する薬剤情報を出力データとして返すローカルAIモデルが組み込まれており、
前記ローカルAIモデルは、前記ローカル機器が前記メイン機器から受信したデータで構成されており、前記ローカルAIモデルを構成するデータは、前記ローカル機器が前記メイン機器からデータを受信した時点での前記メインAIモデルのデータであり、
前記ローカル機器の前記薬剤識別部は、前記ローカルAIモデルを用いて撮影画像に含まれる薬剤を識別し、前記ローカルAIモデルを用いても撮影画像に含まれる薬剤を識別不能な場合には、ネットワークを介して前記メイン機器にアクセスして、前記メイン機器のメインAIモデルを用いて薬剤の識別を行うこと
を特徴とする請求項3に記載の薬剤識別システム。
The main device has a main AI model,
The main AI model is an AI model that is created based on the learning data stored in the learning data storage unit of the main device, and uses the captured image as input data and the corresponding drug information as output data. is an AI model to return,
The main device recreates the main AI model when the learning data is updated,
The local device incorporates, as the AI model used by the drug identification unit, a local AI model that returns a captured image as input data and corresponding drug information as output data,
The local AI model is composed of data received by the local device from the main device. AI model data,
The drug identification unit of the local device identifies the drug contained in the captured image using the local AI model, and if the drug contained in the captured image cannot be identified using the local AI model, the network 4. The drug identification system according to claim 3, wherein the main AI model of the main device is used to identify the drug by accessing the main device via the .
撮影された薬剤が医療用医薬品である場合、医療用医薬品の薬剤包装に記されておりその医療用医薬品に関する情報を示す光学マークを、前記識別指標とすること
を特徴とする請求項1ないし請求項4のいずれか1項に記載の薬剤識別システム。
If the photographed drug is a medical drug, the identification index is an optical mark that is written on the drug package of the medical drug and that indicates information about the medical drug. Item 5. The drug identification system according to any one of Item 4.
前記薬剤識別システムが、医師の判断により入力された処方箋情報を記憶するデータベースを含むシステムにおいて利用されるものであり、
前記薬剤識別部が識別した1つ以上の薬剤の情報が、前記処方箋情報と合致するか否かを判定すること
を特徴とする請求項1ないし請求項5のいずれか1項に記載の薬剤識別システム。
The drug identification system is used in a system that includes a database that stores prescription information entered at the discretion of a doctor,
6. The drug identification according to any one of claims 1 to 5, wherein it is determined whether or not information on one or more drugs identified by the drug identification unit matches the prescription information. system.
前記薬剤識別システムが、薬局において入庫した薬剤および出庫した薬剤の情報に応じて変動する在庫情報を記憶するデータベースを含むシステムにおいて利用されるものであり、
前記薬剤識別部が識別した1つ以上の薬剤の情報が、前記在庫情報と合致するか否かを判定すること
を特徴とする請求項1ないし請求項5のいずれか1項に記載の薬剤識別システム。
The drug identification system is used in a system that includes a database that stores inventory information that varies according to information on drugs received and delivered from the pharmacy,
6. The drug identification according to any one of claims 1 to 5, wherein it is determined whether or not information on one or more drugs identified by the drug identification unit matches the inventory information. system.
前記薬剤識別システムが、患者に対して調剤された薬剤について医療機関の指示する服薬スケジュールを管理するデータベースを含むシステムにおいて利用されるものであり、
前記薬剤識別部が識別した1つ以上の薬剤の情報が、前記服薬スケジュールと合致するか否かを判定すること
を特徴とする請求項1ないし請求項5のいずれか1項に記載の薬剤識別システム。
The drug identification system is used in a system that includes a database that manages a medication schedule prescribed by a medical institution for drugs dispensed to patients,
6. The drug identification according to any one of claims 1 to 5, characterized in that it is determined whether or not information on one or more drugs identified by the drug identification unit matches the medication schedule. system.
前記学習データ記憶部と前記薬剤識別部とが、それぞれ別体の機器によって構成されており、前記薬剤識別部はネットワークを介して前記学習データ記憶部にアクセス可能であること
を特徴とする請求項1ないし請求項8のいずれか1項に記載の薬剤識別システム。
3. The learning data storage unit and the drug identification unit are configured as separate devices, respectively, and the drug identification unit can access the learning data storage unit via a network. A drug identification system according to any one of claims 1 to 8.
JP2020018394A 2020-02-06 2020-02-06 drug identification system Active JP7329463B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2020018394A JP7329463B2 (en) 2020-02-06 2020-02-06 drug identification system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2020018394A JP7329463B2 (en) 2020-02-06 2020-02-06 drug identification system

Publications (2)

Publication Number Publication Date
JP2021124989A JP2021124989A (en) 2021-08-30
JP7329463B2 true JP7329463B2 (en) 2023-08-18

Family

ID=77460081

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2020018394A Active JP7329463B2 (en) 2020-02-06 2020-02-06 drug identification system

Country Status (1)

Country Link
JP (1) JP7329463B2 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2023080742A (en) * 2021-11-30 2023-06-09 NeoX株式会社 Medication management system
JP2023080743A (en) * 2021-11-30 2023-06-09 NeoX株式会社 Medicament number management system
JP7773963B2 (en) * 2022-11-09 2025-11-20 株式会社コンテック Drug Identification System
JP2025048932A (en) * 2023-09-21 2025-04-03 ソフトバンクグループ株式会社 system
JP7703743B1 (en) 2024-05-21 2025-07-07 Ckd株式会社 Seat information confirmation system
CN120107702A (en) * 2025-05-07 2025-06-06 中国医学科学院北京协和医院 An automatic drug identification system based on artificial intelligence

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015228082A (en) 2014-05-30 2015-12-17 日本電信電話株式会社 Dosing trail management terminal, dosing trail management system, and dosing trail management method
JP2016015093A (en) 2014-07-03 2016-01-28 アレイ株式会社 Tablet identifying apparatus and method thereof, and packaged tablet monitoring apparatus
JP2017058919A (en) 2015-09-16 2017-03-23 富士フイルム株式会社 Drug information registration device, drug information registration method, and program
JP2018027242A (en) 2016-08-18 2018-02-22 安川情報システム株式会社 Tablet detection method, tablet detection device, and table detection program

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015228082A (en) 2014-05-30 2015-12-17 日本電信電話株式会社 Dosing trail management terminal, dosing trail management system, and dosing trail management method
JP2016015093A (en) 2014-07-03 2016-01-28 アレイ株式会社 Tablet identifying apparatus and method thereof, and packaged tablet monitoring apparatus
JP2017058919A (en) 2015-09-16 2017-03-23 富士フイルム株式会社 Drug information registration device, drug information registration method, and program
JP2018027242A (en) 2016-08-18 2018-02-22 安川情報システム株式会社 Tablet detection method, tablet detection device, and table detection program

Also Published As

Publication number Publication date
JP2021124989A (en) 2021-08-30

Similar Documents

Publication Publication Date Title
JP7329463B2 (en) drug identification system
US11328818B2 (en) Apparatus and method for recognition of patient activities when obtaining protocol adherence data
US9317916B1 (en) Apparatus and method for recognition of medication administration indicator
US11314964B2 (en) Apparatus and method for determination of medication location
CN105723382B (en) Remote Medication Verification
US20200098462A1 (en) Drug management system, cloud server, drug packaging apparatus, drug package auditing apparatus, packaging bag, and drug management method
US20100200593A1 (en) Smart cap for a container to track and dispense a medication while self-verifying and counting units thereof, alerting and instructing a consumer on timing and cautions
US20060235726A1 (en) System and method for pharmaceutical item and prescription management
US11707415B2 (en) Medicine management system
US11289179B1 (en) Automated medication compliance assurance system
CN101689281A (en) Management system for prescribing/preparing medicine which may cause severe side effect
Teagarden et al. Dispensing error rate in a highly automated mail‐service pharmacy practice
EP3447719A1 (en) Packaged single-dose-medicament inspection apparatus, packaged single-dose-medicament inspection system, packaged single-dose-medicament information output means, and packaged single-dose-medicament information output program
US20030189732A1 (en) System and method for identifying prescriptions with captured images
US12437854B1 (en) System and method for virtual review of a pharmaceutical product filling process
US20140195262A1 (en) Drug registration apparatus and program
JP7142093B2 (en) Information providing system, information providing server, information providing method, information providing software, and interactive software
TWM524524U (en) Hospital inpatient department pharmaceutical affair management system
TWI851394B (en) Prescription matching system and matching method
JP7734095B2 (en) Drug Identification System
JP4723969B2 (en) Liquid inspection system
JP2007317216A (en) Pharmacy system utilizing two-dimensional code
JP6312905B2 (en) Drug inspection device and program
JP2020177595A (en) Prescription information reception device, method, and computer program
CN117219225A (en) Prescription paper matching system and matching method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20211015

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20220921

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20220927

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20221125

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20230307

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20230407

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20230807

R150 Certificate of patent or registration of utility model

Ref document number: 7329463

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250