JP2021124989A - Medical agent identification system and medical agent identification sensor - Google Patents
Medical agent identification system and medical agent identification sensor Download PDFInfo
- Publication number
- JP2021124989A JP2021124989A JP2020018394A JP2020018394A JP2021124989A JP 2021124989 A JP2021124989 A JP 2021124989A JP 2020018394 A JP2020018394 A JP 2020018394A JP 2020018394 A JP2020018394 A JP 2020018394A JP 2021124989 A JP2021124989 A JP 2021124989A
- Authority
- JP
- Japan
- Prior art keywords
- drug
- identification
- information
- model
- learning 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.)
- Granted
Links
Images
Landscapes
- Medical Preparation Storing Or Oral Administration Devices (AREA)
- Medical Treatment And Welfare Office Work (AREA)
Abstract
Description
本発明は、薬剤を撮影した撮影画像の画像認識を行うことにより撮影された薬剤の識別を行う薬剤識別システムに関するものである。また本発明は、撮影画像について画像認識処理を行うことで撮影画像に含まれる薬剤の識別を行う薬剤識別センサにも関する。 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. The present invention also relates to a drug identification sensor that identifies a drug contained in a photographed image by performing image recognition processing on the photographed image.
薬局などの、薬剤を取り扱う施設において、薬剤の機械的な識別が求められることがある。例えば、処方箋に基づいて取り揃えられた薬剤が実際に処方箋の処方内容と合致しているか否かを、作業者(薬剤師など)とは別の主体によって判定するために、薬剤の機械的な識別を行う装置(薬剤鑑査装置)が用いられることがある。こうした装置を用いることにより、患者に対する薬剤の交付における作業ミスを防止することができる。 In facilities that handle drugs, such as pharmacies, mechanical identification of drugs may be required. For example, mechanical identification of a drug is performed in order to determine whether or not the drug prepared based on the prescription actually matches the prescription content of the prescription by a subject other than the worker (pharmacist, etc.). A device to perform (pharmaceutical inspection device) may be used. By using such a device, it is possible to prevent work mistakes in delivering the drug to the patient.
特許文献1には、薬剤鑑査装置に適用される秤量装置が開示されている。この秤量装置においては、計測対象となる薬剤の重量を計測する秤量部のほか、計測対象の画像を撮像するための撮像手段(カメラ)が設けられており、撮像された画像データを基に、計測対象の薬剤が処方箋にて指定された薬剤の種別と合致しているか否かが判定されるようになっている。 Patent Document 1 discloses a weighing device applied to a drug inspection device. In this weighing device, in addition to a weighing unit that measures the weight of the drug to be measured, an imaging means (camera) for capturing an image of the measurement target is provided, and based on the captured image data, the weighing device is provided. Whether or not the drug to be measured matches the type of drug specified in the prescription is determined.
しかしながら、特許文献1に開示されている秤量装置においては、計測対象となる薬剤を適正な撮像条件下で撮像しなければ適正な判定を行うことができない。具体的には計測対象を、撮像手段が計測対象を上方から適正に撮像可能な撮像対象領域に位置させる必要がある。そのために、計測対象を保持する容器を計測用の適正位置に位置決めする位置決め手段が設けられている。また、外乱光により計測対象に陰影が生じるのを防ぐために、計測対象を保持する容器や撮像手段をまとめて筐体に収容することで外乱光から遮蔽する必要もある。 However, in the weighing device disclosed in Patent Document 1, an appropriate determination cannot be made unless the drug to be measured is imaged under appropriate imaging conditions. Specifically, it is necessary for the imaging means to position the measurement target in an imaging target region where the measurement target can be appropriately imaged from above. Therefore, a positioning means for positioning the container holding the measurement target at an appropriate position for measurement is provided. Further, in order to prevent the measurement target from being shaded by the disturbance light, it is also necessary to shield the measurement target from the disturbance light by housing the container for holding the measurement target and the imaging means together in the housing.
このように、特許文献1に開示されている秤量装置には、計測対象の薬剤を適正な撮像条件下(位置、照明条件など)に置くための機構が設けられており、これらを用いなければ適正な判定を行うことができない。これは、特許文献1の秤量装置では撮像した薬剤の画像データと、マスタデータとしての薬剤の画像データとに基づいて薬剤種別の判別が行われるようになっており、マスタデータと撮像条件の異なる撮像により得られた画像データでは適正な判別が行なえないからである。 As described above, 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.), and these must be used. It is not possible to make a proper judgment. This is because the weighing device of Patent Document 1 discriminates the drug type based on the image data of the imaged drug and the image data of the drug as the master data, and the master data and the imaging conditions are different. This is because the image data obtained by imaging cannot be properly discriminated.
したがって、特許文献1に開示されている秤量装置は、薬剤の画像を撮像する際に、薬剤を適正な撮像条件下に置くための作業(位置決め、筐体への収納など)が必要である。この秤量装置を利用するためには専用の操作方法を覚える必要があり、その操作自体も大きく手間のかかるものとなっていた。このため、薬剤の機械的な識別を気軽に行うことはできなかった。また、この秤量装置は薬剤を適正な撮像条件下に置くための専用の機構を備えた大掛かりな装置となってしまい、持ち運び可能な機器とすることはできなかった。 Therefore, the weighing device disclosed in Patent Document 1 requires work (positioning, storage 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 is necessary to learn a dedicated operation method, and the operation itself is very time-consuming. Therefore, it was not possible to easily identify the drug mechanically. In addition, this weighing device has become a large-scale device equipped with a dedicated mechanism for placing the drug under appropriate imaging conditions, and cannot be a portable device.
そこで本発明は、薬剤を特定の適正な撮影条件下に置かなくとも、様々な条件下での撮影による撮影画像から薬剤の識別を行えるようにすることを目的とする。 Therefore, an object of the present invention is to make it possible to identify a drug from images taken by photographing under various conditions without placing the drug under specific appropriate imaging conditions.
上記課題を解決するため、本発明に係る実施形態の一例としての薬剤識別システムは、薬剤を撮影した撮影画像の画像認識を行うことにより撮影された薬剤の識別を行う薬剤識別システムにおいて、各種薬剤がそれぞれ撮影画像においてどのような姿で現れるのかを学習データとして記憶する学習データ記憶部と、撮影画像に含まれる薬剤を識別する薬剤識別部と、を備え、前記薬剤識別部は、前記学習データ記憶部に記憶された前記学習データに基づいて作成された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 used in a drug identification system that identifies a photographed drug by performing image recognition of a photographed image of the drug. The drug identification unit includes a learning data storage unit that stores as learning data how each of the images appears in the captured image, and a drug identification unit that identifies the drug contained in the photographed image. The drug identification unit is the learning data. An AI model created based on the learning data stored in the storage unit, and the captured image input using the AI model that returns the captured image as input data and the information of the corresponding drug as output data. It is characterized by identifying the drug contained in.
また好ましくは、薬剤または薬剤を包装する薬剤包装に、薬剤の識別情報を示す識別指標が記されている場合、前記薬剤識別部は、前記識別指標が示す薬剤の識別情報に基づいて薬剤の識別を行い、識別した薬剤の情報とそのときの撮影画像の情報とを組み合わせた薬剤撮影例データを作成して、前記薬剤撮影例データを前記学習データ記憶部に送信し、前記学習データ記憶部は、前記薬剤識別部から前記薬剤撮影例データを受信すると、その薬剤撮影例データに含まれる薬剤の情報と撮影画像の情報を、当該薬剤が撮影画像において現れる姿の一例として記憶して前記学習データを更新するとよい。 Further, preferably, when the drug or the drug package for packaging the drug contains an identification index indicating the drug identification information, the drug identification unit identifies the drug based on the drug identification information indicated by the identification index. To create drug imaging example data in which the identified drug information and the captured image information at that time are combined, and transmit the drug imaging example data to the learning data storage unit, the learning data storage unit When the drug imaging example data is received from the drug identification unit, the drug information and the captured image information included in the drug imaging example data are stored as an example of the appearance of the drug in the captured image, and the learning data is stored. Should be updated.
また好ましくは、前記撮影画像に前記識別指標が含まれていると前記AIモデルにより判定された場合、前記薬剤識別部は、AIモデルが判定した前記識別指標に対応する薬剤の識別情報に基づいて薬剤の識別を行い、識別した薬剤の情報とそのときの撮影画像の情報とを組み合わせた薬剤撮影例データを作成するとよい。 Further, preferably, when it is determined by the AI model that the captured image contains the identification index, the drug identification unit is based on the identification information of the drug corresponding to the identification index determined by the AI model. It is advisable to identify the drug and create drug imaging example data by combining the information of the identified drug and the information of the photographed image at that time.
また好ましくは、それぞれが前記薬剤識別部を備えており、ネットワークを介してメイン機器へとアクセス可能な複数のローカル機器を有し、前記ローカル機器によって行われた薬剤の識別において前記薬剤撮影例データが作成された場合には、その薬剤撮影例データを前記メイン機器へ送信し、前記メイン機器は、前記ローカル機器から送信された薬剤撮影例データに基づいて自身の記憶している学習データを更新するとよい。 It is also preferable that each of the drug identification units has a plurality of local devices that can access the main device via the network, and the drug imaging example data in the drug identification performed by the local device. Is created, the drug imaging example data is transmitted to the main device, and the main device updates the learning data stored by itself based on the drug imaging example data transmitted from the local device. It is good to do it.
また好ましくは、前記ローカル機器の薬剤識別部は、前記ローカル機器に組み込まれたローカルAIモデルを用いて撮影画像に含まれる薬剤を識別し、前記ローカルAIモデルを用いても撮影画像に含まれる薬剤を識別不能な場合には、ネットワークを介して前記メイン機器にアクセスして、前記メイン機器に記憶されている学習データを基に作成されたメインAIモデルを用いて薬剤の識別を行うとよい。 Further, preferably, the drug identification unit of the local device identifies the drug contained in the captured image by using the local AI model incorporated in the local device, and the drug contained in the captured image even by using the local AI model. If it is not possible to identify the drug, it is preferable to access the main device via the network and identify the drug using the main AI model created based on the learning data stored in the main device.
また好ましくは、撮影された薬剤が医療用医薬品である場合、医療用医薬品の薬剤包装に記されておりその医療用医薬品に関する情報を示す光学マークを、前記識別指標とするとよい。 Further, preferably, when the photographed drug is a ethical drug, the optical mark marked on the drug packaging of the ethical drug and indicating information on the ethical drug may be used as the identification index.
また好ましくは、撮影された薬剤が、医師の判断により入力された処方箋情報に基づいて調剤された薬剤である場合、前記薬剤識別部が識別した1つ以上の薬剤の情報が、前記処方箋情報と合致するか否かを判定するとよい。 Further, preferably, when the photographed drug is a drug dispensed based on the prescription information input at the discretion of the doctor, the information of one or more drugs identified by the drug identification unit is the prescription information. It is advisable to determine whether or not they match.
また好ましくは、撮影された薬剤が、薬局において入庫した薬剤および出庫した薬剤の情報に応じて変動する在庫情報に基づいて管理される薬剤である場合、前記薬剤識別部が識別した1つ以上の薬剤の情報が、前記在庫情報と合致するか否かを判定するとよい。 Further, preferably, when the photographed drug is a drug managed based on inventory information that fluctuates according to information on the drug received and discharged at the pharmacy, one or more drugs identified by the drug identification unit. It is advisable to determine whether or not the drug information matches the inventory information.
また好ましくは、撮影された薬剤が、患者に対して調剤された薬剤であって、医療機関の指示する服薬スケジュールに基づいて服薬されるべき薬剤である場合、前記薬剤識別部が識別した1つ以上の薬剤の情報が、前記服薬スケジュールと合致するか否かを判定するとよい。 Further, preferably, when the photographed drug is a drug dispensed to the patient and should be taken based on the medication schedule instructed by the medical institution, one identified by the drug identification unit. It is advisable to determine whether or not the above drug information matches the medication schedule.
また好ましくは、前記学習データ記憶部と前記薬剤識別部とが、それぞれ別体の機器によって構成されており、前記薬剤識別部はネットワークを介して前記学習データ記憶部にアクセス可能であるとよい。 Further, it is preferable that 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.
また、本発明に係る実施形態の別例としての薬剤識別センサは、上述の薬剤識別システムによって得られた学習データに基づいて作成されたAIモデルが組み込まれた記憶素子および演算素子を含む処理部と、画像を撮影することが可能な画像撮影素子とを有し、前記画像撮影素子によって撮影された撮影画像について、前記処理部にて画像認識処理を行うことで、前記撮影画像に含まれる薬剤の識別を行うことを特徴とする。 Further, the drug identification sensor as another example of the embodiment according to the present invention is a processing unit including a storage element and an arithmetic element incorporating an AI model created based on the learning data obtained by the above-mentioned drug identification system. And an image capturing element capable of capturing an image, and by performing image recognition processing on the captured image captured by the image capturing element in the processing unit, a drug contained in the captured image. It is characterized in that the identification is performed.
本発明に係る実施形態の一例としての薬剤識別システムによれば、各種薬剤がそれぞれ撮影画像においてどのような姿で現れるのかの情報、すなわち、様々な撮影画像と、それらの撮影画像に映っている薬剤の情報(種別や数量)と、の対応関係が学習データとして学習データ記憶部に記憶(蓄積)される。そして、その学習データに基づいて作成されたAIモデルを用いて、入力された撮影画像に含まれる薬剤の識別が行われる。ここで、十分に蓄積された(大量の撮影画像を取り込んだ)学習データから作成されたAIモデルであれば、様々な撮影条件(照明条件、位置、距離、角度など)で撮影された画像から、その画像に映っている薬剤の情報(種別や数量)を適正に識別することができる。したがって、薬剤を特定の適正な撮影条件下に置かなくともよい。このため、薬剤の識別を行おうとする作業者は、薬剤を適正な撮影条件下に置くための作業を行う必要がなく、薬剤の識別を手軽に行うことができる。 According to the drug identification system as an example of the embodiment according to the present invention, information on how various drugs appear in the photographed images, that is, various photographed images and those photographed images are reflected. The correspondence between the drug information (type and quantity) and the correspondence is stored (stored) in the learning data storage unit as learning data. Then, using the AI model created based on the learning data, the drug contained in the input captured image is identified. Here, if the AI model is created from sufficiently accumulated training data (captured a large amount of captured images), the images captured under various shooting conditions (lighting conditions, position, distance, angle, etc.) can be used. , The drug information (type and quantity) shown in the image can be properly identified. Therefore, the drug does not have to be placed under certain proper imaging conditions. Therefore, the operator who intends to identify the drug does not need to perform the work for placing the drug under appropriate imaging conditions, and can easily identify the drug.
また薬剤または薬剤包装に識別指標が記されている場合、その識別指標の示す識別情報に基づいて薬剤識別部が薬剤の識別を行って、さらに識別した薬剤の情報とそのときの撮影画像の情報とを組み合わせた薬剤撮影例データを基に学習データを更新するようにすれば、薬剤について専門知識を持たない人物が撮影した撮影画像であっても、撮影画像と、その撮影画像にどのような薬剤が含まれているかについての正しい情報とが紐付いた、学習データを適正に更新(蓄積)できる情報となる。このため、専門知識を持たない人物(例えば薬局において調剤された薬剤の交付を受けた患者であって、AI技術者でも医療関係者でもない人物)であっても、何が正解かについての情報を含む学習データ、いわゆる教師データの蓄積に寄与することができる。したがって、この薬剤識別システムにおいては、AIおよび薬剤に関する専門知識を持たない人物によって撮影された撮影画像をも取り込んで薬剤に関する学習データの蓄積を進めることができるので、システムの利用者(薬剤の撮影を行う人物)が増加するに従って、学習データの蓄積速度が向上していく。また、その学習データに基づいて作成されるAIモデルの精度も、システム利用者の増加に従って向上していく。 When an identification index is written on the drug or drug package, the drug identification unit identifies the drug based on the identification information indicated by the identification index, and the information on the identified drug and the information of the photographed image at that time are obtained. If the learning data is updated based on the drug shooting example data in combination with, even if the shot image is taken by a person who does not have specialized knowledge about the drug, what kind of shot image and the shot image will be It is information that can properly update (accumulate) the learning data, which is linked with the correct information about whether or not the drug is contained. For this reason, information about what is the correct answer, even for those who do not have specialized knowledge (for example, a patient who has received a drug dispensed at a pharmacy and is neither an AI engineer nor a medical personnel). It can contribute to the accumulation of learning data including, so-called teacher data. Therefore, in this drug identification system, it is possible to capture images taken by a person who does not have expertise in AI and drugs to promote the accumulation of learning data on drugs, so that the user of the system (shooting of drugs) can proceed. As the number of people who perform the training increases, the speed of accumulating learning data 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モデルが判定した識別指標に対応する薬剤の識別情報に基づいて薬剤の識別と薬剤撮影例データの作成を行うようにすれば、薬剤を撮影するだけで薬剤撮影例データが得られることになり、学習データがさらに効率よく更新されるようになる。 In addition, when it is determined by the AI model that the captured image contains the identification index, the drug identification and the drug imaging example data are obtained based on the identification information of the drug corresponding to the identification index determined by the AI model. If the data is created, the drug imaging example data can be obtained only by photographing the drug, and the learning data can be updated more efficiently.
また、薬剤識別システムが、ネットワークを介してメイン機器へとアクセス可能な複数のローカル機器を有するシステムである場合には、ローカル機器を個人が持ち運び可能な機器、例えば薬剤識別部としての機能を果たす所定のアプリケーションがインストールされたスマートフォンとすることで、多数のローカル機器から薬剤撮影例データを収集することが可能となり、学習データの蓄積速度がさらに向上する。 Further, 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 device functions as a device that can be carried by an individual, for example, a drug identification unit. By using a smartphone on which a predetermined application is installed, it becomes possible to collect drug imaging example data from a large number of local devices, and the storage speed of learning data is further improved.
また、ローカル機器に組み込まれたローカルAIモデルを用いて撮影画像に含まれる薬剤を識別する場合には、ローカルAIモデルによって薬剤の識別が可能であればローカル機器はメイン機器へアクセスする必要がないため、ネットワークを介した通信の頻度を最小限に抑えることができ、薬剤識別の平均速度が向上し、またシステム全体の通信量を抑えることができる。 In addition, when identifying the drug contained in the captured image using the 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 amount of communication in the entire system can be suppressed.
また、撮影された薬剤が医療用医薬品である場合に、医療用医薬品の薬剤包装に記されておりその医療用医薬品に関する情報を示す光学マークを識別指標とすることで、医療用医薬品の包装に表示することが求められているバーコードなどの、薬剤情報の符号化方式が予め規定されている識別指標を利用して薬剤の識別を行うことが可能になり、識別指標に基づく薬剤識別の確度が向上する。 In addition, when the photographed drug is a ethical drug, the optical mark on the ethical drug packaging, which indicates information about the ethical drug, is used as an identification index to form the ethical drug packaging. It is possible to identify drugs using an identification index that has a predetermined coding method for drug information, such as barcodes that are required to be displayed, and the accuracy of drug identification based on the identification index. Is improved.
また、撮影された薬剤が、医師の判断により入力された処方箋情報に基づいて調剤された薬剤である場合に、薬剤識別部が識別した1つ以上の薬剤の情報が処方箋情報と合致するか否かを判定することで、調剤薬局などにおける患者への薬剤交付の際に、処方箋の内容と異なる薬剤を交付することを防ぐことができる。 In addition, when the photographed drug is a drug dispensed based on the prescription information input by the judgment of the doctor, whether or not the information of one or more drugs identified by the drug identification unit matches the prescription information. By determining whether or not, it is possible to prevent the delivery of a drug different from the contents of the prescription when the drug is delivered to the patient at a dispensing pharmacy or the like.
また、撮影された薬剤が、薬局において入庫した薬剤および出庫した薬剤の情報に応じて変動する在庫情報に基づいて管理される薬剤である場合に、薬剤識別部が識別した1つ以上の薬剤の情報が在庫情報と合致するか否かを判定することで、薬局の棚卸しなどの際に、在庫情報と、実際に薬局内に存在する薬剤の情報とを照合することができる。 In addition, when the photographed drug is a drug managed based on inventory information that fluctuates according to information on the drug received and discharged at the pharmacy, the drug identification unit identifies one or more drugs. By determining whether or not the information matches the inventory information, it is possible to collate the inventory information with the information of the drug actually existing in the pharmacy at the time of inventory of the pharmacy.
また、撮影された薬剤が、患者に対して調剤された薬剤であって、医療機関の指示する服薬スケジュールに基づいて服薬されるべき薬剤である場合に、薬剤識別部が識別した1つ以上の薬剤の情報が服薬スケジュールと合致するか否かを判定することで、患者が正しく服薬スケジュールに従って薬剤を服薬しているかどうかを確認することができる。 In addition, when the photographed drug is a drug dispensed to the patient and should be taken based on the medication schedule instructed by the medical institution, one or more drugs identified by the drug identification unit. By determining whether the drug information matches the medication schedule, it is possible to confirm whether the patient is taking the drug correctly according to the medication schedule.
また、学習データ記憶部と薬剤識別部とが、それぞれ別体の機器によって構成されており、薬剤識別部はネットワークを介して学習データ記憶部にアクセス可能である場合には、システムの構成の自由度が増す。例えば、学習データ記憶部と薬剤識別部とを距離的に離れた場所に設けることが可能となったり、それぞれの機器を小型化することができたりする。 Further, 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 the network, the system configuration is free. The degree increases. For example, the learning data storage unit and the drug identification unit can be provided at a distance apart from each other, or the respective devices can be miniaturized.
また、本発明に係る実施形態の別例としての薬剤識別センサは、薬剤を特定の撮影条件下に置かなくとも薬剤の識別を行うことが可能であり、処理部と画像撮影素子の他に大掛かりな機構を必要としないので、持ち運び可能な小型の機器とすることができる。また、この薬剤識別センサは、上述の薬剤識別システムによって効率よく蓄積された学習データに基づいて作成されたAIモデルを用いて薬剤の識別を行うので、精度の高い薬剤識別が可能となる。 Further, the drug identification sensor as another example of the embodiment according to the present invention can identify the drug without placing the drug under specific imaging conditions, and is large-scale in addition to the processing unit and the imaging element. Since it does not require a complicated mechanism, it can be a small portable device. Further, since this drug identification sensor discriminates a drug by using an AI model created based on learning data efficiently accumulated by the above-mentioned drug identification system, highly accurate drug identification becomes possible.
図1のブロック図に、本発明に係る実施形態の一例としての薬剤識別システム10の構成を概略的に示す。この薬剤識別システム10において識別対象となる薬剤12の例として、図1には錠剤12a単体と、錠剤PTPシート12b(1枚10錠入り)が示されている。
The block diagram of FIG. 1 schematically shows the configuration of the
図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を利用可能な構成であってもよい。
The
(基本的動作)
この薬剤識別システム10を用いて識別作業を行おうとするユーザ(作業者)はまず、撮影器20によって薬剤12(薬剤12を含む領域)を撮影して、撮影画像22を取得する。そして、この撮影画像22が薬剤識別部30へ入力される。薬剤識別部30は、撮影画像22をAIモデル50へ入力するための所定の処理(AIモデル50が受け付けるデータ形式に変換するなど)を行った上で、AIモデル50へ撮影画像22を入力データとして引き渡す。
(Basic operation)
A user (worker) who intends to perform an identification operation using the
この薬剤識別システム10において用いられるAIモデル50とは、何らかの入力データを受け取ると、その入力データに対応した出力データを返すという、入出力関係を記述したモデルであり、いわば一種の関数のような働きを持つ。具体的には、AIモデル50は、撮影画像22を入力データとして受け取ると、その撮影画像22に写っている(含まれている)薬剤12の情報を出力データとして返す。このAIモデル50は、製品名、剤形、有効成分、効能など、薬剤12に係る様々な情報を出力データとして出力することが可能である。ここでは説明のため、薬剤12の製品名と、撮影画像22内に写っている数量が出力データとして出力されるものとする。
The
このAIモデル50は学習データ記憶部60に記憶された学習データ62に基づいて作成されたものである。この学習データ62は、過去に撮影された撮影画像22と、その撮影画像22に写っていた薬剤12が何であったか、の情報とを一組の例示データとして、複数の例示データが蓄積されたものである。ここで、過去に撮影された撮影画像22においては薬剤12が様々な状態で(薬剤12の位置、距離、角度、包装状態、撮影時の照明条件、解像度、などが撮影画像22ごとに異なる状態で)写っている。言い換えると、学習データ記憶部60には、各種薬剤12がそれぞれ撮影画像22においてどのような姿で現れるのか、が学習データ62として記憶されている。
The
このような学習データ62を基として作成されたAIモデル50は、様々な撮影条件で撮影された撮影画像22を入力データとして、その撮影画像22の中に含まれる薬剤12の情報を的確に出力することが可能である。
The
そして、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
(識別指標について)
以上が薬剤識別システム10の基本的な動作であるが、本実施形態の薬剤識別システム10においては、AIモデル50による識別以外に、「識別指標」を用いて薬剤12を識別することが可能となっている。識別指標とは、薬剤12または薬剤12を包装する薬剤包装に刻印や印刷などの形で記されたものであり、その薬剤12が何であるか、つまり薬剤12の識別情報を示すものである。なお、識別指標としてはバーコードや二次元コードのような光学マーク(光の屈折率、反射スペクトルなどの光学的性質の異なる複数の部分の組み合わせによって、符号化された情報を表示するもの)のほかに、製品名そのものや識別コード(例えば製薬会社の会社コードとその会社が定める製品コードからなる記号列)が文字列/記号列として記された表示を利用することができる。これらは示すべき情報がそのまま記されている(情報が符号化されていない)が、こうした表示も識別指標として用いることができる。具体的には、薬剤12自体に刻印された識別コードや、薬剤包装にその薬剤12の製品名がそのまま印刷された文字列(例えば「ExampleA 1mg」)や、薬剤包装に印刷されたバーコード(例えば医療用医薬品に表示することが求められている、日本工業規格X0509に規定するGS1データバー)などが識別指標として利用できる。
(About identification index)
The above is the basic operation of the
図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 the identification index. In addition to these identification indicators, the company logo of the pharmaceutical company, the recycling type mark of the packaging, the medicinal effect, the usage, etc. may be displayed on the drug and the packaging of the drug, but these are omitted here for identification. Only indicators are shown. FIG. 2A shows one
図2Cは図2BのPTPシート一片73aが切り離される前の、PTPシート75a(10錠分)の全体を示している。図2Bと同じく錠剤70aの近くに識別コード71aおよび製品名72aが印刷されているほか、PTPシート75aの端部(図中の上端部)にも製品名72aが印刷されている。
FIG. 2C shows the
図2Dは図2Cに示されたPTPシート75aの裏側を示している。この裏側には、切り離し線で区切られた2錠分の領域ごとに製品名72aが印刷されているほか、PTPシート75aの端部(図中の下端部)にはバーコード76aが印刷されている。このバーコード76aは、線と空白の組み合わせにより所定桁数の数字を表している。なお、医療用医薬品に記すことが求められているGS1データバーの表す数字は通常10桁以上になるが、ここでは説明のために、バーコード76aは6桁の数字を表しているものとする。
FIG. 2D shows the back side of the
図2Eは散剤70b(粉薬)がナイロン製のSP包装(Strip Package)によって包装された個別包装73bを示している。この個別包装73bには、散剤70bの識別コード71b(「ZZ789」)と、製品名72b(「ExampleB 10%」)と、バーコード76bが印刷されている。
FIG. 2E shows an
図2Fはカプセル剤70cを包装するPTPシートの一部(3錠分)が切り離されたPTPシート一片73cを示しており、このPTPシート一片73cには、カプセル剤70cの識別コード71c(「VW456」)と、製品名72c(「ExampleC 200」)と、バーコード76cが印刷されている。
FIG. 2F shows a
図2A−図2Fに示されているような識別指標が示している識別情報はそれぞれ、薬剤情報(薬剤の情報)と対応付けられている。なお、製品名72a,72b,72cは識別指標であるとともに、それ自体が薬剤情報を表しているといえる。識別情報と薬剤情報との対応関係は薬剤識別システム10において管理されており、本実施形態においてはその対応関係が図3に示すような識別指標テーブル42として識別指標テーブル記憶部40に記憶されている。
The identification information indicated by the identification index as shown in FIGS. 2A-2F is associated with the drug information (drug information), respectively. It can be said that the
図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. Here, the correspondence between the identification information and the drug information is shown for the
識別指標テーブル42には当然ながら錠剤70a、散剤70b、カプセル剤70c以外にも多数の薬剤に関する情報が含まれる。特に医療用医薬品に関しては、識別対象となり得る製品全てについての情報が含まれていることが望ましい。こうした識別指標テーブル42は図1のAIモデル50とは無関係に用意されるものであり、製薬会社の各社が公的機関に提出した書類や公開しているデータ、あるいは製薬会社から提供されたデータを基に作成される。
The identification index table 42 naturally contains information on a large number of drugs other than the
錠剤70a、散剤70b、カプセル剤70c以外の薬剤の一例として、図3に示されている識別指標テーブル42には、製品名「ExampleX 5mg」の薬剤の情報が含まれている。この薬剤「ExampleX 5mg」は、「包装」が「1瓶 100錠」となっている通り、瓶詰めの錠剤である。薬剤「ExampleX 5mg」の識別指標として、数字「975310」を示すバーコードが瓶に付されているが、1錠単位の薬剤にはバーコードが付されていない。一方、識別コード「NM321」の文字列は各錠剤に刻印されている。識別指標テーブル42はこのほか、チューブ入りの軟膏薬や、アンプル入りの液状薬など、様々な形態の薬剤に関する情報を含むことができる。
As an example of a drug other than the
(識別指標を用いた識別)
本実施形態の薬剤識別システム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-2F and an identification index table 42 as shown in FIG. 3, and captures an
すなわち、撮影対象の薬剤12または薬剤包装に識別指標が記されている場合には、薬剤識別システム10は、AIモデル50の出力データをそのまま識別結果とするのではなく、識別指標が示す識別情報から薬剤の情報を特定することで識別結果を得ることができる。例えばAIモデル50とは別に、薬剤識別部30が、文字やバーコードからなる識別指標を画像解析により撮影画像22から検出する検出機能を備えているならば、その検出機能によって得られた識別指標の示す識別情報を識別指標テーブル42と照合することで、AIモデル50を用いずに薬剤12の情報を得ることができる。
That is, when the identification index is written on the
つまり、識別指標の検出および読み取りはAIモデル50とは別の画像解析プログラムによって行われてもよい。識別指標(バーコードや文字列など)の存在する部分を検出し、その部分のみに着目して読み取ることに特化した画像解析プログラムは、識別対象の外観全体から識別を行うAIモデル50に比べて、撮影条件によっては(例えば全体的に照明が暗いがバーコード部分のみ明るくなっている場合などには)AIモデル50よりも精度の高い識別を行えることがある。
That is, the detection and reading of the identification index may be performed by an image analysis program different from the
ただしAIモデル50によっても、撮影画像22に含まれている識別指標を検出することは可能である。すなわち、AIモデル50は、撮影画像22に写っている薬剤12について、識別指標以外の姿(輪郭の形状、色彩など)に基づく識別を行うとともに、識別指標の有無についても判定することができる。AIモデル50は、識別指標が撮影画像22に含まれていると判定したならば、その識別指標に対応する薬剤12の識別情報を薬剤識別部30へ通知する。そして薬剤識別部30が、通知された識別情報を識別指標テーブル42と照合することで、AIモデル50を用いつつ識別指標に基づく薬剤12の識別が行われる。
However, the
以上のようにして識別情報に基づいて薬剤12の情報が得られたならば、識別情報に基づいて得られた薬剤12の情報を識別結果としてモニタ14へ表示するとともに、その識別結果と撮影画像22を組み合わせて学習データ記憶部60に送信する。具体的には図4に示すような、薬剤撮影例データ32a,32bを作成して学習データ記憶部60に送信する。この場合、つまり画像解析プログラムやAIモデル50によって識別指標が検出されたら、その識別指標の示す識別情報に基づく識別が、AIモデル50による識別結果よりも優先されることになる。
When the information on the
(学習データの更新)
薬剤撮影例データ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 of learning data)
The drug
学習データ記憶部60は、薬剤識別部30から薬剤撮影例データ32a,32bを受信すると、薬剤撮影例データ32a,32bを基に学習データ62を更新する。具体的には、薬剤撮影例データ32a,32bに含まれている薬剤12の情報(どのような薬剤が撮影されたか)と、撮影画像22の情報(どのような画像であるか)の組み合わせを、「この薬剤12(ここでは「ExampleA 1mg」および「ExampleX 5mg」)は撮影画像22においてこのような姿で現れることがある」という一例として記憶する。
When the learning
学習データ62が更新されたら、その更新後の学習データ62に基づき所定のタイミングでAIモデル50が再作成(教育)される。この再作成は、薬剤識別システム10の動作に支障をきたさないタイミングで行われることが望ましい。例えば学習データ記憶部60自身がAIモデル50の再作成を行うことができ、その再作成にそれほど時間がかからないのであれば、学習データ62が更新される度にAIモデル50が再作成されてもよい。一方、AIモデル50の再作成に要する時間が長く、さらにその再作成作業中には薬剤識別システム10が利用できなくなるような場合には、薬剤識別システム10が稼働していないとき(システム停止中)にAIモデル50の再作成が行われることが好ましい。例えば再作成のためには学習データ62を解析する外部機器(図1に示す構成要素とは別の機器)を薬剤識別システム10に接続する必要があり、その間はAIモデル50が利用できなくなるような場合には、システム停止中での再作成が望まれる。これ以外にも、再作成のタイミングは様々に設定することができ、例えば前回の再作成から所定の期間が経過したとき、学習データ62がある程度蓄積されたとき(学習データ62の更新が所定の回数行われたとき、更新により追加されたデータ量が所定量を上回ったときなど)といったタイミングでもよい。
When the learning
更新後の学習データ62を基に再作成されたAIモデル50は、再作成前のAIモデル50よりも、撮影画像22に写っている薬剤12を識別する能力が高くなる。例えば図4の薬剤撮影例データ32aにはPTPシートの裏側が写っており薬剤単体の姿は現れておらず、さらに製品名の文字も小さくて読み取り困難であるが、バーコードは読み取り可能な状態になっている。このため薬剤識別部30はバーコードの示す識別情報を基に、この撮影画像は「ExampleA 1mg」が写ったものであると特定することができる。このときの薬剤撮影例データ32aを用いて学習データ62が更新され、それを基にAIモデル50が再作成(教育)されると、AIモデル50は今後、入力された撮影画像に薬剤単体の姿は現れておらず製品名も読み取り困難な場合にも、薬剤撮影例データ32aに類似した撮影画像であれば「ExampleA 1mg」が写っていると識別することが可能になる。
The
また、個別の薬剤12a,12bに関する薬剤撮影例データ32a,32bが数多く蓄積されることにより、その情報が反映されたAIモデル50は、複数の薬剤12が写っている撮影画像22に対して、その中に個別の薬剤12a,12bがそれぞれ写っていることを識別できるようになる。つまり、個別の薬剤12a,12bに関する薬剤撮影例データ32a,32bを収集することで、複数の薬剤12を同時に識別することも可能になる。その一方で、撮影画像22が個別の薬剤12a,12bに関する薬剤撮影例データ32a,32bとして切り分けられずに、「複数の薬剤が写っている薬剤撮影例データ」という形で蓄積された場合にも、その薬剤撮影例データに類似する撮影画像に対して、複数の薬剤に関する識別を精度よく素早く行うことが可能になる。
Further, by accumulating a large number of drug
(薬剤識別システムによる識別の手順)
図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 as a flowchart a procedure for identifying the
撮影画像22内に識別指標が含まれていた場合(ステップS03−YES)、薬剤識別部30はその識別指標が示す識別情報に基づいて、識別指標テーブル記憶部40の識別指標テーブル42から、撮影画像22内の薬剤12に関する情報(薬剤情報)を取得し(ステップS04)、その薬剤情報を識別結果とする。そして薬剤識別部30は撮影画像22および取得した薬剤情報を基に、薬剤撮影例データ32a,32bを作成し(ステップS05)、それを学習データ記憶部60へ送信する(ステップS06)。薬剤撮影例データ32a,32bを受信した学習データ記憶部60は、その薬剤撮影例データ32a,32bを基に学習データ62を更新する(ステップS07)。
When the identification index is included in the captured image 22 (step S03-YES), the
一方、撮影画像22内に識別指標が含まれていなかった場合(ステップS03−NO)、撮影画像22を入力データとして受け取ったAIモデル50が出力データとして返す薬剤情報を識別結果とする(ステップS08)。
On the other hand, when the identification index is not included in the captured image 22 (step S03-NO), the drug information returned as the output data by the
そして薬剤識別部30は、ステップS04またはステップS08において得られた識別結果をモニタ14へ送信する。識別結果を受信したモニタ14は、その識別結果をユーザに対して表示する(ステップS09)。
Then, the
以上のようにして、ユーザが撮影対象とした薬剤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
また撮影画像22に識別指標が含まれていれば、ユーザの作業としては薬剤12を撮影するだけで学習データ62の更新が行われることになるため、薬剤12に関して専門的な知識(正確な薬剤情報)を持たないユーザであっても、学習データ62の更新(蓄積)に寄与することができる。また薬剤識別の過程で撮影される撮影画像22を学習データ62の一部として蓄積することが可能であり、何度も薬剤識別が行われることでAIモデル50による識別の精度を高めていくことが可能となっている。
Further, if the captured
また識別指標が検出されなくともAIモデル50による識別は可能であるので、例えば一包化調剤されることにより製品名やバーコードがわからなくなった薬剤12についても、AIモデル50により薬剤12の外観、輪郭に基づいて識別を行うことができる。また識別指標としては薬剤12単体に施された製品コードの刻印を利用することも可能であるので、薬剤包装から取り出された薬剤12単体についても識別を行うことができるほか、医療用医薬品以外の、バーコードの付いていない市販薬も識別できる。なお、識別コードはメーカが独自に定めるものであるので、異なる薬剤に同じ識別コードが割り当てられることもあるが、そのような場合でも剤形、色彩、割線の有無で区別できることが多く、識別コードの読み取りとAIモデル50による形状識別とを組み合わせることで精度の高い識別を行うことが可能である。
Further, since the identification index can be identified by the
(ネットワークを介したシステム)
図6は、複数のローカル機器86がネットワーク82を介してメイン機器84へとアクセスする形態の薬剤識別システム80を示している。この薬剤識別システム80においては、ユーザが直接操作するのはローカル機器86である。ローカル機器86はそれぞれ異なる形態の機器であってもよく、図6においてはローカル機器86の例として、スマートフォン86a、調剤鑑査装置86b(調剤薬局などに据え付けで設置される機器)、デスクトップPC86cが示されている。なお、図中ではこれら各ローカル機器86がネットワーク82に対して線で結ばれているが、実際には無線通信によってメイン機器84へのアクセスを行うものであってもよい。
(System via network)
FIG. 6 shows a
また、ネットワーク82にはメイン機器84が接続されている。メイン機器84は各ローカル機器86がネットワーク82を介してアクセスする対象となる機器(サーバ装置など)であり、図6に示すように、学習データ62を記憶する学習データ記憶部60と、この学習データ62を基に作成されたメインAIモデル52とを有している。メインAIモデル52は図1の薬剤識別システム10におけるAIモデル50と同じく、薬剤が撮影画像においてどのような姿で現れるのかについての情報が蓄積された学習データ62を基に作成されたものであり、撮影画像を入力データとして、それに対応する薬剤情報を出力データとして返す機能を有する。
Further, the
各ローカル機器86はそれぞれ、図1の薬剤識別システム10における薬剤識別部30に相当する機能を備えている。例えば薬剤識別機能を提供する識別アプリケーションをローカル機器86へインストールすることで、ローカル機器86の演算器(CPUやプロセッサ)を薬剤識別部30として利用することが可能になる。また、各ローカル機器86にはそれぞれローカルAIモデル56が組み込まれている。例えば前述の識別アプリケーションにローカルAIモデル56を構成するデータが含まれていれば、ローカル機器86にローカルAIモデル56が組み込まれた状態となる。ローカルAIモデル56を構成するデータは例えば、識別アプリケーションのインストール時やアップデート時に、メイン機器84からその時点でのメインAIモデル52のデータを受信することで入手できる。
Each
ローカルAIモデル56もメインAIモデル52と同じく、撮影画像を入力データとして、それに対応する薬剤情報を出力データとして返す機能を有する。また図6には図示しないが、各ローカル機器86には薬剤の画像を撮影する機能も備わっている。例えばスマートフォン86aおよび調剤鑑査装置86bであればこれらに組み込まれたカメラが、デスクトップPC86cであればUSB接続などにより外付けされるカメラが、薬剤の撮影画像を得る手段となる。
Like the
各ローカル機器86はローカルAIモデル56を用いることにより、自身で撮影した撮影画像に関して、それに写っている(含まれる)薬剤の識別を行うことができるほか、撮影画像に識別指標が含まれているか否かを判定し、識別指標が含まれていればそれが示す識別情報を基に薬剤の識別を行うことができる。以下、一例として、スマートフォン86aがローカル機器86として機能する場合の薬剤識別システム80の働きについて説明するが、システムの構成要素間でのデータの入出力においてネットワーク82を経由することがある以外は基本的に図5のフローチャートと同じ流れで薬剤識別が行われる。
By using the
ユーザがスマートフォン86aのカメラによって薬剤の撮影画像を撮影し、それをローカルAIモデル56へ入力した結果、ローカルAIモデル56が出力データとして薬剤情報を返したならば、その薬剤情報が識別結果としてスマートフォン86aの画面に表示される。また、撮影画像に識別指標が含まれていると判定された場合には、その識別指標に対応する識別情報に基づいて薬剤の識別が行われる。この識別情報に基づく薬剤の識別においては、図3の識別指標テーブル42に相当するデータが識別アプリケーションと共にスマートフォン86aへインストールされていれば、そのデータを用いて識別情報に対応した薬剤情報を得ることができる。あるいは図1の識別指標テーブル記憶部40に相当するものとして、図6に示すような、各種薬剤に関する薬剤情報が収録されている薬剤DB88a(DB:データベース)がネットワーク82に接続されているならば、スマートフォン86aは薬剤DB88aにネットワーク82を介してアクセスし、薬剤DB88a内のデータから、撮影した薬剤に関する情報を取得するようにしてもよい。
If the user takes a photographed image of the drug with the camera of the
識別指標を用いた薬剤の識別が行われた場合には、スマートフォン86aはそのときの撮影画像と識別結果(識別した薬剤の情報)とを組み合わせた薬剤撮影例データを作成し、ネットワーク82を介してメイン機器84へ送信する。なおこの送信は薬剤の識別後すぐに行う必要はなく、メイン機器84へアクセスする機会があったときに行えばよい。メイン機器84はスマートフォン86a(ローカル機器86)から送信された薬剤撮影例データに基づき、自身の学習データ記憶部60に記憶されている学習データ62を更新する。学習データ62が更新されたら、所定のタイミングでメインAIモデル52の再作成(教育)を行う。またその後、スマートフォン86aからローカルAIモデル56を更新する要請を受信した際には、再作成したメインAIモデル52のコピーデータをスマートフォン86aへ送信する。
When a drug is identified using the identification index, the
ところで、メイン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 discriminating ability of the
調剤鑑査装置86bやデスクトップPC86cといったその他の機器がローカル機器86として働く場合も、上記のスマートフォン86aの場合と同様のことが行われる。このように、薬剤識別システム80がネットワーク82を介して接続されたメイン機器84と複数のローカル機器86を有する場合には、メイン機器84は世間に大量に出回っているスマートフォン86aなどの多数のローカル機器86から薬剤撮影例データを収集することが可能となり、学習データ62の蓄積速度が向上することが見込まれる。なお、このように多数の機器から薬剤撮影例データを収集する際には、データ整合性の担保およびデータ解析の効率化のため、ローカル機器86が薬剤撮影例データに撮影日時、撮影場所、自身の端末識別番号などを付加してメイン機器84へ送るようにしてもよい。
When other devices such as the dispensing
また、ローカル機器86に組み込まれたローカルAIモデル56を用いて撮影画像に含まれる薬剤を識別する場合には、ローカルAIモデル56のみによって薬剤の識別が可能であればローカル機器86はメイン機器84へアクセスする必要がないため、ネットワーク82を介した通信の頻度を最小限に抑えることができ、薬剤識別の平均速度が向上し、またシステム全体の通信量を抑えることができる。
Further, when the drug contained in the captured image is identified using the
なお、各ローカル機器86は、撮影画像を得る手段、ネットワーク82へアクセスするための通信機能、および薬剤識別部30を搭載する一方で、ローカルAIモデル56を搭載しない構成であってもよい。この場合、各ローカル機器86は、上記の「問い合わせ」を行う場合と同様に、撮影画像をメイン機器84に送信し、メイン機器84のAIモデル52を利用して薬剤を識別する。撮影画像を受信したメイン機器84が、その撮影画像に関してAIモデル52による識別の結果となる出力データを各ローカル機器86に引き渡すことにより、各ローカル機器86における薬剤の識別が行われる。
Each
またネットワーク82には、メイン機器84とローカル機器86以外にも、様々な構成要素を接続することが可能である。図6には例として、処方箋DB88b、在庫DB88c、服薬管理DB88dがネットワーク82に接続された状態が示されている。
Further, in addition to the
(調剤鑑査)
処方箋DB88bは、医師の判断により入力される処方箋情報を記憶するデータベースである。処方箋情報とは、病院などの医療機関において医師が患者を診断した結果、その患者に処方するべきものとして医師が判断した薬剤の情報である。いわゆる調剤薬局においては、患者が処方箋情報を記載した書面(処方箋)を提出することにより、その処方箋情報に基づいて薬剤が調剤されて患者に交付される。このときに、患者へ交付しようとする薬剤が本当に処方箋に記載された内容と一致するかどうかを確認する「調剤鑑査」の作業において、処方箋DB88bがネットワーク82に接続されていれば、薬剤識別システム80を利用することができる。すなわち、患者へ交付しようとする薬剤をスマートフォン86aや調剤鑑査装置86bのカメラなどで撮影し、交付しようとする薬剤を識別して、その識別結果を処方箋DB88bと照合することにより、処方箋情報に基づいて調剤された薬剤が本当に処方箋情報と合致しているかどうかを確認することができる。ここで、調剤される薬剤が複数ある場合には、薬剤識別システム80はそれら複数の薬剤をまとめて識別して、それら複数の薬剤の情報が種類も数量も全て処方箋情報と合致しているかどうかを判定することが好ましい。あるいは、薬剤識別システム80は複数回に分けて識別を行い、それらの識別結果の総合が処方箋情報と合致しているか否かを判定してもよい。
(Dispensing inspection)
The prescription DB88b is a database that stores prescription information input at the discretion of a doctor. Prescription information is information on a drug that a doctor has determined to be prescribed to the patient as a result of the doctor diagnosing the patient at a medical institution such as a hospital. In a so-called dispensing pharmacy, when a patient submits a document (prescription) containing prescription information, a drug is dispensed based on the prescription information and delivered to the patient. At this time, in the work of "dispensing inspection" for confirming whether the drug to be delivered to the patient really matches the contents described in the prescription, if the prescription DB88b is connected to the
(在庫管理)
在庫DB88cは、薬局において入庫した薬剤の情報と、出庫した薬剤の情報とに応じて変動する在庫情報を記憶するデータベースである。つまり在庫情報とは、その薬局に現在どのような薬剤が残っているはずであるかを表す情報である。在庫DB88cがネットワーク82に接続されていれば、薬局に現在どのような薬剤が残っているかを確認する作業、いわゆる棚卸しの際に、薬剤識別システム80を利用することができる。例えば、薬局に残っている薬剤を取り出す度にスマートフォン86aのカメラなどで撮影して識別を行い、全ての薬剤を取り出した時点でそれまでの識別結果の総合が在庫情報と合致するか否かを判定することで、在庫情報と、実際に残っている薬剤との間に差異が生じていないかを確認することができる。このとき、在庫情報に比べて実際に残っている薬剤が少なければ、薬剤を紛失している可能性があり、残っている薬剤が多ければ、記録に残らない形で余分に入庫したか、出庫するべき薬剤を出庫し忘れているといった可能性がある。薬剤識別システム80を利用することで、こうした不測の事態が生じている可能性を割り出すことができる。
(Inventory control)
The
(服薬管理)
服薬管理DB88dは、患者に対して調剤された薬剤について、医療機関の指示する服薬スケジュールを管理するデータベースである。具体的には、調剤された薬剤の各種類について、調剤が行われた日時と、調剤された時点の全数量と、服薬1回あたりに消費すべき数量と、望ましい服薬頻度(毎食後など)が記録されており、これらの情報を基に、現在時刻においては調剤した薬剤はどれだけ残っている(どれだけ消費された)はずであるかを推定することが可能である。服薬管理DB88dがネットワーク82に接続されていれば、患者による服薬コンプライアンスの遵守状況を確認でき、服薬アドヒアランスの向上を図ることも可能である。すなわち、在宅介護の現場などにおいて、患者の手元に残っている薬剤を撮影して識別を行い、その識別結果と、服薬管理DB88dから推定される現在の残薬剤数とが合致するか否かを判定することで、患者が服薬スケジュール通りに薬剤を服薬しているかどうかを確認することができる。また、医療機関のスタッフは、患者が服薬スケジュール通りに薬剤を服薬していない場合には、なぜ服薬スケジュールに従わないのかを患者に問い、服薬スケジュールに従えない何らかの事情があるならば、その事情に合わせて服薬スケジュールを見直すなどすることで、服薬アドヒアランスの向上が見込まれる。
(Medication management)
The medication management DB88d is a database that manages the medication schedule instructed by the medical institution for the drugs dispensed to the patient. Specifically, for each type of dispensed drug, the date and time of dispensing, the total quantity at the time of dispensing, the quantity to be consumed per dose, and the desired dosing frequency (after each meal, etc.) Is recorded, and based on this information, it is possible to estimate how much of the dispensed drug should remain (how much was consumed) at the current time. If the medication management DB88d is connected to the
(課金処理)
図6に示すような、ネットワーク82を介して構成された薬剤識別システム80を運営する管理者は、この薬剤識別システム80を利用するユーザに対して、その利用状況に応じて料金を請求(課金)することも可能である。例えばメインAIモデル52を利用した識別を行うとき、ローカルAIモデル56の更新を行うとき、処方箋DB88b、在庫DB88c、服薬管理DB88dにアクセスするときなど、ユーザがネットワーク82上のリソースを利用しようとする際に、そのリソース利用形態に応じて設定された料金を支払うことについて同意したユーザに対してのみリソースの利用を許可するといったことが可能である。
(Billing process)
The administrator who operates the
(識別センサ)
図1に示すような、本発明の薬剤識別システム10においては、ユーザが薬剤の識別を行うたびに学習データ62が更新されていき、その学習データ62を基に再作成(教育)されるAIモデル50の薬剤識別精度も、薬剤識別システム10の利用回数に従って向上していく。その結果としてある程度まで薬剤識別精度が向上したAIモデル50を薬剤識別センサに組み込むことで、高い薬剤識別精度を持つ薬剤識別センサを構築することができる。
(Identification sensor)
In the
図7に、薬剤識別センサ90の一例を概略的に示す。この薬剤識別センサ90は、基板91上に配置された演算素子93(CPU、プロセッサ、PLDなど)および記憶素子95(メモリ素子など)と、フレキシブルケーブル92を介して基板91に接続された画像撮影素子94(カメラなど)と、基板91と外部の機器とを接続するためのコネクタ98と、を有する。
FIG. 7 schematically shows an example of the
図1の薬剤識別システム10において薬剤の識別が繰り返されたことにより十分に蓄積された学習データ62に基づいて作成された(十分に教育された)AIモデル50のデータが、記憶素子95に記憶される。薬剤識別センサ90において、演算素子93と記憶素子95は、AIモデル50が組み込まれた処理部として機能する。この薬剤識別センサ90は、画像撮影素子94によって撮影された撮影画像を処理部において画像認識処理を行うことで、その撮影画像に含まれている薬剤の識別を行うことができる。具体的には、撮影画像を入力データとしてAIモデル50に渡し、AIモデル50が出力データとして返す薬剤の情報を識別結果とすればよい。その識別結果は、コネクタ98に接続されるモニタなどに表示させることができる。
The data of the
図7の薬剤識別センサ90は、図1の薬剤識別システム10において十分に蓄積された学習データ62に基づいて作成されたAIモデル50が組み込まれているため、非常に高い精度で薬剤の識別を行うことができる。また薬剤識別センサ90を構成する最低限の構成要素は画像撮影素子94と処理部(記憶素子95と演算素子93)のみであるので、薬剤識別センサ90の寸法は非常にコンパクトなものとすることができる。
Since the
なお、薬剤識別センサ90に図1に示すような学習データ記憶部60を設けたり、識別指標に基づく薬剤の識別や学習データ62の更新を行わせたりすることも可能である。さらに、コネクタ98を介して薬剤識別センサ90を図6に示すようなネットワーク82へ接続することで、薬剤識別センサ90において更新された学習データあるいは薬剤識別センサ90において収集された薬剤撮影例データをメイン機器84へ送信して、薬剤識別センサ90によって行われた薬剤識別の結果を利用してメイン機器84の学習データ62を更新することも可能である。
It is also possible to provide the
(ユーザによるデータの確認と修正)
図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付近に文字列として印刷されていることが多い。そのため、ユーザが薬剤に関する専門的な知識を持っていなくとも、「正しいデータ」を入力することが可能である。このように、ユーザによるデータの入力を行う場合にも、識別指標が示す識別情報が入力されることにより、識別情報に基づいて薬剤の識別が行われることになる。
(User confirmation and correction of data)
In the embodiment of FIG. 1, when the drug is identified based on the identification information indicated by the identification index, the identification result is combined with the captured
また、識別指標を用いずにAIモデル50による識別が行われた場合でも、ユーザによるデータの確認と入力を行わせることが可能である。例えば、上記の例と同様、AIモデル50による識別結果と共に「確定」ボタンと「修正」ボタンがモニタ14に表示される。そしてそれぞれのボタンについて、上記と同様に識別結果の確定または修正が行われ、確定または修正された識別結果と撮影画像22とが組み合わされて学習データ記憶部60へ送られる。また、識別指標が検出されず、AIモデル50によっても識別が不可能であった場合には、識別できなかったことを示す表示(「識別不能」など)と共に、「データ入力」ボタンがモニタ14に表示され、このボタンが押された場合にもユーザによって正しいデータの入力が行われてもよい。このようにすれば、AIモデル50による識別が行われた場合や、AIモデル50によっても識別指標によっても識別が不可能であった場合にも、そのときの撮影画像22を含んだ薬剤撮影例データ32a,32bを学習データ記憶部60へ送信することが可能になる。なお、この場合の「正しいデータ」の入力においては、ユーザは、識別指標が記されている箇所を撮影器20で撮影し直す(例えば最初の撮影がPTPシートの表側を写した場合には裏側を撮影し直す)、あるいは撮影器20とは別に設けられたバーコードリーダでバーコードを読み取るなどの方法で、識別対象となっている薬剤または薬剤包装に記されている識別指標を改めて薬剤識別部30へ検出させるようにしてもよい。また、薬剤の販売包装単位となる化粧箱に書かれた薬品名も一種の薬剤包装に記された識別指標であり、PTPシートなどの薬剤個別包装に記された識別指標が汚れなどにより読み取り困難な場合には、こうした化粧箱の識別指標が読み取られてもよい。また瓶詰めの薬剤であれば、その瓶に付されたバーコードなどの識別指標が読み取られてもよい。
Further, even when the identification is performed by the
(識別確信度の評価)
また、AIモデル50による識別が行われた場合には、その識別がどの程度信頼できるかの評価が行われてもよい。例えば入力された撮影画像22が過去の撮影画像とどの程度一致するかに応じて、識別結果をどの程度の確信を持って割り出しているかを表す「確信度」の値が算出されるようにすればよい。そして、この「確信度」が所定の閾値(例えば90%)を超えているならば、その識別結果を撮影画像22と組み合わせて学習データ記憶部60へ送るようにしてもよい(確信度が高ければ、AIモデル50による識別であっても薬剤撮影例データを作成する)。また、「確信度」が高くても低くても、その場合の識別結果が確信度の値と共にモニタ14に表示される。このときモニタ14には上記の「識別不能」の場合と同じく「データ入力ボタン」が表示され、特に確信度が低い場合には、ユーザが「正しいデータ」を入力すればよい。このようにすれば、ユーザは確信度が低い場合にのみ「正しいデータ」を入力すればよく、操作のわずらわしさが低減される。
(Evaluation of identification certainty)
Further, when the identification is performed by the
(ユーザによるデータ入力の補助)
また、識別指標やAIモデル50による識別をそのまま識別結果とするのではなく、ユーザによるデータ入力の補助として識別指標やAIモデル50が用いられてもよい。例えば、データは基本的にユーザが手入力するものとされ、モニタ14に表示される入力欄にユーザがデータを記入することでデータの入力が行われるようになっていてもよい。その一方で、識別指標やAIモデル50による識別が行われると、その識別結果のデータが自動的に入力欄へ挿入される。ユーザはその自動的に挿入されたデータを確認して、必要に応じて修正した上で確定することにより、薬剤識別部30や学習データ記憶部60に識別結果を通知すればよい。このようにすれば、入力されるデータはすべてユーザの確認を経た上で入力されるのでデータの信頼性が高まる一方で、データの大部分は自動的に挿入されるので、ユーザにとっては操作がわずらわしいということもない。
(Assistance for user data entry)
Further, instead of using the identification index or the identification by the
(AIモデルと識別指標の組み合わせ)
また、識別をAIモデル50のみ、または識別指標のみで行うのではなく、AIモデル50による識別と識別指標による識別とが組み合わされて識別結果の決定が行われてもよい。特に、「1シート」や「1錠」などの数量の割り出しについては、AIモデル50による識別と識別指標による識別とを組み合わせることで精度が高くなることが見込まれる。
(Combination of AI model and identification index)
Further, the identification is not performed only by the
例えばPTPシートのバーコードが1シートに1箇所だけ記されているとすると、識別指標のみによる識別であれば、そのバーコードが読み取られることにより「PTPシート1シート分」の薬剤が存在すると識別される。しかしながら、実際に薬局や患者の家庭で取り扱われるPTPシートは、バーコードを残しつつも一部だけ切り取られて使用されることもある。また切り取りが行われなくとも、一部の錠剤だけ既に取り出されている可能性がある。こうした場合、AIモデル50による識別であれば、「切り取られたPTPシートの形状」や「一部の錠剤領域が破かれたPTPシートの形状」を基に、現在PTPシート内に何錠の錠剤が残っているかを識別することができる。PTPシートの形状は包装される薬剤の種類が異なっていても概ね同様の形状であるので、薬剤の種類についてはバーコードなどの識別指標に基づいて識別しつつ、数量についてはPTPシートの形状からAIモデル50により識別することにより、種類と数量の両方について精度の高い識別を行うことができる。一方、識別コードのように錠剤の1錠単位に記されている識別指標が、画像解析によって検出可能となっていれば、識別指標に基づいて薬剤の数量を識別することも可能である。
For example, if the barcode of the PTP sheet is written only in one place on one sheet, if the identification is performed only by the identification index, the barcode is read to identify that the drug for "one sheet of PTP sheet" exists. Will be done. However, PTP sheets that are actually handled in pharmacies and patients' homes may be partially cut out and used while leaving a barcode. Moreover, even if the cutting is not performed, it is possible that only some tablets have already been taken out. In such a case, in the case of identification by the
なお、薬剤包装(例えばPTPシート)の形状と数量との具体的な対応関係については、薬剤包装の形状と数量とが組み合された薬剤撮影例データとして学習データ62に蓄積させることが可能である。例えば10錠入りPTPシートのうち1錠だけ取り出し済みの(1錠分の領域だけ破かれている)PTPシートについて、そのPTPシートを撮影したユーザが「この撮影画像に写っているPTPシートに残っている錠剤は9錠」といった情報を入力して学習データ記憶部60へ送信すればよい。このように薬剤包装の形状とそれに内包される薬剤の数量との対応関係を示す情報が数多く学習データ62に蓄積されると、その情報が反映されたAIモデル50は、薬剤包装の形状から、その薬剤包装に内包される薬剤の数量を識別することが可能になる。例えば10錠入りPTPシートのうち1錠だけ取り出し済みのPTPシートに関する薬剤撮影例データが蓄積されていれば、蓄積された薬剤撮影例データと類似する形状のPTPシートに対して、AIモデル50は「10錠入りシートのうち9錠分が残っている」という識別が可能になる。
The specific correspondence between the shape and quantity of the drug package (for example, PTP sheet) can be stored in the learning
(持参薬識別について)
さらに、十分に教育されたAIモデル50によれば、識別指標が付されていない薬剤であっても、薬剤自身の形状や色彩などに基づいて識別が可能になる。そのため、AIモデル50を用いた識別は、持参薬識別のために非常に有効である。持参薬とは患者が医療機関で診察、検査、治療を受ける、または入院する際に、患者がその時点で普段服用している薬剤として提示する薬剤である。医療機関にとって、患者の持参薬の内容を把握することは、診察後、治療中、入院時に薬剤を処方する上で、また手術や検査を適切に行う上で非常に重要となる。すなわち、処方する薬剤と持参薬との重複投与を避けたり、薬剤の危険な組み合わせを避けたりすることができる。さらに、治療、手術、検査前までに服用を中止した、あるいは中止すべき薬剤を確認することができる。また、医療機関から患者に対してその薬剤の服用方を適切に助言することや、健康食品やサプリメントとの飲み合わせについても助言することができる。薬剤識別を行わずとも、薬剤の説明書やいわゆるお薬手帳の情報により、患者が服薬している薬剤の内容を把握することは可能である。しかしながら、患者が実際に服薬しているかについてはこれらの情報では完全には把握できない。最も確実なのは、患者に実際に服薬している薬剤を持参してもらい、その持参薬を確認することである。持参薬を確認する際に、識別指標として薬剤の製品名や識別コードが薬剤の包装に記載されていれば、薬剤識別システムによらずとも比較的容易に薬剤を識別できる。しかし一包化調剤されたり、PTPシートが切り取られたり、錠剤が包装から取り出されて単体で保管されたりした結果、識別指標が読み取れる形で薬剤の包装に記載されていない、あるいは薬剤の包装自体が存在しないことがある。この場合、肉眼では持参薬の識別は困難となる。本発明の薬剤識別システムであれば、このような場合でも薬剤を識別することができ、患者の持参薬識別、持参薬確認のために非常に有効となる。
(About identification of brought-in medicine)
Furthermore, according to the well-educated
(外部機器に対するデータ入出力)
図1に示す実施形態においては撮影器20、モニタ14が薬剤識別システム10の構成要素となっているが、これらは薬剤識別システム10の外部の機器であってもよく、薬剤識別システム10は外部から撮影画像22のデータ入力を受け付け、識別結果のデータを外部へ出力できるようになっていればよい。
(Data input / output to external devices)
In the embodiment shown in FIG. 1, the
(データの配置について)
また図1に示す実施形態においては識別指標テーブル記憶部40およびAIモデル50が薬剤識別部30とは別体となっているが、識別指標テーブル42のデータとAIモデル50のデータが薬剤識別部30に組み込まれていてもよい。一方で、識別指標テーブル42のデータとAIモデル50のデータは、ネットワークを介してアクセス可能な、薬剤識別部30から遠方の機器に配置されてもよい。
(About data placement)
Further, in the embodiment shown in FIG. 1, the identification index
(撮影時期について)
また薬剤12の撮影は識別の際に行われる必要はなく、事前に薬剤識別システム10とは別の場所で撮影された画像のデータを撮影画像22として取り込む(薬剤識別部30に入力する)ことも可能である。
(About shooting time)
Further, the photographing of the
(AIモデルの作成方式について)
また学習データ62に基づいて作成されるAIモデル50は、学習データ62を教師データとする教師あり学習によって作成されるものに限られない。例えば学習データ62に基づいて深層学習が行われた結果得られたAIモデルが、薬剤識別システム10のAIモデル50として用いられてもよい。
(About AI model creation method)
Further, the
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 ステップ
10
88b Prescription DB
88c inventory DB
88d medication management DB
90
Claims (11)
各種薬剤がそれぞれ撮影画像においてどのような姿で現れるのかを学習データとして記憶する学習データ記憶部と、
撮影画像に含まれる薬剤を識別する薬剤識別部と、
を備え、
前記薬剤識別部は、前記学習データ記憶部に記憶された前記学習データに基づいて作成されたAIモデルであって、撮影画像を入力データとして、それに対応する薬剤の情報を出力データとして返すAIモデルを用いて、入力された撮影画像に含まれる薬剤を識別することを特徴とする薬剤識別システム。 In a drug identification system that identifies a drug taken by performing image recognition of a photographed image of the drug.
A learning data storage unit that stores as learning data how various drugs appear in captured images,
A drug identification unit that identifies the drug contained in the captured image,
With
The drug identification unit is an AI model created based on the learning data stored in the training data storage unit, and returns an captured image as input data and information on the corresponding drug as output data. A drug identification system characterized by identifying a drug contained in an input captured image by using.
前記学習データ記憶部は、前記薬剤識別部から前記薬剤撮影例データを受信すると、その薬剤撮影例データに含まれる薬剤の情報と撮影画像の情報を、当該薬剤が撮影画像において現れる姿の一例として記憶して前記学習データを更新すること
を特徴とする請求項1に記載の薬剤識別システム。 When a drug or a drug package for packaging a drug contains an identification index indicating drug identification information, the drug identification unit identifies the drug based on the drug identification information indicated by the identification index and identifies the drug. The drug imaging example data was created by combining the information of the drug and the information of the captured image at that time, and the drug imaging example data was transmitted to the learning data storage unit.
When the learning data storage unit receives the drug imaging example data from the drug identification unit, the learning data storage unit uses the drug information and the captured image information included in the drug imaging example data as an example of the appearance of the drug appearing in the captured image. The drug identification system according to claim 1, wherein the learning data is stored and updated.
を特徴とする請求項2に記載の薬剤識別システム。 When it is determined by the AI model that the captured image contains the identification index, the drug identification unit identifies the drug based on the identification information of the drug corresponding to the identification index determined by the AI model. The drug identification system according to claim 2, wherein the drug imaging example data is created by combining the information of the identified drug and the information of the captured image at that time.
前記ローカル機器によって行われた薬剤の識別において前記薬剤撮影例データが作成された場合には、その薬剤撮影例データを前記メイン機器へ送信し、
前記メイン機器は、前記ローカル機器から送信された薬剤撮影例データに基づいて自身の記憶している学習データを更新すること
を特徴とする請求項2または請求項3に記載の薬剤識別システム。 Each is equipped with the drug identification unit, and has a plurality of local devices that can access 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.
The drug identification system according to claim 2 or 3, wherein the main device updates learning data stored by itself based on drug imaging example data transmitted from the local device.
を特徴とする請求項4に記載の薬剤識別システム。 The drug identification unit of the local device identifies the drug contained in the captured image by using the local AI model incorporated in the local device, and cannot identify the drug contained in the captured image even by using the local AI model. In this case, the claim is characterized in that the main device is accessed via a network and the drug is identified using the main AI model created based on the learning data stored in the main device. 4. The drug identification system according to 4.
を特徴とする請求項2ないし請求項5のいずれか1項に記載の薬剤識別システム。 Claim 2 to claim that when the photographed drug is a ethical drug, the optical mark on the ethical drug packaging indicating the information about the ethical drug is used as the identification index. Item 5. The drug identification system according to any one of Item 5.
前記薬剤識別部が識別した1つ以上の薬剤の情報が、前記処方箋情報と合致するか否かを判定すること
を特徴とする請求項1ないし請求項6のいずれか1項に記載の薬剤識別システム。 If the drug taken is a drug dispensed based on prescription information entered at the discretion of the doctor
The drug identification according to any one of claims 1 to 6, wherein it is determined whether or not the information of one or more drugs identified by the drug identification unit matches the prescription information. system.
前記薬剤識別部が識別した1つ以上の薬剤の情報が、前記在庫情報と合致するか否かを判定すること
を特徴とする請求項1ないし請求項6のいずれか1項に記載の薬剤識別システム。 When the photographed drug is a drug that is managed based on inventory information that fluctuates according to the information of the drug that has been received and the drug that has been issued at the pharmacy.
The drug identification according to any one of claims 1 to 6, wherein it is determined whether or not the information of one or more drugs identified by the drug identification unit matches the inventory information. system.
前記薬剤識別部が識別した1つ以上の薬剤の情報が、前記服薬スケジュールと合致するか否かを判定すること
を特徴とする請求項1ないし請求項6のいずれか1項に記載の薬剤識別システム。 If the drug taken is a drug that has been dispensed to the patient and should be taken according to the medication schedule instructed by the medical institution.
The drug identification according to any one of claims 1 to 6, wherein it is determined whether or not the information of one or more drugs identified by the drug identification unit matches the medication schedule. system.
を特徴とする請求項1ないし請求項9のいずれか1項に記載の薬剤識別システム。 The claim is characterized in that 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 drug identification system according to any one of claims 1 to 9.
画像を撮影することが可能な画像撮影素子とを有し、
前記画像撮影素子によって撮影された撮影画像について、前記処理部にて画像認識処理を行うことで、前記撮影画像に含まれる薬剤の識別を行うこと
を特徴とする薬剤識別センサ。
A processing unit including a storage element and a calculation element incorporating an AI model created based on the learning data obtained by the drug identification system according to any one of claims 1 to 10.
It has an image capturing element capable of capturing an image, and has
A drug identification sensor characterized in that a drug included in a photographed image is identified by performing image recognition processing on the photographed image captured by the image capturing element in the processing unit.
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 true JP2021124989A (en) | 2021-08-30 |
JP7329463B2 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) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2023080742A (en) * | 2021-11-30 | 2023-06-09 | NeoX株式会社 | Medication management system |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2015228082A (en) * | 2014-05-30 | 2015-12-17 | 日本電信電話株式会社 | Dosage evidence management terminal, dosage evidence management system, and dosage evidence 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 | 富士フイルム株式会社 | Medicine information registration device, medicine information registration method, and program |
JP2018027242A (en) * | 2016-08-18 | 2018-02-22 | 安川情報システム株式会社 | Tablet detection method, tablet detection device, and table detection program |
-
2020
- 2020-02-06 JP JP2020018394A patent/JP7329463B2/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2015228082A (en) * | 2014-05-30 | 2015-12-17 | 日本電信電話株式会社 | Dosage evidence management terminal, dosage evidence management system, and dosage evidence 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 | 富士フイルム株式会社 | Medicine information registration device, medicine information registration method, and program |
JP2018027242A (en) * | 2016-08-18 | 2018-02-22 | 安川情報システム株式会社 | Tablet detection method, tablet detection device, and table detection program |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2023080742A (en) * | 2021-11-30 | 2023-06-09 | NeoX株式会社 | Medication management system |
Also Published As
Publication number | Publication date |
---|---|
JP7329463B2 (en) | 2023-08-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6009888B2 (en) | Drug inspection apparatus and method | |
US11314964B2 (en) | Apparatus and method for determination of medication location | |
JP6879298B2 (en) | Image processing program and image processing device | |
JP6521528B2 (en) | Alternative medicine search device and alternative medicine search method | |
US20110261194A1 (en) | System for performing clinical trials | |
JP2004157579A (en) | Work management system for dispensing pharmacy | |
JP5091950B2 (en) | A management system for prescribing and dispensing drugs that can cause serious side effects | |
JP6809721B2 (en) | Inventory management device, inventory management method, inventory management program | |
US20190051397A1 (en) | One-packaging medicine audit apparatus, one-packaging medicine audit system, method of outputting one-packaging medicine information, and one-packaging medicine information output program | |
JP7329463B2 (en) | drug identification system | |
CN110232506A (en) | A kind of pharmacist deploys the real time evaluating method and system of state | |
US20140195262A1 (en) | Drug registration apparatus and program | |
JP2009189875A (en) | Dispensing inspection support system for packaged medicament | |
US11707415B2 (en) | Medicine management system | |
JP6092764B2 (en) | Drug mixing preparation management device and control program | |
JP2021157684A (en) | Information processing device, information processing method, information processing program, and information processing system | |
JP2020177595A (en) | Prescription information receiving device, method, and computer program | |
JP6312905B2 (en) | Drug inspection device and program | |
JP6082707B2 (en) | Drug registration device and program | |
JP2007317216A (en) | Pharmacy system utilizing two-dimensional code | |
JP5852057B2 (en) | Drug registration device and program | |
JP6155205B2 (en) | Drug inspection device and program | |
TWM524524U (en) | Hospital inpatient department pharmaceutical affair management system | |
JP2024055808A (en) | Medication management system, management server, and control program for the management server | |
JP2023003649A (en) | Information processing device and program |
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 |