JP2007141040A - Prescription receiving device - Google Patents

Prescription receiving device Download PDF

Info

Publication number
JP2007141040A
JP2007141040A JP2005335558A JP2005335558A JP2007141040A JP 2007141040 A JP2007141040 A JP 2007141040A JP 2005335558 A JP2005335558 A JP 2005335558A JP 2005335558 A JP2005335558 A JP 2005335558A JP 2007141040 A JP2007141040 A JP 2007141040A
Authority
JP
Japan
Prior art keywords
character string
prescription
replacement
data
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.)
Granted
Application number
JP2005335558A
Other languages
Japanese (ja)
Other versions
JP4480028B2 (en
Inventor
Yoshito Omura
義人 大村
Kiyoshi Sakurai
潔 櫻井
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.)
Tosho Inc
Original Assignee
Tosho Inc
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 Tosho Inc filed Critical Tosho Inc
Priority to JP2005335558A priority Critical patent/JP4480028B2/en
Priority to PCT/JP2006/317383 priority patent/WO2007029625A1/en
Publication of JP2007141040A publication Critical patent/JP2007141040A/en
Application granted granted Critical
Publication of JP4480028B2 publication Critical patent/JP4480028B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Abstract

<P>PROBLEM TO BE SOLVED: To easily and properly perform setting and addition to a character string replacement table by noticing the specificity of the names of medicines. <P>SOLUTION: About a numerical value included medicine name "Kefral capsule 250mg" included in a medicine master, a rearranged medicine name "250mg Kefral capsule" is automatically generated by rearranging the order of a non-numerical part "Kefral capsule", a numerical value "250" and a unit part "mg" into the order of the numerical part, the unit part and the non-numerical part, and they are automatically set in the character string replacement table. In addition, summary medicine names "Kefral capsu 250mg" and "250mg Kefral capsu" obtained by omitting characters of the last portion of the non-numerical part of the numerical value included medicine name and its rearranged medicine name are automatically set in the character string replacement table. Then, in a postprocessing of character recognition processing, the rearranged medicine name and the summary medicine name are converted into proper medicine names of medicine master regulation on the basis of association in the character string replacement table to thereby improve character recognition rate and receiving work efficiency. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

この発明は、薬局や病院などで処方箋の自動受付に用いられる処方箋受付装置に関し、詳しくは、処方箋の画像イメージ(処方箋イメージ)を文字認識にて文字データやバイナリデータ等の内部形式電子データ(処方箋データ)に変換することにより処方箋の記載情報を取得する処方箋受付装置に関する。   The present invention relates to a prescription receiving apparatus used for automatic reception of prescriptions at pharmacies, hospitals, and the like, and more specifically, internal format electronic data (prescriptions) such as character data and binary data by character recognition of prescription image images (prescription images). The present invention relates to a prescription receiving apparatus that acquires prescription description information by converting the data into (data).

処方箋の受付作業の自動化や省力化等のために、従来より各種の処方箋受付装置が提案されている。具体的には、処方データを読み取って引替券を発行する投薬処理システムや(例えば特許文献1参照)、受付で患者の顔画像を撮影してデータベースに記憶する医療システム(例えば特許文献2参照)、処方箋の両面を撮像して処方箋の表記面を特定する処方箋読取管理システム(例えば特許文献3参照)、処方箋データ入力作業を自動化・省力化するため処方箋に記載された2次元コードを読み取って処方情報に変換する処方箋読取装置(例えば特許文献4参照)などが挙げられる。   In order to automate prescription acceptance work and save labor, various prescription acceptance devices have been proposed. Specifically, a medication processing system that reads prescription data and issues a voucher (see, for example, Patent Document 1), or a medical system that captures a patient's face image at a reception and stores it in a database (see, for example, Patent Document 2) Prescription reading management system that images both sides of the prescription and identifies the prescription notation surface (see, for example, Patent Document 3), prescription by reading the two-dimensional code written in the prescription to automate and save prescription data input work Examples include a prescription reading device that converts information (for example, see Patent Document 4).

また、処方箋を文字データ等でデータ入力する代わりに画像イメージで取り扱うべく処方箋イメージに文字認識を施して受付番号の文字データを取得する処方箋イメージ登録方法(例えば特許文献5参照)も知られており、文字認識処理については、雛形の画像データに文字認識を行って得た位置の差分に基づいて本来の画像データ(画像イメージ)の位置を補正してから文字認識を実行する情報処理装置や(例えば特許文献6参照)、帳票の画像イメージに対して罫線を抽出し消去してから文字認識を行う光学式文字読取装置(例えば特許文献7参照)なども知られている。   In addition, a prescription image registration method (see, for example, Patent Document 5) is also known in which a prescription image is subjected to character recognition to obtain character data of a receipt number so that the prescription image can be handled as an image instead of inputting the prescription data as character data. As for the character recognition processing, an information processing device that executes character recognition after correcting the position of the original image data (image image) based on the position difference obtained by performing character recognition on the template image data ( For example, see Patent Document 6), and an optical character reader (see Patent Document 7, for example) that performs character recognition after extracting and erasing ruled lines from an image of a form is also known.

さらに、処方箋受付装置を病院と薬局の双方に設置しておき、病院の処方箋受付装置で処方箋をイメージデータ(画像イメージ)として読み取り、その画像イメージを公衆網経由で薬局に送信し、薬局においては、FAX受信機(ファクシミリ受信装置)にて受信して処方箋を印字出力するとともに、その処方箋を薬局の処方箋受付装置で読み取って処方箋イメージを記憶・管理するようになった薬剤投与システムが知られている(例えば特許文献8参照)。処方箋受付装置は、病院用も薬局用も同じで、紙媒体の処方箋を読み取って画像イメージを入力するとともに、受付票を印字・発行するようになっている。   Furthermore, prescription reception devices are installed at both hospitals and pharmacies, prescriptions are read as image data (image images) at hospital prescription reception devices, and the image is sent to the pharmacy via the public network. A drug administration system has been known that receives a fax receiver (facsimile receiver) and prints out a prescription, and stores the prescription image by reading the prescription with a prescription reception device of a pharmacy. (For example, refer to Patent Document 8). The prescription receiving apparatus is the same for hospitals and pharmacies, and reads prescriptions on paper media, inputs image images, and prints and issues reception slips.

このように処方箋をFAX(ファクシミリ)にて病院から薬局へ送信することにより、患者が受診した医療機関から処方薬を受け取る保険調剤薬局等の薬局へ移動する間に、薬局の薬剤師が調剤を行うことができるため、患者の待ち時間を削減することができる。
また、患者が院外処方箋を紙媒体のままで病院から薬局まで持っていくと、処方箋に汚れや皺が生じたり、インクが染みたり、ひどい場合には処方箋が破損したりして、処方箋に記載されている処方内容を確認できないこともあったが、そのような不都合な事象の発生も処方箋のFAX送信により回避・抑制することができる。
In this way, by sending the prescription from the hospital to the pharmacy by FAX (facsimile), the pharmacist at the pharmacy dispenses while moving to a pharmacy such as an insurance dispensing pharmacy that receives the prescription drug from the medical institution where the patient consulted Therefore, the waiting time of the patient can be reduced.
In addition, if the patient takes the prescription out of the hospital with a paper medium from the hospital to the pharmacy, the prescription may become dirty or wrinkled, ink may be stained, and in severe cases the prescription may be damaged, and written on the prescription. However, the occurrence of such an inconvenient event can be avoided and suppressed by FAX transmission of a prescription.

また、文字認識処理の結果に一定の後処理を行って認識率を向上させるものや(例えば特許文献9参照)、類似文字については左右の文字種類をキーにした判定や変換を行って文字認識結果の精度を向上させるもの(例えば特許文献10参照)、単語属性に応じて文字限定辞書を使い分けることで認識率を向上させるものも(例えば特許文献11参照)、知られている。   In addition, the recognition result is improved by performing a certain post-processing on the result of the character recognition process (see, for example, Patent Document 9), and for similar characters, character recognition is performed by performing determination and conversion using the left and right character types as keys. There are known ones that improve the accuracy of results (for example, see Patent Document 10) and those that improve the recognition rate by using different character-limited dictionaries according to word attributes (for example, see Patent Document 11).

特開平10−207949号公報 (第1頁)JP 10-207949 A (first page) 特開2003−271733号公報(第1頁)JP 2003-271733 A (first page) 特開2001−188871号公報(第1頁)JP 2001-188881 A (first page) 特開2004−046486号公報(第1頁)JP 2004-046486 A (first page) 特開2001−134698号公報(第1頁)JP 2001-134698 A (first page) 特開2005−043995号公報(第1頁)Japanese Patent Laying-Open No. 2005-043995 (first page) 特開2002−366900号公報(第1頁)JP 2002-366900 A (first page) 特開2001−312560号公報(第1頁)JP 2001-31560 A (first page) 特開平05−282484号公報 (第1頁)JP 05-282484 A (first page) 特開平05−342415号公報 (第1頁)Japanese Patent Laid-Open No. 05-342415 (first page) 特開平09−305714号公報 (第1頁)JP 09-305714 A (first page)

[未公開特許出願]特願2005−257252号
もっとも、このような従来の処方箋受付装置では、各種の改造がばらばらに行われていたため、それぞれに一長一短がある。
具体的には、処方箋の記載情報を文字データやバイナリデータといった内部形式の処方箋データに変換するという処方箋データ入力に関して、二次元コードを処方箋データに変換する装置の場合、処方箋に二次元コードが印刷されていれば申し分ないが、処方箋に二次元コードを印刷するシステムは未だ一部の大病院にしか普及しておらず、多くの一般薬局では宝の持ち腐れになりかねない。
[Unpublished Patent Application] Japanese Patent Application No. 2005-257252 However, in such a conventional prescription receiving apparatus, various modifications are performed separately, and each has advantages and disadvantages.
Specifically, for prescription data input that converts prescription description information into prescription data in an internal format such as character data or binary data, in the case of a device that converts a two-dimensional code into prescription data, the two-dimensional code is printed on the prescription If so, the system that prints the two-dimensional code on the prescription is still only prevalent in some large hospitals, and many general pharmacies can become a fortune.

また、処方箋イメージに文字認識を施して文字データを取得する従来の装置の場合、OCRプログラム等の認識率が100%とはいかないことや、処方箋のフォームすなわち処方箋様式が病院によって異なるばかりか病院によっては複数の処方箋様式を併用することもあって処方箋様式が多岐に亘ることから、受付番号のように極めて限定された部分にしか適用できていないので、薬剤や用量などの処方箋データ入力が必要なときには処方箋かその画像イメージを見ながら手作業で行わざるを得ない。   In addition, in the case of a conventional device that obtains character data by performing character recognition on a prescription image, the recognition rate of the OCR program or the like is not 100%, and the prescription form, that is, the prescription form differs from hospital to hospital. Since multiple prescription forms can be used together, the prescription forms are diverse, so it can only be applied to extremely limited parts such as reception numbers, so it is necessary to input prescription data such as drugs and doses. Sometimes you have to do it manually while looking at the prescription or its image.

さらに、処方箋の画像イメージをファクシミリで送受信する場合、従来システムでは、受信して印刷した処方箋を再び撮像して画像イメージの入力を行うので、画質の劣化が激しい。また、ファクシミリ送信側で処方箋の給紙状態が歪んでいると、歪んだ状態の処方箋がそのまま画像イメージとして取り込まれるため、ファクシミリ受信側では文字の潰れや不所望な影などによって処方箋が見難くなるという現象が発生することがある。調剤薬局の調剤報酬請求業務においては、医療機関より出力された院外処方箋に記載されている情報を基に、レセプトコンピュータに氏名や,保険者情報,処方データ等の項目を入力するのであるが、その際、処方箋が不鮮明であると、データ入力が、人手による作業であれ、文字認識による自動入力であれ、困難になる。   Further, when an image image of a prescription is transmitted / received by facsimile, the image quality of the conventional system is severely deteriorated because the prescription received and printed is imaged again and the image image is input. Also, if the prescription feeding state is distorted on the facsimile transmission side, the distorted prescription is captured as an image image as it is, so that it becomes difficult for the facsimile receiving side to see the prescription due to crushed characters or undesired shadows. May occur. In the dispensing pharmacy dispensing fee request business, the name, insurer information, prescription data, etc. are entered into the receipt computer based on the information described in the out-of-hospital prescription output from the medical institution. At this time, if the prescription is unclear, it is difficult to input data, whether it is manual operation or automatic input by character recognition.

そこで、これらのデータ入力手法を統合して処方箋データ入力を能率良く行えるようにすることが要請される。
その要請のうち、患者の待ち時間を削減するためにファクシミリ送受信手法を取り込むとともに、データ入力の自動化を推し進めるために文字認識手法を組み合わせることについては、ファクシミリ送信時の画質劣化を防止しながら両手法を結合させることができた(上記の未公開特許出願を参照)。
Therefore, it is required to integrate these data input methods so that prescription data can be input efficiently.
Among these requests, both methods are used for incorporating facsimile transmission / reception methods to reduce patient waiting time and combining character recognition methods to promote automation of data input while preventing image quality degradation during facsimile transmission. (See above unpublished patent application).

また、処方箋に含まれていることが予め判明している指定文字に係る処方箋内位置データを含んだテンプレート情報を保持しておき、文字認識処理に際して、テンプレート情報に基づいて画像イメージの一部領域に指定文字の検出処理を施し、その検出結果に基づいて画像イメージに天地反転処理および位置補正処理を施し、それから画像イメージの残部領域を処理するようにもしたことにより、文字認識率の向上を達成するとともに処方箋の逆向きセットを許容しうることとなった(上記の未公開特許出願を参照)。   In addition, template information including position data in a prescription related to a designated character that is previously determined to be included in the prescription is stored, and a partial area of the image image based on the template information during character recognition processing The character recognition rate is improved by performing the specified character detection process on the image, performing the top-and-bottom reversal process and the position correction process on the image based on the detection result, and then processing the remaining area of the image image. It was possible to achieve and tolerate a reverse set of prescriptions (see above unpublished patent application).

もっとも、そのような画質劣化防止や位置補正処理を行ってもOCRプログラム等の文字認識率は依然として100%に達しないため、更なる認識率の向上が求められるので、上述した認識率向上用の技術を組み合わせることが考えられる。例えば、置換前文字列と置換後文字列とを対応付けて多数のデータを文字列置換テーブルに保持しておき、文字認識処理の後に、その処理で得た認識文字列に文字列置換テーブルの置換前文字列の何れかが含まれているとき認識文字列の該当箇所を文字列置換テーブルの置換後文字列のうち対応するもので置き換えることが考えられる。   However, since the character recognition rate of the OCR program or the like still does not reach 100% even if such image quality deterioration prevention or position correction processing is performed, further improvement of the recognition rate is required. It is possible to combine technologies. For example, the pre-replacement character string and the post-replacement character string are associated with each other and a large amount of data is stored in the character string replacement table. When any of the pre-substitution character strings is included, it is conceivable to replace the corresponding part of the recognized character string with the corresponding one of the post-substitution character strings in the character string substitution table.

しかしながら、処方箋受付装置の場合、薬品マスターにデータ保持される薬品名が多岐に亘るうえ、処方する薬剤が病院や薬局によって異なることもあるので、従来技術を単に組み合わせただけでは、適切な文字列置換テーブルを準備したり文字列置換テーブルを適切に維持や拡張するのは容易でない。
そこで、薬品名の特殊性に着目して文字列置換テーブルへの設定や追加が容易かつ適切に行えるようにすることが、重要な技術課題となる。
However, in the case of a prescription acceptance device, there are a wide variety of drug names that are stored in the drug master, and the prescription drugs may differ depending on the hospital or pharmacy. It is not easy to prepare a replacement table or properly maintain or expand a character string replacement table.
Therefore, it is an important technical problem to make it easy and appropriate to set and add to the character string replacement table by paying attention to the peculiarity of the drug name.

本発明の処方箋受付装置は(解決手段1)、このような課題を解決するために創案されたものであり、処方箋の画像イメージを入力する入力手段と、前記画像イメージに文字認識処理を施すことにより前記画像イメージから処方箋データを得るデータ処理部とを備えた処方箋受付装置において、 前記データ処理部が、各種の薬品名を含むデータを保持する薬品マスターと、置換前文字列と置換後文字列とを対応付けて多数のデータを保持する文字列置換テーブルと、前記文字認識処理の後にその処理で得た認識文字列に前記文字列置換テーブルの置換前文字列の何れかが含まれているとき前記認識文字列の該当箇所を前記文字列置換テーブルの置換後文字列のうち該置換前文字列に対応するもので置き換える文字列置換手段とを具えたものであり、 非数値部と数値部と単位部とをその順に連ねた文字列からなる数値含有薬品名が、そのまま前記薬品マスターの薬品名と前記文字列置換テーブルの置換後文字列とに含められており、且つ、数値部と単位部と非数値部の順に並べ替えた並替薬品名になって前記文字列置換テーブルの置換前文字列のうち該置換後文字列と対応するものに含められている、ことを特徴とする。   The prescription receiving apparatus of the present invention (Solution 1) was created to solve such a problem, and is an input means for inputting an image of a prescription, and performs character recognition processing on the image. In the prescription receiving apparatus comprising a data processing unit for obtaining prescription data from the image image, the data processing unit includes a drug master that holds data including various drug names, a pre-replacement character string, and a post-replacement character string. And a character string replacement table that holds a large number of data in association with each other, and a recognized character string obtained by the processing after the character recognition processing includes any of the character strings before replacement in the character string replacement table A character string replacement means for replacing a corresponding portion of the recognized character string with a character string corresponding to the character string before replacement in the character string after replacement in the character string replacement table Yes, a numerical value containing medicine name consisting of a character string in which a non-numeric part, a numerical part, and a unit part are connected in that order is included in the medicine name of the medicine master and the replaced character string of the character string substitution table as it is. In addition, it becomes a rearranged medicine name rearranged in the order of the numerical value part, the unit part, and the non-numeric part, and is included in the character string replacement table corresponding to the post-replacement character string. It is characterized by that.

また、本発明の処方箋受付装置は(解決手段2)、上記解決手段1の処方箋受付装置であって、前記データ処理部が、前記文字列置換テーブルを設定するに際し、前記薬品マスターの前記薬品名から前記数値含有薬品名を抽出して、この数値含有薬品名から前記並替薬品名を生成し、この並替薬品名と前記数値含有薬品名とを対応付けて前記文字列置換テーブルにデータ保持させるようになっている、ことを特徴とする。   Further, the prescription receiving apparatus of the present invention (solving means 2) is the prescription receiving apparatus of the above-mentioned solving means 1, and the data processing unit sets the character string replacement table when the data processing unit sets the character string replacement table. The numerical drug name is extracted from the above, and the rearranged drug name is generated from the numerical drug name, and the data is stored in the character string replacement table by associating the rearranged drug name with the numerical drug name. It is made to let it be characterized by the above.

さらに、本発明の処方箋受付装置は(解決手段3)、上記解決手段2の処方箋受付装置であって、前記データ処理部が、前記文字列置換テーブルを設定するに際し、抽出した前記数値含有薬品名とそれから生成した前記並替薬品名とのうち何れか一方または双方について、その非数値部の後尾の文字を省いて略式薬品名を生成し、この略式薬品名と前記数値含有薬品名とを対応付けて前記文字列置換テーブルにデータ保持させるようになっている、ことを特徴とする。   Furthermore, the prescription receiving apparatus of the present invention (solving means 3) is the prescription receiving apparatus of the above-described solving means 2, wherein the data processing unit extracts the numerical value-containing drug name extracted when setting the character string replacement table And either or both of the rearranged drug names generated therefrom, an abbreviated drug name is generated by omitting the trailing character of the non-numeric part, and the abbreviated drug name is associated with the numerical value-containing drug name. In addition, data is held in the character string replacement table.

また、本発明の処方箋受付装置は(解決手段4)、上記解決手段1の処方箋受付装置であって、前記数値含有薬品名からその非数値部の後尾の文字を省いた正順略式薬品名と、それを数値部と単位部と非数値部の順に並べ替えた並替略式薬品名とのうち何れか一方または双方について、その略式薬品名と前記数値含有薬品名とが対応付けられて前記文字列置換テーブルにデータ保持されていることを特徴とする。   Further, the prescription receiving apparatus of the present invention (Solution means 4) is the prescription receiving apparatus of the above-described solution means 1, wherein a normal-order abbreviated drug name in which the last letter of the non-numeric part is omitted from the numerical value-containing drug name, In addition, with respect to any one or both of the rearranged abbreviated drug names in which the numerical part, the unit part, and the non-numeric part are rearranged, the abbreviated drug name and the numerical value-containing drug name are associated with each other. Data is held in a column replacement table.

また、本発明の処方箋受付装置は(解決手段5)、上記解決手段1の処方箋受付装置であって、前記データ処理部が、前記認識文字列を画面表示して文字列修正を受理するものであって、その文字列修正処理時に入力された修正文字列が前記薬品マスターの前記薬品名に含まれているか否かを検索して、含まれていたときには直ちに又は確認のうえ、前記修正文字列とそれで修正された文字列とを対応付けて前記文字列置換テーブルの置換後文字列および置換前文字列にデータ保持させ、さらに前記修正文字列が前記数値含有薬品名に該当するときには、それから前記並替薬品名を生成し、この並替薬品名と前記数値含有薬品名とを対応付けて前記文字列置換テーブルの置換前文字列および置換後文字列にデータ保持させるようになっている、ことを特徴とする。   Further, the prescription receiving apparatus of the present invention (solving means 5) is the prescription receiving apparatus of the above-mentioned solving means 1, wherein the data processing unit displays the recognized character string on the screen and accepts the character string correction. Then, it is searched whether or not the correction character string input at the time of the character string correction processing is included in the medicine name of the medicine master, and when it is included, the correction character string is immediately or after confirmation. And the character string corrected thereby, the data is stored in the post-replacement character string and the pre-replacement character string in the character string replacement table, and when the corrected character string corresponds to the numerical value-containing drug name, A rearranged medicine name is generated, and the rearranged medicine name and the numerical value-containing medicine name are associated with each other to store data in the pre-substitution character string and the post-substitution character string in the character string substitution table. It is characterized in.

このような本発明の処方箋受付装置にあっては(解決手段1)、文字認識処理で得た認識文字列に文字列置換テーブルを利用した後処理が施されて文字認識率が向上するが、文字列置換テーブルに数値含有薬品名とその並替薬品名とが対応付けてデータ保持されていて、認識文字列はその中の並替薬品名が数値含有薬品名に自動変換される。
数値含有薬品名は、非数値部と数値部と単位部とをその順に連ねた文字列からなり、数値部と単位部と非数値部の順に並べ替えた並替薬品名で処方箋に記入されることもときどきあるが、そのような場合でも、薬品マスターに規定された適切な薬品名に変換されるので、文字認識率や受付作業能率が一段と向上する。しかも、数値含有薬品名は、並替薬品名との関係が明確なので、例えば次の解決手段2のようにして、文字列置換テーブルに自動設定するのも可能である。
したがって、この発明によれば、薬品名の特殊性に基づいて文字列置換テーブルへの設定や追加が容易かつ適切に行える処方箋受付装置の実現に資することができる。
In such a prescription receiving apparatus of the present invention (Solution means 1), the character recognition rate is improved by performing post-processing using a character string replacement table on the recognized character string obtained by the character recognition process. In the character string replacement table, the numerical value-containing medicine name and its rearranged medicine name are stored in association with each other, and the rearranged medicine name in the recognition character string is automatically converted into the numerical value-containing medicine name.
Numeric-containing drug names consist of a string consisting of a non-numeric part, a numeric part, and a unit part in that order, and are written in the prescription with the reordered drug name sorted in the order of the numeric part, unit part, and non-numeric part. Occasionally, even in such a case, the character recognition rate and the reception work efficiency are further improved because the name is converted into an appropriate medicine name defined in the medicine master. In addition, since the relationship between the numerical value-containing drug name and the rearranged drug name is clear, it can be automatically set in the character string replacement table, for example, as in Solution 2 below.
Therefore, according to the present invention, it is possible to contribute to the realization of a prescription receiving apparatus that can be set and added to the character string replacement table easily and appropriately based on the peculiarity of the medicine name.

また、本発明の処方箋受付装置にあっては(解決手段2)、薬品マスターに含まれている数値含有薬品名については、自動で並替薬品名が生成され、それらが自動で文字列置換テーブルにデータ保持させられる。
このように数値含有薬品名の特質に基づき文字列置換テーブルへの設定や追加を薬品マスターから自動で行うようにしたことにより、薬品名の特殊性に基づいて文字列置換テーブルへの設定や追加が容易かつ適切に行える処方箋受付装置を実現することができる。
Further, in the prescription receiving apparatus of the present invention (Solution 2), a reordered drug name is automatically generated for the numerical value-containing drug name included in the drug master, and these are automatically converted into a character string replacement table. The data is held in
In this way, settings and additions to the character string replacement table are automatically performed from the drug master based on the characteristics of the numerical drug names, so that settings and additions to the character string replacement table are made based on the drug name specialities. Can be realized easily and appropriately.

さらに、本発明の処方箋受付装置にあっては(解決手段3)、数値含有薬品名やその並替薬品名の一部を省いて処方箋に記入するとき数値部と単位部は省かないで非数値部の後尾の文字を省くことが多いところ、そのような略式薬品名についても、文字認識処理の後処理で薬品マスター規定の適切な薬品名に変換されるので、文字認識率や受付作業能率が一層向上する。しかも、略式薬品名に係る文字列置換テーブルへの設定や追加も薬品マスターから自動で行うようにしたことにより、薬品名の特殊性に基づいて文字列置換テーブルへの設定や追加が一層容易かつ適切に行える処方箋受付装置を実現することができる。   Further, in the prescription receiving apparatus of the present invention (Solution means 3), when a numerical value-containing drug name or a part of its rearranged drug name is omitted and entered in the prescription, the numerical part and the unit part are not omitted, and the numerical value is not a numerical value. In many cases, the abbreviations of chemicals are omitted, and such abbreviated chemical names are also converted into appropriate chemical names in the chemical master regulations in the post-processing of the character recognition process. Further improve. In addition, the setting and addition to the character string replacement table related to the abbreviated drug name is automatically performed from the drug master, making it easier and easier to set and add to the character string replacement table based on the peculiarity of the drug name. An appropriate prescription receiving apparatus can be realized.

また、本発明の処方箋受付装置にあっては(解決手段4)、数値含有薬品名や並替薬品名の略式薬品名も文字認識処理の後処理で薬品マスター規定の適切な薬品名に変換されるので、文字認識率や受付作業能率が一層向上する。しかも、そのような略式薬品名も、数値含有薬品名と同様、例えば上記の解決手段3のようにして、文字列置換テーブルに自動設定するのが可能である。
したがって、この発明によれば、薬品名の特殊性に基づいて文字列置換テーブルへの設定や追加が一層容易かつ適切に行える処方箋受付装置の実現に資することができる。
Further, in the prescription receiving apparatus of the present invention (solution 4), the abbreviated drug name including the numerical value-containing drug name and the rearranged drug name is also converted into an appropriate drug name defined in the drug master rule in the post-processing of the character recognition process. Therefore, the character recognition rate and the reception work efficiency are further improved. Moreover, such an abbreviated drug name can be automatically set in the character string replacement table, for example, as in the above solution 3 as in the case of the numerical value-containing drug name.
Therefore, according to the present invention, it is possible to contribute to the realization of a prescription receiving apparatus that can be set and added to the character string replacement table more easily and appropriately based on the peculiarity of the medicine name.

また、本発明の処方箋受付装置にあっては(解決手段5)、認識文字列の文字列修正時にも文字列置換テーブルへの追加設定が行えるが、その際、修正文字が数値含有薬品名に該当するときには修正文字列とそれで修正された文字列との対応付けに加えて修正文字列と並替薬品名との対応付けも随伴して自動設定される。
このように数値含有薬品名の特質に基づき文字列置換テーブルへの設定や追加が修正文字列にとどまらず並替薬品名まで随伴してなされるようにしたことにより、薬品名の特殊性に基づいて文字列置換テーブルへの設定や追加が容易かつ適切に行える処方箋受付装置を実現することができる。
Further, in the prescription receiving apparatus of the present invention (solution 5), additional settings can be made in the character string replacement table even when the character string of the recognized character string is corrected. When applicable, in addition to the association between the corrected character string and the character string corrected thereby, the association between the corrected character string and the replacement medicine name is automatically set accordingly.
In this way, the setting and addition to the character string replacement table based on the characteristics of the numerical drug names are not limited to the corrected character strings, but are also accompanied by the names of rearranged drugs. Thus, it is possible to realize a prescription receiving apparatus that can be set and added to the character string replacement table easily and appropriately.

このような本発明の処方箋受付装置を実施するための好適な形態を幾つか説明する。   Several suitable forms for implementing such a prescription receiving apparatus of the present invention will be described.

実施形態1の処方箋受付装置は、上記解決手段の処方箋受付装置であって、前記画像イメージに文字認識処理を施す際に、前記処方箋を発行した医療機関を特定して、対応した処方箋様式を選定し、その様式に基づいて前記画像イメージを分割処理することを特徴とする。
この場合、処方箋の画像イメージに係る文字認識に際して、その処方箋を発行した医療機関が特定され、それに対応した処方箋様式が選定され、さらに、その様式に基づいて画像イメージが分割処理される。このように、各医療機関の発行する処方箋の項目配置パターンに対応した分割パターンで画像イメージが分割され、それぞれの分割イメージに文字認識が施されるようにしたことにより、文字認識時の文字データの候補や処方箋データへの変換時の項目候補が絞り込まれるので、データ変換の精度が向上する。
The prescription receiving apparatus according to the first embodiment is a prescription receiving apparatus of the solving means described above, and when character recognition processing is performed on the image image, the medical institution that issued the prescription is identified and a corresponding prescription format is selected. The image image is divided based on the format.
In this case, at the time of character recognition related to the image of the prescription, the medical institution that issued the prescription is specified, a prescription format corresponding to the medical institution is selected, and the image image is further divided based on the format. In this way, the character image at the time of character recognition is obtained by dividing the image image by the division pattern corresponding to the item arrangement pattern of the prescription issued by each medical institution and performing character recognition on each divided image. Data candidates and item candidates at the time of conversion to prescription data are narrowed down, so that the accuracy of data conversion is improved.

実施形態2の処方箋受付装置は、上記実施形態1の処方箋受付装置であって、前記画像イメージの分割イメージとそれを文字データに変換して表示させた変換欄とを対比させて画面表示することを特徴とする。
この場合、処方箋の画像イメージに係る文字認識に際して、画像イメージの分割イメージとそれを文字データに変換して表示させた変換欄とが画面に対比表示される。これにより、文字認識の結果を容易に確認することができ、その結果を処方箋データに変換する前に、文字認識をやり直したり文字データを修正するといったことも行える。
The prescription receiving apparatus according to the second embodiment is the prescription receiving apparatus according to the first embodiment, and displays the divided image of the image image and the conversion field in which the divided image is converted into character data and displayed on the screen. It is characterized by.
In this case, at the time of character recognition related to the image image of the prescription, a divided image of the image image and a conversion column in which the image is converted into character data and displayed are compared and displayed on the screen. Thereby, the result of character recognition can be easily confirmed, and before the result is converted into prescription data, character recognition can be performed again or character data can be corrected.

実施形態3の処方箋受付装置は、上記実施形態2の処方箋受付装置であって、前記処方箋データを項目ごとに項目名を付して校正可能に表示させた校正欄を、上記分割イメージ及び上記変換欄の何れか一方または双方と対比させて、画面に表示することを特徴とする。
この場合、処方箋の画像イメージに係る文字認識に際して、処方箋データを項目ごとに項目名を付して校正可能に表示させた校正欄も、分割イメージ等と対比される状態で、画面に表示される。これにより、文字認識の結果を反映させた処方箋データを容易に確認することができ、人手介助の必要な校正も、分割イメージ等と見比べることで、容易に行える。
The prescription receiving apparatus according to the third embodiment is the prescription receiving apparatus according to the second embodiment, in which the division field and the conversion are displayed in the proof column in which the prescription data is displayed so as to be calibrated with an item name for each item. It is characterized by being displayed on the screen in comparison with either or both of the columns.
In this case, at the time of character recognition related to the image image of the prescription, the proofreading column in which the prescription data is displayed with the item name for each item so that it can be proofread is also displayed on the screen in a state of being compared with the divided image. . Thereby, prescription data reflecting the result of character recognition can be easily confirmed, and proofreading that requires human assistance can be easily performed by comparing with divided images or the like.

第4実施形態の処方箋受付装置は、上記解決手段や上記実施形態の処方箋受付装置であって、前記入力手段としてファクシミリ受信部が設けられている、というものである。
この場合、ファクシミリ受信部が処方箋の画像イメージの入力手段として装置に組み込まれているので、ファクシミリ送受信された画像イメージがそのまま文字認識処理に供される。これにより、受信後の再撮像が回避されることから、薬局側での処方箋読取作業が不要になるうえ、画質の劣化が送信側での撮像時だけで済むので、従来よりも画質が良好に維持される。そのため、文字認識率も良くなる。したがって、この実施形態によれば、ファクシミリ送信にて患者の待ち時間を削減できるうえ薬局にとってもデータ入力の能率が良い処方箋受付装置を実現することができる。
The prescription receiving apparatus according to the fourth embodiment is the above-described solution means or the prescription receiving apparatus according to the above-described embodiment, and includes a facsimile receiving unit as the input means.
In this case, since the facsimile receiving unit is incorporated in the apparatus as an input means for the prescription image, the image image transmitted and received by the facsimile is directly subjected to the character recognition process. As a result, re-imaging after reception is avoided, prescription reading work on the pharmacy side is not necessary, and image quality deterioration is only required when imaging on the transmission side, so image quality is better than before. Maintained. Therefore, the character recognition rate is also improved. Therefore, according to this embodiment, it is possible to realize a prescription receiving apparatus that can reduce the waiting time of the patient by facsimile transmission and has a high data input efficiency for the pharmacy.

第5実施形態の処方箋受付装置は、上記第4実施形態の処方箋受付装置であって、前記ファクシミリ受信部と同じ回線に接続されたファクシミリ送信部が設けられ、前記ファクシミリ受信部を介して処方箋を受け付けると引替券の画像イメージを生成して前記ファクシミリ送信部から送信することにより引替券の発行を行うようになっている、というものである。
この場合、患者が処方箋をファクシミリ送信するとその場で引替券をファクシミリ受信できるので、遠隔地での受付作業であっても薬局での作業と同じく簡便かつ的確に遂行されることとなる。したがって、この実施形態によれば、ファクシミリ送信にて患者の待ち時間を削減でき而も何処からでも送信できるうえ引替券も受け取れて便利であり更に薬局にとってもデータ入力の能率が良い処方箋受付装置を実現することができる。
The prescription receiving apparatus of the fifth embodiment is the prescription receiving apparatus of the fourth embodiment, and is provided with a facsimile transmission unit connected to the same line as the facsimile reception unit, and receives the prescription via the facsimile reception unit. When accepted, the voucher is issued by generating an image image of the voucher and transmitting it from the facsimile transmission unit.
In this case, when the patient transmits the prescription by facsimile, the voucher can be received by facsimile on the spot, so that even the reception work at a remote place can be performed simply and accurately as in the pharmacy. Therefore, according to this embodiment, it is possible to reduce the waiting time of a patient by facsimile transmission, to receive a replacement ticket, which is convenient for receiving a voucher, and for a pharmacy to have a high efficiency of data input. Can be realized.

このような本発明の処方箋受付装置について、これを実施するための具体的な形態を、以下の実施例1〜2により説明する。
図1〜5に示した実施例1は、上述した解決手段1〜5(出願当初の請求項1〜5)及び第1〜4実施形態を具現化したものであり、図6に示した実施例2は、上述した第5実施形態を具現化したものである。
About the prescription acceptance apparatus of such this invention, the specific form for implementing this is demonstrated by the following Examples 1-2.
The first embodiment shown in FIGS. 1 to 5 embodies the above-described solving means 1 to 5 (claims 1 to 5 at the beginning of the application) and the first to fourth embodiments. The embodiment shown in FIG. Example 2 embodies the fifth embodiment described above.

本発明の処方箋受付装置の実施例1について、その具体的な構成を、図面を引用して説明する。図1は、処方箋受付装置10の構造を示し、(a)がハードウェア構成図、(b)が受付処理のフローチャートである。また、図2は、(a)が処方箋の情報欄の配置例と指定文字の例、(b)がテンプレート情報のデータ構造例である。さらに、図3は、(a)が処方箋の情報欄の配置例、(b)が他の配置例、(c)が病院マスターのデータ構造例、(d)が処方箋データの構造例である。また、図4は、(a)が変換欄対比表示画面の一例、(b)が校正欄対比表示画面の一例であり、図5は、(a)が薬品マスターのデータ構造例、(b)が文字列置換テーブルのデータ構造例である。   A specific configuration of the prescription receiving apparatus according to the first embodiment of the present invention will be described with reference to the drawings. FIG. 1 shows the structure of the prescription receiving apparatus 10, where (a) is a hardware configuration diagram and (b) is a flowchart of the receiving process. FIG. 2A shows an example of the arrangement of prescription information fields and examples of designated characters, and FIG. 2B shows an example of the data structure of template information. Further, FIG. 3A is an arrangement example of the prescription information column, FIG. 3B is another arrangement example, FIG. 3C is a data structure example of the hospital master, and FIG. 3D is a prescription data structure example. 4A is an example of a conversion field comparison display screen, FIG. 4B is an example of a calibration field comparison display screen, FIG. 5A is an example of a data structure of a medicine master, and FIG. Is an example of the data structure of the character string replacement table.

処方箋受付装置10は(図1(a)参照)、処方箋走査部20とデータ処理部30と回線接続部40とを具えている。処方箋走査部20も、回線接続部40も、処方箋の画像イメージをデータ処理部30に入力する入力手段として設けられており、それぞれ信号ケーブルでデータ処理部30に接続されている。処方箋走査部20は紙媒体の処方箋を薬局で直に撮像するのに対し、回線接続部40は、遠隔地で撮像された処方箋イメージ(処方箋の画像イメージ)がファクシミリ送信されて来たら、それを受信してデータ処理部30に引き渡すものである。   The prescription receiving apparatus 10 (see FIG. 1A) includes a prescription scanning unit 20, a data processing unit 30, and a line connection unit 40. Both the prescription scanning unit 20 and the line connection unit 40 are provided as input means for inputting an image of the prescription to the data processing unit 30 and are connected to the data processing unit 30 by signal cables. The prescription scanning unit 20 directly captures a paper-based prescription at a pharmacy, whereas the line connection unit 40 receives a prescription image (prescription image image) captured at a remote place by facsimile transmission. The data is received and delivered to the data processing unit 30.

そのため、回線接続部40は、図示しない電話回線やファクシミリ回線網など外部の通信回線に接続されてファクシミリ受信できるようになっていれば良く、市販の所謂FAXモデムやターミナルアダプタ等で足りる。この実施例では、ファクシミリ受信部として受信さえ出来れば足りるが、この受信部と同じ回線に接続されたファクシミリ送信部と一緒になっていても良く、音声での通話が可能になっていても良く、図示したような外付けタイプでも図示しないコンピュータ内蔵タイプでも良い。   Therefore, the line connection unit 40 may be connected to an external communication line such as a telephone line or a facsimile line network (not shown) so as to be able to receive a facsimile, and a commercially available so-called FAX modem or terminal adapter is sufficient. In this embodiment, it suffices as long as it can be received as a facsimile reception unit, but it may be combined with a facsimile transmission unit connected to the same line as this reception unit, or may be capable of making a voice call. An external type as shown in the figure or a computer built-in type not shown may be used.

処方箋走査部20は、差込み口に処方箋が投入されるとそれを移送路24へ送り込みながら処方箋の撮像を行うスキャナ22と、移送路24に臨んで設けられ処方箋に受付番号を印刷するプリントヘッド25と、処方箋を受け付けた代わりに引換券を発行する引換券発行ユニット21と、操作スイッチや状態表示部材を配設した操作パネル26と、それらの動作制御を行うローカルコントローラ23とを具えていて、スキャナ22で撮った画像イメージを受付番号と共にデータ処理部30へデータ送信するようになっている。   When the prescription is inserted into the insertion slot, the prescription scanning unit 20 feeds the prescription to the transfer path 24 and images the prescription, and a print head 25 that is provided facing the transfer path 24 and prints an acceptance number on the prescription. A voucher issuing unit 21 for issuing a voucher instead of accepting a prescription, an operation panel 26 provided with operation switches and status display members, and a local controller 23 for controlling the operation thereof. The image image taken by the scanner 22 is transmitted to the data processing unit 30 together with the reception number.

データ処理部30のハードウェアは、図示のような所謂デスクトップパソコンや図示しないノートパソコンなどの汎用コンピュータで良く、処方箋走査部20や回線接続部40から送られてきた画像イメージから処方箋データを得るために、データ処理部30のプログラムメモリ等には受付ルーチンと置換文字列設定ルーチンがインストールされ、データ処理部30に内蔵の又は外付けのハードディスク等には、文字列置換テーブルや,テンプレート情報,病院マスター,患者マスター,保険マスター,薬品マスター,用法マスター,注釈マスターなどのデータ群が、適宜なファイル形式やテーブル形式に分かれて或いはデータベースに統合されて、記憶保持されている。   The hardware of the data processing unit 30 may be a general-purpose computer such as a so-called desktop personal computer (not shown) or a notebook personal computer (not shown) in order to obtain prescription data from the image image sent from the prescription scanning unit 20 or the line connection unit 40. In addition, a reception routine and a replacement character string setting routine are installed in the program memory or the like of the data processing unit 30, and a character string replacement table, template information, hospital, etc. are stored in a built-in or external hard disk or the like in the data processing unit 30. Data groups such as a master, a patient master, an insurance master, a medicine master, a usage master, and an annotation master are divided into appropriate file formats and table formats or integrated into a database and stored.

文字列置換テーブルには、後で具体例を挙げるが、対応する置換前文字列と置換後文字列とからなる対データ・組データが多数保持されており、文字列置換テーブルは受付ルーチンによる文字認識処理直後の文字列置換処理などに用いられる。
テンプレート情報には、後で詳述するが、処方箋に含まれていることが予め判明している指定文字のコード又はパターンや、処方箋における指定文字の位置データが含まれており、テンプレート情報は指定文字の検出およびその検出結果に基づく画像イメージの天地反転処理や位置補正処理に用いられる。
病院マスターには、やはり後で詳述するが、それぞれの医療機関に対応した処方箋様式のデータが含まれており、病院マスターは画像イメージの分割に用いられる。
A specific example will be given later in the character string replacement table, but a large number of paired data / combination data consisting of the corresponding pre-replacement character string and post-replacement character string is held. Used for character string replacement processing immediately after the recognition processing.
As will be described in detail later, the template information includes a code or pattern of a designated character that is previously known to be included in the prescription, and position data of the designated character in the prescription. This is used for character detection and image image top-and-bottom inversion and position correction processing based on the detection result.
As will be described later in detail, the hospital master includes prescription style data corresponding to each medical institution, and the hospital master is used to divide the image.

患者マスターには、患者の氏名や生年月日さらには患者コード等のデータが含まれており、患者名の確認や過去処方提示の手がかり等に用いられる。保険マスターには、保険の種類などのデータが含まれており、保険の種類の確認や候補提示に用いられる。
薬品マスターには、各種の薬品名に加えて薬品コード等のデータが含まれており、薬品名の確認や候補提示などに用いられる。薬品名には一般名や商品名などがあり、それを項目分けして記憶保持するデータ構造について、具体例を後述する。
用法マスターには、処方単位や服用限度などのデータが含まれており、処方内容の確認や候補提示などに用いられる。注釈マスターは、特記事項やコメント等の文字列データを追加書き込みできるようになっている。
The patient master includes data such as the patient's name, date of birth, and patient code, and is used for confirmation of the patient name, clues for presenting past prescriptions, and the like. The insurance master includes data such as the type of insurance, and is used for checking the type of insurance and presenting candidates.
The drug master includes data such as drug codes in addition to various drug names, and is used for drug name confirmation and candidate presentation. The medicine name includes a general name, a product name, and the like, and a specific example will be described later regarding a data structure in which these are classified and stored.
The usage master includes data such as prescription units and dosage limits, and is used for confirmation of prescription contents and presentation of candidates. The annotation master can additionally write character string data such as special notes and comments.

受付ルーチンは(図1(b)参照)、先ず動作モードが置換文字列設定モードに設定されているか受付モードに設定されているか確認して(ステップS11)、置換文字列設定モードになっているときには後述の置換文字列設定ルーチンに処理を委ねるが(ステップS50)、受付モードになっているときには以下の受付処理を行うようになっている(ステップS11〜S27)。
すなわち、受付モード下で、受付ルーチンは、処方箋走査部20で処方箋の読取が行われてその画像イメージが処方箋走査部20からデータ処理部30に送られてきたときに加えて、外部のファクシミリで処方箋の読取が行われてその画像イメージが回線接続部40を介してデータ処理部30に送られてきたときも、先ずはその画像イメージを入力するようになっている(ステップS12)。
The reception routine (see FIG. 1B) first checks whether the operation mode is set to the replacement character string setting mode or the reception mode (step S11), and is in the replacement character string setting mode. At times, the processing is left to a replacement character string setting routine described later (step S50). However, when the reception mode is set, the following reception processing is performed (steps S11 to S27).
That is, in the reception mode, the reception routine is performed by an external facsimile in addition to when the prescription scanning unit 20 reads the prescription and the image image is transmitted from the prescription scanning unit 20 to the data processing unit 30. When the prescription is read and the image is sent to the data processing unit 30 via the line connection unit 40, the image is first input (step S12).

そして、その画像イメージから処方箋データを得るために、その画像イメージに文字認識処理等を施すが、その処理を二段階に分けて行う。具体的には、キャリブレーションのため処方箋の画像イメージの一部領域にだけ文字認識処理を施す前処理段階(ステップS13〜S15)と、画像イメージ全領域に対して文字認識処理等を施す本処理段階(ステップS21〜S27)とが行われる。なお、ここでは、画像イメージを直接読取で入力したときもファクシミリ受信で入力したときも前処理と本処理の二段階処理を行うようにしたが、直接読取時には前処理が不要であることが判明している場合は、処方箋走査部20で読み取って画像イメージを入力したときには直ちに画像イメージ全領域に対するイメージ分割処理・文字認識処理・データ変換処理に移行し、回線接続部40を介するファクシミリ受信にて画像イメージを入力したときだけ二段階の処理を行うようにしても良い。   Then, in order to obtain prescription data from the image image, a character recognition process or the like is performed on the image image, and the process is performed in two stages. Specifically, a pre-processing stage (steps S13 to S15) for performing character recognition processing only on a partial area of the prescription image for calibration, and main processing for performing character recognition processing on the entire image image area. Steps (steps S21 to S27) are performed. In this case, the two steps of the pre-processing and the main processing are performed both when the image image is input by direct reading and when it is input by facsimile reception. However, it has been found that pre-processing is not necessary at the time of direct reading. If the image is read by the prescription scanning unit 20 and an image image is input, the process immediately proceeds to image division processing, character recognition processing, and data conversion processing for the entire image image area, and is received by facsimile reception via the line connection unit 40. Two-stage processing may be performed only when an image is input.

先ず前者の前処理段階について詳述すると(ステップS13〜S15)、このキャリブレーション用の前処理は、簡便かつ的確に調整を遂行するため、テンプレート情報を利用しており、テンプレート情報に基づいて指定文字を検出し(ステップS13)、その結果、画像イメージが逆さであることが判明したときには画像イメージを180゜回転させることにより天地反転処理を行い、画像イメージが位置ずれしていることが判明したときには画像イメージを上下左右に移動させることにより位置補正処理を行い(ステップS14)、処方箋の画像イメージから罫線を消去する罫線消去処理も行うようになっている(ステップS15、特許文献7参照)。   First, the former preprocessing stage will be described in detail (steps S13 to S15). This preprocessing for calibration uses template information in order to perform adjustment easily and accurately, and is designated based on the template information. Characters are detected (step S13). As a result, when it is determined that the image image is upside down, the image image is rotated 180 ° to perform the upside down process, and it is determined that the image image is misaligned. In some cases, position correction processing is performed by moving the image image up, down, left, and right (step S14), and ruled line deletion processing is also performed to delete ruled lines from the prescription image (see step S15, Patent Document 7).

処方箋に含まれていることが予め判明している指定文字として(図2(a)参照)、例えば、医療機関情報欄における「保険医氏名」の「医」が指定文字No.1に選定され、同じ医療機関情報欄における「電話番号」の「電」が指定文字No.2に選定されていたとする。また、「医」の処方箋内位置は左から1299ビット目で上から980ビット目で右から1332ビット目で下から1014ビット目であったとすると、テンプレート情報については(図2(b)参照)、指定文字No.1に係るデータ項目のうちパターンは「医」に,読取左は「1299」に,読取上は「980」に,読取右は「1332」に,読取下は「1014」に予め設定される。同様にして、テンプレート情報において指定文字No.2に係るデータ項目では、パターンは「電」に,読取左は「1168」に,読取上は「884」に,読取右は「1480」に,読取下は「1066」に予め設定されている。   For example, “medicine” of “insurance doctor name” in the medical institution information column is selected as the designated character No. 1 as the designated character that has been previously found to be included in the prescription (see FIG. 2A). Suppose that “telephone” of “telephone number” in the same medical institution information column is selected as the designated character No. 2. Also, assuming that the position in the prescription of “medicine” is the 1299th bit from the left, the 980th bit from the top, the 1332th bit from the right, and the 1014th bit from the bottom, for template information (see FIG. 2B) , Designated character No. Of the data items related to 1, the pattern is preset to “medical”, the reading left to “1299”, the reading to “980”, the reading to “1332”, and the reading to “1014”. Similarly, in the template information, the designated character No. In the data item relating to 2, the pattern is preset to “electric”, the reading left is “1168”, the reading is “884”, the reading right is “1480”, and the reading is “1066”. .

受付ルーチンは、このようなテンプレート情報を参照して指定文字を検出するとき(図1(b)ステップS13)、テンプレート情報の読取左・読取右・読取上・読取下で想定される処方箋内位置を中心にした例えば左右100ビット上下100ビットの処方箋部分領域と、その第1想定位置を逆さの処方箋に当てはめたときの第2想定位置を中心にした処方箋部分領域とに限定して、処方箋の画像イメージに文字認識処理を施すようになっている。そして、指定文字No.1の文字「医」と指定文字No.2の文字「電」とが第1想定位置包含領域に見いだせれば、指定文字検出位置と第1想定位置との位置ずれを相殺するよう画像イメージの位置を補正するが、天地反転処理は行わないようになっている。   When the reception routine detects a designated character by referring to such template information (step S13 in FIG. 1 (b)), the position in the prescription that is assumed when the template information is read left, read right, read above, and read. For example, the prescription partial area with 100 bits on the left and right and 100 bits on the top and bottom, and the prescription partial area centered on the second assumed position when the first assumed position is applied to an inverted prescription, Character recognition processing is applied to the image. And the designated character No. 1 character “medicine” and designated character No. If the second character “Den” is found in the first assumed position inclusion region, the position of the image is corrected so as to cancel the positional deviation between the designated character detection position and the first assumed position, but the top-and-bottom inversion process is performed. There is no such thing.

これに対し、指定文字No.1の文字「医」と指定文字No.2の文字「電」とが第2想定位置包含領域で見つかったときには、先ず、画像イメージに対して天地反転処理を行うとともに、指定文字検出位置についても処方箋の天地反転に対応した位置変換を行い、それから、変換後の指定文字検出位置と第1想定位置との位置ずれを相殺するよう画像イメージの位置を補正するようになっている。あるいは、指定文字検出位置と第2想定位置との位置ずれを相殺するよう画像イメージの位置を補正してから、画像イメージに対して天地反転処理を行う。その後、受付ルーチンは、罫線消去処理を行って、処方箋の画像イメージから罫線を消去し(ステップS15)、それから二段階処理のうちの本処理すなわち処理画像イメージ全領域に対するイメージ分割処理・文字認識処理・データ変換処理(ステップS21〜S27)に移行するようになっている。   On the other hand, the designated character No. 1 character “medicine” and designated character No. When the second character “Den” is found in the second assumed position inclusion region, first, the image image is subjected to the top / bottom inversion process, and the designated character detection position is also subjected to position conversion corresponding to the top / bottom inversion of the prescription. Then, the position of the image is corrected so as to cancel out the displacement between the designated character detection position after conversion and the first assumed position. Alternatively, the position of the image image is corrected so as to cancel the positional deviation between the designated character detection position and the second assumed position, and then the top-and-bottom inversion process is performed on the image image. After that, the reception routine performs ruled line erasure processing to erase ruled lines from the prescription image (step S15), and then the main processing of the two-stage processing, that is, image division processing / character recognition processing for the entire region of the processed image image The process proceeds to data conversion processing (steps S21 to S27).

画像イメージ全領域に対するイメージ分割処理・文字認識処理・データ変換処理では、受付ルーチンが(図1(b)参照)、医療機関特定に基づくイメージ分割処理と(ステップS21〜24)、処方箋の画像イメージに文字認識を施して文字データを得る文字認識処理と(ステップS25)、その文字データを処方箋データに変換するデータ変換処理と(ステップS26)を行う。文字認識処理とデータ変換処理は、処方箋データが完成するまで、分割イメージを替えたり戻したりしながら、何度でも繰り返して行えるようになっている(ステップS27)。   In the image division processing, character recognition processing, and data conversion processing for the entire image image area, the reception routine (see FIG. 1B), image division processing based on medical institution identification (steps S21 to 24), and prescription image image A character recognition process for obtaining character data by performing character recognition (step S25), and a data conversion process for converting the character data into prescription data (step S26) are performed. The character recognition process and the data conversion process can be repeated as many times as necessary to change or return the divided image until the prescription data is completed (step S27).

置換文字列設定ルーチンは後で詳述するので、本処理段階の部分(ステップS21〜S27)を詳述すると、イメージ分割処理では、目視確認のため画像イメージをそのまま即ち処方箋全体を画面に表示したうえで(ステップS21)、画像イメージ全体に文字認識を施し更にその認識結果に文字列検索を行って医療機関を特定しうる文字列が含まれているか否か判定する(ステップS22)。その判定結果が肯定的な場合(ステップS22の「有」)、例えば「○○○病院」や「×××診療所」といった医療機関名が見つかり而もそれが病院マスターに保持されているときには、その医療機関名を自動採用するようになっている。   Since the replacement character string setting routine will be described in detail later, this processing stage (steps S21 to S27) will be described in detail. In the image division processing, the image image is displayed as it is for visual confirmation, that is, the entire prescription is displayed on the screen. In addition (step S21), character recognition is performed on the entire image, and a character string search is performed on the recognition result to determine whether or not a character string that can specify a medical institution is included (step S22). If the determination result is affirmative ("Yes" in step S22), for example, when a medical institution name such as "XXX Hospital" or "XXX clinic" is found and held by the hospital master The name of the medical institution is automatically adopted.

これに対し、上記の判定結果が否定的な場合には(ステップS22の「無」)、病院マスター中の医療機関名称を候補として画面に列挙して受付作業者に選択させたり、画面中の入力欄へ受付作業者に医療機関名の入力を求めたりして、医療機関の指定を受けるようになっている(ステップS23)。医療機関の特定が済むと、その医療機関に対応した処方箋様式を選定するとともに(ステップS24)、その様式に基づいて画像イメージを分割処理するようにもなっている。   On the other hand, when the above determination result is negative (“No” in step S22), the names of medical institutions in the hospital master are listed as candidates on the screen and the reception worker selects them. The reception worker is requested to input the name of the medical institution in the input field and receives the designation of the medical institution (step S23). When the medical institution is specified, a prescription form corresponding to the medical institution is selected (step S24), and the image image is divided based on the form.

処方箋の様式は(図3(a),(b)参照)、ここでは画像イメージの分割に関係するものが重要であり、典型例としては、図示した医療機関情報欄や,患者情報欄,調剤情報欄,保険情報欄,図示しない注釈欄などに大別され、それらの処方箋における配置が医療機関ごとに規定され医療機関で異なることが多い。
そして、それを反映した病院マスターには(図3(c)参照)、医療機関ごとに、それに対応した処方箋様式のデータが、すなわち基礎情報と処方箋欄分割情報とが、対応づけて保持されている。
The prescription format (see FIGS. 3 (a) and 3 (b)) is important here as it relates to the division of the image image. Typical examples include the medical institution information column, patient information column, and dispensing shown in the figure. Information fields, insurance information fields, annotation fields (not shown), etc., and their prescription arrangements are prescribed for each medical institution and are often different among medical institutions.
The hospital master reflecting this (see FIG. 3 (c)) stores the data of the prescription format corresponding to each medical institution, that is, the basic information and the prescription column division information in association with each other. Yes.

そのうち基礎情報は(図3(c)参照)、医療機関情報欄(図3(a),(b)参照)の記載事項を電子データにしたものである処方箋データの医療機関情報(図3(d)参照)と同じかそれに準ずるものである(図3(c)参照)。
また、処方箋欄分割情報には(図3(c)参照)、上記の各欄に関する配置情報が含められている。配置情報は、例えば、該当欄が長方形の場合、処方箋における該当欄の対角点の位置などで規定されている。配置情報を同じ欄について繰り返し規定するのも許容されていて、複数の長方形に分散した又はそれらを結合させた形状の情報欄にも適合するようになっている。
Of these, the basic information (see FIG. 3C) is the medical institution information (FIG. 3 (FIG. 3)) which is electronic data of the items described in the medical institution information column (see FIGS. 3A and 3B). d) and the same as (see FIG. 3 (c)).
Further, the prescription column division information (see FIG. 3C) includes arrangement information regarding each of the above-described columns. For example, when the corresponding field is a rectangle, the arrangement information is defined by the position of the diagonal point of the corresponding field in the prescription. It is allowed to repeatedly define the arrangement information for the same column, and it is adapted to an information column having a shape dispersed in a plurality of rectangles or a combination thereof.

処方箋データは(図3(d)参照)、そのような処方箋の記載事項を電子データとして得られる標準データ構造のものであり、例えば、それを薬歴管理や自動調剤などに利用する薬局ホストコンピュータ50に適合させて予めデータ構造が定められている。それには、図示した医療機関情報や,患者情報,保険情報,調剤情報が含まれる他、図示しない注釈情報なども常に又は選択的に含められる。医療機関情報には医療機関名称などが含まれ、患者情報には患者名などが含まれ、保険情報には保険種別や保険番号などが含まれ、調剤情報には、処方された薬品名と用量との組データが一組または複数組・多数組含まれるようになっている。   The prescription data (see FIG. 3D) has a standard data structure in which the items described in such a prescription are obtained as electronic data. For example, a pharmacy host computer that uses the prescription data for drug history management, automatic dispensing, etc. The data structure is determined in advance in conformity with 50. In addition to the illustrated medical institution information, patient information, insurance information, and dispensing information, annotation information (not shown) is always or selectively included. The medical institution information includes the name of the medical institution, the patient information includes the patient name, etc., the insurance information includes the insurance type and insurance number, etc., and the dispensing information includes the prescription drug name and dose. The set data is included in one set or a plurality of sets / multiple sets.

さらに、データ処理部30は(図1(b)参照)、特定した医療機関に対応する処方箋欄分割情報が得られると(ステップS24)、それに基づき処方箋の各欄ごとに画像イメージを分割して分割イメージを幾つか作り、例えば医療機関情報欄の分割イメージや,患者情報欄の分割イメージ,調剤情報欄の分割イメージ,保険情報欄の分割イメージなどを作り、そのうち何れかの分割イメージを画面に対比表示させて文字認識処理(ステップS25)及びデータ変換処理(ステップS26)を行うようになっている。   Further, when the prescription column division information corresponding to the specified medical institution is obtained (see step S24), the data processing unit 30 divides the image image for each column of the prescription based on the prescription column division information (step S24). Create several split images, for example, create a split image in the medical institution information column, a split image in the patient information column, a split image in the dispensing information column, a split image in the insurance information column, etc. In contrast, the character recognition process (step S25) and the data conversion process (step S26) are performed.

文字認識処理では、変換欄対比表示が行われ(図4(a)参照)、選択された情報欄に係る分割イメージ31と、それに文字認識を施して得られた文字データの変換欄33とが、左右に並んだ状態で、一画面に表示される。変換欄33は、マウスやキーの操作等で選択した部分を受付作業者が文字列修正を行えるようになっている。情報欄の選択切り替えは欄指定タブ32のクリック等で行え、データ変換処理すなわち校正欄対比表示画面への移行は特定ボタン例えば「校正欄表示」のクリック等で行えるようになっている。   In the character recognition process, conversion field comparison display is performed (see FIG. 4A), and a divided image 31 relating to the selected information field and a character data conversion field 33 obtained by performing character recognition on the divided image 31 are displayed. They are displayed on a single screen in a line-up state. In the conversion column 33, a reception worker can correct a character string at a portion selected by operating a mouse or a key. The selection of the information column can be switched by clicking the column designation tab 32, and the data conversion process, that is, the transition to the calibration column comparison display screen can be performed by clicking a specific button, for example, “display calibration column”.

また、この文字認識処理に随伴して、二つの文字列処理すなわち文字列置換処理(文字列置換手段)と置換文字列追加処理(置換文字列設定)が行われるようにもなっている(図1(b)ステップS25参照)。
文字列置換処理は、分割イメージ31に文字認識処理が施された直後、変換欄33が表示される前に、行われる。この処理では、文字認識処理の後にその処理で得た認識文字列に文字列置換テーブルの置換前文字列の何れかが含まれているとき、その置換前文字列と文字列置換テーブルにおいて対データ・組データをなしている置換後文字列で、認識文字列の該当箇所が置き換えられる。文字列置換については、特に、非数値部と数値部と単位部とをその順に連ねた文字列からなる数値含有薬品名に係る具体例を後述する。
Also, accompanying this character recognition process, two character string processes, that is, a character string replacement process (character string replacement means) and a replacement character string addition process (replacement character string setting) are performed (see FIG. 1 (b) Step S25).
The character string replacement process is performed immediately after the character recognition process is performed on the divided image 31 and before the conversion field 33 is displayed. In this process, when any of the character strings before replacement in the character string replacement table is included in the recognized character string obtained by the process after the character recognition process, the paired data in the pre-replacement character string and the character string replacement table -The corresponding part of the recognized character string is replaced with the replaced character string that forms the set data. As for the character string replacement, a specific example relating to a numerical value-containing drug name including a character string in which a non-numeric part, a numerical part, and a unit part are connected in that order will be described later.

置換文字列の追加処理は、変換欄33に対する文字列修正処理のあったときに行われる。この処理では、入力された修正文字列が薬品マスターの薬品名に含まれているか否かを検索して、一般名であっても商品名であっても含まれていたときには例えば動作モードに応じて直ちに或いは確認メッセージを表示して確認応答が得られたら、修正文字列とそれで修正された文字列とを文字列置換テーブルに適合した対データ・組データにして、修正文字列は文字列置換テーブルの置換後文字列の方になり、修正された文字列は文字列置換テーブルの置換前文字列の方になるよう、修正文字列とそれで修正された文字列とを文字列置換テーブルにデータ保持させるようになっている。   The replacement character string addition process is performed when a character string correction process is performed on the conversion field 33. In this process, it is searched whether or not the input correction character string is included in the medicine name of the medicine master. Immediately or when a confirmation message is displayed and a confirmation response is obtained, the modified character string and the modified character string are converted into paired data / combination data that conforms to the character string replacement table, and the modified character string is replaced with a character string. The corrected character string and the corrected character string are stored in the character string replacement table so that the corrected character string becomes the character string before replacement in the character string replacement table. It is supposed to be held.

さらに、この置換文字列追加処理では、修正文字列が数値含有薬品名に該当するときには、文字列における非数値部と数値部と単位部という並びを数値部と単位部と非数値部の順に並べ替えることにより、数値含有薬品名から並替薬品名を生成する。そして、この並替薬品名と数値含有薬品名についても、並替薬品名と数値含有薬品名とを文字列置換テーブルに適合した対データ・組データにして、並替薬品名は文字列置換テーブルの置換前文字列の方になり、数値含有薬品名は文字列置換テーブルの置換後文字列の方になるよう、並替薬品名と数値含有薬品名とを文字列置換テーブルにデータ保持させるようにもなっている。   Further, in this replacement character string addition process, when the corrected character string corresponds to the name-containing drug name, the arrangement of the non-numeric part, the numerical part, and the unit part in the character string is arranged in the order of the numerical part, the unit part, and the non-numeric part. By changing the name, a rearranged medicine name is generated from the numerically contained medicine name. For this sort of chemical name and numerical value-containing drug name, the sort chemical name and numeric value-containing chemical name are converted into paired data / set data that conforms to the string substitution table, and the sort chemical name is the string substitution table. The replacement drug name and the value-containing drug name are stored in the character string replacement table so that the character string before replacement and the value-containing drug name become the character string after replacement in the string replacement table. It is also.

データ変換処理では、変換欄対比表示で得られた文字データを処方箋データに反映させるとともに、校正欄対比表示が行われる(図4(b)参照)。この校正欄対比表示では、選択された情報欄に係る分割イメージ31と、処方箋データの各項目を列挙した校正欄34とが、左右に並んだ状態で、一画面に表示される。校正欄34の各項目には、項目名とデータ値とが含まれており、そのうちデータ値は、校正のため、マウスやキーの操作等で選択して修正できるようになっている。   In the data conversion process, the character data obtained by the conversion column comparison display is reflected in the prescription data, and the calibration column comparison display is performed (see FIG. 4B). In this calibration column contrast display, the divided image 31 relating to the selected information column and the calibration column 34 listing the items of the prescription data are displayed on one screen in a state where they are arranged side by side. Each item in the calibration column 34 includes an item name and a data value, and the data value can be selected and corrected by operating a mouse or a key for calibration.

校正欄対比表示画面でも、情報欄の選択切り替えは欄指定タブ32のクリック等で行え、文字認識処理すなわち変換欄対比表示画面への戻り等は特定ボタン例えば「変換欄表示」のクリック等で行えるようになっている。すなわち、対比表示画面間の移行も、情報欄の選択切替も、何時でも自由に行えるようになっている。同様に例えば「置換文字列設定」ボタンのクリック等で、置換文字列設定処理へも移行できるようになっている。
校正欄対比表示画面で(図4(b)参照)、特定ボタン例えば「処方箋完成」のクリック等がなされると、受付ルーチンは(図1(b)参照)、処方箋データが完成したと判定して(ステップS27の「Yes」)、処方箋の受付処理を終えるようになっている。
Even on the calibration column comparison display screen, the selection of information column can be switched by clicking the column designation tab 32, and the character recognition processing, that is, the return to the conversion column comparison display screen, etc. can be performed by clicking a specific button, for example, “conversion column display”. It is like that. That is, transition between contrast display screens and selection switching of information columns can be freely performed at any time. Similarly, for example, by clicking a “replacement character string setting” button, it is possible to shift to the replacement character string setting process.
When a specific button such as “Prescription Complete” is clicked on the calibration column comparison display screen (see FIG. 4B), the reception routine (see FIG. 1B) determines that the prescription data is complete. (“Yes” in step S27), the prescription acceptance process is completed.

置換文字列設定ルーチンは(図1(b)ステップS50)、要するに二つの文字列を対データ・組データにして文字列置換テーブルの置換前文字列および置換後文字列にデータ保持させるものであるが、修正随伴モードと個別設定モードと一括設定モードとで文字列の取得手法等が異なっている。
修正随伴モードは、上述した文字列修正処理に随伴して置換文字列設定処理に移行したときのものであり、このモードでは、入力された修正文字列とそれで修正された文字列とについて上述の置換文字列追加処理を行う。すなわち、修正文字列とそれで修正された文字列との対データ・組データを文字列置換テーブルに設定するとともに、修正文字列が数値含有薬品名に該当するときには、その並替薬品名と数値含有薬品名との対データ・組データも文字列置換テーブルに設定するようになっている。
The replacement character string setting routine (FIG. 1 (b), step S50) is basically to make two character strings into paired data / combination data and hold the data in the character string before replacement and the character string after replacement in the character string replacement table. However, the character string acquisition method and the like are different between the correction accompanying mode, the individual setting mode, and the batch setting mode.
The correction accompanying mode is a case where the process proceeds to the replacement character string setting process in association with the above-described character string correction processing. In this mode, the input correction character string and the character string corrected thereby are described above. Perform replacement character string addition processing. In other words, the pair data / group data of the corrected character string and the corrected character string is set in the character string replacement table, and when the corrected character string corresponds to the numerical value-containing drug name, the rearranged drug name and the numerical value included Pair data / group data with drug names are also set in the character string replacement table.

個別設定モードは、置換文字列設定ボタンのクリック等で置換文字列設定処理に移行したときに多用されるが、このモードでは、置換前文字列用と置換後文字列用の一対の文字列の入力を求め、それらが入力されてから、文字列置換テーブルへの設定を行う。個別設定モードでも、入力した置換後文字列が数値含有薬品名に該当するときには、その並替薬品名と数値含有薬品名との対データ・組データも文字列置換テーブルに設定するようになっている。なお、並替薬品名と数値含有薬品名との設定については、修正随伴モードと個別設定モードのうち何れか一方または双方で、直ちに行うのでなく、確認をとってから行うようにしても良い。   The individual setting mode is often used when shifting to the replacement character string setting process by clicking the replacement character string setting button, etc. In this mode, a pair of character strings for the pre-replacement character string and the post-replacement character string are used. It asks for input, and after they are entered, it sets the character string replacement table. Even in the individual setting mode, when the input text string after replacement corresponds to a numeric-containing chemical name, the paired data / combination data of the sorted chemical name and numeric-containing chemical name is also set in the string substitution table. Yes. In addition, about the setting of a rearrangement medicine name and a numerical value containing chemical | medical agent name, it may be made after taking confirmation, not immediately in either one or both of correction accompanying mode and individual setting mode.

一括設定モードは、置換文字列設定モードで置換文字列設定ルーチンが起動されたときに多用されるが、この一括設定モードでは、薬品マスターに含まれている各種の薬品名について、次々に、数値含有薬品名の検索と文字列置換テーブルへの設定とを行う。すなわち、薬品マスターの薬品名について一般名であろうと商品名であろうと数値含有薬品名に該当するか否かを調べて、数値含有薬品名が見つかれば、それを抽出する。そして、この数値含有薬品名から並替薬品名を生成し、この並替薬品名と数値含有薬品名とを対応付けて文字列置換テーブルにデータ保持させるようになっている。なお、薬品マスターに薬品名を追加したときなどに一括設定モードで置換文字列設定処理を繰り返しても不都合な重複設定が生じないよう、文字列置換テーブルに設定済みの対データ・組データは再度の設定を省くようにもなっている。   The batch setting mode is frequently used when the replacement character string setting routine is started in the replacement character string setting mode. In this batch setting mode, numerical values are sequentially set for various drug names included in the drug master. Search for contained chemical names and set in the character string replacement table. That is, it is checked whether the medicine name of the medicine master corresponds to the numerical name-containing chemical name regardless of whether it is a general name or a product name. If the numerical name-containing chemical name is found, it is extracted. Then, a rearranged medicine name is generated from the numerical value containing medicine name, and the rearranged medicine name and the numerical containing medicine name are associated with each other and stored in the character string replacement table. In order to prevent inadvertent duplicate settings even if the replacement character string setting process is repeated in the batch setting mode, such as when a drug name is added to the drug master, the paired data / set data already set in the character string replacement table will be displayed again. The setting of is also omitted.

さらに、この置換文字列設定ルーチンは、数値含有薬品名とそれから生成した並替薬品名とのうち何れか一方または双方について、その非数値部の後尾の文字を省いて略式薬品名を生成し、この略式薬品名と数値含有薬品名とを対応付けて文字列置換テーブルにデータ保持させるようにもなっている。このような略式薬品名に係る設定は、一括設定モードに限らず、個別設定モードや修正随伴モードでも、並替薬品名に係る設定と同様、直ちに無条件で又はサブ動作モード設定や確認に応じて選択的に行われる。非数値部の後尾の文字の省略は大抵最後尾の一文字であるが、最後尾が「ー」や「ン」のような省かれやすい文字のときには、最後尾から二文字が省かれるようになっている。   Further, the replacement character string setting routine generates a simplified drug name by omitting the trailing character of the non-numeric part of either or both of the numerical value-containing drug name and the rearranged drug name generated therefrom, The abbreviation drug name and the numerical value-containing drug name are associated with each other and data is held in the character string replacement table. Such a setting related to the abbreviated drug name is not limited to the batch setting mode, but also in the individual setting mode and the correction accompanying mode, as in the setting related to the rearranged drug name, immediately unconditionally or according to the sub operation mode setting or confirmation. Done selectively. Omitting the last character of the non-numeric part is usually the last character, but when the last character is an easily omitted character such as “-” or “n”, the last two characters are omitted. ing.

この実施例1の処方箋受付装置10について、その使用態様及び動作を、図面を引用して説明する。
処方箋受付装置10を例えば薬局に設置する場合(図1(a)参照)、処方箋走査部20は受付カウンタ等に載置し、データ処理部30や回線接続部40はカウンタ内の作業机等に載置し、両者をケーブル接続するとともに、薬局ホストコンピュータ50に繋がっている局内LAN等が有ればそれにもデータ処理部30を接続する。
About the prescription acceptance apparatus 10 of this Example 1, the usage mode and operation | movement are demonstrated referring drawings.
For example, when the prescription receiving apparatus 10 is installed in a pharmacy (see FIG. 1A), the prescription scanning unit 20 is placed on a reception counter or the like, and the data processing unit 30 or the line connection unit 40 is installed on a work desk or the like in the counter. The data processing unit 30 is connected to the pharmacy host computer 50 if there is an in-station LAN or the like.

また、データ処理部30には、受付ルーチンと置換文字列設定ルーチンをインストールするとともに、データ初期化も行う。すなわち、薬品マスターや,用法マスター,保険マスターには、薬局で扱う可能性のある薬品名や,処方単位,保険の種類などのデータを設定する。また、注釈マスターや,患者マスターはクリアする。さらに、テンプレート情報には、処方箋に含まれていることが予め判明している指定文字や処方箋における指定文字の位置データなどを設定し、病院マスターには、医療機関対応の処方箋欄分割情報などを設定する。薬品マスターや文字列置換テーブルへの初期設定は、他機や初期化ツール等から移設できるデータについては、ダウンロード等で、手間を省く。   In addition, the data processing unit 30 installs a reception routine and a replacement character string setting routine, and also performs data initialization. In other words, in the medicine master, usage master, and insurance master, data such as medicine names, prescription units, and insurance types that may be handled by the pharmacy are set. Also, the annotation master and patient master are cleared. Furthermore, the template information is set with designated characters that have been found to be included in the prescription in advance, position data of the designated characters in the prescription, etc. Set. The initial setting to the medicine master and the character string replacement table saves time and effort by downloading data that can be transferred from other machines or initialization tools.

移設できないデータ例えば薬局固有のデータについては、手動で薬品名等を設定して薬品マスターを完成する。例えば、一般名として「ケフラーカプセル250mg」や「ダーゼン10mg錠」が設定され、商品名として「アリナミン糖衣錠25mg」が設定されて、薬品マスターが出来上がる(図5(a)参照)。
それから、データ処理部30を置換文字列設定モードで起動すると(図1(b)ステップS11参照)、置換文字列設定ルーチンが起動され(ステップS50)、上述した一括設定モードで数値含有薬品名の検索と文字列置換テーブルへの設定とが自動で行われる。そして、薬品マスターにおける薬品名について数値含有薬品名が見つかる度に、並替薬品名に係る設定と略式薬品名に係る設定とが行われる。
For data that cannot be transferred, such as pharmacy-specific data, the drug name is manually set to complete the drug master. For example, “Kefler Capsule 250 mg” or “Dasene 10 mg Tablet” is set as a general name, and “Arinamin Dragee 25 mg” is set as a trade name, and a medicine master is completed (see FIG. 5A).
Then, when the data processing unit 30 is started in the replacement character string setting mode (see step S11 in FIG. 1 (b)), the replacement character string setting routine is started (step S50). Searching and setting in the character string replacement table are performed automatically. Then, every time a numerical value-containing drug name is found for the drug name in the drug master, the setting related to the rearranged drug name and the setting related to the abbreviated drug name are performed.

例えば、数値含有薬品名「ケフラーカプセル250mg」が薬品マスターに一般名で含まれており(図5(a)参照)、これが検索で見いだされると、並替薬品名に係る設定処理として、非数値部「ケフラーカプセル」と数値「250」と単位部「mg」との順が数値部と単位部と非数値部の順に並べ替えられて並替薬品名「250mgケフラーカプセル」が自動生成され、それら並替薬品名と数値含有薬品名とが対データ・組データにされて、並替薬品名「250mgケフラーカプセル」は文字列置換テーブルの置換前文字列の方にデータ保持させられ、数値含有薬品名「ケフラーカプセル250mg」は文字列置換テーブルの置換後文字列の方にデータ保持させられる(図5(b)参照)。   For example, the name-containing drug name “Kefler Capsule 250 mg” is included in the drug master as a generic name (see FIG. 5A). The order of the numerical part “Kefler capsule”, numerical value “250”, and unit part “mg” is rearranged in the order of numerical part, unit part, and non-numeric part to automatically generate the rearranged medicine name “250 mg Kefler capsule”. The sorted drug name and the numerical value-containing drug name are converted into paired data / combination data, and the sorted drug name “250 mg kettle capsule” is stored in the pre-replacement character string in the character string replacement table. The numerical value-containing drug name “Kefler capsule 250 mg” is stored in the character string after replacement in the character string replacement table (see FIG. 5B).

さらに、略式薬品名に係る設定が数値含有薬品名の正順略式薬品名と並替薬品名の並替略式薬品名とについて行われる。数値含有薬品名「ケフラーカプセル250mg」からは非数値部「ケフラーカプセル」の後尾の一文字「ル」を省いて正順略式薬品名「ケフラーカプセ250mg」が自動生成され、それら正順略式薬品名と数値含有薬品名とが対データ・組データにされて、正順略式薬品名「ケフラーカプセ250mg」は文字列置換テーブルの置換前文字列にデータ保持させられ、数値含有薬品名「ケフラーカプセル250mg」は文字列置換テーブルの置換後文字列にデータ保持させられる(図5(b)参照)。同様にして、並替薬品名「250mgケフラーカプセル」からは並替略式薬品名「250mgケフラーカプセ」が生成され、それら並替略式薬品名と数値含有薬品名との対データ・組データも文字列置換テーブルにデータ保持させられる(図5(b)参照)。   Furthermore, the setting relating to the abbreviated drug name is performed for the regular abbreviated drug name of the numerical value-containing drug name and the rearranged abbreviated drug name of the rearranged drug name. The chemical name “Kefler Capsule 250 mg” is automatically generated by omitting the last letter “Le” of the non-numeric part “Kefler Capsule” and automatically generating the normal order abbreviated drug name “Kefler Capse 250 mg”. And the numerical value-containing drug name are made into pair data / combination data, and the normal order abbreviated drug name “Kefler Capse 250 mg” is stored in the character string before replacement in the character string replacement table, and the numerical value-containing drug name “Kefler Capsule 250 mg” "Is held in the replaced character string in the character string replacement table (see FIG. 5B). Similarly, a rearranged abbreviated chemical name “250 mg kefler capsule” is generated from the rearranged medicinal name “250 mg kefler capsule”, and pair data / set data of the rearranged abbreviated drug name and numerical value containing drug name is also a character string. Data is held in the replacement table (see FIG. 5B).

こうして、データが次の状態に初期化される。すなわち、非数値部と数値部と単位部とをその順に連ねた文字列からなる数値含有薬品名がそのまま薬品マスターの薬品名と文字列置換テーブルの置換後文字列とに含められており、数値部と単位部と非数値部の順に並べ替えた並替薬品名が文字列置換テーブルの置換前文字列のうち元の数値含有薬品名と対応する置換後文字列に含められており、数値含有薬品名からその非数値部の後尾の文字を省いた正順略式薬品名と数値含有薬品名とが対応付けられて文字列置換テーブルにデータ保持されており、且つ、正順略式薬品名を数値部と単位部と非数値部の順に並べ替えた並替略式薬品名と数値含有薬品名とが対応付けられて文字列置換テーブルにデータ保持されている、というデータ状態が確立される。   Thus, the data is initialized to the next state. In other words, a numerical value-containing drug name consisting of a character string in which a non-numeric part, a numerical part, and a unit part are connected in that order is included as it is in the chemical name of the chemical master and the replacement character string in the character string replacement table. Sorted medicine names sorted in the order of part, unit, and non-numeric part are included in the post-replacement character string corresponding to the original numerical value-containing chemical name in the pre-replacement character string in the character string replacement table. The normal order abbreviated drug name in which the trailing character of the non-numeric part is omitted from the drug name is stored in the character string replacement table in association with the numerical value-containing drug name, and the normal order abbreviated drug name is a numerical value. A data state is established in which the rearranged abbreviated drug name and the numerical value-containing drug name rearranged in the order of the part, the unit part, and the non-numeric part are associated with each other and stored in the character string replacement table.

そして、処方箋受付装置10の稼動準備が調ったら、データ処理部30を受付モードで起動しなおすと、受付ルーチンが実行されて処方箋を受け付けられる状態になる(図1(b)ステップS11,S12〜S27を参照)。
それから(図1(a)参照)、薬局を訪れた患者が処方箋をスキャナ22にセットすると、処方箋走査部20によって、その処方箋がカウンタの外側から内側へ取り込まれ、その代わりに引換券が発行される。その際、処方箋に受付番号が印刷されるとともに、処方箋の撮像が行われる。この撮像で得られた画像イメージは、受付番号と共に、処方箋走査部20からデータ処理部30へ送られ、データ処理部30による処方箋データ作成に供される。
When the prescription receiving apparatus 10 is ready for operation, when the data processing unit 30 is restarted in the receiving mode, the receiving routine is executed to accept the prescription (steps S11 and S12 in FIG. 1B). See S27).
Then (see FIG. 1 (a)), when a patient visiting the pharmacy sets a prescription to the scanner 22, the prescription scanning unit 20 takes the prescription from the outside of the counter to the inside and issues a voucher instead. The At that time, the receipt number is printed on the prescription and the prescription is imaged. The image image obtained by this imaging is sent from the prescription scanning unit 20 to the data processing unit 30 together with the reception number, and is used for prescription data creation by the data processing unit 30.

データ処理部30では、受付ルーチンの処理によって、先ず画像イメージに対して後に詳述するキャリブレーションが施される(二段階処理のうち前処理)。それから(二段階処理のうち本処理)、処方箋の画像イメージ全体がデータ処理部30の画面に表示されるとともに、画像イメージ及び病院マスターについて医療機関名称の探索が行われる。そして、医療機関名が見つかればそれが医療機関の特定に自動で採用され、医療機関名が見つからなければ、医療機関の指定が促される。これに応じて受付作業者が医療機関を指定すると、それがデータ処理部30の受付ルーチンの処理によって医療機関の特定に採用される。   In the data processing unit 30, first, calibration, which will be described in detail later, is performed on the image image by the processing of the reception routine (preprocessing of the two-stage processing). Then (this process in the two-stage process), the entire image of the prescription is displayed on the screen of the data processing unit 30, and the name of the medical institution is searched for the image image and the hospital master. If the name of the medical institution is found, it is automatically adopted to identify the medical institution, and if the name of the medical institution is not found, designation of the medical institution is prompted. In response to this, when the reception worker designates a medical institution, it is adopted to specify the medical institution by processing of the reception routine of the data processing unit 30.

自動であれ手動であれ医療機関が特定されると、データ処理部30では、受付ルーチンの処理によって、病院マスターから基礎情報の医療機関名称の一致する処方箋の形式データが選定される。具体的には、その基礎情報と対応づけられている処方箋欄分割情報が病院マスターから読み出される。
さらに、データ処理部30の受付ルーチンの処理が続き、その自動処理では、処方箋欄分割情報が得られると、それに基づいて画像イメージが幾つかの分割イメージに分割され、その分割イメージ単位で、文字認識および変換欄対比表示や(図4(a)参照)、校正欄対比表示が行われる(図4(b)参照)。
When a medical institution is specified, either automatically or manually, the data processing unit 30 selects prescription format data that matches the name of the medical institution in the basic information from the hospital master by the processing of the reception routine. Specifically, prescription column division information associated with the basic information is read from the hospital master.
Further, the processing of the reception routine of the data processing unit 30 continues, and in the automatic processing, when the prescription field division information is obtained, the image image is divided into several divided images based on the prescription column division information. Recognition and conversion column comparison display (see FIG. 4A) and calibration column comparison display are performed (see FIG. 4B).

そこで、受付作業者は、それらの対比表示画面を適宜切り替えながら見て、必要であれば紙の処方箋も見て、処方箋データを完成させる。そして、完成確認後、処方箋完成のボタンをクリックする等して、データ処理部30に処方箋の受付処理を終えさせる。
データ処理部30では、処方箋の受付処理の最後に、完成した処方箋データが薬局での処方箋管理に供される。例えば、データ処理部30から薬局ホストコンピュータ50へ送出されて、患者毎の薬歴管理や,自動調剤機への配信などに用いられる。
Therefore, the reception worker views the contrast display screens as appropriate, and also looks at the paper prescription if necessary to complete the prescription data. Then, after the completion is confirmed, the prescription acceptance process is terminated by the data processing unit 30 by, for example, clicking a prescription completion button.
In the data processing unit 30, at the end of the prescription receiving process, the completed prescription data is used for prescription management in a pharmacy. For example, it is sent from the data processing unit 30 to the pharmacy host computer 50 and used for drug history management for each patient, distribution to an automatic dispensing machine, and the like.

こうして、紙の処方箋から電子データの処方箋データが得られるが、その際、文字認識を利用して半自動で処方箋データ入力が行われる。しかも、その文字認識に際し、医療機関に対応した画像イメージの分割処理に加えて、分割イメージ31と変換欄33との対比表示、及び分割イメージ31と校正欄34との対比表示も行われるので、処方箋データ入力を極めて能率良く行うことができる。   In this way, electronic data prescription data is obtained from a paper prescription, and at that time, prescription data is input semi-automatically using character recognition. Moreover, in the character recognition, in addition to the image image division processing corresponding to the medical institution, a comparison display of the divided image 31 and the conversion column 33 and a comparison display of the division image 31 and the calibration column 34 are also performed. Prescription data can be input very efficiently.

また、患者が薬局へ行く前に病院のファクシミリや自宅のFAX電話に処方箋を読み込ませて処方箋を薬局へファクシミリ送信したときにも、その処方箋の画像イメージが回線接続部40を介してデータ処理部30に入力される。この場合も、画像イメージに対して先にキャリブレーションが施され(二段階処理のうち前処理)、それからキャリブレーション後の画像イメージが上述したような処方箋データ作成に供される(二段階処理のうち前処理)。ここでは、先のキャリブレーション(二段階処理のうち前処理)について詳述すると、データ処理部30では、受付ルーチンの処理によって(図1(b)ステップS13参照)、テンプレート情報が参照され(図2(b)参照)、そこに予め設定されている「医」や「電」等の指定文字が画像イメージの一部領域から検出される(図2(a)参照)。   Also, when a patient reads a prescription on a hospital facsimile or home FAX telephone and sends the prescription to the pharmacy by facsimile before going to the pharmacy, the image image of the prescription is sent to the data processing unit via the line connection unit 40. 30. In this case as well, the image image is first calibrated (pre-processing of the two-stage processing), and then the image image after calibration is used for prescription data creation as described above (in the two-stage processing). (Pretreatment). Here, the previous calibration (pre-processing of the two-stage processing) will be described in detail. In the data processing unit 30, the template information is referred to by the processing of the reception routine (see step S13 in FIG. 1B) (see FIG. 2 (b)), designated characters such as “medicine” and “den” preset in the image are detected from a partial area of the image (see FIG. 2 (a)).

そして、その検出結果に基づいて処方箋の画像イメージの全体に対し天地反転処理と位置補正処理が選択的に行われ(図1(b)ステップS14参照)、罫線消去処理も行われる(図1(b)ステップS15参照)。
それから、処方箋走査部20で画像イメージを入力したときと同様にして、データ処理部30の受付処方ルーチンの処理によって、処方箋の画像イメージから処方箋データが作成される(図1(b)ステップS21〜S27参照)。
Based on the detection result, the top and bottom inversion processing and position correction processing are selectively performed on the entire prescription image (see step S14 in FIG. 1B), and ruled line erasing processing is also performed (FIG. 1 ( b) See step S15).
Then, prescription data is created from the prescription image image by the processing of the reception prescription routine of the data processing unit 30 in the same manner as when the image image is input by the prescription scanning unit 20 (FIG. 1B, steps S21 to S21). (See S27).

すなわち、上述したように、処方箋の画像イメージ全体がデータ処理部30の画面に表示されるとともに、文字認識による自動で或いは操作入力による手動で医療機関が特定され、それに該当する処方箋様式のデータ(テンプレート情報や病院マスターの該当レコード)が選定され、それに基づいて画像イメージが幾つかの分割イメージに分割され、その分割イメージ単位で、文字認識および変換欄対比表示や(図4(a)参照)、校正欄対比表示が行われる(図4(b)参照)。そして、受付作業者がそれらの対比表示画面を適宜切り替えながらデータを修正したり補充することにより、処方箋データが完成する。   That is, as described above, the entire image of the prescription is displayed on the screen of the data processing unit 30, and the medical institution is specified automatically by character recognition or manually by an operation input. Template information and corresponding records of the hospital master) are selected, and based on this, the image is divided into several divided images, and character recognition and conversion column comparison display are performed for each divided image (see FIG. 4A). Then, a calibration column comparison display is performed (see FIG. 4B). The reception worker corrects or supplements the data while appropriately switching the comparison display screens, thereby completing the prescription data.

こうして、処方箋がファクシミリにて処方箋受付装置10に送信されてきた場合にも、その処方箋の画像イメージが受信され、この画像イメージから電子データの処方箋データが得られる。この場合も、文字認識を利用して半自動で処方箋データ入力が行われ、画像イメージの全領域に対する文字認識に先立って、画像イメージの一部領域に対する文字認識が行われ、これを利用して簡便かつ的確に指定文字の検出と天地反転処理と位置補正処理が行われ、さらには罫線消去処理も行われることから、ファクシミリ送受信手法に文字認識手法を組み合わせていても文字認識率が低下しないので、処方箋データ入力を極めて能率良く行うことができる。   Thus, even when a prescription is transmitted to the prescription receiving apparatus 10 by facsimile, an image image of the prescription is received, and prescription data of electronic data is obtained from this image image. In this case as well, prescription data is input semi-automatically using character recognition, and character recognition is performed for a partial area of the image image prior to character recognition for the entire area of the image image. Since the designated character detection and top / bottom reversal processing and position correction processing are performed accurately and ruled line erasure processing is also performed, even if the character recognition method is combined with the facsimile transmission / reception method, the character recognition rate does not decrease. Prescription data can be input very efficiently.

また、文字認識後の変換欄対比表示で(図4(a)参照)、変換欄33に対する文字列修正処理を行うと(図1(a)ステップS25参照)、随伴して自動で置換文字列の追加処理が行われる。例えば修正前の認識文字列「ケフラカプセル250mg」を修正文字列「ケフラーカプセル250mg」に直す修正処理を受付作業者が行ったとすると、自動で置換文字列追加処理が実行される。そして、修正文字列「ケフラーカプセル250mg」が薬品マスターの薬品名に含まれているので、それを文字列置換テーブルに設定するか否かの確認メッセージが表示される。それに受付作業者が肯定的な確認応答で応えると、後は自動で、修正された文字列「ケフラカプセル250mg」と修正文字列「ケフラーカプセル250mg」とが対データ・組データにされて文字列置換テーブルにデータ保持させられる(図5(b)参照)。   When the character string correction process is performed on the conversion field 33 in the conversion field comparison display after character recognition (see FIG. 4A) (see step S25 in FIG. 1A), the replacement character string is automatically accompanied. Additional processing is performed. For example, if the reception worker performs a correction process for changing the recognized character string “Kefler capsule 250 mg” before correction to the corrected character string “Kefler capsule 250 mg”, a replacement character string addition process is automatically executed. Then, since the corrected character string “Kefler Capsule 250 mg” is included in the medicine name of the medicine master, a confirmation message as to whether or not to set it in the character string replacement table is displayed. When the reception worker responds with a positive confirmation response, the corrected character string “Kefler Capsule 250 mg” and the corrected character string “Kefler Capsule 250 mg” are automatically converted into data / combination data and the character string. Data is held in the replacement table (see FIG. 5B).

さらに、それ以外のときでも受付作業者が文字列置換処理の対象文字列を増やしたくなったら、変換欄対比表示であろうと(図4(a)参照)校正欄対比表示画面であろうと(図4(b)参照)、置換文字列設定ボタンのクリック等で置換文字列設定処理へ移行する。そうすると、個別設定モード下の置換文字列設定ルーチンによって、置換前文字列用と置換後文字列用の一対の文字列の入力が求められるので、受付作業者は所望の文字列を入力する。例えば文字列「ケフラーカプ250mg」と文字列「ケフラーカプセル250mg」が入力されると、後は自動で、それらの対データ・組データが文字列置換テーブルに設定される(図5(b)参照)。なお、この「ケフラーカプ250mg」や上述の「ケフラカプセル250mg」は数値含有薬品名に該当するので、その並替薬品名に係るテーブル設定も行うか否か確認されるが、ここでは省いたものとする(図5(b)参照)。   Further, if the reception worker wants to increase the number of character strings to be subjected to the character string replacement process at other times, whether the conversion field comparison display (see FIG. 4A) or the calibration field comparison display screen (FIG. 4). 4 (b)), the process proceeds to the replacement character string setting process when the replacement character string setting button is clicked. Then, since the replacement character string setting routine under the individual setting mode requires the input of a pair of character strings for the character string before replacement and the character string after replacement, the reception worker inputs a desired character string. For example, if a character string “Kefler Cap 250 mg” and a character string “Kefler Capsule 250 mg” are input, then the pair data / set data are automatically set in the character string replacement table (see FIG. 5B). ). In addition, since this “Kefler Cap 250 mg” and the above-mentioned “Kephra Capsule 250 mg” correspond to numerical value-containing drug names, it is confirmed whether or not the table setting related to the rearranged drug names is performed, but it is omitted here. (See FIG. 5 (b)).

そして、このような設定が文字列置換テーブルになされていると、その後の文字認識で得られた認識文字列については、文字認識処理の後で直ぐに、文字列置換テーブルに基づく文字列置換処理が行われる。そのため、認識文字列の中に文字列置換テーブルの置換前文字列「250mgケフラーカプセル」,「ケフラーカプセ250mg」,「250mgケフラーカプセ」,「ケフラカプセル250mg」,「ケフラーカプ250mg」の何れかが含まれているとき、その置換前文字列と文字列置換テーブルにおいて対データ・組データをなしている置換後文字列である正規の薬品名「ケフラーカプセル250mg」で、認識文字列の該当箇所が置き換えられる。   When such a setting is made in the character string replacement table, the character string replacement process based on the character string replacement table is performed immediately after the character recognition process for the recognized character string obtained by the subsequent character recognition. Done. Therefore, the recognition character string includes any of the pre-replacement character strings “250 mg Kefler Capsule”, “Kefler Capse 250 mg”, “250 mg Kefler Capse”, “Kefler Capsule 250 mg”, and “Kefler Cap 250 mg” in the character string substitution table. The corresponding part of the recognized character string is replaced with the regular drug name “Kefler capsule 250 mg” which is the post-replacement character string that forms the pair data / combination data in the pre-replacement character string and the character string replacement table. .

そのため、処方箋に薬品名が厳密でなく適当に入れ替えたり略して記入されていた場合や、多少は誤って記入されていた場合でも、自動で正規の薬品名に直してから確認表示されるので、認識率が向上するとともに、処方箋受付の作業負担が軽減される。
また、そのような文字列置換処理に要する文字列置換テーブルへの設定や追加が、数値含有薬品名については薬品マスターを利用して自動化・半自動化されているので、容易かつ適切に行える。
Therefore, even if the drug name is not rigorously replaced or abbreviated in the prescription, or if it has been entered a little wrongly, it will be automatically confirmed and displayed after the correct drug name, The recognition rate is improved and the work load of receiving the prescription is reduced.
In addition, the setting and addition to the character string replacement table required for such character string replacement processing are automated and semi-automated using the chemical master for the numerical value-containing chemical names, and can be easily and appropriately performed.

本発明の処方箋受付装置の実施例2について、その具体的な構成を、図面を引用して説明する。図6は、(a)が受付処理のフローチャート、(b)が引替券の例である。なお、図6(a)のフローチャートにおいて、ステップS13〜S27,S30は、図1(b)と同じで、繰り返しとなるので、記載を省略している。   A specific configuration of the prescription receiving apparatus according to the second embodiment of the present invention will be described with reference to the drawings. FIG. 6A is a flowchart of the acceptance process, and FIG. 6B is an example of a voucher. In the flowchart of FIG. 6A, steps S13 to S27 and S30 are the same as those in FIG.

この処方箋受付装置が上述した実施例1のものと相違するのは、ファクシミリ受信部に加えてファクシミリ送信部も必要になった点と、高精細モードでの再送依頼と引替券の発行をファクシミリ送信にて行うようになった点である。
ファクシミリ送信部は、ファクシミリ受信部と同じ回線に接続されていて、処方箋をファクシミリ送信してきた患者へファクシミリにて返信できるようになっていれば良い。上述した回線接続部40が送受信一体形であればその送信部で足り、そうでなければ別個に追加するれば良く、外付けタイプでもコンピュータ内蔵タイプでも良い。
This prescription receiving apparatus is different from that of the first embodiment described above in that a facsimile transmission unit is required in addition to the facsimile reception unit, and a retransmission request in a high-definition mode and a replacement ticket issuance are transmitted by facsimile. It is a point that came to be done in.
The facsimile transmission unit only needs to be connected to the same line as the facsimile reception unit so that the facsimile can be returned to the patient who has transmitted the prescription by facsimile. If the above-described line connection unit 40 is a transmission / reception integrated type, the transmission unit is sufficient. Otherwise, it may be added separately, and may be an external type or a computer built-in type.

高精細モードでの再送依頼と引替券の発行は、データ処理部30の受付ルーチンを機能拡張することで簡便に具現化されている。具体的には(図6(a)参照)、処方箋の画像イメージがファクシミリ送受信にて入力されたら(ステップS12及びステップS61の「Yes」)、テンプレート情報に基づいて指定文字を検出する前に(ステップS13)、処方箋の画像イメージが画素ピッチの細かい高精細モードで送られてきたのか或いは画素ピッチの粗いノーマルモードで送られてきたのかを確認して(ステップS62)、高精細モードであれば(ステップS62の「Yes」)、文字認識処理等に供するが(ステップS13)、高精細モードでなければ(ステップS62の「No」)、高精細モードでの再送を依頼する文章の記載された画像イメージをファクシミリ送信して処理を打ち切るようになっている(ステップS63)。   The retransmission request and the issuance of the voucher in the high-definition mode are simply realized by extending the function of the reception routine of the data processing unit 30. Specifically (see FIG. 6A), when the prescription image is input by facsimile transmission / reception (“Yes” in step S12 and step S61), before detecting the designated character based on the template information ( In step S13), it is confirmed whether the prescription image is sent in the high-definition mode with a fine pixel pitch or in the normal mode with a coarse pixel pitch (step S62). (“Yes” in step S62) is used for character recognition processing (step S13), but if it is not in the high-definition mode (“No” in step S62), the text requesting retransmission in the high-definition mode is described. The image is transmitted by facsimile and the process is terminated (step S63).

また、データ処理部30の受付ルーチンは、ファクシミリ送受信にて入力された処方箋の画像イメージについて処方箋データへの変換が完了したとき(ステップS27)、ファクシミリ送信部を介して引替券の画像イメージを送信するようになっている(ステップS64)。この引替券イメージには(図6(b)参照)、引換券発行ユニット21で発行する引替券に印刷するのと同様の受付番号や受付日時に加えて、薬局名や電話番号等の薬局情報,薬局の地図,さらには処方箋イメージの縮小画像なども、含めるようになっている。   In addition, the reception routine of the data processing unit 30 transmits the image image of the voucher via the facsimile transmission unit when the conversion of the prescription image image input by facsimile transmission / reception into the prescription data is completed (step S27). (Step S64). In this voucher image (see FIG. 6B), in addition to the reception number and the reception date and time printed on the voucher issued by the voucher issuing unit 21, pharmacy information such as pharmacy name and telephone number , Pharmacy maps, and even reduced images of prescription images.

この場合、患者が、自宅のFAX等で薬局へ処方箋をファクシミリ送信する際、うっかり不適切なノーマルモードで送信すると、その場で高精細モードでの再送依頼をファクシミリ受信することになるので、直ちに適切な高精細モードで送り直すことができる。しかも、薬局の処方箋受付装置10では、文字認識率が悪くて処方箋データ入力の能率が低い処理や作業を回避することができる。
また、ファクシミリ送信した処方箋が薬局の処方箋受付装置10にて受け付けられたときには、やはり直ちに引替券がファクシミリで返信されて、それを患者が自宅のFAX等で受信することができる。薬局へ出向く前に引替券を入手することができるうえ、その引替券には薬局へ行くのに役立つ地図情報等も記されているので、極めて便利である。
In this case, if the patient sends a prescription to the pharmacy by facsimile at home, etc., inadvertently sending the prescription in the normal mode, the re-transmission request in the high-definition mode will be received on the spot. Re-send in the appropriate high-definition mode. Moreover, the pharmacy prescription receiving apparatus 10 can avoid processing and work with low character recognition rate and low prescription data input efficiency.
Further, when the prescription transmitted by facsimile is accepted by the prescription acceptance device 10 of the pharmacy, the exchange ticket is immediately returned by facsimile, and the patient can receive it by FAX at home. Before you go to the pharmacy, you can get a voucher, and the voucher is also very convenient because it contains map information that helps you go to the pharmacy.

[その他]
上記実施例の処方箋受付装置では、処方箋の画像イメージを入力する入力手段として回線接続部40(ファクシミリ受信部)と処方箋走査部20とが設けられていたが、回線接続部40を省いて薬局受付専用の処方箋受付装置としても良く、処方箋走査部20を省いてファクシミリ受信専用の処方箋受付装置としても良い。
また、上記実施例では、処方箋走査部20とデータ処理部30と回線接続部40とが別体になっていたが、これらは、別体に限られる訳でなく、一体化されていても良い。一体化は、処方箋走査部20とデータ処理部30の部分、処方箋走査部20と回線接続部40の部分、データ処理部30と回線接続部40の部分だけでも良い。
[Others]
In the prescription receiving apparatus of the above embodiment, the line connection unit 40 (facsimile receiving unit) and the prescription scanning unit 20 are provided as input means for inputting an image of the prescription. A dedicated prescription receiving apparatus may be used, or the prescription scanning unit 20 may be omitted and a prescription receiving apparatus dedicated to facsimile reception may be used.
Moreover, in the said Example, although the prescription scanning part 20, the data processing part 30, and the line connection part 40 were separate bodies, these are not necessarily restricted to a separate body and may be integrated. . Integration may be performed only for the prescription scanning unit 20 and the data processing unit 30, the prescription scanning unit 20 and the line connection unit 40, and the data processing unit 30 and the line connection unit 40.

さらに、上記実施例では、校正欄34の対比表示を分割イメージ31と並べて行うようにしたが、変換欄33と校正欄34とを並べて対比表示しても良く、分割イメージ31と変換欄33と校正欄34とを一画面に並べて対比表示しても良い。
また、上述した文字認識機能に加えてコード変換機能もデータ処理部に付与し、処方箋の画像イメージに二次元コード等のコードが有るときにはそれをデータ処理部が処方箋データに変換し、そのようなコードの無いときだけデータ処理部が画像イメージに文字認識を施して処方箋データへの変換を行うようにしても良い(例えば特願2004−308931参照)。
Further, in the above embodiment, the comparison display of the calibration column 34 is performed side by side with the divided image 31, but the conversion column 33 and the calibration column 34 may be displayed side by side, and the divided image 31 and the conversion column 33 may be displayed. The calibration column 34 may be displayed on the screen in comparison.
Further, in addition to the character recognition function described above, a code conversion function is also provided to the data processing unit, and when a prescription image image has a code such as a two-dimensional code, the data processing unit converts it into prescription data. Only when there is no code, the data processing unit may perform character recognition on the image image and convert it into prescription data (see, for example, Japanese Patent Application No. 2004-308931).

また、本発明の適用は、数値含有薬品名に限定されるものでなく、認識率を向上させる他の技術の併用を阻害するものでもない。例えば、数値含有薬品名以外の薬品名やその他の文字列を文字列置換テーブルに自動で又は手動で設定するように改造しても良く、類似度を利用したり文字限定辞書を使い分けたりといった従来技術を組み合わせても良い。
また、上記実施例では、薬品名が一般名と商品名とに項分けされて薬品マスターに保持されていたが、一般名と商品名とを区別しないで同列の薬品名としてデータ保持するようにしても良い。
Further, the application of the present invention is not limited to the numerical value-containing chemical names, and does not hinder the combined use of other techniques for improving the recognition rate. For example, it may be modified to automatically or manually set drug names and other character strings other than numeric-containing drug names in the character string replacement table. You may combine technologies.
In the above embodiment, the drug names are divided into general names and product names and stored in the drug master. However, the general names and the product names are not distinguished from each other, and data is stored as drug names in the same row. May be.

本発明の実施例1について、処方箋受付装置の構造を示し、(a)がハードウェア構成図、(b)が受付処理のフローチャートである。The structure of a prescription acceptance apparatus is shown about Example 1 of this invention, (a) is a hardware block diagram, (b) is a flowchart of an acceptance process. (a)が処方箋の情報欄の配置例と指定文字の例、(b)がテンプレート情報のデータ構造例である。(A) is an example of arrangement of prescription information fields and examples of designated characters, and (b) is an example of the data structure of template information. (a)が処方箋の情報欄の配置例、(b)が他の配置例、(c)が病院マスターのデータ構造例、(d)が処方箋データの構造例である。(A) is an arrangement example of the prescription information column, (b) is another arrangement example, (c) is a data structure example of the hospital master, and (d) is a structure example of the prescription data. (a)が変換欄対比表示画面の一例、(b)が校正欄対比表示画面の一例である。(A) is an example of a conversion column comparison display screen, and (b) is an example of a calibration column comparison display screen. (a)が薬品マスターのデータ構造例、(b)が文字列置換テーブルのデータ構造例である。(A) is a data structure example of a medicine master, and (b) is a data structure example of a character string replacement table. 本発明の処方箋受付装置の実施例2について、(a)が受付処理のフローチャート、(b)が引替券の例である。About Example 2 of the prescription acceptance apparatus of this invention, (a) is a flowchart of a reception process, (b) is an example of a voucher.

符号の説明Explanation of symbols

10…処方箋受付装置、
20…処方箋走査部、21…引換券発行ユニット、
22…スキャナ(撮像手段)、23…ローカルコントローラ、
24…移送路、25…プリントヘッド、26…操作パネル、
30…データ処理部、31…分割イメージ、
32…欄指定タブ、33…変換欄(文字認識結果)、34…校正欄、
40…回線接続部(ファクシミリ受信部、ファクシミリ送信部)、
50…薬局ホストコンピュータ
10 ... Prescription acceptance device,
20 ... Prescription scanning unit, 21 ... Exchange ticket issuing unit,
22 ... Scanner (imaging means), 23 ... Local controller,
24 ... transport path, 25 ... print head, 26 ... operation panel,
30 ... Data processing unit, 31 ... Divided image,
32 ... Column designation tab, 33 ... Conversion column (character recognition result), 34 ... Calibration column,
40 ... line connection part (facsimile reception part, facsimile transmission part),
50 ... Pharmacy host computer

Claims (5)

処方箋の画像イメージを入力する入力手段と、前記画像イメージに文字認識処理を施すことにより前記画像イメージから処方箋データを得るデータ処理部とを備えた処方箋受付装置において、
前記データ処理部が、各種の薬品名を含むデータを保持する薬品マスターと、置換前文字列と置換後文字列とを対応付けて多数のデータを保持する文字列置換テーブルと、前記文字認識処理の後にその処理で得た認識文字列に前記文字列置換テーブルの置換前文字列の何れかが含まれているとき前記認識文字列の該当箇所を前記文字列置換テーブルの置換後文字列のうち該置換前文字列に対応するもので置き換える文字列置換手段とを具えたものであり、
非数値部と数値部と単位部とをその順に連ねた文字列からなる数値含有薬品名が、そのまま前記薬品マスターの薬品名と前記文字列置換テーブルの置換後文字列とに含められており、且つ、数値部と単位部と非数値部の順に並べ替えた並替薬品名になって前記文字列置換テーブルの置換前文字列のうち該置換後文字列と対応するものに含められている、
ことを特徴とする処方箋受付装置。
In a prescription receiving apparatus comprising input means for inputting an image image of a prescription, and a data processing unit for obtaining prescription data from the image image by performing character recognition processing on the image image,
The data processing unit includes a drug master that holds data including various drug names, a character string replacement table that holds a large number of data by associating a pre-replacement character string and a post-replacement character string, and the character recognition process. After the replacement character string of the character string replacement table is replaced with the corresponding part of the recognized character string when any of the pre-replacement character strings of the character string replacement table is included in the recognized character string obtained by the processing after A character string replacing means for replacing with a character string corresponding to the pre-replacement character string,
A numerical value-containing medicine name consisting of a character string in which a non-numeric part, a numerical part, and a unit part are connected in that order is included as it is in the medicine name of the medicine master and the replaced character string of the character string substitution table, And it is included in the one corresponding to the post-replacement character string in the pre-replacement character string of the character string replacement table, which is the rearranged medicine name rearranged in the order of the numerical part, unit part and non-numeric part.
A prescription receiving apparatus characterized by that.
前記データ処理部が、前記文字列置換テーブルを設定するに際し、前記薬品マスターの前記薬品名から前記数値含有薬品名を抽出して、この数値含有薬品名から前記並替薬品名を生成し、この並替薬品名と前記数値含有薬品名とを対応付けて前記文字列置換テーブルにデータ保持させるものであることを特徴とする請求項1記載の処方箋受付装置。   When the data processing unit sets the character string replacement table, it extracts the numerical value-containing chemical name from the chemical name of the chemical master, generates the rearranged chemical name from the numerical value-containing chemical name, 2. The prescription receiving apparatus according to claim 1, wherein the replacement drug name and the numerical value-containing drug name are associated with each other and data is held in the character string replacement table. 前記データ処理部が、前記文字列置換テーブルを設定するに際し、抽出した前記数値含有薬品名とそれから生成した前記並替薬品名とのうち何れか一方または双方について、その非数値部の後尾の文字を省いて略式薬品名を生成し、この略式薬品名と前記数値含有薬品名とを対応付けて前記文字列置換テーブルにデータ保持させるものであることを特徴とする請求項2記載の処方箋受付装置。   When the data processing unit sets the character string replacement table, either or both of the extracted numeric-containing drug name and the rearranged drug name generated therefrom, the trailing character of the non-numeric part 3. The prescription receiving apparatus according to claim 2, wherein the abbreviation drug name is generated by omitting and the data is stored in the character string replacement table by associating the abbreviation drug name with the numerical value-containing drug name. . 前記数値含有薬品名からその非数値部の後尾の文字を省いた正順略式薬品名と、それを数値部と単位部と非数値部の順に並べ替えた並替略式薬品名とのうち何れか一方または双方について、その略式薬品名と前記数値含有薬品名とが対応付けられて前記文字列置換テーブルにデータ保持されていることを特徴とする請求項1記載の処方箋受付装置。   Either a normal abbreviated drug name in which the trailing character of the non-numeric part is omitted from the numerical value-containing drug name, and a rearranged abbreviated drug name in which the numerical part, the unit part, and the non-numeric part are rearranged in this order. 2. The prescription receiving apparatus according to claim 1, wherein, for one or both, the simplified drug name and the numerical value-containing drug name are associated with each other and are stored in the character string replacement table. 前記データ処理部が、前記認識文字列を画面表示して文字列修正を受理するものであって、その文字列修正処理時に入力された修正文字列が前記薬品マスターの前記薬品名に含まれているか否かを検索して、含まれていたときには直ちに又は確認のうえ、前記修正文字列とそれで修正された文字列とを対応付けて前記文字列置換テーブルの置換後文字列および置換前文字列にデータ保持させ、さらに前記修正文字列が前記数値含有薬品名に該当するときには、それから前記並替薬品名を生成し、この並替薬品名と前記数値含有薬品名とを対応付けて前記文字列置換テーブルの置換前文字列および置換後文字列にデータ保持させるものであることを特徴とする請求項1記載の処方箋受付装置。   The data processing unit displays the recognized character string on the screen and accepts the correction of the character string, and the correction character string input at the time of the character string correction process is included in the drug name of the drug master. Whether or not it is included and immediately or after confirmation, the corrected character string and the character string corrected thereby are associated with each other and the character string after replacement and the character string before replacement in the character string replacement table When the corrected character string corresponds to the numerical value-containing drug name, the rearranged drug name is generated therefrom, and the character string is associated with the rearranged drug name and the numerical value-containing drug name. 2. The prescription acceptance apparatus according to claim 1, wherein data is held in a character string before replacement and a character string after replacement in the replacement table.
JP2005335558A 2005-09-06 2005-11-21 Prescription acceptance device Active JP4480028B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2005335558A JP4480028B2 (en) 2005-11-21 2005-11-21 Prescription acceptance device
PCT/JP2006/317383 WO2007029625A1 (en) 2005-09-06 2006-09-01 Prescription receiving device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005335558A JP4480028B2 (en) 2005-11-21 2005-11-21 Prescription acceptance device

Publications (2)

Publication Number Publication Date
JP2007141040A true JP2007141040A (en) 2007-06-07
JP4480028B2 JP4480028B2 (en) 2010-06-16

Family

ID=38203805

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005335558A Active JP4480028B2 (en) 2005-09-06 2005-11-21 Prescription acceptance device

Country Status (1)

Country Link
JP (1) JP4480028B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018092376A (en) * 2016-12-02 2018-06-14 日本メディカルソリューションズ株式会社 User assisting system, server device, user assisting program, and user assisting method
JP7436213B2 (en) 2019-07-11 2024-02-21 聡子 鈴木 Drug name identification system, drug name identification method, processing device, and computer program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018092376A (en) * 2016-12-02 2018-06-14 日本メディカルソリューションズ株式会社 User assisting system, server device, user assisting program, and user assisting method
JP7436213B2 (en) 2019-07-11 2024-02-21 聡子 鈴木 Drug name identification system, drug name identification method, processing device, and computer program

Also Published As

Publication number Publication date
JP4480028B2 (en) 2010-06-16

Similar Documents

Publication Publication Date Title
US20050182656A1 (en) On-line prescription service system and method
US8694332B2 (en) System and method for processing a prescription
US20040107022A1 (en) Method and apparatus for automatic capture of label information contained in a printer command file and for automatic supply of this information to a tablet dispensing/counting system
US10530957B2 (en) Image filing method
US8682042B1 (en) System and method for reception, analysis, and annotation of prescription data
JP4437469B2 (en) Prescription acceptance device
JP4480028B2 (en) Prescription acceptance device
US20120053956A1 (en) System and method for configuring a multi-function device
WO2007029625A1 (en) Prescription receiving device
JP2009252023A (en) Medical certificate preparation support apparatus and program
JP2011238199A (en) Data processing device and insurance card collation system
JP2002132938A (en) System for managing prescription by two-dimensional code
JP2007073028A (en) Prescription acceptance device
US20080276008A1 (en) Secure and Accurate Method for Processing Prescriptions
JP2007074179A (en) Prescription receiving device
JP4548843B2 (en) Prescription acceptance device
JP2007073029A (en) Prescription acceptance device
JP6934186B2 (en) Order management system for corrugated board
JP4170031B2 (en) Prescription management system
JP2006185450A (en) Prescription acceptance device
JP2006120020A (en) Prescription reception apparatus
Bergeron Clinical data capture: OMR and OCR and your flatbed scanner
JP6316913B1 (en) FAX order receiving system and program
JP4686577B2 (en) Prescription issuing computer, two-dimensional code reader, receipt computer, prescription reading device, and prescription management system
JP2021099637A (en) Prescription processing device, prescription processing system and prescription processing method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20070809

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20091222

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100121

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

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20100311

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130326

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4480028

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130326

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20160326

Year of fee payment: 6

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250