Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP7635978B2 - Prescription reading program, prescription reading device, and prescription creation computer - Google Patents
[go: Go Back, main page]

JP7635978B2 - Prescription reading program, prescription reading device, and prescription creation computer - Google Patents

Prescription reading program, prescription reading device, and prescription creation computer Download PDF

Info

Publication number
JP7635978B2
JP7635978B2 JP2021065835A JP2021065835A JP7635978B2 JP 7635978 B2 JP7635978 B2 JP 7635978B2 JP 2021065835 A JP2021065835 A JP 2021065835A JP 2021065835 A JP2021065835 A JP 2021065835A JP 7635978 B2 JP7635978 B2 JP 7635978B2
Authority
JP
Japan
Prior art keywords
prescription
data
standard
text
word
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2021065835A
Other languages
Japanese (ja)
Other versions
JP2022161210A (en
Inventor
チョーザ・デルガド・カルロス・アルトウロ
幸久 山村
モーガン・ヘレラ・カルメン・ヴェロニカ
Original Assignee
株式会社メディコンフィア
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 株式会社メディコンフィア filed Critical 株式会社メディコンフィア
Priority to JP2021065835A priority Critical patent/JP7635978B2/en
Publication of JP2022161210A publication Critical patent/JP2022161210A/en
Application granted granted Critical
Publication of JP7635978B2 publication Critical patent/JP7635978B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Character Discrimination (AREA)
  • Medical Treatment And Welfare Office Work (AREA)

Description

本発明は、処方箋の文字等の情報を読み取る処方箋読み取りプログラム、処方箋読み取り装置、およびレセプト作成用コンピュータに関する。 The present invention relates to a prescription reading program that reads information such as text on a prescription, a prescription reading device, and a computer for creating prescriptions.

特許文献1には、薬局業務支援システムが記載されている。特許文献1には、「処方情報は、例えば、医療機関から発行された処方箋を撮影した画像データである。なお、撮影画像を文字認識して処方内容をテキストデータ化し、画像データおよびテキストデータを処方情報として用いるようにしてもよい。」と記載されている。 Patent Document 1 describes a pharmacy business support system. It states, "Prescription information is, for example, image data obtained by photographing a prescription issued by a medical institution. Note that the photographed image may be subjected to character recognition to convert the prescription contents into text data, and the image data and text data may be used as prescription information."

特開2020-086833号公報JP 2020-086833 A

薬局は、医療機関から紙またはFAXを介して処方箋を受け取る。薬局は、紙で受け取った処方箋をテキストデータ化したい場合、スキャナで読み込み、OCR(Optical Character Recognition)によりテキストデータ化する。あるいは、薬局は、FAXで受け取った画像データをOCR(Optical Character Recognition)によりテキストデータ化する。しかし、スキャンした画像データおよびFAXで受け取った画像データは、文字が不鮮明な場合があり、従来のOCRでは適切に文字認識できない場合が多い。 Pharmacies receive prescriptions from medical institutions on paper or via fax. When a pharmacy wishes to convert a paper prescription received by pharmacy into text data, it scans the prescription and converts it into text data using OCR (Optical Character Recognition). Alternatively, a pharmacy may convert image data received by fax into text data using OCR (Optical Character Recognition). However, scanned image data and image data received by fax may contain unclear characters, and conventional OCR often cannot properly recognize the characters.

そこで、本発明の目的は、不鮮明な文字であっても適切に処方箋の読み取りが可能な処方箋読み取りプログラム、処方箋読み取り装置、およびレセプト作成用コンピュータを提供することにある。 The object of the present invention is to provide a prescription reading program, a prescription reading device, and a computer for creating prescriptions that can properly read prescriptions even if the characters are unclear.

本発明に係る処方箋読み取りプログラムは、処方箋データを受信する受信処理と、前記受信処理で受信した前記処方箋データに対して、機械学習済文字認識アルゴリズムを用いてテキストデータの認識処理を行なうテキスト認識処理と、前記テキスト認識処理で認識した前記テキストデータに対して、所定の処方箋の標準規格で規定されている単語を抽出して、各単語に対して前記標準規格に対応するタグを付ける第1NLPアルゴリズム処理と、前記標準規格で定められた構文を理解し、前記第1NLPアルゴリズムで付与された各単語のタグに基づいて各単語を当該標準規格で規定された順序に整理する第2NLPアルゴリズム処理と、前記第2NLPアルゴリズムで整理されたデータに基づいて、レセプト作成用コンピュータで読み取り可能な汎用のデータを生成するデータ生成処理と、
を情報処理装置に実行させる。
The prescription reading program according to the present invention includes a receiving process for receiving prescription data, a text recognition process for performing a text data recognition process on the prescription data received in the receiving process using a machine learning character recognition algorithm, a first NLP algorithm process for extracting words defined in a prescribed prescription standard from the text data recognized in the text recognition process and attaching tags corresponding to the standard to each word, a second NLP algorithm process for understanding a syntax defined in the standard and arranging each word in an order defined in the standard based on the tags of each word assigned by the first NLP algorithm, and a data generation process for generating general-purpose data readable by a prescription creation computer based on the data organized by the second NLP algorithm.
The information processing device is caused to execute the above.

処方箋読み取りプログラムは、以上の第1NLPアルゴリズムおよび第2NLPアルゴリズムを用いることにより、読み取ったテキストデータを、JAHIS等により定められた、所定の処方箋の標準規格で規定されている単語を抽出し、当該標準規格で規定された順序に整理する。処方箋の記載されている各テキストは、必ずしもJAHIS等の標準規格で規定されている順序に並んでいるとは限らない。処方箋は、例えば、病院や施設毎に記載順が異なっていたり、あるいは手書きで修正されたり、内容が追記されたりする。しかし、本実施形態の処方箋読み取りプログラムは、第1NLPアルゴリズムおよび第2NLPアルゴリズムにより、読み取ったテキストデータをJAHIS等により定められた標準規格に準じた形式に整理する。したがって、処方箋読み取りプログラムは、JAHIS等により定められた標準規格に対応するレセコン等の機器に対し、利用可能なデータとして整理することができる。 The prescription reading program uses the above-mentioned first NLP algorithm and second NLP algorithm to extract words defined in the standard specifications for a specific prescription established by JAHIS or the like from the read text data, and organizes the data in the order defined by the standard specifications. The texts written on a prescription are not necessarily arranged in the order defined by the standard specifications such as JAHIS. For example, the order of writing on a prescription may differ depending on the hospital or facility, or the prescription may be corrected by hand or additional content may be added. However, the prescription reading program of this embodiment organizes the read text data into a format conforming to the standard specifications defined by JAHIS or the like, using the first NLP algorithm and the second NLP algorithm. Therefore, the prescription reading program can organize the data into usable data for devices such as receipt computers that comply with the standard specifications defined by JAHIS or the like.

また、処方箋読み取りプログラムは、前記第2NLPアルゴリズムで整理されたデータに基づいて、レセプト作成用コンピュータで読み取り可能な汎用のデータ(例えばCSVデータ)を生成する、あるいは、処方箋読み取りプログラムは、前記第2NLPアルゴリズムで整理されたデータAPI等を介してレセコンに入力してもよい。 The prescription reading program may also generate general-purpose data (e.g., CSV data) that can be read by a prescription creation computer based on the data organized by the second NLP algorithm, or the prescription reading program may input the data organized by the second NLP algorithm to a prescription computer via an API or the like.

なお、処方箋読み取りプログラムは、前記テキスト認識処理で認識した前記テキストデータのエラーを、機械学習済アルゴリズムを用いて修正する修正処理をさらに実行し、さらに処方箋の読み取り精度を高めることもできる。この場合、前記抽出処理は、前記修正処理で修正されたテキストデータに対して行なわれる。 The prescription reading program can also perform a correction process to correct errors in the text data recognized in the text recognition process using a machine learning algorithm, thereby further improving the accuracy of reading prescriptions. In this case, the extraction process is performed on the text data corrected in the correction process.

また、修正処理は、薬の名称辞典と、処方箋に含まれる特定のパターンを含むパターン辞典と、を用いて行なわれる。パターン辞典は、例えばジェネリック医薬品に使用される「般」の文字や、カタカナの「ロ」と漢字の「口」等の情報を含む。これにより、処方箋の読み取り精度がさらに高まる。 The correction process is performed using a drug name dictionary and a pattern dictionary that contains specific patterns contained in prescriptions. The pattern dictionary contains information such as the character "han" used in generic drugs, the katakana character "ro" and the kanji character "kuchi". This further improves the accuracy of reading prescriptions.

本発明によれば、不鮮明な文字であっても適切に処方箋の読み取りを行なうことができる。 The present invention makes it possible to properly read prescriptions even if the characters are unclear.

処方箋読み取りシステム1の構成を示すブロック図である。FIG. 1 is a block diagram showing a configuration of a prescription reading system 1. サーバ11の構成を示すブロック図である。FIG. 2 is a block diagram showing the configuration of the server 11. 処方箋読み取りシステム1の動作を示すフローチャートである。4 is a flowchart showing the operation of the prescription reading system 1. 処方箋読み取り時のサーバ11の動作を示すフローチャートである。13 is a flowchart showing the operation of the server 11 when reading a prescription. 処方箋読み取り時のサーバ11の動作を示すフローチャートである。13 is a flowchart showing the operation of the server 11 when reading a prescription. 処方箋データの一例を示す図である。FIG. 2 is a diagram showing an example of prescription data.

以下、本発明の実施形態に係る処方箋読み取りシステム1について、図を参照しながら説明する。 The following describes the prescription reading system 1 according to an embodiment of the present invention with reference to the drawings.

図1は、処方箋読み取りシステム1の構成を示すブロック図である。処方箋読み取りシステム1は、サーバ11、受付用端末12、利用者端末13、およびレセコン14を備えている。サーバ11、受付用端末12、利用者端末13、およびレセコン14は、ネットワークを介して接続されている。 Figure 1 is a block diagram showing the configuration of a prescription reading system 1. The prescription reading system 1 includes a server 11, a reception terminal 12, a user terminal 13, and a receipt computer 14. The server 11, the reception terminal 12, the user terminal 13, and the receipt computer 14 are connected via a network.

受付用端末12は、一般的な情報処理装置(パーソナルコンピュータ)で実現される。受付用端末12は、不図示のFAX機またはスキャナに接続されていて、処方箋を画像データに変換した処方箋データを受信する。処方箋は、医療機関から紙またはFAXで送付される。薬局の薬剤師は、処方線を紙で受け取った場合には、不図示のスキャナを用いて受付用端末12に処方箋データを入力する。また、処方箋をFAXで受信した場合、受付用端末12は、FAX機から処方箋データを受信する。あるいは、薬剤師は、FAX機で処方箋データを印刷し、印刷した処方箋をスキャナで読み込み、受付用端末12に入力してもよい。受付用端末12は、処方箋データをサーバ11に送信する。 The reception terminal 12 is realized by a general information processing device (personal computer). The reception terminal 12 is connected to a fax machine or scanner (not shown) and receives prescription data converted from a prescription into image data. The prescription is sent from the medical institution by paper or fax. When a pharmacist at the pharmacy receives the prescription on paper, the pharmacist inputs the prescription data into the reception terminal 12 using a scanner (not shown). When the prescription is received by fax, the reception terminal 12 receives the prescription data from the fax machine. Alternatively, the pharmacist may print the prescription data using a fax machine, read the printed prescription with a scanner, and input it into the reception terminal 12. The reception terminal 12 transmits the prescription data to the server 11.

サーバ11は、本発明の処方箋読み取り装置の一例である。サーバ11は、薬局に設置されていてもよいし、インターネット上のサーバ群からなる態様であってもよい。サーバ11は、受付用端末12から処方箋データを受信し、処方箋の内容を読み取る動作を行なう。 The server 11 is an example of a prescription reading device of the present invention. The server 11 may be installed in a pharmacy, or may be a group of servers on the Internet. The server 11 receives prescription data from the reception terminal 12 and performs an operation of reading the contents of the prescription.

利用者端末13は、薬剤師等の薬局業務を行なう者(利用者)が用いる端末であり、例えばスマートフォンあるいはタブレット型コンピュータ等の携帯型の情報処理装置である。利用者は、利用者端末13を用いてサーバ11で読み取られた処方箋の内容を確認したり、処方箋の内容をレセコン14に入力したりする。また、利用者は、利用者端末13を用いて患者の薬歴を確認し、新たな薬歴を作成することもできる。 The user terminal 13 is a terminal used by a person (user) who performs pharmacy work, such as a pharmacist, and is, for example, a portable information processing device such as a smartphone or a tablet computer. The user uses the user terminal 13 to check the contents of the prescription read by the server 11 and to input the contents of the prescription into the receipt computer 14. The user can also use the user terminal 13 to check the patient's medical history and create a new medical history.

レセコン14は、利用者端末13から入力される処方箋の内容に応じてレセプトを作成するレセプト作成用コンピュータである。レセコン14は、一般的なパーソナルコンピュータ上にインストールされたアプリケーションプログラムによって実現される。 The receipt computer 14 is a receipt creation computer that creates receipts based on the contents of the prescription entered from the user terminal 13. The receipt computer 14 is realized by an application program installed on a general personal computer.

図2は、サーバ11の構成を示すブロック図である。サーバ11は、ネットワークI/F51、記憶部52、CPU53、およびRAM54を備えている。 Figure 2 is a block diagram showing the configuration of the server 11. The server 11 includes a network I/F 51, a storage unit 52, a CPU 53, and a RAM 54.

ネットワークI/F51は、インターネット等のネットワークに接続される。本実施形態では、サーバ11は、ネットワークI/F51を介して受付用端末12および利用者端末13に接続される。 The network I/F 51 is connected to a network such as the Internet. In this embodiment, the server 11 is connected to the reception terminal 12 and the user terminal 13 via the network I/F 51.

CPU53は、記憶部52に記憶されているプログラムをRAM54に読み出して、種々の動作を行なう。記憶部52は、サーバ11の基本プログラム(OS)と、本実施形態における処方箋読み取りプログラムと、を記憶している。また、記憶部52は、後述の処方箋データのレイアウトタイプを示す情報や、患者の個人情報等の各種データベースを備えている。 The CPU 53 reads out the programs stored in the memory unit 52 into the RAM 54 and performs various operations. The memory unit 52 stores the basic program (OS) of the server 11 and the prescription reading program in this embodiment. The memory unit 52 also includes various databases such as information indicating the layout type of the prescription data described below and personal information of patients.

CPU53は、記憶部52から処方箋読み取りプログラムをRAM54に読み出すことで、処方箋読み取り装置として機能する。 The CPU 53 functions as a prescription reading device by reading the prescription reading program from the memory unit 52 into the RAM 54.

図3は、処方箋読み取りシステム1の動作を示すフローチャートである。まず、処方箋は、医療機関から紙またはFAXで送付される(S11)。薬局の薬剤師は、紙またはFAXで送付された処方箋を受け取る(S12)。 Figure 3 is a flowchart showing the operation of the prescription reading system 1. First, a prescription is sent from a medical institution by paper or fax (S11). A pharmacist at a pharmacy receives the prescription sent by paper or fax (S12).

そして、薬局の薬剤師は、受付用端末12を用いて紙の処方箋をスキャンし、処方箋データとしてサーバ11に送信する、またはFAXで受信した処方箋データをサーバ11に送信する(S13)。なお、薬剤師は、利用者端末13のアプリケーションプログラムを用いて、処方箋データをサーバ11に送信してもよい。また、受付用端末12または利用者端末13は、FAXを介して処方箋データを受信した時点、またはスキャナから受信した時点で、当該処方箋データを自動的にサーバ11に送信してもよい。特に、老人福祉施設等の在宅向け薬局では、医療機関から同時に多数の処方箋を受け取る。そのため、本実施形態の処方箋読み取りシステム1は、処方箋データを受信した場合に自動的にサーバ11に処方箋データを送信して以下の読み取り動作を行うことで、薬局業務の負荷を著しく低減することができる。 Then, the pharmacist at the pharmacy uses the reception terminal 12 to scan the paper prescription and send it as prescription data to the server 11, or sends the prescription data received by FAX to the server 11 (S13). The pharmacist may use an application program on the user terminal 13 to send the prescription data to the server 11. The reception terminal 12 or the user terminal 13 may automatically send the prescription data to the server 11 when it receives the prescription data via FAX or when it receives it from the scanner. In particular, at-home pharmacies such as elderly care facilities receive many prescriptions from medical institutions at the same time. Therefore, the prescription reading system 1 of this embodiment can significantly reduce the load on pharmacy operations by automatically sending the prescription data to the server 11 when it receives the prescription data and performing the following reading operation.

次に、サーバ11は、処方箋読み取りプログラムを実行して処方箋読み取り動作を行なう(S14)。 Next, the server 11 executes the prescription reading program to perform the prescription reading operation (S14).

図4および図5は、処方箋読み取り時のサーバ11の動作を示すフローチャートである。まず、サーバ11は、処方箋データから、画像の特徴量の抽出を行なう(S101)。この処理は、例えばSIFT(Scale Invariant Feature Transform)等の特徴量を抽出するアルゴリズムで行なう。 Figures 4 and 5 are flowcharts showing the operation of the server 11 when reading a prescription. First, the server 11 extracts image features from the prescription data (S101). This process is performed using an algorithm for extracting features, such as SIFT (Scale Invariant Feature Transform).

上述の様に、薬局は、FAXで処方箋データを受信する、あるいは処方箋スキャナで読み取る。したがって、処方箋データは、画像のサイズや傾きが一定ではない。サーバ11は、SIFTの特徴量抽出アルゴリズムを用いることにより、画像サイズおよび傾きに依存しない処方箋の画像の特徴量を抽出することができる。 As described above, pharmacies receive prescription data by fax or scan it with a prescription scanner. Therefore, the image size and inclination of the prescription data are not constant. By using the SIFT feature extraction algorithm, server 11 can extract features of the prescription image that are independent of image size and inclination.

次に、サーバ11は、抽出した特徴量に基づいて、データベースから対応するレイアウトタイプを判断する(S102)。データベースには、複数の処方箋のレイアウトタイプが蓄積されている。サーバ11は、RANSAC(Random Sample Consensus)等の推定アルゴリズムで、データベースを参照して、受信した処方箋データのレイアウトタイプに一致するレイアウトタイプを判断する。 Next, the server 11 determines the corresponding layout type from the database based on the extracted features (S102). The database stores multiple layout types of prescriptions. The server 11 refers to the database using an estimation algorithm such as RANSAC (Random Sample Consensus) to determine the layout type that matches the layout type of the received prescription data.

サーバ11は、一致するレイアウトタイプが存在するか否かを判断する(S103)。サーバ11は、一致するレイアウトタイプが存在したと判断した場合、テキスト領域の判断処理を行なう(S104)。テキスト領域は、少なくとも患者の氏名等の患者の情報が記載された領域、日付が記載された領域、および薬の情報が記載された領域等を含む。データベースに登録されているレイアウトタイプは、処方箋データのどの位置にどのテキスト領域が存在するかを示す位置情報が含まれている。サーバ11は、データベースに登録されているレイアウトタイプから、テキスト領域の位置情報を読み出すことで、テキスト領域を判断する。 The server 11 determines whether a matching layout type exists (S103). If the server 11 determines that a matching layout type exists, it performs a text area determination process (S104). The text area includes at least an area in which patient information such as the patient's name is recorded, an area in which the date is recorded, and an area in which drug information is recorded. The layout types registered in the database include position information that indicates where each text area exists in the prescription data. The server 11 determines the text area by reading the position information of the text area from the layout types registered in the database.

一方で、サーバ11は、一致するレイアウトタイプが無いと判断した場合、利用者からテキスト領域の受け付け処理を行なう(S105)。薬剤師等の利用者は、受付用端末12または利用者端末13のユーザI/Fを用いて、処方箋データの中からテキストが記載されている領域を手動で指定する。サーバ11は、指定されたテキスト領域を新たなレイアウトタイプとしてデータベース登録し(S106)、テキスト領域の判断処理を行なう(S104)。 On the other hand, if the server 11 determines that there is no matching layout type, it performs a process of accepting a text area from the user (S105). A user such as a pharmacist manually specifies an area in which text is written from within the prescription data using the user I/F of the reception terminal 12 or the user terminal 13. The server 11 registers the specified text area in the database as a new layout type (S106) and performs a process of determining the text area (S104).

処方箋は、法改正等により新たなレイアウトタイプが生じる場合もあり、データベースに蓄積されたレイアウトタイプと一致しない場合もある。しかし、サーバ11は、データベースに一致するレイアウトタイプが無い場合に利用者からテキスト領域の指定操作を受け付けて、データベースに登録する登録処理を行なうことで、新たなレイアウトタイプが生じた場合でも、次回からは自動的にレイアウトタイプを判断することができる。 New layout types may arise for prescriptions due to legal changes, etc., and may not match the layout types stored in the database. However, if there is no matching layout type in the database, the server 11 accepts a text area specification operation from the user and performs a registration process to register the text area in the database, so that even if a new layout type arises, the layout type can be automatically determined from the next time.

その後、サーバ11は、患者の情報が記載されたテキスト領域に対してテキスト認識処理を行なう(S107)。患者の情報は、患者の氏名および誕生日等の情報を含む。テキスト認識処理は、任意の文字認識アルゴリズム(例えばニューラルネットワーク等のアルゴリズムを搭載したTesseract-OCR)で行なわれる。 Then, the server 11 performs text recognition processing on the text area in which the patient information is written (S107). The patient information includes information such as the patient's name and date of birth. The text recognition processing is performed using any character recognition algorithm (for example, Tesseract-OCR equipped with an algorithm such as a neural network).

サーバ11は、テキスト認識処理で認識した患者の情報をデータベースと対比して、対応する患者の情報が存在するか否かを判断する(S108)。サーバ11は、対応する患者が存在すると判断した場合、図5に示すS201~S207の処理を続ける。サーバ11は、対応する患者が存在しないと判断した場合、認識した患者の情報をデータベースに登録し(S109)、S201~S207の処理に移行する。 The server 11 compares the patient information recognized by the text recognition process with the database to determine whether or not corresponding patient information exists (S108). If the server 11 determines that a corresponding patient exists, it continues the process of S201 to S207 shown in FIG. 5. If the server 11 determines that a corresponding patient does not exist, it registers the recognized patient information in the database (S109) and proceeds to the process of S201 to S207.

次に、図5に示す様に、サーバ11は、薬の情報が記載されたテキスト領域においてセグメント処理を行なう(S201)。図6は、処方箋データの一例を示す図である。セグメント処理とは、図6のハッチング部分に示す様に、薬の情報が記載されたテキスト領域を一行毎のセグメントに区切る処理である。 Next, as shown in FIG. 5, the server 11 performs segmentation processing on the text area in which the drug information is described (S201). FIG. 6 is a diagram showing an example of prescription data. The segmentation processing is a process of dividing the text area in which the drug information is described into segments of one line each, as shown in the hatched portion of FIG. 6.

その後、サーバ11は、各セグメントでテキスト認識処理を行なう(S202)。テキスト認識処理は、任意の文字認識アルゴリズム(例えばニューラルネットワーク等のアルゴリズムを搭載したTesseract-OCR)で行なわれる。この処理は、処方箋用に機械学習された機械学習済文字認識アルゴリズムを用いることが好ましい。無論、サーバ11は、一般的な機械学習済アルゴリズムを用いてテキスト認識処理を行なってもよい。 Then, the server 11 performs text recognition processing on each segment (S202). The text recognition processing is performed using any character recognition algorithm (for example, Tesseract-OCR equipped with an algorithm such as a neural network). It is preferable for this processing to use a machine-learned character recognition algorithm that has been machine-learned for prescriptions. Of course, the server 11 may also perform text recognition processing using a general machine-learned algorithm.

次に、サーバ11は、認識したテキストデータに対してスペル修正処理を行なう(S203)。スペル修正処理は、例えばSymSpell等の任意のアルゴリズムを用いる。SymSpellアルゴリズムは、政府の提供する薬の名称辞典を用いて、薬の名称に係るテキスト認識の誤りを修正する。これにより、サーバ11は、S202のテキスト認識処理で生じたエラーを適切に修正することができる。 Next, the server 11 performs a spelling correction process on the recognized text data (S203). The spelling correction process uses any algorithm, such as SymSpell. The SymSpell algorithm uses a drug name dictionary provided by the government to correct text recognition errors related to drug names. This allows the server 11 to appropriately correct errors that occurred in the text recognition process of S202.

さらに、サーバ11は、処方箋における特定パターンの修正処理を行なう(S204)。特定パターンの修正処理は、例えばn-gram等の任意のアルゴリズムを用いる。n-gramアルゴリズムは、処方箋における特定のパターンを含むパターン辞典を用いて、S203の処理では修正できなかったテキスト認識の誤りを修正する。処方箋における特定のパターンは、例えばジェネリック医薬品に使用される「般」の文字等を含む。また、n-gramアルゴリズムは、カタカナの「ロ」の字と漢字の「口」の違いも修正する。 Furthermore, the server 11 performs a correction process for the specific pattern in the prescription (S204). The correction process for the specific pattern uses any algorithm, such as n-gram. The n-gram algorithm uses a pattern dictionary that includes the specific pattern in the prescription to correct text recognition errors that could not be corrected by the process in S203. The specific pattern in the prescription includes, for example, the character "han" used in generic drugs. The n-gram algorithm also corrects the difference between the katakana character "ro" and the kanji character "kuchi".

サーバ11は、修正されたテキストデータを用いて第1単語抽出処理(S205)および第2単語抽出処理(S206)を行なう。第1単語抽出処理および第2単語抽出処理ともに、ニューラルネットワーク等の機械学習済単語抽出アルゴリズムを用いて行なう。機械学習済単語抽出アルゴリズムは、例えばNLP(Natural Language Processing)アルゴリズムである。本実施形態の第1単語抽出処理で用いる第1NLPアルゴリズムは、所定の処方箋の標準規格で規定されている単語を抽出して、各単語に対して、該標準規格に対応するタグを付ける。所定の処方箋の標準規格とは、例えばJAHISで定められた処方箋のデータに関する標準規格である。当該標準規格は、処方箋の内容を示す各種情報の順序を規定している。JAHISで定められた標準規格に準ずるデータは、レセコン14に入力して利用可能になる。第1NLPアルゴリズムは、当該JAHISで定められた標準規格で規定されている単語を抽出し、タグ付けするように学習されている。各タグは、例えば薬の名称、投薬量、投薬期間、および摂取タイミング等を含む。 The server 11 performs a first word extraction process (S205) and a second word extraction process (S206) using the corrected text data. Both the first word extraction process and the second word extraction process are performed using a machine-learned word extraction algorithm such as a neural network. The machine-learned word extraction algorithm is, for example, an NLP (Natural Language Processing) algorithm. The first NLP algorithm used in the first word extraction process of this embodiment extracts words specified in a standard specification of a predetermined prescription and attaches a tag corresponding to the standard specification to each word. The standard specification of a predetermined prescription is, for example, a standard specification for prescription data specified by JAHIS. The standard specification specifies the order of various information indicating the contents of a prescription. Data conforming to the standard specification specified by JAHIS can be input to the receipt computer 14 and used. The first NLP algorithm is learned to extract and tag words specified in the standard specification specified by JAHIS. Each tag includes, for example, the name of the medication, dosage, duration of medication, and timing of intake.

第2単語抽出処理で用いる第2NLPアルゴリズムは、処方箋における特有のキーワード間の関係(構文および順序)を理解する様に学習されている。つまり、第2NLPアルゴリズムは、JAHISで定められた標準規格の内容に応じた構文および順序を学習している。例えば、本実施形態とは異なるが、英語の文章の読み取り用に学習されたNLPアルゴリズムは、読み取った英単語の形式(名詞、動詞等)にタグを付け、英語の構文で定められた順序に単語を並べ替える。これに対して本実施形態の第2NLPアルゴリズムは、JAHISで定められた標準規格の構文を理解し、第1NLPアルゴリズムで付与された各単語のタグに基づいて、当該単語を当該JAHISの標準規格で規定されている順序に並び替えて整理する。例えば、図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 trained to understand the relationship (syntax and order) between keywords specific to prescriptions. In other words, the second NLP algorithm learns syntax and order according to the contents of the standard defined by JAHIS. For example, an NLP algorithm trained to read English sentences, which is different from the present embodiment, tags the form of the English words read (nouns, verbs, etc.) and rearranges the words in the order defined by the English syntax. In contrast, the second NLP algorithm of the present embodiment understands the syntax of the standard defined by JAHIS and rearranges and organizes the words in the order defined by the JAHIS standard based on the tags of each word assigned by the first NLP algorithm. For example, in the prescription data shown in FIG. 6, the second NLP algorithm performs the following steps: 1. Generic name prescription with the name of the drug "XXXX tablets" 12 mg, 2. Dosage "3 tablets", 3. Medication period "14 days", 4. The timing of intake, "once a day before going to bed," is associated in this order. Similarly, the second NLP algorithm associates, in this order, 1. generic name prescription, drug name "○△△ tablets" 7.5 mg, 2. dosage "1 tablet," 3. dosing period "14 days," and 4. timing of intake, "once a day before going to bed."

サーバ11は、以上の第1NLPアルゴリズムおよび第2NLPアルゴリズムを用いることにより、読み取ったテキストデータを、JAHISの標準規格で規定されているデータの順序に整理することができる。処方箋に記載されている各テキストは、必ずしもJAHISの標準規格で規定されている順序に並んでいるとは限らない。処方箋は、例えば、病院や施設毎に記載順が異なっていたり、あるいは手書きで修正されたり、内容が追記されたりする。しかし、本実施形態の処方箋読み取りプログラムは、第1NLPアルゴリズムおよび第2NLPアルゴリズムにより、読み取ったテキストデータをJAHISの標準規格に準じた形式に整理する。したがって、処方箋読み取りプログラムは、処方箋における特有の記載内容を高精度に抽出し、データベースに適切に登録可能かつ利用可能な形式として整理する。つまり、処方箋読み取りプログラムは、あらゆる処方箋をJAHISの標準規格に準じた順序のデータに整理するため、どの様な形式の処方箋であってもレセコンに入力して利用可能なデータとして整理することができる。 By using the above-mentioned first NLP algorithm and second NLP algorithm, the server 11 can organize the read text data into the data order specified by the JAHIS standard. The texts written on a prescription are not necessarily arranged in the order specified by the JAHIS standard. For example, the order of writing on a prescription may differ depending on the hospital or facility, or the prescription may be corrected by hand or additional content may be added. However, the prescription reading program of this embodiment organizes the read text data into a format conforming to the JAHIS standard by using the first NLP algorithm and the second NLP algorithm. Therefore, the prescription reading program extracts the unique contents of the prescription with high accuracy and organizes them into a format that can be appropriately registered in the database and used. In other words, the prescription reading program organizes all prescriptions into data in an order conforming to the JAHIS standard, so that any format of prescription can be entered into the receipt computer and organized into usable data.

サーバ11は、以上の様にして抽出、整理した単語をデータベースに登録する(S207)。そして、図3のフローチャートに戻り、サーバ11は、読み取り結果をレセコン14で読み取り可能な規格(例えばJAHIS)の二次元コード(QRコード(登録商標))に変換する(S15)。また、サーバ11は、読み取った処方箋データと、S207で登録した単語の位置情報(処方箋データ内の各単語の位置を示す情報)、およびS15で生成したQRコード(登録商標)を、データベースに登録する(S16)。 The server 11 registers the words extracted and organized in the above manner in a database (S207). Then, returning to the flowchart of FIG. 3, the server 11 converts the read result into a two-dimensional code (QR Code (registered trademark)) that meets a standard (e.g., JAHIS) that can be read by the medical receipt computer 14 (S15). The server 11 also registers the read prescription data, the position information of the words registered in S207 (information indicating the position of each word in the prescription data), and the QR Code (registered trademark) generated in S15 in a database (S16).

一方、サーバ11は、データベースに登録した情報を利用者端末13に送信し、利用者端末13の情報を更新する(S17)。薬剤師は、利用者端末13のアプリケーションプログラムを用いて、各処方箋の内容を確認することができる。 Meanwhile, the server 11 transmits the information registered in the database to the user terminal 13 and updates the information on the user terminal 13 (S17). The pharmacist can check the contents of each prescription using an application program on the user terminal 13.

その後、サーバ11で生成されたQRコード(登録商標)は、利用者端末13のアプリケーションプログラムを介して、レセコン14に入力される(S18)。例えばアプリケーションプログラムは、サーバ11で生成されたQRコード(登録商標)を表示器(不図示)に表示する。薬剤師は、表示されたQRコード(登録商標)をスキャナで読み取る。これにより、処方箋読み取りプログラムで読み取った処方箋のデータは、レセコン14に入力される。 Then, the QR code (registered trademark) generated by the server 11 is input to the receipt computer 14 via an application program on the user terminal 13 (S18). For example, the application program displays the QR code (registered trademark) generated by the server 11 on a display (not shown). The pharmacist reads the displayed QR code (registered trademark) with a scanner. As a result, the prescription data read by the prescription reading program is input to the receipt computer 14.

また、処方箋読み取りプログラムは、第2NLPアルゴリズムで整理された順序でテキストを記載したCSV形式等の汎用のデータを生成してもよい。処方箋読み取りプログラムは、生成したCSV等のデータをレセコン14におけるデータインポート用のフォルダに入力する。レセコン14は、データインポート用のフォルダを介して、処方箋読み取りプログラムから処方箋のデータを受信する。レセコン14は、JAHISの標準規格に準じたCSVデータを入力可能に構成されている。したがって、本実施形態の処方箋読み取りプログラムは、レセコン14に、正確かつ自動的に処方箋のデータを入力することができる。 The prescription reading program may also generate general-purpose data such as CSV format in which text is written in the order organized by the second NLP algorithm. The prescription reading program inputs the generated CSV data into a data import folder in the medical receipt computer 14. The medical receipt computer 14 receives prescription data from the prescription reading program via the data import folder. The medical receipt computer 14 is configured to be able to input CSV data that conforms to the JAHIS standard. Therefore, the prescription reading program of this embodiment can input prescription data into the medical receipt computer 14 accurately and automatically.

あるいは処方箋読み取りプログラムは、API(アプリケーションプログラミングインタフェース:Application Programming Interface)を介して、レセコン14に処方箋のデータを入力してもよい。この場合、レセコン14は、JAHISの標準規格に準じたデータを、APIを介して入力可能に構成されている。これにより、処方箋読み取りプログラムは、レセコン14に処方箋のデータを、APIを介して入力することもできる。したがってこの場合も、本実施形態の処方箋読み取りプログラムは、レセコン14に、正確かつ自動的に処方箋のデータを入力することができる。 Alternatively, the prescription reading program may input prescription data to the receipt computer 14 via an API (Application Programming Interface). In this case, the receipt computer 14 is configured to be able to input data conforming to the JAHIS standard specifications via the API. This allows the prescription reading program to also input prescription data to the receipt computer 14 via the API. Therefore, in this case too, the prescription reading program of this embodiment can input prescription data accurately and automatically into the receipt computer 14.

この様に、処方箋読み取りプログラムは、QRコード(登録商標)を用いずにレセコン14に処方箋のデータを入力することもできる。この場合、処方箋読み取りプログラムは、薬剤師等の作業者がスキャナで読み取る作業負荷も低減することができ、レセコン14への処方箋のデータ入力を自動化できる。 In this way, the prescription reading program can also input prescription data into the receipt computer 14 without using a QR code (registered trademark). In this case, the prescription reading program can also reduce the workload of pharmacists and other workers who read the data with a scanner, and can automate the input of prescription data into the receipt computer 14.

本実施形態の処方箋読み取りプログラムは、処方箋のレイアウトタイプを判断してテキスト領域を判断し、判断したテキスト領域に対してニューラルネットワーク等の機械学習済文字認識アルゴリズムおよび機械学習済単語抽出アルゴリズムを用いて薬の名称および分量等の単語を抽出する。したがって、本実施形態の処方箋読み取りプログラムは、従来のOCRよりも極めて高い精度で文字認識および単語認識を行なうことができる。よって、本実施形態に係る処方箋読み取りプログラムは、FAXやスキャナで取り込んだ不鮮明な文字の処方箋データであっても適切に処方箋の読み取りを行なうことができる。また、処方箋読み取りプログラムは、読み取ったテキストデータをJAHISの標準規格に準じたデータ形式に整理するため、処方箋内の各種情報の記載順が異なっていたり、あるいは手書きで修正されたり、内容が追記されたりしていても、正確かつ自動的に処方箋のデータをレセコンに入力することができる。特に、在宅向け薬局では、医療機関から同時に多数の処方箋を受け取るが、本実施形態の処方箋読み取りプログラムは、処方箋の読み取りおよびレセコンへの入力業務の負荷を著しく低減することができる。 The prescription reading program of this embodiment determines the layout type of the prescription to determine the text area, and extracts words such as the name and amount of the medicine from the determined text area using a machine-learned character recognition algorithm and a machine-learned word extraction algorithm such as a neural network. Therefore, the prescription reading program of this embodiment can perform character recognition and word recognition with much higher accuracy than conventional OCR. Therefore, the prescription reading program of this embodiment can properly read the prescription even if the prescription data is unclear and has been captured by fax or scanner. In addition, since the prescription reading program organizes the read text data into a data format that conforms to the JAHIS standard, the prescription data can be accurately and automatically entered into the receipt computer even if the order of various information in the prescription is different, or if the information has been corrected by hand or additional information has been added. In particular, at home pharmacies, many prescriptions are received from medical institutions at the same time, and the prescription reading program of this embodiment can significantly reduce the burden of reading prescriptions and entering them into the receipt computer.

なお、サーバ11は、患者毎に読み取り結果の情報をデータベースに蓄積している。薬剤師は、利用者端末13のアプリケーションプログラムを用いて、患者毎の過去の読み取り結果を全て参照することができる。図3のS17の処理において利用者端末13の情報が更新されると、薬剤師は、処方箋の内容を確認し、患者に電話等を介して、処方された薬の説明、および患者の服用状況等について確認を行うことができる。薬剤師は、利用者端末13を用いて、これらの内容を、薬剤服用歴管理記録(以下、「薬歴」と称する)として記録する。薬歴は、主観的情報(患者が話した内容、自覚症状)(S:Subjective)、客観的情報(処方内容、変更点、薬剤師の観察所見、検査データ)(O:Objective)、評価ならびに指導(SおよびOから薬剤師としての評価・判断とそれに基づく指導内容)(A:Assessment)、および計画(次回に尋ねる点や注意すべきこと)(P:Plan)から構成される。薬剤師は、S17の処理において利用者端末13の情報が更新された後に、今回の処方箋に加えて過去の情報も参照することで、簡単に新たな薬歴を作成することができる。これにより、本実施形態の処方箋読み取りシステム1は、薬歴作成業務支援プログラムとしても機能する。 The server 11 stores the information of the reading results for each patient in a database. The pharmacist can refer to all past reading results for each patient using the application program of the user terminal 13. When the information of the user terminal 13 is updated in the process of S17 in FIG. 3, the pharmacist can check the contents of the prescription and confirm the explanation of the prescribed medicine and the patient's taking the medicine by telephone or the like. The pharmacist uses the user terminal 13 to record these contents as a drug taking history management record (hereinafter referred to as "medication history"). The drug history is composed of subjective information (what the patient said, subjective symptoms) (S: Subjective), objective information (prescription contents, changes, pharmacist's observations and findings, test data) (O: Objective), evaluation and guidance (the pharmacist's evaluation and judgment from S and O and the guidance contents based on it) (A: Assessment), and plan (points to ask next time and things to be careful about) (P: Plan). After the information on the user terminal 13 is updated in the process of S17, the pharmacist can easily create a new medication history by referring to past information in addition to the current prescription. In this way, the prescription reading system 1 of this embodiment also functions as a medication history creation work support program.

また、利用者端末13は、薬剤師が作成した薬歴をサーバ11に送信してもよい。サーバ11は、作成した新たな薬歴をデータベースに登録することで、次回新たな処方箋の読み取りを行なった時に、利用者端末13を介して薬剤師に薬歴を提示することができる。 The user terminal 13 may also transmit the medication history created by the pharmacist to the server 11. By registering the new medication history in the database, the server 11 can present the medication history to the pharmacist via the user terminal 13 the next time a new prescription is read.

さらに、サーバ11は、新たに読み取った処方箋の内容と過去の薬歴に基づいて、今回新たに作成する薬歴を自動的に作成してもよい。薬歴の作成は、所定のアルゴリズムを用いて行なわれる。サーバ11は、作成した新たな薬歴を利用者端末13に送信する。薬剤師は、サーバ11で作成された薬歴を確認し、患者への説明および状況の確認の結果に応じて、サーバ11で作成された薬歴を修正する。あるいは、薬剤師は、患者への説明および状況の確認の結果、サーバ11で作成された薬歴で問題ないと判断した場合、サーバ11で作成された薬歴を確定する。薬剤師が薬歴を確定すると、確定した薬歴が利用者端末13からサーバ11およびレセコン14に登録される。 Furthermore, the server 11 may automatically create a new medical history based on the contents of the newly read prescription and the past medical history. The medical history is created using a specified algorithm. The server 11 sends the new medical history to the user terminal 13. The pharmacist checks the medical history created by the server 11, and modifies the medical history created by the server 11 depending on the results of explaining the medical history to the patient and checking the situation. Alternatively, if the pharmacist determines that there is no problem with the medical history created by the server 11 as a result of explaining the medical history to the patient and checking the situation, the pharmacist confirms the medical history created by the server 11. When the pharmacist confirms the medical history, the confirmed medical history is registered in the server 11 and the receipt computer 14 from the user terminal 13.

この様にして、本実施形態のサーバ11は、薬歴を自動作成することで、薬歴作成業務を支援することができ、薬局業務の負荷をさらに低減することもできる。 In this way, the server 11 of this embodiment can automatically create a medication history, thereby supporting the medication history creation process and further reducing the burden on pharmacy operations.

なお、本実施形態の説明は、すべての点で例示であり、制限的なものではないと考えられるべきである。本発明の範囲は、上述の実施形態ではなく、特許請求の範囲によって示される。さらに、本発明の範囲は、特許請求の範囲と均等の範囲を含む。 The description of this embodiment should be considered to be illustrative in all respects and not restrictive. The scope of the present invention is indicated by the claims, not by the above-described embodiment. Furthermore, the scope of the present invention includes the scope equivalent to the claims.

例えば、処方箋読み取りプログラムは、サーバ11ではなく、受付用端末12、利用者端末13またはレセコン14で実行してもよい。レセコン14が処方箋読み取りプログラムを実行する場合、レセコン14は、第2NLPアルゴリズムでJAHISの標準規格に準じた形式に整理したデータをそのまま受け付ける受付処理を行う。この場合、処方箋読み取りプログラムは、薬剤師等の作業者がスキャナで読み取る作業負荷もなく、CSVデータやAPIを介してデータの送受信を行う必要もなくなり、1つのプログラムの中で処方箋読み取りと処方箋のデータの受け付けとを完全に自動化できる。なお、レセコン14は、処方箋読み取りプログラムをプラグインソフトウェアとして実行してもよい。 For example, the prescription reading program may be executed not by the server 11 but by the reception terminal 12, the user terminal 13, or the receipt computer 14. When the receipt computer 14 executes the prescription reading program, the receipt computer 14 performs reception processing to directly accept the data organized by the second NLP algorithm in a format conforming to the JAHIS standard. In this case, the prescription reading program does not impose a workload on an operator such as a pharmacist to read with a scanner, and there is no need to send and receive data via CSV data or API, making it possible to completely automate the reading of prescriptions and the acceptance of prescription data within a single program. Note that the receipt computer 14 may execute the prescription reading program as plug-in software.

1…処方箋読み取りシステム
11…サーバ
12…受付用端末
13…利用者端末
14…レセコン
51…ネットワークI/F
52…記憶部
53…CPU
54…RAM
1... Prescription reading system 11... Server 12... Reception terminal 13... User terminal 14... Receipt computer 51... Network I/F
52...Storage unit 53...CPU
54...RAM

Claims (8)

処方箋データを受信する受信処理と、
前記受信処理で受信した前記処方箋データに対して、機械学習済文字認識アルゴリズムを用いてテキストデータの認識処理を行なうテキスト認識処理と、
前記テキスト認識処理で認識した前記テキストデータに対して、所定の処方箋の標準規格で規定されている単語を抽出して、各単語に対して前記標準規格に対応するタグを付ける第1NLPアルゴリズム処理と、
前記標準規格で定められた構文を理解し、前記第1NLPアルゴリズム処理で付与された各単語のタグに基づいて各単語を当該標準規格で規定された順序に整理する第2NLPアルゴリズム処理と、
前記第2NLPアルゴリズム処理で整理されたデータに基づいて、レセプト作成用コンピュータで読み取り可能な汎用のデータを生成するデータ生成処理と、
を情報処理装置に実行させる処方箋読み取りプログラム。
A receiving process for receiving prescription data;
A text recognition process that performs a recognition process of text data on the prescription data received in the receiving process using a machine-learned character recognition algorithm;
A first NLP algorithm process for extracting words defined in a standard specification for a predetermined prescription from the text data recognized by the text recognition process and attaching a tag corresponding to the standard to each word;
A second NLP algorithm process that understands the syntax defined in the standard and organizes each word in an order defined in the standard based on the tag of each word assigned in the first NLP algorithm process;
A data generation process for generating general-purpose data readable by a computer for creating a medical receipt based on the data organized by the second NLP algorithm process ;
A prescription reading program that causes an information processing device to execute the above.
処方箋データを受信する受信処理と、
前記受信処理で受信した前記処方箋データに対して、機械学習済文字認識アルゴリズムを用いてテキストデータの認識処理を行なうテキスト認識処理と、
前記テキスト認識処理で認識した前記テキストデータに対して、所定の処方箋の標準規格で規定されている単語を抽出して、各単語に対して前記標準規格に対応するタグを付ける第1NLPアルゴリズム処理と、
前記標準規格で定められた構文を理解し、前記第1NLPアルゴリズム処理で付与された各単語のタグに基づいて各単語を当該標準規格で規定された順序に整理する第2NLPアルゴリズム処理と、
前記第2NLPアルゴリズム処理で整理されたデータを、アプリケーションプログラミングインタフェースを介して、レセプト作成用コンピュータに入力する入力処理と、
を情報処理装置に実行させる処方箋読み取りプログラム。
A receiving process for receiving prescription data;
A text recognition process that performs a recognition process of text data on the prescription data received in the receiving process using a machine-learned character recognition algorithm;
A first NLP algorithm process for extracting words defined in a standard specification for a predetermined prescription from the text data recognized by the text recognition process and attaching a tag corresponding to the standard to each word;
A second NLP algorithm process that understands the syntax defined in the standard and organizes each word in an order defined in the standard based on the tag of each word assigned in the first NLP algorithm process;
An input process of inputting the data organized by the second NLP algorithm process into a computer for creating a medical receipt via an application programming interface;
A prescription reading program that causes an information processing device to execute the above.
処方箋データを受信する受信処理と、
前記受信処理で受信した前記処方箋データに対して、機械学習済文字認識アルゴリズムを用いてテキストデータの認識処理を行なうテキスト認識処理と、
前記テキスト認識処理で認識した前記テキストデータに対して、所定の処方箋の標準規格で規定されている単語を抽出して、各単語に対して前記標準規格に対応するタグを付ける第1NLPアルゴリズム処理と、
前記標準規格で定められた構文を理解し、前記第1NLPアルゴリズム処理で付与された各単語のタグに基づいて各単語を当該標準規格で規定された順序に整理する第2NLPアルゴリズム処理と、
前記第2NLPアルゴリズム処理で整理されたデータを受け付ける受付処理と、
をレセプト作成用コンピュータに実行させる処方箋読み取りプログラム。
A receiving process for receiving prescription data;
A text recognition process that performs a recognition process of text data on the prescription data received in the receiving process using a machine-learned character recognition algorithm;
A first NLP algorithm process for extracting words defined in a standard specification for a predetermined prescription from the text data recognized by the text recognition process and attaching a tag corresponding to the standard to each word;
A second NLP algorithm process that understands the syntax defined in the standard and organizes each word in an order defined in the standard based on the tag of each word assigned in the first NLP algorithm process;
A reception process for receiving data organized by the second NLP algorithm process ;
A prescription reading program that causes a prescription creation computer to execute the above.
前記テキスト認識処理で認識した前記テキストデータのエラーを、機械学習済アルゴリズムで修正する修正処理をさらに実行させ、
前記単語を抽出する処理は、前記修正処理で修正されたテキストデータに対して行なわれる、
請求項1乃至請求項3のいずれか1項に記載の処方箋読み取りプログラム。
Further executing a correction process for correcting errors in the text data recognized by the text recognition process using a machine learning algorithm;
The process of extracting words is performed on the text data corrected in the correction process.
The prescription reading program according to any one of claims 1 to 3.
前記修正処理は、薬の名称辞典を用いた修正処理と、処方箋に含まれる特定のパターンを示すパターン辞典と、を用いて行なわれる、
請求項4に記載の処方箋読み取りプログラム。
The correction process is performed using a drug name dictionary and a pattern dictionary that indicates a specific pattern included in the prescription.
The prescription reading program according to claim 4.
処方箋データを受信する受信部と、
前記受信部で受信した前記処方箋データに対してテキストデータの認識処理を行なうテキスト認識部と、
前記テキスト認識で認識した前記テキストデータに対して、所定の処方箋の標準規格で規定されている単語を抽出して、各単語に対して前記標準規格に対応するタグを付ける第1NLPアルゴリズム処理部と、
前記標準規格で定められた構文を理解し、前記第1NLPアルゴリズム処理部で付与された各単語のタグに基づいて各単語を当該標準規格で規定された順序に整理する第2NLPアルゴリズム処理部と、
前記第2NLPアルゴリズム処理部で整理されたデータに基づいて、レセプト作成用コンピュータで読み取り可能な汎用のデータを生成するデータ生成処理部と、
を備えた処方箋読み取り装置。
A receiving unit for receiving prescription data;
a text recognition unit that performs a text data recognition process on the prescription data received by the receiving unit;
A first NLP algorithm processing unit that extracts words defined in a standard specification of a predetermined prescription from the text data recognized by the text recognition unit and attaches a tag corresponding to the standard to each word;
A second NLP algorithm processing unit that understands a syntax defined in the standard and organizes each word in an order defined in the standard based on the tag of each word assigned by the first NLP algorithm processing unit;
A data generation processing unit that generates general-purpose data that can be read by a prescription creation computer based on the data organized by the second NLP algorithm processing unit;
A prescription reading device comprising:
処方箋データを受信する受信部と、
前記受信部で受信した前記処方箋データに対してテキストデータの認識処理を行なうテキスト認識部と、
前記テキスト認識で認識した前記テキストデータに対して、所定の処方箋の標準規格で規定されている単語を抽出して、各単語に対して前記標準規格に対応するタグを付ける第1NLPアルゴリズム処理部と、
前記標準規格で定められた構文を理解し、前記第1NLPアルゴリズム処理部で付与された各単語のタグに基づいて各単語を当該標準規格で規定された順序に整理する第2NLPアルゴリズム処理部と、
前記第2NLPアルゴリズム処理部で整理されたデータを、レセプト作成用コンピュータに入力する入力処理部と、
を備えた処方箋読み取り装置。
A receiving unit for receiving prescription data;
a text recognition unit that performs a text data recognition process on the prescription data received by the receiving unit;
A first NLP algorithm processing unit that extracts words defined in a standard specification of a predetermined prescription from the text data recognized by the text recognition unit and attaches a tag corresponding to the standard to each word;
A second NLP algorithm processing unit that understands a syntax defined in the standard and organizes each word in an order defined in the standard based on the tag of each word assigned by the first NLP algorithm processing unit;
An input processing unit that inputs the data organized by the second NLP algorithm processing unit into a prescription creation computer;
A prescription reading device comprising:
処方箋データを受信する受信部と、
前記受信部で受信した前記処方箋データに対してテキストデータの認識処理を行なうテキスト認識部と、
前記テキスト認識で認識した前記テキストデータに対して、所定の処方箋の標準規格で規定されている単語を抽出して、各単語に対して前記標準規格に対応するタグを付ける第1NLPアルゴリズム処理部と、
前記標準規格で定められた構文を理解し、前記第1NLPアルゴリズム処理部で付与された各単語のタグに基づいて各単語を当該標準規格で規定された順序に整理する第2NLPアルゴリズム処理部と、
前記第2NLPアルゴリズム処理部で整理されたデータを受け付ける受付処理部と、
を備えたレセプト作成用コンピュータ。
A receiving unit for receiving prescription data;
a text recognition unit that performs a text data recognition process on the prescription data received by the receiving unit;
A first NLP algorithm processing unit that extracts words defined in a standard specification of a predetermined prescription from the text data recognized by the text recognition unit and attaches a tag corresponding to the standard to each word;
A second NLP algorithm processing unit that understands a syntax defined in the standard and organizes each word in an order defined in the standard based on the tag of each word assigned by the first NLP algorithm processing unit;
A reception processing unit that receives the data organized by the second NLP algorithm processing unit;
A prescription creation computer equipped with the following:
JP2021065835A 2021-04-08 2021-04-08 Prescription reading program, prescription reading device, and prescription creation computer Active JP7635978B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2021065835A JP7635978B2 (en) 2021-04-08 2021-04-08 Prescription reading program, prescription reading device, and prescription creation computer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2021065835A JP7635978B2 (en) 2021-04-08 2021-04-08 Prescription reading program, prescription reading device, and prescription creation computer

Publications (2)

Publication Number Publication Date
JP2022161210A JP2022161210A (en) 2022-10-21
JP7635978B2 true JP7635978B2 (en) 2025-02-26

Family

ID=83658474

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2021065835A Active JP7635978B2 (en) 2021-04-08 2021-04-08 Prescription reading program, prescription reading device, and prescription creation computer

Country Status (1)

Country Link
JP (1) JP7635978B2 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001318987A (en) 2000-05-11 2001-11-16 Sanyo Electric Co Ltd Prescription data inputting device
JP2007141040A (en) 2005-11-21 2007-06-07 Tosho Inc Prescription acceptance device
JP2020123272A (en) 2019-01-31 2020-08-13 富士ゼロックス株式会社 Information processing device and information processing program
JP2020129198A (en) 2019-02-07 2020-08-27 株式会社Epark Service providing device, service providing method, and program
JP2021039694A (en) 2019-09-05 2021-03-11 キヤノン株式会社 Data processing system, learning device, image processing device, method, and program

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001318987A (en) 2000-05-11 2001-11-16 Sanyo Electric Co Ltd Prescription data inputting device
JP2007141040A (en) 2005-11-21 2007-06-07 Tosho Inc Prescription acceptance device
JP2020123272A (en) 2019-01-31 2020-08-13 富士ゼロックス株式会社 Information processing device and information processing program
JP2020129198A (en) 2019-02-07 2020-08-27 株式会社Epark Service providing device, service providing method, and program
JP2021039694A (en) 2019-09-05 2021-03-11 キヤノン株式会社 Data processing system, learning device, image processing device, method, and program

Also Published As

Publication number Publication date
JP2022161210A (en) 2022-10-21

Similar Documents

Publication Publication Date Title
US20200013491A1 (en) Interoperable Record Matching Process
CN111210917A (en) Medication guiding method and system based on offline code scanning
US11010604B2 (en) Documentation determination device and documentation determination program
CN109815958B (en) Laboratory test report identification method and device, electronic equipment and storage medium
WO2021010276A1 (en) Identification assistance system, identification assistance client, identification assistance server, and identification assistance method
JP6870876B1 (en) Prescription reading program and prescription reading device
JP7635978B2 (en) Prescription reading program, prescription reading device, and prescription creation computer
JP2020119195A (en) Prescription reading system, prescription reading method, and prescription reading program
CN114743209A (en) Prescription identification and verification method, system, electronic equipment and storage medium
JP7649367B2 (en) Medication support system, medication support method, and medication support program
RU2701702C2 (en) System and method for uniform comparison of unstructured recorded features with associated therapeutic features
Butala et al. Natural language parser for physician’s handwritten prescription
KR20040106633A (en) An Apparatus and Method for inputting a Medical Prescription Sheet by Image Recognition
JP6655745B1 (en) Information processing apparatus, information processing method, and information processing program
US20180308567A1 (en) System and method for storing and delivering healthcare informatics data
JP2015002918A (en) Prescription input device and method
JP7481053B1 (en) Medication support system, medication support method, and medication support program
Al-Anazi et al. An Electronic Prescribing System for Teleconsultation Using Healthcare 5.0 Innovations
JP2020177595A (en) Prescription information reception device, method, and computer program
JP7378830B2 (en) Prescription 2D code generation system
JP7619568B2 (en) Information processing device and program
WO2007029625A1 (en) Prescription receiving device
KR101825383B1 (en) Method and system for managing prescription medicines using electric code
JP5191716B2 (en) Receipt computer data check system
KR102545795B1 (en) Loss medical insurance proxy claim method and system through address book registration

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20240214

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20241107

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20241210

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20241218

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20250205

R150 Certificate of patent or registration of utility model

Ref document number: 7635978

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150