JP2022036392A - Prescription reading program and prescription reader - Google Patents
Prescription reading program and prescription reader Download PDFInfo
- Publication number
- JP2022036392A JP2022036392A JP2020140581A JP2020140581A JP2022036392A JP 2022036392 A JP2022036392 A JP 2022036392A JP 2020140581 A JP2020140581 A JP 2020140581A JP 2020140581 A JP2020140581 A JP 2020140581A JP 2022036392 A JP2022036392 A JP 2022036392A
- Authority
- JP
- Japan
- Prior art keywords
- prescription
- text
- layout type
- algorithm
- text area
- 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
- 239000003814 drug Substances 0.000 claims abstract description 36
- 229940079593 drug Drugs 0.000 claims abstract description 34
- 238000000605 extraction Methods 0.000 claims abstract description 23
- 238000012545 processing Methods 0.000 claims abstract description 19
- 230000010365 information processing Effects 0.000 claims abstract description 5
- 238000000034 method Methods 0.000 claims description 51
- 238000012937 correction Methods 0.000 claims description 10
- 239000000284 extract Substances 0.000 claims description 6
- 238000012015 optical character recognition Methods 0.000 description 9
- 238000003058 natural language processing Methods 0.000 description 8
- 238000013528 artificial neural network Methods 0.000 description 5
- 238000010586 diagram Methods 0.000 description 5
- 239000002547 new drug Substances 0.000 description 5
- 238000011156 evaluation Methods 0.000 description 4
- 230000006870 function Effects 0.000 description 3
- 238000012790 confirmation Methods 0.000 description 2
- 238000001647 drug administration Methods 0.000 description 2
- 239000003168 generic drug Substances 0.000 description 2
- 239000000955 prescription drug Substances 0.000 description 2
- 208000024891 symptom Diseases 0.000 description 2
- 238000012360 testing method Methods 0.000 description 2
- 230000037406 food intake Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
Images
Abstract
Description
本発明は、処方箋の文字等の情報を読み取る処方箋読み取りプログラムおよび処方箋読み取り装置に関する。 The present invention relates to a prescription reading program and a prescription reading device that read information such as characters of a prescription.
特許文献1には、薬局業務支援システムが記載されている。特許文献1には、「処方情報は、例えば、医療機関から発行された処方箋を撮影した画像データである。なお、撮影画像を文字認識して処方内容をテキストデータ化し、画像データおよびテキストデータを処方情報として用いるようにしてもよい。」と記載されている。
薬局は、医療機関から紙またはFAXを介して処方箋を受け取る。薬局は、紙で受け取った処方箋をテキストデータ化したい場合、スキャナで読み込み、OCR(Optical Character Recognition)によりテキストデータ化する。あるいは、薬局は、FAXで受け取った画像データをOCR(Optical Character Recognition)によりテキストデータ化する。しかし、スキャンした画像データおよびFAXで受け取った画像データは、文字が不鮮明な場合があり、従来のOCRでは適切に文字認識できない場合が多い。 The pharmacy receives the prescription from the medical institution via paper or fax. When a pharmacy wants to convert a prescription received on paper into text data, it reads it with a scanner and converts it into text data by OCR (Optical Character Recognition). Alternatively, the pharmacy converts the image data received by FAX into text data by OCR (Optical Character Recognition). However, the scanned image data and the image data received by FAX may have unclear characters, and in many cases, the characters cannot be properly recognized by the conventional OCR.
そこで、本発明の目的は、不鮮明な文字であっても適切に処方箋の読み取りが可能な処方箋読み取りプログラムおよび処方箋読み取り装置を提供することにある。 Therefore, an object of the present invention is to provide a prescription reading program and a prescription reading device capable of appropriately reading a prescription even if the characters are unclear.
本発明に係る処方箋読み取りプログラムは、処方箋データを受信する受信処理と、前記受信処理で受信した前記処方箋データに基づいて、レイアウトタイプを判断するレイアウトタイプ判断処理と、前記レイアウトタイプ判断処理で判断した前記レイアウトタイプに基づいて、テキスト領域を判断するテキスト領域判断処理と、前記テキスト領域判断処理で判断した前記テキスト領域に対して、機械学習済文字認識アルゴリズムを用いてテキストデータの認識処理を行なうテキスト認識処理と、前記テキスト認識処理で認識した前記テキストデータに対して、機械学習済単語抽出アルゴリズムを用いて薬の名称および分量を含む単語を抽出する抽出処理と、を情報処理装置に実行させることを特徴とする。 The prescription reading program according to the present invention is determined by a reception process for receiving prescription data, a layout type determination process for determining a layout type based on the prescription data received in the reception process, and a layout type determination process. A text area determination process for determining a text area based on the layout type and a text data recognition process for the text area determined by the text area determination process using a machine-learned character recognition algorithm. To have the information processing apparatus execute the recognition process and the extraction process of extracting the word including the name and quantity of the drug by using the machine-learned word extraction algorithm for the text data recognized by the text recognition process. It is characterized by.
この様に、本発明に係る処方箋読み取りプログラムは、処方箋のレイアウトタイプを判断してテキスト領域を判断し、判断したテキスト領域に対してニューラルネットワーク等の機械学習済文字認識アルゴリズムおよび機械学習済単語抽出アルゴリズムを用いて薬の名称および分量等の単語を抽出する。したがって、本発明に係る処方箋読み取りプログラムは、従来のOCRよりも極めて高い精度で文字認識および単語認識を行なうことができる。よって、本発明に係る処方箋読み取りプログラムは、FAXやスキャナで取り込んだ不鮮明な文字の処方箋データであっても適切に処方箋の読み取りを行なうことができる。 As described above, the prescription reading program according to the present invention determines the layout type of the prescription, determines the text area, and uses a machine-learned character recognition algorithm such as a neural network and machine-learned word extraction for the determined text area. Extract words such as drug name and quantity using an algorithm. Therefore, the prescription reading program according to the present invention can perform character recognition and word recognition with extremely higher accuracy than the conventional OCR. Therefore, the prescription reading program according to the present invention can appropriately read the prescription even if the prescription data is unclear characters captured by FAX or a scanner.
なお、処方箋読み取りプログラムは、前記テキスト認識処理で認識した前記テキストデータのエラーを、機械学習済アルゴリズムを用いて修正する修正処理をさらに実行し、さらに処方箋の読み取り精度を高めることもできる。この場合、前記抽出処理は、前記修正処理で修正されたテキストデータに対して行なわれる。 The prescription reading program can further execute a correction process of correcting the error of the text data recognized by the text recognition process by using a machine-learned algorithm, and can further improve the reading accuracy of the prescription. In this case, the extraction process is performed on the text data modified by the modification process.
また、修正処理は、薬の名称辞典と、処方箋に含まれる特定のパターンを含むパターン辞典と、を用いて行なわれる。パターン辞典は、例えばジェネリック医薬品に使用される「般」の文字や、カタカナの「ロ」と漢字の「口」等の情報を含む。これにより、処方箋の読み取り精度がさらに高まる。 Further, the correction process is performed using a drug name dictionary and a pattern dictionary including a specific pattern included in the prescription. The pattern dictionary contains information such as the characters "general" used in generic drugs, the katakana "ro" and the kanji "mouth". As a result, the reading accuracy of the prescription is further improved.
なお、機械学習済単語抽出アルゴリズムは、処方箋において関連するテキストの各部分の形式を判断し、タグ付けするように学習されている第1アルゴリズムと、処方箋における特有のキーワード間の関係を理解する様に学習されている第2アルゴリズムと、を有する。これにより、処方箋読み取りプログラムは、処方箋における特有の記載内容を高精度に抽出し、データベースに適切に登録可能かつ利用可能な形式として整理することができる。 The machine-learned word extraction algorithm is designed to understand the relationship between the first algorithm, which is learned to determine and tag the format of each part of the related text in the prescription, and the specific keywords in the prescription. Has a second algorithm, which is learned in. As a result, the prescription reading program can extract the unique description contents in the prescription with high accuracy and organize them in a format that can be appropriately registered in the database and can be used.
なお、レイアウトタイプ判断処理は、データベースに蓄積されたレイアウトタイプとの比較によって行なわれる。処方箋は、法改正等により新たなレイアウトタイプが生じる場合もあり、データベースに一致しない場合もある。しかし、処方箋読み取りプログラムは、データベースに一致するレイアウトタイプが無い場合に利用者からテキスト領域の操作を受け付けて、データベースに登録する登録処理を行なうことで、新たなレイアウトタイプが生じた場合でも、適切に読み取りを行なうことができる。 The layout type determination process is performed by comparing with the layout type stored in the database. Prescriptions may have new layout types due to revisions to the law, etc., and may not match the database. However, the prescription reading program accepts the operation of the text area from the user when there is no layout type that matches the database, and performs the registration process to register it in the database, so that it is appropriate even if a new layout type occurs. Can be read.
本発明によれば、不鮮明な文字であっても適切に処方箋の読み取りを行なうことができる。 According to the present invention, the prescription can be appropriately read even if the characters are not clear.
以下、本発明の実施形態に係る処方箋読み取りシステム1について、図を参照しながら説明する。
Hereinafter, the
図1は、処方箋読み取りシステム1の構成を示すブロック図である。処方箋読み取りシステム1は、サーバ11、受付用端末12、利用者端末13、およびレセコン14を備えている。サーバ11、受付用端末12、利用者端末13、およびレセコン14は、ネットワークを介して接続されている。
FIG. 1 is a block diagram showing a configuration of a
受付用端末12は、一般的な情報処理装置(パーソナルコンピュータ)で実現される。受付用端末12は、不図示のFAX機またはスキャナに接続されていて、処方箋を画像データに変換した処方箋データを受信する。処方箋は、医療機関から紙またはFAXで送付される。薬局の薬剤師は、処方線を紙で受け取った場合には、不図示のスキャナを用いて受付用端末12に処方箋データを入力する。また、処方箋をFAXで受信した場合、受付用端末12は、FAX機から処方箋データを受信する。あるいは、薬剤師は、FAX機で処方箋データを印刷し、印刷した処方箋をスキャナで読み込み、受付用端末12に入力してもよい。受付用端末12は、処方箋データをサーバ11に送信する。
The
サーバ11は、本発明の処方箋読み取り装置の一例である。サーバ11は、薬局に設置されていてもよいし、インターネット上のサーバ群からなる態様であってもよい。サーバ11は、受付用端末12から処方箋データを受信し、処方箋の内容を読み取る動作を行なう。
The
利用者端末13は、薬剤師等の薬局業務を行なう者(利用者)が用いる端末であり、例えばスマートフォンあるいはタブレット型コンピュータ等の携帯型の情報処理装置である。利用者は、利用者端末13を用いてサーバ11で読み取られた処方箋の内容を確認したり、処方箋の内容をレセコン14に入力したりする。また、利用者は、利用者端末13を用いて患者の薬歴を確認し、新たな薬歴を作成することもできる。
The
レセコン14は、利用者端末13から入力される処方箋の内容に応じてレセプトを作成するコンピュータである。レセコン14は、一般的なパーソナルコンピュータ上にインストールされたアプリケーションプログラムによって実現される。
The
図2は、サーバ11の構成を示すブロック図である。サーバ11は、ネットワークI/F51、記憶部52、CPU53、およびRAM54を備えている。
FIG. 2 is a block diagram showing the configuration of the
ネットワークI/F51は、インターネット等のネットワークに接続される。本実施形態では、サーバ11は、ネットワークI/F51を介して受付用端末12および利用者端末13に接続される。
The network I / F 51 is connected to a network such as the Internet. In the present embodiment, the
CPU53は、記憶部52に記憶されているプログラムをRAM54に読み出して、種々の動作を行なう。記憶部52は、サーバ11の基本プログラム(OS)と、本実施形態における処方箋読み取りプログラムと、を記憶している。また、記憶部52は、後述の処方箋データのレイアウトタイプを示す情報や、患者の個人情報等の各種データベースを備えている。
The
CPU53は、記憶部52から処方箋読み取りプログラムをRAM54に読み出すことで、処方箋読み取り装置として機能する。
The
図3は、処方箋読み取りシステム1の動作を示すフローチャートである。まず、処方箋は、医療機関から紙またはFAXで送付される(S11)。薬局の薬剤師は、紙またはFAXで送付された処方箋を受け取る(S12)。
FIG. 3 is a flowchart showing the operation of the
そして、薬局の薬剤師は、受付用端末12を用いて紙の処方箋をスキャンし、処方箋データとしてサーバ11に送信する、またはFAXで受信した処方箋データをサーバ11に送信する(S13)。なお、薬剤師は、利用者端末13のアプリケーションプログラムを用いて、処方箋データをサーバ11に送信してもよい。また、受付用端末12または利用者端末13は、FAXを介して処方箋データを受信した時点、またはスキャナから受信した時点で、当該処方箋データを自動的にサーバ11に送信してもよい。特に、老人福祉施設等の在宅向け薬局では、医療機関から同時に多数の処方箋を受け取る。そのため、本実施形態の処方箋読み取りシステム1は、処方箋データを受信した場合に自動的にサーバ11に処方箋データを送信して以下の読み取り動作を行うことで、薬局業務の負荷を著しく低減することができる。
Then, the pharmacist at the pharmacy scans the paper prescription using the
次に、サーバ11は、処方箋読み取りプログラムを実行して処方箋読み取り動作を行なう(S14)。
Next, the
図4および図5は、処方箋読み取り時のサーバ11の動作を示すフローチャートである。まず、サーバ11は、処方箋データから、画像の特徴量の抽出を行なう(S101)。この処理は、例えばSIFT(Scale Invariant Feature Transform)等の特徴量を抽出するアルゴリズムで行なう。
4 and 5 are flowcharts showing the operation of the
上述の様に、薬局は、FAXで処方箋データを受信する、あるいは処方箋スキャナで読み取る。したがって、処方箋データは、画像のサイズや傾きが一定ではない。サーバ11は、SIFTの特徴量抽出アルゴリズムを用いることにより、画像サイズおよび傾きに依存しない処方箋の画像の特徴量を抽出することができる。
As mentioned above, the pharmacy receives the prescription data by fax or reads it with a prescription scanner. Therefore, in the prescription data, the size and inclination of the image are not constant. The
次に、サーバ11は、抽出した特徴量に基づいて、データベースから対応するレイアウトタイプを判断する(S102)。データベースには、複数の処方箋のレイアウトタイプが蓄積されている。サーバ11は、RANSAC(Random Sample Consensus)等の推定アルゴリズムで、データベースを参照して、受信した処方箋データのレイアウトタイプに一致するレイアウトタイプを判断する。
Next, the
サーバ11は、一致するレイアウトタイプが存在するか否かを判断する(S103)。サーバ11は、一致するレイアウトタイプが存在したと判断した場合、テキスト領域の判断処理を行なう(S104)。テキスト領域は、少なくとも患者の氏名等の患者の情報が記載された領域、日付が記載された領域、および薬の情報が記載された領域等を含む。データベースに登録されているレイアウトタイプは、処方箋データのどの位置にどのテキスト領域が存在するかを示す位置情報が含まれている。サーバ11は、データベースに登録されているレイアウトタイプから、テキスト領域の位置情報を読み出すことで、テキスト領域を判断する。
The
一方で、サーバ11は、一致するレイアウトタイプが無いと判断した場合、利用者からテキスト領域の受け付け処理を行なう(S105)。薬剤師等の利用者は、受付用端末12または利用者端末13のユーザI/Fを用いて、処方箋データの中からテキストが記載されている領域を手動で指定する。サーバ11は、指定されたテキスト領域を新たなレイアウトタイプとしてデータベース登録し(S106)、テキスト領域の判断処理を行なう(S104)。
On the other hand, when the
処方箋は、法改正等により新たなレイアウトタイプが生じる場合もあり、データベースに蓄積されたレイアウトタイプと一致しない場合もある。しかし、サーバ11は、データベースに一致するレイアウトタイプが無い場合に利用者からテキスト領域の指定操作を受け付けて、データベースに登録する登録処理を行なうことで、新たなレイアウトタイプが生じた場合でも、次回からは自動的にレイアウトタイプを判断することができる。
Prescriptions may have new layout types due to revisions to the law, etc., and may not match the layout types stored in the database. However, when the
その後、サーバ11は、患者の情報が記載されたテキスト領域に対してテキスト認識処理を行なう(S107)。患者の情報は、患者の氏名および誕生日等の情報を含む。テキスト認識処理は、任意の文字認識アルゴリズム(例えばニューラルネットワーク等のアルゴリズムを搭載したTesseract-OCR)で行なわれる。
After that, the
サーバ11は、テキスト認識処理で認識した患者の情報をデータベースと対比して、対応する患者の情報が存在するか否かを判断する(S108)。サーバ11は、対応する患者が存在すると判断した場合、図5に示すS201~S207の処理を続ける。サーバ11は、対応する患者が存在しないと判断した場合、認識した患者の情報をデータベースに登録し(S109)、S201~S207の処理に移行する。
The
次に、図5に示す様に、サーバ11は、薬の情報が記載されたテキスト領域においてセグメント処理を行なう(S201)。図6は、処方箋データの一例を示す図である。セグメント処理とは、図6のハッチング部分に示す様に、薬の情報が記載されたテキスト領域を一行毎のセグメントに区切る処理である。
Next, as shown in FIG. 5, the
その後、サーバ11は、各セグメントでテキスト認識処理を行なう(S202)。テキスト認識処理は、任意の文字認識アルゴリズム(例えばニューラルネットワーク等のアルゴリズムを搭載したTesseract-OCR)で行なわれる。この処理は、処方箋用に機械学習された機械学習済文字認識アルゴリズムを用いることが好ましい。無論、サーバ11は、一般的な機械学習済アルゴリズムを用いてテキスト認識処理を行なってもよい。
After that, the
次に、サーバ11は、認識したテキストデータに対してスペル修正処理を行なう(S203)。スペル修正処理は、例えばSymSpell等の任意のアルゴリズムを用いる。SymSpellアルゴリズムは、政府の提供する薬の名称辞典を用いて、薬の名称に係るテキスト認識の誤りを修正する。これにより、サーバ11は、S202のテキスト認識処理で生じたエラーを適切に修正することができる。
Next, the
さらに、サーバ11は、処方箋における特定パターンの修正処理を行なう(S204)。特定パターンの修正処理は、例えばn-gram等の任意のアルゴリズムを用いる。n-gramアルゴリズムは、処方箋における特定のパターンを含むパターン辞典を用いて、S203の処理では修正できなかったテキスト認識の誤りを修正する。処方箋における特定のパターンは、例えばジェネリック医薬品に使用される「般」の文字等を含む。また、n-gramアルゴリズムは、カタカナの「ロ」の字と漢字の「口」の違いも修正する。
Further, the
サーバ11は、修正されたテキストデータを用いて第1単語抽出処理(S205)および第2単語抽出処理(S206)を行なう。第1単語抽出処理および第2単語抽出処理ともに、ニューラルネットワーク等の機械学習済単語抽出アルゴリズムを用いて行なう。機械学習済単語抽出アルゴリズムは、例えばNLP(Natural Language Processing)アルゴリズムである。本実施形態の第1単語抽出処理で用いる第1NLPアルゴリズムは、処方箋において関連するテキストの各部分の形式を判断し、タグ付けするように学習されている。各タグは、例えば薬の名称、投薬量、投薬期間、および摂取タイミング等を含む。
The
第2単語抽出処理で用いる第2NLPアルゴリズムは、処方箋における特有のキーワード間の関係(構文および順序)を理解する様に学習されている。例えば、図6に示す処方箋データでは、第2NLPアルゴリズムは、1.一般名処方で薬の名称「○○○○錠」12mg、2.投薬量「3錠」で3.投薬期間「14日分」、4.摂取タイミング「1日1回寝る前」を、この順で関係付ける。同様に、第2NLPアルゴリズムは、1.一般名処方で薬の名称「○△△錠」7.5mg、2.投薬量「1錠」で、3.投薬期間「14日分」、4.摂取タイミング「1日1回寝る前」を、この順で関係付ける。 The second NLP algorithm used in the second word extraction process is learned to understand the relationships (syntax and order) between specific keywords in a prescription. For example, in the prescription data shown in FIG. 6, the second NLP algorithm is 1. Generic name Prescription drug name "○○○○ tablets" 12 mg, 2. Dosing "3 tablets" 3. Dosing period "14 days", 4. The intake timing "before going to bed once a day" is related in this order. Similarly, the second NLP algorithm is 1. Generic name Prescription drug name "○ △△ tablets" 7.5 mg, 2. With a dosage of "1 tablet", 3. Dosing period "14 days", 4. The intake timing "before going to bed once a day" is related in this order.
サーバ11は、以上の第1NLPアルゴリズムおよび第2NLPアルゴリズムを用いることにより、処方箋における特有の記載内容を高精度に抽出し、データベースに適切に登録可能かつ利用可能な形式として整理することができる。
By using the above-mentioned first NLP algorithm and second NLP algorithm, the
サーバ11は、以上の様にして抽出した単語をデータベースに登録する(S207)。そして、図3のフローチャートに戻り、サーバ11は、読み取り結果をレセコン14で読み取り可能な規格(例えばJAHIS)のQRコード(登録商標)に変換する(S15)。また、サーバ11は、読み取った処方箋データと、S207で登録した単語の位置情報(処方箋データ内の各単語の位置を示す情報)、およびS15で生成したQRコード(登録商標)を、データベースに登録する(S16)。
The
一方、サーバ11は、データベースに登録した情報を利用者端末13に送信し、利用者端末13の情報を更新する(S17)。薬剤師は、利用者端末13のアプリケーションプログラムを用いて、各処方箋の内容を確認することができる。
On the other hand, the
その後、サーバ11で生成されたQRコード(登録商標)は、利用者端末13のアプリケーションプログラムを介して、レセコン14に入力される(S18)。
After that, the QR code (registered trademark) generated by the
以上の様に、本実施形態の処方箋読み取りプログラムは、処方箋のレイアウトタイプを判断してテキスト領域を判断し、判断したテキスト領域に対してニューラルネットワーク等の機械学習済文字認識アルゴリズムおよび機械学習済単語抽出アルゴリズムを用いて薬の名称および分量等の単語を抽出する。したがって、本実施形態の処方箋読み取りプログラムは、従来のOCRよりも極めて高い精度で文字認識および単語認識を行なうことができる。よって、本実施形態に係る処方箋読み取りプログラムは、FAXやスキャナで取り込んだ不鮮明な文字の処方箋データであっても適切に処方箋の読み取りを行なうことができる。特に、在宅向け薬局では、医療機関から同時に多数の処方箋を受け取るが、本実施形態の処方箋読み取りプログラムは、処方箋の読み取りおよびレセコンへの入力業務の負荷を著しく低減することができる。 As described above, the prescription reading program of the present embodiment determines the layout type of the prescription, determines the text area, and uses a machine-learned character recognition algorithm such as a neural network and a machine-learned word for the determined text area. Words such as the name and quantity of the drug are extracted using the extraction algorithm. Therefore, the prescription reading program of the present embodiment can perform character recognition and word recognition with extremely higher accuracy than the conventional OCR. Therefore, the prescription reading program according to the present embodiment can appropriately read the prescription even if the prescription data is unclear characters captured by FAX or a scanner. In particular, a home-use pharmacy receives a large number of prescriptions from a medical institution at the same time, but the prescription reading program of the present embodiment can significantly reduce the load of prescription reading and input work to a receipt computer.
なお、サーバ11は、患者毎に読み取り結果の情報をデータベースに蓄積している。薬剤師は、利用者端末13のアプリケーションプログラムを用いて、患者毎の過去の読み取り結果を全て参照することができる。図3のS17の処理において利用者端末13の情報が更新されると、薬剤師は、処方箋の内容を確認し、患者に電話等を介して、処方された薬の説明、および患者の服用状況等について確認を行うことができる。薬剤師は、利用者端末13を用いて、これらの内容を、薬剤服用歴管理記録(以下、「薬歴」と称する)として記録する。薬歴は、主観的情報(患者が話した内容、自覚症状)(S:Subjective)、客観的情報(処方内容、変更点、薬剤師の観察所見、検査データ)(O:Objective)、評価ならびに指導(SおよびOから薬剤師としての評価・判断とそれに基づく指導内容)(A:AAssessment)、および計画(次回に尋ねる点や注意すべきこと)(P:Plan)から構成される。薬剤師は、S17の処理において利用者端末13の情報が更新された後に、今回の処方箋に加えて過去の情報も参照することで、簡単に新たな薬歴を作成することができる。これにより、本実施形態の処方箋読み取りシステム1は、薬歴作成業務支援プログラムとしても機能する。
The
また、利用者端末13は、薬剤師が作成した薬歴をサーバ11に送信してもよい。サーバ11は、作成した新たな薬歴をデータベースに登録することで、次回新たな処方箋の読み取りを行なった時に、利用者端末13を介して薬剤師に薬歴を提示することができる。
Further, the
さらに、サーバ11は、新たに読み取った処方箋の内容と過去の薬歴に基づいて、今回新たに作成する薬歴を自動的に作成してもよい。薬歴の作成は、所定のアルゴリズムを用いて行なわれる。サーバ11は、作成した新たな薬歴を利用者端末13に送信する。薬剤師は、サーバ11で作成された薬歴を確認し、患者への説明および状況の確認の結果に応じて、サーバ11で作成された薬歴を修正する。あるいは、薬剤師は、患者への説明および状況の確認の結果、サーバ11で作成された薬歴で問題ないと判断した場合、サーバ11で作成された薬歴を確定する。薬剤師が薬歴を確定すると、確定した薬歴が利用者端末13からサーバ11およびレセコン14に登録される。
Further, the
この様にして、本実施形態のサーバ11は、薬歴を自動作成することで、薬歴作成業務を支援することができ、薬局業務の負荷をさらに低減することもできる。
In this way, the
なお、本実施形態の説明は、すべての点で例示であり、制限的なものではないと考えられるべきである。本発明の範囲は、上述の実施形態ではなく、特許請求の範囲によって示される。さらに、本発明の範囲は、特許請求の範囲と均等の範囲を含む。 It should be noted that the description of this embodiment is an example in all respects and should be considered not to be restrictive. The scope of the invention is indicated by the claims, not by the embodiments described above. Further, the scope of the present invention includes the scope equivalent to the claims.
例えば、処方箋読み取りプログラムは、サーバ11ではなく、受付用端末12、利用者端末13またはレセコン14で実行してもよい。
For example, the prescription reading program may be executed not on the
1…処方箋読み取りシステム
11…サーバ
12…受付用端末
13…利用者端末
14…レセコン
51…ネットワークI/F
52…記憶部
53…CPU
54…RAM
1 ...
52 ...
54 ... RAM
なお、サーバ11は、患者毎に読み取り結果の情報をデータベースに蓄積している。薬剤師は、利用者端末13のアプリケーションプログラムを用いて、患者毎の過去の読み取り結果を全て参照することができる。図3のS17の処理において利用者端末13の情報が更新されると、薬剤師は、処方箋の内容を確認し、患者に電話等を介して、処方された薬の説明、および患者の服用状況等について確認を行うことができる。薬剤師は、利用者端末13を用いて、これらの内容を、薬剤服用歴管理記録(以下、「薬歴」と称する)として記録する。薬歴は、主観的情報(患者が話した内容、自覚症状)(S:Subjective)、客観的情報(処方内容、変更点、薬剤師の観察所見、検査データ)(O:Objective)、評価ならびに指導(SおよびOから薬剤師としての評価・判断とそれに基づく指導内容)(A:Assessment)、および計画(次回に尋ねる点や注意すべきこと)(P:Plan)から構成される。薬剤師は、S17の処理において利用者端末13の情報が更新された後に、今回の処方箋に加えて過去の情報も参照することで、簡単に新たな薬歴を作成することができる。これにより、本実施形態の処方箋読み取りシステム1は、薬歴作成業務支援プログラムとしても機能する。
The
Claims (6)
前記受信処理で受信した前記処方箋データに基づいて、レイアウトタイプを判断するレイアウトタイプ判断処理と、
前記レイアウトタイプ判断処理で判断した前記レイアウトタイプに基づいて、テキスト領域を判断するテキスト領域判断処理と、
前記テキスト領域判断処理で判断した前記テキスト領域に対して、機械学習済文字認識アルゴリズムを用いてテキストデータの認識処理を行なうテキスト認識処理と、
前記テキスト認識処理で認識した前記テキストデータに対して、機械学習済単語抽出アルゴリズムを用いて薬の名称および分量を含む単語を抽出する抽出処理と、
を情報処理装置に実行させる処方箋読み取りプログラム。 Receiving process to receive prescription data and
A layout type determination process for determining a layout type based on the prescription data received in the reception process, and a layout type determination process.
The text area determination process for determining the text area based on the layout type determined in the layout type determination process, and the text area determination process.
A text recognition process for recognizing text data using a machine-learned character recognition algorithm for the text area determined by the text area determination process, and a text recognition process.
An extraction process for extracting words including the name and quantity of a drug using a machine-learned word extraction algorithm for the text data recognized by the text recognition process.
A prescription reading program that causes the information processing device to execute.
前記抽出処理は、前記修正処理で修正されたテキストデータに対して行なわれる、
請求項1に記載の処方箋読み取りプログラム。 Further, a correction process for correcting the error of the text data recognized by the text recognition process by the machine-learned algorithm is executed.
The extraction process is performed on the text data corrected by the correction process.
The prescription reading program according to claim 1.
請求項2に記載の処方箋読み取りプログラム。 The correction process is performed using a correction process using a drug name dictionary and a pattern dictionary showing a specific pattern included in the prescription.
The prescription reading program according to claim 2.
処方箋において関連するテキストの各部分の形式を判断し、タグ付けするように学習されている第1アルゴリズムと、
処方箋における特有のキーワード間の関係を理解する様に学習されている第2アルゴリズムと、
を有する、
請求項1乃至請求項3のいずれか1項に記載の処方箋読み取りプログラム。 The machine-learned word extraction algorithm
The first algorithm, which is learned to determine and tag the format of each part of the relevant text in a prescription, and
A second algorithm that is learned to understand the relationships between unique keywords in prescriptions,
Have,
The prescription reading program according to any one of claims 1 to 3.
前記データベースに一致するレイアウトタイプが無い場合に利用者からテキスト領域の操作を受け付けて、前記データベースに登録する登録処理をさらに実行させる、
請求項4に記載の処方箋読み取りプログラム。 The layout type determination process is performed by comparing with the layout type stored in the database.
When there is no layout type that matches the database, the operation of the text area is accepted from the user, and the registration process to be registered in the database is further executed.
The prescription reading program according to claim 4.
前記受信部で受信した前記処方箋データに基づいて、レイアウトタイプを判断するレイアウトタイプ判断部と、
前記レイアウトタイプ判断部で判断した前記レイアウトタイプに基づいて、テキスト領域を判断するテキスト領域判断部と、
前記テキスト領域判断部で判断した前記テキスト領域に対してテキストデータの認識処理を行なうテキスト認識部と、
前記テキスト認識部で認識した前記テキストデータに対して、機械学習済アルゴリズムを用いて薬の名称および分量を含む単語を抽出する抽出部と、
を備えた処方箋読み取り装置。 A receiver that receives prescription data and
A layout type determination unit that determines the layout type based on the prescription data received by the reception unit, and a layout type determination unit.
A text area determination unit that determines a text area based on the layout type determined by the layout type determination unit, and a text area determination unit.
A text recognition unit that performs text data recognition processing for the text area determined by the text area determination unit, and a text recognition unit.
An extraction unit that extracts words including the name and amount of a drug from the text data recognized by the text recognition unit using a machine-learned algorithm, and an extraction unit.
A prescription reader equipped with.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2020140581A JP6870876B1 (en) | 2020-08-24 | 2020-08-24 | Prescription reading program and prescription reading device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2020140581A JP6870876B1 (en) | 2020-08-24 | 2020-08-24 | Prescription reading program and prescription reading device |
Publications (2)
Publication Number | Publication Date |
---|---|
JP6870876B1 JP6870876B1 (en) | 2021-05-12 |
JP2022036392A true JP2022036392A (en) | 2022-03-08 |
Family
ID=75801943
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2020140581A Active JP6870876B1 (en) | 2020-08-24 | 2020-08-24 | Prescription reading program and prescription reading device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6870876B1 (en) |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2016071898A (en) * | 2014-09-30 | 2016-05-09 | メディア株式会社 | Form recognition device, form recognition system, program for form recognition system, control method for form recognition system and recording medium loaded with form recognition system program |
-
2020
- 2020-08-24 JP JP2020140581A patent/JP6870876B1/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2016071898A (en) * | 2014-09-30 | 2016-05-09 | メディア株式会社 | Form recognition device, form recognition system, program for form recognition system, control method for form recognition system and recording medium loaded with form recognition system program |
Also Published As
Publication number | Publication date |
---|---|
JP6870876B1 (en) | 2021-05-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107783950B (en) | Method and device for processing drug instruction | |
US20200013491A1 (en) | Interoperable Record Matching Process | |
JP6711523B2 (en) | Form recognition system | |
JP2001043279A (en) | Pharmacy system | |
CN111210917A (en) | Medication guiding method and system based on offline code scanning | |
CN113130038A (en) | Medicine data matching method, device, equipment and storage medium | |
US11010604B2 (en) | Documentation determination device and documentation determination program | |
JP2020119195A (en) | Prescription reading system, prescription reading method, and prescription reading program | |
JP4955197B2 (en) | Receipt file generation system | |
JP6870876B1 (en) | Prescription reading program and prescription reading device | |
WO2021010276A1 (en) | Identification assistance system, identification assistance client, identification assistance server, and identification assistance method | |
JP6249619B2 (en) | Information processing apparatus, information processing method, and program | |
KR102405985B1 (en) | Method And Apparatus for Providing Medication Guidance | |
JP2022161210A (en) | Prescription reading program, prescription reading device, and medical statement creation computer | |
CN114743209A (en) | Prescription identification and verification method, system, electronic equipment and storage medium | |
RU2701702C2 (en) | System and method for uniform comparison of unstructured recorded features with associated therapeutic features | |
US9443139B1 (en) | Methods and apparatus for identifying labels and/or information associated with a label and/or using identified information | |
TWM613338U (en) | Medical Order Information Retrieval System | |
KR20040101980A (en) | Management system and the method for prescription | |
KR101825383B1 (en) | Method and system for managing prescription medicines using electric code | |
JP7481053B1 (en) | Medication support system, medication support method, and medication support program | |
JP2003058822A (en) | Character information extraction device and its method, program and storage medium | |
WO2014203749A1 (en) | Prescription input device and method | |
JP5191716B2 (en) | Receipt computer data check system | |
TWI712979B (en) | System and method for processing insurance claims using long short-term memory model of deep learning |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20200908 |
|
A871 | Explanation of circumstances concerning accelerated examination |
Free format text: JAPANESE INTERMEDIATE CODE: A871 Effective date: 20200908 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20210126 |
|
A975 | Report on accelerated examination |
Free format text: JAPANESE INTERMEDIATE CODE: A971005 Effective date: 20210205 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20210209 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20210310 |
|
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: 20210406 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20210408 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6870876 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |