JP6541353B2 - INFORMATION PROCESSING SYSTEM, INFORMATION PROCESSING METHOD, AND PROGRAM - Google Patents
INFORMATION PROCESSING SYSTEM, INFORMATION PROCESSING METHOD, AND PROGRAM Download PDFInfo
- Publication number
- JP6541353B2 JP6541353B2 JP2015002519A JP2015002519A JP6541353B2 JP 6541353 B2 JP6541353 B2 JP 6541353B2 JP 2015002519 A JP2015002519 A JP 2015002519A JP 2015002519 A JP2015002519 A JP 2015002519A JP 6541353 B2 JP6541353 B2 JP 6541353B2
- Authority
- JP
- Japan
- Prior art keywords
- information
- symbol
- character
- information processing
- determination
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Landscapes
- Character Discrimination (AREA)
- Medical Treatment And Welfare Office Work (AREA)
Description
開示の技術は、情報処理システム、情報処理方法およびプログラムに関する。 The disclosed technology relates to an information processing system, an information processing method, and a program.
銀行または病院等において伝票またはカルテ等の帳票を用いた情報伝達が行われている。この帳票へ情報を記入する際には、作業負荷の軽減のため連続して出現する情報を「〃」などの情報の繰返しを示す反復記号によって置き換える場合がある。しかし、「〃」などの記号をスキャナで読み込んだ場合、スキャン結果から帳票の内容を抽出しようとしても「〃」自体は言葉の意味を持たないため内容を抽出することはできなかった。この課題に対して、特許文献1では、反復記号を含む領域と当該領域の上部に位置する領域を同時に表示手段に表示させ、人が当該領域の上部に位置する領域を参照して反復記号が参照している情報を入力することが開示されている。
Information transmission using forms such as slips or medical records is performed in banks or hospitals. When entering information in this form, there may be a case where information appearing continuously is replaced by a repetition symbol indicating repetition of information such as “〃” in order to reduce the workload. However, when a symbol such as "〃" is read by a scanner, even if it is tried to extract the contents of the form from the scan result, the content can not be extracted because "内容" itself has no meaning of words. In order to solve this problem, in
しかしながら、従来の技術では反復記号は1種類であることを前提としており、それぞれ異なる位置の情報を参照する複数の反復記号(例えば、「〃」、「↑」等)がある場合については考慮されていない。 However, in the prior art, it is assumed that there is only one type of repetition symbol, and it is considered in the case where there are a plurality of repetition symbols (for example, “↑”, “↑”, etc.) referring to information at different positions. Not.
開示の技術はこのような状況に鑑みてなされたものであり、反復記号の種別に応じて反復記号を適切な情報に置換することを目的の1つとする。 The technology disclosed herein has been made in view of such circumstances, and one object is to replace repetitive symbols with appropriate information according to the type of repetitive symbols.
なお、前記目的に限らず、後述する発明を実施するための形態に示す各構成により導かれる作用効果であって、従来の技術によっては得られない作用効果を奏することも本件の他の目的の1つとして位置付けることができる。 It is to be noted that the operation and effect are not limited to the above object but are derived from the respective configurations shown in the embodiments for carrying out the invention described later, and it is another object of the present invention to exert the operation and effect not obtained by the prior art. It can be positioned as one.
開示の情報処理システムは、画像化された文書である文書画像から、情報の繰返しを意味する記号または文字を抽出する抽出手段と、抽出された前記記号または文字の種別を判定する判定手段と、前記判定手段による判定結果に基づき、前記記号または文字が参照する情報を決定する決定手段と、前記記号または文字を、前記決定手段により決定された前記記号または文字が参照する情報に置換する置換手段とを備える。 The disclosed information processing system comprises: extraction means for extracting a symbol or character meaning repetition of information from a document image which is an imaged document; determination means for determining the type of the extracted symbol or character; Determining means for determining information to which the symbol or character refers based on the determination result by the determining means, and replacing means for replacing the symbol or character with information to which the symbol or character determined by the determining means refers And
開示の技術によれば、反復記号の種別に応じて反復記号を適切な情報に置換することが可能となる。 According to the disclosed technology, it is possible to replace repetitive symbols with appropriate information depending on the type of repetitive symbols.
以下、本発明を適用した好適な実施形態を、添付図面を参照しながら詳細に説明する。ただし、この実施形態に記載されている構成要素はあくまで例示であり、本発明の技術の範囲は、特許請求の範囲によって確定されるものであって、以下の個別の実施形態によって限定されるわけではない。 Hereinafter, preferred embodiments to which the present invention is applied will be described in detail with reference to the attached drawings. However, the components described in this embodiment are merely examples, and the scope of the technology of the present invention is determined by the scope of the claims, and is limited by the following individual embodiments. is not.
(第1の実施形態)
図1(a)は、本実施形態を適用する情報処理システムの構成の一例を示す図である。
First Embodiment
FIG. 1A is a diagram showing an example of the configuration of an information processing system to which the present embodiment is applied.
図1に示す情報処理システムはCPU101、ROM102、RAM103、文書入力部104、表示部105および通信部106を備える。
The information processing system illustrated in FIG. 1 includes a
CPU101は、ROM102に格納されている制御プログラムを実行することにより、システムの制御を行う。すなわち、CPU101が制御プログラムを実行することにより、情報処理システムは後述するフローチャートに示す各処理を実行するための各種手段として機能する。CPU101が制御プログラム実行することにより実現される機能については図1(b)を参照して後述する。
The
ROM102は、CPU101が実行する制御プログラム等を格納する。
The
RAM103は、各構成要素からの各種データを一時記憶する。また、CPU101はROM102から読み出した制御プログラムをRAM103に展開して実行する。
The
文書入力部104は、光学装置および撮像素子等によって構成され、CPU101からの指示に応じて、被写体の撮像を行う。例えば、文書入力部104は帳票等の文書を撮像することで文書が画像化された文書画像を取得する。例えば、文書入力部104はスキャナにより構成される。なお、文書入力部104は情報処理システム外に備えられたスキャナにより得られた文書画像を有線または無線を介して取得するように構成されてもよい。
The
表示部105は、液晶パネル等で構成され、文書入力部104で取得された文書画像および、CPU101で処理された結果等の種々の情報を表示する。
The
通信部106はネットワークインターフェース(NIC)であり、ネットワーク上の他の装置とLANケーブル等を介した通信を可能とするインターフェースである。
The
バス107は情報処理システムが備える各部同士がデジタル信号を相互に伝達するために用いられるバスである。
A
図1(b)は本実施形態におけるCPUの機能の一例を示す図である。CPU101はRAM103に記憶された制御プログラムを実行することで図1(b)に示すように、抽出手段11、判定手段12、決定手段13、置換手段14および表示制御手段15として機能する。なお、情報処理システムが備えるCPU101およびRAM103はそれぞれ1つであってもよいし複数であってもよい。すなわち、少なくとも1以上の処理装置(CPU)と少なくとも1つの記憶装置(RAM)とが接続されており、少なくとも1以上の処理装置が少なくとも1以上の記憶装置に記憶されたプログラムを実行した場合にCPU101は上記の各手段として機能する。なお、図1(b)に示す各手段は、CPU101を用いてソフトウェアで実現することとしているが、その処理の一部又は全部を電子回路などのハードウェアで実現するようにしても良い。
FIG. 1B is a diagram showing an example of the function of the CPU in the present embodiment. The
抽出手段11は、文書入力部104によって取得された文書画像から反復記号(繰返し記号)を抽出する。ここで反復記号とは情報の繰返しを意味する記号または文字を含むものであり、同じ単語等の情報が繰返し現れる際に、同様の単語を繰返し記述することを避けるために用いられるものである。反復記号には文字が含まれるが、本明細書においては簡単のため反復記号・文字とは記載せずに単に反復記号と記載している。反復記号は同様の単語を繰返し記述することを避けるために用いられるものであるため、反復記号は所定の単語等の情報を参照するものである。この抽出手段11は、画像化された文書である文書画像から、情報の繰返しを意味する記号または文字を抽出する抽出手段の一例に相当する。反復記号とはノノ点、踊り字、その他の記号または文字(単語)を含むものである。
The
判定手段12は、反復記号の種別を判定する。すなわち、判定手段12は、抽出された記号または文字の種別を判定する判定手段の一例に相当する。 The determination means 12 determines the type of repetition symbol. That is, the determination means 12 corresponds to an example of the determination means for determining the type of the extracted symbol or character.
決定手段13は、判定手段12の判定結果に基づいて文書において反復記号が参照する情報を決定する。すなわち、決定手段13は、判定手段による判定結果に基づき、記号または文字が参照する情報を決定する決定手段の一例に相当する。より具体的には判定手段は、反復記号の種別と反復記号が参照する情報の位置とを対応付けたテーブルおよび判定手段12の判定結果に基づいて反復記号が参照する情報を決定する。 The determination means 13 determines the information to which the repetition symbol refers in the document based on the determination result of the determination means 12. That is, the determination means 13 corresponds to an example of the determination means for determining the information to which the symbol or the character refers based on the determination result by the determination means. More specifically, the determination means determines the information to which the repetition symbol refers based on the table in which the type of repetition symbol is associated with the position of the information to which the repetition symbol refers and the determination result of the determination means 12.
置換手段14は、反復記号を決定手段により決定された情報に置換する。すなわち、置換手段14は、記号または文字を、決定手段により決定された記号または文字が参照する情報に置換する置換手段の一例に相当する。ここで置換手段14は反復記号を決定手段13により決定された情報で置換するが、置換した情報と参照先の情報との対応関係は維持することとしてもよい。 The substitution means 14 substitutes the repetition symbol with the information determined by the determination means. That is, the substitution means 14 corresponds to an example of substitution means for replacing a symbol or a character with information to which the symbol or the character determined by the determination means refers. Here, the substitution means 14 substitutes the repetition symbol with the information determined by the determination means 13, but the correspondence between the substituted information and the information of the reference destination may be maintained.
表示制御手段15は、各種の情報を表示部105に表示させる。例えば、表示制御手段15は置換手段14により置換された情報を表示部105に表示させる。すなわち、表示制御手段15は、置換手段により置換された記号または文字が参照する情報を表示手段に表示させる表示制御手段の一例に相当する。なお、表示制御手段15は、決定手段13により決定された反復記号が参照する情報を表示部105に表示させる場合、反復記号は表示部105に表示させないこととしてもよい。また、表示制御手段15は、決定手段13により決定された反復記号が参照する情報を反復記号とともに表示部105に表示させることとしてもよい。この場合、操作者はどの反復記号がどのような情報に置換されかを一目で理解することが可能となる。
The
次に文書入力部104により取得される文書画像の一例を図2を用いて説明する。図2は第1実施形態における文書情報抽出処理の対象となる文書画像の一例であり、病院への入院時に患者が持参した薬剤リストを記載したものである。文書201は202乃至208の文書情報から構成される。202は文書201のタイトルを表し、203は文書201の作成日を表し、204は文書201に記載される対象患者の名前を表す文字列である。205乃至208は持参薬剤を表形式にまとめたものであり、205は持参薬剤に関する注意事項、206は薬剤名、207は薬剤の剤形を表す文字列である。剤形207としては、「錠剤」、「錠」、「タブレット」、「細粒」など薬剤の外形特徴を表す用語が出現する。208は薬剤の処方容量を表す文字列である。表形式にまとめられた205乃至208には図2に見られるように、「〃」や「↑」などの記号も出現することがある。ここで、「〃」や「↑」は反復記号の一例である。
Next, an example of a document image acquired by the
図3は実施形態において、抽出手段11が、図2に示した文書画像の205乃至208に示される表形式の入力データから表構造として情報を抽出した結果の例である。同種の表構造抽出の処理は例えば特開2006−99480に開示される方法を用いて実現できる。 FIG. 3 shows an example of the result of extracting information as a table structure from the tabular input data shown in 205 to 208 of the document image shown in FIG. 2 in the embodiment. The processing of the same type of table structure extraction can be realized, for example, using the method disclosed in Japanese Patent Application Laid-Open No. 2006-99480.
図3に示す情報は2次元配列データとして構成され、抽出手段11により作成されRAM103に保存される。301が示すT(e(m、n))は表構造Tの要素データeを一般化したもので、m行n列の要素データをe(m、n)と表記することとする。例えば、e(2、1)の表す要素データは「抗凝固剤」である。302の示す1列目のデータはe(1、1)が示す「注意」に関するデータである。303の示す2列目のデータはe(1、2)が示す「薬剤名」に関するデータである。304の示す3列目のデータはe(1、3)が示す「剤形」に関するデータである。305の示す4列目のデータはe(1、4)が示す「規格」に関するデータである。e(3、3)、e(4、2)、e(4、3)には要素データとして「〃」が格納され、e(6、2)には要素データとして「↑」が格納されている。また、e(3、1)、e(4、1)、e(5、1)、e(6、1)、e(6、3)には抽出された文字列がなく要素データなしの空白となっている。
The information shown in FIG. 3 is configured as two-dimensional array data, generated by the
図4は第1の実施形態において、図3に示した表構造における各要素データCPと他の要素データとの相対的な位置関係を示したアドレス情報である。例えば、CPが要素データe(m、n)である場合、アドレスR2の示す要素データはe(m−1、n)であり、アドレスR4の示す要素データはe(m、n−1)となる。 FIG. 4 is address information showing the relative positional relationship between each element data CP and other element data in the table structure shown in FIG. 3 in the first embodiment. For example, when CP is element data e (m, n), the element data indicated by the address R2 is e (m-1, n), and the element data indicated by the address R4 is e (m, n-1). Become.
図5は第1の実施形態における反復記号の参照先の候補を示すテーブルの一例である。当該テーブルはROM102またはRAM103に記憶されている。ここで、図5に示す501は同一意味・内容の繰返し表記を避ける目的で、隣接要素データと同一であることを表現する単一の文字あるいは文字列(総称して反復記号と称する場合がある)を格納する。
FIG. 5 is an example of a table showing candidates for reference destinations of repetition symbols in the first embodiment. The table is stored in the
502および503は501に示す反復記号がいずれの要素データを参照して同一であると言及しているかを示す参照先アドレス情報(参照先位置情報)である。参照先アドレス情報はひとつの反復文字について最大2個設定することができ、参照先アドレス502が参照先アドレス503に対して優先度を有する。例えば、反復文字「〃」に対して、参照先R2が参照先R4より優先して適用される。参照先2がない場合は、「−」が格納される。なお、本実施形態においては参照先アドレス情報はひとつの反復文字について最大2個としたが、本発明はこれに限定されるものではなく、ひとつの反復文字について3以上の参照先アドレス情報を対応付けることとしてもよい。
図6は第1の実施形態における薬剤処方規格テーブルの一例を示す。薬剤処方規格テーブルは、認可薬剤として市販される折に、製薬会社より添付文書として発行される文書に記載される薬剤情報を記憶したデータベースである。当該データベースはROM102またはRAM103に記憶されている。なお、図6に示す薬剤処方規格テーブルは薬剤の処方基準の一例に相当する。
FIG. 6 shows an example of a drug prescription standard table in the first embodiment. The drug prescription standard table is a database storing drug information described in a document issued as an attached document by a pharmaceutical company at the time of being marketed as a licensed drug. The database is stored in the
薬剤名は一般薬品名、成分名、製薬会社の商品名など複数の表記法がとられることがあるが、601は図7に後述する薬剤名正規化表記を格納する。602は薬剤使用区分を示し、「内用薬」であるか「外用薬」であるかを格納する。603は薬剤の外見上の形状特徴を分類した区分である「錠剤」、「顆粒」、「細粒」、「貼付」、「注射」、「点眼」などを剤形に関する情報を格納する。604および605は合わせて薬剤の規格容量を表し、605が規格容量の単位を604が規格容量の値を格納する。606および607は薬剤の使用規格容量を表し、607は規格剤形の単位を606が使用容量の値を格納する。
Although the drug name may take a plurality of notations such as a general drug name, an ingredient name, and a trade name of a pharmaceutical company, 601 stores a drug name normalization notation described later in FIG.
図7は第1の実施形態における薬剤名正規化テーブルを示す。前述の通り、薬剤名に言及したドキュメントでは、薬剤の呼称として製薬会社の商標商品名が使われることも一般的である。そのため同一の薬剤であっても異なる称呼となる場合があるため、図7に示すテーブルを用いて称呼を統一(正規化)する。当該テーブルはROM102またはRAM103に記憶されている。
FIG. 7 shows a drug name normalization table in the first embodiment. As mentioned above, in a document referring to a drug name, it is also common to use a trade name of a pharmaceutical company as a drug designation. Therefore, even the same medicine may have different names, so the names shown in FIG. 7 are used to unify (normalize) the names. The table is stored in the
701は同一の薬剤を意味する薬品成分名や一般商品名、商標商品名など複数の薬剤名異表記を格納する。701の例示に用いた「アレファリン」、「オルメテック」、「ダイアート」、「ネルボン」、「ベンザリン」、「ユーロジン」、「ワーリン」は商標である。異表記データはISO/IEC10646文字集合規格(ユニコード)をUTF−8でコード化し、コードの昇順に配置される。
A
702は701に格納した薬剤名を単一の表記として正規化する薬剤名正規化表記を格納する。例えば薬剤名「アゾセミド」は表記「ダイアート」として正規化されるため、図6に示した薬剤処方規格テーブルの601において参照可能となる。なお、正規化表記は同一の薬剤を意味する異表記群の任意のひとつを選択して格納することが可能である。 702 stores a drug name normalization notation that normalizes drug names stored in 701 as a single notation. For example, since the drug name "azosemide" is normalized as the notation "Dieart", it can be referred to in 601 of the drug prescription standard table shown in FIG. In addition, it is possible to select and store the normalization notation by selecting any one of the different notation groups which mean the same medicine.
図8は第1の実施形態における反復記号の復元処理の結果の例を示す。図2に示す文書画像から抽出した図3の表構造抽出結果に反復記号が含まれている場合、判定手段11、決定手段13により反復記号が文書画像におけるいずれの文字列を繰り返しているかを判定する。そして、置換手段14は反復記号を参照先の繰返し文字列に置換して図3の表構造抽出結果を更新する。
FIG. 8 shows an example of the result of the recovery process of the repetition symbol in the first embodiment. When the table structure extraction result of FIG. 3 extracted from the document image shown in FIG. 2 includes the repetition symbol, the
801が示す要素データe(3、2)の末尾に「!(4、2)」が、802が示す要素データe(4、2)の末尾に記号「!(3、2)」が置換手段14によって付与されている。記号「!」は当該要素データが図2の入力文書に対して抽出された要素データの内容に誤りを含む可能性があることを識別可能とするものである。さらに、「!」に後続する(m、n)は反復記号の参照先として判定された情報を記憶する。図8における例では反復記号が存在したe(4、2)だけではなく、当該反復記号が参照するe(3、2)にも参照先を示す情報が表示されている。すなわち、反復記号と反復記号の参照先との相互関係がわかるようになっている。なお、e(3、2)においては(4、2)という反復記号の位置を示す情報を表示しないこととしてもよいし、(4、2)は反復記号の場所を示すものであることを明確にするために(3、2)とは異なる表示形態で表示することとしてもよい。 At the end of element data e (3, 2) indicated by 801, "! (4, 2)" is substituted means. At the end of element data e (4, 2) indicated by 802, the symbol "! (3, 2)" is substituted means It is granted by. The symbol “!” Makes it possible to identify that the element data may contain an error in the content of the element data extracted with respect to the input document of FIG. Furthermore, (m, n) following “!” Stores the information determined as the reference destination of the repetition symbol. In the example in FIG. 8, not only e (4, 2) in which the repetition symbol is present, but also information e (3, 2) to which the repetition symbol refers is displayed information indicating the reference destination. That is, the correlation between the repetition symbol and the reference destination of the repetition symbol can be known. In e (3, 2), information indicating the position of the repetition symbol (4, 2) may not be displayed, and it is clarified that (4, 2) indicates the position of the repetition symbol. In order to reduce the display size, the display mode may be different from (3, 2).
また、803が示す要素データe(6、3)の末尾に置換手段14によって記号列「!!(5、3)」が付与されている。記号列「!!」は図3の表構造抽出結果に明示的に反復記号がなく空白となっていた要素データを要素データの繰返しと判定されたことを識別可能としている。さらに、「!!」に後続する(m、n)は反復表現の参照先として判定された情報を記憶する。図11乃至図12の処理フローチャートにおいて後述する通り、図6に示す薬剤処方規格と図8に示した情報処理システムによる認識結果が一致しない場合、記号「!」を末尾に付加する。すなわち、置換手段14は情報処理システムによる認識結果と図6に示す薬剤処方規格とを比較する。そして置換手段14は、比較の結果、情報処理システムによる認識結果が図6に示す薬剤名、剤系等に一致しない場合に記号「!」を一致しなかった要素データの末尾に付加する。さらに、明示的に反復記号がなく空白となっていた要素データを要素データの繰返しと判定された場合に末尾記号列「!!」が付与される。なお、要素データに付加される記号はエクスクラメーションマーク以外の記号または文字であってもよい。
Further, a symbol string “!! (5, 3)” is given by the
図9は第1の実施形態における文書情報の抽出結果の表示および抽出結果のユーザによる修正編集のための操作画面の一例を示す図である。 FIG. 9 is a view showing an example of an operation screen for display of extraction results of document information in the first embodiment and correction editing by the user of the extraction results.
図8に示す反復記号の復元処理の結果が得られると、表示制御手段15は表示部105に図9(a)の表示画面を表示させる。すなわち、表示制御手段15は図9(a)の表示画面をユーザに提示する。図9(a)において901および902は図8の801および802にそれぞれ対応した表示例となっている。図2の入力文書画像と比較するとわかる通り、本来、901は「ダイアート」と抽出表示されなければならないが、「ヌイアート」と表示されている。これは文書画像からの抽出処理における文字認識処理での誤認識発生がひとつの原因となりえる。
When the result of the restoration process of the repetition symbol shown in FIG. 8 is obtained, the display control means 15 causes the
この状況は図8の抽出結果における当該要素データの末尾に記号「!」が付加されているか否かで識別できる。すなわち、表示制御部15は、末尾に記号「!」が付加されている場合、当該要素データを表示部105に表示させるとともに、903に示す通り、ユーザに内容確認・修正喚起する警告メッセージを表示させる。
This situation can be identified by whether the symbol "!" Is added to the end of the element data in the extraction result of FIG. That is, when the symbol “!” Is added to the end, the
903においては、警告メッセージをバルーンで表示している例を示しているが、表示データの表示色変更、点滅など内容確認喚起のための趣旨を逸脱しない他の方法であってもよい。 In 903, an example in which a warning message is displayed by a balloon is shown, but other methods may be used such as changing the display color of display data, blinking, etc. without departing from the scope for calling for content confirmation.
また、904は図8の抽出結果における当該要素データの末尾に記号列「!!」が付加されていた場合に表示される警告メッセージである。904は、入力文書において明示的な反復を意味する情報がないにも関らず、状況を判定して要素データを反復復元の処理対象として抽出した結果に対する内容確認を促すメッセージである。表示制御部15は、当該要素データの末尾に記号「!!」が付与されているか否かに基づいて904に示すメッセージを表示するか否かを判断することができる。
A
図9(b)はユーザが不図示の編集手段によって、抽出結果「ヌイアート」を「ダイアート」に変更した表示例を示している。ここで、編集手段は、マウスやカーソル移動、画面タッチなどのポインティング操作により編集対象を指定し、キーボードや音声発話によりデータ書き換えを行うなどの公知の手段により構成される。なお、905の白抜き反転表示された文字が修正編集された文字である。 FIG. 9B shows a display example in which the user changes the extraction result "Nuiart" to "Daiart" by editing means (not shown). Here, the editing means is configured by a known means such as designating a target to be edited by pointing operation such as mouse or cursor movement, screen touch, etc., and performing data rewriting by a keyboard or voice utterance. Note that the characters highlighted in reverse white at 905 are corrected and edited characters.
図9(c)において、図9(b)の編集終了後、確定の意志をシステムに伝達する不図示の確定ボタン押下により、図8の抽出結果における要素データe(3、2)が905の修正編集結果に置き換わる。それと略同時に、置換手段14は、905を参照する反復文字906の要素データも905と同じデータに置き換え、表示907、908となる。
In FIG. 9C, after completion of editing in FIG. 9B, the element data e (3, 2) in the extraction result in FIG. Replaced with the correction result. Substantially at the same time, the substitution means 14 also replaces the element data of the
以上の説明で参照先905を編集した際に参照元906に同じ編集結果が適用されることとしたが、本発明はこれに限定されるものではない。例えば、順番を逆にして、参照元906を編集した場合も同様に参照先905の要素データの更新、表示が行われることとしてもよい。
Although the same editing result is applied to the
図10は第1の実施形態における文書情報抽出結果の出力書式の例を示す。表示制御手段15は、図8に示す抽出結果の2次元配列データを構造化言語による記述書式でフォーマットとして出力する。図10における例では、構造化言語XML(eXtensible Markup Language)により抽出データの要素を定義している。<prescription>要素は薬剤処方情報を記述するコンテナ要素である。<prescription>要素は図2で入力される文書と対をなす形でただ一つ存在し、複数の<medicine>要素を持つ。<medicine>要素は抽出された薬剤情報の組を記述する要素であり、図8抽出結果の表の1行のデータに相当する。id属性により、<medicine>要素を特定可能となっており、図10に図示しないが、反復文字の参照元・参照先の関係をこの属性記述により実施することもできる。<name>属性は抽出された薬剤名であり、<type>は薬剤の剤形を記述する要素である。<dosage>要素は処方容量を記述する要素であり、数量を記述する<quantitiy>要素と数量単位を記述する<unit>から構成される。<notice>要素は注意書きを記述する要素であり、注意書きが存在しない場合省略可能である。 FIG. 10 shows an example of the output format of the document information extraction result in the first embodiment. The display control means 15 outputs the two-dimensional array data of the extraction result shown in FIG. 8 as a format in a description format in a structured language. In the example in FIG. 10, the elements of the extraction data are defined by the structured language XML (extensible Markup Language). The <prescription> element is a container element that describes drug prescription information. There is only one <prescription> element paired with the document input in FIG. 2 and has multiple <medicine> elements. The <medicine> element is an element describing a set of extracted medicine information, and corresponds to one row of data in the table of the extraction result of FIG. The <medicine> element can be identified by the id attribute, and although not shown in FIG. 10, the relationship between the reference source and reference destination of the repetition character can also be implemented by this attribute description. The <name> attribute is the extracted drug name, and <type> is an element describing the dosage form of the drug. The <dosage> element is an element that describes a prescription volume, and is composed of a <quantitiy> element that describes a quantity and a <unit> that describes a unit of quantity. The <notice> element is an element that describes a disclaimer, and can be omitted if there is no disclaimer.
図11は第1の実施形態における処理の一例を示すフローチャートである。 FIG. 11 is a flowchart showing an example of processing in the first embodiment.
情報処理システムによる情報抽出処理が開始すると、まずステップ1101で文書入力部104により、図2に示す抽出対象の文書画像をRAM103に記録する。
When information extraction processing by the information processing system is started, first, in
ステップ1102で、抽出手段11が文書画像を例えば特開2006−99480の手段を用いることで、図3に示した表構造の情報抽出し、RAM103に格納する。
In
ステップ1103で、抽出手段11は、抽出された表構造中に出現する反復記号(反復表現)を検出する。さらに、判定手段12、決定手段13および置換手段14によって、反復記号の参照先を判定して、反復記号を参照先の情報に復元する。すなわち、置換手段14は、反復記号を反復記号の参照先の情報で置換する。なお、本処理の詳細は図12にて後述する。
At
ステップ1104で、表示制御手段15は、反復記号が参照先の情報で置換された情報を表示部105に図9(a)に示すように表示する。なお、図8に示したように要素データの末尾に記号「!」が付与されている場合、当該要素を指示する警告メッセージ「誤りの可能性があります 確認して修正してください」を吹き出しに表示する。また、図8の要素データの末尾に記号列「!!」が付与されている場合、当該要素を指示する警告メッセージ「自動挿入しました確認してください」を表示する。なお、表示されるメッセージは例示であり他のメッセージであってもよい。
In
ステップ1105でユーザによる表示データの修正編集操作を行う。ユーザはキーボードやマウスあるいは表示画面タッチなどのユーザインタフェースデバイスを用いて、修正編集が必要な個所をポインティングし、データの削除・挿入・変更を行う。図9(b)のように編集操作により情報を更新する。このとき、編集操作の行われた反復記号が参照するデータに対して修正が行われた場合には、図9(c)を用いて説明したように反復記号が存在した要素データも同様に修正される。
In
ステップ1106で上記のステップで更新された情報を表示制御部15は、図10の出力形式に変換して表示部105に表示させる。あるいは、表示制御部15は不図示の外部記憶装置に記録する。また、表示制御部15は、通信部106を介して不図示の他のシステムへ送信することとしてもよい。
The
図12第1の実施形態における図11の1103を詳細を示すフローチャートである。
12 is a flowchart showing in
ステップ1201で図11のステップ1102で抽出された図3に示す表構造の情報を抽出手段11は取得する。
The extraction means 11 acquires the information of the table structure shown in FIG. 3 extracted in
ステップ1202で図3の表構造の情報に対し、抽出手段11は行方向に要素データを走査するための初期値(m=1)をセットする。
At
ステップ1203で図3の表構造の情報に対し、抽出手段11は列方向に要素データを走査するための初期値(n=1)をセットする。
In
ステップ1204で、抽出手段11は表構造に含まれる要素データを取得する。初期値では要素データe(1、1)が取得される。
At
ステップ1205で、抽出手段11は、取得された要素データが空白(要素なし)であるかどうか判定する。空白であればステップ1206へ、空白でなければステップ1207の処理へ進む。
At
ステップ1206で要素データが空白であった場合、抽出手段11はこの空白を反復記号と解釈するか否かを判定する。この判定は、当該要素データの属する列データの1行目に記載されるデータ属性により判定する。すなわち、e(1、n)の要素データを取得し、取得された要素データを列の属性として、図6の薬剤処方規格テーブルの項目属性名601乃至607と照合する。抽出手段11は、e(1、n)の要素データが薬剤処方規格テーブルの項目属性名と一致するならば、反復記号が省略されている可能性有と判定する。そして、抽出手段11は、既定の反復記号を空白の要素データに新たな要素データとしてセットする。本実施形態においては既定の反復記号は「〃」とするが、条件に応じて既定値を変えてもよい。本実施形態においては図3に示した「剤形」が図6に示した薬剤処方規格テーブルの項目603と一致することから反復記号が省略された可能性があると判断し、空白のデータを「〃」で補完する。
If the element data is blank at
なお、601乃至607のいずれの項目属性名とも一致しない場合は、抽出手段11は反復記号の省略可能性は無しと判定する。例えば、要素データe(6、1)の空白はe(1、1)が「注意」であり、「注意」を項目属性名と一致しないため、e(6、1)は反復記号の省略可能は無しと判定される。一方、e(6、3)の空白はe(1、3)が「剤形」であり、薬剤処方規格テーブルの項目属性名603と一致するため、反復記号の省略可能性は有と判定され、e(6、3)の要素データとして「〃」がセットされる。ここで、ステップ1223ではステップ1206に置いて補完できたか否かを判定し、補完できた場合にはステップS1208へ進む。一方、補完できなかった場合はステップS1216へ進む。
If none of the
ステップ1207では、抽出手段11は要素データが反復記号であるか否かを判定する。具体的には要素データと一致する図5の反復記号・文字列501が存在するか否かをサーチすることで判定される。文字列501に一致する反復記号・文字列が処理対象の要素データに存在しなければステップ1216へ進む。文字列501に一致する反復記号・文字列が処理対象の要素データに存在すれば、ステップ1208へ進む。なお、ステップ1207において文字列501のどの反復記号に相当するかを判断することによって抽出手段11による反復記号の抽出および判定手段12による反復記号の種類の判定が行われている。
At
ステップ1208で一致した反復記号・文字列に対応する参照先1の参照先情報502を決定手段13が取得する。具体的には決定手段13がステップS1207で抽出・判定された反復記号および図5に示されたテーブルを用いて参照先1を決定する。
The determination means 13 acquires the
ステップ1209で、置換手段15は、参照先1の示す参照先の要素データを特定し、要素データを取得する。例えば、e(3、3)の反復記号「〃」の場合、反復記号「〃」の参照先1は図5から「R2」と取得され、図4から「R2」の示す参照先はe(3、3)を現在地CPとした場合、列が同じで行が−1であるe(2、3)であることがわかる。置換手段15がe(2、3)の要素データ「錠」を取得する。
At
ステップ1210で、置換手段15は「錠」などの参照先のオブジェクトが取得できたかどうか判定する。取得できたかどうかの判定は、何らかの要素データあるいは反復記号が取得され場合は参照先のオブジェクトが取得できたと判断する。一方、参照先が空白であった場合は参照先のオブジェクトは取得できなかったと判断する。取得できた場合はステップ1211へ進み、取得できなかった場合はステップ1213へ進む。
In
置換手段15が参照先1により要素データを取得できなかった場合、ステップ1213で参照先2を取得する。1208と同様に参照先2の情報である図5の503を取得し、ステップ1209と同様に参照先の示す要素データを取得する。参照先2の値が「−」であった場合は取得不可とする。
If the
ステップ1214で置換手段15は参照先2の参照先要素データが取得できたかどうかステップ1210と同様の判定方法で判定する。参照先の要素データが取得できていればステップ1211へ進み、取得できなかった場合はステップ1215へ進む。
In
ステップ1215では置換手段15は、反復記号の参照先の同定不能と断定し、要素データとして内容不定文字列の意味を示す「NIL」をセットする。
In
ステップ1211で置換手段15は、反復記号の参照先から取得した要素データが反復記号であるか否かを判定する。反復記号であったなら再帰的に参照先を決定するためにステップ1208へ、反復記号でなければステップ1212へ分岐する。
In
ステップ1212で、置換手段15は、ステップ1204で取得した要素データをステップ1209またはステップ1213で取得された参照先の要素データで置き換える。
In
ステップ1216で置換手段15は、列方向のデータが残っているか否か判定し、残っていなければステップ1217へ、未処理の列データが残っていればステップ1218へ進む。
In
ステップ1218で次の列データ要素を処理するために列データを指示する添え字nをカウントアップしてステップ1204へループする。
At
一つの行データに対する反復記号の復元処理(置換処理)が終了したならば、ステップ1217で図8に示された情報の所定の行データから抽出された薬剤処方情報の組と図6の薬剤処方規格テーブルとの内容一致性をチェックする。図8の当該m行のデータ組であるe(m、2)、e(m、3)、e(m、4)が、図6の601薬剤名、603剤形、604、605規格容量と一致するか否かを置換手段14が判定する。ただし、603の「剤形」に関する一致判定のために不図示の変換テーブルを用いることで、図8における「錠」は「錠剤」と変換し図6の「錠剤」と一致するか否か判定する。また、図8の「規格」は604、605との照合ができるよう、数値部と単位部とに分離して図6の薬剤処方規格と照合する。
When repetition of repetition processing (replacement processing) for one row data is completed, a set of drug prescription information extracted from predetermined row data of the information shown in FIG. 8 in
ステップ1219で薬剤処方規格と図8に示した反復記号が置換されたデータとが一致したか否か置換手段14が判定する。一致すればステップ1220へ、一致しなければステップ1221へ進む。
In
ステップ1221で、反復記号を手順に従い参照先情報で置換した結果が薬剤処方規格と一致しなかった場合、一致しなかった要素データの末尾に置換手段は記号「!」を付与し、記号「!」の末尾に参照先情報を(m、n)の書式で格納する。
In
ステップ1220で図3のすべての行データを処理したか否かを判定し、終了していれば全データの反復表現の復元処理を終了し、未処理の行データが残っていればステップ1222へ進む。
In
ステップ1222で次の行の要素データを処理するために、行データを指示する添え字mをカウントアップ、列データを指示する添え字nを1に初期化してステップ1204へループする。
In order to process the element data of the next row in
以上、説明したように、「同じく記号」など記述内容の反復を意味する特定の記号、文字列が出現する文書に対しても、反復表現の内容をデータとして抽出することが可能となる。また、本実施形態によればそれぞれ参照する情報の位置が異なる複数の種類の反復記号がある場合においても正確に参照先の情報を特定して、反復記号を参照先の情報で置換することが可能となる。従って、操作者により反復記号を手作業で置換する手間を省くことが可能となる。さらには剤形および薬の量の情報を含む薬剤処方の規格を参照し警告表示を行うことで御認識を防ぐことが可能となる。 As described above, it is possible to extract the contents of the repetitive expression as data, even for a document in which a character string or a specific symbol such as “same symbol” means repetition of the descriptive content. Further, according to the present embodiment, even when there are a plurality of types of repetition symbols different in the position of the information to be referred to, it is possible to accurately specify the information of the reference destination and replace the repetition symbol with the information of the reference destination. It becomes possible. Therefore, it is possible to save the operator the trouble of manually replacing the repetition symbol. Furthermore, it is possible to prevent recognition by referring to the standard of drug prescription including information on dosage form and amount of medicine and displaying a warning.
(その他の実施形態)
上記の実施形態において、薬剤処方情報の抽出を目的とする入力文書からの情報抽出を例として使用したが、反復表現を含む文書からの情報抽出すなわち反復表現の参照先を決定するという目的を損なうことのない他の文書事例にも適用可能である。
(Other embodiments)
In the above embodiment, the extraction of information from the input document for extracting drug prescription information is used as an example, but the extraction of information from the document including the repetitive expression, ie, the purpose of determining the reference destination of the repetitive expression is impaired It is also applicable to other document cases that do not occur.
本発明の実施形態において、反復記号および反復記号の参照先は既定のものとして説明したが、図5の反復記号参照先候補テーブルを文書情報抽出システムのユーザが定義してもかまわない。 In the embodiment of the present invention, although the repetition symbol and the reference destination of the repetition symbol have been described as predetermined, the repetition symbol reference destination candidate table of FIG. 5 may be defined by the user of the document information extraction system.
また、本発明の目的は、以下のように構成して達成することもできる。すなわち、前述した実施形態の機能を実現するソフトウェアのプログラムコード(コンピュータプログラム)を記録した記録媒体(または記憶媒体)を、システムあるいは装置に供給する。係る記憶媒体はコンピュータ読み取り可能な記憶媒体である。そして、そのシステムあるいは装置のコンピュータ(またはCPUやMPU)が記憶媒体に格納されたプログラムコードを読み出し実行する。この場合、記憶媒体から読み出されたプログラムコード自体が前述した実施形態の機能を実現することになり、そのプログラムコードを記憶した記憶媒体は本発明を構成することになる。 The object of the present invention can also be achieved by the following configuration. That is, a recording medium (or storage medium) storing a program code (computer program) of software for realizing the functions of the above-described embodiments is supplied to a system or apparatus. Such a storage medium is a computer readable storage medium. Then, the computer (or CPU or MPU) of the system or apparatus reads out and executes the program code stored in the storage medium. In this case, the program code itself read out from the storage medium implements the functions of the above-described embodiments, and the storage medium storing the program code constitutes the present invention.
また、コンピュータが読み出したプログラムコードの指示に基づき、コンピュータ上で稼働しているオペレーティングシステム(OS)などが実際の処理の一部または全部を行う。その処理によって前述した実施形態の機能が実現される場合も含まれる。 In addition, an operating system (OS) or the like operating on the computer performs part or all of the actual processing based on an instruction of the program code read out by the computer. The case where the functions of the above-described embodiment are realized by the process is also included.
さらに、記憶媒体から読み出されたプログラムコードが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書き込まれたとする。その後、そのプログラムコードの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPUなどが実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれる。 Further, it is assumed that the program code read out from the storage medium is written to a memory provided in a function expansion board inserted in the computer or a function expansion unit connected to the computer. Thereafter, based on the instruction of the program code, the CPU provided in the function expansion board or the function expansion unit performs part or all of the actual processing, and the processing of the above-described embodiment is realized by the processing. Be
本発明を上記記憶媒体に適用する場合、その記憶媒体には、先に説明したフローチャートに対応するプログラムコードが格納されることになる。 When the present invention is applied to the storage medium, the storage medium stores program codes corresponding to the flowcharts described above.
11 抽出手段
12 判定手段
13 決定手段
14 置換手段
15 表示制御手段
101 CPU
102 ROM
103 RAM
104 文書入力部
105 表示部
106 通信部
107 バス
11 Extraction means 12 Determination means 13 Determination means 14 Replacement means 15 Display control means 101 CPU
102 ROM
103 RAM
104
Claims (9)
抽出された前記記号または文字の種別を判定する判定手段と、
前記判定手段による判定結果に基づき、前記記号または文字が参照する情報を決定する決定手段と、
前記記号または文字を、前記決定手段により決定された前記記号または文字が参照する情報に置換する置換手段とを備え、
前記記号または文字が参照する情報が変更された場合、前記置換手段は、置換した情報を前記記号または文字が参照する情報の変更に応じて変更することを特徴とする情報処理システム。 An extraction unit for extracting a symbol or a character meaning repetition of information from a document image which is an imaged document;
Determining means for determining the type of the extracted symbol or character;
A determination unit configured to determine information to which the symbol or the character refers based on the determination result by the determination unit;
Replacement means for replacing the symbol or the character with the information to which the symbol or the character determined by the determination means refers ;
An information processing system characterized in that, when the information to which the symbol or the character refers is changed, the replacing means changes the replaced information in accordance with the change of the information to which the symbol or the character refers .
前記置換手段によって置換された情報に含まれる薬剤の処方についての情報が、薬剤の処方基準を満たすか否かを判定する判定手段と、
前記基準を満たしていない場合には警告を行う警告手段とを更に備えることを特徴とする請求項1乃至6のいずれか1項に記載の情報処理システム。 The document contains information about drug prescription,
A determination unit that determines whether the information on the prescription of the medicine included in the information replaced by the substitution means satisfies the prescription criteria of the medicine;
The information processing system according to any one of claims 1 to 6 , further comprising: warning means for giving a warning when the standard is not satisfied.
画像化された文書である文書画像から、情報の繰返しを意味する記号または文字を抽出する抽出工程と、
抽出された前記記号または文字の種別を判定する判定工程と、
前記判定工程における判定結果に基づき、前記記号または文字が参照する情報を決定する決定工程と、
前記記号または文字を、前記決定工程において決定された前記記号または文字が参照する情報に置換する置換工程とを備え、
前記記号または文字が参照する情報が変更された場合、置換工程で置換した情報を前記記号または文字が参照する情報の変更に応じて変更することを特徴とする情報処理方法。 An information processing method executed by the information processing system,
An extraction step of extracting a symbol or a character meaning repetition of information from a document image which is an imaged document;
A determination step of determining the type of the extracted symbol or character;
A determination step of determining information to which the symbol or character refers based on the determination result in the determination step;
Replacing the symbol or character with information referred to by the symbol or character determined in the determining step ;
An information processing method comprising: changing information referred to by the symbol or the character, in response to a change of information referred to by the symbol or the character .
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2015002519A JP6541353B2 (en) | 2015-01-08 | 2015-01-08 | INFORMATION PROCESSING SYSTEM, INFORMATION PROCESSING METHOD, AND PROGRAM |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2015002519A JP6541353B2 (en) | 2015-01-08 | 2015-01-08 | INFORMATION PROCESSING SYSTEM, INFORMATION PROCESSING METHOD, AND PROGRAM |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2016126722A JP2016126722A (en) | 2016-07-11 |
| JP6541353B2 true JP6541353B2 (en) | 2019-07-10 |
Family
ID=56359616
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2015002519A Active JP6541353B2 (en) | 2015-01-08 | 2015-01-08 | INFORMATION PROCESSING SYSTEM, INFORMATION PROCESSING METHOD, AND PROGRAM |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP6541353B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US12032546B2 (en) * | 2019-07-16 | 2024-07-09 | nference, inc. | Systems and methods for populating a structured database based on an image representation of a data table |
Family Cites Families (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH01106261A (en) * | 1987-10-20 | 1989-04-24 | Nec Corp | Edition output processing system |
| JP3001618B2 (en) * | 1990-07-27 | 2000-01-24 | テイ・エイ・エス通商株式会社 | How to copy characters on paper and how to recognize symbols |
| JPH05173732A (en) * | 1991-12-20 | 1993-07-13 | Fujitsu Ltd | Printing controller |
| JP4073976B2 (en) * | 1995-03-14 | 2008-04-09 | 株式会社東芝 | Medicine ordering system |
| EP1387291A3 (en) * | 2002-07-30 | 2005-10-19 | Canon Kabushiki Kaisha | Apparatus, method, recording medium and program for form processing |
-
2015
- 2015-01-08 JP JP2015002519A patent/JP6541353B2/en active Active
Also Published As
| Publication number | Publication date |
|---|---|
| JP2016126722A (en) | 2016-07-11 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US8387010B2 (en) | Automatic software configuring system | |
| US20040168119A1 (en) | method and apparatus for creating a report | |
| CN108762743B (en) | Data table operation code generation method and device | |
| CA2932646A1 (en) | System and method for bundling digitized electronic records | |
| US20160232370A1 (en) | Graphical interaction techniques for configuring an access control mechanism in a computer system | |
| US11557384B2 (en) | Collaborative synthesis-based clinical documentation | |
| US20060293919A1 (en) | Clinical protocol document production | |
| CA3056387A1 (en) | Interoperable record matching process | |
| JP2021056641A (en) | Medical information management device and metadata addition method of medical report | |
| US20110131234A1 (en) | Information process system, and program | |
| JP2007140859A (en) | Information processing system | |
| JP6541353B2 (en) | INFORMATION PROCESSING SYSTEM, INFORMATION PROCESSING METHOD, AND PROGRAM | |
| JP2010039751A (en) | Software development system | |
| JP2007140861A (en) | Information processing system, information processing method, and program | |
| JP7498536B2 (en) | CONVERSION SYSTEM, CONVERSION PROGRAM, AND CONVERSION METHOD | |
| US20160224918A1 (en) | Business influenced part extraction method and business influenced part extraction device based on business variation | |
| US9588997B2 (en) | Modularizing complex XML data for generation and extraction | |
| JP2011081442A (en) | Document checking device and program | |
| US20250069295A1 (en) | Progress diagram generation apparatus, progress diagram generating method, program, and recording medium | |
| WO2021084667A1 (en) | Impartment of sticky note to visualization data and restoration | |
| JP2015162107A (en) | Correspondence relation extraction device, correspondence relation extraction method, and correspondence relation extraction program | |
| US20230377697A1 (en) | System and a way to automatically monitor clinical trials - virtual monitor (vm) and a way to record medical history | |
| CA2924863A1 (en) | System and method for matching physician order results to electronic orders | |
| JP3251190U (en) | Medical Support Equipment | |
| JP2020197759A (en) | Data editing device, data editing method, computer program, and electronic medical record system |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20171228 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20181212 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20190108 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20190208 |
|
| TRDD | Decision of grant or rejection written | ||
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20190514 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20190611 |
|
| R151 | Written notification of patent or utility model registration |
Ref document number: 6541353 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R151 |