JP2023003649A - Information processing device and program - Google Patents

Information processing device and program Download PDF

Info

Publication number
JP2023003649A
JP2023003649A JP2021104850A JP2021104850A JP2023003649A JP 2023003649 A JP2023003649 A JP 2023003649A JP 2021104850 A JP2021104850 A JP 2021104850A JP 2021104850 A JP2021104850 A JP 2021104850A JP 2023003649 A JP2023003649 A JP 2023003649A
Authority
JP
Japan
Prior art keywords
drug
prescription
information
character string
name
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.)
Pending
Application number
JP2021104850A
Other languages
Japanese (ja)
Inventor
茂樹 小澤
Shigeki Ozawa
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.)
Laurel Bank Machine Co Ltd
Laurel Precision Machines Co Ltd
Laurel Machinery Co Ltd
Original Assignee
Laurel Bank Machine Co Ltd
Laurel Precision Machines Co Ltd
Laurel Machinery Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Laurel Bank Machine Co Ltd, Laurel Precision Machines Co Ltd, Laurel Machinery Co Ltd filed Critical Laurel Bank Machine Co Ltd
Priority to JP2021104850A priority Critical patent/JP2023003649A/en
Publication of JP2023003649A publication Critical patent/JP2023003649A/en
Pending legal-status Critical Current

Links

Images

Abstract

To reduce the risk of inappropriate prescription of medicines.SOLUTION: A prescription confirmation device 3 includes: a character information acquisition unit 311 which acquires medicine character information JP [1] showing a medicine name character string LM [1] and a prescription content character string LN [1] from a prescription reader 1 which recognizes a character string representing a name of a medicine Md [1] described in a prescription as the medicine name character string LM [1] and recognizes a character string representing a prescription content of the medicine Md [1] described in the prescription as the prescription content character string LN [1]; a medicine information acquisition unit 312 which acquires medicine information JY related to the medicine name character string LM [1] as specific medicine information from a medicine database server 7 storing a plurality of pieces of the medicine information JY corresponding to a plurality of medicines which may be described in the prescription; a prescription content determination unit 313 which determines whether or not the prescription content of the medicine Md [1] represented by the prescription content character string LN [1] meets a method of use of the medicine shown by the specific medicine information; and a determination result output unit 314 which outputs information based on a result of determination by the prescription content determination unit 313.SELECTED DRAWING: Figure 2

Description

本発明は、情報処理装置、及び、プログラムに関する。 The present invention relates to an information processing device and a program.

画像に含まれる文字を認識する文字認識処理により、処方箋に記載された文字列を認識する技術が提案されている(例えば、特許文献1参照)。 A technique for recognizing a character string written in a prescription by character recognition processing for recognizing characters included in an image has been proposed (see, for example, Patent Document 1).

特開2006-120020号公報Japanese Patent Application Laid-Open No. 2006-120020

しかし、従来の技術では、処方箋に記載された文字列が誤認識され、当該誤認識された文字列に応じて薬剤が処方されるリスクが存在する。 However, with the conventional technology, there is a risk that the character string written in the prescription is erroneously recognized and a drug is prescribed according to the erroneously recognized character string.

本発明は、上述した事情に鑑みてなされたものであり、従来の技術と比較して、薬剤の不適切な処方がなされるリスクを低減することを可能とする技術の提供を、解決課題の一つとする。 The present invention has been made in view of the circumstances described above, and aims to provide a technique that can reduce the risk of inappropriate prescription of drugs compared to conventional techniques. be one.

以上の課題を解決するために、本発明の第1の態様に係る情報処理装置は、画像に含まれる文字を認識する文字認識処理により、処方箋に記載された第1薬剤の名称を示す文字列を第1名称文字列として認識し、前記処方箋に記載された前記第1薬剤の処方内容を示す文字列を第1内容文字列として認識する認識部から、前記第1名称文字列及び前記第1内容文字列を示す第1文字情報を取得する文字情報取得部と、前記処方箋に記載される可能性のある複数の薬剤に対応する複数の薬剤情報を記憶する記憶部から、前記第1名称文字列に関連する薬剤情報を、特定薬剤情報として取得する薬剤情報取得部と、前記第1内容文字列の示す前記第1薬剤の処方内容が、前記特定薬剤情報の示す薬剤の使用方法に適合するか否かを判定する判定部と、前記判定部による判定の結果に基づく情報を出力する出力部と、を備える、ことを特徴とする。 In order to solve the above problems, an information processing apparatus according to a first aspect of the present invention provides a character string indicating the name of a first drug described in a prescription by character recognition processing that recognizes characters included in an image. is recognized as a first name character string, and the first name character string and the first From a character information acquisition unit that acquires first character information indicating a content character string, and a storage unit that stores a plurality of drug information corresponding to a plurality of drugs that may be described in the prescription, the first name character A drug information acquisition unit that acquires drug information related to the column as specific drug information, and the prescription content of the first drug indicated by the first content character string matches the usage of the drug indicated by the specific drug information. and an output unit for outputting information based on the result of determination by the determination unit.

また、本発明の第2の態様に係る情報処理装置は、処方箋の画像を示す画像情報を取得する画像情報取得部と、前記画像情報に基づいて、前記処方箋に記載された第1薬剤の名称を示す文字列を、第1名称文字列として認識し、前記処方箋に記載された前記第1薬剤の処方内容を示す文字列を、第1内容文字列として認識する認識部と、前記処方箋に記載される可能性のある複数の薬剤に対応する複数の薬剤情報を記憶する記憶部から、前記第1名称文字列に関連する薬剤情報を、特定薬剤情報として取得する薬剤情報取得部と、前記第1内容文字列の示す前記第1薬剤の処方内容が、前記特定薬剤情報の示す薬剤の使用方法に適合するか否かを判定する判定部と、前記判定部による判定の結果に基づく情報を出力する出力部と、を備える、ことを特徴とする。 Further, an information processing apparatus according to a second aspect of the present invention includes an image information acquisition unit that acquires image information showing an image of a prescription, and a name of the first drug described in the prescription based on the image information. a character string indicating as a first name character string, and a character string indicating the content of the prescription of the first drug described in the prescription as a first content character string; a drug information acquisition unit that acquires, as specific drug information, drug information related to the first name character string from a storage unit that stores a plurality of drug information corresponding to a plurality of drugs that are likely to be used; 1 A determination unit that determines whether or not the prescription content of the first drug indicated by the content character string conforms to the method of use of the drug indicated by the specific drug information, and outputs information based on the result of the determination by the determination unit. and an output unit for outputting.

また、本発明の第3の態様に係るプログラムは、プロセッサを、画像に含まれる文字を認識する文字認識処理により、処方箋に記載された第1薬剤の名称を示す文字列を第1名称文字列として認識し、前記処方箋に記載された前記第1薬剤の処方内容を示す文字列を第1内容文字列として認識する認識部から、前記第1名称文字列及び前記第1内容文字列を示す第1文字情報を取得する文字情報取得部と、前記処方箋に記載される可能性のある複数の薬剤に対応する複数の薬剤情報を記憶する記憶部から、前記第1名称文字列に関連する薬剤情報を、特定薬剤情報として取得する薬剤情報取得部と、前記第1内容文字列の示す前記第1薬剤の処方内容が、前記特定薬剤情報の示す薬剤の使用方法に適合するか否かを判定する判定部と、前記判定部による判定の結果に基づく情報を出力する出力部と、として機能させる、ことを特徴とする。 Further, the program according to the third aspect of the present invention causes the processor to convert a character string indicating the name of the first drug described in the prescription into the first name character string by character recognition processing that recognizes characters included in the image. and recognizes the first name character string and the first content character string from the recognition unit that recognizes the character string indicating the prescription content of the first drug described in the prescription as the first content character string. Drug information related to the first name character string is obtained from a character information acquisition unit that acquires single-character information and a storage unit that stores a plurality of drug information corresponding to a plurality of drugs that may be described in the prescription. as specific drug information, and determines whether or not the prescription content of the first drug indicated by the first content character string conforms to the method of use of the drug indicated by the specific drug information. It is characterized by functioning as a determination unit and an output unit that outputs information based on the result of determination by the determination unit.

また、本発明の第4の態様に係るプログラムは、プロセッサを処方箋の画像を示す画像情報を取得する画像情報取得部と、前記画像情報に基づいて、前記処方箋に記載された第1薬剤の名称を示す文字列を、第1名称文字列として認識し、前記処方箋に記載された前記第1薬剤の処方内容を示す文字列を、第1内容文字列として認識する認識部と、前記処方箋に記載される可能性のある複数の薬剤に対応する複数の薬剤情報を記憶する記憶部から、前記第1名称文字列に関連する薬剤情報を、特定薬剤情報として取得する薬剤情報取得部と、前記第1内容文字列の示す前記第1薬剤の処方内容が、前記特定薬剤情報の示す薬剤の使用方法に適合するか否かを判定する判定部と、前記判定部による判定の結果に基づく情報を出力する出力部と、として機能させる、ことを特徴とする。 Further, a program according to a fourth aspect of the present invention comprises an image information acquisition unit configured to acquire image information showing an image of a prescription, and a name of a first drug described in the prescription based on the image information. a character string indicating as a first name character string, and a character string indicating the content of the prescription of the first drug described in the prescription as a first content character string; a drug information acquisition unit that acquires, as specific drug information, drug information related to the first name character string from a storage unit that stores a plurality of drug information corresponding to a plurality of drugs that are likely to be used; 1 A determination unit that determines whether or not the prescription content of the first drug indicated by the content character string conforms to the method of use of the drug indicated by the specific drug information, and outputs information based on the result of the determination by the determination unit. It is characterized by functioning as an output unit for

本発明によれば、従来の技術と比較して、不適切な薬剤が処方されるリスクを低減することが可能となる。 ADVANTAGE OF THE INVENTION According to this invention, compared with a conventional technique, it becomes possible to reduce the risk of an inappropriate drug being prescribed.

本発明の実施形態に係る処方箋認識システムSysの概要の一例を示す説明図である。BRIEF DESCRIPTION OF THE DRAWINGS It is explanatory drawing which shows an example of the outline|summary of the prescription recognition system Sys which concerns on embodiment of this invention. 処方箋認識システムSysの動作の概要の一例を示すシーケンスチャートである。4 is a sequence chart showing an example of an overview of operations of the prescription recognition system Sys. 処方箋画像GSの概要の一例を示す説明図である。It is an explanatory view showing an example of an outline of a prescription image GS. 処方箋内容表示画像GHの概要の一例を示す説明図である。FIG. 4 is an explanatory diagram showing an example of an overview of a prescription content display image GH; 処方箋読取装置1の構成の一例を示すブロック図である。1 is a block diagram showing an example of a configuration of a prescription reading device 1; FIG. 処方箋読取装置1のハードウェア構成の一例を示すブロック図である。It is a block diagram which shows an example of the hardware constitutions of the prescription reading device 1. FIG. 処方箋確認装置3の構成の一例を示すブロック図である。2 is a block diagram showing an example of the configuration of a prescription confirmation device 3; FIG. 処方箋確認装置3のハードウェア構成の一例を示すブロック図である。It is a block diagram which shows an example of the hardware constitutions of the prescription confirmation apparatus 3. 薬剤データベースサーバ7の構成の一例を示すブロック図である。2 is a block diagram showing an example of the configuration of a drug database server 7; FIG. 薬剤データベースサーバ7のハードウェア構成の一例を示すブロック図である。3 is a block diagram showing an example of a hardware configuration of a drug database server 7; FIG. 処方箋情報JSSのデータ構成の一例を示す図である。FIG. 4 is a diagram showing an example of the data structure of prescription information JSS; 処方箋文字情報JSのデータ構成の一例を示す図である。It is a figure which shows an example of a data structure of prescription character information JS. 薬剤一覧情報テーブルTBL7のデータ構成の一例を示す図である。It is a figure which shows an example of a data structure of drug list information table TBL7. 処方箋確認装置3の動作の一例を示すフローチャートである。4 is a flow chart showing an example of the operation of the prescription confirmation device 3; 処方箋確認装置3の動作の一例を示すフローチャートである。4 is a flow chart showing an example of the operation of the prescription confirmation device 3; 処方箋確認装置3の動作の一例を示すフローチャートである。4 is a flow chart showing an example of the operation of the prescription confirmation device 3; 処方箋確認装置3の動作の一例を示すフローチャートである。4 is a flow chart showing an example of the operation of the prescription confirmation device 3; 変形例1に係る処方箋認識システムSys-Bの概要の一例を示す説明図である。FIG. 10 is an explanatory diagram showing an example of an outline of a prescription recognition system Sys-B according to modification 1; 処方箋確認装置3Bの構成の一例を示すブロック図である。It is a block diagram which shows an example of a structure of prescription confirmation apparatus 3B. 変形例4に係る処方箋認識システムSys-Cの概要の一例を示す説明図である。FIG. 20 is an explanatory diagram showing an example of an overview of a prescription recognition system Sys-C according to Modification 4; 処方箋認識システムSys-Cの動作の概要の一例を示すシーケンスチャートである。4 is a sequence chart showing an example of the outline of the operation of the prescription recognition system Sys-C; 処方箋読取装置1Cの構成の一例を示すブロック図である。It is a block diagram which shows an example of a structure of 1 C of prescription reading apparatuses. 文字認識装置9の構成の一例を示すブロック図である。2 is a block diagram showing an example of the configuration of a character recognition device 9; FIG. 文字認識装置9のハードウェア構成の一例を示すブロック図である。3 is a block diagram showing an example of the hardware configuration of the character recognition device 9; FIG. 変形例7に係る処方箋内容表示画像GHの概要の一例を示す説明図である。FIG. 21 is an explanatory diagram showing an example of an outline of a prescription content display image GH according to Modification 7;

以下、本発明を実施するための形態について図面を参照して説明する。なお、各図において、各部の寸法及び縮尺は、実際のものと適宜に異ならせてある。また、以下に述べる実施の形態は、本発明の好適な具体例であるから、技術的に好ましい種々の限定が付されているが、本発明の範囲は、以下の説明において特に本発明を限定する旨の記載がない限り、これらの形態に限られるものではない。 BEST MODE FOR CARRYING OUT THE INVENTION Hereinafter, embodiments for carrying out the present invention will be described with reference to the drawings. In each drawing, the dimensions and scale of each part are appropriately different from the actual ones. In addition, since the embodiments described below are preferred specific examples of the present invention, they are subject to various technically preferable limitations. It is not limited to these forms unless stated otherwise.

[A.実施形態]
以下、本発明の実施形態を説明する。
[A. embodiment]
Embodiments of the present invention will be described below.

<1.処方箋認識システムの概要>
図1は、本実施形態に係る処方箋認識システムSysの構成の一例を説明するための説明図である。以下、図1を参照しつつ、処方箋認識システムSysの概要について説明する。
<1. Overview of Prescription Recognition System>
FIG. 1 is an explanatory diagram for explaining an example of the configuration of the prescription recognition system Sys according to this embodiment. An overview of the prescription recognition system Sys will be described below with reference to FIG.

図1に例示するように、処方箋認識システムSysは、処方箋読取装置1と、処方箋確認装置3と、端末装置5と、薬剤データベースサーバ7と、を備える。 As illustrated in FIG. 1, the prescription recognition system Sys includes a prescription reading device 1, a prescription confirmation device 3, a terminal device 5, and a drug database server 7.

このうち、処方箋読取装置1は、医師により発行された処方箋に記載されている文字を認識する。また、処方箋確認装置3(「情報処理装置」の一例)は、処方箋読取装置1における認識結果を確認する。また、端末装置5は、表示部50を具備し、表示部50において、処方箋確認装置3における確認結果を表示する。なお、本実施形態では、一例として、端末装置5が、ネットワークNWを介して処方箋確認装置3と接続されている場合を例示しているが、本発明はこのような態様に限定されるものではない。端末装置5は、処方箋確認装置3に直接に接続されていてもよい。また、薬剤データベースサーバ7は、ネットワークNWを介して処方箋確認装置3と通信可能であり、処方箋確認装置3からの要求に応じて、処方箋確認装置3に対して各種情報を提供する。 Among them, the prescription reading device 1 recognizes the characters written on the prescription issued by the doctor. Also, the prescription confirmation device 3 (an example of an “information processing device”) confirms the recognition result of the prescription reading device 1 . The terminal device 5 also has a display unit 50 on which the confirmation result of the prescription confirmation device 3 is displayed. In this embodiment, as an example, the terminal device 5 is connected to the prescription confirmation device 3 via the network NW, but the present invention is not limited to such an aspect. Absent. The terminal device 5 may be directly connected to the prescription confirmation device 3 . Further, the drug database server 7 can communicate with the prescription confirmation device 3 via the network NW, and provides various information to the prescription confirmation device 3 in response to requests from the prescription confirmation device 3 .

このように、処方箋認識システムSysは、例えば、処方箋読取装置1において、医師により発行された処方箋の記載内容を認識し、処方箋確認装置3において、処方箋読取装置1による処方箋の認識結果が適切な内容であるか否かを確認したうえで、端末装置5において、処方箋の記載内容の認識結果を、薬剤師等に提示するシステムである。以下では、処方箋認識システムSysによる、処方箋の記載内容の認識及び当該処方箋の記載内容の確認を行う処理を、処方箋確認処理と称する。 In this way, the prescription recognition system Sys, for example, in the prescription reading device 1, recognizes the content of the prescription issued by the doctor, and in the prescription confirmation device 3, the recognition result of the prescription by the prescription reading device 1 is the appropriate content After confirming whether or not it is, the terminal device 5 presents the recognition result of the description content of the prescription to the pharmacist or the like. Hereinafter, the process of recognizing the written contents of the prescription and confirming the written contents of the prescription by the prescription recognition system Sys is referred to as a prescription confirmation process.

<2.処方箋認識システムの動作>
以下、図2乃至図4を参照しつつ、処方箋認識システムSysが処方箋確認処理を行う場合の、処方箋認識システムSysの動作の概略の一例について説明する。
<2. Operation of Prescription Recognition System>
An example of the outline of the operation of the prescription recognition system Sys when the prescription recognition system Sys performs prescription confirmation processing will be described below with reference to FIGS. 2 to 4. FIG.

図2は、処方箋認識システムSysが処方箋確認処理を行う場合の、処方箋認識システムSysの動作の概略の一例を示すシーケンスチャートである。 FIG. 2 is a sequence chart showing an example of the outline of the operation of the prescription recognition system Sys when the prescription recognition system Sys performs prescription confirmation processing.

図2に例示するように、処方箋確認処理が開始されると、まず、処方箋読取装置1は、処方箋撮像処理を実行する(S1)。ここで、処方箋撮像処理とは、医師により発行された処方箋を撮像し、当該撮像の結果として得られる処方箋画像GSを示す処方箋画像情報JGSを生成する処理である。 As illustrated in FIG. 2, when the prescription confirmation process is started, first, the prescription reading device 1 executes a prescription imaging process (S1). Here, the prescription imaging process is a process of imaging a prescription issued by a doctor and generating prescription image information JGS indicating a prescription image GS obtained as a result of the imaging.

図3は、処方箋画像GSの一例を示す説明図である。 FIG. 3 is an explanatory diagram showing an example of a prescription image GS.

図3に例示するように、処方箋画像GSは、複数の記載領域Aを含む。具体的には、処方箋画像GSは、公費負担に関する情報が記載された記載領域A1と、保険に関する情報が記載された記載領域A2と、患者に関する情報が記載された記載領域A3と、医療機関に関する情報が記載された記載領域A4と、処方する薬剤に関する情報が記載された記載領域A5と、を含む。各記載領域Aは、1または複数の記載欄を含む。各記載欄は、当該記載欄に記載された項目の名称である項目名称KMと、当該記載欄に記載された記載内容KSと、を含む。ここで、記載内容KSは、例えば、医師が患者に対して薬剤を処方するタイミングで、当該医師により記載される。また、項目名称KMは、例えば、医師法等により予め定められた名称である。
なお、本実施形態において、処方箋認識システムSysが取り扱うことのできる処方箋は、図3に例示する処方箋画像GSで表されるフォーマットを有する処方箋に限定されない。本実施形態において、処方箋認識システムSysは、医師法等に規定されたフォーマットを有する任意の処方箋を取り扱うことができることとする。
As illustrated in FIG. 3, the prescription image GS includes a plurality of writing areas A. As shown in FIG. Specifically, the prescription image GS includes a description area A1 describing information about public expenditure, a description area A2 describing information about insurance, a description area A3 describing information about patients, and a description area A3 describing information about medical institutions. It includes a description area A4 in which information is described and a description area A5 in which information about the drug to be prescribed is described. Each writing area A includes one or more writing fields. Each description column includes an item name KM that is the name of the item described in the description column, and description content KS described in the description column. Here, the description content KS is written by the doctor, for example, at the timing when the doctor prescribes the drug to the patient. Also, the item name KM is a name predetermined by, for example, the Medical Practitioners Act.
In this embodiment, prescriptions that can be handled by the prescription recognition system Sys are not limited to prescriptions having the format represented by the prescription image GS illustrated in FIG. In this embodiment, the prescription recognition system Sys can handle any prescription having a format stipulated by the Medical Practitioners Act or the like.

図3に例示するように、記載領域A5には、医師が処方した薬剤に関する情報が記載される。具体的には、記載領域A5は、医師が処方した薬剤の名称に係る記載内容KS(以下、記載名称AMと称する)と、医師が処方した薬剤の用量に係る記載内容KS(以下、記載用量AQと称する)と、医師が処方した薬剤の服用期間に係る記載内容KS(以下、記載期間ARと称する)と、を有する。 As exemplified in FIG. 3, in the description area A5, information regarding the drug prescribed by the doctor is described. Specifically, the description area A5 includes the description content KS related to the name of the drug prescribed by the doctor (hereinafter referred to as the description name AM) and the description content KS related to the dose of the drug prescribed by the doctor (hereinafter referred to as the description dose AQ), and description contents KS (hereinafter referred to as description period AR) relating to the period of taking the drug prescribed by the doctor.

なお、医師が複数の種類の薬剤を処方した場合、図3に例示するように、記載領域A5には、当該複数の種類の薬剤と1対1に対応する複数の記載名称AMと、当該複数の種類の薬剤と1対1に対応する複数の記載用量AQと、当該複数の種類の薬剤と1対1に対応する複数の記載期間ARと、が記載される。本実施形態では、医師が処方した薬剤の種類が、M種類の場合を想定する。ここで、値Mは、1以上の自然数である。また、以下では、医師が処方したM種類の薬剤のうち、m番目の薬剤を、薬剤Md[m]と称することがある。ここで、変数mは、1≦m≦Mを満たす自然数である。また、以下では、薬剤Md[m]に対応する記載名称AMを、記載名称AM[m]と称し、薬剤Md[m]に対応する記載用量AQを、記載用量AQ[m]と称し、薬剤Md[m]に対応する記載期間ARを、記載期間AR[m]と称する。また、以下では、記載用量AQ[m]と記載期間AR[m]とを含む記載を、記載用法AN[m]と称する場合がある。 Note that when a doctor prescribes a plurality of types of drugs, as shown in FIG. A plurality of described doses AQ corresponding one-to-one with the types of drugs and a plurality of described periods AR corresponding one-to-one with the plurality of types of drugs are described. In this embodiment, it is assumed that there are M types of drugs prescribed by a doctor. Here, the value M is a natural number of 1 or more. Also, hereinafter, the m-th drug among the M types of drugs prescribed by the doctor may be referred to as drug Md[m]. Here, the variable m is a natural number that satisfies 1≤m≤M. Further, hereinafter, the description name AM corresponding to the drug Md[m] is referred to as the description name AM[m], the description dose AQ corresponding to the drug Md[m] is referred to as the description dose AQ[m], and the drug A description period AR corresponding to Md[m] is referred to as a description period AR[m]. Also, hereinafter, the description including the described dose AQ[m] and the described period AR[m] may be referred to as the described usage AN[m].

なお、図3では、M=3の場合を例示している。すなわち、図3では、医師が3種類の薬剤を処方した場合を例示している。そして、図3では、医師が処方した3種類の薬剤Md[1]~Md[3]のうち、薬剤Md[1]に対応する記載名称AM[1]が、「ビタミンAAA 100mg」であり、薬剤Md[1]に対応する記載用量AQ[1]が、「1回3錠 1日3回」であり、薬剤Md[1]に対応する記載期間AR[1]が、「10日分」であり、薬剤Md[2]に対応する記載名称AM[2]が、「ミネラルBBB 150mg」であり、薬剤Md[2]に対応する記載用量AQ[2]が、「1回1錠 1日3回」であり、薬剤Md[2]に対応する記載期間AR[2]が、「10日分」であり、薬剤Md[2]に対応する記載名称AM[3]が、「カルシウムCCC 50mg」であり、薬剤Md[2]に対応する記載用量AQ[3]が、「1回7錠 1日7回」であり、薬剤Md[2]に対応する記載期間AR[3]が、「70日分」である場合を例示している。 Note that FIG. 3 illustrates the case of M=3. That is, FIG. 3 illustrates a case where a doctor prescribes three types of drugs. In FIG. 3, among the three drugs Md[1] to Md[3] prescribed by the doctor, the description name AM[1] corresponding to the drug Md[1] is "Vitamin AAA 100 mg", The stated dose AQ[1] corresponding to the drug Md[1] is "three tablets per dose, three times a day", and the stated period AR[1] corresponding to the drug Md[1] is "10 days" and the listed name AM [2] corresponding to the drug Md [2] is "Mineral BBB 150 mg", and the listed dose AQ [2] corresponding to the drug Md [2] is "1 tablet per day 3 times", the description period AR [2] corresponding to the drug Md [2] is "10 days", and the description name AM [3] corresponding to the drug Md [2] is "calcium CCC 50 mg ", the stated dose AQ [3] corresponding to the drug Md [2] is "7 tablets per dose, 7 times a day", and the stated period AR [3] corresponding to the drug Md [2] is " 70 days" is exemplified.

説明を、図2に戻す。
図2に例示するように、処方箋読取装置1は、ステップS1の処方箋撮像処理を実行した後に、文字認識処理を実行する(S2)。ここで、文字認識処理とは、ステップS1の処方箋撮像処理において生成した処方箋画像情報JGSの示す処方箋画像GSに含まれる文字を認識し、当該認識結果を示す処方箋文字情報JSを生成する処理である。
Returning the description to FIG.
As illustrated in FIG. 2, the prescription reading device 1 executes character recognition processing after executing the prescription imaging processing in step S1 (S2). Here, the character recognition process is a process of recognizing characters included in the prescription image GS indicated by the prescription image information JGS generated in the prescription imaging process of step S1 and generating prescription character information JS indicating the recognition result. .

なお、処方箋文字情報JSは、薬剤名称文字情報JM[1]~JM[M]と、処方用量文字情報JQ[1]~JQ[M]と、処方期間文字情報JR[1]~JR[M]と、を含む情報である(後述する図4及び図12を参照)。
ここで、薬剤名称文字情報JM[m]は、処方箋画像GSのうち、医師が処方した薬剤Md[m]に関する記載名称AM[m]の認識結果である薬剤名称文字列LM[m]を示す情報である。また、処方用量文字情報JQ[m]は、処方箋画像GSのうち、医師が処方した薬剤Md[m]に関する記載用量AQ[m]の認識結果である処方用量文字列LQ[m]を示す情報である。また、処方期間文字情報JR[m]は、処方箋画像GSのうち、医師が処方した薬剤Md[m]に関する記載期間AR[m]の認識結果である処方期間文字列LR[m]を示す情報である。
以下では、処方用量文字情報JQ[m]、及び、処方期間文字情報JR[m]からなる情報を、処方内容文字情報JN[m]と称する場合がある。また、以下では、処方内容文字情報JN[m]の示す文字列を、処方内容文字列LN[m]と称する場合がある。また、以下では、薬剤名称文字情報JM[m]、及び、処方内容文字情報JN[m]からなる情報を、薬剤文字情報JP[m]と称する場合がある。なお、以上の説明からも明らかなように、処方箋文字情報JSは、薬剤文字情報JP[1]~JP[M]を含む。
The prescription character information JS consists of drug name character information JM[1] to JM[M], prescription dose character information JQ[1] to JQ[M], and prescription period character information JR[1] to JR[M]. ] and (see FIGS. 4 and 12 to be described later).
Here, the drug name character information JM[m] indicates the drug name character string LM[m], which is the recognition result of the description name AM[m] related to the drug Md[m] prescribed by the doctor in the prescription image GS. Information. Further, the prescribed dose character information JQ[m] is information indicating a prescribed dose character string LQ[m], which is the recognition result of the written dose AQ[m] related to the drug Md[m] prescribed by the doctor in the prescription image GS. is. Further, the prescription period character information JR[m] is information indicating the prescription period character string LR[m], which is the recognition result of the description period AR[m] regarding the drug Md[m] prescribed by the doctor in the prescription image GS. is.
Hereinafter, the information consisting of the prescription amount text information JQ[m] and the prescription period text information JR[m] may be referred to as prescription content text information JN[m]. Moreover, below, the character string which prescription content character information JN[m] shows may be called a prescription content character string LN[m]. Further, hereinafter, the information composed of the drug name text information JM[m] and the prescription content text information JN[m] may be referred to as drug text information JP[m]. As is clear from the above description, the prescription text information JS includes drug text information JP[1] to JP[M].

図2に例示するように、処方箋読取装置1は、ステップS2において生成された処方箋文字情報JSを、処方箋確認装置3に対して送信する(S3)。 As illustrated in FIG. 2, the prescription reading device 1 transmits the prescription character information JS generated in step S2 to the prescription checking device 3 (S3).

次に、処方箋確認装置3は、ステップS3において処方箋読取装置1から送信された処方箋文字情報JSを取得し、当該取得した処方箋文字情報JSに含まれる薬剤名称文字情報JM[1]~JM[M]を、薬剤データベースサーバ7に対して送信する(S4)。 Next, the prescription confirmation device 3 acquires the prescription text information JS transmitted from the prescription reading device 1 in step S3, and the drug name text information JM[1] to JM[M included in the acquired prescription text information JS. ] is transmitted to the drug database server 7 (S4).

なお、薬剤データベースサーバ7は、処方箋に記載される可能性のある複数の種類の薬剤と1対1に対応する複数の薬剤情報JYを記憶している。ここで、「処方箋に記載される可能性のある複数の種類の薬剤」とは、例えば、世界において実在する全ての種類の薬剤であってもよいし、日本国内で入手可能な全ての種類の薬剤であってもよいし、または、処方箋を発行した医師の所属する医療機関において処方する可能性のある全ての種類の薬剤であってもよい。
そして、薬剤データベースサーバ7は、処方箋読取装置1で読み取られた薬剤名称文字情報JM[1]~JM[M]を取得すると、各薬剤名称文字情報JM[m]に対応する1または複数の薬剤情報JYを、処方箋確認装置3に対して送信する(S5)。
The drug database server 7 stores a plurality of drug information JY corresponding to one-to-one with a plurality of types of drugs that may be described in a prescription. Here, "multiple types of drugs that may be described in a prescription" may be, for example, all types of drugs that actually exist in the world, or all types of drugs available in Japan. It may be a drug or any kind of drug that may be prescribed by the medical institution to which the doctor who issued the prescription belongs.
Then, when the medicine database server 7 acquires the medicine name text information JM[1] to JM[M] read by the prescription reading device 1, one or a plurality of medicines corresponding to each medicine name text information JM[m] is stored. The information JY is transmitted to the prescription confirmation device 3 (S5).

なお、詳細は図13において後述するが、薬剤情報JYは、薬剤の名称に関する薬剤名称情報JYMと、薬剤の使用方法に関する薬剤使用方法情報JYSと、薬剤の併用禁忌薬等に関する併用薬剤情報JYHと、を含む。
ここで、薬剤名称情報JYMは、薬剤情報JYに対応する薬剤の名称である、薬剤名称YMを示す情報である。また、薬剤使用方法情報JYSは、薬剤情報JYに対応する薬剤の使用方法を示す情報であり、当該薬剤の用量の上限値である上限用量YQを示す上限用量情報JYQと、当該薬剤の使用期間の上限値である上限期間YRを示す上限期間情報JYRと、を含む。また、併用薬剤情報JYHは、薬剤情報JYに対応する薬剤の併用禁忌薬YKの薬剤IDを示す併用禁忌薬情報JYKと、薬剤情報JYに対応する薬剤の併用注意薬YCの薬剤IDを示す併用注意薬情報JYCと、を含む。
Although the details will be described later with reference to FIG. 13, the drug information JY includes drug name information JYM regarding the name of the drug, drug usage information JYS regarding the method of using the drug, and concomitant drug information JYH regarding contraindicated drugs. ,including.
Here, the drug name information JYM is information indicating the drug name YM, which is the name of the drug corresponding to the drug information JY. The drug usage information JYS is information indicating the usage of a drug corresponding to the drug information JY. and upper limit period information JYR that indicates an upper limit period YR that is the upper limit value of . Further, the concomitant drug information JYH includes contraindicated drug information JYK indicating the drug ID of the contraindicated drug YK for the drug corresponding to the drug information JY, and concomitant drug information JYK indicating the drug ID of the caution drug YC for concomitant use of the drug corresponding to the drug information JY. Including caution drug information JYC.

図2に例示するように、処方箋確認装置3は、ステップS5において薬剤データベースサーバ7から送信された1または複数の薬剤情報JYを取得する。なお、以下では、ステップS5において薬剤データベースサーバ7から送信された薬剤情報JYを、「特定薬剤情報」と称する場合がある。 As illustrated in FIG. 2, the prescription confirmation device 3 acquires one or more pieces of drug information JY transmitted from the drug database server 7 in step S5. In addition, below, the drug information JY transmitted from the drug database server 7 in step S5 may be referred to as "specific drug information".

そして、処方箋確認装置3は、薬剤データベースサーバ7から、薬剤名称文字情報JM[1]~JM[M]に対応する1または複数の薬剤情報JYを取得すると、用量判定処理を実行する(S6)。
ここで、用量判定処理(「第1の判定処理」の一例)とは、文字認識処理(S2)において処方箋から認識された薬剤の処方用量が、薬剤データベースサーバ7から取得された薬剤情報JYの示す上限用量YQに照らして適切か否かを判定する処理である。具体的には、処方箋確認装置3は、ステップS6の用量判定処理において、文字認識処理(S2)において生成された処方箋文字情報JSに含まれる処方用量文字列LQ[m]が、薬剤データベースサーバ7から取得した薬剤情報JYの示す上限用量YQ以下の用量を表しているか否かを判定する。
Then, when the prescription confirmation device 3 acquires one or a plurality of drug information JY corresponding to the drug name text information JM[1] to JM[M] from the drug database server 7, it executes dose determination processing (S6). .
Here, the dose determination process (an example of the "first determination process") means that the prescribed dose of the drug recognized from the prescription in the character recognition process (S2) is stored in the drug information JY acquired from the drug database server 7. This is a process of judging whether or not it is appropriate in light of the indicated upper dose limit YQ. Specifically, in the dose determination process of step S6, the prescription confirmation device 3 determines that the prescription dose character string LQ[m] included in the prescription character information JS generated in the character recognition process (S2) is It is determined whether or not the drug information JY obtained from the above represents a dose equal to or lower than the upper limit dose YQ indicated by the drug information JY.

また、処方箋確認装置3は、薬剤データベースサーバ7から、薬剤名称文字情報JM[1]~JM[M]に対応する1または複数の薬剤情報JYを取得すると、期間判定処理を実行する(S7)。
ここで、期間判定処理とは、文字認識処理において処方箋から認識された薬剤の処方期間が、薬剤データベースサーバ7から取得された薬剤情報JYの示す上限期間YRに照らして適切か否かを判定する処理である。具体的には、処方箋確認装置3は、ステップS6の用量判定処理において、文字認識処理において生成された処方箋文字情報JSに含まれる処方期間文字列LR[m]が、薬剤データベースサーバ7から取得した薬剤情報JYの示す上限期間YR以下の期間を表しているか否かを判定する。
Further, when the prescription confirmation device 3 acquires one or a plurality of drug information JY corresponding to the drug name text information JM[1] to JM[M] from the drug database server 7, the prescription confirmation device 3 executes period determination processing (S7). .
Here, the period determination process determines whether or not the prescription period of the drug recognized from the prescription in the character recognition process is appropriate in light of the upper limit period YR indicated by the drug information JY acquired from the drug database server 7. processing. Specifically, the prescription confirmation device 3 obtains the prescription period character string LR[m] included in the prescription character information JS generated in the character recognition process from the drug database server 7 in the dose determination process in step S6. It is determined whether or not the period is equal to or less than the upper limit period YR indicated by the drug information JY.

また、処方箋確認装置3は、薬剤データベースサーバ7から、薬剤名称文字情報JM[1]~JM[M]に対応する1または複数の薬剤情報JYを取得すると、併用判定処理を実行する(S8)。
ここで、併用判定処理(「第2の判定処理」の一例)とは、処方箋に複数の薬剤が記載されている場合に、当該処方箋に記載された複数の薬剤の飲み合わせが、薬剤データベースサーバ7から取得された薬剤情報JYの示す併用薬剤情報JYHに照らして適切か否かを判定する処理である。具体的には、処方箋確認装置3は、ステップS7の併用判定処理において、処方箋に記載された複数の薬剤の中に、併用禁忌とされる複数の薬剤の組みが含まれていないこと、及び、処方箋に記載された複数の薬剤の中に、併用注意とされる複数の薬剤の組みが含まれていないことを判定する。
Further, when the prescription confirmation device 3 acquires one or a plurality of drug information JY corresponding to the drug name text information JM[1] to JM[M] from the drug database server 7, the prescription confirmation device 3 executes the combination determination process (S8). .
Here, the combined use determination process (an example of the "second determination process") means that, when a plurality of drugs are described in the prescription, the combination of the multiple drugs described in the prescription is determined by the drug database server. This is a process of judging whether or not it is appropriate in light of the concomitant drug information JYH indicated by the drug information JY acquired from 7. Specifically, in the combination determination process in step S7, the prescription confirmation device 3 confirms that the combination of a plurality of drugs that are contraindicated in combination is not included in the plurality of drugs described in the prescription, and It is determined that a combination of a plurality of drugs that should be used in combination is not included in the plurality of drugs described in the prescription.

そして、処方箋確認装置3は、用量判定処理(S6)、期間判定処理(S7)、及び、併用判定処理(S8)を実行した後に、処方内容表示処理を実行する(S9)。
ここで、処方内容表示処理とは、表示部50において、処方箋内容表示画像GHを表示させる処理である。具体的には、処方箋確認装置3は、ステップS8の処方内容表示処理において、文字認識処理(S2)において生成した処方箋文字情報JSと、用量判定処理(S6)における判定結果と、期間判定処理(S7)における判定結果と、併用判定処理(S8)における判定結果と、に基づいて、処方箋内容表示画像GHを示す表示画像情報JGHを生成する。
Then, the prescription confirmation device 3 executes the dosage determination process (S6), the period determination process (S7), and the combination determination process (S8), and then executes the prescription content display process (S9).
Here, the prescription content display processing is processing for displaying a prescription content display image GH on the display unit 50 . Specifically, in the prescription content display process of step S8, the prescription confirmation device 3 performs the prescription character information JS generated in the character recognition process (S2), the determination result in the dose determination process (S6), and the period determination process ( Display image information JGH indicating the prescription content display image GH is generated based on the determination result in S7) and the determination result in the combined use determination process (S8).

図4は、処方箋内容表示画像GHの一例を示す説明図である。 FIG. 4 is an explanatory diagram showing an example of the prescription content display image GH.

図4に例示するように、処方箋内容表示画像GHには、処方箋画像GSの各記載領域Aに含まれる、項目名称KMが表示される。
また、処方箋内容表示画像GHには、処方箋画像GSの各記載領域Aに含まれる記載内容KSの、文字認識処理(S2)による認識結果である、記載内容文字列KNが表示される。なお、本実施形態では、上述のとおり、記載名称AMに対応する記載内容文字列KNを、薬剤名称文字列LMと称し、記載用量AQに対応する記載内容文字列KNを、処方用量文字列LQと称し、記載期間ARに対応する記載内容文字列KNを、処方期間文字列LRと称する。
As illustrated in FIG. 4, the item name KM included in each description area A of the prescription image GS is displayed in the prescription content display image GH.
In the prescription content display image GH, the description content character string KN, which is the recognition result of the description content KS included in each description area A of the prescription image GS by the character recognition processing (S2), is displayed. In this embodiment, as described above, the description content character string KN corresponding to the description name AM is referred to as the drug name character string LM, and the description content character string KN corresponding to the description dose AQ is referred to as the prescription dose character string LQ , and the description content character string KN corresponding to the description period AR is referred to as a prescription period character string LR.

また、処方箋内容表示画像GHには、ステップS6の用量判定処理における判定結果に応じて、用量注意マークMK1が表示される。具体的には、処方箋確認装置3は、用量判定処理において、処方箋文字情報JSに含まれる処方用量文字列LQ[m]が、薬剤情報JYの示す上限用量YQよりも多い用量を表している場合に、薬剤名称文字列LM[m]に係る薬剤Md[m]に対応する処方用量文字列LQ[m]に関連する位置に、用量注意マークMK1を表示させる。なお、図4では、処方用量文字列LQ[3]に対応する位置に、用量注意マークMK1が表示される場合を例示している。 Also, in the prescription content display image GH, a dose caution mark MK1 is displayed according to the determination result of the dose determination process in step S6. Specifically, when the prescription dose character string LQ[m] included in the prescription character information JS represents a dose larger than the upper limit dose YQ indicated by the drug information JY in the dose determination process, the prescription confirmation device 3 , a dose caution mark MK1 is displayed at a position associated with the prescribed dose character string LQ[m] corresponding to the drug Md[m] associated with the drug name character string LM[m]. In addition, FIG. 4 illustrates a case where a dose caution mark MK1 is displayed at a position corresponding to the prescribed dose character string LQ[3].

また、処方箋内容表示画像GHには、ステップS7の期間判定処理における判定結果に応じて、期間注意マークMK2が表示される。具体的には、処方箋確認装置3は、用量判定処理において、処方箋文字情報JSに含まれる処方期間文字列LR[m]が、薬剤情報JYの示す上限期間YRよりも長い期間を表している場合に、薬剤名称文字列LM[m]に係る薬剤Md[m]に対応する処方期間文字列LR[m]に関連する位置に、期間注意マークMK2を表示させる。なお、図4では、処方期間文字列LR[3]に対応する位置に、期間注意マークMK2が表示される場合を例示している。 Also, in the prescription content display image GH, a period caution mark MK2 is displayed according to the determination result in the period determination process in step S7. Specifically, when the prescription period character string LR[m] included in the prescription character information JS represents a period longer than the upper limit period YR indicated by the drug information JY in the dose determination process, the prescription confirmation device 3 , a period caution mark MK2 is displayed at a position associated with the prescription period character string LR[m] corresponding to the drug Md[m] associated with the drug name character string LM[m]. Note that FIG. 4 illustrates a case where a period caution mark MK2 is displayed at a position corresponding to the prescription period character string LR[3].

また、処方箋内容表示画像GHには、ステップS8の併用判定処理における判定結果に応じて、併用注意マークMK3が表示される。具体的には、処方箋確認装置3は、用量判定処理において、薬剤名称文字列LM[1]~LM[M]に対応する薬剤が、薬剤名称文字列LM[m]に対応する薬剤の併用禁忌薬YKを含む場合、または、薬剤名称文字列LM[1]~LM[M]に対応する薬剤が、薬剤名称文字列LM[m]に対応する薬剤の併用注意薬YCを含む場合に、薬剤名称文字列LM[m]に関連する位置に、併用注意マークMK3を表示させる。なお、図4では、薬剤名称文字列LM[1]に対応する位置と、薬剤名称文字列LM[3]に対応する位置とに、併用注意マークMK3が表示される場合を例示している。 Further, in the prescription content display image GH, a combination warning mark MK3 is displayed according to the determination result of the combination determination process in step S8. Specifically, in the dose determination process, the prescription confirmation device 3 confirms that the drug corresponding to the drug name character strings LM[1] to LM[M] is contraindicated for the drug corresponding to the drug name character string LM[m]. If the drug YK is included, or if the drugs corresponding to the drug name character strings LM[1] to LM[M] include the drug YC that should be used in combination with the drug corresponding to the drug name character string LM[m], the drug A combination caution mark MK3 is displayed at a position related to the name character string LM[m]. Note that FIG. 4 illustrates a case where the combined use caution mark MK3 is displayed at the position corresponding to the drug name character string LM[1] and the position corresponding to the drug name character string LM[3].

また、処方箋内容表示画像GHには、記載内容文字列KNに表示された内容を確定させるための確定ボタンKTBが表示される。
詳細は後述するが、本実施形態において、処方箋確認装置3は、各種情報を入力するための入力部35を具備する。そして、処方箋確認装置3を操作するオペレータは、入力部35を用いて、記載内容文字列KNの内容を修正することができる。また、処方箋確認装置3を操作するオペレータは、入力部35を用いて、確定ボタンKTBを押下することで、記載内容文字列KNの内容を確定させることができる。
In the prescription content display image GH, a confirmation button KTB for confirming the content displayed in the description content character string KN is displayed.
Although the details will be described later, in this embodiment, the prescription confirmation device 3 includes an input unit 35 for inputting various kinds of information. Then, the operator who operates the prescription confirmation device 3 can use the input unit 35 to correct the content of the description content character string KN. Further, the operator who operates the prescription confirmation device 3 can use the input unit 35 to press the confirmation button KTB to confirm the content of the description content character string KN.

なお、図4では、処方箋読取装置1が、文字認識処理において記載名称AM[1]を誤認識し、処方箋画像GSに表示される記載名称AM[1]が、「ビタミンAAA 100mg」であるのに対して、記載名称AM[1]に対応する薬剤名称文字列LM[1]が、「ビタミンDDD 100mg」である場合を例示している。 In FIG. 4, the prescription reading device 1 erroneously recognizes the written name AM[1] in the character recognition process, and the written name AM[1] displayed on the prescription image GS is "Vitamin AAA 100 mg". , the drug name character string LM[1] corresponding to the description name AM[1] is "vitamin DDD 100 mg".

以上のように、本実施形態に係る処方箋確認装置3によれば、文字認識処理における処方箋に表された文字の誤認識、及び、医師により発行された処方箋における記載内容の誤り、等に起因して、薬剤の本来の使用方法に適合しない態様での薬剤の処方がなされようとしている場合に、表示部50に表示される処方箋内容表示画像GHにおいて、用量注意マークMK1、期間注意マークMK2、及び、併用注意マークMK3等による注意喚起がなされる。このため、本実施形態に係る処方箋確認装置3によれば、処方箋読取装置1による処方箋画像GSの認識結果に基づいて薬剤が処方される態様と比較して、薬剤の本来の使用方法に適合しない態様での薬剤の処方がなされるリスクを低減することができる。 As described above, according to the prescription confirmation device 3 according to the present embodiment, misrecognition of characters indicated on the prescription in the character recognition process, errors in the contents of the prescription issued by the doctor, etc. Therefore, when a drug is to be prescribed in a manner that does not conform to the original usage of the drug, the prescription content display image GH displayed on the display unit 50 includes a dosage caution mark MK1, a period caution mark MK2, and a , combined use caution mark MK3, etc., to call attention. For this reason, according to the prescription confirmation device 3 according to the present embodiment, compared with the mode in which the medicine is prescribed based on the recognition result of the prescription image GS by the prescription reading device 1, it is not suitable for the original usage of the medicine. It can reduce the risk of being prescribed a drug in a manner.

<3.処方箋認識システムの機能>
以下、図5乃至図10を参照しつつ、処方箋読取装置1、処方箋確認装置3、及び、薬剤データベースサーバ7の機能について説明する。
<3. Function of Prescription Recognition System>
Hereinafter, functions of the prescription reading device 1, the prescription checking device 3, and the drug database server 7 will be described with reference to FIGS. 5 to 10. FIG.

図5は、処方箋読取装置1の構成の一例を示す機能ブロック図である。 FIG. 5 is a functional block diagram showing an example of the configuration of the prescription reading device 1. As shown in FIG.

図5に例示するように、処方箋読取装置1は、処方箋読取装置1の各部を制御する制御部11と、各種情報を記憶する記憶部12と、処方箋読取装置1の外部に存在する外部装置との間の通信を実行する通信部13と、処方箋を撮像するための撮像部14と、を備える。 As illustrated in FIG. 5, the prescription reading device 1 includes a control unit 11 that controls each unit of the prescription reading device 1, a storage unit 12 that stores various information, and an external device that exists outside the prescription reading device 1. and an imaging unit 14 for imaging the prescription.

図5に例示するように、制御部11は、画像情報取得部111と、文字認識部112と、を備える。
このうち、画像情報取得部111は、撮像部14に処方箋撮像処理(S1)を実行させる。具体的には、画像情報取得部111は、撮像部14を制御して、撮像部14により処方箋を撮像させ、当該撮像の結果として得られる処方箋画像GSを示す処方箋画像情報JGSを、撮像部14から取得する。また、文字認識部112は、文字認識処理(S2)を実行する。具体的には、文字認識部112は、処方箋画像情報JGSの示す処方箋画像GSに含まれる文字を認識し、当該認識結果を示す処方箋文字情報JSを生成する。この文字認識部112による文字認識には、種々の方法を適用できるが、一例として、光学文字認識(OCR:Optical character recognition)による方法を適用できる。
As illustrated in FIG. 5 , the control unit 11 includes an image information acquisition unit 111 and a character recognition unit 112 .
Among these, the image information acquisition unit 111 causes the imaging unit 14 to execute prescription imaging processing (S1). Specifically, the image information acquiring unit 111 controls the image capturing unit 14 to capture an image of the prescription by the image capturing unit 14, and the prescription image information JGS indicating the prescription image GS obtained as a result of the image capturing is sent to the image capturing unit 14. Get from Further, the character recognition unit 112 executes character recognition processing (S2). Specifically, the character recognition unit 112 recognizes characters included in the prescription image GS indicated by the prescription image information JGS, and generates prescription character information JS indicating the recognition result. Various methods can be applied to the character recognition by the character recognition unit 112. As an example, a method based on optical character recognition (OCR) can be applied.

図5に例示するように、記憶部12は、学習モデルNNと、処方箋情報JSSと、画像情報取得部111が撮像部14から取得した処方箋画像情報JGSと、文字認識部112が生成した処方箋文字情報JSと、処方箋読取装置1の各部を制御するための制御プログラムPG1と、を記憶している。 As illustrated in FIG. 5, the storage unit 12 stores the learning model NN, prescription information JSS, prescription image information JGS acquired by the image information acquisition unit 111 from the imaging unit 14, and prescription characters generated by the character recognition unit 112. Information JS and a control program PG1 for controlling each part of the prescription reading device 1 are stored.

このうち、学習モデルNNは、例えば、多層ニューラルネットワークであり、文字を含む画像と、当該画像に含まれる文字との関係を学習した学習モデルである。本実施形態において、文字認識部112は、当該学習モデルNNを用いて、処方箋画像GSに含まれる文字を認識する。これにより、本実施形態の一例として、前述した文字認識部112と、この記憶部12とにより、AI(Artificial Intelligence)-OCRが構成される。
なお、記憶部12は、処方箋読取装置1が、処方箋撮像処理(ステップS1)及び文字認識処理(ステップS2)の対象とすることのできる処方箋が複数種類存在する場合には、当該複数種類の処方箋と1対1に対応する複数の処方箋情報JSSを記憶していることとする。なお、処方箋情報JSSについては、後述する。
Of these, the learning model NN is, for example, a multi-layer neural network, and is a learning model that has learned the relationship between an image containing characters and the characters contained in the image. In this embodiment, the character recognition unit 112 uses the learning model NN to recognize characters included in the prescription image GS. Thus, as an example of the present embodiment, the aforementioned character recognition unit 112 and the storage unit 12 constitute AI (Artificial Intelligence)-OCR.
In the case where there are multiple types of prescriptions that the prescription reading device 1 can target for the prescription imaging process (step S1) and the character recognition process (step S2), the storage unit 12 stores the multiple types of prescriptions. It is assumed that a plurality of prescription information JSS corresponding to each other are stored. The prescription information JSS will be described later.

図6は、処方箋読取装置1のハードウェア構成の一例を示す構成図である。 FIG. 6 is a configuration diagram showing an example of the hardware configuration of the prescription reading device 1. As shown in FIG.

図6に例示するように、処方箋読取装置1は、処方箋読取装置1の各部を制御するプロセッサ1001と、各種情報を記憶する記憶装置1002と、処方箋読取装置1の外部に存在する外部装置との通信を行うための通信装置1003と、処方箋を撮像するための撮像装置1004と、を備える。 As illustrated in FIG. 6, the prescription reading device 1 includes a processor 1001 that controls each part of the prescription reading device 1, a storage device 1002 that stores various information, and an external device that exists outside the prescription reading device 1. A communication device 1003 for communication and an imaging device 1004 for imaging a prescription are provided.

このうち、記憶装置1002は、プロセッサ1001の作業領域として機能するRAM(Random Access Memory)等の揮発性メモリと、制御プログラムPG1等の各種情報を記憶するEEPROM(Electrically Erasable Programmable Read-Only Memory)等の不揮発性メモリとの、一方または双方を含み、記憶部12としての機能を提供する。
また、プロセッサ1001は、例えば、1または複数のCPU(Central Processing Unit)を含んで構成される。プロセッサ1001は、記憶装置1002に記憶された制御プログラムPG1を実行し、当該制御プログラムPG1に従って動作することで、制御部11として機能する。なお、プロセッサ1001は、1または複数のCPUに加え、または、1または複数のCPUのうち一部または全部に替えて、GPU(Graphics Processing Unit)、DSP(Digital Signal Processor)、または、FPGA(Field Programmable Gate Array)等の、ハードウェアを含んで構成されるものであってもよい。この場合、プロセッサ1001により実現される制御部11の一部または全部は、DSP等のハードウェアにより実現されてもよい。
また、通信装置1003は、有線ネットワーク及び無線ネットワークの一方または双方を介して、処方箋読取装置1の外部に存在する外部装置との通信を行うためのハードウェアであり、通信部13としての機能を提供する。
また、撮像装置1004は、カメラまたはイメージスキャナ等、光学的な手段により処方箋を撮像するためのハードウェアであり、撮像部14としての機能を提供する。
Among them, the storage device 1002 includes a volatile memory such as a RAM (Random Access Memory) that functions as a work area for the processor 1001, and an EEPROM (Electrically Erasable Programmable Read-Only Memory) that stores various information such as the control program PG1. and one or both of the non-volatile memory of , and provides the function as the storage unit 12 .
Also, the processor 1001 includes, for example, one or more CPUs (Central Processing Units). The processor 1001 functions as the control unit 11 by executing the control program PG1 stored in the storage device 1002 and operating according to the control program PG1. Note that the processor 1001 may be a GPU (Graphics Processing Unit), a DSP (Digital Signal Processor), or an FPGA (Field Programmable Gate Array) and other hardware may be included. In this case, part or all of the control unit 11 implemented by the processor 1001 may be implemented by hardware such as a DSP.
Further, the communication device 1003 is hardware for communicating with an external device existing outside the prescription reading device 1 via one or both of a wired network and a wireless network, and functions as the communication unit 13. offer.
Also, the imaging device 1004 is hardware for imaging a prescription by optical means such as a camera or an image scanner, and provides a function as the imaging unit 14 .

図7は、処方箋確認装置3の構成の一例を示す機能ブロック図である。 FIG. 7 is a functional block diagram showing an example of the configuration of the prescription confirmation device 3. As shown in FIG.

図7に例示するように、処方箋確認装置3は、処方箋確認装置3の各部を制御する制御部31と、各種情報を記憶する記憶部32と、処方箋確認装置3の外部に存在する外部装置との間の通信を実行する通信部33と、処方箋確認装置3のユーザによる操作を受け付けるための入力部35と、を備える。 As illustrated in FIG. 7, the prescription confirmation device 3 includes a control unit 31 that controls each unit of the prescription confirmation device 3, a storage unit 32 that stores various information, and an external device that exists outside the prescription confirmation device 3. and an input unit 35 for receiving an operation by the user of the prescription confirmation device 3.

図7に例示するように、制御部31は、文字情報取得部311と、薬剤情報取得部312と、処方内容判定部313と、判定結果出力部314と、を備える。
このうち、文字情報取得部311は、処方箋読取装置1から、処方箋文字情報JSを取得する。また、薬剤情報取得部312は、薬剤データベースサーバ7から、1または複数の薬剤情報JYを取得する。また、処方内容判定部313(「判定部」の一例)は、用量判定処理と、期間判定処理と、併用判定処理とを、実行する。また、判定結果出力部314(「出力部」の一例)は、処方内容表示処理を実行する。
As illustrated in FIG. 7 , the control unit 31 includes a character information acquisition unit 311 , a drug information acquisition unit 312 , a prescription determination unit 313 and a determination result output unit 314 .
Among these, the character information acquisition unit 311 acquires the prescription character information JS from the prescription reading device 1 . Also, the drug information acquisition unit 312 acquires one or more drug information J Y from the drug database server 7 . In addition, the prescription content determination unit 313 (an example of the “determination unit”) executes dose determination processing, period determination processing, and combination determination processing. Further, the determination result output unit 314 (an example of the “output unit”) executes prescription content display processing.

図7に例示するように、記憶部32は、文字情報取得部311が処方箋読取装置1から取得した処方箋文字情報JSと、薬剤情報取得部312が薬剤データベースサーバ7から取得した1または複数の薬剤情報JYと、処方箋確認装置3の各部を制御するための制御プログラムPG3と、を記憶している。 As illustrated in FIG. 7, the storage unit 32 stores prescription text information JS that the text information acquisition unit 311 has acquired from the prescription reading device 1, and one or more drugs that the drug information acquisition unit 312 has acquired from the drug database server 7. Information JY and a control program PG3 for controlling each part of the prescription confirmation device 3 are stored.

図8は、処方箋確認装置3のハードウェア構成の一例を示す構成図である。 FIG. 8 is a configuration diagram showing an example of the hardware configuration of the prescription confirmation device 3. As shown in FIG.

図8に例示するように、処方箋確認装置3は、処方箋確認装置3の各部を制御するプロセッサ3001と、各種情報を記憶する記憶装置3002と、処方箋確認装置3の外部に存在する外部装置との通信を行うための通信装置3003と、処方箋確認装置3のユーザによる操作を受け付けるための入力装置3005と、を備える。 As illustrated in FIG. 8, the prescription confirmation device 3 includes a processor 3001 that controls each part of the prescription confirmation device 3, a storage device 3002 that stores various information, and an external device that exists outside the prescription confirmation device 3. It has a communication device 3003 for communication and an input device 3005 for accepting an operation by the user of the prescription confirmation device 3 .

このうち、記憶装置3002は、プロセッサ3001の作業領域として機能するRAM等の揮発性メモリと、制御プログラムPG3等の各種情報を記憶するEEPROM等の不揮発性メモリとの、一方または双方を含み、記憶部32としての機能を提供する。
また、プロセッサ3001は、例えば、1または複数のCPUを含んで構成される。プロセッサ3001は、記憶装置3002に記憶された制御プログラムPG3を実行し、当該制御プログラムPG3に従って動作することで、制御部31として機能する。なお、プロセッサ3001は、1または複数のCPUに加え、または、1または複数のCPUのうち一部または全部に替えて、GPU、DSP、または、FPGA等の、ハードウェアを含んで構成されるものであってもよい。この場合、プロセッサ3001により実現される制御部31の一部または全部は、DSP等のハードウェアにより実現されてもよい。
また、通信装置3003は、有線ネットワーク及び無線ネットワークの一方または双方を介して、処方箋確認装置3の外部に存在する外部装置との通信を行うためのハードウェアであり、通信部33としての機能を提供する。
また、入力装置3005は、例えば、キーボード、タッチパネル、及び、マウス等の1または複数のデバイスを含み、処方箋確認装置3のユーザの操作を受け付ける入力部35としての機能を提供する。
Of these, the storage device 3002 includes one or both of a volatile memory such as a RAM that functions as a work area for the processor 3001 and a nonvolatile memory such as an EEPROM that stores various information such as the control program PG3. It provides the function as the part 32 .
Also, the processor 3001 includes, for example, one or more CPUs. The processor 3001 functions as the control unit 31 by executing the control program PG3 stored in the storage device 3002 and operating according to the control program PG3. Note that the processor 3001 includes hardware such as a GPU, DSP, or FPGA in addition to one or more CPUs, or in place of part or all of one or more CPUs. may be In this case, part or all of the control unit 31 implemented by the processor 3001 may be implemented by hardware such as a DSP.
Further, the communication device 3003 is hardware for communicating with an external device existing outside the prescription confirmation device 3 via one or both of a wired network and a wireless network, and functions as the communication unit 33. offer.
Also, the input device 3005 includes one or more devices such as a keyboard, a touch panel, and a mouse, and provides a function as an input unit 35 that receives user operations of the prescription confirmation device 3 .

図9は、薬剤データベースサーバ7の構成の一例を示す機能ブロック図である。 FIG. 9 is a functional block diagram showing an example of the configuration of the drug database server 7. As shown in FIG.

図9に例示するように、薬剤データベースサーバ7は、薬剤データベースサーバ7の各部を制御する制御部71と、各種情報を記憶する記憶部72と、薬剤データベースサーバ7の外部に存在する外部装置との間の通信を実行する通信部73と、を備える。
このうち、記憶部72は、処方箋に記載される可能性のある複数の種類の薬剤と1対1に対応する複数の薬剤情報JYが格納された薬剤一覧情報テーブルTBL7と、薬剤データベースサーバ7の各部を制御するための制御プログラムPG7と、を記憶している。
また、制御部71は、処方箋確認装置3からの要求に応じて、薬剤一覧情報テーブルTBL7から薬剤情報JYを取得し、取得した薬剤情報JYが、処方箋確認装置3に対して送信されるように通信部73を制御する。
As illustrated in FIG. 9, the drug database server 7 includes a control unit 71 that controls each part of the drug database server 7, a storage unit 72 that stores various information, and an external device that exists outside the drug database server 7. and a communication unit 73 that performs communication between.
Among these, the storage unit 72 stores a drug list information table TBL7 in which a plurality of types of drugs that may be described in a prescription and a plurality of drug information JY corresponding one-to-one are stored; A control program PG7 for controlling each section is stored.
Further, the control unit 71 acquires drug information JY from the drug list information table TBL7 in response to a request from the prescription confirmation device 3, and transmits the acquired drug information JY to the prescription confirmation device 3. It controls the communication unit 73 .

図10は、薬剤データベースサーバ7のハードウェア構成の一例を示す構成図である。 FIG. 10 is a configuration diagram showing an example of the hardware configuration of the drug database server 7. As shown in FIG.

図10に例示するように、薬剤データベースサーバ7は、薬剤データベースサーバ7の各部を制御するプロセッサ7001と、各種情報を記憶する記憶装置7002と、薬剤データベースサーバ7の外部に存在する外部装置との通信を行うための通信装置7003と、を備える。 As illustrated in FIG. 10, the drug database server 7 includes a processor 7001 that controls each part of the drug database server 7, a storage device 7002 that stores various information, and an external device that exists outside the drug database server 7. and a communication device 7003 for performing communication.

このうち、記憶装置7002は、プロセッサ7001の作業領域として機能するRAM等の揮発性メモリと、制御プログラムPG7等の各種情報を記憶するEEPROM等の不揮発性メモリとの、一方または双方を含み、記憶部72としての機能を提供する。
また、プロセッサ7001は、例えば、1または複数のCPUを含んで構成される。プロセッサ7001は、記憶装置7002に記憶された制御プログラムPG7を実行し、当該制御プログラムPG7に従って動作することで、制御部71として機能する。
また、通信装置7003は、有線ネットワーク及び無線ネットワークの一方または双方を介して、薬剤データベースサーバ7の外部に存在する外部装置との通信を行うためのハードウェアであり、通信部73としての機能を提供する。
また、薬剤データベースサーバ7は、通信装置7003により有線ネットワークまたは無線ネットワークの何れか一方または双方を介して、外部装置等との通信を行い、外部装置等から最新の薬剤情報JYを取得して薬剤一覧情報テーブルTBL7を更新する。
Of these, the storage device 7002 includes one or both of a volatile memory such as a RAM that functions as a work area for the processor 7001 and a nonvolatile memory such as an EEPROM that stores various information such as the control program PG7. The function as the part 72 is provided.
Also, the processor 7001 includes, for example, one or more CPUs. The processor 7001 functions as the control unit 71 by executing the control program PG7 stored in the storage device 7002 and operating according to the control program PG7.
Further, the communication device 7003 is hardware for communicating with an external device existing outside the drug database server 7 via one or both of a wired network and a wireless network, and functions as the communication unit 73. offer.
In addition, the drug database server 7 communicates with an external device or the like via either or both of a wired network and a wireless network using the communication device 7003, acquires the latest drug information JY from the external device and the like, and stores the drug. Update list information table TBL7.

<4.処方箋認識システムにおいて存在するデータ>
以下、図11乃至図13を参照しつつ、処方箋認識システムSysにおいて存在する各種データについて説明する。
<4. Data Present in Prescription Recognition System>
Various data existing in the prescription recognition system Sys will be described below with reference to FIGS. 11 to 13. FIG.

図11は、処方箋情報JSSのデータ構成の一例を示す説明図である。ここで、処方箋情報JSSとは、処方箋のフォーマットに関する情報である。 FIG. 11 is an explanatory diagram showing an example of the data structure of prescription information JSS. Here, the prescription information JSS is information regarding the format of the prescription.

図11に例示するように、処方箋情報JSSは、処方箋の有する複数の記載内容KSと1対1に対応する複数のレコードを有する。処方箋情報JSSの各レコードは、項目IDと、項目名称情報JKMと、項目名称位置情報と、記載内容位置情報と、を有する。 As illustrated in FIG. 11, the prescription information JSS has a plurality of records corresponding one-to-one with a plurality of descriptions KS of the prescription. Each record of the prescription information JSS has an item ID, item name information JKM, item name position information, and description content position information.

このうち、項目IDとは、処方箋における複数の記載内容KSの中から、各記載内容KSを識別するための情報である。また、項目名称情報JKMとは、記載内容KSに対応する項目名称KMを示す情報である。また、項目名称位置情報とは、記載内容KSに対応する項目名称KMの、処方箋における表示位置(例えば、始点の座標と終点の座標)を示す情報である。また、記載内容位置情報とは、記載内容KSの、処方箋における表示位置(例えば、始点の座標と終点の座標)を示す情報である。 Among these items, the item ID is information for identifying each described content KS out of a plurality of described contents KS in the prescription. The item name information JKM is information indicating the item name KM corresponding to the description content KS. The item name position information is information indicating the display position (for example, the coordinates of the start point and the coordinate of the end point) of the item name KM corresponding to the description content KS in the prescription. The description content position information is information indicating the display position (for example, the coordinates of the start point and the coordinates of the end point) of the description content KS in the prescription.

図12は、処方箋文字情報JSのデータ構成の一例を示す説明図である。なお、処方箋文字情報JSとは、上述のとおり、処方箋を撮像して得られた処方箋画像GSの認識結果を示す情報である。 FIG. 12 is an explanatory diagram showing an example of the data structure of the prescription character information JS. The prescription character information JS is, as described above, information indicating the recognition result of the prescription image GS obtained by imaging the prescription.

図12に例示するように、処方箋文字情報JSは、文字認識処理(ステップS2)により処方箋から認識された複数の記載内容文字列KNと1対1に対応する複数のレコードを有する。処方箋文字情報JSの各レコードは、項目IDと、項目名称情報JKMと、記載内容情報JKNと、類似度情報と、を有する。 As illustrated in FIG. 12, the prescription character information JS has a plurality of records corresponding one-to-one with a plurality of description content character strings KN recognized from the prescription by the character recognition process (step S2). Each record of the prescription character information JS has an item ID, item name information JKM, description content information JKN, and similarity information.

このうち、記載内容情報JKNとは、項目IDに対応する記載内容KSを文字認識処理により認識した結果である、記載内容文字列KNを示す情報である。なお、上述のとおり、記載内容文字列KNが薬剤名称文字列LM[m]である場合に、当該記載内容文字列KNを示す記載内容情報JKNを、薬剤名称文字情報JM[m]と称し、記載内容文字列KNが処方用量文字列LQ[m]である場合に、当該記載内容文字列KNを示す記載内容情報JKNを、処方用量文字情報JQ[m]と称し、記載内容文字列KNが処方期間文字列LR[m]である場合に、当該記載内容文字列KNを示す記載内容情報JKNを、処方期間文字情報JR[m]と称する。そして、上述のとおり、薬剤名称文字情報JM[m]、処方用量文字情報JQ[m]、及び、処方期間文字情報JR[m]を含む情報を、薬剤文字情報JP[m]と称する。
なお、図12では、図3に示す記載名称AM[1]が、「ビタミンAAA 100mg」であるのに対して、当該記載名称AM[1]に対応する記載内容文字列KNである薬剤名称文字列LM[1]が、「ビタミンDDD 100mg」である場合を例示している。
Among them, the description content information JKN is information indicating the description content character string KN, which is the result of recognizing the description content KS corresponding to the item ID by character recognition processing. As described above, when the described content character string KN is the drug name character string LM[m], the described content information JKN indicating the described content character string KN is referred to as drug name character information JM[m]. When the description content character string KN is the prescription dose character string LQ[m], the description content information JKN indicating the description content character string KN is referred to as prescription dose character information JQ[m], and the description content character string KN is In the case of the prescription period character string LR[m], the description content information JKN indicating the description content character string KN is referred to as prescription period character information JR[m]. As described above, information including the drug name text information JM[m], prescription dose text information JQ[m], and prescription period text information JR[m] is referred to as drug text information JP[m].
Note that in FIG. 12, the description name AM[1] shown in FIG. The column LM[1] exemplifies the case of "vitamin DDD 100 mg".

また、類似度情報とは、記載内容KSとして表される文字列と、記載内容文字列KNとの、類似度を示す情報である。すなわち、類似度情報の示す類似度が高い場合、記載内容KSとして表される文字列と、当該記載内容KSとして表される文字列を文字認識処理により認識した結果である記載内容文字列KNとの、一致する可能性が高くなる。 The similarity information is information indicating the degree of similarity between the character string represented as the description content KS and the description content character string KN. That is, when the degree of similarity indicated by the similarity information is high, the character string represented by the description content KS and the description content character string KN obtained by recognizing the character string represented by the description content KS by the character recognition process. are more likely to match.

図13は、薬剤一覧情報テーブルTBL7のデータ構成の一例を示す説明図である。 FIG. 13 is an explanatory diagram showing an example of the data configuration of the drug list information table TBL7.

図13に例示するように、薬剤一覧情報テーブルTBL7は、処方箋に記載される可能性のある複数の種類の薬剤に1対1に対応する、複数のレコードを有する。薬剤一覧情報テーブルTBL7の各レコードは、薬剤IDと、薬剤情報JYと、を含む。 As illustrated in FIG. 13, the drug list information table TBL7 has a plurality of records corresponding one-to-one to a plurality of types of drugs that may be described in a prescription. Each record of the drug list information table TBL7 includes drug ID and drug information JY.

ここで、薬剤IDとは、処方箋に記載される可能性のある複数の種類の薬剤の中から、各種類の薬剤を特定するための情報である。
また、薬剤情報JYとは、上述のとおり、薬剤名称情報JYMと、薬剤使用方法情報JYSと、併用薬剤情報JYHと、を含む情報である。また、薬剤名称情報JYMとは、上述のとおり、薬剤名称YMを示す情報である。また、薬剤使用方法情報JYSとは、上述のとおり、上限用量YQを示す上限用量情報JYQと、上限期間YRを示す上限期間情報JYRと、を含む情報である。また、併用薬剤情報JYHとは、上述のとおり、併用禁忌薬YKを示す併用禁忌薬情報JYKと、併用注意薬YCを示す併用注意薬情報JYCと、を含む情報である。
なお、薬剤情報JYは、例えば、薬剤情報JYに対応する薬剤を製造した製薬会社により提供された情報であってもよい。
Here, the drug ID is information for specifying each type of drug among multiple types of drugs that may be described in a prescription.
Further, the drug information JY is, as described above, information including drug name information JYM, drug usage information JYS, and concomitant drug information JYH. Further, the drug name information JYM is information indicating the drug name YM as described above. Further, the medicine usage information JYS is, as described above, information including the upper limit dose information JYQ indicating the upper limit dose YQ and the upper limit period information JYR indicating the upper limit period YR. As described above, the concomitant drug information JYH is information including concomitant contraindicated drug information JYK indicating concomitant contraindicated drug YK and concomitant caution drug information JYC indicating concomitant caution drug YC.
The drug information JY may be information provided by a pharmaceutical company that manufactures the drug corresponding to the drug information JY, for example.

本実施形態において、薬剤データベースサーバ7は、上述した図2のステップS5において、薬剤名称文字情報JM[m]の示す薬剤名称文字列LM[m]に一致する薬剤名称YMが存在する場合、当該薬剤名称YMに対応する薬剤情報JYを、特定薬剤情報として、処方箋確認装置3に送信する。換言すれば、薬剤情報取得部312は、ステップS5において、薬剤名称文字情報JM[m]の示す薬剤名称文字列LM[m]に一致する薬剤名称YMが存在する場合、当該薬剤名称YMに対応する薬剤情報JYを、特定薬剤情報として取得する。
他方、薬剤データベースサーバ7は、ステップS5において、薬剤名称文字情報JM[m]の示す薬剤名称文字列LM[m]に一致する薬剤名称YMが存在しない場合、複数の薬剤情報JYのうち、薬剤名称文字列LM[m]との類似度が所定の類似度以上の薬剤名称YMに対応する、1または複数の薬剤情報JYの各々を、特定薬剤情報として、処方箋確認装置3に送信する。換言すれば、薬剤情報取得部312は、ステップS5において、薬剤名称文字情報JM[m]の示す薬剤名称文字列LM[m]に一致する薬剤名称YMが存在しない場合、複数の薬剤情報JYのうち、薬剤名称文字列LM[m]との類似度が所定の類似度以上の薬剤名称YMに対応する、1または複数の薬剤情報JYの各々を、特定薬剤情報として取得する。
例えば、図12に示すように、処方箋読取装置1が認識した薬剤名称文字列LM[1]は、「ビタミンDDD 100mg」であるが、図13に示す複数の薬剤名称YMの中には、「ビタミンDDD 100mg」と一致する薬剤名称YMが存在しない。処方箋確認装置3は、薬剤名称文字列LM[1]である「ビタミンDDD 100mg」との類似度が、所定の類似度以上となる複数の薬剤名称YMを、例えば、薬剤名称文字列LM[1]である「ビタミンDDD 100mg」に対する類似度の高い順番で、薬剤一覧情報テーブルTBL7から取得する。本実施形態では、薬剤名称文字列LM[1]である「ビタミンDDD 100mg」と、薬剤名称YMである「ビタミンAAA 100mg」との類似度が、所定の類似度以上であることとする。また、本実施形態では、薬剤名称文字列LM[1]である「ビタミンDDD 100mg」と、薬剤名称YMである「タンパク質DDD 80mg」との類似度が、所定の類似度以上であることとする。また、本実施形態では、薬剤一覧情報テーブルTBL7において、薬剤名称文字列LM[1]である「ビタミンDDD 100mg」との類似度が、所定の類似度以上となる薬剤名称YMが、「ビタミンAAA 100mg」及び「タンパク質DDD 80mg」以外には存在しないこととする。その結果、薬剤情報取得部312は、「ビタミンDDD 100mg」との類似度が、所定の類似度以上となる、「ビタミンAAA 100mg」に対応する薬剤情報JYと、「タンパク質DDD 80mg」に対応する薬剤情報JYとの各々を、薬剤名称文字列LM[1]に対応する特定薬剤情報として取得する。
In this embodiment, the drug database server 7, in step S5 of FIG. The drug information JY corresponding to the drug name YM is transmitted to the prescription confirmation device 3 as specific drug information. In other words, in step S5, if there is a drug name YM that matches the drug name character string LM[m] indicated by the drug name character information JM[m], the drug information acquisition unit 312 finds the corresponding drug name YM. The drug information JY to be used is acquired as the specific drug information.
On the other hand, if there is no drug name YM that matches the drug name character string LM[m] indicated by the drug name character information JM[m] in step S5, the drug database server 7 selects the drug name among the plurality of drug information JY. One or a plurality of pieces of drug information JY corresponding to a drug name YM whose degree of similarity with the name character string LM[m] is equal to or greater than a predetermined degree of similarity is transmitted to the prescription confirmation device 3 as specific drug information. In other words, in step S5, if there is no drug name YM that matches the drug name character string LM[m] indicated by the drug name character information JM[m], the drug information acquisition unit 312 obtains a plurality of drug information JY. Of these, each of one or a plurality of pieces of drug information JY corresponding to a drug name YM whose degree of similarity with the drug name character string LM[m] is equal to or greater than a predetermined degree of similarity is acquired as specific drug information.
For example, as shown in FIG. 12, the drug name character string LM[1] recognized by the prescription reading device 1 is "vitamin DDD 100 mg", but among the drug names YM shown in FIG. There is no drug name YM that matches "Vitamin DDD 100 mg". The prescription confirmation device 3 selects a plurality of drug names YM whose similarity to the drug name character string LM[1] "vitamin DDD 100 mg" is equal to or higher than a predetermined similarity, for example, the drug name character string LM[1 ] from the drug list information table TBL7 in descending order of similarity to "vitamin DDD 100 mg". In this embodiment, the degree of similarity between "vitamin DDD 100 mg", which is the drug name character string LM[1], and "vitamin AAA 100 mg", which is the drug name YM, is equal to or higher than a predetermined similarity. Further, in the present embodiment, the degree of similarity between "vitamin DDD 100 mg", which is the drug name character string LM[1], and "protein DDD 80 mg", which is the drug name YM, is equal to or greater than a predetermined degree of similarity. . Further, in the present embodiment, in the drug list information table TBL7, the drug name YM whose degree of similarity with "vitamin DDD 100 mg", which is the drug name character string LM[1], is equal to or higher than a predetermined degree of similarity is "vitamin AAA 100 mg" and "Protein DDD 80 mg". As a result, the drug information acquisition unit 312 determines that the drug information JY corresponding to "vitamin AAA 100 mg" and the drug information JY corresponding to "protein DDD 80 mg" whose similarity to "vitamin DDD 100 mg" is equal to or greater than a predetermined similarity Each of the drug information JY is acquired as specific drug information corresponding to the drug name character string LM[1].

以下では、薬剤名称文字列LM[m]に対応する特定薬剤情報の個数を、「Qm個」と称する。ここで、値Qmは、1以上の自然数である。また、以下では、薬剤名称文字列LM[m]に対応するQm個の特定薬剤情報を、薬剤情報JY[m][1]~JY[m][Qm]と称する。また、以下では、薬剤名称文字列LM[m]に対応するQm個の特定薬剤情報のうち、qm番目の特定薬剤情報を、薬剤情報JY[m][qm]と称する。ここで、値qmは、1≦qm≦Qmを満たす自然数である。また、以下では、薬剤一覧情報テーブルTBL7に記憶されている各種情報及び各種値のうち、薬剤情報JY[m][qm]に含まれる情報、または、薬剤情報JY[m][qm]に含まれる情報の示す値に対して、添え字[m][qm]を付することとする。
例えば、図12及び図13では、薬剤名称文字列LM[1](=「ビタミンDDD 100mg」)に対応する特定薬剤情報が、薬剤名称YM[1][1](=「ビタミンAAA 100mg」に対応する薬剤情報JY[1][1]と、薬剤名称YM[1][2](=「タンパク質DDD 80mg」に対応する薬剤情報JY[1][2]との、2個である場合、すなわち、「Qm=2」である場合を示している。
Hereinafter, the number of pieces of specific drug information corresponding to the drug name character string LM[m] will be referred to as "Qm pieces". Here, the value Qm is a natural number of 1 or more. Also, hereinafter, Qm pieces of specific drug information corresponding to the drug name character string LM[m] are referred to as drug information JY[m][1] to JY[m][Qm]. Also, hereinafter, of the Qm pieces of specific drug information corresponding to the drug name character string LM[m], the qm-th specific drug information is referred to as drug information JY[m][qm]. Here, the value qm is a natural number that satisfies 1≤qm≤Qm. In the following, among various information and various values stored in the drug list information table TBL7, information included in the drug information JY[m][qm] or included in the drug information JY[m][qm] Suffixes [m][qm] are attached to the values indicating the information provided.
For example, in FIGS. 12 and 13, the specific drug information corresponding to the drug name character string LM[1] (=“vitamin DDD 100 mg”) is the drug name YM[1][1] (=“vitamin AAA 100 mg”). If there are two corresponding drug information JY[1][1] and drug name YM[1][2] (= "protein DDD 80 mg", corresponding to drug information JY[1][2], That is, it shows the case of "Qm=2".

<5.処方箋確認装置の動作>
以下、図14乃至図17を参照しつつ、処方箋確認装置3の動作について説明する。
<5. Operation of prescription confirmation device>
The operation of the prescription confirmation device 3 will be described below with reference to FIGS. 14 to 17. FIG.

図14は、図2のステップS6に示す用量判定処理が実行される場合の、処方箋確認装置3の動作の一例を示すフローチャートである。 FIG. 14 is a flow chart showing an example of the operation of the prescription confirmation device 3 when the dose determination process shown in step S6 of FIG. 2 is executed.

図14に例示するように、用量判定処理が開始されると、処方内容判定部313は、変数mに「1」を設定する(S101)。
次に、処方内容判定部313は、変数qmに「1」を設定する(S103)。
As illustrated in FIG. 14, when the dose determination process is started, the prescription determination unit 313 sets the variable m to "1" (S101).
Next, the prescription content determination unit 313 sets "1" to the variable qm (S103).

次に、処方内容判定部313は、処方用量文字列LQ[m]の表す処方用量が、上限用量YQ[m][qm]以下であるか否かを判定する(S105)。
ステップS105における判定の結果が肯定の場合、処方内容判定部313は、変数qmが「qm=Qm」を満たすか否かを判定する(S107)。
そして、ステップS107における判定の結果が否定の場合、処方内容判定部313は、変数qmに「1」を加算して(S109)、処理をステップS105に進める。
他方、ステップS107における判定の結果が肯定の場合、処方内容判定部313は、処理をステップS113に進める。
また、ステップS105における判定の結果が否定の場合、判定結果出力部314は、用量不正通知情報IF1[m]を出力し(S111)、処理をステップS113に進める。なお、判定結果出力部314は、用量不正通知情報IF1[m]を出力することで、処方箋内容表示画像GHの処方用量文字列LQ[m]に対応する位置に、用量注意マークMK1を表示させる。なお、判定結果出力部314は、用量不正通知情報IF1[m]が出力された場合、用量不正通知情報IF1[m]が出力されないときと比較して、処方用量文字列LQ[m]の文字色やフォント等の表示態様を変化させてもよい。
Next, the prescription content determination unit 313 determines whether or not the prescribed dose represented by the prescribed dose character string LQ[m] is equal to or less than the upper limit dose YQ[m][qm] (S105).
If the result of determination in step S105 is affirmative, the prescription content determination unit 313 determines whether or not the variable qm satisfies "qm=Qm" (S107).
Then, if the determination result in step S107 is negative, the prescription content determination unit 313 adds "1" to the variable qm (S109), and advances the process to step S105.
On the other hand, when the result of determination in step S107 is affirmative, the prescription content determination unit 313 advances the process to step S113.
If the result of the determination in step S105 is negative, the determination result output unit 314 outputs improper dose notification information IF1[m] (S111), and advances the process to step S113. Note that the determination result output unit 314 outputs the incorrect dose notification information IF1[m] to display the dose caution mark MK1 at the position corresponding to the prescription dose character string LQ[m] in the prescription content display image GH. . Note that the judgment result output unit 314, when the improper dose notification information IF1[m] is output, compares the number of characters of the prescription dose character string LQ[m] to when the improper dose notification information IF1[m] is not output. You may change the display mode, such as a color and a font.

次に、処方内容判定部313は、変数mが「m=M」を満たすか否かを判定する(S113)。
そして、ステップS113における判定の結果が否定の場合、処方内容判定部313は、変数mに「1」を加算して(S115)、処理をステップS103に進める。
他方、ステップS113における判定の結果が肯定の場合、制御部31は、用量判定処理を終了させる。
Next, the prescription content determination unit 313 determines whether or not the variable m satisfies "m=M" (S113).
Then, if the determination result in step S113 is negative, the prescription content determination unit 313 adds "1" to the variable m (S115), and advances the process to step S103.
On the other hand, if the determination result in step S113 is affirmative, the control section 31 terminates the dose determination process.

このように、本実施形態に係る用量判定処理(ステップS6)によれば、仮に、文字認識処理(ステップS2)による記載名称AM[m]の認識の精度が低く、処方箋読取装置1による記載名称AM[m]の認識結果である薬剤名称文字列LM[m]が、不正確な薬剤名称である場合において、記載名称AM[m]の認識結果である薬剤名称文字列LM[m]から類推し得る全ての薬剤名称YM[m][1]~YM[m][Qm]に対応する、Qm個の上限用量情報JYQ[m][1]~JYQ[m][Qm]を用いて、処方箋に記載された記載用量AQ[m]から類推される処方用量文字列LQ[m]の示す処方用量が適正か否かを判定する。このため、本実施形態によれば、処方箋読取装置1による記載名称AM[m]の認識結果である薬剤名称文字列LM[m]に誤りがある場合であっても、記載名称AM[m]に対応する薬剤が過剰に処方されることを抑制することができる。
また、本実施形態によれば、仮に、医師等による処方箋への入力ミスがあり、薬剤名称文字列LM[m]に対応する薬剤Md[m]が、本来患者に処方すべき薬剤の名称を正確に表していない場合において、薬剤名称文字列LM[m]から類推し得る全ての薬剤名称YM[m][1]~YM[m][Qm]に対応する、Qm個の上限用量情報JYQ[m][1]~JYQ[m][Qm]を用いて、処方箋に記載された記載用量AQ[m]から類推される処方用量文字列LQ[m]の示す処方用量が適正か否かを判定する。このため、本実施形態にいよれば、医師による処方箋への入力ミス等、処方箋における記載名称AM[m]の記載に誤りがある場合であっても、記載名称AM[m]に対応する薬剤が過剰に処方されることを抑制することができる。
As described above, according to the dose determination process (step S6) according to the present embodiment, if the recognition accuracy of the written name AM[m] by the character recognition process (step S2) is low and the written name by the prescription reading device 1 When the drug name character string LM[m], which is the recognition result of AM[m], is an inaccurate drug name, analogy is made from the drug name character string LM[m], which is the recognition result of the listed name AM[m]. Using Qm pieces of upper limit dose information JYQ[m][1] to JYQ[m][Qm] corresponding to all possible drug names YM[m][1] to YM[m][Qm], It is determined whether or not the prescribed dose indicated by the prescribed dose character string LQ[m], which is inferred from the stated dose AQ[m] written in the prescription, is appropriate. Therefore, according to the present embodiment, even if there is an error in the drug name character string LM[m], which is the recognition result of the description name AM[m] by the prescription reading device 1, the description name AM[m] It is possible to suppress the excessive prescription of drugs corresponding to
Further, according to the present embodiment, if there is an input error in the prescription by a doctor or the like, the drug Md[m] corresponding to the drug name character string LM[m] is not the name of the drug that should be prescribed to the patient. Qm pieces of upper limit dose information JYQ corresponding to all drug names YM[m][1] to YM[m][Qm] that can be inferred from the drug name character string LM[m] when not represented accurately Using [m][1]~JYQ[m][Qm], whether or not the prescription dose indicated by the prescription dose character string LQ[m], which is inferred from the stated dose AQ[m] written in the prescription, is appropriate judge. Therefore, according to the present embodiment, even if there is an error in the description of the description name AM[m] in the prescription, such as an input error in the prescription by the doctor, the drug corresponding to the description name AM[m] can be suppressed from being excessively prescribed.

図15は、図2のステップS7に示す期間判定処理が実行される場合の、処方箋確認装置3の動作の一例を示すフローチャートである。なお、図15のフローチャートに示す処理は、ステップS105の処理の代わりに、ステップS205の処理を実行する点と、ステップS111の処理の代わりに、ステップS211の処理を実行する点とを除き、図14のフローチャートに示す処理と同様である。 FIG. 15 is a flow chart showing an example of the operation of the prescription confirmation device 3 when the period determination process shown in step S7 of FIG. 2 is executed. 15 except that the process of step S205 is executed instead of the process of step S105, and the process of step S211 is executed instead of the process of step S111. 14 is the same as the processing shown in the flowchart of FIG.

図15に例示するように、期間判定処理において、処方内容判定部313は、処方期間文字列LR[m]の表す処方期間が、上限期間YR[m][qm]以下であるか否かを判定する(S205)。
また、ステップS205における判定の結果が否定の場合、判定結果出力部314は、期間不正通知情報IF2[m]を出力する(S211)。なお、判定結果出力部314は、期間不正通知情報IF2[m]を出力することで、処方箋内容表示画像GHの処方期間文字列LR[m]に対応する位置に、期間注意マークMK2を表示させる。なお、判定結果出力部314は、期間不正通知情報IF2[m]が出力された場合、期間不正通知情報IF2[m]が出力されないときと比較して、処方期間文字列LR[m]の文字色やフォント等の表示態様を変化させてもよい。
なお、他の処理は、図14に示す用量判定処理と同様であるので、説明を省略する。
As illustrated in FIG. 15, in the period determination process, the prescription content determination unit 313 determines whether the prescription period indicated by the prescription period character string LR[m] is equal to or shorter than the upper limit period YR[m][qm]. Determine (S205).
If the result of determination in step S205 is negative, the determination result output unit 314 outputs period irregularity notification information IF2[m] (S211). Note that the determination result output unit 314 displays the period warning mark MK2 at the position corresponding to the prescription period character string LR[m] in the prescription content display image GH by outputting the period irregularity notification information IF2[m]. . It should be noted that the determination result output unit 314, when the period irregularity notification information IF2[m] is output, compares the number of characters of the prescription period character string LR[m] to the case where the period irregularity notification information IF2[m] is not output. You may change the display mode, such as a color and a font.
Other processes are the same as the dose determination process shown in FIG. 14, so description thereof will be omitted.

このように、本実施形態に係る期間判定処理によれば、仮に、文字認識処理による記載名称AM[m]の認識の精度が低く、処方箋読取装置1による記載名称AM[m]の認識結果である薬剤名称文字列LM[m]が、不正確な薬剤名称である場合において、記載名称AM[m]の認識結果である薬剤名称文字列LM[m]から類推し得る全ての薬剤名称YM[m][1]~YM[m][Qm]に対応する、Qm個の上限期間情報JYR[m][1]~JYR[m][Qm]を用いて、処方箋に記載された記載用量AQ[m]から類推される処方期間文字列LR[m]の示す処方期間が適正か否かを判定する。このため、本実施形態によれば、処方箋読取装置1による記載名称AM[m]の認識結果である薬剤名称文字列LM[m]に誤りがある場合であっても、記載名称AM[m]に対応する薬剤が上限期間を超えて処方されることを抑制することができる。
また、本実施形態によれば、仮に、医師等による処方箋への入力ミスがあり、薬剤名称文字列LM[m]に対応する薬剤が、本来患者に処方すべき薬剤の名称を正確に表していない場合において、薬剤名称文字列LM[m]から類推し得る全ての薬剤名称YM[m][1]~YM[m][Qm]に対応する、Qm個の上限期間情報JYR[m][1]~JYR[m][Qm]を用いて、処方箋に記載された記載用量AQ[m]から類推される処方期間文字列LR[m]の示す処方期間が適正か否かを判定する。このため、本実施形態にいよれば、医師による処方箋への入力ミス等、処方箋における記載名称AM[m]の記載に誤りがある場合であっても、記載名称AM[m]に対応する薬剤が上限期間を超えて処方されることを抑制することができる。
As described above, according to the period determination process according to the present embodiment, if the recognition accuracy of the written name AM[m] by the character recognition process is low and the recognition result of the written name AM[m] by the prescription reading device 1 is If a certain drug name character string LM[m] is an inaccurate drug name, all drug names YM[ Using Qm pieces of upper limit period information JYR[m][1] to JYR[m][Qm] corresponding to m][1] to YM[m][Qm], the written dose AQ described in the prescription It is determined whether or not the prescription period indicated by the prescription period character string LR[m] inferred from [m] is appropriate. Therefore, according to the present embodiment, even if there is an error in the drug name character string LM[m], which is the recognition result of the description name AM[m] by the prescription reading device 1, the description name AM[m] It can be suppressed that the drug corresponding to is prescribed beyond the upper limit period.
Further, according to the present embodiment, if there is an input error in the prescription by the doctor or the like, the drug corresponding to the drug name character string LM[m] does not accurately represent the name of the drug that should be prescribed to the patient. Q m pieces of upper limit period information JYR[m][ 1] to JYR[m][Qm] is used to determine whether or not the prescription period indicated by the prescription period character string LR[m] analogized from the stated dose AQ[m] written in the prescription is appropriate. Therefore, according to the present embodiment, even if there is an error in the description of the description name AM[m] in the prescription, such as an input error in the prescription by the doctor, the drug corresponding to the description name AM[m] can be suppressed from being prescribed beyond the upper limit period.

図16及び図17は、図2のステップS8に示す併用判定処理が実行される場合の、処方箋確認装置3の動作の一例を示すフローチャートである。 16 and 17 are flowcharts showing an example of the operation of the prescription confirmation device 3 when the combined use determination process shown in step S8 of FIG. 2 is executed.

図16に例示するように、併用判定処理が開始されると、処方内容判定部313は、変数mに「1」を設定する(S301)。次に、処方内容判定部313は、変数qmに「1」を設定する(S303)。また、処方内容判定部313は、変数nに「1」を設定する(S305)。また、処方内容判定部313は、変数qnに「1」を設定する(S307)。 As illustrated in FIG. 16, when the combined use determination process is started, the prescription content determination unit 313 sets the variable m to "1" (S301). Next, the prescription content determination unit 313 sets "1" to the variable qm (S303). In addition, the prescription content determination unit 313 sets "1" to the variable n (S305). In addition, the prescription content determination unit 313 sets the variable qn to "1" (S307).

そして、処方内容判定部313は、併用禁忌薬情報JYK[m][qm]の示す併用禁忌薬YK[m][qm]の全てが、薬剤名称文字列LM[n][qn]の表す薬剤と不一致であるか否かを判定する(S309)。
ステップS309における判定の結果が肯定の場合、処方内容判定部313は、併用注意薬情報JYC[m][qm]の示す併用注意薬YC[m][qm]の全てが、薬剤名称文字列LM[n][qn]の表す薬剤と不一致であるか否かを判定する(S311)。
Then, the prescription content determination unit 313 determines that all of the contraindicated drugs YK[m][qm] indicated by the contraindicated drug information JYK[m][qm] are the drugs indicated by the drug name character string LM[n][qn]. and is inconsistent (S309).
When the result of determination in step S309 is affirmative, the prescription content determination unit 313 determines that all of the combined caution medicine YC[m][qm] indicated by the combined caution medicine information JYC[m][qm] is the drug name character string LM It is determined whether or not there is a mismatch with the drug represented by [n][qn] (S311).

ステップS309における判定の結果が否定の場合、または、ステップS311における判定の結果が否定の場合、判定結果出力部314は、併用不正通知情報IF3[m]を出力し(S313)、処理をステップS333に進める。なお、判定結果出力部314は、併用不正通知情報IF3[m]を出力することで、処方箋内容表示画像GHの薬剤名称文字列LM[m]に対応する位置に、併用注意マークMK3を表示させる。なお、判定結果出力部314は、併用不正通知情報IF3[m]が出力された場合、併用不正通知情報IF3[m]が出力されないときと比較して、薬剤名称文字列LM[m]の文字色やフォント等の表示態様を変化させてもよい。 If the result of the determination in step S309 is negative, or if the result of the determination in step S311 is negative, the determination result output unit 314 outputs combined fraudulent notification information IF3[m] (S313), and the process proceeds to step S333. proceed to Note that the determination result output unit 314 outputs the combined use fraud notification information IF3[m] to display the combined use caution mark MK3 at the position corresponding to the drug name character string LM[m] in the prescription content display image GH. . It should be noted that the determination result output unit 314, when the combined use fraudulent notification information IF3[m] is output, compares with the case where the combined use fraudulent notification information IF3[m] is not output, the characters of the drug name character string LM[m] You may change the display mode, such as a color and a font.

図17に例示するように、ステップS311における判定の結果が肯定の場合、処方内容判定部313は、変数qnが「qn=Qn」を満たすか否かを判定する(S321)。ここで、値Qnは、薬剤名称文字列LM[n]に対応する特定薬剤情報の個数である。
そして、ステップS321における判定の結果が否定の場合、処方内容判定部313は、変数qnに「1」を加算して(S323)、処理をステップS309に進める。
他方、ステップS321における判定の結果が肯定の場合、処方内容判定部313は、処理をステップS325に進める。
As illustrated in FIG. 17, when the result of determination in step S311 is affirmative, the prescription content determination unit 313 determines whether or not the variable qn satisfies "qn=Qn" (S321). Here, the value Qn is the number of pieces of specific drug information corresponding to the drug name character string LM[n].
Then, if the determination result in step S321 is negative, the prescription content determination unit 313 adds "1" to the variable qn (S323), and advances the process to step S309.
On the other hand, if the result of determination in step S321 is affirmative, the prescription content determination unit 313 advances the process to step S325.

次に、処方内容判定部313は、変数nが「n=M」を満たすか否かを判定する(S325)。
そして、ステップS325における判定の結果が否定の場合、処方内容判定部313は、変数nに「1」を加算して(S327)、処理をステップS307に進める。
他方、ステップS325における判定の結果が肯定の場合、処方内容判定部313は、処理をステップS329に進める。
Next, the prescription content determination unit 313 determines whether or not the variable n satisfies “n=M” (S325).
Then, if the determination result in step S325 is negative, the prescription content determination unit 313 adds "1" to the variable n (S327), and advances the process to step S307.
On the other hand, if the result of determination in step S325 is affirmative, the prescription content determination unit 313 advances the process to step S329.

次に、処方内容判定部313は、変数qmが「qm=Qm」を満たすか否かを判定する(S329)。
そして、ステップS329における判定の結果が否定の場合、処方内容判定部313は、変数qmに「1」を加算して(S331)、処理をステップS305に進める。
他方、ステップS329における判定の結果が肯定の場合、処方内容判定部313は、処理をステップS333に進める。
Next, the prescription content determination unit 313 determines whether or not the variable qm satisfies "qm=Qm" (S329).
Then, if the determination result in step S329 is negative, the prescription content determination unit 313 adds "1" to the variable qm (S331), and advances the process to step S305.
On the other hand, if the result of determination in step S329 is affirmative, the prescription content determination unit 313 advances the process to step S333.

次に、処方内容判定部313は、変数mが「m=M」を満たすか否かを判定する(S333)。
そして、ステップS333における判定の結果が否定の場合、処方内容判定部313は、変数mに「1」を加算して(S335)、処理をステップS303に進める。
他方、ステップS333における判定の結果が肯定の場合、制御部31は、併用判定処理を終了させる。
Next, the prescription content determination unit 313 determines whether or not the variable m satisfies "m=M" (S333).
Then, if the determination result in step S333 is negative, the prescription content determination unit 313 adds "1" to the variable m (S335), and advances the process to step S303.
On the other hand, if the determination result in step S333 is affirmative, the control unit 31 terminates the combined use determination process.

このように、本実施形態に係る併用判定処理によれば、仮に、文字認識処理による記載名称AM[m]の認識の精度が低く、処方箋読取装置1による記載名称AM[m]の認識結果である薬剤名称文字列LM[m]が、不正確な薬剤名称である場合において、記載名称AM[m]の認識結果である薬剤名称文字列LM[m]から類推し得る全ての薬剤名称YM[m][1]~YM[m][Qm]に対応する、Qm個の併用薬剤情報JYH[m][1]~JYH[m][Qm]を用いて、処方箋に記載された薬の飲み合わせが適正か否かを判定する。このため、本実施形態によれば、処方箋読取装置1による記載名称AM[m]の認識結果である薬剤名称文字列LM[m]に誤りがある場合であっても、不適切な薬の飲み合わせにより薬剤が処方されることを抑制することができる。
また、本実施形態に係る併用判定処理によれば、仮に、医師等による処方箋への入力ミスがあり、薬剤名称文字列LM[m]に対応する薬剤Md[m]が、本来患者に処方すべき薬剤の名称を正確に表していない場合において、薬剤名称文字列LM[m]から類推し得る全ての薬剤名称YM[m][1]~YM[m][Qm]に対応する、Qm個の併用薬剤情報JYH[m][1]~JYH[m][Qm]を用いて、処方箋に記載された薬の飲み合わせが適正か否かを判定する。このため、本実施形態にいよれば、医師による処方箋への入力ミス等、処方箋における記載名称AM[m]の記載に誤りがある場合であっても、不適切な薬の飲み合わせにより薬剤が処方されることを抑制することができる。
As described above, according to the combination determination process according to the present embodiment, if the recognition accuracy of the written name AM[m] by the character recognition process is low, and the recognition result of the written name AM[m] by the prescription reading device 1 is If a certain drug name character string LM[m] is an inaccurate drug name, all drug names YM[ Using Qm pieces of concomitant drug information JYH[m][1] to JYH[m][Qm] corresponding to m][1] to YM[m][Qm], It is determined whether or not the alignment is proper. Therefore, according to the present embodiment, even if there is an error in the drug name character string LM[m], which is the recognition result of the description name AM[m] by the prescription reading device 1, it is possible to prevent inappropriate taking of the drug. Prescription of drugs can be suppressed by combination.
Further, according to the combination determination process according to the present embodiment, if there is an input error in the prescription by the doctor or the like, the drug Md[m] corresponding to the drug name character string LM[m] is not originally prescribed to the patient. Qm corresponding to all drug names YM[m][1] to YM[m][Qm] that can be inferred from the drug name character string LM[m] when the name of the drug to be used is not accurately represented is used to determine whether the combination of drugs described in the prescription is appropriate. For this reason, according to the present embodiment, even if there is an error in the description of the name AM[m] in the prescription, such as an input error in the prescription by the doctor, the drug may be lost due to inappropriate drug combination. Prescription can be suppressed.

<6.実施形態の結び>
以上において説明したように、本実施形態において、処方箋確認装置3(「情報処理装置」の一例)は、画像に含まれる文字を認識する文字認識処理により、処方箋に記載された薬剤Md[1](「第1薬剤」の一例)に係る記載名称AM[1](「第1薬剤の名称を示す文字列」の一例)を、薬剤名称文字列LM[1](「第1名称文字列」の一例)として認識し、処方箋に記載された薬剤Md[1]に係る記載用法AN[1](「第1薬剤の処方内容を示す文字列」の一例)を、処方内容文字列LN[1](「第1内容文字列」の一例)として認識する文字認識部112(「認識部」の一例)を有する処方箋読取装置1から、薬剤名称文字列LM[1]及び処方内容文字列LN[1]を示す薬剤文字情報JP[1](「第1文字情報」の一例)を取得する文字情報取得部311と、処方箋に記載される可能性のある複数の薬剤に対応する複数の薬剤情報JYを記憶する記憶部72を有する薬剤データベースサーバ7から、薬剤名称文字列LM[1]に関連する薬剤情報JYを、特定薬剤情報として取得する薬剤情報取得部312と、処方内容文字列LN[1]の示す薬剤Md[1]の処方内容が、特定薬剤情報の示す薬剤の使用方法に適合するか否かを判定する処方内容判定部313(「判定部」の一例)と、処方内容判定部313による判定の結果に基づく情報を出力する判定結果出力部314(「出力部」の一例)と、を備える、ことを特徴とする。
<6. Conclusion of Embodiment>
As described above, in the present embodiment, the prescription confirmation device 3 (an example of an “information processing device”) performs character recognition processing for recognizing characters included in an image to determine the medicine Md[1] written in the prescription. (an example of a “first drug”) is replaced with a drug name character string LM[1] (an example of a “first name character string”). example), and the description usage AN[1] (an example of "a character string indicating the prescription content of the first drug") related to the drug Md[1] described in the prescription is converted to a prescription content character string LN[1 ] (an example of a “first content character string”), a drug name character string LM[1] and a prescription content character string LN[ 1] (an example of “first character information”), and a plurality of drug information corresponding to a plurality of drugs that may be described in a prescription. A drug information acquisition unit 312 that acquires drug information JY related to the drug name character string LM[1] as specific drug information from the drug database server 7 having a storage unit 72 that stores JY, and a prescription content character string LN[ 1], a prescription content determination unit 313 (an example of a “determination unit”) that determines whether or not the prescription content of the drug Md[1] indicated by the specific drug information conforms to the usage method of the drug indicated by the specific drug information; and a determination result output unit 314 (an example of an “output unit”) that outputs information based on the determination result of the unit 313 .

すなわち、本実施形態によれば、処方内容判定部313は、処方箋から文字認識処理により認識された処方内容文字列LN[1]の示す薬剤Md[1]の処方内容が、特定薬剤情報として薬剤データベースサーバ7から取得した薬剤情報JYの示す薬剤の使用方法に適合するか否かを判定する。このため、本実施形態によれば、処方箋から文字認識処理により認識された結果に従って薬剤が処方される態様と比較して、文字認識処理における文字の誤認識、または、医師により発行された処方箋における記載内容の誤り等に起因して、本来の薬剤の使用方法に適合しない態様での薬剤の処方がなされる可能性を、抑制することができる。 That is, according to the present embodiment, the prescription content determination unit 313 determines that the prescription content of the drug Md[1] indicated by the prescription content character string LN[1] recognized by the character recognition process from the prescription is the specific drug information. It is determined whether or not the method of use of the drug indicated by the drug information JY obtained from the database server 7 is suitable. For this reason, according to the present embodiment, compared to the aspect in which a drug is prescribed according to the result recognized by character recognition processing from a prescription, there is an error in character recognition in character recognition processing, or a prescription issued by a doctor. It is possible to suppress the possibility of prescribing a drug in a manner that does not conform to the intended usage of the drug due to an error in the description or the like.

また、本実施形態において、処方箋には、薬剤Md[1]の処方内容として、薬剤Md[1]に係る記載用量AQ[1]が記載され、記憶部72が記憶する複数の薬剤情報JYの各々は、当該薬剤情報JYに対応する薬剤の上限用量YQを示す上限用量情報JYQ(「用量情報」の一例)を含み、処方内容判定部313は、処方内容文字列LN[1]の示す薬剤Md[1]の処方用量が、特定薬剤情報に含まれる上限用量情報JYQの示す上限用量YQ以下であるか否かを判定する用量判定処理(「第1の判定処理」の一例)を行い、判定結果出力部314は、用量判定処理における判定結果が否定の場合に、用量不正通知情報IF1[1](「処方箋に記載された第1薬剤の処方内容に誤りがある旨の情報」の一例)を出力する、ことを特徴とする。 Further, in the present embodiment, the prescription describes the dose AQ[1] related to the drug Md[1] as the content of the prescription of the drug Md[1], and the drug information JY stored in the storage unit 72. Each includes upper limit dose information JYQ (an example of “dosage information”) indicating the upper limit dose YQ of the drug corresponding to the drug information JY, and the prescription content determination unit 313 determines the drug indicated by the prescription content character string LN[1]. performing a dose determination process (an example of a "first determination process") for determining whether or not the prescribed dose of Md[1] is equal to or less than the upper limit dose YQ indicated by the upper limit dose information JYQ included in the specific drug information; If the determination result in the dose determination process is negative, the determination result output unit 314 outputs incorrect dose notification information IF1[1] (an example of "information indicating that there is an error in the prescription content of the first medicine described in the prescription"). ) is output.

すなわち、本実施形態によれば、処方内容判定部313は、処方箋から文字認識処理により認識された処方内容文字列LN[1]の示す薬剤Md[1]の処方用量が、薬剤データベースサーバ7から取得した薬剤情報JYの示す上限用量YQ以下であるか否かを判定する。このため、本実施形態によれば、処方箋から文字認識処理により認識された結果に従って薬剤が処方される態様と比較して、文字認識処理における文字の誤認識、または、医師により発行された処方箋における記載内容の誤り等に起因して、薬剤Md[1]が過剰に処方される可能性を、抑制することができる。 That is, according to the present embodiment, the prescription content determination unit 313 determines that the prescription dose of the drug Md[1] indicated by the prescription content character string LN[1] recognized from the prescription by character recognition processing is obtained from the drug database server 7. It is determined whether or not it is equal to or less than the upper limit dose YQ indicated by the acquired drug information JY. For this reason, according to the present embodiment, compared to the aspect in which a drug is prescribed according to the result recognized by character recognition processing from a prescription, there is an error in character recognition in character recognition processing, or a prescription issued by a doctor. It is possible to suppress the possibility that the drug Md[1] is excessively prescribed due to an error in the description.

また、本実施形態において、処方箋には、薬剤Md[2](「第2薬剤」の一例)に係る記載名称AM[2](「第2薬剤の名称」の一例)が記載され、文字認識部112は、文字認識処理により、処方箋に記載された薬剤Md[2]に係る記載名称AM[2]を、薬剤名称文字列LM[2](「第2名称文字列」の一例)として認識し、文字情報取得部311は、文字認識部112を備える処方箋読取装置1から、薬剤名称文字列LM[2]を示す薬剤文字情報JP[2](「第2文字情報」の一例)を取得し、記憶部72が記憶する複数の薬剤情報JYの各々は、当該薬剤情報JYに対応する薬剤の併用禁忌薬YK及び併用注意薬YCに関する併用薬剤情報JYH(「併用情報」の一例)を含み、処方内容判定部313は、特定薬剤情報に含まれる併用薬剤情報JYHに基づいて、薬剤名称文字列LM[2]に関連する名称を有する薬剤が、薬剤Md[1]の併用禁忌薬YK及び併用注意薬YCの何れにも含まれないことを判定する併用判定処理(「第2の判定処理」の一例)を行い、判定結果出力部314は、併用判定処理における判定結果が否定の場合に、併用不正通知情報IF3[m](「処方箋に記載された第1薬剤の処方内容に誤りがある旨の情報」の一例)を出力する、ことを特徴とする。 Further, in the present embodiment, the prescription describes the name AM[2] (an example of the "name of the second drug") related to the drug Md[2] (an example of the "second drug"), and character recognition The unit 112 recognizes the description name AM[2] related to the drug Md[2] described in the prescription as the drug name character string LM[2] (an example of the "second name character string") through character recognition processing. Then, the character information acquisition unit 311 acquires drug character information JP[2] (an example of “second character information”) indicating the drug name character string LM[2] from the prescription reading device 1 including the character recognition unit 112. Each of the plurality of drug information JY stored in the storage unit 72 includes concomitant drug information JYH (an example of "concomitant information") related to contraindicated drug YK and precautionary drug YC for the drug corresponding to the drug information JY. Based on the concomitant drug information JYH included in the specific drug information, the prescription content determination unit 313 determines that the drug having a name related to the drug name character string LM[2] is the drug Md[1] contraindicated drug YK and Performs a combination determination process (an example of a "second determination process") to determine that it is not included in any of the combination caution medicines YC, and the determination result output unit 314 outputs a negative result when the determination result in the combination determination process is negative. , combined use fraudulent notification information IF3[m] (an example of "information to the effect that there is an error in the prescription content of the first medicine described in the prescription") is output.

すなわち、本実施形態によれば、処方内容判定部313は、薬剤名称文字列LM[2]に関連する名称を有する薬剤が、薬剤Md[1]の併用禁忌薬YK及び併用注意薬YCの何れにも含まれないことを判定する。このため、本実施形態によれば、処方箋から文字認識処理により認識された結果に従って薬剤が処方される態様と比較して、不適切な薬の飲み合わせにより薬剤が処方されることを抑制することができる。 That is, according to the present embodiment, the prescription content determination unit 313 determines that the drug having the name related to the drug name character string LM[2] is either the contraindicated drug YK or the precautionary drug YC of the drug Md[1]. It is determined that it is not included in For this reason, according to the present embodiment, it is possible to suppress the prescription of drugs due to inappropriate drug combinations, compared to the mode in which drugs are prescribed according to the results recognized by character recognition processing from the prescription. can be done.

また、本実施形態において、薬剤情報取得部312は、記憶部72が記憶する複数の薬剤情報JYの中に、薬剤名称文字列LM[1]に一致する薬剤名称YMを含む薬剤情報JYが存在する場合は、当該薬剤情報JYを特定薬剤情報として取得し、記憶部72が記憶する複数の薬剤情報JYの中に、薬剤名称文字列LM[1]に一致する薬剤名称YMを含む薬剤情報JYが存在しない場合は、薬剤名称文字列LM[1]との類似度が所定の類似度以上の薬剤名称YMを含む1または複数の薬剤情報JYの各々を、特定薬剤情報として取得する、ことを特徴とする。 In the present embodiment, the drug information acquisition unit 312 determines that the drug information JY including the drug name YM that matches the drug name character string LM[1] exists among the plurality of drug information JY stored in the storage unit 72. In this case, the drug information JY is acquired as the specific drug information, and the drug information JY including the drug name YM that matches the drug name character string LM[1] is included in the plurality of drug information JY stored in the storage unit 72. does not exist, each of one or more pieces of drug information JY containing a drug name YM whose degree of similarity with the drug name character string LM[1] is equal to or greater than a predetermined degree of similarity is acquired as specific drug information. Characterized by

すなわち、本実施形態によれば、薬剤情報取得部312は、記載名称AM[1]の認識結果である薬剤名称文字列LM[1]から類推し得る1または複数の薬剤名称YMに対応する、1または複数の薬剤情報JYを取得する。このため、本実施形態によれば、文字認識処理による記載名称AM[1]の認識の精度が低く、処方箋読取装置1による記載名称AM[1]の認識結果である薬剤名称文字列LM[1]が、不正確な薬剤名称である場合においても、本来の薬剤の使用方法に適合しない態様での薬剤の処方がなされる可能性を、抑制することができる。 That is, according to this embodiment, the drug information acquisition unit 312 corresponds to one or more drug names YM that can be inferred from the drug name character string LM[1], which is the recognition result of the listed name AM[1]. Acquire one or more drug information JY. Therefore, according to the present embodiment, the recognition accuracy of the written name AM[1] by the character recognition process is low, and the drug name character string LM[1], which is the recognition result of the written name AM[1] by the prescription reading device 1, is low. ] is an inaccurate drug name, it is possible to suppress the possibility of prescribing the drug in a manner that does not conform to the original usage of the drug.

また、本実施形態において、処方内容判定部313は、薬剤情報取得部312が記憶部72から複数の薬剤情報JYに対応する複数の特定薬剤情報を取得した場合、処方内容文字列LN[1]の示す薬剤Md[1]の処方内容が、複数の特定薬剤情報の示す複数の薬剤の使用方法の各々に適合するか否かを判定し、判定結果出力部314は、薬剤情報取得部312が、薬剤Md[1]の処方内容が複数の特定薬剤情報の示す複数の薬剤の使用方法のうち少なくとも1つの薬剤の使用方法に適合しない旨の判定をした場合、処方箋に記載された薬剤Md[1]の処方内容に誤りがある旨の情報を出力する、ことを特徴とする。 Further, in the present embodiment, when the drug information acquisition unit 312 acquires a plurality of pieces of specific drug information corresponding to a plurality of pieces of drug information JY from the storage unit 72, the prescription content determination unit 313 determines that the prescription content character string LN[1] The determination result output unit 314 determines whether or not the prescription content of the drug Md[1] indicated by is compatible with each of the usage methods of the plurality of drugs indicated by the plurality of specific drug information. , when it is determined that the prescription content of the drug Md[1] does not conform to at least one drug usage method among the plurality of drug usage methods indicated by the plurality of specific drug information, the drug Md[1] described in the prescription 1] is characterized by outputting information to the effect that there is an error in the content of the prescription.

このため、本実施形態によれば、文字認識処理による記載名称AM[1]の認識の精度が低く、処方箋読取装置1による記載名称AM[1]の認識結果である薬剤名称文字列LM[1]が、不正確な薬剤名称である場合においても、本来の薬剤の使用方法に適合しない態様での薬剤の処方がなされる可能性を、抑制することができる。 Therefore, according to the present embodiment, the recognition accuracy of the written name AM[1] by the character recognition process is low, and the drug name character string LM[1], which is the recognition result of the written name AM[1] by the prescription reading device 1, is low. ] is an inaccurate drug name, it is possible to suppress the possibility of prescribing the drug in a manner that does not conform to the original usage of the drug.

<7.変形例>
以上の各形態は多様に変形され得る。具体的な変形の態様を以下に例示する。以下の例示から任意に選択された2以上の態様は、相互に矛盾しない範囲内で適宜に併合され得る。なお、以下に例示する変形例において作用や機能が実施形態と同等である要素については、以上の説明で参照した符号を流用して各々の詳細な説明を適宜に省略する。
<7. Variation>
Each of the above forms can be variously modified. Specific modification modes are exemplified below. Two or more aspects arbitrarily selected from the following examples can be combined as appropriate within a mutually consistent range. It should be noted that, in the modifications illustrated below, the reference numerals referred to in the above description will be used for the elements that have the same actions and functions as those of the embodiment, and the detailed description of each will be omitted as appropriate.

<変形例1>
上述した実施形態では、画像情報取得部111及び文字認識部112が、処方箋確認装置3の外部に設けられる場合を例示したが、本発明はこのような態様に限定されるものではない。例えば、画像情報取得部111及び文字認識部112の一方または両方が、処方箋確認装置3に設けられてもよい。
<Modification 1>
In the above-described embodiment, the image information acquisition unit 111 and the character recognition unit 112 are provided outside the prescription confirmation device 3, but the present invention is not limited to such an aspect. For example, one or both of the image information acquisition unit 111 and the character recognition unit 112 may be provided in the prescription confirmation device 3 .

図18は、本変形例に係る処方箋認識システムSys-Bの概要の一例を説明するための説明図である。 FIG. 18 is an explanatory diagram for explaining an example of the outline of the prescription recognition system Sys-B according to this modified example.

図18に例示するように、処方箋認識システムSys-Bは、処方箋確認装置3の代わりに処方箋確認装置3Bを備える点と、処方箋読取装置1を備えない点とを除き、実施形態に係る処方箋認識システムSysと同様に構成されている。 As illustrated in FIG. 18 , the prescription recognition system Sys-B includes a prescription confirmation device 3B instead of the prescription confirmation device 3, and does not include the prescription reading device 1. It is configured in the same way as the system Sys.

図19は、処方箋確認装置3Bの構成の一例を示す機能ブロック図である。 FIG. 19 is a functional block diagram showing an example of the configuration of the prescription confirmation device 3B.

図19に例示するように、処方箋確認装置3Bは、制御部31の代わりに制御部31Bを備える点と、記憶部32の代わりに記憶部32Bを備える点と、撮像部14を備える点と、を除き、実施形態に係る処方箋確認装置3と同様に構成されている。
このうち、制御部31Bは、文字情報取得部311の代わりに画像情報取得部111を備える点と、文字認識部112を備える点と、を除き、実施形態に係る制御部31と同様に構成されている。
また、記憶部32Bは、学習モデルNN、処方箋情報JSS、及び、処方箋画像情報JGSを記憶している点と、制御プログラムPG3の代わりに、制御プログラムPG3Bを記憶している点とを除き、実施形態に係る記憶部32と同様に構成されている。
なお、処方箋確認装置3Bのハードウェア構成は、図8に例示する実施形態に係る処方箋確認装置3のハードウェア構成と同様である。本変形例において、プロセッサ3001は、記憶装置3002に記憶された制御プログラムPG3Bを実行し、当該制御プログラムPG3Bに従って動作することで、制御部31Bとして機能する。
As illustrated in FIG. 19, the prescription confirmation device 3B includes a control unit 31B instead of the control unit 31, a storage unit 32B instead of the storage unit 32, and an imaging unit 14. Except for this, it is configured in the same manner as the prescription confirmation device 3 according to the embodiment.
Of these, the control unit 31B is configured in the same manner as the control unit 31 according to the embodiment, except that it has an image information acquisition unit 111 instead of the character information acquisition unit 311 and a character recognition unit 112. ing.
In addition, the storage unit 32B stores the learning model NN, the prescription information JSS, and the prescription image information JGS, and stores the control program PG3B instead of the control program PG3. It is configured in the same manner as the storage unit 32 according to the embodiment.
The hardware configuration of the prescription confirmation device 3B is the same as the hardware configuration of the prescription confirmation device 3 according to the embodiment illustrated in FIG. In this modification, the processor 3001 executes the control program PG3B stored in the storage device 3002 and operates according to the control program PG3B, thereby functioning as the control unit 31B.

以上において説明したように、本変形例において、処方箋確認装置3B(「情報処理装置」の一例)は、処方箋の画像である処方箋画像GSを示す処方箋画像情報JGS(「画像情報」の一例)を取得する画像情報取得部111と、処方箋画像情報JGSに基づいて、処方箋に記載された薬剤Md[1]に係る記載名称AM[1]を、薬剤名称文字列LM[1](「第1名称文字列」の一例)として認識し、処方箋に記載された薬剤Md[1]に係る記載用法AN[1]を、処方内容文字列LN[1](「第1内容文字列」の一例)として認識する文字認識部112(「認識部」の一例)と、処方箋に記載される可能性のある複数の薬剤に対応する複数の薬剤情報JYを記憶する記憶部72を有する薬剤データベースサーバ7から、薬剤名称文字列LM[1]に関連する薬剤情報JYを、特定薬剤情報として取得する薬剤情報取得部312と、処方内容文字列LN[1]の示す薬剤Md[1]の処方内容が、特定薬剤情報の示す薬剤の使用方法に適合するか否かを判定する処方内容判定部313(「判定部」の一例)と、処方内容判定部313による判定の結果に基づく情報を出力する判定結果出力部314(「出力部」の一例)と、を備える、ことを特徴とする。 As described above, in this modified example, the prescription confirmation device 3B (an example of the “information processing device”) receives the prescription image information JGS (an example of the “image information”) indicating the prescription image GS that is the image of the prescription. Based on the image information acquisition unit 111 to acquire and the prescription image information JGS, the description name AM[1] related to the drug Md[1] described in the prescription is changed to the drug name character string LM[1] ("first name character string”), and the description usage AN[1] related to the drug Md[1] described in the prescription is recognized as the prescription content character string LN[1] (an example of the “first content character string”). From the drug database server 7 having a character recognition unit 112 (an example of a “recognition unit”) that recognizes and a storage unit 72 that stores a plurality of drug information JY corresponding to a plurality of drugs that may be described in a prescription, The drug information acquisition unit 312 acquires the drug information JY related to the drug name character string LM[1] as the specific drug information, and the prescription content of the drug Md[1] indicated by the prescription content character string LN[1] is specified. A prescription determination unit 313 (an example of a “determination unit”) that determines whether or not the drug is suitable for the usage method indicated by the drug information, and a determination result output that outputs information based on the determination result of the prescription content determination unit 313 and a unit 314 (an example of an “output unit”).

すなわち、変形例によれば、処方内容判定部313は、処方箋から文字認識処理により認識された処方内容文字列LN[1]の示す薬剤Md[1]の処方内容が、特定薬剤情報として薬剤データベースサーバ7から取得した薬剤情報JYの示す薬剤の使用方法に適合するか否かを判定する。このため、本実施形態によれば、処方箋から文字認識処理により認識された結果に従って薬剤が処方される態様と比較して、文字認識処理における文字の誤認識、または、医師により発行された処方箋における記載内容の誤り等に起因して、本来の薬剤の使用方法に適合しない態様での薬剤の処方がなされる可能性を、抑制することができる。 That is, according to the modified example, the prescription content determination unit 313 determines that the prescription content of the drug Md[1] indicated by the prescription content character string LN[1] recognized from the prescription by character recognition processing is stored in the drug database as the specific drug information. It is determined whether or not the method of use of the drug indicated by the drug information JY obtained from the server 7 is suitable. For this reason, according to the present embodiment, compared to the aspect in which a drug is prescribed according to the result recognized by character recognition processing from a prescription, there is an error in character recognition in character recognition processing, or a prescription issued by a doctor. It is possible to suppress the possibility of prescribing a drug in a manner that does not conform to the intended usage of the drug due to an error in the description or the like.

<変形例2>
上述した実施形態及び変形例1では、薬剤一覧情報テーブルTBL7が、処方箋確認装置3(または、処方箋確認装置3B)の外部に設けられる場合を例示したが、本発明はこのような態様に限定されるものではない。薬剤一覧情報テーブルTBL7は、例えば、処方箋確認装置3(または、処方箋確認装置3B)の備える、記憶部32(または、記憶部32B)に記憶されてもよい。
<Modification 2>
In the above-described embodiment and modification 1, the drug list information table TBL7 is provided outside the prescription confirmation device 3 (or the prescription confirmation device 3B), but the present invention is limited to such an aspect. not something. The drug list information table TBL7 may be stored, for example, in the storage unit 32 (or storage unit 32B) provided in the prescription confirmation device 3 (or prescription confirmation device 3B).

<変形例3>
上述した実施形態並びに変形例1及び2において、処方内容判定部313は、処方箋に記載された複数の薬剤の中に、併用注意とされる複数の薬剤の組みが含まれていないことを判定するが、本発明はこのような態様に限定されるものではない。処方内容判定部313は、少なくとも、処方箋に記載された複数の薬剤の中に、併用禁忌とされる複数の薬剤の組みが含まれていないことを判定すればよい。
<Modification 3>
In the above-described embodiment and Modifications 1 and 2, the prescription determination unit 313 determines that a combination of multiple drugs that are cautioned for combined use is not included in the multiple drugs described in the prescription. However, the present invention is not limited to such an embodiment. The prescription content determination unit 313 may at least determine that a combination of a plurality of drugs that are contraindicated for combined use is not included in the plurality of drugs described in the prescription.

<変形例4>
上述した実施形態及び変形例3では、処方箋読取装置1において文字認識処理が実行される場合を例示したが、本発明はこのような態様に限定されるものではない。例えば、文字認識処理は、処方箋読取装置1とは異なる装置において実行されてもよい。
<Modification 4>
In the above-described embodiment and modified example 3, the case where the character recognition process is executed in the prescription reading device 1 was illustrated, but the present invention is not limited to such an aspect. For example, the character recognition process may be performed in a device different from the prescription reading device 1 .

図20は、本変形例に係る処方箋認識システムSys-Cの概要の一例を説明するための説明図である。 FIG. 20 is an explanatory diagram for explaining an example of the outline of the prescription recognition system Sys-C according to this modified example.

図20に例示するように、処方箋認識システムSys-Cは、処方箋読取装置1の代わりに処方箋読取装置1Cを備える点と、文字認識装置9を備える点と、を除き、実施形態に係る処方箋認識システムSysと同様に構成される。 As exemplified in FIG. 20, the prescription recognition system Sys-C includes a prescription reading device 1C instead of the prescription reading device 1, and a character recognition device 9. It is configured similarly to system Sys.

図21は、処方箋認識システムSys-Cが処方箋確認処理を行う場合の、処方箋認識システムSys-Cの動作の概略の一例を示すシーケンスチャートである。 FIG. 21 is a sequence chart showing an example of an outline of the operation of the prescription recognition system Sys-C when the prescription recognition system Sys-C performs prescription confirmation processing.

図21に示すように、本変形例に係る処方箋認識システムSys-Cにおいて、処方箋確認処理が実行される場合、処方箋読取装置1Cは、処方箋撮像処理を実行する(S1)。
次に、処方箋読取装置1Cは、ステップS1の処方箋撮像処理において生成した処方箋画像情報JGSを、文字認識装置9に送信する(S11)。
そして、文字認識装置9は、処方箋読取装置1Cから供給された処方箋画像情報JGSに基づいて、処方箋画像情報JGSの示す処方箋画像GSに含まれる文字を認識する文字認識処理を実行する(S2)。
その後、文字認識装置9は、ステップS2において生成された処方箋文字情報JSを、処方箋確認装置3に対して送信する(S3)。
なお、ステップS4以降の処理は、実施形態に係る処方箋認識システムSysと同様であるため、説明を割愛する。
As shown in FIG. 21, in the prescription recognition system Sys-C according to this modified example, when the prescription confirmation process is executed, the prescription reading device 1C executes the prescription imaging process (S1).
Next, the prescription reading device 1C transmits the prescription image information JGS generated in the prescription imaging process of step S1 to the character recognition device 9 (S11).
Then, based on the prescription image information JGS supplied from the prescription reading device 1C, the character recognition device 9 executes character recognition processing for recognizing characters included in the prescription image GS indicated by the prescription image information JGS (S2).
After that, the character recognition device 9 transmits the prescription character information JS generated in step S2 to the prescription confirmation device 3 (S3).
In addition, since the process after step S4 is the same as that of the prescription recognition system Sys which concerns on embodiment, description is omitted.

図22は、処方箋読取装置1Cの構成の一例を示す機能ブロック図である。 FIG. 22 is a functional block diagram showing an example of the configuration of the prescription reading device 1C.

図22に例示するように、処方箋読取装置1Cは、制御部11の代わりに制御部11Cを備える点と、記憶部12の代わりに記憶部12Cを備える点と、を除き、実施形態に係る処方箋読取装置1と同様に構成されている。
このうち、制御部11Cは、文字認識部112を備えない点を除き、実施形態に係る制御部11と同様に構成されている。
また、記憶部12Cは、ネットワークNW、処方箋情報JSS、及び、処方箋文字情報JSを記憶していない点と、制御プログラムPG1の代わりに、制御プログラムPG1Cを記憶している点と、を除き、実施形態に係る記憶部12と同様に構成されている。
なお、処方箋読取装置1Cのハードウェア構成は、図6に例示する実施形態に係る処方箋読取装置1のハードウェア構成と同様である。本変形例において、プロセッサ1001は、記憶装置1002に記憶された制御プログラムPG1Cを実行し、当該制御プログラムPG1Cに従って動作することで、制御部11Cとして機能する。
As illustrated in FIG. 22, the prescription reading device 1C includes a control unit 11C instead of the control unit 11 and a storage unit 12C instead of the storage unit 12. It is configured in the same manner as the reader 1 .
Among them, the control unit 11C is configured in the same manner as the control unit 11 according to the embodiment except that the character recognition unit 112 is not provided.
In addition, the storage unit 12C does not store the network NW, the prescription information JSS, and the prescription text information JS, and stores the control program PG1C instead of the control program PG1. It is configured in the same manner as the storage unit 12 according to the embodiment.
The hardware configuration of the prescription reading device 1C is the same as the hardware configuration of the prescription reading device 1 according to the embodiment illustrated in FIG. In this modification, the processor 1001 executes the control program PG1C stored in the storage device 1002 and operates according to the control program PG1C, thereby functioning as the control unit 11C.

図23は、文字認識装置9の構成の一例を示す機能ブロック図である。 FIG. 23 is a functional block diagram showing an example of the configuration of the character recognition device 9. As shown in FIG.

図23に例示するように、文字認識装置9は、文字認識装置9の各部を制御する制御部91と、各種情報を記憶する記憶部92と、文字認識装置9の外部に存在する外部装置との間の通信を実行する通信部93と、を備える。
このうち、制御部91は、文字認識部112を備える。
また、記憶部92は、上述した学習モデルNNと、処方箋情報JSSと、処方箋読取装置1Cから供給された処方箋画像情報JGSと、上述した処方箋文字情報JSと、文字認識装置9の各部を制御するための制御プログラムPG9と、を記憶している。
As illustrated in FIG. 23, the character recognition device 9 includes a control unit 91 that controls each part of the character recognition device 9, a storage unit 92 that stores various information, and an external device that exists outside the character recognition device 9. and a communication unit 93 that performs communication between
Among them, the control unit 91 includes a character recognition unit 112 .
Further, the storage unit 92 controls the learning model NN described above, the prescription information JSS, the prescription image information JGS supplied from the prescription reading device 1C, the prescription character information JS described above, and each unit of the character recognition device 9. and a control program PG9 for

図24は、文字認識装置9のハードウェア構成の一例を示す構成図である。 FIG. 24 is a configuration diagram showing an example of the hardware configuration of the character recognition device 9. As shown in FIG.

図24に例示するように、文字認識装置9は、文字認識装置9の各部を制御するプロセッサ9001と、各種情報を記憶する記憶装置9002と、文字認識装置9の外部に存在する外部装置との通信を行うための通信装置9003と、を備える。 As exemplified in FIG. 24, the character recognition device 9 includes a processor 9001 that controls each part of the character recognition device 9, a storage device 9002 that stores various information, and an external device that exists outside the character recognition device 9. and a communication device 9003 for performing communication.

このうち、記憶装置9002は、プロセッサ9001の作業領域として機能するRAM等の揮発性メモリと、制御プログラムPG9等の各種情報を記憶するEEPROM等の不揮発性メモリとの、一方または双方を含み、記憶部92としての機能を提供する。
また、プロセッサ9001は、例えば、1または複数のCPUを含んで構成される。プロセッサ9001は、記憶装置9002に記憶された制御プログラムPG9を実行し、当該制御プログラムPG9に従って動作することで、制御部91として機能する。なお、プロセッサ9001は、1または複数のCPUに加え、または、1または複数のCPUのうち一部または全部に替えて、GPU、DSP、または、FPGA等の、ハードウェアを含んで構成されるものであってもよい。この場合、プロセッサ9001により実現される制御部91の一部または全部は、DSP等のハードウェアにより実現されてもよい。
また、通信装置9003は、有線ネットワーク及び無線ネットワークの一方または双方を介して、文字認識装置9の外部に存在する外部装置との通信を行うためのハードウェアであり、通信部93としての機能を提供する。
Of these, the storage device 9002 includes one or both of a volatile memory such as a RAM that functions as a work area for the processor 9001 and a nonvolatile memory such as an EEPROM that stores various information such as the control program PG9. The function as the part 92 is provided.
Also, the processor 9001 includes, for example, one or more CPUs. The processor 9001 functions as the control unit 91 by executing the control program PG9 stored in the storage device 9002 and operating according to the control program PG9. Note that the processor 9001 includes hardware such as a GPU, DSP, or FPGA in addition to one or more CPUs, or in place of part or all of one or more CPUs. may be In this case, part or all of the control unit 91 implemented by the processor 9001 may be implemented by hardware such as a DSP.
Further, the communication device 9003 is hardware for communicating with an external device existing outside the character recognition device 9 via one or both of a wired network and a wireless network, and functions as the communication unit 93. offer.

なお、本変形例において、例えば、処方箋読取装置1C、及び、端末装置5は、薬局に設置されてもよい。また、本変形例において、例えば、処方箋読取装置1Cは、ネットワークNWを介さずに端末装置5に直接接続されてもよい。また、本変形例において、例えば、文字認識装置9、処方箋確認装置3、及び、薬剤データベースサーバ7は、端末装置5と、インターネット(ネットワークNWの一例)を介して通信可能なサーバ装置であってもよい。また、本変形例において、文字認識装置9、処方箋確認装置3、及び、薬剤データベースサーバ7の一部または全部は、同一のサーバ装置として一体に構成されてもよい。 In addition, in this modification, 1 C of prescription reading devices and the terminal device 5 may be installed in a pharmacy, for example. Moreover, in this modification, for example, the prescription reading device 1C may be directly connected to the terminal device 5 without going through the network NW. Further, in this modification, for example, the character recognition device 9, the prescription confirmation device 3, and the drug database server 7 are server devices capable of communicating with the terminal device 5 via the Internet (an example of the network NW). good too. Moreover, in this modification, part or all of the character recognition device 9, the prescription confirmation device 3, and the drug database server 7 may be integrally configured as the same server device.

<変形例5>
上述した実施形態並びに変形例1乃至4において、薬剤使用方法情報JYSは、薬剤情報JYに対応する薬剤の用量の下限値である下限用量YQ2を示す下限用量情報JYQ2を含んでもよい。この場合、処方内容判定部313は、用量判定処理のステップS105において、処方用量文字列LQ[m]の表す処方用量が、上限用量YQ[m][qm]以下であり、且つ、下限用量YQ2[m][qm]以上であるか否かを判定してもよい。そして、判定結果出力部314は、ステップS111において、ステップS105における判定の結果が否定の場合、用量不正通知情報IF1[m]を出力してもよい。
<Modification 5>
In the embodiment and Modifications 1 to 4 described above, the drug usage information JYS may include lower limit dose information JYQ2 indicating a lower limit dose YQ2, which is the lower limit of the dose of the drug corresponding to the drug information JY. In this case, in step S105 of the dose determination process, the prescription content determination unit 313 determines that the prescribed dose represented by the prescribed dose character string LQ[m] is equal to or lower than the upper limit dose YQ[m][qm] and the lower limit dose YQ2 It may be determined whether or not it is greater than or equal to [m][qm]. Then, in step S111, the determination result output unit 314 may output inappropriate dose notification information IF1[m] when the determination result in step S105 is negative.

<変形例6>
上述した実施形態並びに変形例1乃至5において、薬剤使用方法情報JYSは、薬剤情報JYに対応する薬剤の使用期間の下限値である下限期間YR2を示す下限期間情報JYR2を含んでもよい。この場合、処方内容判定部313は、期間判定処理のステップS205において、処方期間文字列LR[m]の表す処方期間が、上限期間YR[m][qm]以下であり、且つ、下限期間YR2[m][qm]以上であるか否かを判定してもよい。そして、判定結果出力部314は、ステップS211において、ステップS205における判定の結果が否定の場合、期間不正通知情報IF2[m]を出力してもよい。
<Modification 6>
In the embodiment and Modifications 1 to 5 described above, the drug usage information JYS may include lower limit period information JYR2 indicating a lower limit period YR2, which is the lower limit of the use period of the drug corresponding to the drug information JY. In this case, in step S205 of the period determination process, the prescription content determination unit 313 determines that the prescription period represented by the prescription period character string LR[m] is equal to or shorter than the upper limit period YR[m][qm] and that the lower limit period YR2 It may be determined whether or not it is greater than or equal to [m][qm]. Then, in step S211, the determination result output unit 314 may output period irregularity notification information IF2[m] when the result of determination in step S205 is negative.

<変形例7>
上述した実施形態並びに変形例1乃至6において、判定結果出力部314は、文字情報取得部311が、処方箋読取装置1から取得した処方箋文字情報JSの示す薬剤名称文字列LM[m]が、薬剤一覧情報テーブルTBL7に存在しない場合、当該薬剤名称文字列LM[m]が不正な名称であることを示す、名称不正通知情報IF4[m]を出力してもよい。具体的には、判定結果出力部314は、文字情報取得部311が処方箋読取装置1から取得した処方箋文字情報JSの示す薬剤名称文字列LM[m]が、当該薬剤名称文字列LM[m]に対応して薬剤情報取得部312が薬剤一覧情報テーブルTBL7から取得した薬剤情報JYの示す薬剤名称YMの何れとも一致しない場合、名称不正通知情報IF4[m]を出力してもよい。そして、判定結果出力部314は、名称不正通知情報IF4[m]が出力された場合、図25に例示するように、処方箋内容表示画像GHの薬剤名称文字列LM[m]に対応する位置に、名称不存在マークMK4を表示させてもよい。
<Modification 7>
In the embodiment and Modifications 1 to 6 described above, the determination result output unit 314 determines that the drug name character string LM[m] indicated by the prescription character information JS that the character information acquisition unit 311 acquires from the prescription reading device 1 is a drug If it does not exist in the list information table TBL7, incorrect name notification information IF4[m] may be output indicating that the drug name character string LM[m] is an incorrect name. Specifically, the determination result output unit 314 converts the drug name character string LM[m] indicated by the prescription character information JS obtained by the character information obtaining unit 311 from the prescription reading device 1 into the drug name character string LM[m]. If the drug information acquisition unit 312 does not match any of the drug names YM indicated by the drug information JY acquired from the drug list information table TBL7 in response to , the invalid name notification information IF4[m] may be output. Then, when the incorrect name notification information IF4[m] is output, the determination result output unit 314 puts , a name non-existence mark MK4 may be displayed.

1…処方箋読取装置、3…処方箋確認装置、5…端末装置、7…薬剤データベースサーバ、11…制御部、31…制御部、111…画像情報取得部、112…文字認識部、311…文字情報取得部、312…薬剤情報取得部、313…処方内容判定部、314…判定結果出力部、Sys…処方箋認識システム。 DESCRIPTION OF SYMBOLS 1... Prescription reading apparatus 3... Prescription confirmation apparatus 5... Terminal device 7... Drug database server 11... Control part 31... Control part 111... Image information acquisition part 112... Character recognition part 311... Text information Acquisition unit 312... Drug information acquisition unit 313... Prescription determination unit 314... Determination result output unit Sys... Prescription recognition system.

Claims (8)

画像に含まれる文字を認識する文字認識処理により、処方箋に記載された第1薬剤の名称を示す文字列を第1名称文字列として認識し、前記処方箋に記載された前記第1薬剤の処方内容を示す文字列を第1内容文字列として認識する認識部から、前記第1名称文字列及び前記第1内容文字列を示す第1文字情報を取得する文字情報取得部と、
前記処方箋に記載される可能性のある複数の薬剤に対応する複数の薬剤情報を記憶する記憶部から、前記第1名称文字列に関連する薬剤情報を、特定薬剤情報として取得する薬剤情報取得部と、
前記第1内容文字列の示す前記第1薬剤の処方内容が、前記特定薬剤情報の示す薬剤の使用方法に適合するか否かを判定する判定部と、
前記判定部による判定の結果に基づく情報を出力する出力部と、
を備える、
ことを特徴とする情報処理装置。
A character string indicating the name of the first medicine described in the prescription is recognized as a first name character string by character recognition processing for recognizing characters included in the image, and prescription content of the first medicine described in the prescription. a character information acquisition unit that acquires first character information indicating the first name character string and the first content character string from a recognition unit that recognizes the character string indicating as the first content character string;
A drug information acquisition unit that acquires drug information related to the first name character string as specific drug information from a storage unit that stores a plurality of drug information corresponding to a plurality of drugs that may be described in the prescription. When,
a determination unit that determines whether or not the prescription content of the first drug indicated by the first content character string is compatible with the usage method of the drug indicated by the specific drug information;
an output unit that outputs information based on the result of determination by the determination unit;
comprising
An information processing device characterized by:
前記処方箋には、前記第1薬剤の処方内容として前記第1薬剤の用量が記載され、
前記記憶部が記憶する前記複数の薬剤情報の各々は、当該薬剤情報に対応する薬剤の用量の上限を示す用量情報を含み、
前記判定部は、前記第1内容文字列の示す前記第1薬剤の用量が、前記特定薬剤情報に含まれる用量情報の示す用量の上限以下であるか否かを判定する、第1の判定処理を行い、
前記出力部は、前記第1の判定処理における判定結果が否定の場合に、前記処方箋に記載された前記第1薬剤の処方内容に誤りがある旨の情報を出力する、
ことを特徴とする、請求項1に記載の情報処理装置。
In the prescription, the dose of the first drug is described as the content of the prescription of the first drug,
each of the plurality of drug information stored in the storage unit includes dose information indicating an upper limit of the dose of the drug corresponding to the drug information;
The determination unit determines whether or not the dose of the first drug indicated by the first content character string is equal to or less than the upper limit of the dose indicated by the dose information included in the specific drug information. and
When the determination result in the first determination process is negative, the output unit outputs information indicating that there is an error in the prescription content of the first medicine described in the prescription.
2. The information processing apparatus according to claim 1, characterized by:
前記処方箋には、第2薬剤の名称が記載され、
前記認識部は、前記文字認識処理により、前記処方箋に記載された前記第2薬剤の名称を示す文字列を第2名称文字列として認識し、
前記文字情報取得部は、前記認識部から、前記第2名称文字列を示す第2文字情報を取得し、
前記記憶部が記憶する前記複数の薬剤情報の各々は、当該薬剤情報に対応する薬剤の併用禁忌薬及び併用注意薬に関する併用情報を含み、
前記判定部は、前記特定薬剤情報に含まれる併用情報に基づいて、前記第2名称文字列に関連する名称を有する薬剤が、前記第1薬剤の併用禁忌薬及び前記第1薬剤の併用注意薬の何れにも含まれていないか否かを判定する、第2の判定処理を行い、
前記出力部は、前記判定部による前記第2の判定処理における判定結果が否定の場合に、前記処方箋に記載された前記第1薬剤の処方内容に誤りがある旨の情報を出力する、
ことを特徴とする、請求項1または2に記載の情報処理装置。
The prescription includes the name of the second drug,
The recognition unit recognizes a character string indicating the name of the second medicine described in the prescription as a second name character string by the character recognition process,
The character information acquisition unit acquires second character information indicating the second name character string from the recognition unit,
each of the plurality of drug information stored in the storage unit includes concomitant information regarding a contraindicated drug and a cautionary drug for concomitant use of the drug corresponding to the drug information;
Based on the concomitant information included in the specific drug information, the determining unit determines that the drug having the name related to the second name character string is a drug contraindicated for co-administration of the first drug and a caution drug for co-administration of the first drug. Perform a second determination process for determining whether or not it is included in any of
When the determination result in the second determination process by the determination unit is negative, the output unit outputs information indicating that there is an error in the prescription content of the first drug described in the prescription.
3. The information processing apparatus according to claim 1, wherein:
前記薬剤情報取得部は、
前記記憶部が記憶する複数の薬剤情報に、前記第1名称文字列に一致する名称を含む薬剤情報が存在する場合は、当該薬剤情報を前記特定薬剤情報として取得し、
前記記憶部が記憶する複数の薬剤情報に、前記第1名称文字列に一致する名称を含む薬剤情報が存在しない場合は、前記第1名称文字列との類似度が所定の類似度以上の名称を含む1または複数の薬剤情報の各々を、前記特定薬剤情報として取得する、
ことを特徴とする、請求項1乃至3のうち何れか1項に記載の情報処理装置。
The drug information acquisition unit
when there is drug information including a name that matches the first name character string among the plurality of drug information stored in the storage unit, acquiring the drug information as the specific drug information,
When there is no drug information including a name that matches the first name character string among the plurality of drug information stored in the storage unit, a name whose similarity to the first name character string is equal to or greater than a predetermined similarity Obtaining each of one or more drug information containing as the specific drug information,
4. The information processing apparatus according to any one of claims 1 to 3, characterized by:
前記判定部は、
前記薬剤情報取得部が、前記記憶部から複数の薬剤情報に対応する複数の特定薬剤情報を取得した場合、前記第1内容文字列の示す前記第1薬剤の処方内容が、前記複数の特定薬剤情報の示す複数の薬剤の使用方法の各々に適合するか否かを判定し、
前記出力部は、
前記判定部が、前記第1薬剤の処方内容が前記複数の特定薬剤情報の示す複数の薬剤の使用方法のうち少なくとも1つの薬剤の使用方法に適合しない旨の判定をした場合、前記処方箋に記載された前記第1薬剤の処方内容に誤りがある旨の情報を出力する、
ことを特徴とする、請求項4に記載の情報処理装置。
The determination unit is
When the drug information acquisition unit acquires a plurality of pieces of specific drug information corresponding to a plurality of pieces of drug information from the storage unit, the prescription content of the first drug indicated by the first content character string corresponds to the plurality of specific drug information. Determining whether it is compatible with each of the usage methods of a plurality of drugs indicated by the information,
The output unit
When the determination unit determines that the prescription content of the first drug does not conform to the usage method of at least one drug among the plurality of drug usage methods indicated by the plurality of specific drug information, it is described in the prescription. outputting information to the effect that there is an error in the prescription content of the first drug that has been received;
5. The information processing apparatus according to claim 4, characterized by:
処方箋の画像を示す画像情報を取得する画像情報取得部と、
前記画像情報に基づいて、前記処方箋に記載された第1薬剤の名称を示す文字列を、第1名称文字列として認識し、前記処方箋に記載された前記第1薬剤の処方内容を示す文字列を、第1内容文字列として認識する認識部と、
前記処方箋に記載される可能性のある複数の薬剤に対応する複数の薬剤情報を記憶する記憶部から、前記第1名称文字列に関連する薬剤情報を、特定薬剤情報として取得する薬剤情報取得部と、
前記第1内容文字列の示す前記第1薬剤の処方内容が、前記特定薬剤情報の示す薬剤の使用方法に適合するか否かを判定する判定部と、
前記判定部による判定の結果に基づく情報を出力する出力部と、
を備える、
ことを特徴とする情報処理装置。
an image information acquisition unit that acquires image information representing an image of the prescription;
A character string indicating the name of the first drug described in the prescription is recognized as a first name character string based on the image information, and a character string indicating the prescription content of the first drug described in the prescription. as a first content character string; and
A drug information acquisition unit that acquires drug information related to the first name character string as specific drug information from a storage unit that stores a plurality of drug information corresponding to a plurality of drugs that may be described in the prescription. When,
a determination unit that determines whether or not the prescription content of the first drug indicated by the first content character string is compatible with the usage method of the drug indicated by the specific drug information;
an output unit that outputs information based on the result of determination by the determination unit;
comprising
An information processing device characterized by:
プロセッサを、
画像に含まれる文字を認識する文字認識処理により、処方箋に記載された第1薬剤の名称を示す文字列を第1名称文字列として認識し、前記処方箋に記載された前記第1薬剤の処方内容を示す文字列を第1内容文字列として認識する認識部から、前記第1名称文字列及び前記第1内容文字列を示す第1文字情報を取得する文字情報取得部と、
前記処方箋に記載される可能性のある複数の薬剤に対応する複数の薬剤情報を記憶する記憶部から、前記第1名称文字列に関連する薬剤情報を、特定薬剤情報として取得する薬剤情報取得部と、
前記第1内容文字列の示す前記第1薬剤の処方内容が、前記特定薬剤情報の示す薬剤の使用方法に適合するか否かを判定する判定部と、
前記判定部による判定の結果に基づく情報を出力する出力部と、
として機能させる、
ことを特徴とするプログラム。
the processor,
A character string indicating the name of the first medicine described in the prescription is recognized as a first name character string by character recognition processing for recognizing characters included in the image, and prescription content of the first medicine described in the prescription. a character information acquisition unit that acquires first character information indicating the first name character string and the first content character string from a recognition unit that recognizes the character string indicating as the first content character string;
A drug information acquisition unit that acquires drug information related to the first name character string as specific drug information from a storage unit that stores a plurality of drug information corresponding to a plurality of drugs that may be described in the prescription. When,
a determination unit that determines whether or not the prescription content of the first drug indicated by the first content character string is compatible with the usage method of the drug indicated by the specific drug information;
an output unit that outputs information based on the result of determination by the determination unit;
function as
A program characterized by
プロセッサを
処方箋の画像を示す画像情報を取得する画像情報取得部と、
前記画像情報に基づいて、前記処方箋に記載された第1薬剤の名称を示す文字列を、第1名称文字列として認識し、前記処方箋に記載された前記第1薬剤の処方内容を示す文字列を、第1内容文字列として認識する認識部と、
前記処方箋に記載される可能性のある複数の薬剤に対応する複数の薬剤情報を記憶する記憶部から、前記第1名称文字列に関連する薬剤情報を、特定薬剤情報として取得する薬剤情報取得部と、
前記第1内容文字列の示す前記第1薬剤の処方内容が、前記特定薬剤情報の示す薬剤の使用方法に適合するか否かを判定する判定部と、
前記判定部による判定の結果に基づく情報を出力する出力部と、
として機能させる、
ことを特徴とするプログラム。
an image information acquisition unit for acquiring image information indicating an image of a prescription;
A character string indicating the name of the first drug described in the prescription is recognized as a first name character string based on the image information, and a character string indicating the prescription content of the first drug described in the prescription. as a first content character string; and
A drug information acquisition unit that acquires drug information related to the first name character string as specific drug information from a storage unit that stores a plurality of drug information corresponding to a plurality of drugs that may be described in the prescription. When,
a determination unit that determines whether or not the prescription content of the first drug indicated by the first content character string is compatible with the usage method of the drug indicated by the specific drug information;
an output unit that outputs information based on the result of determination by the determination unit;
to function as
A program characterized by
JP2021104850A 2021-06-24 2021-06-24 Information processing device and program Pending JP2023003649A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2021104850A JP2023003649A (en) 2021-06-24 2021-06-24 Information processing device and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2021104850A JP2023003649A (en) 2021-06-24 2021-06-24 Information processing device and program

Publications (1)

Publication Number Publication Date
JP2023003649A true JP2023003649A (en) 2023-01-17

Family

ID=85100290

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2021104850A Pending JP2023003649A (en) 2021-06-24 2021-06-24 Information processing device and program

Country Status (1)

Country Link
JP (1) JP2023003649A (en)

Similar Documents

Publication Publication Date Title
JP2021007044A (en) Medicine delivery assisting system
KR101122501B1 (en) Preparation control system
JP6943267B2 (en) Drug distribution support system
CA2884949C (en) Systems and methods for verifying correlation of diagnosis and medication as part of qualifying program eligibility verification
KR101920466B1 (en) Method, system and portable device able to analyze the prescription drug
KR20040053269A (en) Prescription fulfillment system and method
JPWO2008038775A1 (en) Drug management guidance support system
JP2022190131A (en) Medical information provision system, server, medical information provision device, medical information provision medium, medical information provision method, and program
JP7311747B2 (en) Medication Guidance Support System, Medication Guidance Support Program
JP5464124B2 (en) Prescription judgment system
KR101935961B1 (en) System and method for inputting prescription automatically
JP6545446B2 (en) Prescription information transmission system, patient information management server, information transmission method and program
JP4937054B2 (en) Prescription reception system
JP2023003649A (en) Information processing device and program
JP2014059922A (en) System, server device, terminal device and program for assuring suitable prescription of medicine
JP2018120369A (en) Medication guidance assistance system and medication guidance assistance program
JP2021064183A (en) Medication counseling support device, medication counseling support method, and medication counseling support program
JP3600914B2 (en) Receipt office cooperation support device, receipt examination support device, their method and program
JP2021064161A (en) Medication counseling support device, medication counseling support method, and medication counseling support program
JP7120640B2 (en) Medication guidance support system, method, and computer program
KR102518614B1 (en) Medication guidance system and medication guidance method performed through the medication guidance system
JP7378830B2 (en) Prescription 2D code generation system
JP2020177595A (en) Prescription information receiving device, method, and computer program
KR102190534B1 (en) Method and system for managing pms through communication terminals
JP2023080742A (en) Medication management system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20231026