JP6698263B2 - Drug check support device - Google Patents

Drug check support device Download PDF

Info

Publication number
JP6698263B2
JP6698263B2 JP2013218589A JP2013218589A JP6698263B2 JP 6698263 B2 JP6698263 B2 JP 6698263B2 JP 2013218589 A JP2013218589 A JP 2013218589A JP 2013218589 A JP2013218589 A JP 2013218589A JP 6698263 B2 JP6698263 B2 JP 6698263B2
Authority
JP
Japan
Prior art keywords
drug
medicine
image
information
prescription
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.)
Expired - Fee Related
Application number
JP2013218589A
Other languages
Japanese (ja)
Other versions
JP2015080512A (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.)
Fujitsu Marketing Ltd
Original Assignee
Fujitsu Marketing 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 Fujitsu Marketing Ltd filed Critical Fujitsu Marketing Ltd
Priority to JP2013218589A priority Critical patent/JP6698263B2/en
Publication of JP2015080512A publication Critical patent/JP2015080512A/en
Application granted granted Critical
Publication of JP6698263B2 publication Critical patent/JP6698263B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Medical Preparation Storing Or Oral Administration Devices (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Medical Treatment And Welfare Office Work (AREA)

Description

本発明は、調剤薬局などにおいて調剤された薬剤を薬袋に入れる際に、薬剤の種類や数量を間違えて薬袋に入れる事を防止するための、薬剤チェック支援装置に関するものである。   The present invention relates to a drug check support device for preventing a drug, which is dispensed at a dispensing pharmacy or the like, from being put in a drug bag by mistake in the type or quantity of the drug.

調剤薬局などにおいては、薬剤師が、患者から渡された処方箋に基づいて薬剤を処方し、処方した薬剤を患者に手渡すという作業が行われている。   In a dispensing pharmacy or the like, a pharmacist prescribes a drug based on a prescription given by the patient, and hands the prescribed drug to the patient.

処方箋は患者を診察した医師によって作成され、患者の症状に合わせて必要な薬剤名称や数量、服用方法などの処方が記載されている。薬剤師は処方箋に記載された処方に従って、必要な薬剤のピッキング作業や薬剤の混和などの調剤を行う。そして、必要な薬剤を揃えた上で、薬剤を薬袋に入れて患者に手渡す。   The prescription is created by a doctor who examines the patient, and describes a prescription such as the necessary drug name, quantity, and method of administration according to the patient's symptoms. The pharmacist prepares necessary drugs such as picking work and mixing drugs according to the prescription described in the prescription. Then, after arranging necessary medicines, the medicines are put in a medicine bag and handed to the patient.

薬剤師による薬剤の処方は処方箋の記載内容に従って行われるが、どの薬剤を処方するかについては薬剤師の裁量で行えるものもある。具体的には、ジェネリック薬を処方する場合は、処方箋にジェネリック薬への変更を禁止する旨の記載がなく、患者がジェネリック薬の処方を希望した場合に、薬剤師の裁量で、処方箋に記載された薬剤と同一の効能を持つ後発医薬品であるジェネリック薬を処方することができる。   The prescription of the drug by the pharmacist is performed according to the description content of the prescription, but there are some which can be determined by the pharmacist regarding which drug to prescribe. Specifically, when prescribing a generic drug, there is no statement in the prescription that prohibiting the change to the generic drug, and if the patient desires to prescribe a generic drug, it will be stated on the prescription at the discretion of the pharmacist. Generic drugs, which are generic drugs with the same efficacy as other drugs, can be prescribed.

また、薬剤師は患者に薬剤を手渡す際には、調剤した薬剤の適正な使用のために必要な情報を提供することになっている。そのため、薬袋に薬剤の服用方法や効能・効用を記載したり、薬剤の服用方法や効能・効用を記載された薬剤説明書を患者に手渡したりしている。   Further, when handing a drug to a patient, the pharmacist is supposed to provide information necessary for proper use of the dispensed drug. Therefore, the medicine bag describes the method of taking the drug, its efficacy, and the drug, and hands the patient with a drug description that describes the drug's method of administration and the drug's efficacy.

多くの調剤薬局では、処方した薬剤を患者に手渡す際に、薬袋と調剤した薬剤および薬剤説明書をカウンターに並べて、処方した薬の効能・効用や、服用方法を患者に薬剤ごとに口頭で説明を行い、説明を行った後に薬剤を薬袋に入れて手渡すという作業を行っている。   In many dispensing pharmacies, when handing a prescribed drug to a patient, the medicine bag and the dispensed drug and the drug description are lined up on the counter to explain the efficacy and efficacy of the prescribed drug and how to take it to each patient orally. After carrying out the explanation, the drug is put in a medicine bag and handed over.

これは、調剤した薬剤の適正な使用のために必要な情報を提供しなければならない事に加えて、薬剤のピッキングミスや患者間違いなどにより処方された薬剤と異なる薬剤を手渡してしまう事や、手渡す薬剤の数量の間違いを防止する事を目的とするものである。   This is because in addition to having to provide the information necessary for the proper use of the dispensed drug, handing a drug different from the prescribed drug due to drug picking mistakes or patient mistakes, The purpose is to prevent mistakes in the amount of medicines to be handed over.

このように処方した薬剤を手渡しする際に、薬剤の種類の間違いや数量の間違いをチェックする事を支援する方法として、例えば、特許文献1においては、薬剤の包装表面上に印刷されている印刷情報の薬剤名を読み取って処方した薬剤の名称が正しいものであるかを認識する薬剤認識装置が開示されている。   As a method for assisting in checking an error in the type or quantity of a drug when handing over a drug prescribed in this way, for example, in Patent Document 1, printing printed on the packaging surface of the drug is disclosed. There is disclosed a drug recognition device that reads a drug name of information and recognizes whether a prescribed drug name is correct.

また、特許文献2においては、処方箋から調剤指示書を作成し、調剤指示書に印刷されたコードと薬剤の包装を続けて読み込む事によって、薬剤の包装に印字された薬剤名がコードに関連付けられた処方箋情報に含まれているか否かを検査する薬剤監査装置が開示されている。   Further, in Patent Document 2, a dispensing instruction sheet is created from a prescription, and the code printed on the dispensing instruction sheet and the medicine packaging are read continuously, so that the medicine name printed on the medicine packaging is associated with the code. There is disclosed a drug inspecting device that inspects whether or not it is included in the prescription information.

特開2004−167158号公報JP, 2004-167158, A 特開2005−34479号公報JP, 2005-34479, A

従来技術で開示されているような装置を利用する事によって、調剤ミスを防止することができる。例えば、ピッキングした薬剤が処方箋に記載された薬剤と一致するものであるかといった検証を行うことができる。   By using the device as disclosed in the prior art, dispensing mistake can be prevented. For example, it can be verified whether the picked medicine is the same as the medicine described in the prescription.

しかし、先に述べたようなジェネリック薬を処方する場合などは、処方箋に記載された薬剤名称と、実際にピッキングして調剤する薬剤名称が異なる場合がある。また、従来技術のような装置で処方した薬剤が正しいものであるかをチェックできたとしても、調剤薬局では、患者に薬剤を手渡す前に薬剤の説明を患者に行うという業務が行われている。   However, when prescribing a generic drug as described above, the drug name written on the prescription may differ from the drug name actually picked and dispensed. Further, even if it is possible to check whether a prescribed drug is correct with a device as in the prior art, the dispensing pharmacy has a task of explaining the drug to the patient before handing the drug to the patient. ..

そのため、複数の薬剤を処方した場合は、従来技術のような装置で薬剤のチェックを行った後に患者に対して薬剤の説明をしている間に間違えて、服用方法の異なる薬剤を間違った薬袋に入れてしまう可能性がある。これによって、患者に手渡した薬は正しかったとしても、患者が間違った薬剤を服用してしまうという問題が発生する場合もある。   Therefore, when prescribing more than one drug, you may make a mistake while explaining the drug to the patient after checking the drug with a device like the prior art, and use the wrong drug in different drug bags. There is a possibility to put in. This may cause a problem that the patient takes the wrong drug even if the drug given to the patient is correct.

本発明は、以上の点に鑑み調剤薬局において、薬剤師が患者に薬剤を手渡す際に、薬剤の種類や数量を間違えて薬袋に入れて患者に手渡してしまう事を防止することを目的としている。   In view of the above points, it is an object of the present invention to prevent a pharmacist from handing over a drug to a patient when the pharmacist hands the drug over to the patient by mistakenly putting the drug in the wrong kind or quantity.

上記課題を解決するために、本発明における薬剤チェック支援装置は、薬剤の情報を薬剤の印字名称または識別コードと対応付けて記憶する薬剤情報記憶手段と、少なくとも薬袋と当該薬袋に袋入する薬剤および薬剤処方説明書を含む領域を画像データに変換する画像変換手段と、前記画像変換手段で変換された画像データから薬剤の処方情報が記載されている領域の画像と薬剤の画像を抽出する画像抽出手段と、前記画像抽出手段で抽出された薬剤の処方情報が記載されている領域の画像から薬剤の処方情報を読み取る薬剤処方情報読取手段と、前記画像抽出手段で抽出された薬剤の画像から薬剤の印字名称または識別コードを読み取り、読み取った印字名称または識別コードに対応する薬剤の情報を前記薬剤情報記憶手段から取得する薬剤情報読取手段と、前記薬剤情報読取手段で取得した薬剤の情報が、前記薬剤処方情報読取手段で読み取った処方情報と一致するかを判定する薬剤チェック手段とを具備することを特徴とする。   In order to solve the above problems, the drug check support device according to the present invention is a drug information storage unit that stores drug information in association with a drug print name or identification code, and at least a drug bag and a drug to be packed in the drug bag. And an image converting means for converting an area including the drug prescription instruction into image data, and an image of an area in which drug prescription information is described and an image of the drug are extracted from the image data converted by the image converting means. From the image of the medicine extracted by the extraction means, the medicine prescription information reading means for reading the medicine prescription information from the image of the region in which the prescription information of the medicine extracted by the image extraction means is described, and the image of the medicine extracted by the image extraction means A drug information reading unit that reads a drug print name or identification code and acquires drug information corresponding to the read print name or identification code from the drug information storage unit, and drug information acquired by the drug information reading unit. And a drug check unit for determining whether or not it matches the prescription information read by the drug prescription information reading unit.

また、本発明における薬剤チェック支援装置の別の態様としては、前記薬剤情報読取手段で取得した薬剤の情報に含まれる薬剤の種類が錠剤またはカプセル剤であった場合に、前記画像抽出手段で抽出された薬剤の画像に含まれている錠剤またはカプセル剤の形状部分を抽出することにより、薬剤の数を算出する薬剤数抽出手段と、前記錠剤数抽出手段で算出した薬剤の数が、前記薬剤処方情報読取手段で読み取った処方情報に含まれる処方薬剤の数と一致するかを判断する薬剤数チェック手段とを更に具備することを特徴とする。   Further, as another aspect of the medicine check support device in the present invention, when the kind of medicine contained in the medicine information acquired by the medicine information reading means is a tablet or a capsule, the medicine is extracted by the image extracting means. The drug number extraction means for calculating the number of medicines by extracting the shape part of the tablet or capsule contained in the image of the medicine, and the number of medicines calculated by the tablet number extraction means are It further comprises a medicine number checking means for judging whether or not the number of prescription medicines included in the prescription information read by the prescription information reading means matches.

また、本発明における薬剤チェック支援装置の別の態様としては、前記薬剤情報記憶手段は薬剤の画像に含まれている錠剤またはカプセル剤の形状部分の面積情報をさらに記憶し、前記薬剤数抽出手段は前記画像抽出手段で抽出された薬剤の画像に含まれている錠剤またはカプセル剤の形状部分の面積の合計値を算出し、前記薬剤数チェック手段は前記薬剤処方情報読取手段で読み取った薬剤の処方情報および前記薬剤情報記手段に記憶されている薬剤情報に基づいて、前記画像抽出手段で抽出された薬剤の画像に含まれる錠剤またはカプセル剤の形状部分の面積の合計値を算出し、算出した面積の合計値が前記薬剤数抽出手段で算出した面積の合計値と一致するかを判断することによって、薬剤の画像に含まれる錠剤またはカプセル剤の数が前記薬剤処方情報読取手段で読み取った処方情報に含まれる処方錠剤の数と一致するかを判断することを特徴とする。   In another aspect of the drug check support device according to the present invention, the drug information storage means further stores area information of a shape portion of a tablet or capsule contained in an image of a drug, and the drug number extraction means. Calculates the total value of the areas of the shape parts of the tablets or capsules contained in the image of the medicine extracted by the image extracting means, and the medicine number checking means detects the medicines read by the medicine prescription information reading means. Based on the prescription information and the drug information stored in the drug information recording means, calculate the total value of the area of the shape part of the tablet or capsule included in the image of the drug extracted by the image extracting means, and calculate The number of tablets or capsules contained in the image of the medicine was read by the medicine prescription information reading means by determining whether the total value of the areas that were calculated matches the total value of the areas calculated by the medicine number extraction means. It is characterized by determining whether or not the number of prescription tablets contained in the prescription information matches.

上述のような構成を取ることによって、本発明における薬剤チェック支援装置では、薬剤を薬袋に入れる直前に、薬袋に入れる薬剤が間違っていないかを、薬袋または薬剤処方説明書に記載された情報に基づいてチェックすることができる。これによって、薬袋に入れる薬剤の入れ間違いを防止することが可能となる。   By taking the configuration as described above, in the medicine check support device according to the present invention, immediately before the medicine is put in the medicine bag, whether the medicine to be put in the medicine bag is correct or not is determined by the information described in the medicine bag or the medicine prescription manual. Can be checked based on. This makes it possible to prevent mistakes in putting the medicine in the medicine bag.

さらには、薬剤の情報を読み取る際に、薬剤の形状から薬袋に入れる薬剤の数量を抽出することによって、薬袋に入れる薬剤の種類のチェックだけでなく、薬剤の数の間違いまでをもチェックすることができる。手渡しする薬剤の数量は、薬剤の画像から薬剤の形状部分を抽出して行うだけでなく、薬剤の画像から形状部分の面積の合計値を算出してチェックすることにより、薬剤の画像に種類の異なる複数の薬剤が含まれている場合であっても薬剤数のチェックを行うことができる。   Furthermore, when reading the drug information, it is possible to check not only the type of drug to be put in the medicine bag but also the mistake in the number of medicines by extracting the number of medicines to be put in the medicine bag from the shape of the medicine. You can The number of medicines to be handed is determined not only by extracting the shape portion of the medicine from the medicine image, but also by calculating the total area of the shape portion from the medicine image and checking it. The number of drugs can be checked even when a plurality of different drugs are contained.

また、薬剤名称や薬剤の数量が正しいか否かのチェックは、薬袋または薬剤処方説明書に記載された情報に基づいてチェックするため、処方箋情報が記録された他の装置やシステムと連携することなく、簡易的に薬剤のチェックを行うことができる。   In addition, since it is checked whether the medicine name or quantity is correct based on the information written in the medicine bag or the medicine prescription manual, it must be linked with other devices or systems where the prescription information is recorded. Instead, it is possible to easily check the medicine.

薬剤チェック支援装置のシステム構成例を示した図である。It is the figure which showed the system configuration example of the medicine check support device. オーバーヘッドスキャナ装置の設置例を示した図である。It is a figure showing an installation example of an overhead scanner device. 薬袋の一例を表した図である。It is a figure showing an example of a medicine bag. 薬剤の一例を表した図である。It is a figure showing an example of a medicine. 薬剤説明書の一例を表した図である。It is a figure showing an example of a medicine manual. 読取装置で読取った画像データの一例を表した図である。It is a figure showing an example of the image data read by the reading device. 読取装置で読取った画像データの一例を表した図である。It is a figure showing an example of the image data read by the reading device. 画像抽出条件データ構造の例を図示したものである。6 is a diagram illustrating an example of an image extraction condition data structure. 画像データの読取り領域の範囲の例を図示したものである。6 illustrates an example of a range of a reading area of image data. 薬袋の画像データをOCR認識した状態の一例を表した図である。It is a figure showing an example of the state which carried out OCR recognition of the image data on a medicine bag. 薬袋の画像データをOCR認識した状態の一例を表した図である。It is a figure showing an example of the state which carried out OCR recognition of the image data on a medicine bag. 薬剤説明書の画像データをOCR認識した状態の一例を表した図である。It is a figure showing an example of the state where OCR recognition was carried out on the image data of the medicine description. 処方情報抽出パターン定義のデータ構造の例を図示したものである。6 illustrates an example of a data structure of a prescription information extraction pattern definition. 薬剤情報データのデータ構造の例を図示したものである。4 is a diagram illustrating an example of a data structure of drug information data. 文字列からの相対位置により読取領域を特定してOCR認識する場合の一例を図示したものである。6 illustrates an example of a case where a reading area is specified by a relative position from a character string and OCR recognition is performed. 処方情報記載位置定義データのデータ構造の例を図示したものである。6 illustrates an example of a data structure of prescription information describing position definition data. 薬剤の画像データをOCR認識した状態の一例を表した図である。It is a figure showing an example of the state where OCR recognition was carried out on the image data of a medicine. 薬剤の画像データからコード領域を認識した状態の一例を表した図である。It is a figure showing an example of the state where the code area was recognized from the image data of the medicine. 薬剤の画像データから薬剤の輪郭部分を強調表示した状態の一例を表した図である。It is a figure showing an example of the state where the outline part of the medicine was highlighted from the image data of the medicine. 読取情報データ構造の一例を図示したものである。3 illustrates an example of a read information data structure. 薬袋に入れる薬剤のチェックを行う場合の処理フロー図である。It is a processing flow diagram at the time of checking the chemical|medical agent put into a medicine bag.

以下、本発明の実施の形態について詳細に説明する。なお、以下では、調剤薬局において薬剤を患者に手渡す場合に、薬剤のチェックを行う装置の例について説明するが、本発明における薬剤チェック支援装置は調剤薬局での利用に限られるものではなく、例えば病院などにおいて、薬剤を薬袋に入れて手渡しする業務を行う場合などにおいても同様に適用することができる。   Hereinafter, embodiments of the present invention will be described in detail. In the following, when handing a drug to a patient in a dispensing pharmacy, an example of a device for checking the drug will be described, but the drug check support device in the present invention is not limited to use in the dispensing pharmacy, and for example, The same can be applied to a case where a drug is placed in a medicine bag and handed over in a hospital or the like.

はじめに、一般的な調剤薬局の業務について説明する。調剤薬局では、薬剤師が患者から処方箋を受け取ると、一般的にレセプトコンピュータ(以下、レセコンという)と呼ばれるシステムに患者情報や処方箋情報の入力を行う。一般的に調剤薬局では調剤報酬明細を作成するためにレセコンを利用するが、レセコンの機能として処方チェック機能や薬袋印刷機能、薬剤説明書印刷機能を有するものなどがある。   First, the general operations of a dispensing pharmacy will be explained. In a dispensing pharmacy, when a pharmacist receives a prescription from a patient, the pharmacist inputs patient information and prescription information into a system generally called a receipt computer (hereinafter referred to as “rececon”). In general, a dispensing pharmacy uses a receipt computer to create a dispensing reward statement, but there are functions that have a prescription check function, a medicine bag printing function, a drug instruction printing function, and the like.

薬剤師は処方箋情報をレセコンに入力した後に、処方する薬剤のピッキング作業や薬剤の混合などの処方を行う。薬剤のピッキングとは、薬剤棚に収められた薬剤から処方する薬を取り出す作業である。薬剤のピッキング作業を行う場合に、薬剤の取り間違いが発生する場合もある。   The pharmacist inputs prescription information to the receipt computer, and then performs prescription such as picking work of prescription drugs and mixing of drugs. Drug picking is an operation of taking out a drug to be prescribed from a drug stored in a drug rack. When performing a drug picking operation, the drug may be mistakenly picked up.

そして、薬袋や薬剤説明書に処方した薬剤の服用方法や効能・効用の印刷を行う。患者に手渡す薬剤や薬袋、薬剤説明書等の準備が出来たら、これらを手渡しカウンター上に置いて、処方する薬剤の説明を患者に対して行う。説明が終わると、薬剤を薬袋に入れて患者に手渡し、患者から調剤料などの調剤費用を受け取る。ここで、カウンター上に複数の薬剤や薬袋などを並べて置くため、薬袋に入れる薬剤の入れ間違いが発生する場合もある。   Then, the method of taking the medicine prescribed in the medicine bag or the medicine manual and the indication of the effect/effect are printed. After preparation of medicines, medicine bags, medicine manuals, etc. to be handed to the patient, these are placed on the handing counter to explain the prescription medicines to the patient. When the explanation is over, the medicine is put in a medicine bag and handed to the patient, and the patient receives a dispensing fee such as a dispensing fee. Here, since a plurality of medicines, medicine bags, and the like are placed side by side on the counter, there is a case where the medicines in the medicine bag are mistakenly inserted.

本発明における薬剤チェック支援装置は、上述のような調剤薬局における業務において、薬剤者が患者に薬剤を手渡す直前にカウンター上で薬剤のチェックを行うことによって、薬剤のピッキング間違いや、薬袋に入れる薬剤の入れ間違いなどをチェックする事ができる。   The drug check support device according to the present invention, in the above-mentioned operation in a dispensing pharmacy, by checking the drug on the counter immediately before the pharmacist hands the drug to the patient, the drug is mistakenly picked, and the drug to be put in the drug bag. You can check for mistakes such as inserting.

次より、図面を用いながら、本発明の実施の形態について説明する。図1は、本発明における薬剤チェック支援装置のシステム構成例を表したものである。本発明における薬剤チェック支援装置は、読取機101、画像抽出部102、処方情報読取部103、薬剤情報読取部104、錠剤数読取部105、薬剤処方チェック部106、薬剤数チェック部107、画像データ記憶部110、読取情報記憶部111、薬剤情報記憶部112、画像抽出条件記憶部113、処方情報抽出条件記憶部114、とから構成される。   Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 shows a system configuration example of a drug check support device according to the present invention. The drug check support device according to the present invention includes a reader 101, an image extracting unit 102, a prescription information reading unit 103, a drug information reading unit 104, a tablet number reading unit 105, a drug prescription checking unit 106, a drug number checking unit 107, and image data. The storage unit 110, the read information storage unit 111, the drug information storage unit 112, the image extraction condition storage unit 113, and the prescription information extraction condition storage unit 114 are included.

薬剤チェック支援装置の各構成部について説明する。まず始めに、読取機101は、カウンター上に並べられた薬剤や薬袋、薬剤説明書を画像データとして読み取る装置である。例えば、カメラ装置やオーバーヘッドスキャナ装置をカウンターの上部に設置し、カウンター上の状態を画像データとして読み取る。読取機101は、カウンター上の状態を画像データとして読取可能な装置であればどのような装置であっても良いが、例えば、カメラ装置であると、薬剤や薬袋等の大きさに合わせてピントの調整が必要といった作業が必要になるため、読取機101としては、簡易的にカウンター上の状態を画像データとして読み取ることができるオーバーヘッドスキャナ装置を利用することが望ましい。   Each component of the medicine check support device will be described. First, the reader 101 is a device that reads a medicine, a medicine bag, and a medicine manual arranged on a counter as image data. For example, a camera device or an overhead scanner device is installed above the counter, and the state on the counter is read as image data. The reader 101 may be any device as long as it can read the state on the counter as image data. For example, if it is a camera device, the reader 101 can focus according to the size of a medicine or a medicine bag. Therefore, it is desirable to use an overhead scanner device that can easily read the state on the counter as image data, as the reader 101.

図2は、カウンター202上に読取機101として設置されたオーバーヘッドスキャナ装置201の設置例を図示したものである。オーバーヘッドスキャナ装置201は非接触型のスキャナ装置であり、オーバーヘッドスキャナ装置のヘッド部202の下部にあるカウンター203の状態を画像データとして読み取ることができる。   FIG. 2 illustrates an installation example of the overhead scanner device 201 installed as the reader 101 on the counter 202. The overhead scanner device 201 is a non-contact type scanner device, and can read the state of the counter 203 below the head portion 202 of the overhead scanner device as image data.

読取機101で画像データとして読み取るのは、カウンター203上に並べて置かれた薬袋300、薬剤500、薬剤説明書400などである。図3はカウンター203上に置かれる薬袋300の例を図示したものであり、図4はカウンター203上に置かれる薬剤説明書400の例を図示したものであり、図5はカウンター203上に置かれる薬剤500の例を図示したものである。   What is read as image data by the reader 101 is a medicine bag 300, a medicine 500, a medicine manual 400, and the like, which are arranged side by side on the counter 203. 3 shows an example of the medicine bag 300 placed on the counter 203, FIG. 4 shows an example of the medicine manual 400 placed on the counter 203, and FIG. 9 illustrates an example of a drug 500 to be applied.

薬袋300には、薬袋に薬剤の用法や服薬方法が記載されている薬袋300aのような薬袋や、薬袋に薬剤の用法や服薬方法だけでなく薬剤説明までも記載されている薬袋300bのような薬袋とがある。   The medicine bag 300 includes a medicine bag such as a medicine bag 300a in which the medicine usage and the medicine taking method are described, and a medicine bag 300b in which not only the medicine usage and the medicine taking method but also the medicine explanation is described in the medicine bag. There is a medicine bag.

図3乃至図5で表されるような、薬袋300、薬剤500、薬剤説明書400は、並べてカウンター上に置かれ読取装置101で画像データとして読み取られる。図6は、読取装置101で画像データとして読み取られた、薬袋300a、薬剤500、薬剤説明書400の画像イメージを図示したものである。薬剤説明が薬袋に記載されている場合は、薬袋300bと薬剤500だけを並べてカウンター上に置いて読取装置101で画像データとして読み取るようにしてもよい。この場合、読取装置101で画像データとして読み取られた、薬袋300b、薬剤500の画像イメージは図7で図示したようなものとなる。   The medicine bag 300, the medicine 500, and the medicine manual 400 as shown in FIGS. 3 to 5 are placed side by side on the counter and read by the reading device 101 as image data. FIG. 6 illustrates image images of the medicine bag 300a, the medicine 500, and the medicine manual 400 read by the reading device 101 as image data. When the medicine description is written on the medicine bag, only the medicine bag 300b and the medicine 500 may be placed side by side on the counter and read by the reading device 101 as image data. In this case, the image images of the medicine bag 300b and the medicine 500 read by the reading device 101 as image data are as shown in FIG.

オーバーヘッドスキャナで画像データの読み取りを行った場合、図6や図7で図示されているように読み取る物品がある位置は画像データが読み取られるが、物品が存在しない箇所はグレーや黒塗りの領域として読み取られる。   When the image data is read by the overhead scanner, the image data is read at the position of the article to be read as shown in FIG. 6 and FIG. 7, but the part where the article is not present is a gray or black area. Read.

以上が読取機101の説明となる。次に画像抽出部102について説明する。読取機101で読み取られた画像データは画像抽出部102によって画像データから薬袋300、薬剤500、薬剤説明書400の画像データの抽出が行われる。   The above is the description of the reader 101. Next, the image extraction unit 102 will be described. The image data read by the reader 101 is extracted by the image extraction unit 102 from the image data of the medicine bag 300, the medicine 500, and the medicine manual 400.

画像抽出部102では、画像抽出条件記憶部113に記憶されている画像抽出条件に基づいて、読取機101で読み取られた画像データから、薬袋300、薬剤500、薬剤説明書400のそれぞれの画像データが表示されている領域を特定し、特定された領域から、薬袋300、薬剤500、薬剤説明書400のそれぞれの画像データの抽出を行う。   In the image extraction unit 102, based on the image extraction conditions stored in the image extraction condition storage unit 113, from the image data read by the reader 101, the image data of each of the medicine bag 300, the medicine 500, and the medicine manual 400. The area where is displayed is specified, and the image data of each of the medicine bag 300, the medicine 500, and the medicine manual 400 is extracted from the specified area.

図8は、画像抽出条件記憶部113に記憶されている画像抽出条件データ構造の例を図示したものである。画像抽出条件データ構造はデータ項目として「領域タイプ」「左上座標」「右下座標」のデータを記憶する。「領域タイプ」には、対応して記憶されている座標領域にどのタイプの画像データが記録されているのかを設定するものである。「左上座標」には画像領域の左上座標値、「右下座標」には画像領域の右下座標値がそれぞれ記憶される。   FIG. 8 illustrates an example of the image extraction condition data structure stored in the image extraction condition storage unit 113. The image extraction condition data structure stores data of “area type”, “upper left coordinate”, and “lower right coordinate” as data items. The "area type" is used to set which type of image data is recorded in the coordinate area correspondingly stored. The "upper left coordinate" stores the upper left coordinate value of the image area, and the "lower right coordinate" stores the lower right coordinate value of the image area.

例えば、「領域タイプ」に“薬袋領域”、「左上座標」に“(0,0)”、「右下座標」に“(2000,3000)”の値が記憶されている場合は、薬袋の画像が表示されている領域は画像データの左上を(0,0)の原点座標として、(0,0)−(2000,3000)の範囲に含まれる領域であることを示している。   For example, when the value of “medicine bag area” is stored in “area type”, “(0,0)” is stored in “upper left coordinate”, and “(2000,3000)” is stored in “lower right coordinate”, The area in which the image is displayed indicates that the upper left corner of the image data is the origin coordinate of (0,0) and is included in the range of (0,0)-(2000,3000).

より具体的には、図8のように画像抽出条件データ構造が記憶されている場合の、薬袋領域、薬剤領域、説明書領域はそれぞれ、図9の太枠線で示される略矩形領域内にそれぞれ表示されている事を示している。例えば、図6で図示するように薬袋300、薬剤500、薬剤説明書400をカウンター上に並べて読取機101で画像データとして読み取る場合には、薬袋300、薬剤500、薬剤説明書400はそれぞれ、図9で図示する領域内で読み取られるように配置しなければならない。 More specifically, in the case where the image extraction condition data structure is stored as shown in FIG. 8, the medicine bag area, the medicine area, and the instruction area are each in a substantially rectangular area shown by a thick frame line in FIG. It shows that each is displayed. For example, when the medicine bag 300, the medicine 500, and the medicine manual 400 are arranged on the counter as shown in FIG. 6 and read as image data by the reader 101, the medicine bag 300, the medicine 500, and the medicine manual 400 are respectively shown in FIG. It must be arranged so that it can be read in the area shown at 9.

画像抽出部102では、画像抽出条件記憶部113に記憶されている画像抽出条件に基づいて、読取機101で読み取られた画像データから、薬袋300、薬剤500、薬剤説明書400のそれぞれの画像データが表示されている領域を特定できたら、それぞれの領域から、薬袋300、薬剤500、薬剤説明書400の画像データを抽出する。例えば、オーバーヘッドスキャナで画像データの読み取りを行った場合、物品が存在しない箇所はグレーや黒塗りの領域として読み取られるため、グレーや黒塗りの領域以外の画像をそれぞれ薬袋300、薬剤500、薬剤説明書400の画像データとして抽出する。   In the image extraction unit 102, based on the image extraction conditions stored in the image extraction condition storage unit 113, from the image data read by the reader 101, the image data of each of the medicine bag 300, the medicine 500, and the medicine manual 400. When the areas where is displayed can be specified, the image data of the medicine bag 300, the medicine 500, and the medicine manual 400 is extracted from each area. For example, when the image data is read by the overhead scanner, a portion where an article does not exist is read as a gray or black-painted area. Therefore, images other than the gray and black-painted areas are respectively in the medicine bag 300, the medicine 500, and the medicine description. It is extracted as the image data of the document 400.

このようにして画像抽出部102では、図3に示されるような薬袋300の画像や、図4に示されるような薬剤説明書400の画像や、図5に示されるような薬剤500の画像のみを抽出し、画像データ記憶部110に記録する。   In this way, in the image extracting unit 102, only the image of the medicine bag 300 as shown in FIG. 3, the image of the medicine manual 400 as shown in FIG. 4, and the image of the medicine 500 as shown in FIG. Is extracted and recorded in the image data storage unit 110.

画像データ記憶部110に記録された、薬袋300、薬剤500、薬剤説明書400の画像データは、処方情報読取部103、薬剤情報読取部104、錠剤情報読取部105の何れかに読み込まれ、それぞれの画像データから処方情報や、薬剤情報の読取が行われる。次に、処方情報読取部103、薬剤情報読取部104、錠剤情報読取部105それぞれが行う処理について順番に説明する。   The image data of the medicine bag 300, the medicine 500, and the medicine manual 400 recorded in the image data storage unit 110 is read by any of the prescription information reading unit 103, the medicine information reading unit 104, and the tablet information reading unit 105, and respectively. The prescription information and the drug information are read from the image data. Next, the processes performed by the prescription information reading unit 103, the drug information reading unit 104, and the tablet information reading unit 105 will be sequentially described.

まず、処方情報読取部103について説明する。処方情報読取部103は画像データ記憶部110に記憶されている薬袋300または薬剤説明書400の画像データをOCR認識し、文字列情報を抽出することによって、「1日服薬回数」「1回服薬数」「処方日数」「処方数」「薬剤名称」の情報をそれぞれ読み取る。図10および図11は薬袋300の画像イメージをOCR認識し、文字情報領域を識別した場合の例を図示したものであり、図12は薬剤説明書400の画像イメージをOCR認識し、文字情報領域を識別した場合の例を図示したものである。   First, the prescription information reading unit 103 will be described. The prescription information reading unit 103 performs OCR recognition of the image data of the medicine bag 300 or the medicine manual 400 stored in the image data storage unit 110, and extracts the character string information to obtain the “number of times of daily medication” and “single dose”. Information of “number”, “number of prescription days”, “number of prescriptions”, and “medicine name” is read. 10 and 11 show an example in which the image image of the medicine bag 300 is OCR recognized and the character information area is identified, and FIG. 12 is OCR recognition of the image image of the medicine manual 400, and the character information area is shown. FIG. 6 is a diagram illustrating an example in the case where is identified.

OCR認識処理は既知の技術を利用して行われる。一般的なOCR認識処理を利用すると、画像データから図10乃至図12に表されているように文字領域を認識することが可能であり、認識した文字列領域をそれぞれ略矩形領域として認識することができる。処方情報読取部103では、OCR認識処理で認識された文字領域から、「1日服薬回数」「1回服薬数」「処方日数」「処方数」「薬剤名称」の文字列が記載された文字領域を抽出する。 The OCR recognition process is performed using a known technique. By using general OCR recognition processing, it is possible to recognize a character area from image data as shown in FIGS. 10 to 12, and recognize each recognized character string area as a substantially rectangular area. You can In the prescription information reading unit 103, from the character area recognized by the OCR recognition process, a character string in which a character string of “number of times of daily medication”, “number of times of one-time medication”, “number of days of prescription”, “number of prescriptions”, and “drug name” is described Extract a region.

「1日服薬回数」「1回服薬数」「処方日数」「処方数」の文字列が記載された文字領域の抽出は、それぞれの記載パターンにマッチするパターン文字列を正規表現として予め定義しておき、定義されている正規表現のパターン文字列に合致する文字列が記載された文字領域を抽出することによって行われる。   The extraction of the character area in which the character strings of “the number of times of daily administration”, “the number of times of one-time administration”, “the number of prescription days”, and “the number of prescriptions” are described is defined in advance as a regular expression by a pattern character string that matches each described pattern. It is performed by extracting the character area in which the character string that matches the defined regular expression pattern character string is described.

例えば、図13は、処方情報抽出条件記憶部114に記憶される、処方情報抽出パターン定義の定義例を表したものである。処方情報抽出パターン定義には、抽出する処方情報名とそれに対応するパターン文字列の正規表現の定義例として「処方情報名」と「パターン文字列(正規表現)」の組み合わせ情報が記録される。例えば、「処方情報名」として“1日服薬回数”、「パターン文字(正規表現)」として“1日[1−9]+回”が定義されている場合は、OCR認識された文字領域から、定義されているパターン文字の正規表現にマッチする文字列が認識された文字領域が抽出され、そこに記載されている文字列から1日服薬回数が取得される。例えば、図10乃至図12のOCR認識の例だと、“1日[1−9]+回”の正規表現にマッチする領域は符号aが示す太枠線で囲まれた略矩形領域であるため、この領域に記載された“1日3回”の文字列が1日服薬回数として読み取られるため、この場合の1日服薬回数は3回であると読み取ることができる。 For example, FIG. 13 illustrates a definition example of the prescription information extraction pattern definition stored in the prescription information extraction condition storage unit 114. In the prescription information extraction pattern definition, combination information of “prescription information name” and “pattern character string (regular expression)” is recorded as a definition example of a prescription information name to be extracted and a regular expression of a pattern character string corresponding thereto. For example, when “prescription information name” is defined as “number of times of daily medication” and “pattern character (regular expression)” is defined as “1 day [1-9]+times”, the OCR recognized character area is defined. A character region in which a character string that matches the defined regular expression of the pattern character is recognized is extracted, and the daily dose frequency is acquired from the character string described therein. For example, in the case of the OCR recognition in FIGS. 10 to 12, the area that matches the regular expression “1 day [1-9]+times” is a substantially rectangular area surrounded by the thick frame line indicated by the symbol a. Therefore, since the character string “3 times a day” written in this area is read as the number of times of daily medication, it can be read that the number of times of daily medication is 3 in this case.

同様に、図13の定義例に従って、“1回服薬数”“処方日数”“処方数”の情報を読み取ると、それぞれ図10乃至図12において、“1回服薬数”は符号bが示す太枠線で囲まれた略矩形領域、“処方日数”は符号cが示す太枠線で囲まれた略矩形領域、“処方数”は符号dが示す太枠線で囲まれた略矩形領域であると認識することができ、それぞれの領域に記載された文字列情報に基づいて、“1回服薬数”は1錠、“処方日数”は7日分、“処方数”は21錠であるとそれぞれの処方情報を読み取ることができる。 Similarly, according to the definition example of FIG. 13, when the information of “a single dose”, “prescription days”, and “prescription” is read, the “single dose” in each of FIGS. A substantially rectangular area surrounded by a frame line, "prescription days" is a substantially rectangular area surrounded by a thick frame line indicated by reference numeral c, and "prescription number" is a substantially rectangular area surrounded by a thick frame line indicated by reference numeral d. It is possible to recognize that there is one, and based on the character string information described in each area, the “number of times of one-time administration” is 1 tablet, the “prescription days” is for 7 days, and the “prescription number” is 21 tablets. And each prescription information can be read.

以上のような処理により正規表現のパターン文字列を利用して処方情報を読み取る事もできるが、“薬剤名称”については多数の薬剤の名称が存在するため、薬剤の名称をパターン文字列として定義を行って抽出することはできない。そこで、“薬剤名称”の抽出は、予め、薬剤情報記憶部112に記憶されている薬剤情報データの薬剤名称と一致する文字列を文字列領域から検索することによって行う。   Although the prescription information can be read by using the regular expression pattern character string by the above processing, since there are many drug names for “drug name”, the drug name is defined as a pattern character string. Can not be extracted. Therefore, the “drug name” is extracted by searching the character string area for a character string that matches the drug name of the drug information data stored in the drug information storage unit 112 in advance.

例えば、図14は薬剤情報記憶部112に記憶されている薬剤情報データの一例を表したものである。薬剤情報データとして「識別コード」「薬剤名称」「略称」「種別」「単位」などの情報を記憶する。「識別コード」には薬剤を一意に識別するためのコードが記録され、「薬剤名称」にはその薬剤の名称が記録され、「略称」にはその薬剤の略称名が記録され、「種別」にはその薬剤の薬剤種別が記録され、「単位」には薬剤の1剤あたりの内容量が記録さる。   For example, FIG. 14 shows an example of drug information data stored in the drug information storage unit 112. Information such as “identification code”, “drug name”, “abbreviation”, “type”, “unit”, etc. is stored as drug information data. A code for uniquely identifying a drug is recorded in the “identification code”, the name of the drug is recorded in the “drug name”, the abbreviated name of the drug is recorded in the “abbreviation”, and the “type” is recorded. The medicine type of the medicine is recorded in, and the content of each medicine is recorded in the “unit”.

処方情報読取部103では、薬剤情報記憶部112に記録されているすべての「薬剤名称」の情報を順番に読み込み、読み込んだ「薬剤名称」と一致する文字列が記載された文字領域がないかを検索することによって、薬袋300や薬剤説明書400に記載された薬剤名称の文字列の抽出を行う。図14の例では「薬剤名称」として“アオフエクト10mg”“アカノカプセル10”の情報が記録されているため、図11の薬袋300bの画像イメージからは「薬剤名称」の文字列が記載された領域として符号eが示す太枠線で囲まれた略矩形領域を抽出し、薬剤名称として“アオフエクト10mg”を認識することができる。同様に、図12の薬剤説明書400の画像イメージからは、「薬剤名称」の文字列が記載された領域として符号eが示す太枠線で囲まれた略矩形領域と符号e’が示す太枠線で囲まれた略矩形領域とを抽出し、薬剤名称として“アオフエクト10mg”と“アカノカプセル10”を認識することができる。 The prescription information reading unit 103 sequentially reads all the “drug name” information recorded in the drug information storage unit 112, and is there a character area in which a character string that matches the read “drug name” is described? By searching for, the character string of the medicine name described in the medicine bag 300 or the medicine manual 400 is extracted. In the example of FIG. 14, since the information of “Aofect 10 mg” and “Akano capsule 10” is recorded as the “drug name”, the character string of “drug name” is described from the image image of the medicine bag 300b in FIG. It is possible to extract a substantially rectangular area surrounded by a thick frame line indicated by a symbol e as the area and recognize “Affect 10 mg” as the medicine name. Similarly, from the image image of the medicine manual 400 in FIG. 12, a substantially rectangular area surrounded by a thick frame line indicated by reference numeral e as an area in which the character string of “medicine name” is described and a thick area indicated by reference numeral e′. By extracting a substantially rectangular area surrounded by a frame line, “Aofect 10 mg” and “Akano capsule 10” can be recognized as drug names.

以上のような処理により、“1回服薬数”“処方日数”“処方数”“薬剤名称”の処方情報を薬袋300および薬剤説明書400の画像イメージから読み取ることができる。しかし、薬剤説明書400の記載内容によっては、上述した方法では処方情報を読み取ることができない場合がある。例えば、図4で表されるような薬剤説明書のイメージでは、1回服薬数が、文字列で記載されるのではなく、頓服、朝、昼、夕、就前、それぞれに服薬する剤数が表形式で記載されている。   With the above-described processing, the prescription information such as “number of times of one-time medication”, “number of prescription days”, “number of prescriptions”, and “medicine name” can be read from the image images of the medicine bag 300 and the medicine manual 400. However, depending on the description content of the drug description 400, the prescription information may not be read by the method described above. For example, in the image of the drug description as shown in FIG. 4, the number of doses to be taken once is not described as a character string, but the number of doses to be taken at each dose, morning, noon, evening, and before going to work. Are listed in tabular form.

このような形式で1回服薬数が記載されている場合は、前述したような方法で処方情報を読み取るのではなく、取得したい処方情報がどの位置に記載されているのかを、表示位置が固定されている文字領域からの相対位置情報として定義することによって、読み取りを行う。例えば、図15は薬剤名称が記載されている文字領域の左上点を基準点として1回服薬回数を読み取る場合の例を図示したものである。処方情報読取条件記憶部114に予め服薬回数記載位置定義データとして、図16に示されるような、それぞれの服薬時の服薬数が記載された基準点からの位置を記録しておく。   When the number of single doses is described in this format, the display position is fixed as to where the prescription information to be acquired is described, instead of reading the prescription information by the method described above. The reading is performed by defining the relative position information from the specified character area. For example, FIG. 15 illustrates an example in which the number of times of single drug administration is read using the upper left point of the character area in which the drug name is described as a reference point. In the prescription information reading condition storage unit 114, the position from the reference point in which the number of medications at each medication is described is recorded in advance as position definition data describing the number of medications, as shown in FIG.

図16に表されているように処方情報記載位置定義データには「処方情報」「基準点文字」「相対座標」などの情報が記録される。「処方情報」には読み取る位置に何の処方情報が表示されているのかの情報が記録され、「基準点文字」とは読み取る情報位置を決める基準となる文字列とする処方情報が記録される。「相対位置」には基準点文字の基準点からの読み取る情報が表示されている領域を表す相対位置座標が記録される。   As shown in FIG. 16, information such as “prescription information”, “reference point character”, “relative coordinates” is recorded in the prescription information describing position definition data. The "prescription information" records information about what prescription information is displayed at the reading position, and the "reference point character" records prescription information as a character string that serves as a reference for determining the information position to be read. .. In the "relative position", the relative position coordinates representing the area in which the information read from the reference point of the reference point character is displayed are recorded.

例えば、「処方情報」として“1回服薬数”が、「基準文字」として“薬剤名称”が、「相対座標」として“(+100,+50)−(+120,+70)”の情報が記録されている場合、処方情報として薬剤名称が表示されている文字列の基準点からの相対座標が(+100,+50)の位置を左上頂点、(+120,+70)の位置を右下頂点とする略矩形領域に、1回服薬数の処方情報が表示されている事を定義している。 For example, "prescription information" is recorded as "number of doses taken", "reference character" is recorded as "drug name", and "relative coordinates" is recorded as "(+100, +50)-(+120, +70)". If the relative coordinates of the character string displaying the drug name as the prescription information are (+100, +50) relative to the reference point, the upper left vertex and the position (+120, +70) relative to the lower right vertex are substantially rectangular areas. It is defined that the prescription information of the number of times of one-time medication is displayed.

この定義を図15に基づいて説明すると、まず処方情報の薬剤名称として“アオフェクト錠10mg”が先に述べた手法により事前に認識される。基準文字は薬剤名称と定義されているので、この“アオフェクト錠10mg”が基準文字となり、文字列領域の左上座標、図15での基準点(X,Y)が基準点となる。この基準点(X,Y)は、画像データの左上隅を(0,0)の原点とした場合の座標値である。   Explaining this definition with reference to FIG. 15, first, “Aofect tablet 10 mg” is recognized in advance as the drug name of the prescription information by the method described above. Since the reference character is defined as the medicine name, this “Aofect tablet 10 mg” is the reference character, and the upper left coordinate of the character string area, the reference point (X, Y) in FIG. 15, is the reference point. The reference point (X, Y) is a coordinate value when the upper left corner of the image data is the origin of (0, 0).

そして、この基準点(X,Y)からの相対座標が(+100,+50)の位置であるAで表される座標(X+100,Y+50)を左上頂点とし、基準点(X,Y)からの相対座標が(+120,+70)の位置であるBで表される座標(X+120,Y+70)を右下座標として形成される略矩形の領域に処方情報の1回服薬数が表示されているとの定義になる。この定義に従って、当該略矩形領域内の文字列をOCR認識することにより数値文字列を読み取り、読み取った文字列を1回服薬数として認識する。 Then, the relative coordinates from the reference point (X, Y) are the coordinates (X+100, Y+50) represented by A, which is the position of (+100, +50), and the upper left vertex is defined as the relative coordinates from the reference point (X, Y). It is defined that the single-dose number of the prescription information is displayed in a substantially rectangular area formed by using the coordinates (X+120, Y+70) represented by B, which is the position of coordinates (+120, +70), as the lower right coordinates. become. According to this definition, the numerical character string is read by OCR recognizing the character string in the substantially rectangular area, and the read character string is recognized as the number of times of one-time medication.

ここで、図15では1回服薬数が表示された領域は、頓服、朝、昼、夕、就前、とそれぞれ別の領域に記載されており、それぞれで1回の服薬数が異なる場合がある。このような場合は、図16の服薬回数記載位置定義データの例で示されているように、処方情報として1回服薬数の定義を複数定義しておき、それぞれの定義で認識した1回服薬数の平均値を取ることによって1回服薬数とする。   Here, in FIG. 15, the region in which the number of times of one-time administration is displayed is described in separate regions such as “on-dose”, “morning”, “noon”, “evening”, and “before going to work”, and the number of times of one-time administration may be different in each case. is there. In such a case, as shown in the example of the position definition data describing the number of times of taking medicine, a plurality of definitions of the number of times of taking one time are defined as prescription information, and the once-taken medicine recognized by each definition is taken. The number of doses is taken by taking the average of the numbers.

処方情報読取部103で薬袋300や薬剤説明書400の画像データから認識されたそれぞれの処方情報は読取情報記憶部111に記録される。読取情報記憶部111に処方情報がどのように記録されるかについては後述する。以上が、処方情報読取部103の説明となる。次に、薬剤情報読取部104について説明する。   The respective prescription information recognized by the prescription information reading unit 103 from the image data of the medicine bag 300 and the medicine manual 400 is recorded in the read information storage unit 111. How the prescription information is recorded in the read information storage unit 111 will be described later. The above is the description of the prescription information reading unit 103. Next, the medicine information reading unit 104 will be described.

薬剤情報読取部104では、画像データ記憶部110に記憶されている薬剤500の画像データをOCR認識することにより文字列情報を抽出することによって、薬剤に表示された「薬剤名称」の情報をそれぞれ読み取る。または、薬剤に薬剤情報と関連付けられたバーコード等のコード情報が印刷されている場合には、コードスキャンによりバーコード情報を読み取ったコード情報に基づいて「薬剤名称」の情報を取得する。   The drug information reading unit 104 extracts the character string information by OCR recognition of the image data of the drug 500 stored in the image data storage unit 110, thereby extracting the information of the “drug name” displayed on the drug. read. Alternatively, when code information such as a barcode associated with the drug information is printed on the medicine, the information of the “medicine name” is acquired based on the code information obtained by reading the barcode information by code scanning.

まず、薬剤500の画像データをOCR認識することにより文字列情報を抽出することによって、薬剤に表示された「薬剤名称」の情報をそれぞれ読み取る方法について説明する。一般的なOCR認識処理を利用すると、薬剤500の画像データから図17に表されているように文字領域を認識し、認識した文字列領域をそれぞれ略矩形領域として認識することができる。薬剤500の画像データをOCR認識したら、薬剤情報記憶部112に記録されて薬剤情報データ構造から、すべての「薬剤名称」の情報を順番に読み込み、読み込んだ「薬剤名称」と一致する文字列が記載された文字領域がないかを検索することによって、記載された薬剤名称の文字列の抽出を行う。 First, a method of reading the information of the “drug name” displayed on the drug by extracting character string information by OCR recognition of the image data of the drug 500 will be described. By using a general OCR recognition process, it is possible to recognize a character area from the image data of the medicine 500 as shown in FIG. 17, and recognize each recognized character string area as a substantially rectangular area. When the image data of the medicine 500 is OCR-recognized, information of all “medicine names” is sequentially read from the medicine information data structure recorded in the medicine information storage unit 112, and a character string matching the read “medicine name” is generated. The character string of the written medicine name is extracted by searching for the written character area.

例えば、図14の薬剤情報データ構造の例では「薬剤名称」として“アオフエクト10mg”の情報が記録されているため、図17の薬剤500の画像イメージからは「薬剤名称」の文字列として符号gが示す太枠線で囲まれた略矩形領域を抽出し、薬剤名称として“アオフエクト10mg”を認識することができる。 For example, in the example of the drug information data structure of FIG. 14, since the information “Aofect 10 mg” is recorded as the “drug name”, from the image image of the drug 500 in FIG. By extracting a substantially rectangular area surrounded by a thick frame line indicated by, it is possible to recognize "Affect 10 mg" as the medicine name.

次に、コードキャンによりバーコード情報を読み取ったコード情報に基づいて「薬剤名称」の情報を取得する方法について説明する。例えば、薬剤500の画像データにバーコードが印字されていた場合、図18で表示するようにバーコード印字領域として符号hが示す太枠線で囲まれた略矩形領域内のバーコードを読み取り、バーコードをコード化する。例えば、コード化された文字列が“368276837”であった場合、このコードを識別コードとして取り扱い、薬剤情報記憶部112に記録されて薬剤情報データ構造から、識別コードが“368276837”に対応する「薬剤名称」の情報を取得する。図14の薬剤情報データ構造の例では識別コードが“368276837”に対応する「薬剤名称」は“アオフエクト10mg”であるため、薬剤名称として“アオフエクト10mg”が抽出される。 Next, a method for acquiring the information of “medicine name” based on the code information obtained by reading the barcode information by the code can be described. For example, when a bar code is printed on the image data of the medicine 500, as shown in FIG. 18, the bar code in the substantially rectangular area surrounded by the thick frame line indicated by the symbol h is read as the bar code printing area, Encode the barcode. For example, when the coded character string is “368276837”, this code is treated as an identification code, and the identification code corresponding to “368276837” is recorded from the medicine information storage unit 112 and stored in the medicine information data structure. The information of "drug name" is acquired. In the example of the drug information data structure of FIG. 14, the “drug name” corresponding to the identification code “368276837” is “Affect 10 mg”, so “Affect 10 mg” is extracted as the drug name.

薬剤情報読取部104で薬剤500の画像データから認識した薬剤名称の情報は読取情報記憶部111に記録される。読取情報記憶部111に薬剤名称がどのように記録されるかについては後述する。以上が、薬剤情報読取部104の説明となる。次に、薬剤数読取部105について説明する。   Information on the medicine name recognized from the image data of the medicine 500 by the medicine information reading unit 104 is recorded in the read information storage unit 111. How the medicine name is recorded in the read information storage unit 111 will be described later. The above is the description of the drug information reading unit 104. Next, the medicine number reading unit 105 will be described.

薬剤数読取部105では、薬剤500の画像データを画像加工することによって、実際に処方された薬剤の数量を読み取る。薬剤数読取部105での処理は、処方情報読取部103または薬剤情報読取部104で認識された薬剤名称に対応する薬剤の種別が錠剤またはカプセル剤である場合に行われる。一般的に錠剤やカプセル剤はその形状が略円形の形状をしており、画像認識により抽出することが可能だからである。薬剤名称に対応する薬剤の種別が錠剤またはカプセル剤であるかについては、薬剤情報記憶部112に記録されている薬剤情報に基づいて判断される。   The drug number reading unit 105 processes the image data of the drug 500 to read the number of drugs actually prescribed. The process by the drug number reading unit 105 is performed when the type of drug corresponding to the drug name recognized by the prescription information reading unit 103 or the drug information reading unit 104 is a tablet or a capsule. This is because tablets and capsules generally have a substantially circular shape and can be extracted by image recognition. Whether the type of drug corresponding to the drug name is a tablet or a capsule is determined based on the drug information recorded in the drug information storage unit 112.

例えば、図19は画像加工処理により薬剤の輪郭部分のみを強調表示した薬剤500の画像データの例である。通常の画像処理技術を用いれば、画像の二値化などの処理を行い、略円形の形状の輪郭部分を抽出することが既存技術で可能である。錠剤やカプセル剤は略円形の形状をしているため、このような画像処理により抽出された輪郭部分が薬剤の形状部分となる。そして、この1つの略円形の形状が1つの薬剤を表示するものであるので、略円形の形状の数を数えることによって、薬剤500の画像データに表示されている薬剤の数を抽出することができる。   For example, FIG. 19 is an example of image data of the medicine 500 in which only the contour portion of the medicine is highlighted by the image processing. If a normal image processing technique is used, it is possible with the existing technique to perform a process such as binarization of an image and extract a contour portion having a substantially circular shape. Since the tablets and capsules have a substantially circular shape, the contour portion extracted by such image processing becomes the shape portion of the medicine. Then, since this one substantially circular shape displays one medicine, the number of medicines displayed in the image data of the medicine 500 can be extracted by counting the number of substantially circular shapes. it can.

また、薬剤数読取部105では、抽出した薬剤の形状部分の面積の算出も合わせて行う。面積は抽出した薬剤の形状の画像データ内でのドット数を抽出する事で薬剤の形状部分の面積を算出し、全ての薬剤の形状部分のドット数の合計値を面積として算出する。なお、どのような画像データであっても同じ薬剤の形状部分のドット数が同じ程度のドット数として算出できるように、面積としてドット数を算出する場合は、薬剤の画像データのドット密度を予め定義されたdpiに変換して算出を行う。例えば、ドット密度を400dpiと定義した場合は、画像抽出部102で抽出した薬剤500の画像データを400dpiに変換した上で、薬剤の形状部分のドット数を面積として算出する。   Further, the medicine number reading unit 105 also calculates the area of the shape portion of the extracted medicine. For the area, the area of the drug-shaped portion is calculated by extracting the number of dots in the extracted image data of the medicine shape, and the total value of the number of dots of all the drug-shaped portions is calculated as the area. When calculating the number of dots as the area so that the number of dots in the same drug shape portion can be calculated as the same number of dots for any image data, the dot density of the image data of the drug is set in advance. The calculation is performed by converting into the defined dpi. For example, when the dot density is defined as 400 dpi, the image data of the medicine 500 extracted by the image extracting unit 102 is converted into 400 dpi, and then the number of dots in the shape portion of the medicine is calculated as the area.

ここで、予め定義する薬剤の画像データのドット密度は、薬剤情報記憶部112に記憶されている薬剤ごとの「面積(ドット数)」を算出した際の画像データのドット密度と同じドット密度とする必要がある。ドット密度を一致させることによって、後に説明する錠剤数チェック部107における処理において、薬剤の形状部分の面積に基づいて薬剤数のチェックを行う事が可能となる。   Here, the dot density of the image data of the drug defined in advance is the same as the dot density of the image data when the “area (number of dots)” of each drug stored in the drug information storage unit 112 is calculated. There is a need to. By matching the dot densities, it is possible to check the number of medicines based on the area of the shape portion of the medicine in the processing in the tablet number checking unit 107 described later.

薬剤数読取部105で薬剤500の画像データから読み取った薬剤の数は読取情報記憶部111に記録される。読取情報記憶部111に薬剤数がどのように記録されるかについては後述する。以上が薬剤数読取部105の処理となる。   The number of medicines read from the image data of the medicine 500 by the medicine number reading unit 105 is recorded in the read information storage unit 111. How the number of medicines is recorded in the read information storage unit 111 will be described later. The above is the processing of the medicine number reading unit 105.

ここまでで、処方情報読取部103、薬剤情報読取部104、錠剤数読取部105について説明した。前述した通り、これら処理部で抽出した処方情報などの情報は読取情報記憶部111に記録される。次に読取情報記憶部111について説明する。   The prescription information reading unit 103, the drug information reading unit 104, and the tablet number reading unit 105 have been described above. As described above, information such as prescription information extracted by these processing units is recorded in the read information storage unit 111. Next, the read information storage unit 111 will be described.

図20は、読取情報記憶部111に記録される読取情報データ構造の例を表示したものである。読取情報データ構造には「処方情報」に対応して「読取処方情報」の情報が記録される。「読取処方情報」はさらにどの画像データから読み取ったのかが判別できるように「薬袋」「薬剤」「説明書」に分けて情報が記録される。「処方情報」には、処方情報読取部103、薬剤情報読取部104、錠剤数読取部105で読み取る情報として“1日服薬回数”“1回服薬数”“処方日数”“処方数/薬剤数”“薬剤名称”が予め記録されている。   FIG. 20 shows an example of the read information data structure recorded in the read information storage unit 111. In the read information data structure, information of "read prescription information" is recorded corresponding to "prescription information". The "read prescription information" is further divided into "medicine bag", "medicine" and "instruction" so that it can be discriminated from which image data the information is read. In the “prescription information”, the information read by the prescription information reading unit 103, the drug information reading unit 104, and the tablet number reading unit 105 is “the number of daily doses”, “the number of single doses”, “the number of prescription days”, “the number of prescriptions/the number of drugs”. “The drug name” is recorded in advance.

そして、処方情報読取部103で読み取って抽出されたそれぞれの情報は、抽出した画像データに合わせて「薬袋」または「説明書」の情報として記録される。例えば、処方情報読取部103で1日服薬回数を薬袋の画像データから3回と抽出した場合、抽出された1日服薬回数の情報は、「処方情報」の“1日服薬回数”に対応して「薬袋」の項目に“3回”の情報が記録される。他の抽出情報についてもそれぞれ同じように記録される。同様に薬剤情報読取部104で読み取って抽出された薬剤名称は、「処方情報」の“薬剤名称”に対応して、「薬剤」の項目に抽出した薬剤名称が記録される。同様に錠剤数読取部105で読み取って抽出された錠剤数は、「処方情報」の“処方数/薬剤数”に対応して、「薬剤」の項目に抽出した薬剤数が記録される。   Then, each information read and extracted by the prescription information reading unit 103 is recorded as information of “medicine bag” or “instruction” in accordance with the extracted image data. For example, when the prescription information reading unit 103 extracts the number of daily medications from the image data of the medicine bag as three times, the extracted information on the number of daily medications corresponds to the “number of daily medications” in the “prescription information”. The information of "three times" is recorded in the "medicine bag" item. The other extracted information is recorded in the same manner. Similarly, the medicine name read and extracted by the medicine information reading unit 104 corresponds to the “medicine name” of the “prescription information”, and the extracted medicine name is recorded in the “medicine” item. Similarly, the number of tablets read and extracted by the tablet number reading unit 105 corresponds to the “prescription number/number of drugs” in the “prescription information”, and the number of drugs extracted is recorded in the “drug” item.

上述のように、処方情報読取部103、薬剤情報読取部104、錠剤数読取部105で抽出された処方情報は読取情報記憶部111に記録される。薬剤処方チェック部106および錠剤数チェック部107では、読取情報記憶部111に記録されている情報にもとづいて処方情報のチェックを行う。次に、薬剤処方チェック部106および錠剤数チェック部107について説明する。   As described above, the prescription information extracted by the prescription information reading unit 103, the drug information reading unit 104, and the tablet number reading unit 105 is recorded in the read information storage unit 111. The drug prescription checking unit 106 and the tablet number checking unit 107 check the prescription information based on the information recorded in the read information storage unit 111. Next, the drug prescription checking unit 106 and the tablet number checking unit 107 will be described.

薬剤処方チェック部106では読取情報記憶部111に記録されている抽出された処方情報のうち、“処方数/薬剤数”以外の処方情報についてチェックを行う。具体的には、処方情報ごとに、薬袋、薬剤、説明書の画像データそれぞれから読取った処方情報が、一致するかどうかを比較することによって、薬袋に入れる薬剤が間違っていないかを検証する。例えば、図20に表されるような読取情報のデータが読取情報記憶部111に記録されているとすると、“1日服薬回数”“1回服薬数”“処方日数”の読取処方情報が、薬袋と薬剤説明書から抽出された処方情報で一致し、“薬剤名称”の読取情報が薬剤と薬剤説明書から抽出された処方情報で一致するため、薬剤処方は正しいと判断できる。   The drug prescription checking unit 106 checks the prescription information other than “the number of prescriptions/the number of drugs” among the extracted prescription information recorded in the read information storage unit 111. Specifically, for each prescription information, by comparing whether or not the prescription information read from the image data of the medicine bag, the medicine, and the instruction data respectively is compared, it is verified whether the medicine to be put in the medicine bag is correct. For example, if the read information data as shown in FIG. 20 is recorded in the read information storage unit 111, the read prescription information of “the number of times of daily medication”, “the number of times of one dose” and “the number of prescription days” is Since the prescription information extracted from the medicine bag matches the prescription information extracted from the medicine description, and the read information of the "medicine name" matches the prescription information extracted from the medicine and the medicine description, it can be determined that the medicine prescription is correct.

ここでは、“1日服薬回数”“1回服薬数”“処方日数”の読取処方情報について検証を行っているが、薬袋や薬剤説明書の記載情報によっては処方情報が一方からしか抽出できない場合もあるため、少なくとも、“薬剤名称”の読取情報が薬剤から抽出された名称と薬袋または薬剤説明書から抽出された名称とが一致するようであれば薬剤処方情報は間違っていない可能性が高いと判断できる。   Here, the read prescription information such as “number of times of daily drug administration”, “number of times of single administration” and “number of prescription days” is verified, but depending on the description information on the medicine bag or drug description, the prescription information can be extracted from only one side. Therefore, if at least the read information of the “drug name” matches the name extracted from the drug and the name extracted from the medicine bag or drug description, the drug prescription information is likely to be correct. Can be judged.

次に錠剤数チェック部107について説明する。錠剤数チェック部107では読取情報記憶部111に記録されている抽出された処方情報のうち、“処方数/薬剤数”の処方情報についてチェックを行う。具体的には、“処方数/薬剤数”として薬剤の読取処方情報として記録されている値と、薬袋または薬剤説明書の何れかの処方情報として記録されている値が一致するかどうかを比較することによって処方数と薬剤数が間違っていないかを検証する。例えば、図20に表されるような読取情報のデータが読取情報記憶部111に記録されているとすると、“処方数/薬剤数”の読取処方情報が、薬剤と薬袋および薬剤説明書から抽出された処方情報で一致するため処方錠数は間違っていないと判断できる。   Next, the tablet number check unit 107 will be described. The tablet number checking unit 107 checks the prescription information “prescription number/drug number” of the extracted prescription information recorded in the read information storage unit 111. Specifically, it compares whether the value recorded as the read prescription information of the medicine as “the number of prescriptions/the number of medicines” and the value recorded as the prescription information of either the medicine bag or the medicine manual match. To verify that the prescription and drug numbers are correct. For example, if the read information data as shown in FIG. 20 is recorded in the read information storage unit 111, the read prescription information of “the number of prescriptions/the number of medicines” is extracted from the medicine, the medicine bag, and the medicine manual. It can be determined that the number of prescription tablets is not wrong because the prescription information is matched.

また、薬剤数チェック部107では、読取情報記憶部111に記憶されている抽出された処方情報および薬剤情報記憶部112に記憶されている薬剤情報に基づいて、画像データ記憶部110に記憶されている薬剤の画像データに含まれる薬剤の形状部分の面積として想定される面積(ドット数)の合計値を算出し、算出した面積(ドット数)の合計値が、薬剤数読取部105で算出した薬剤の画像データの形状部分の面積(ドット数)の合計値と近似するかどうかを判断することによって処方錠数が間違っていないかを判断することもできる。   Further, in the drug number check unit 107, the drug data is stored in the image data storage unit 110 based on the extracted prescription information stored in the read information storage unit 111 and the drug information stored in the drug information storage unit 112. The total value of the areas (the number of dots) assumed as the area of the shape part of the medicine contained in the image data of the medicines is calculated, and the calculated total value of the areas (the number of dots) is calculated by the medicine number reading unit 105. It is also possible to determine whether the number of prescription tablets is correct by determining whether it is close to the total value of the area (dot number) of the shape portion of the image data of the medicine.

具体的には、読取情報記憶部111に記憶されている読取処方情報から、処方数と薬剤名称の情報を取得する。そして、薬剤名称に対応する薬剤の面積(ドット数)を薬剤情報記憶部112から取得し、取得した面積(ドット数)を、処方数と乗算することにより、薬剤の画像データの薬剤の形状部分の面積(ドット数)の合計値を算出することができる。ここで算出した面積(ドット数)の合計値と、錠剤数読取部105で算出した面積(ドット数)の合計値が近似するかどうかをチェックすることによって処方錠数が間違っていないかを判断することができる。   Specifically, the information on the number of prescriptions and the medicine name is acquired from the read prescription information stored in the read information storage unit 111. Then, the area (dot number) of the medicine corresponding to the medicine name is acquired from the medicine information storage unit 112, and the acquired area (number of dots) is multiplied by the prescription number to obtain the medicine shape portion of the medicine image data. The total value of the area (number of dots) can be calculated. Whether the total number of prescription tablets is correct is checked by checking whether the total value of the area (dot number) calculated here and the total value of the area (dot number) calculated by the tablet number reading unit 105 are close to each other. can do.

このように面積(ドット数)の合計値を利用して処方錠数のチェックを行うためには、画像データ記憶部110に記憶されていう薬剤の画像データのドット密度と、薬剤情報記憶部111に記憶されている薬剤ごとの面積(ドット数)を算出した際のドット密度が一致するようにしなければならない。   As described above, in order to check the number of prescription tablets using the total value of the areas (the number of dots), the dot density of the drug image data stored in the image data storage unit 110 and the drug information storage unit 111 are stored. It is necessary to make the dot densities at the time of calculating the area (dot number) for each stored drug match.

以上が、薬剤処方チェック部106および錠剤数チェック部107で行われる処理の内容となる。ここまでで、薬剤チェック支援装置100の各処理部が行う処理について説明を行った。上記までで説明したように薬剤チェック支援装置100では各処理部が連携して処理を行うことによって、薬袋、薬剤、薬剤説明書から薬剤の処方情報を読み取って、読取った情報を比較検証することによって薬剤の処方が間違っていないかを簡易にチェックすることができる。また、薬剤チェック支援装置100は薬剤を薬袋に入れる直前に処方の検証処理を行う事ができるため、薬剤を薬袋に入れる際の入れ間違いを効果的に防止することができる。   The above is the contents of the processing performed by the medicine prescription checking unit 106 and the tablet number checking unit 107. Up to this point, the processing performed by each processing unit of the medicine check support device 100 has been described. As described above, in the medicine check support device 100, the processing units cooperate with each other to perform the processing, thereby reading the prescription information of the medicine from the medicine bag, the medicine, and the medicine manual, and comparing and verifying the read information. This makes it possible to easily check whether the drug prescription is correct. Further, since the medicine check support device 100 can perform the prescription verification process immediately before putting the medicine in the medicine bag, it is possible to effectively prevent a mistake in putting the medicine in the medicine bag.

また、薬剤の画像データの錠剤の形状の面積の合計値に基づいて処方錠数が間違っていないかを判断することができるため、複数の種類の薬剤が同時に薬剤の画像データとして表示されている場合であっても、薬剤の合計数が間違っていないかを判断することができるようになる。   In addition, since it is possible to determine whether the number of prescription tablets is correct based on the total value of the area of the tablet shape in the image data of the drug, a plurality of types of drugs are simultaneously displayed as image data of the drug. Even then, it will be possible to determine if the total number of medications is correct.

次に、処理フロー図に基づいて、薬剤チェック支援装置100の各処理部がどのように連携して、処方情報の読取りおよび処方情報の検証を行うかについて説明する。   Next, how the processing units of the medicine check support device 100 cooperate with each other to read the prescription information and verify the prescription information will be described based on the process flow diagram.

図21は、薬剤チェック支援装置100を利用して薬袋に入れる薬剤のチェックを行う場合の処理フロー図である。薬袋に入れる薬剤のチェックを行う場合、チェック作業を行う例えば薬剤師は、薬袋300、薬剤500、薬剤説明書400を並べてカウンター上に置く。この際、薬袋300、薬剤500、薬剤説明書400は、画像抽出条件記憶部113に記憶されている、例えば図8のような画像抽出条件の定義に従って、図9で示される領域内で読取られるようにそれぞれ配置しなければならない。また、薬袋300に薬剤説明書400と同様の内容が記載されている場合は、薬剤500と薬袋300を並べて表示するだけでよい場合もある。   FIG. 21 is a process flow chart when the medicine check support device 100 is used to check the medicine to be put in the medicine bag. When checking the medicine to be put in the medicine bag, for example, a pharmacist who carries out the checking work places medicine bag 300, medicine 500, and medicine manual 400 side by side on the counter. At this time, the medicine bag 300, the medicine 500, and the medicine manual 400 are read in the area shown in FIG. 9 according to the definition of the image extraction condition stored in the image extraction condition storage unit 113, for example, as shown in FIG. Must be arranged respectively. If the medicine bag 300 has the same contents as the medicine manual 400, it may be sufficient to display the medicine 500 and the medicine bag 300 side by side.

薬袋300、薬剤500、薬剤説明書400をカウンター上に並べたら、読取機101によってカウンター上の状態が読取られ画像データに変換される(S2101)。変換された画像データは画像抽出部102によって、画像抽出条件データの定義に従って、薬袋領域、薬剤領域、薬剤説明書領域に分割され(S2102)、それぞれの領域から、薬袋の画像データ、薬剤の画像データ、薬剤説明書の画像データがそれぞれ取得される(S2103)。取得されたそれぞれの画像データは画像データ記憶部110に記憶される。   After the medicine bag 300, the medicine 500, and the medicine manual 400 are arranged on the counter, the state of the counter is read by the reader 101 and converted into image data (S2101). The converted image data is divided by the image extraction unit 102 into a medicine bag area, a medicine area, and a medicine instruction area according to the definition of the image extraction condition data (S2102). From each area, the medicine bag image data and the medicine image are divided. The data and the image data of the medicine description are respectively acquired (S2103). The acquired image data is stored in the image data storage unit 110.

そして、処方情報読取部103によって、薬袋の画像データのOCR処理が行われ処方情報の読取りが行われる(S2104)。読取られた処方情報は読取情報記憶部111に記録される。同様に、処方情報読取部103によって、薬剤説明書のOCR処理が行われ処方情報の読取りが行われ(S2105)、読取情報記憶部111に記録される。ここで、薬剤説明書400に記載されている内容と同様の内容が薬袋300に記載されており、薬袋の画像データのみ抽出されていた場合は、薬剤説明書の画像データからの処方情報読取りは行われない。   Then, the prescription information reading unit 103 performs the OCR processing of the image data of the medicine bag to read the prescription information (S2104). The read prescription information is recorded in the read information storage unit 111. Similarly, the prescription information reading unit 103 performs OCR processing of the drug description, reads the prescription information (S2105), and records it in the read information storage unit 111. Here, if the contents similar to those described in the medicine manual 400 are described in the medicine bag 300 and only the image data of the medicine bag is extracted, the prescription information can be read from the image data of the medicine manual. Not done

処方情報の読取りと記録が行われたら、薬剤情報読取部104によって薬剤の画像データをOCR認識することにより薬剤名称の読取りが行われる(S2106)。薬剤情報読取部104では、OCR認識による薬剤名称の読取りに続いて、薬剤の画像データからバーコード等のコード情報の読取りを行い(S2107)、読取った取ったコード情報に基づいて、薬剤情報記憶部112からコード情報に関連付けられた「薬剤名称」の情報を取得しての読取りを行う(S2108)。   After the prescription information is read and recorded, the drug information reading unit 104 recognizes the image data of the drug by OCR to read the drug name (S2106). In the drug information reading unit 104, after reading the drug name by OCR recognition, code information such as a bar code is read from the image data of the drug (S2107), and the drug information is stored based on the read code information. The information of the “drug name” associated with the code information is acquired from the unit 112 and read (S2108).

基本的にS2105で読取られる薬剤名称とS2106で読取れる薬剤名称は同じ名称が読取られるはずである。いずれかのステップでした薬剤の読取りが行えなかった場合は、読取れた薬剤名称を読取情報記憶部111に記憶する。S2105で読取られる薬剤名称とS2106で読取れる薬剤名称が異なる場合は、S2108で読取った薬剤名称を読取情報記憶部111に記録する。   Basically, the medicine name read in S2105 and the medicine name read in S2106 should be the same. If the medicine cannot be read in any of the steps, the read medicine name is stored in the read information storage unit 111. When the medicine name read in S2105 and the medicine name read in S2106 are different, the medicine name read in S2108 is recorded in the read information storage unit 111.

次に、読取った処方情報の薬剤名称に対応する薬剤情報の薬剤種別が錠剤またはカプセル剤であるかをチェックする(S2109)。薬剤種別が錠剤またはカプセル剤であった場合(S2109:YES)は、薬剤数チェック部107により薬剤の画像データから錠剤やカプセル剤の薬剤形状である、略円形状や略楕円形状の特定図形の数を認識し薬剤数の読取りを行う(S2110)。読取られた薬剤数は読取情報記憶部111に記録される。   Next, it is checked whether the medicine type of the medicine information corresponding to the medicine name of the read prescription information is tablet or capsule (S2109). If the drug type is a tablet or a capsule (S2109: YES), the drug number check unit 107 determines from the image data of the drug that the drug shape of the tablet or capsule is a substantially circular or elliptical specific shape. The number is recognized and the number of medicines is read (S2110). The number of read medicines is recorded in the read information storage unit 111.

薬剤種別が錠剤またはカプセル剤でなかった場合(S2109:NO)や、S2110で薬剤数の読取りと記録が行われた場合は、S2111に進み、薬剤処方チェック部106によって、読取情報記憶部111に記録されている処方情報と薬剤情報の内容が矛盾しないかを判定する(S2111)。 判定結果は、例えば、ディスプレイ装置に表示する、音声で発生するといった方法で行われる。   If the drug type is not tablets or capsules (S2109: NO), or if the number of drugs has been read and recorded in S2110, the process advances to S2111, and the drug prescription checking unit 106 causes the read information storage unit 111 to read the information. It is determined whether or not the recorded prescription information and the content of the drug information are inconsistent (S2111). The determination result is, for example, displayed by a display device or generated by voice.

処方情報のチェックが完了すると、薬剤チェック支援装置100による薬袋に入れる薬剤のチェック処理は完了する。図21の処理フローでは1種類の薬剤のチェックを行う場合の処理について説明しているが、複数種類の薬剤についてチェック処理を行う場合は、薬剤ごとに図21の処理フローで示すチェック処理を行うことによって薬剤のチェック処理を行う。   When the check of the prescription information is completed, the check process of the medicine to be put in the medicine bag by the medicine check support device 100 is completed. Although the processing flow of FIG. 21 describes the processing in the case of checking one kind of medicine, when the check processing is performed for a plurality of kinds of medicine, the check processing shown in the processing flow of FIG. 21 is executed for each medicine. By doing so, the drug check process is performed.

以上、薬剤チェック支援装置100を用いた、薬袋にいれる薬剤のチェック処理の詳細について説明をした。このシステムを用いることにより、薬袋に入れる薬剤の種類や錠剤数が間違っていないかを患者に手渡す直前にチェックすることができるため、薬剤のピッキング間違いや薬袋への入れ間違い、数量間違いなどを、的確に検出することができ、調剤薬局等における業務効率の向上を図ることができる。   Heretofore, the details of the checking process of the medicine placed in the medicine bag using the medicine check support device 100 have been described. By using this system, it is possible to check whether the type of medicine or the number of tablets in the medicine bag is correct immediately before handing it to the patient. It can be accurately detected, and the work efficiency in the dispensing pharmacy can be improved.

さらには、単純にカウンター上に薬剤や薬袋等をならべるだけで、上記チェック作業が行えるため、これまでの調剤薬局等における業務内容を大きく変えることなく、本願発明における薬剤チェック支援装置を用いた調剤処方のチェック作業を行う事ができるようになる。   Furthermore, since the above-mentioned check work can be performed simply by arranging medicines, medicine bags, etc. on the counter, dispensing without using the medicine check support device according to the present invention without significantly changing the work contents in the dispensing pharmacy up to now. You will be able to check the prescription.

以上の薬剤チェック支援装置が行う処理は,コンピュータとソフトウェアプログラムとによって実現することができ,そのプログラムをコンピュータ読み取り可能な記録媒体に記録することも,ネットワークを通して提供することも可能である。   The above-described processing performed by the medicine check support device can be realized by a computer and a software program, and the program can be recorded in a computer-readable recording medium or provided via a network.

また、本発明の技術範囲は前述した実施形態に左右されるものではなく、当業者であれば特許請求の範囲に記載された技術的思想の範囲内において想到することが明らかである変更例についても当然に本発明の技術的範囲に属するものである。   Further, the technical scope of the present invention does not depend on the above-described embodiment, and it is obvious to those skilled in the art that modifications within the scope of the technical idea described in the claims will be conceived. Of course, it also belongs to the technical scope of the present invention.

100 薬剤チェック支援装置
101 読取機
102 画像抽出部
103 処方情報読取部
104 薬剤情報読取部
105 錠剤数読取部
106 薬剤処方チェック部
107 錠剤数チェック部
110 画像データ記憶部
111 読取情報記憶部
112 薬剤情報記憶部
113 画像抽出条件記憶部
114 処方情報抽出条件記憶部
201 オーバーヘッドスキャナ
202 ヘッド部
203 カウンター
300 薬袋
400 薬剤説明書
500 薬剤
100 Drug Check Support Device 101 Reader 102 Image Extracting Unit 103 Prescription Information Reading Unit 104 Drug Information Reading Unit 105 Tablet Number Reading Unit 106 Drug Prescription Checking Unit 107 Tablet Number Checking Unit 110 Image Data Storage Unit 111 Reading Information Storage Unit 112 Drug Information Storage unit 113 Image extraction condition storage unit 114 Prescription information extraction condition storage unit 201 Overhead scanner 202 Head unit 203 Counter 300 Medication bag 400 Medication manual 500 Medication

Claims (2)

薬剤の情報として薬剤名称を薬剤の印字名称または識別コードと対応付けて記憶する薬剤情報記憶手段と、
少なくとも薬袋と当該薬袋に袋入する薬剤である袋入対象薬剤と、処方された薬剤の説明書である薬剤処方説明書を含む領域を画像データに変換する画像変換手段と、
前記画像変換手段で変換された画像データから薬剤の処方情報が記載されている領域の画像として、前記薬袋の画像である第一画像と、前記薬剤処方説明書の画像である第二画像とを抽出するとともに、薬剤の画像として、前記袋入対象薬剤の画像である第三画像を抽出する画像抽出手段と、
読取対象の処方情報である薬剤名称、処方数が文字列で記載されている場合は、前記画像抽出手段で抽出された処方情報が記載されている領域の画像である前記第一画像および前記第二画像を検出してOCR認識を行い、抽出された文字列のうち、定義されているパターン文字列に合致する文字列を処方情報である薬剤名称、処方数として読み取る一方で、前記薬剤処方説明書において読取対象の処方情報である1回服薬数が表形式で記載されている場合は、前記第二画像での処方情報が記載されている領域の画像において表示位置が固定されている薬剤名称の記載領域と、表形式で記載された1回服薬数の記載領域との間の相対的な位置関係に基づいてOCR認識を行って前記1回服薬数を処方情報として読み取る薬剤処方情報読取手段と、
前記画像抽出手段で抽出された薬剤の画像である前記第三画像から薬剤の印字名称または識別コードを読み取り、読み取った印字名称または識別コードに対応する薬剤の情報である薬剤名称を前記薬剤情報記憶手段から取得する薬剤情報読取手段と、
前記薬剤情報読取手段で取得した薬剤の情報である薬剤名称が、前記薬剤処方情報読取手段で読み取った処方情報に含まれる薬剤名称と一致するかを判定する薬剤チェック手段と
前記薬剤情報読取手段で取得した薬剤の情報に含まれる薬剤の種類が錠剤またはカプセル剤であった場合に、前記画像抽出手段で抽出された薬剤の画像である前記第三画像に含まれている錠剤またはカプセル剤の形状部分を抽出することにより、薬剤の数を算出する薬剤数抽出手段と、
前記薬剤数抽出手段で算出した薬剤の数が、前記薬剤処方情報読取手段で読み取った処方情報に基づく処方数と一致するかを判断する薬剤数チェック手段と
を具備することを特徴とする薬剤チェック支援装置。
Drug information storage means for storing a drug name as drug information in association with a drug print name or identification code;
At least the medicine bag, and the image converting means for converting a bag entry subject agents, the region including the drug formulation instructions are instructions prescribed medication to the image data is an agent that FukuroIri to the bag,
From the converted image data by the image conversion means, and the image of a region prescription information of the drug have been described, the first image the is an image of a bag, the second said is an image of a pharmaceutical formulation Instructions Image extracting means for extracting an image and a third image which is an image of the medicine to be put in the bag as an image of the medicine ,
When the medicine name, which is the prescription information to be read , and the number of prescriptions are described in a character string, the first image and the first image which are the images of the area in which the prescription information extracted by the image extracting means is described . Two images are detected, OCR recognition is performed, and a character string that matches the defined pattern character string among the extracted character strings is read as the drug name and the number of prescriptions that are the prescription information , while the drug prescription description is given. If one medication number is prescription information to be read are listed in tabular form in the book, the drug name display position in the image of the region prescription information in said second image have been described is fixed Prescription information reading means for performing OCR recognition based on the relative positional relationship between the description region of No. 1 and the description region of the number of single doses described in a tabular form and reading the number of single doses as prescription information. When,
The print name or identification code of the drug is read from the third image, which is the image of the drug extracted by the image extracting means, and the drug name , which is the drug information corresponding to the read print name or identification code , is stored in the drug information storage. Drug information reading means acquired from the means,
A drug check unit that determines whether the drug name , which is the drug information acquired by the drug information reading unit, matches the drug name included in the prescription information read by the drug prescription information reading unit ,
When the type of drug included in the drug information acquired by the drug information reading unit is a tablet or a capsule, it is included in the third image which is an image of the drug extracted by the image extracting unit. A drug number extraction means for calculating the number of drugs by extracting the shape part of the tablet or capsule,
A drug number checking unit that determines whether the number of drugs calculated by the drug number extraction unit matches the number of prescriptions based on the prescription information read by the drug prescription information reading unit ,
A drug check support device comprising:
前記薬剤情報記憶手段は薬剤の画像に含まれている錠剤またはカプセル剤の形状部分の面積情報をさらに記憶し、
前記薬剤数抽出手段は前記画像抽出手段で抽出された薬剤の画像に含まれている錠剤またはカプセル剤の形状部分の面積の合計値を算出し、
前記薬剤数チェック手段は前記薬剤処方情報読取手段で読み取った薬剤の処方情報および前記薬剤情報記憶手段に記憶されている薬剤情報に基づいて、前記画像抽出手段で抽出された薬剤の画像に含まれる錠剤またはカプセル剤の形状部分の面積の合計値を算出し、算出した面積の合計値が前記薬剤数抽出手段で算出した面積の合計値と近似するかを判断することによって、薬剤の画像に含まれる錠剤またはカプセル剤の数が前記薬剤処方情報読取手段で読み取った処方情報に含まれる処方錠剤の数または処方カプセル剤の数と一致するかを判断する
ことを特徴とする請求項に記載の薬剤チェック支援装置。
The drug information storage means further stores area information of the shape part of the tablet or capsule included in the image of the drug,
The drug number extraction means calculates the total value of the areas of the shape parts of the tablets or capsules included in the image of the drug extracted by the image extraction means,
The drug number checking unit is included in the image of the drug extracted by the image extracting unit based on the drug prescription information read by the drug prescription information reading unit and the drug information stored in the drug information storage unit. Included in the image of the drug by calculating the total value of the area of the shape portion of the tablet or capsule, and determining whether the total value of the calculated area is close to the total value of the area calculated by the drug number extracting means. It is determined whether the number of tablets or capsules to be stored matches the number of prescription tablets or the number of prescription capsules included in the prescription information read by the drug prescription information reading means .
The medicine check support device according to claim 1 .
JP2013218589A 2013-10-21 2013-10-21 Drug check support device Expired - Fee Related JP6698263B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013218589A JP6698263B2 (en) 2013-10-21 2013-10-21 Drug check support device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013218589A JP6698263B2 (en) 2013-10-21 2013-10-21 Drug check support device

Publications (2)

Publication Number Publication Date
JP2015080512A JP2015080512A (en) 2015-04-27
JP6698263B2 true JP6698263B2 (en) 2020-05-27

Family

ID=53011459

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013218589A Expired - Fee Related JP6698263B2 (en) 2013-10-21 2013-10-21 Drug check support device

Country Status (1)

Country Link
JP (1) JP6698263B2 (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016194680A1 (en) 2015-05-29 2016-12-08 富士フイルム株式会社 Dispensing inspection device, dispensing inspection method, program, and recording medium
JP6454249B2 (en) * 2015-09-16 2019-01-16 富士フイルム株式会社 Drug inspection apparatus and method
CN107920956B (en) * 2015-09-28 2020-06-16 富士胶片株式会社 Drug inspection device and method, and recording medium
JP7016209B2 (en) * 2016-01-29 2022-02-04 東日本メディコム株式会社 Medical information provision system, server, terminal device, medical information provision method and program
CN110827933A (en) * 2018-08-14 2020-02-21 陈玉沛 Tablet taking assisting method realized by mobile device
JP2022187605A (en) * 2021-06-08 2022-12-20 NeoX株式会社 Medicine detection system
JP2023080743A (en) * 2021-11-30 2023-06-09 NeoX株式会社 Medicament number management system
JP2023092832A (en) * 2021-12-22 2023-07-04 NeoX株式会社 Medicine management system

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09299448A (en) * 1996-05-20 1997-11-25 Tokyo Shokai:Kk Medicine monitoring apparatus
JP2003141253A (en) * 2001-10-30 2003-05-16 Higashi Nihon Medicom Kk Medicine prescription system
JP4934229B1 (en) * 2011-06-21 2012-05-16 株式会社グッドサイクルシステム Dispensing pharmacy information providing device, dispensing pharmacy information providing method, and dispensing pharmacy information providing computer program
JP2013009744A (en) * 2011-06-28 2013-01-17 Tosho Inc Inspection support system for dispensing
JP2013105302A (en) * 2011-11-14 2013-05-30 Mvisual Co Ltd Dispensing pharmacy system

Also Published As

Publication number Publication date
JP2015080512A (en) 2015-04-27

Similar Documents

Publication Publication Date Title
JP6698263B2 (en) Drug check support device
JP5916032B2 (en) Drug test support apparatus and method
JP6009888B2 (en) Drug inspection apparatus and method
US20140156298A1 (en) Modularization for prescription fulfillment and adherence
JP7147939B2 (en) Medication support system
JP6419984B2 (en) Drug inspection apparatus and method, and program
JP7381954B2 (en) Image processing program and image processing device
EP3346444B1 (en) Improved image acquisition for medical dose preparation system
JP2011134079A (en) Collation inspection device and collation inspection method
CA3013602C (en) Method of monitoring medication regimen with portable apparatus
JP6797549B2 (en) Audit support method and audit support device
EP3447719B1 (en) Packaged single-dose-medicament audit system, packaged single-dose-medicament information output method, and computer-readable medium
TWI692356B (en) Method of monitoring medication regimen complemented with portable apparatus
TWM572232U (en) Drug access device
US20140195262A1 (en) Drug registration apparatus and program
JP2009189875A (en) Dispensing inspection support system for packaged medicament
TW201633246A (en) Method for accessing medicines from medicine cabinet
JP5414879B1 (en) Drug recognition device, drug recognition method, and drug recognition program
JP4170031B2 (en) Prescription management system
JP7317348B2 (en) Prescription information receiving device, method, and computer program
JPH09167176A (en) Device and method for health insurance card input
JP6454249B2 (en) Drug inspection apparatus and method
JP5852057B2 (en) Drug registration device and program
JP2015002918A (en) Prescription input device and method
TWI702614B (en) Method for recording real-world medication data and comprehensive real-time compliance rate complemented with portable apparatus

Legal Events

Date Code Title Description
RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20140707

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20161013

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20170714

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20170801

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20171002

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20180320

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20180620

A911 Transfer to examiner for re-examination before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20180628

A912 Re-examination (zenchi) completed and case transferred to appeal board

Free format text: JAPANESE INTERMEDIATE CODE: A912

Effective date: 20180727

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20191018

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20200312

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20200428

R150 Certificate of patent or registration of utility model

Ref document number: 6698263

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees