WO2007029625A1 - 処方箋受付装置 - Google Patents

処方箋受付装置 Download PDF

Info

Publication number
WO2007029625A1
WO2007029625A1 PCT/JP2006/317383 JP2006317383W WO2007029625A1 WO 2007029625 A1 WO2007029625 A1 WO 2007029625A1 JP 2006317383 W JP2006317383 W JP 2006317383W WO 2007029625 A1 WO2007029625 A1 WO 2007029625A1
Authority
WO
WIPO (PCT)
Prior art keywords
prescription
image
character
character string
data
Prior art date
Application number
PCT/JP2006/317383
Other languages
English (en)
French (fr)
Inventor
Yoshihito Omura
Kiyoshi Sakurai
Shiro Omura
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
Priority claimed from JP2005257252A external-priority patent/JP2007074179A/ja
Priority claimed from JP2005329826A external-priority patent/JP4548843B2/ja
Priority claimed from JP2005335558A external-priority patent/JP4480028B2/ja
Priority claimed from JP2005356571A external-priority patent/JP4437469B2/ja
Application filed by Tosho Inc. filed Critical Tosho Inc.
Publication of WO2007029625A1 publication Critical patent/WO2007029625A1/ja

Links

Classifications

    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16HHEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
    • G16H20/00ICT specially adapted for therapies or health-improving plans, e.g. for handling prescriptions, for steering therapy or for monitoring patient compliance
    • G16H20/10ICT specially adapted for therapies or health-improving plans, e.g. for handling prescriptions, for steering therapy or for monitoring patient compliance relating to drugs or medications, e.g. for ensuring correct administration to patients
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V30/00Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
    • G06V30/40Document-oriented image-based pattern recognition
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16HHEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
    • G16H40/00ICT specially adapted for the management or administration of healthcare resources or facilities; ICT specially adapted for the management or operation of medical equipment or devices
    • G16H40/60ICT specially adapted for the management or administration of healthcare resources or facilities; ICT specially adapted for the management or operation of medical equipment or devices for the operation of medical equipment or devices
    • G16H40/63ICT specially adapted for the management or administration of healthcare resources or facilities; ICT specially adapted for the management or operation of medical equipment or devices for the operation of medical equipment or devices for local operation

Definitions

  • the present invention relates to a prescription receiving apparatus used for automatic reception of prescriptions at pharmacies and hospitals.
  • a medication processing system that reads prescription data and issues a voucher (for example, see Patent Document 1), or a medical system that captures a patient's face image at the reception and stores it in a database (for example, Patent Document 1) 2), a prescription reading management system that captures both sides of the prescription and identifies the writing surface of the prescription (for example, see Patent Document 3), and automates prescription data entry work.
  • a prescription reading device that reads a dimension code and converts it into prescription information (see, for example, Patent Document 4).
  • a prescription image registration method (see, for example, Patent Document 5) that performs character recognition on a prescription image and obtains character data of a receipt number so that the prescription is handled as an image instead of inputting data as character data or the like.
  • character recognition processing character recognition is performed by 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.
  • An information processing device to be executed for example, see Patent Document 6
  • an optical character reading device for example, see Patent Document 7 that performs character recognition by extracting and erasing a line from an image of a form, etc.
  • a prescription receiving device is installed in both the hospital and the pharmacy, the prescription receiving device of the hospital reads the prescription as image data (image image), and the image is transmitted to the pharmacy via the public network.
  • a drug administration system that receives a fax receiver (facsimile receiver), prints out a prescription, reads the prescription with a pharmacy prescription accepting device, and stores and manages the prescription image. It is known (for example, see Patent Document 8).
  • the prescription acceptance device is the same for hospitals and pharmacies. A paper prescription is read and an image is input, and a receipt slip is printed and issued.
  • a document reading / transfer method that increases the work efficiency of data input by setting the form template of the input document with the coordinates of the reading frame on the screen display and using the template at the time of character recognition processing
  • an information processing apparatus for example, refer to Patent Document 10
  • An information processing apparatus that performs character recognition processing and automatically sets a reference character string for position correction and its coordinates in a form template is known (see, for example, Patent Document 6).
  • an optical character reader that improves the recognition rate by performing certain post-processing on the result of character recognition processing (for example, see Patent Document 11), and for similar characters, the left and right character types are used as keys.
  • Similar character determination methods that improve accuracy of character recognition results by performing determination and conversion (see, for example, Patent Document 12), and character recognition methods that improve the recognition rate by using different character-limited dictionaries according to word attributes (for example, patents) (Ref. 13).
  • a character recognition method that improves the recognition rate by performing post-processing such as word matching and evaluation analysis by referring to a word table reflecting grammar in the result of character recognition processing (see, for example, Patent Document 14)
  • a character recognition device that increases the number of selection candidates and improves the recognition rate by automatically generating a combined character and a separated character by referring to the combined separated character table (see, for example, Patent Document 15) is also known.
  • Patent Document 1 Japanese Patent Laid-Open No. 10-207949 (first page)
  • Patent Document 2 JP 2003-271733 A (first page)
  • Patent Document 3 JP 2001-188871 (first page)
  • Patent Document 4 Japanese Patent Laid-Open No. 2004-046486 (first page)
  • Patent Document 5 JP 2001-134698 A (first page)
  • Patent Document 6 Japanese Patent Laid-Open No. 2005-043995 (first page)
  • Patent Document 7 JP 2002-366900 A (first page)
  • Patent Document 8 Japanese Patent Laid-Open No. 2001-312560 (first page)
  • Patent Document 9 Japanese Patent Application Laid-Open No. 2002-157545
  • Patent Document 10 Japanese Patent Application Laid-Open No. 2005-267394
  • Patent Document 11 Japanese Patent Laid-Open No. 05-282484 (first page)
  • Patent Document 12 Japanese Patent Laid-Open No. 05-342415 (first page)
  • Patent Document 13 Japanese Patent Laid-Open No. 09-305714 (first page)
  • Patent Document 14 Japanese Patent Laid-Open No. 11 110488 (Page 1)
  • Patent Document 15 Japanese Patent Application Laid-Open No. 07-306917 (first page)
  • prescription data input for converting 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, two prescription data are required. If the dimensional code is printed, it is fine, but the system that prints the two-dimensional code on the prescription is still prevalent in some large hospitals, and many general pharmacies can become a treasure rot.
  • the recognition rate of the OCR program, etc. is not 100%, and the prescription style varies depending on the hospital. Therefore, it can be applied only to a very limited part such as a receipt number, so when you need to input prescription data such as drugs and doses, you must do it manually while looking at the prescription or its image. I don't get it.
  • image quality is greatly deteriorated because the prescription that has been received and printed is captured again and the image is input.
  • the prescription feeding state is distorted on the facsimile transmission side
  • the prescription in the distorted state is captured as an image as it is, so it is difficult for the facsimile reception side to see the prescription due to undesired shadows etc. May occur.
  • items such as name, insurer information, and treatment data are entered into the receipt computer based on the information written in the out-of-hospital treatment form output from the medical institution.
  • the prescription is unclear at that time, it will be difficult to enter data either manually or automatically using character recognition.
  • An aspect of the present invention includes an input unit that inputs an image of a prescription and a data processing unit that obtains prescription data from the image by performing character recognition processing on the image. It is a prescription receiving apparatus provided. A facsimile receiving unit may be provided as the input means.
  • the data processing unit holds template information including position data in a prescription related to a designated character that is previously determined to be included in the prescription, and the character recognition process At this time, the designated character is detected in a partial area of the image image based on the template information, and the image image is subjected to top-and-bottom inversion processing and position correction processing based on the detection result. It can be used to process the remaining area of the image.
  • the! Designated character may be a single character such as kana, kanji, or alphanumeric characters, or may be a character string having a plurality of character powers.
  • the designated character is a character string
  • a word having a specific meaning may be used as the designated character
  • a character string having no specific meaning may be used as the designated character.
  • the designated character may be a term typically used in a prescription, such as “drug”, “patient”, “pharmacy”, “prescription”, “hospital”, “doctor”, etc. .
  • the prescription receiving apparatus is provided with a facsimile transmitting unit connected to the same line as the facsimile receiving unit.
  • a facsimile transmitting unit connected to the same line as the facsimile receiving unit.
  • an image of a voucher is received.
  • a voucher may be issued by generating an image and transmitting it by the facsimile transmission section.
  • Another aspect of the present invention is an input unit for inputting an image image of a prescription, and a data processing unit that obtains prescription data from the image image by performing a character recognition process on the image image.
  • the data processing unit holds template information including position data in a prescription related to a designated character that is previously known to be included in the prescription, and the character recognition process Based on the template information, the specified character is detected in a part of the image image, the position correction is performed on the image based on the detection result, and then the remaining area of the image is processed.
  • the image image, the template information, and an input field for the designated character are displayed side by side, and the designation is made according to character input in the input field.
  • a character is set, and the position information in the prescription of the template information according to the designation of the partial area in the display area of the image image. It may be the one to set.
  • the data processing unit when the data processing unit updates the template information, the data processing unit performs character recognition processing on the partial area of the image image based on the template information, and acquires character data. And the above-mentioned designated character matches, and if it does not match, it will call attention!
  • the data processing unit updates the template information
  • the image image is subjected to character recognition processing and converted into character data, and the designated character is searched for the character data.
  • the corresponding part of the image is highlighted when the search finds the same character as the specified character! / It's okay.
  • the data processing unit performs a top-inversion process in addition to the position correction process on the image image based on the detection result of the designated character in the character recognition process. Further, when updating the template information, if the image image is inverted upside down, the inverted position partial region in the image image that will come to the partial region related to the designated character and the extended image are expanded. What with extended areas You can now highlight one or both areas! //!
  • the data processing unit performs character recognition processing on one or both of the reverse position partial area and the extension area when the template information is updated.
  • the character data and the designated character are checked to see if they match, and a warning may be issued if there is a matching character.
  • the data processing unit holds the template information together with the image image for each prescription form, and when the template information is updated, the prescription form is different from the prescription form to be updated. Also for the image corresponding to the above, the search for the designated character and the highlighting of the corresponding part, the highlighting of one or both of the inverted position partial area and the extended area, or the partial area and the inverted position partial area A matching check and a matching warning of the designated character in any one area or a plurality of areas with the extension area are performed! /, Or even! /.
  • Still another aspect of the present invention also includes an input unit that inputs an image of a prescription, and a data processing unit that obtains prescription data from the image by performing character recognition processing on the 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 in association with a character string before replacement and a character string after replacement,
  • the recognition 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, the corresponding part of the recognized character string is indicated in the character string replacement table.
  • a character string replacement means that replaces the replaced character string with the one corresponding to the character string before replacement, and is a numerical value composed of a character string in which a non-numeric part, a numerical part, and a unit part are connected in that order.
  • Contained medicine names are included in the medicine name of the medicine master and the replaced character string in the character string replacement table as they are, and the rearranged medicine names are rearranged in the order of the numerical part, unit part, and non-numeric part.
  • pre-replacement string string substitution table may be included in those corresponding to the permuted string.
  • the data processing unit extracts the numerical value-containing drug name from the drug name of the drug master when setting the character string replacement table.
  • the rearranged medicine name may be generated from the numerical value containing medicine name, and the rearranged medicine name and the numerical containing medicine name may be associated with each other and stored in the character string replacement table.
  • the data processing unit sets the character string replacement table, either or both of the extracted numerical value-containing drug name and the rearranged drug name that has also generated its power
  • the abbreviation drug name may be generated by omitting the trailing character of the non-numeric part, and the abbreviation drug name and the numeric-containing drug name may be associated with each other and stored in the character string replacement table.
  • the prescription receiving apparatus is a normal order abbreviated drug name obtained by omitting the trailing character of the non-numeric part from the numeric-containing drug name, and a rearranged order of the numerical part, unit part, and non-numeric part.
  • Either or both of the abbreviated chemical name and the abbreviated chemical name and the numerical value-containing chemical name may be associated with each other and stored in the character string replacement table.
  • the data processing unit displays the recognized character string on the screen and accepts the correction of the character string, and the corrected character string input during the character string correction process is the medicine master Whether or not it is included in the drug name, and if it is included, immediately or after confirmation, the corrected character string and the corrected character string are associated with each other in the character string replacement table. Data is retained in the post-replacement character string and the pre-replacement character string, and when the modified character string corresponds to the numerical value-containing drug name, the rearranged drug name is generated therefrom, and the rearranged drug name and the numerical value included
  • the medicine name may be associated with and stored in the pre-replacement character string and the post-replacement character string in the character string replacement table.
  • Still another aspect of the present invention includes an input unit that inputs an image of a prescription, and a data processing unit that obtains prescription data from the image by performing character recognition processing on the image.
  • This is a prescription receiving device.
  • 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 in association with a character string before replacement and a character string after replacement, After the character recognition process, the character string replacement table is placed in the recognized character string obtained by the process.
  • a character string replacement unit that replaces a corresponding portion of the recognized character string with one corresponding to the pre-replacement character string in the character string replacement table when any of the pre-replacement character strings is included;
  • a replacement character string setting unit that accepts a pair of character strings and retains data in the pre-replacement character string and the post-replacement character string of the character string replacement table.
  • the replacement character string setting unit includes: When additional settings are made in the character string replacement table, it is checked whether a character string pair in which the correspondence of the character string pair to be added has been reversed is previously set in the character string replacement table. Further, when it is set, it is further checked whether or not the power contained in any medicine name of the medicine master for both character strings. Together with Extracting and storing the extracted character string in the character string after replacement in the character string replacement table! /, May!
  • the replacement character string setting means holds the extracted character string in the character string replacement table after the replacement in the character string replacement table
  • the matching part of the extracted character string The character string replaced with the other character string in the pair of columns may be stored in the pre-replacement character string in the character string replacement table.
  • the replacement character string setting means sets a character string pair in which the character string replacement table in which the character string before replacement and the character string after replacement are reversed is set in the character string replacement table. Is attached with information indicating that bi-directional replacement is possible, and information indicating one-way replacement is attached to a pair of character strings that are not set, and the character string replacing means stores the information in the character string replacement table. In addition, it is possible to replace a character string without confirming the character string pair with information indicating one-way replacement, and to perform bidirectional replacement in the character string replacement table. Even if a pair of character strings with information indicating is not subjected to a one-way replacement, the confirmation process is performed and the character string is selectively replaced according to the confirmation result. Good.
  • FIG. 1 shows the structure of a prescription receiving apparatus for a specific example 11 of the first embodiment of the present invention.
  • Fig. 1 (a) is a hardware configuration diagram
  • Fig. 1 (b) is a flowchart of reception processing.
  • Fig. 2 shows an example of the prescription information column and examples of designated characters
  • Fig. 2 (b) shows an example of the data structure of template information.
  • Fig. 3 is an example of prescription information column
  • Fig. 3 (b) is another example
  • Fig. 3 (c) is an example of data structure of hospital master
  • Fig. 3 (d) is prescription. It is an example of data structure.
  • Fig. 4 shows an example of a conversion column comparison display screen
  • Fig. 4 (b) shows an example of a calibration column comparison display screen.
  • FIG. 5 shows a specific example 12 of the first embodiment
  • FIG. 5 (a) is a flowchart of acceptance processing
  • FIG. 5 (b) is an example of a voucher.
  • FIG. 6 shows the structure of a prescription accepting device for Example 2-1 of the second embodiment of the present invention.
  • FIG. 6 (a) is a hardware configuration diagram
  • FIG. 6 (b) is a flowchart of reception processing.
  • Fig. 7 shows an example of the prescription information column and examples of designated characters
  • Fig. 7 (b) shows an example of the data structure of template information.
  • Fig. 8 is an example of the prescription information column
  • Fig. 8 (b) is another example
  • Fig. 8 (c) is an example of the data structure of a hospital master
  • Fig. 8 (d) is a prescription. It is an example of data structure.
  • Fig. 9 is an example of a conversion column comparison display screen
  • Fig. 9 (b) is an example of a calibration column comparison display screen.
  • FIG. 10 (a) is an example of a template update screen
  • FIG. 10 (b) is a flowchart showing a basic procedure for template update.
  • FIG. 11 is a flowchart of the acceptance process
  • FIG. 11 (b) is an example of a voucher for specific example 2-2 of the second embodiment.
  • FIG. 12 shows the structure of a prescription accepting device for Specific Example 3-1 of the third embodiment of the present invention.
  • Fig. 12 (a) is a hardware configuration diagram
  • Fig. 12 (b) is a flowchart of the reception process.
  • FIG. 13 shows an example of the prescription information column arrangement and examples of designated characters
  • FIG. 13 (b) shows an example of the data structure of the template information
  • Figure 14 is an example of the prescription information field
  • Figure 14 (b) is another example
  • Figure 14 (c) is the hospital master data structure example
  • Figure 14 (d) is the prescription data. This is an example of the structure.
  • FIG. 15 (a) is an example of a conversion column comparison display screen
  • FIG. 15 (b) is an example of a calibration column comparison display screen.
  • Fig. 16 shows an example of the data structure of the drug master, and Fig. 16 (b) shows an example of the data structure of the character string replacement table.
  • FIG. 17 shows a specific example 3-2 of the third embodiment, in which FIG. 17 (a) is a flowchart of the acceptance process, and FIG. 17 (b) is an example of a voucher.
  • FIG. 18 shows the structure of a prescription receiving apparatus for a specific example 4-1 of the fourth embodiment of the present invention.
  • 18A is a hardware configuration diagram
  • FIG. 18B is a flowchart of the reception process.
  • Fig. 19 shows an example of the prescription information column arrangement and examples of designated characters
  • Fig. 19 (b) shows an example of the data structure of the template information.
  • Fig. 20 is an example of prescription information column
  • Fig. 20 (b) is another example of arrangement
  • Fig. 20 (c) is an example of data structure of hospital master
  • Fig. 20 (d) is prescription data. This is an example of the structure.
  • FIG. 21 (a) is an example of a conversion column comparison display screen
  • FIG. 21 (b) is an example of a calibration column comparison display screen.
  • FIG. 22 (a) shows an example of the data structure of the medicine master
  • FIGS. 22 (b) to 22 (d) show examples of the data structure of the character string replacement table.
  • FIG. 23 shows a specific example 42 of the fourth embodiment.
  • FIG. 23 (a) is a flowchart of the acceptance process
  • FIG. 23 (b) is an example of a voucher.
  • the first embodiment relates to a prescription receiving apparatus that is used for automatic reception of prescriptions at pharmacies and hospitals.
  • the prescription image image (prescription image) is electronically recognized as character data or binary data by character recognition.
  • the present invention relates to a prescription receiving apparatus that acquires prescription description information by converting data (prescription data).
  • the first prescription receiving apparatus includes input means for inputting an image of a prescription, and data for obtaining prescription data from the image by performing character recognition processing on the image.
  • a prescription receiving apparatus including a processing unit is characterized in that a facsimile receiving unit is provided as the input means.
  • the second prescription receiving apparatus is the first prescription receiving apparatus.
  • the data processing unit holds template information including position data in the prescription related to the designated character that has been previously found to be included in the prescription, and in the character recognition process, Based on the template information, the specified character is detected in a part of the image image, and the image image is subjected to top and bottom reversal processing and position correction processing based on the detection result. It is designed to process the remaining area of the image.
  • a third prescription receiving apparatus is the first or second processing form receiving apparatus, and is a facsimile transmission unit connected to the same line as the facsimile receiving unit.
  • an exchange ticket is issued by generating an image image of the voucher and transmitting it from the facsimile transmission unit.
  • the facsimile receiving unit is incorporated in the apparatus as an input means for the prescription image, the image image transmitted / received by facsimile is directly used for character recognition processing. .
  • the first prescription receiving apparatus it is possible to reduce the waiting time of the patient by facsimile transmission and to realize a prescription receiving apparatus with high data input efficiency for the pharmacy.
  • the second prescription receiving apparatus when character recognition processing is performed on an image image of a prescription, first, detection processing of a designated character is performed on a partial area of the image image based on the template information. Next, on the basis of the detection result, the image image is subjected to top-and-bottom inversion processing and position correction processing, and then the remaining area of the image image is also subjected to character recognition processing. In this way, the character recognition rate is improved by detecting the designated character that is previously found to be included in the prescription and correcting the position.
  • the second prescription receiving apparatus it is possible to reduce the waiting time of the patient by facsimile transmission and to transmit any force, which is convenient, and for the pharmacy, the prescription receiving apparatus has good data input efficiency. Can be realized.
  • the voucher when the patient transmits the prescription by facsimile, the voucher can be received by facsimile on the spot, so even if the reception work at the remote place is the same as the work at the pharmacy. It will be performed simply and accurately.
  • the waiting time of the patient can be reduced by facsimile transmission, so that it is possible to transmit anywhere, and it is convenient to receive a voucher, and also to the pharmacy. It is possible to realize a prescription receiving apparatus with good data input efficiency.
  • a fourth prescription receiving device is any one of the first to third processing note receiving devices described above, and when performing a character recognition process on the image image, The medical institution that issued the prescription is specified, the corresponding prescription format is selected, and the image is divided based on the format. In this case, when recognizing characters related to the prescription image, the medical institution that issued the prescription is identified, the prescription format corresponding to the medical institution is selected, and the image image is divided based on that format. . In this way, the image image is divided by the division pattern corresponding to the item arrangement pattern of the prescription issued by each medical institution, and the character recognition at the time of character recognition is performed by applying character recognition to each divided image. Since data candidates and item candidates at the time of conversion to prescription data are narrowed down, the accuracy of data conversion is improved.
  • a fifth prescription receiving apparatus is the fourth prescription receiving apparatus, wherein a divided image of the image image and a change that is converted into character data and displayed are displayed. It is characterized by being displayed on the screen in contrast. In this case, at the time of character recognition related to the image image of the prescription, the divided image of the image image and the conversion column in which it is converted into character data and displayed are displayed on the screen. As a result, the result of character recognition can be easily confirmed, and it can be confirmed by re-performing character recognition or correcting character data before converting the result into prescription data.
  • a sixth prescription receiving apparatus is the fifth prescription receiving apparatus, wherein the prescription data is displayed with an item name for each item and displayed in a proofreadable manner.
  • the proofreading column that displays the prescription data with the item name for each item so that it can be calibrated is displayed on the screen in a state that is compared with the divided image. Is displayed.
  • prescription data that reflects the results of character recognition can be easily confirmed, and proofreading that requires human assistance can be easily performed by comparing with divided images.
  • the specific example 1 1 shown in FIGS. 1 to 4 embodies the first, second, and fourth to sixth prescription receiving apparatuses described above, and the specific example 1 2 shown in FIG. Is an embodiment of the third prescription receiving apparatus described above.
  • FIG. 1 shows the structure of the prescription acceptance apparatus 10, where (a) is a hardware configuration diagram and (b) is a flowchart of acceptance processing.
  • Fig. 2 shows (a) an example of arrangement of prescription information fields and examples of designated characters, and (b) an example of the data structure of template information.
  • Fig. 3 (a) is an example of the prescription information column, (b) is another example of arrangement, (c) is a hospital master data structure example, and (d) is a prescription data structure example.
  • 4A shows an example of a conversion column comparison display screen
  • FIG. 4B shows an example of a calibration column comparison display screen.
  • the prescription receiving apparatus 10 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 prescription image images to the data processing unit 30, and each is connected to the data processing unit 30 with a signal cable.
  • the prescription scanning unit 20 directly captures a paper-based prescription at a pharmacy, whereas the line connection unit 40 receives a prescription image (an image of a prescription) captured at a remote location by facsimile transmission. Is received and delivered to the data processing unit 30.
  • the line connection unit 40 may be a commercially available so-called FAX modem, terminal adapter, or the like as long as it is connected to an external communication line such as a telephone line or a facsimile line network (not shown) and can receive a facsimile. It ’s enough. In this specific example, it is enough to receive as a facsimile receiver. Even if it is with a facsimile transmitter connected to the same line as this receiver, it may be possible to make a voice call. Even with an external type as shown in the figure, a computer built-in type is acceptable.
  • the prescription scanning unit 20 sends the prescription to the transfer path 24 and images the prescription, and the prescription scanning unit 20 is provided facing the transfer path 24.
  • Print head 25 voucher issuing unit 21 for issuing vouchers instead of accepting prescriptions, operation panel 26 provided with operation switches and status display members, and a local controller for controlling the operation thereof 23, and the image image taken by the scanner 22 is transmitted to the data processing unit 30 together with the reception number.
  • the hardware of the data processing unit 30 also has the image image power sent from the prescription scanning unit 20 or the line connection unit 40, which is good with a general-purpose computer such as a so-called desktop personal computer or a notebook personal computer (not shown).
  • a reception routine is installed in the program memory of the data processing unit 30, and the template information, hospital master, patient master, etc. are stored in the internal or external hard disk of the data processing unit 30.
  • Data groups such as insurance master, drug master, usage master, and annotation master are divided into appropriate file formats and table formats, or integrated into a database and stored.
  • the template information which will be described in detail later, includes a pattern of designated characters that have been previously found to be included in the prescription and position data of the designated characters in the prescription. Is used for detection of designated characters and for image top-and-bottom inversion and position correction based on the detection results.
  • the hospital master includes prescription format data corresponding to each medical institution, and the hospital master is used for image image segmentation.
  • the patient master includes data such as the patient's name, date of birth, and patient code. It is used for confirmation of patient names and clues for presenting past prescriptions.
  • the insurance master contains data such as the type of insurance, and is used to confirm the type of insurance and present candidates.
  • the drug master contains data such as drug names and drug codes, and is used to check drug names and present candidates.
  • the usage master contains data such as prescription units and dosage limits, and is used to confirm prescription content and present candidates.
  • the annotation master can additionally write character string data such as special notes and comments.
  • the acceptance routine (see FIG. 1 (b)) is performed when the prescription scanning unit 20 reads the prescription and the image image is sent from the prescription scanning unit 20 to the data processing unit 30. Even when the prescription is read by an external facsimile and the image is sent to the data processing unit 30 via the line connection unit 40, the image is input (step Sl l). If the image is read by the prescription scanning unit 20, the process immediately proceeds to image division processing, character recognition processing, and data conversion processing for the entire area of the image image (“No” in step S12). If the image is input by facsimile reception via the line connection unit 40, the character recognition process etc. is performed in two stages (“Yes” in step S12).
  • Step S14 If the image is found to be rotated, the image is rotated 180 ° to perform the top-and-bottom inversion process. If the image image is found to be out of position, the position is corrected by moving the image image up, down, left, or right. (Step S14).
  • the pattern is “doctor”, the reading left is “1299”, the reading is “980”, the reading right is “1332”, and the reading is “1 014”. Is set.
  • the pattern is “telephone”, the reading left is “1168”, the reading is “884”, and the reading right is “1480”. The bottom is preset to “1066”.
  • the reception routine is assumed to be template information reading left, reading right, reading up, reading down. For example, it is limited to a prescription partial area of 100 pixels on the left and right, 100 pixels above and below, and a 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 prescription image. If the character “doctor” of the designated character No. 1 and the character “phone” of the designated character No. 2 are found in the first assumed position inclusion area, the positional deviation between the designated character detection position and the first assumed position is detected. The power to correct the position of the image so that it cancels out.
  • the specified character detection position is also converted to a position corresponding to the top-to-bottom reversal of the prescription, and then the image image is set so as to offset the misalignment between the converted specified character detection position and the first assumed position The position of is corrected.
  • the position of the image is corrected so as to cancel out the misalignment between the designated character detection position and the second assumed position, and then the upside down process is performed on the image image.
  • the reception routine performs a shoreline erasure process that also erases the shoreline of the image of the prescription (see step S15, Patent Document 7), and then the image segmentation process 'character recognition process' data for the entire image image area.
  • the conversion process has started.
  • Image segmentation processing for all image area includes image segmentation processing based on medical institution identification (steps S21 to 24), character recognition processing for obtaining character data by performing character recognition on the prescription image. (Step S25), data conversion processing for converting the character data into prescription data and (Step S26) are performed.
  • the character recognition process and data conversion process can be repeated any number of times while changing or returning the divided image until the prescription data is completed! (Step S27).
  • step S21 the image image is displayed as it is for visual confirmation, that is, the entire prescription is displayed on the screen (step S21), and characters are added to the image image.
  • Recognition is performed, and character string search is performed on the recognition result to determine whether or not the character string that can specify the medical institution is included (step S22). If the judgment result is affirmative (“Yes” in step S22), for example, the name of the medical institution such as “00 hospital” or “XXX clinic” is found and the hospital master holds it. When they are, the name of the medical institution is automatically adopted.
  • 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 on the screen and receives the designation of the medical institution (step S23).
  • the prescription format corresponding to the medical institution is selected (step S24), and the image is divided based on the format.
  • the format of the prescription (see Fig. 3 (a), (b)) is important here, which is related to the division of the image image. Typical examples are the medical institution information column and patient information shown in the figure. Column, dispensing information column, insurance information column, annotation column (not shown), etc. The arrangement of these prescriptions is prescribed for each medical institution and is often different among medical institutions.
  • the prescription column division information includes arrangement information regarding each of the above-mentioned columns.
  • the arrangement information is defined by the position of the diagonal point of the corresponding column in the prescription. It is permissible to specify the arrangement information repeatedly in the same field! It can be adapted to the information field in the shape of being distributed in multiple rectangles or combining them.
  • the prescription data (see Fig. 3 (d)) has a standard data structure in which the items described in such a prescription are obtained as electronic data. For example, it is used for drug history management or automatic dispensing.
  • the data structure is determined in advance in conformity with the pharmacy host computer 50.
  • patient information, insurance information, and dispensing information annotation information not shown is always or selectively included.
  • Medical institution information includes the name of the medical institution
  • patient information includes the name of the patient, etc.
  • insurance information includes insurance type and insurance number, etc.
  • the set data with doses is now included in a set or multiple sets.
  • the data processing unit 30 obtains prescription column division information corresponding to the specified medical institution (step S24), and based on this, the image processing unit 30 performs image processing for each column of the prescription. Divide the image to create some divided images, for example, the divided image in the medical institution information column, the divided image in the patient information column, the divided image in the dispensing information column, the divided image in the insurance information column, etc. One of the divided images is displayed on the screen for comparison, and character recognition processing (step S25) and data conversion processing (step S26) are performed.
  • a conversion field comparison display is performed (see Fig. 4 (a)), and the divided image 31 relating to the selected information field and the character data obtained by performing character recognition on the divided image 31 are displayed. 33 and force Displayed on one screen, side by side.
  • the change 133 allows the reception worker to correct the character string at the part selected by operating the mouse or keys.
  • the selection of the information column can be switched by clicking the column designation tab 32, etc., and the data conversion process, that is, the transition to the calibration column comparison display screen can be performed by clicking a specific button such as “display calibration column”.
  • the character data obtained by the modified mffl contrast display is converted into prescription data.
  • a comparison column is displayed (see Fig. 4 (b)).
  • the divided image 31 relating to the selected information column and the proofreading column 34 enumerating each item of the prescription data are displayed on one screen in a state where they are arranged side by side.
  • Each item in the calibration field 34 includes an item name and a data value, and the data value can be selected and corrected by operating the mouse key for calibration. .
  • the selection of the information column can be switched by clicking the column designation tab 32, etc., and the character recognition processing, that is, the return to the conversion column comparison display screen, etc. It can be done by clicking. In other words, it is possible to freely move between contrast display screens and select and switch information fields at any time.
  • the prescription receiving apparatus 10 When the prescription receiving apparatus 10 is installed in, for example, a pharmacy (see Fig. 1 (a)), the prescription scanning unit 20 is placed on a reception counter or the like, and the data processing unit 30 and the line connection unit 40 are installed in the counter. It is placed on a work desk and the like, and both are connected by cable, and if there is a local LAN connected to the pharmacy host computer 50, the data processing unit 30 is also connected thereto.
  • the data processing unit 30 installs a reception routine and also performs data initialization. That is, in the template information, a 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 are set.
  • the drug master, usage master, hospital master, and insurance master contain data such as drug names that can be handled by pharmacies, prescription units, prescription field division information for medical institutions, and insurance types. To do. Sarako, Annotation Master and Patient Master are cleared. In this way, the prescription receiving apparatus 10 is ready for operation.
  • the prescription scanning unit 20 takes the prescription from the outside to the inside of the counter, and issues a voucher instead. At that time, the receipt number is printed on the prescription and the prescription is captured. Is called.
  • 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.
  • the entire prescription image is first displayed on the screen of the data processing unit 30 by the processing of the reception routine, and a medical institution name is searched for the image image and the hospital master. If the name of a medical institution is found, it is automatically adopted to identify the medical institution, and if the name of the medical institution is not strong enough, the designation of the medical institution is prompted. In response to this, when the reception worker designates a medical institution, it is adopted for identification of the medical institution by the processing of the reception routine of the data processing unit 30.
  • the data processing unit 30 selects prescription format data that matches the name of the medical institution in the hospital master basic information by processing the reception routine. . Specifically, the prescription field division information associated with the basic information is read out by the hospital master.
  • the processing of the reception routine of the data processing unit 30 continues, and in the automatic processing, when the prescription column division information is obtained, the image image is divided into several divided images based on the prescription column division information. Character recognition and conversion column comparison display (see Fig. 4 (a)) and calibration column comparison display are performed in units of divided images (see Fig. 4 (b)).
  • 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 confirming completion, the prescription acceptance process is terminated by the data processing unit 30 by, for example, clicking a prescription completion button.
  • the data processing unit 30 uses the completed prescription data for prescription management in a pharmacy.
  • the data is sent from the data processing unit 30 to the pharmacy host computer 50 and used for drug history management for each patient or distribution to an automatic dispensing machine.
  • prescription data of paper prescription data of electronic data can be obtained.
  • prescription data is input semi-automatically using character recognition.
  • character recognition in addition to segmentation of image images corresponding to medical institutions, comparison display of segmented image 31 and conversion column 33 and comparison display of segmented image 31 and calibration column 34 are also performed. Therefore, prescription data can be input very efficiently.
  • the image of the prescription is sent to the line connection unit 40. In this case, the image image is first calibrated, and the image image after calibration is used to create prescription data as described above.
  • the data processing unit 30 processes the reception routine (see step S13 in FIG. 1 (b)), and the template information is referred to (see FIG. 2 (b)).
  • a specified character such as “telephone” or “telephone” is detected as a partial area of the image (see Fig. 2 (a)).
  • top-and-bottom reversal processing and position correction processing are selectively performed on the entire prescription image (see step S14 in Fig. 1 (b)), and lane erasure processing is also performed. (See step S15 in Fig. 1 (b)).
  • 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 operation input.
  • Format data is selected, and based on this, the image is divided into several divided images, and character recognition and change contrast display (see Fig. 4 (a)) and calibration column contrast display are performed for each divided image unit. (See Figure 4 (b)). Then, the prescription data is completed when the reception worker corrects or supplements the data while appropriately switching the comparison display screens.
  • prescription data is input semi-automatically using character recognition.
  • 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 specified character detection, top-and-bottom reversal processing and position correction processing are performed simply and accurately using this, and the shoreline erasure processing is also performed, it is possible to combine the character recognition method with the facsimile transmission / reception method. Sentence Since the character recognition rate does not decrease, the prescription data can be input very efficiently.
  • FIG. 5 (a) is a flowchart of the acceptance process, and (b) is an example of a voucher.
  • steps S13 to S27 are the same as those in FIG. 1 (b), and are not described because they are repeated.
  • the facsimile transmission unit is connected to the same line as the facsimile reception unit, and can reply 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, and if it is not added separately, it may be an external type or a computer built-in type.
  • the retransmission request and the issuance of the voucher in the high-definition mode are simply realized by extending the reception routine of the data processing unit 30. Specifically (see Fig. 5 (a)), when the prescription image is input by facsimile transmission / reception (“Yes” in step S12), before detecting the designated character based on the template information (step S13), check whether the prescription image is fine in pixel pitch! /, Sent in high-definition mode or in normal mode with coarse pixel pitch (step S31).
  • step S31 If it is (Yes in step S31), it will be used for character recognition processing (step S13), but if it is not in high-resolution mode (“No” in step S31), text requesting retransmission in high-definition mode
  • the process is terminated by sending a facsimile image of the image described in (Step S32).
  • the reception routine of the data processing unit 30 determines that when the prescription image image input by facsimile transmission / reception has been converted into prescription data (step S27), the voucher is exchanged via the facsimile transmission unit.
  • the image will be sent! /, (Step S33).
  • this voucher image in addition to the receipt number and date / time that are printed on the voucher issued by the voucher issuing unit 21, a pharmacy name, telephone number, etc. Pharmacy information, pharmacy maps, and reduced images of prescription images are also included.
  • the exchange ticket is immediately returned by facsimile, and the patient can receive it by FAX at home or the like.
  • the line connection unit 40 (facsimile receiving unit) and the prescription scanning unit 20 are provided as input means for inputting the prescription image, but the prescription scanning unit 20 is omitted. It can also be used as a prescription reception device for facsimile reception! ,.
  • the prescription scanning unit 20, the data processing unit 30, and the line connection unit 40 are separate forces. These are not limited to separate units, but are integrated. Also good. Integration can be performed only by the prescription scanning unit 20 and the data processing unit 30, the prescription scanning unit 20 and the line connection unit 40, or the data processing unit 30 and the line connection unit 40.
  • the comparison display of the calibration column 34 is performed side by side with the divided image 31.
  • the divided image 31 can be displayed with the variable ⁇ «33 and the calibration column 34 displayed side by side.
  • the change 33 and the calibration column 34 may be displayed on the same screen in comparison.
  • a code change is also given to the data processing unit, and when the image image of the processing note has a code such as a two-dimensional code, the data processing unit converts it into prescription data.
  • the data processing unit may perform character recognition on the image image and convert it into prescription data only when there is no such code (see, for example, Japanese Patent Application No. 2004-308931).
  • the prescription scanning unit is not limited to the facsimile erasing process at the time of facsimile transmission / reception You can do this even when you scan with 20!
  • the second embodiment relates to a prescription receiving apparatus that is used for automatic reception of prescriptions at pharmacies and hospitals.
  • the prescription image image (prescription image) is converted to internal data such as character data or binary data by character recognition.
  • the present invention relates to a prescription receiving apparatus that acquires prescription description information by converting data (prescription data).
  • the first prescription receiving apparatus includes input means for inputting an image of a prescription, and data for obtaining prescription data from the image by performing character recognition processing on the image.
  • the data processing unit holds template information including position data in a prescription related to a designated character that is previously known to be included in the prescription.
  • the character recognition process based on the template information, the designated character is detected in a part of the image image, and the position of the image is corrected based on the detection result. And then processing the remaining area of the image image, and further updating the template information when updating the template information.
  • Screen information and the designated character input field are displayed side by side, the designated character is set according to the character input in the input field, and the designated area is designated according to the designation of the partial area in the display area of the image image. It is characterized by setting the position data in the prescription of the template information.
  • the second prescription receiving apparatus is the first prescription receiving apparatus, and the data processing unit adds the template information to the template information when updating the template information.
  • Character data is obtained by performing character recognition processing on the partial area of the image image based on the character image, and confirms whether the character data and the designated character match each other. It is characterized by that.
  • a third prescription receiving apparatus is the first or second processing form receiving apparatus, wherein the data processing unit updates the template information when the template information is updated.
  • the image image is subjected to character recognition processing and converted to character data, the specified character is searched for the character data, and the same character as the specified character is found in the search. In other words, the corresponding portion of the image is highlighted in accordance with the selected portion.
  • a fourth prescription receiving apparatus is any one of the first to third prescription receiving apparatuses, wherein the data processing unit performs a pre-reception in the character recognition process.
  • the image image is also subjected to top-to-bottom inversion processing based on the detection result of the designated character. If this is the case, it will be highlighted in one or both of the reverse position partial area in the image and the extended area that will be extended to the partial area related to the designated character. It is characterized by that!
  • a fifth prescription receiving apparatus is the fourth prescription receiving apparatus, wherein the data processing unit updates the inversion position partial area when updating the template information.
  • Character data is obtained by performing character recognition processing on one or both of the extended area and the extended area, and whether or not the character data and the specified character match is in agreement. The feature is that a warning is issued when there is a letter! /.
  • a sixth prescription receiving apparatus is any one of the third to fifth prescription receiving apparatuses, wherein the data processing unit converts the template information into an image image.
  • the search for the designated character and highlighting of the corresponding part are also performed for image images corresponding to other prescription styles different from the prescription style to be updated.
  • the designated character relating to one or a plurality of areas of highlighting one or both of the inversion position partial area and the extension area, or the partial area, the inversion position partial area, and the extension area It is characterized by the fact that it will come up with a match check and a match warning!
  • the first prescription receiving apparatus when character recognition processing is performed on the prescription image, first, designated character detection processing is performed on a part of the image image based on the template information. Based on the detection result, the image image is subjected to position correction processing, and then the remaining area of the image image is also subjected to character recognition processing. In this way, The character recognition rate is improved by correcting the position by detecting a designated character that is previously found to be included in the form.
  • the designated character is set by inputting the character into the input field by a keyboard operation or the like, and the partial area in the display area of the image image is designated by the mouse operation or the like, so that the position in the prescription is the data template.
  • the designated character is not affected by character recognition errors and does not impair the ease of area specification. It is also possible to update the partial area of the image and update the specified character according to the original timing, and change the specified character at any time.
  • the first prescription receiving apparatus it is possible to realize a prescription receiving apparatus that can easily update a designated character when updating template information.
  • the second prescription receiving apparatus when the template information is updated, character recognition processing is performed on a partial area of the image image based on the template information, and the read character data obtained thereby is obtained. Is automatically set as the designated character, and is used for the process of noticing mismatch with the designated character set in the input field. That is, it is confirmed whether or not these read characters match the designated characters, and attention is urged when they do not match.
  • the input operator of the designated character will investigate whether the cause of the mismatch is an input error in the force input field in the misreading of the character recognition process. Can be prevented. Since the input force can be easily input until the attention is urged, the mental burden on the operator is reduced.
  • the second prescription receiving apparatus it is possible to realize a prescription receiving apparatus in which the designated characters can be updated easily and accurately when the template information is updated.
  • the third prescription receiving apparatus when the template information is updated, character recognition processing is performed on a wide area such as the entire area of the image image, and the read character data obtained thereby is designated as a designated character and A search for the same character is performed and the same character is found. For the marked part, the corresponding part of the image is highlighted.
  • the third prescription receiving apparatus it is possible to realize a prescription receiving apparatus that can easily and accurately update a designated character when updating template information.
  • the fourth prescription acceptance device when character recognition processing is performed on the prescription image, the designated character that is previously known to be included in the prescription is detected and positioned. In addition to correcting the prescription, the top-to-bottom reversal process is performed as necessary, which improves the character recognition rate and makes the prescription inconvenient even if the prescription is set in the reverse direction with respect to the input means of the prescription receiving device.
  • the prescription acceptance device is easy to use because it can be received without any problems.
  • the highlighted area is highlighted in the inversion position area and its extended area in the image, so that the input operator of the specified character is reversed instead of force in the specified area. Since attention is paid to the position naturally, inappropriate characters are rarely selected as designated characters.
  • the fourth prescription receiving apparatus it is possible to easily update the designated character when updating the template information, and it is possible to realize the prescription receiving apparatus.
  • a matching warning process related to the inversion position and the like is also performed.
  • character recognition processing was performed on the inversion position partial area and its extended area in the image, and the search for the same character as the specified character was performed on the obtained character data, and the same character was found. Sometimes a stronger warning than a highlight is issued.
  • the fifth prescription receiving apparatus it is possible to easily and accurately update the designated character when updating the template information and to realize an easy-to-use prescription receiving apparatus. It can be done.
  • the template information is held together with the image image for each of the recipe note styles, and there are a plurality of template information.
  • search for the designated character and highlight the corresponding location for the image image corresponding to another prescription form that is different from the prescription form to be updated.
  • the reverse position partial area and its extended area are highlighted, and in the case of the 5th prescription acceptance device citation, the designated characters related to the partial area, the reversal position, etc. A match check and a match warning are performed. For this reason, inappropriate setting of designated characters can be prevented not only for prescription styles to be updated but also for other prescription styles.
  • the sixth prescription receiving apparatus it is possible to realize a prescription receiving apparatus that can receive various prescriptions and can easily and accurately update designated characters when updating template information.
  • a seventh prescription receiving apparatus is any one of the prescription receiving apparatuses described above, and has issued the prescription when performing character recognition processing on the image image. And a corresponding prescription format is selected, and the image is divided based on the format.
  • the medical institution that issued the prescription is identified, the prescription format corresponding to the medical institution is selected, and the image image is further divided based on the format .
  • the image image is divided by the division pattern corresponding to the item arrangement pattern of the prescription issued by each medical institution, and character recognition is performed on each divided image, so that the character data at the time of character recognition is The data conversion accuracy is improved because data candidates and item candidates for conversion to prescription data are narrowed down.
  • An eighth prescription receiving apparatus is the seventh prescription receiving apparatus, wherein a divided image of the image image and a change obtained by converting the image into character data are displayed. It is characterized by being displayed on the screen in contrast.
  • the image image segmentation The mffl that is displayed after converting the image into character data is displayed on the screen. This makes it easy to check the result of character recognition, and it can be done whenever character recognition is performed again or character data is corrected before converting the result into prescription data.
  • a ninth prescription receiving apparatus is the eighth prescription receiving apparatus, wherein the prescription data is displayed with an item name for each item and displayed in a proofreadable manner. Is displayed on the screen in comparison with either one or both of the divided image and the variable fffl.
  • the proofreading column in which the prescription data is displayed with the item name for each item so that it can be calibrated is also compared with the divided image, etc. Displayed on the screen.
  • 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.
  • a tenth prescription receiving apparatus is any one of the prescription receiving apparatuses described above, wherein a facsimile receiving unit is provided as the input means.
  • the facsimile receiving unit is incorporated in the apparatus as input means for the prescription image, the image image transmitted / received by facsimile is directly used for character recognition processing. This avoids re-imaging after reception, eliminating the need for prescription reading on the pharmacy side and reducing image quality only when imaging on the transmission side. 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.
  • An eleventh prescription receiving apparatus is the tenth prescription receiving apparatus, wherein a facsimile transmission unit connected to the same line as the facsimile reception unit is provided, and the facsimile reception When a prescription is received through the department, an exchange ticket is issued by generating an image image of the exchange ticket and transmitting it from the facsimile transmission section.
  • the voucher can be received by facsimile on the spot, so even if the reception work at a remote place is performed, it will be performed as easily and accurately as the work at the pharmacy. .
  • the pharmacy can accept data of a prescription with good data input efficiency.
  • a device can be realized.
  • Specific example 2-1 shown in FIGS. 6 to 10 embodies the above-described first to tenth prescription receiving devices, and specific example 2-2 shown in FIG. 11 is described above. This is an embodiment of the eleventh prescription acceptance device.
  • FIG. 6 shows the structure of the prescription receiving apparatus 110
  • (a) is a hardware configuration diagram
  • (b) is a flowchart of the receiving process.
  • FIG. 7A shows an example of arrangement of prescription information fields and examples of designated characters
  • FIG. 7B shows an example of the data structure of template information.
  • (a) is an example of the prescription information column
  • (b) is another example of arrangement
  • (c) is an example of the data structure of the hospital master
  • (d) is an example of the structure of the prescription data.
  • 9A is an example of a conversion field comparison display screen
  • FIG. 9B is an example of a calibration field comparison display screen
  • FIG. 10A is an example of a template update screen
  • FIG. It is a flowchart which shows the basic procedure of a template update.
  • the prescription receiving apparatus 110 includes a prescription scanning unit 120, a data processing unit 130, and a line connection unit 140. Both the prescription scanning unit 120 and the line connection unit 140 are provided as input means for inputting an image of the prescription to the data processing unit 130, and each is connected to the data processing unit 130 by a signal cable.
  • the prescription scanning unit 120 directly captures a paper-based prescription at a pharmacy, while the line connection unit 140 captures a prescription image (prescription image image) captured at a remote location by facsimile transmission.
  • the data is received and delivered to the data processing unit 130.
  • the line connection unit 140 is connected to an external device such as a telephone line or a facsimile line network (not shown).
  • an external device such as a telephone line or a facsimile line network (not shown).
  • a commercially available so-called fax modem or terminal adapter is sufficient as long as it can be connected to the communication line and receive a facsimile.
  • it is only necessary to be able to receive as a facsimile reception unit but it is possible to make a voice call with a good voice even if it is connected with a facsimile transmission unit connected to the same line as this reception unit.
  • Even an external type as shown in the figure is not shown, but a built-in computer type is also acceptable.
  • the prescription scanning unit 120 sends the prescription to the transfer path 124 and captures the prescription, and the prescription scanning unit 120 faces the transfer path 124 and sets the reception number on the prescription.
  • a local controller 123 is provided, and an image taken by the scanner 122 is transmitted to the data processing unit 130 together with a reception number.
  • the hardware of the data processing unit 130 is a prescription data that is sent from the prescription scanning unit 120 or the line connection unit 140, which can be used with a general-purpose computer such as a so-called desktop personal computer (not shown) or a Zotobazokon (not shown).
  • a reception routine and a template update routine are installed in the program memory of the data processing unit 130, and the template information and the hospital master are stored in the internal or external hard disk of the data processing unit 130.
  • Patient Master, Insurance Master, Drug Master, Usage Master, Annotation Master, etc. Data is divided into appropriate file format and table format, or integrated into a database and stored.
  • the template information includes a code or pattern of a designated character that has been previously found to be included in the prescription, and position data of the designated character in the prescription.
  • the information is used for detection of designated characters and image image top-to-bottom processing and position correction processing based on the detection results.
  • the hospital master includes prescription style data corresponding to each medical institution, and the hospital master is used for image image segmentation.
  • the patient master includes data such as the patient's name, date of birth, and patient code, and is used to confirm the patient name and provide clues for past prescriptions.
  • the insurance master contains data such as the type of insurance, and is used to confirm the type of insurance and present candidates.
  • the drug master contains data such as drug names and drug codes, and is used to check drug names and present candidates.
  • the usage master contains data such as prescription units and dosage limits, and is used to confirm prescription content and present candidates.
  • the annotation master can additionally write character string data such as special notes and comments.
  • the acceptance routine (see Fig. 6 (b)) first checks whether the operation mode is set to template update mode or whether it is set to acceptance mode (step S111), and then enters template update mode. If it is, the process is left to the template update routine described later (step S150). If the reception mode is set, the following reception process is performed (steps S111 to S127).
  • the reception routine reads the prescription by the prescription scanning unit 120 and sends the image image from the prescription scanning unit 120 to the data processing unit 130.
  • the image image is first input! (Step S112).
  • the image image power is subjected to character recognition processing or the like on the image image, and the processing is performed in two stages. Specifically, for the calibration, a pre-processing stage (steps 3113 to 3115) in which character recognition processing is performed only on a part of the image image of the prescription, and character recognition processing is performed on the entire image image region. Processing steps (steps S121 to S127) are performed. It should be noted that, here, it has been found that the pre-processing is not necessary for direct reading, even when the image image is input by direct reading or when it is input by facsimile reception.
  • the prescription scanning unit 120 If the image is input by scanning with the prescription scanning unit 120, it immediately shifts to image segmentation processing, character recognition processing, and data conversion processing for the entire image image area. It is also possible to perform the two-stage processing only when an image is input by facsimile reception via the line connection unit 140.
  • step S113 This pre-processing for the calibration bracelet uses template information in order to perform adjustment easily and accurately. Based on this, the designated character is detected (step S113) . If the image is found to be upside down as a result, the image is rotated 180 ° to perform top-and-bottom inversion processing, and the image is misaligned. When it becomes clear, the position correction process is performed by moving the image image up, down, left and right (step S114), and the image image power of the prescription is also removed. (See Step S115, Patent Document 7).
  • the pattern is “doctor”, the reading left is “1299”, the reading is “980”, the reading right is “1332”, and the reading is “1 014”. Is set.
  • the pattern is “telephone”, the reading left is “1168”, the reading is “884”, and the reading right is “1480”. The bottom is preset to “1066”.
  • Such template information is provided for each prescription form, and is associated with the image of the prescription referred to when setting each piece of information.
  • the reception routine detects a designated character with reference to such template information (Fig. 6 (b), step S113), it is assumed that the template information is read left, read right, read up, and read down.
  • a prescription partial area (a partial area of an image image based on template information) of 100 pixels on the left and right 100 pixels up and down centered on the position in the prescription, and the first assumed position is applied to an inverted prescription.
  • the prescription image is limited to the prescription partial area centered on the assumed position (the reverse position partial area in the image). Recognition processing is applied. If the designated character No. 1 character “doctor” and the designated character No. 2 character “phone” are found in the first assumed position inclusion region (part of the image image based on the template information). The position of the image is corrected so as to cancel out the misalignment between the designated character detection position and the first assumed position, but the top-and-bottom inversion process is not performed.
  • the character “doctor” of the designated character No. 1 and the character “phone” of the designated character No. 2 looked powerful in the second assumed position inclusion area (extended area of the inverted position partial area)
  • the top and bottom inversion processing is performed on the image image
  • the position of the designated character detection position is also converted corresponding to the top and bottom inversion of the writing paper, and then the designated character detection position after conversion and the first assumption are made.
  • the position of the image is corrected so as to cancel out the positional deviation from the position.
  • the position of the image is corrected so as to cancel out the misalignment between the designated character detection position and the second assumed position, and then the upside down process is performed on the image image.
  • the reception routine performs a shoreline erasure process to erase the shoreline from the prescription image (step S115), and then the main process in the two-stage process, that is, the entire process image image area.
  • Image division processing ⁇ Character recognition processing ⁇ Data conversion processing Steps S121 to S127
  • the reception routine performs the image segmentation process based on medical institution identification (steps S121 to 124). Then, character recognition processing for obtaining character data by performing character recognition on the prescription image image (step S125), and data conversion processing for converting the character data into prescription data (step S126) are performed. The character recognition process and the data conversion process can be repeated as many times as necessary until the prescription data is completed, changing or returning the divided images (step S127). Even during the process, if the template update process is selected by clicking the button display on the screen, the process is left to the template update routine described later (Fig. 6 (b)). (Refer to the flow of the broken line in).
  • step S121 Since the template update routine will be described in detail later, the details of this processing stage (steps S121 to S127) will be described in detail.
  • step S121 After the entire prescription is displayed on the screen (Step S121), character recognition is performed on the entire image, and character recognition is included in the recognition result to include a character string that can identify a medical institution. Judgment is made (step S122). If the determination result is affirmative (“Yes” in step S122), for example, the name of a medical institution such as “00 hospital” or “XXX clinic” is found, and it is held by the hospital master. Sometimes the medical institution name is automatically adopted!
  • step S122 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 asked to enter the name of the medical institution in the input field on the screen, and the designation of the medical institution is received (step S123).
  • a prescription form corresponding to the medical institution is selected (step S124), and the image is divided and processed based on the form! /
  • the prescription format (see Fig. 8 (a) and (b)) is important here, which is related to image segmentation. Typical examples are the medical institution information column and patient information shown in the figure. Column, dispensing information column, insurance information column, annotation column (not shown), etc. The arrangement of these prescriptions is prescribed for each medical institution and is often different among medical institutions.
  • the hospital master reflecting this shows that each medical institution has corresponding prescription style data, that is, basic information and prescription column division information. Is retained.
  • the basic information is the medical institution information in the prescription data (refer to Fig. 8 (a), (b)), which is electronic data of the items described in the medical institution information column (see Figs. (See Fig. 8 (d)) or equivalent (see Fig. 8 (c)).
  • the prescription column division information includes arrangement information regarding each of the above-mentioned columns.
  • the arrangement information is defined by the position of the diagonal point of the corresponding column in the prescription. It is permissible to specify the arrangement information repeatedly in the same field! It can be adapted to the information field in the shape of being distributed in multiple rectangles or combining them.
  • the prescription data as electronic data
  • the data structure is determined in advance by adapting it to the pharmacy host computer 150 used for drug history management, automatic dispensing, etc.
  • 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.
  • the dispensing information includes the name of the prescribed drug.
  • One or more sets of dose and set data will be included!
  • the data processing unit 130 obtains an image image for each prescription field based on the information.
  • the divided image is displayed in contrast on the screen, and character recognition processing (step S 125) and data conversion processing (step S 126) are performed! /.
  • a conversion field comparison display is performed (see Fig. 9 (a)), and the divided image 131 relating to the selected information field and the character data conversion field obtained by performing character recognition on the divided image 131 are displayed.
  • the change 1133 allows the reception worker to correct the character string in the part selected by operating the mouse or key.
  • the selection of the information column can be switched by clicking the column designation tab 132, and the data conversion process, that is, the transition to the calibration column comparison display screen can be performed by clicking a specific button such as “display calibration column”.
  • the character data obtained in the modified mffl comparison display is reflected in the prescription data and the calibration column comparison display is performed (see Fig. 9 (b)).
  • the divided image 131 relating to the selected information column and the proofreading column 134 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 134 includes an item name and a data value, and the data value can be selected and corrected by operating the mouse or key for calibration.
  • the selection of the information column can be switched by clicking the column designation tab 132 or the like. It can be done by clicking "Modify ⁇ ffl display". In other words, it is possible to freely move between contrast display screens and select and switch information fields at any time. Similarly, it is possible to shift to template update processing by clicking the “template update” button, for example.
  • the template update routine (see Fig. 10), if there is an image image of the prescription printed in the form, it is displayed on the screen and related to the template information (see Fig. 7) and the hospital master (see Fig. 8). It is for adding or changing data.
  • the target prescription is preferably one without a prescription, but it may have a prescription.
  • the image of the prescription can be either a newly entered image or a previously entered image that has been stored and retained, and the entire image 131a and the style update fields 135 to 139 They are displayed side by side on a single screen (see Fig. 10 (a)).
  • this form update column 135 to 139 selection of an existing form number or input of a new form number and a prescription form input column 135 for confirming the display, and the ability to update the basic information
  • the power of the designated character for calibration for example, the update item selection field 136 for selecting and checking the display of other insurance information, and the basics for updating and checking the basic information such as the basic information of medical institutions
  • Information entry field 137, designated character entry field 138 for entering and confirming display of specified characters by, for example, keystroke operation or mouse click operation, and list of set template information for confirmation are displayed.
  • a template information display update field 139 for changing the contents of the selected item and additionally inputting new data is included.
  • the template update routine (see Fig. 10 (a)) responds to a split instruction at any time by clicking a specific button, such as clicking "Set split field". In that case, the screen is displayed by mouse drag operation or the like.
  • the update item selection field 136 indicates the update of the specified character Includes the first assumed position described above (position data in the prescription for the specified character).
  • Part of the image is set in the template information and reflected in the template information display update field 139 (see Fig. 10 (a) two-dot chain line with arrows). Otherwise, the partial area is divided.
  • the column is set in the prescription column division information of the hospital master.
  • the display of the divided image 131 and the entire image 131a can be arbitrarily switched at any time.
  • the template update routine when various operation instructions are given in response to a mouse operation button or a click on the style update field 135 to 139, the template update routine also performs detailed update processing accordingly. (See step S151 in Fig. 10 (b)). Specifically, for example, when a new form number is entered in the prescription form entry field 135, a record is added to the hospital master or template information, and the image image is stored in association with the prescription form entry field 135. When an existing format number is selected, the stored template information and image image corresponding to the stored format number are displayed on the screen and in an updatable state (step S152).
  • the operation instruction is an update item selection based on the update item selection field 136
  • the selected item is put in an updatable state and the selected content is updated for confirmation. Displayed on 136 (step S153).
  • the input data is set, for example, in the corresponding part of the corresponding record of the hospital master (step S154), and when character input is made in the designated character input field 138.
  • the character data is selected as the designated character and set in the corresponding location of the corresponding record of the template information (step S155).
  • This designated character and the position data in the prescription related to it are displayed as template information in the template information display update field 139 and the template information display. Renewal column 139 is also allowed to update.
  • the template update routine also responds to instructions such as a specified character match confirmation by clicking a specific button, for example, "match check" (steps S156 to S158).
  • the image corresponding to the target prescription form is processed with discrepancies (Step S156), and the search processing and reversal processing and the matching warning are performed. Etc. are performed (step S157).
  • processing such as search, reversal, and matching warning are performed (step S158). At that time, a series of processing is performed only once for the prescription style to be updated, but the series of processes is repeated for the number of preset styles for other prescription styles.
  • step S156 for the image image corresponding to the prescription style to be updated, the first assumed position related to the designated character (based on the template information). Character recognition processing is performed on a part of the image image) to obtain character data, and it is determined whether the read character matches the set designated character. If the read character matches the specified character, an appropriate confirmation display is performed. If the read character does not match the specified character, the operator should be alerted with an appropriate alarm sound or caution message display. Prompts you to confirm that the specified character is left as it is, and to correct the specified character.
  • step S157 the designated character is searched and the corresponding part is highlighted. Specifically, character recognition processing is applied to the entire image image or a wide area close to it, and then converted to character data (character string) one after another, and then the specified character is included in the read character string. If it is included, if it is included, if it is, where is it! /, A search is performed, and the same image as the specified character is found in the search. For example, it is highlighted with black and white reversed display or blinking display.
  • step S157 In the processing such as reversing the image image corresponding to the prescription style to be updated (step S157), one or both of the reversed position partial area and the expanded area are highlighted. Specifically, if the whole image image 13 la is inverted upside down, the inversion position partial area in the image image that will come to the partial area related to the designated character (the first assumed position described above) (Estimated position) is highlighted with, for example, a red frame, and an expanded area obtained by extending the inverted position partial area by several tens of dots, for example, in four directions is highlighted with, for example, a yellow frame! /, The You can use shading or gradation for this highlighting.
  • Step S157 The image corresponding to the prescription style to be updated! (Step S157), a matching check and a matching warning are performed for the designated character in any one area or a plurality of areas of the reverse position partial area and the extension area. Specifically, character recognition processing is performed for the extension area of the inverted position partial area, and then converted to character data (character string) one after another, and then the specified character is included in the read character string. In addition to checking whether the force is included or not, if it is included, check where the force is, and highlight the part where the same character as the specified character was found in the investigation, for example, by flashing red and displaying an appropriate alarm. A warning or warning message is displayed to alert the operator and prompt the user to redo the specified character update.
  • step S158 In a process such as searching for image images corresponding to other prescription styles (step S158), highlighting of one or both of the inverted position partial area and the extended area is performed. Specifically, the processing contents are the same as described above, except that the target style and image are different.
  • step S158 In the process of reversing the image image corresponding to the other prescription style (step S158), one or both of the reversed position partial area and the expanded area are highlighted. This is also the same as described above, except that the target style and image are different.
  • any one of the partial area, the reverse position partial area and the extended area is selected. Performs a match check and a match warning for the specified character in a region or multiple regions. Specifically, in addition to the difference in the style and image of the target, the force that the target partial area has increased by one in the image image
  • the processing content is the same as described above.
  • the partial area added to the target is the partial area including the first assumed position related to the specified character, but the image image corresponds to the prescription format to be updated. However, it is the subject of a match check and a match warning for the specified character.
  • the prescription scanning unit 110 When the prescription receiving apparatus 110 is installed in a pharmacy, for example (see Fig. 6 (a)), the prescription scanning unit
  • the data processing unit 130 is also connected to the local office LAN etc. connected to the pharmacy host computer 150 and connected to the pharmacy host computer 150.
  • the data processing unit 130 installs a reception routine and a template update routine, and also performs data initialization.
  • the drug master, usage master, and insurance master are set with data such as drug names, prescription units, and insurance types that may be handled by pharmacies.
  • the annotation master and patient master are cleared.
  • the template information includes designated characters that have been previously found to be included in the prescription and the position data of the designated characters in the prescription. And so on. Template information and hospital master are set for each prescription format, but for prescription styles and image images that have been set before, download other machines and initialization tools, etc. to save time.
  • the template update routine is executed and the template update screen is displayed. (Refer to Fig. 10 ( a )).
  • the prescription scanning unit 120 read the prescription that is not filled in as much as possible, but when the prescription is imaged anyway, the entire image 13 la is displayed on the screen, and the form update column 135-139 Input or change can be made. Therefore, the template information and hospital master prescription column division information are set by drawing a partial area by clicking the button “Set division column” and dragging the mouse on the entire image 131a.
  • Input field 135 Prescription form input and setting for use (see step S152 in Fig. 10 (b)), Update item selection field 136 Selection and switching of update items for use (step S153), Basic information input field 137 Basic information for use Update operations such as input and setting (step S1 54) and input and setting of designated characters for the designated character input field 138 (step S155) are also performed.
  • the template update routine automatically matches the image images corresponding to the prescription format to be updated. Attention processing, retrieval processing, inversion processing, matching warning processing, etc. are performed (steps S 156, S157), and already Repeat for the number of other prescription styles that have been set, and for each form, the image image corresponding to the non-updating prescription style, and processing such as search and reversal, etc. And the like are performed (step S158).
  • the prescription scanning unit 120 takes the prescription from the outside to the inside of the counter, and exchanges it instead. Is issued. 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 120 to the data processing unit 130 together with the reception number, and is used for prescription data creation by the data processing unit 130.
  • 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 prescription image is displayed on the screen of the data processing unit 130, 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 strong enough, the 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 130.
  • the data processing unit 130 selects prescription format data that matches the name of the medical institution in the basic information from the hospital master by processing the reception routine. Is done. Specifically, the note pad division information associated with the basic information is read from the hospital master.
  • the reception worker switches the display screens as appropriate, and also looks at the paper prescription if necessary to complete the prescription data. Then, after confirming completion, the prescription acceptance process is completed by the data processing unit 130, for example, by clicking a prescription completion button.
  • the completed prescription data is used for prescription management in the pharmacy at the end of the prescription acceptance process. For example, it is sent from the data processing unit 130 to the pharmacy host computer 150 and used for drug history management for each patient, distribution to an automatic dispensing machine, etc.
  • prescription power of paper prescription data of electronic data is obtained.
  • prescription data is input semi-automatically using character recognition.
  • character recognition in addition to image image division processing corresponding to a medical institution, comparison display of the divided image 131 and the conversion column 133 and comparison display of the divided image 131 and the calibration column 134 are also performed. Therefore, prescription data can be input very efficiently.
  • the image of the prescription is displayed on the line connection 140.
  • the image is first calibrated (pre-processing of the two-stage processing), and then the image after calibration is used to create prescription data as described above (two This process among the stage processes).
  • the previous calibration pre-processing of the two-stage processing
  • the data processing unit 130 refers to the template information by the processing of the reception routine (see step S113 in FIG. 6 (b)) ( The designated characters such as “doctor” and “telephone” that are preset there are detected in the partial area force of the image (see FIG. 7 (a)).
  • the top-and-bottom inversion processing and the position correction processing are selectively performed on the entire prescription image (see step S114 in Fig. 6 (b)), and the lane erasure processing is (See step S115 in FIG. 6 (b)).
  • Prescription image image power prescription data is created by the processing of the acceptance prescription routine of the physical unit 130 (see steps S121 to S127 in FIG. 6 (b)).
  • the entire image of the prescription is displayed on the screen of the data processing unit 130, and the medical institution is specified automatically by character recognition or manually by operation input, and the corresponding prescription.
  • the data of the style (corresponding record of template information and hospital master) is selected, and based on it, the image is divided into several divided images, and character recognition and conversion column comparison display (Fig. 9 (a)), the calibration column is displayed (see Fig. 9 (b)).
  • the reception worker completes the prescription data by correcting or supplementing the data while appropriately switching the comparison display screens.
  • 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.
  • the character recognition rate is low even if the character recognition method is combined with the facsimile transmission / reception method because the specified character detection, top-and-bottom reversal processing and position correction processing are performed accurately and the shoreline erasure processing is also performed. Since it does not reduce, prescription data can be input very efficiently.
  • the prescription receiving apparatus 110 tries to accept a prescription as described above, if the notice worker recognizes that the prescription style has not yet been set, the reception worker can always update the button "template update". By clicking the “” button, etc., by executing the template update routine, data related to the new prescription form can be additionally set in the template information and the hospital master in the same manner as in the initial setting described above. Furthermore, it is possible to change a designated character or finely adjust a partial area related to the designated character later on a prescription form that has already been set.
  • FIG. 11 (a) is a flowchart of the acceptance process, and (b) is an example of a voucher.
  • steps S113 to S127 and S130 are the same as FIG. 6 (b) and are not repeated.
  • This prescription receiving apparatus is different from the above-described specific example 2-1 in that a facsimile transmission part is required in addition to the facsimile reception part, and a re-transmission request is exchanged in the high-definition mode. This is the point that tickets are issued by facsimile transmission.
  • the facsimile transmission unit is connected to the same line as the facsimile reception unit, and can reply to the patient who has transmitted the prescription by facsimile! If the above-described line connection unit 140 is a transmission / reception integrated type, the transmission unit is sufficient, and if not, it may be an external type or a computer built-in type.
  • step S112 when the prescription image is input by facsimile transmission and reception ("Yes” in step S112 and step S161), the designated character is entered based on the template information.
  • step S113 Before detection (step S113), check whether the prescription image has been sent in high-definition mode with fine pixel pitch or whether it was sent in coarse pixel zoom! If it is in high definition mode (“Yes” in step S162), it is used for character recognition processing (step S113), but if it is not in high definition mode (“No” in step S162), it is in high definition mode. Then, the processing is terminated by facsimile transmission of the image image in which the text requesting retransmission is sent (step S163).
  • the reception routine of the data processing unit 130 when the conversion of the image of the processing note input by facsimile transmission / reception into the prescription data is completed (step S127), the voucher via the facsimile transmission unit. Images are sent (step S164).
  • This voucher image (see Fig. 11 (b)) includes a pharmacy name, telephone number, etc. in addition to the same receipt number and date / time as printed on the voucher issued by the voucher issuing unit 121. Information, pharmacy maps, and even reduced images of prescription images are included.
  • the exchange ticket is immediately returned by facsimile, and the patient can receive it at the home FAX or the like.
  • the line connection unit 140 (facsimile receiving unit) and the prescription scanning unit 120 are provided as input means for inputting a prescription image, but the line connection unit 140 is omitted.
  • the prescription runner 120 which can be used as a prescription reception device exclusively for pharmacy reception, can be omitted, and can also be used as a prescription reception device exclusively for facsimile reception!
  • the prescription scanning unit 120, the data processing unit 130, and the line connection unit 140 are separate forces. Good. Integration may be performed only by the prescription scanning unit 120 and the data processing unit 130, the prescription scanning unit 120 and the line connection unit 140, or the data processing unit 130 and the line connection unit 140.
  • the power change in which the comparison display in the calibration field 134 is displayed side by side with the divided image 131 ⁇ «133 and the change in the divided image 131 that can be displayed in the side-by-side comparison with the calibration field 134 is possible.
  • 133 and calibration field 134 may be displayed side-by-side on a single screen!
  • code conversion is also given to the data processing unit, and when the image image of the processing note has a code such as a two-dimensional code, the data processing unit converts it into prescription data. However, only when there is no such 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).
  • one medical institution has been described as using one prescription form (form).
  • the hospital master Basic information and prescription field division information and templates of the hospital master may be associated with each other on a one-to-two or one-to-many basis.
  • the prescription style can be identified by detecting the designated character (Fig. 6 (b) Step S113), the template information ability is searched, and the medical institution and prescription style are selected as the medical institution selection and prescription style. It may be allowed to be confirmed by selection (steps S122 to S124).
  • the third embodiment relates to a prescription receiving apparatus used for automatic reception of prescriptions at pharmacies and hospitals. More specifically, the prescription image image (prescription image) is converted to internal format electronic data such as character data or binary data by character recognition.
  • the present invention relates to a prescription receiving apparatus that acquires prescription description information by converting data (prescription data).
  • the first prescription receiving apparatus includes input means for inputting an image of a prescription, and data for obtaining prescription data from the image by performing character recognition processing on the image
  • the data processing unit associates a drug master holding data including various drug names with a pre-replacement character string and a post-replacement character string, and a large amount of data.
  • a character string replacement table for storing the character string, and when the recognition character string obtained by the process after the character recognition process includes any of the character string before replacement in the character string replacement table, the corresponding part of the recognized character string Is replaced with a character string replacing means for replacing a character string after replacement in the character string replacement table with a character string corresponding to the character string before replacement, and a non-numeric part, a numerical part, and a unit part.
  • the name-containing drug name consisting of a string of characters is included in the drug name of the drug master and the replaced character string of the character string replacement table as it is, and the numerical part, unit part, and non-numeric part. It becomes the rearranged medicine name rearranged in this order, and is included in the one corresponding to the post-replacement character string among the pre-replacement character strings in the character string replacement table.
  • the second prescription receiving apparatus is the first prescription receiving apparatus, and the data processing unit sets the character string replacement table as described above.
  • the numerical value-containing chemical name is extracted from the chemical name of the chemical master, and the rearranged chemical name is generated from the numerical value-containing chemical name. It is characterized in that data is stored in the character string replacement table in association with each other.
  • the third prescription receiving apparatus is the second prescription receiving apparatus, and the data processing unit extracts the character string replacement table when setting the character string replacement table.
  • the abbreviation chemical name is generated by omitting the last letter of the non-numeric part for one or both of the numerical value-containing chemical name and the rearranged chemical name generated therefrom.
  • the numerical value-containing drug name is associated with the character string replacement table so that the data is stored.
  • a fourth prescription receiving apparatus is the first prescription receiving apparatus described above, wherein the numerical value-containing chemical name power is a positive number that omits the last letter of the non-numeric part.
  • the abbreviated drug name and the rearranged abbreviated drug name in which the numerical part, the unit part, and the non-numeric part are rearranged in this order, or both, the abbreviated drug name and the numerical value-containing drug The name is associated with and stored in the character string replacement table.
  • the fifth prescription receiving apparatus is the first prescription receiving apparatus, and the data processing unit displays the recognized character string on the screen and corrects the character string.
  • the correction character string input during the character string correction process is searched for whether or not it is included in the drug name of the drug master.
  • the modified character string and the character string modified by the correspondence are associated with each other and data is retained in the replaced character string and the replaced character string in the character string replacement table.
  • the value-containing drug name is applicable, the rearranged drug name is generated from the name, and the sorted drug name and the value-containing drug name are associated with each other before and after the replacement character string in the character string replacement table. Don't worry about holding data in a string It is characterized by that.
  • the character recognition rate is improved by performing post-processing using the character string replacement table on the recognized character string obtained by the character recognition process.
  • the numerical drug name and its rearranged drug name are stored in association with each other, and the recognition character string automatically converts the rearranged drug name into the numerical drug name.
  • Numeric-containing drug names also have a string power that connects a non-numeric part, a numeric part, and a unit part in that order, and a prescription with a reordered drug name that is sorted in the order of the numeric part, unit part, and non-numeric part.
  • the character recognition rate and reception work efficiency are further improved because the name is converted to an appropriate medicine name specified by the medicine master.
  • the relationship between the numerical drug name and the rearranged drug name is clear, it can be automatically set in the character string replacement table, for example, as in the following second prescription receiving device.
  • the first prescription receiving apparatus it is possible to contribute to the realization of the 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.
  • the numerical part and the unit part should be omitted and non-numeric values.
  • the letters at the end of the department are omitted.Since these abbreviated drug names are also converted into appropriate drug names in the drug master regulations in the post-processing of the character recognition process, the character recognition rate and reception work efficiency are improved. Further improvement.
  • the setting to the character string replacement table related to the abbreviated chemical name is also automatically added from the chemical master, so that the setting and addition to the character string replacement table can be further made based on the peculiarity of the chemical name. It is possible to realize a prescription receiving apparatus that can be easily and appropriately performed.
  • the abbreviated drug name of the numerical value-containing drug name is also converted to the appropriate drug name specified in the drug master regulations in the post-processing of the character recognition process.
  • the character recognition rate and the reception work efficiency are further improved.
  • such a short drug name is similar to the numerical drug name, for example, as in the third prescription acceptance device described above. It is possible to automatically set the replacement table.
  • the fourth prescription receiving apparatus it is possible to contribute to the realization of the 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.
  • the setting of the character string replacement table and the additional calorie are not limited to the corrected character string, but the reordered drug name is also accompanied. It is possible to realize a prescription accepting device that can easily and appropriately set and add to the character string replacement table based on special characteristics!
  • a sixth prescription receiving apparatus is any one of the prescription receiving apparatuses described above, and has issued the prescription when performing character recognition processing on the image image. And a corresponding prescription format is selected, and the image is divided based on the format.
  • a seventh prescription receiving apparatus is the sixth prescription receiving apparatus, wherein a divided image of the image image and a change that is converted into character data and displayed are displayed. It is characterized by being displayed on the screen in contrast.
  • the divided image of the image image and the modified mffl that is converted into character data and displayed are displayed on the screen. This makes it easy to check the result of character recognition, and it can be done whenever character recognition is performed again or character data is corrected before converting the result into prescription data.
  • An eighth prescription accepting apparatus is the seventh prescription accepting apparatus, wherein the prescription data is displayed with an item name for each item and displayed in a proofreadable manner. Is displayed on the screen in comparison with either one or both of the divided image and the variable fffl.
  • the proofreading column in which the prescription data is displayed with the item name for each item so that it can be calibrated is also compared with the divided image, etc. Displayed on the screen.
  • 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.
  • a ninth prescription receiving apparatus is any one of the above prescription receiving apparatuses, wherein a facsimile receiving unit is provided as the input means.
  • the facsimile receiver is incorporated in the apparatus as an input means for the prescription image, the image image transmitted / received by facsimile is directly used for the character recognition process. This avoids re-imaging after reception, eliminating the need for prescription reading on the pharmacy side and reducing image quality only when imaging on the transmission side. 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.
  • the tenth prescription receiving apparatus is the ninth prescription receiving apparatus, wherein a facsimile transmission unit connected to the same line as the facsimile reception unit is provided, and the facsimile reception When a prescription is received through the department, an exchange ticket is issued by generating an image image of the exchange ticket and transmitting it from the facsimile transmission section.
  • the specific example 3-1 shown in FIGS. 12 to 16 embodies the first to ninth prescription receiving devices described above, and the specific example 2-2 shown in FIG. This is an embodiment of the tenth prescription acceptance device.
  • FIG. 12 shows the structure of the prescription receiving apparatus 210
  • (a) is a hardware configuration diagram
  • (b) is a flowchart of the receiving process.
  • FIG. 13A is an example of the prescription information field arrangement and an example of designated characters
  • FIG. 13B is an example of the data structure of the template information.
  • (a) is an example of the prescription information column
  • (b) is another example of arrangement
  • (c) is a data structure example of the hospital master
  • (d) is a prescription data structure example.
  • Fig. 15 shows (a) an example of the conversion column comparison display screen
  • (b) an example of the calibration column comparison display screen
  • Fig. 16 (a) is an example of the data structure of the medicine master
  • (b ) Is an example of the data structure of the character string replacement table.
  • the prescription receiving apparatus 210 includes a prescription scanning unit 220, a data processing unit 230, and a line connection unit 240. Both the prescription scanning unit 220 and the line connection unit 240 are provided as input means for inputting an image of the prescription to the data processing unit 230, and each is connected to the data processing unit 230 via a signal cable.
  • the prescription scanning unit 220 directly captures a paper-based prescription at a pharmacy, whereas the line connection unit 240 captures a prescription image (prescription image image) that has been imaged at a remote location when it is transmitted by facsimile.
  • the data is received and delivered to the data processing unit 230.
  • the line connection unit 240 may be a so-called commercially available so long as it is connected to an external communication line such as a telephone line or a facsimile line network (not shown) and can receive a facsimile.
  • a fax modem or terminal adapter is sufficient.
  • Even an external type as shown in the figure is not shown, but a built-in computer type is also acceptable.
  • the prescription scanning unit 220 feeds the prescription to the transfer path 224 and captures the prescription, and the prescription scanning unit 220 faces the transfer path 224 and sets the receipt number on the prescription.
  • the image image taken by the scanner 222 is transmitted to the data processing unit 230 together with the reception number.
  • the hardware of the data processing unit 230 is the same as the prescription data sent from the prescription scanning unit 220 or the line connection unit 240, which is good for a general-purpose computer such as a so-called desktop personal computer as shown or a notebook personal computer not shown.
  • a reception routine and a replacement character string setting routine are installed in the program memory and the like, and a character string replacement table is installed in the internal or external hard disk of the data processing unit 230.
  • Data group power such as template information, hospital master, patient master, insurance master, drug master, usage master, annotation master, etc. Appropriate file formats are divided into table formats or integrated into a database for storage retention It has been.
  • the template information which will be described in detail later, 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.
  • the information is used for detection of designated characters and image image top-to-bottom processing and position correction processing based on the detection results.
  • the hospital master includes prescription style data corresponding to each medical institution, and the hospital master is used for image image segmentation.
  • the patient master includes data such as the patient's name, date of birth, and patient code, and is used to confirm the patient name and provide clues for past prescriptions.
  • the insurance master contains data such as the type of insurance, and is used to confirm the type of insurance and present candidates.
  • the drug master contains data such as drug codes for various drug names, and is used to check drug names and present candidates.
  • the medicine name includes a general name and a product name, and a specific example of the data structure for storing and storing these items will be described later.
  • the usage master contains data such as prescription units and dosage limits, and is used for confirmation of prescription contents and candidate presentation.
  • the annotation master can write additional text data such as special notes and comments!
  • the acceptance routine (see Fig. 12 (b)) first confirms whether the operation mode is set to the replacement character string setting mode! /! Or acceptance mode (step S211). When in the replacement character string setting mode, the processing is left to a replacement character string setting routine described later (step S250), but when in the reception mode, the following reception processing is performed (steps S211 to S211). S227).
  • the reception routine reads the prescription by the prescription scanning unit 220 and sends the image image from the prescription scanning unit 220 to the data processing unit 230.
  • the image image is first input! (Step S212).
  • the image image power is subjected to character recognition processing or the like on the image image, and the processing is performed in two stages. Specifically, for calibration, a pre-processing stage (steps S213 to S215) in which character recognition processing is performed only on a part of the prescription image image, and character recognition processing is performed on the entire image image region. Processing steps (steps S221 to S227) are performed. It should be noted that, here, it has been found that the pre-processing is not necessary for direct reading, even when the image image is input by direct reading or when it is input by facsimile reception. If the image is input by scanning with the prescription scanning unit 220, the image is immediately Move to image segmentation processing, character recognition processing, and data conversion processing for all image areas
  • step S213 to S215 This pre-processing for the calibration braces uses template information in order to perform adjustment easily and accurately. Based on this, the designated character is detected (step S213), and if the image is found to be upside down as a result, the image is rotated 180 degrees to perform top-to-bottom inversion processing, and the image image is misaligned. When it is found, the image is moved up, down, left and right to correct the position (Step S214), and the image image power of the prescription is also removed. Step S215, see Patent Document 7).
  • the pattern is preset to “doctor”, the reading left is “1299”, the reading is “980”, the reading right is “1332”, and the reading is “1014” Is done.
  • the pattern is “telephone”, the reading left is “1168”, the reading is “88 4”, the reading right is “1480”, Under reading, “1066” is preset.
  • the reception routine detects a designated character by referring to such template information (FIG. 12 (b), step S213), the template information is read left and read right.
  • the prescription partial area centered on the second assumed position when the first assumed position is applied to the inverted prescription, for example For example, character recognition processing is applied to the prescription image. If the character “doctor” of the designated character No. 1 and the character “phone” of the designated character No. 2 are found in the first assumed position inclusion area, the designated character detection position and the 1 Correct the position of the image to offset the misalignment with the assumed position, but do not perform the upside down process!
  • the specified character detection position is also converted to a position corresponding to the top-to-bottom reversal of the prescription, and then the image image is set so as to offset the misalignment between the converted specified character detection position and the first assumed position The position of is corrected.
  • the position of the image is corrected so as to cancel out the misalignment between the designated character detection position and the second assumed position, and then the upside down process is performed on the image image.
  • the reception routine performs the shoreline erasure process, and the image power of the prescription is also erased (step S215). Then, the main processing in the two-stage process, that is, the image portion for the entire region of the processed image image.
  • the system proceeds to the split processing 'character recognition processing' data conversion processing (steps S221 to S227).
  • step S221 to S227 the portion of this processing stage (steps S221 to S227) will be described in detail.
  • the image image is left as it is for visual confirmation, that is, a prescription.
  • step S221 character recognition is performed on the entire image, and a character string search is performed on the recognition result to determine whether the medical institution includes a character string that can identify a medical institution. (Step S222). If the determination result is affirmative (“Yes” in step S222), for example, the name of a medical institution such as “00 hospital” or “XXX clinic” is found, and the hospital master holds it. Sometimes the medical institution name is automatically adopted!
  • step S222 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 on the screen, and the designation of the medical institution is received (step S223).
  • a prescription form corresponding to the medical institution is selected (step S224), and the image is divided into images based on that form! /
  • the format of the prescription (see Fig. 14 (a), (b)) is important here as it relates to the segmentation of the image.
  • Typical examples are the medical institution information column shown in the figure and the patient Information fields, dispensing 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 has the corresponding prescription style data, that is, the basic information and prescription column division information for each medical institution. Is retained.
  • the basic information is medical institution information in prescription data, which is electronic data of the items described in the medical institution information column (see Figs. 14 (a) and (b)). (See Fig. 14 (d)) or equivalent (see Fig. 14 (c)).
  • the prescription column division information includes arrangement information regarding each of the above-mentioned columns.
  • the arrangement information is defined by the position of the diagonal point of the corresponding column in the prescription. It is permissible to specify the arrangement information repeatedly in the same field! It can also be applied to the information field of a shape that is distributed in multiple rectangles or a combination of them.
  • the prescription data has a standard data structure in which the items described in such a prescription are obtained as electronic data. For example, it is used for drug history management and automatic dispensing.
  • the data structure is determined in advance in conformity with the pharmacy host computer 250. It includes the medical institution information shown, patient information, insurance information, and dispensing information, as well as annotation information not shown, which 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. Pair with dose A data set or multiple sets are included!
  • the data processing unit 230 when prescription column division information corresponding to the specified medical institution is obtained (step S224), an image image for each column of the prescription based on the prescription column division information.
  • an image image for each column of the prescription based on the prescription column division information.
  • Character display processing step S225
  • data conversion processing step S2236 are performed by displaying the split image on the screen as a comparison! /
  • a modified mffl contrast display is performed (see Fig. 15 (a)), and the divided image 231 relating to the selected information field and the character data conversion field obtained by performing character recognition on the divided image 231 are displayed.
  • 233 are displayed on one screen in a state where they are arranged side by side.
  • the reception worker can modify the character string of the part selected by operating the mouse.
  • the selection of the information column can be switched by clicking the column designation tab 232, etc., and the data conversion process, that is, the transition to the calibration column comparison display screen can be performed by clicking a specific button such as ⁇ display calibration column ''! / Speak.
  • the character string replacement process is performed immediately after the character recognition process is performed on the divided image 231 and before the conversion field 233 is displayed. In this processing, if any of the character strings before replacement in the character string replacement table is included in the recognized character string obtained by the processing after the character recognition processing, 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.
  • character string replacement a specific example relating to a numerical drug-containing name consisting of 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.
  • the replacement character string addition processing is performed when the character string correction processing for variable 1233 is performed.
  • whether or not the input correction character string is included in the drug name of the drug master is searched, and if it is included in both the general name and the product name, For example, if a confirmation response is obtained immediately or according to the operation mode, and the confirmation response is obtained, the modified character string and the modified character string are converted into paired data 'set data that conforms to the character string replacement table, and the modified character string is displayed.
  • the modified string and the modified string are characters so that the column is the replaced string in the string replacement table and the modified string is the unsubstituted string in the string replacement table. Data is stored in the column replacement table.
  • the non-numeric part, the numerical part, the unit part, and the ⁇ ⁇ line in the character string are arranged in the numerical part, unit part, and non-numeric part.
  • a rearranged chemical name is generated from the numerical chemical name.
  • the sort chemical name and numeric value-containing drug name are converted into paired data 'set data that matches 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 value of the drug-before-replacement character string and the value-containing drug name become the character string after replacement of the string-replacement table. You can also hold it.
  • the character data obtained by the modified mffl comparison display is reflected in the prescription data, and the calibration column comparison display is performed (see Fig. 15 (b)).
  • the divided image 231 relating to the selected information column and the proofreading column 234 listing each item of the prescription data are displayed on one screen in a state where they are arranged side by side.
  • Each item in the calibration field 234 contains an item name and a data value. Of these, the data value can be selected and corrected by operating the mouse or keys for calibration! /, The
  • the selection of information column can be switched by clicking the column designation tab 232, etc., and the character recognition processing, that is, the return to the conversion column comparison display screen, etc. can be done with a specific button, for example, "Change ⁇ ffl display” It can be done by clicking. In other words, it is possible to freely move between contrast display screens and select and switch information fields at any time. Similarly, it is possible to shift to the replacement character string setting process by clicking the “replacement character string setting” button, for example.
  • the replacement character string setting routine (Fig. 12 (b) Step S250) basically changes the two character strings into data pair data and stores the data in the pre-replacement character string and the post-replacement character string in the character string replacement table.
  • the character string acquisition method is different in the modification accompanying mode, the individual setting mode, and the batch setting mode.
  • the correction accompanying mode is the one when the process proceeds to the replacement character string setting process in association with the above-described character string correction processing.
  • the input correction character string and the character string corrected thereby are displayed.
  • the above replacement character string addition processing is performed for.
  • pair data / set data of the corrected character string and the corrected character string are set in the character string replacement table, and when the corrected character string corresponds to the numerical value-containing drug name, Numerical data paired data with contained chemical names' data is 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., but in this mode, a pair of character strings for replacement before and after replacement are used. Prompts for input of character strings, and sets them in the character string replacement table after they are input. Even in the individual setting mode, when the entered replacement character string corresponds to the numerical drug name, the paired data of the sorted drug name and the numerical drug name is also set in the character string replacement table. ing. In addition, regarding the setting of the name of the rearrangement medicine and the name-containing medicine, it may be possible to make a check with immediate confirmation in either one or both of the modification accompanying mode and the individual setting mode. ,.
  • the batch setting mode is a force frequently used when the replacement string setting routine is started in the replacement string setting mode.
  • the names of various drugs included in the drug master are Next, search for the name of the drug containing numerical values and set it in the character string replacement table. That is, the chemical name of the drug master, whether it is a generic name or a product name, is checked whether it falls under the name of a numerically-containing chemical, and if a numerically-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.
  • the batch setting mode is used when a medicine name is added to the medicine master. In order to prevent inadvertent duplicate settings from occurring even if the replacement character string setting process is repeated, the pair data set data set in the character string replacement table is not required to be set again.
  • the substitution character string setting routine omits the trailing character of the non-numeric part of either one or both of the numerical value-containing drug name and the generated rearranged drug name. Is generated, and the abbreviated drug name and the numerical value-containing drug name are associated with each other and stored 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 modification accompanying mode, as with the setting related to the rearranged drug name, immediately unconditionally or according to the sub operation mode setting or confirmation. It is done selectively. Omitting the last character of the non-numeric part is usually the last character, but when the last character is easy to omit, the last two characters are omitted.
  • the prescription receiving device 210 When the prescription receiving device 210 is installed in, for example, a pharmacy (see Fig. 12 (a)), the prescription scanning unit 220 is placed on a reception counter or the like, and the data processing unit 230 and the line connection unit 240 are work in the counter.
  • the data processing unit 230 is connected to a local LAN or the like connected to the pharmacy host computer 250, as well as being placed on a desk or the like and cabled together.
  • the data processing unit 230 installs a reception routine and a replacement character string setting routine, and also performs data initialization.
  • the drug master, usage master, and insurance master are set with data such as drug names, prescription units, and insurance types that may be handled by pharmacies.
  • the annotation master and patient master are cleared.
  • the template information includes designated characters that have been previously found to be included in the prescription and the position data of the designated characters in the prescription. And so on.
  • the initial setting for the drug master and the character string replacement table saves time and effort by downloading data that can be transferred to other machines and initialization tools.
  • step S250 the replacement character string setting routine is started (step S250), and the batch setting mode described above is executed.
  • the search for the name of the drug containing the numerical value and the setting in the character string replacement table are performed automatically.
  • a setting related to the rearranged drug name and a setting related to the abbreviated drug name are performed.
  • the name-containing drug name “kefral capsule 250mg” is included in the drug master as a general name (see Fig. 16 (a)).
  • the non-numeric part “kefral capsulej”, the numerical value “250”, and the unit part “mg” are rearranged in the order of the numerical part, unit part, and non-numeric part, and the rearranged medicine name “250 mg kefral capsul ej” is automatically generated.
  • the name of the rearranged medicine and the name of the medicine containing the numerical value are made into a pair data, and the name of the rearrangement medicine ⁇ 250 mg kefral capsulej is stored in the pre-replacement character string in the character string replacement table and contains the numerical value.
  • the drug name “kefral capsule 250mg” is stored in the character string after replacement in the character string replacement table (see Fig. 16 (b)).
  • the setting related to the abbreviated drug name is performed for the normal order abbreviated drug name of the numerical value-containing drug name and the rearranged abbreviated drug name of the rearranged drug name.
  • the numerical name “kefral capsule 250 mg” is automatically generated with the non-numerical part “kefral capsule 250 mg” by omitting the non-numerical part “e” at the end of the non-numeric part.
  • the chemical name containing the numerical value are paired to the data 'group data, and the normal abbreviated chemical name “kefral capsul 250 mg” is stored in the pre-replacement character string in the character string replacement table, and the numerical chemical name “kefral capsule 250 mg” is stored.
  • the data is initialized to the next state. That is, non-numeric part, numerical part and unit Numeric name-containing drug names that have string powers that are linked in that order are included in the drug name of the drug master and the replaced character string in the string replacement table as they are, in the order of the numeric part, unit part, and non-numeric part.
  • the sorted drug name is included in the replaced character string corresponding to the original numeric-containing drug name in the pre-replacement character string in the string substitution table. Characters are omitted, and the normal-order abbreviated drug names and numeric-containing drug names are associated with each other and stored in the character string replacement table.
  • the t ⁇ data state is established, in which the rearranged abbreviated drug name and the numerical value-containing drug name are rearranged in order and stored in the character string replacement table.
  • the prescription scanning unit 220 takes the prescription from the outside to the inside of the counter and exchanges it instead. A ticket is issued. 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 together with the reception number from the prescription scanning unit 220 to the data processing unit 230, and is used for prescription data creation by the data processing unit 230.
  • the data processing unit 230 first, calibration, which will be described in detail later, is performed on the image image by the processing of the reception routine (pre-processing of the two-stage processing). Then (this process in the two-stage process), the entire prescription image is displayed on the screen of the data processing unit 230, 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 strong enough, the 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 230.
  • the data processing unit 230 performs prescriptions that match the name of the medical institution in the basic information from the hospital master by processing the reception routine.
  • Note format data is selected. Specifically, the note pad division information associated with the basic information is read from the hospital master.
  • the processing of the reception routine of the data processing unit 230 is continued, and in the automatic processing, when the processing note field division information is obtained, the image image is divided into several division images based thereon.
  • the character recognition and conversion column comparison display (see Fig. 15 (a)) and the calibration column comparison display are performed for each divided image unit (see Fig. 15 (b)).
  • 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 confirming completion, the prescription acceptance process is completed by the data processing unit 230 by, for example, clicking a prescription completion button.
  • the data processing unit 230 uses the completed prescription data for prescription management at the pharmacy. For example, it is sent from the data processing unit 230 to the pharmacy host computer 250 and used for drug history management for each patient, distribution to an automatic dispensing machine, etc.
  • prescription data of paper prescription power electronic data can be obtained.
  • prescription data is input semi-automatically using character recognition.
  • character recognition in addition to image segmentation processing corresponding to a medical institution, a comparison display between the divided image 231 and the conversion column 233 and a comparison display between the division image 231 and the calibration column 234 are also performed. Therefore, prescription data can be input very efficiently.
  • the image of the prescription is displayed on the line connection 240.
  • the image is first calibrated (pre-processing of the two-stage processing), and then the image after calibration is used to create prescription data as described above (two This process among the stage processes).
  • the previous calibration pre-processing of the two-stage processing
  • the template information is referred to by the processing of the reception routine (see step S213 in FIG. 12 (b)) ( (See Fig. 13 (b)).
  • the designated characters such as “doctor” and “phone” are detected from a partial area of the image. (See Figure 13 (a)).
  • top-and-bottom inversion processing and position correction processing are selectively performed on the entire prescription image (see step S214 in Fig. 12 (b)), and lane erasure processing is also performed. (See step S215 in FIG. 12 (b)).
  • the image image power prescription data of the prescription is created by the processing of the reception prescription routine of the data processing unit 230 in the same manner as when the image image is input by the prescription scanning unit 220 (Fig. 12). (b) Steps S221 to S227)
  • the entire image of the prescription is displayed on the screen of the data processor 230, and the medical institution is specified automatically by character recognition or manually by operation input, and the corresponding prescription.
  • the data of the style (corresponding record of template information and hospital master) is selected, and based on it, the image is divided into several divided images, and character recognition and conversion column comparison display (Fig. 15 (a)), a calibration column comparison display is performed (see Fig. 15 (b)). Then, the receptionist worker corrects or supplements the data while switching the comparison display screens as appropriate, thereby completing the processing note data.
  • 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.
  • the character recognition rate is low even if the character recognition method is combined with the facsimile transmission / reception method because the specified character detection, top-and-bottom reversal processing and position correction processing are performed accurately and the shoreline erasure processing is also performed. Since it does not reduce, prescription data can be input very efficiently.
  • the replacement string is automatically added. For example, if the reception worker performs a correction process for changing the recognition character string “kefra capsule 250mg” before correction to the correction character string “kefral capsule 250mg”, the replacement character string addition process is automatically executed. And the modified string “kefral ca Since psule 250mgJ is included in the drug name of the drug master, a confirmation message is displayed as to whether or not it is set to the character string replacement table. When the reception worker responds with a positive confirmation response, the corrected character string “kefra capsule 250 mg” and the corrected character string “kefral capsule 250 mg” are automatically paired as data. Data is stored in the character string replacement table (see 016 (b)).
  • the change contrast display (see Fig. 15 (a)) will appear on the calibration field contrast display screen.
  • the process proceeds to the replacement character string setting process by clicking the replacement character string setting button. Then, since the replacement character string setting routine in the individual setting mode prompts the input of a pair of character strings for the pre-replacement character string and the post-replacement character string, the reception worker inputs a desired character string.
  • the recognized character string obtained by the subsequent character recognition is converted into the character string replacement table immediately after the character recognition process. Based on the character string replacement processing. Therefore, any of the pre-replacement character strings “250mg kefral capsulej”, “kefral capsul 250 mg”, “250mg kefral capsulj”, “kefra capsule 250mg”, “kefral cap 25 Omg” in the character string substitution table is included in the recognition character string.
  • the recognition character string is the regular drug name ⁇ kefral capsule 250mg '' that is the post-replacement character string that forms the paired data 'set data in the pre-replacement character string and the character string replacement table. The corresponding part of is replaced.
  • FIG. 17 (a) is a flowchart of the acceptance process, and (b) is an example of a voucher. Note that in the flowchart of FIG. 17 (a), steps S213 to S227 and S230 are the same as FIG. 12 (b), and are not repeated.
  • This prescription receiving device is different from the above-described specific example 3-1 in that a facsimile transmission unit is required in addition to the facsimile reception unit, and a re-transmission request is exchanged in the high-definition mode. This is the point that tickets are issued by facsimile transmission.
  • the facsimile transmission unit is connected to the same line as the facsimile reception unit and can reply to the patient who sent the prescription by facsimile! If the line connection unit 240 described above is a transmission / reception integrated type, the transmission unit is sufficient, and if not, it may be an external type or a built-in computer type.
  • the reception routine of the data processing unit 230 when the conversion of the image of the processing note input by facsimile transmission / reception into the prescription data is completed (step S227), the voucher via the facsimile transmission unit. Images are sent (STEP S264).
  • this voucher image see Fig. 17 (b)
  • a pharmacy such as the pharmacy name and telephone number is displayed. Information, pharmacy maps, and even reduced images of prescription images are included.
  • the exchange ticket is immediately sent back by facsimile, and the patient can receive it at the FAX etc. at home. You can get a voucher before going to the pharmacy, and the voucher contains map information that will help you get to the pharmacy.
  • the line connection unit 240 (facsimile receiving unit) and the prescription scanning unit 220 are provided as input means for inputting the prescription image, but the line connection unit 240 is omitted. It can also be used as a prescription reception device dedicated to pharmacy reception.
  • the prescription scanning unit 220, the data processing unit 230, and the line connection unit 240 are separate forces. Good. Integration can be performed only by the prescription scanning unit 220 and the data processing unit 230, the prescription scanning unit 220 and the line connection unit 240, or the data processing unit 230 and the line connection unit 240.
  • the power change in which the comparison display of the calibration field 234 is displayed side by side with the divided image 231 ⁇ «233 and the display of the divided image 231 that can be compared with the calibration field 234 is also possible.
  • ⁇ 1233 and proofreading column 234 may be displayed side by side on a single screen.
  • a code change is also given to the data processing unit, and when the image image of the processing note has a code such as a two-dimensional code, the data processing unit It is also possible to convert it into prescription data, and only when there is no such code, the data processing unit may perform character recognition on the image image and convert it into prescription data (for example, see Japanese Patent Application No. 2 004-308931). .
  • 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 technologies that improve the recognition rate.
  • the drug name is divided into a general name and a product name and held in the drug master, but the general name and the product name are not distinguished from each other. You may make it hold data.
  • the fourth embodiment relates to a prescription receiving apparatus that is used for automatic reception of prescriptions at pharmacies and hospitals.
  • the prescription image image (prescription image) is converted into internal format electronic data such as character data or binary data by character recognition.
  • the present invention relates to a prescription receiving apparatus that acquires prescription description information by converting data (prescription data).
  • a character string is not limited to a plurality of character strings, and even a single character corresponds to a character string as long as it can be handled where a character string can be handled.
  • the first prescription receiving apparatus includes input means for inputting an image of a prescription, and data for obtaining prescription data from the image by performing character recognition processing on the image.
  • the data processing unit associates a drug master holding data including various drug names with a pre-replacement character string and a post-replacement character string, and a large amount of data.
  • a character string replacement table for storing the character string, and when the recognition character string obtained by the process after the character recognition process includes any of the pre-replacement character strings in the character string replacement table, the corresponding part of the recognized character string
  • a character string replacement means for replacing a character string after replacement in the character string replacement table with a character string corresponding to the character string before replacement, and a replacement of the character string replacement table by receiving a pair of character strings Those in the string and the post-substitution string equipped with a replacement character string setting means for data retention
  • the replacement character string setting means performs the additional setting to the character string replacement table, the character string pair in which the correspondence relationship of the character string pair to be added has been reversed is previously stored in the character string replacement table.
  • the second prescription receiving apparatus is the first prescription receiving apparatus, wherein the replacement character string setting means is the pre-replacement character string in the character string replacement table.
  • the information that indicates bidirectional replacement is attached to the set of character strings that have been reversed and the character string after replacement, and information that indicates one-way replacement is assigned to the character pairs that are not set.
  • the character string replacement means adds the information indicating the one-way replacement to the character string replacement table, and confirms the character string pair without confirming it.
  • the column replacement is performed only when the pair of character strings to which information indicating that bidirectional replacement is possible is added in the above-mentioned character string replacement table is not performed. Line !, character string replacement is selectively performed according to the confirmation result. It is characterized by that.
  • the character recognition rate is improved by performing post-processing using the character string replacement table on the recognized character string obtained by the character recognition process.
  • the character string replacement table can be grown by additionally setting target character string pairs in the character string replacement table.
  • it is checked whether or not a character string pair in which the correspondence of the character string pair to be added has been reversed is set in the character string replacement table before.
  • it is checked whether or not both character strings are included in one of the drug names of the drug master. Are extracted together, and the extracted character string is stored in the character string after replacement in the character string replacement table.
  • the character string in which the matching part is replaced with the other character string in the character string pair is held in the pre-replacement character string in the character string replacement table.
  • the pre-replacement character string and the post-replacement character string are reversed, and the character string pair is set to be replaced in both directions. Therefore, automatic and unconditional replacement does not contribute to improving the character recognition rate.
  • the drug name of the drug master is set when such a pair of character strings is set.
  • the adjacent characters are added to create a character string that contributes to one-way replacement, and a character string pair, and that character string pair is also added to the character string replacement table.
  • a pair of character strings that can be replaced bidirectionally and a pair of character strings that can only be replaced in one direction are distinguished by additional information, and only one-way replacement is performed.
  • Character string pairs are automatically replaced without confirmation, and for character string pairs that can be bidirectionally replaced, processing that requires confirmation by the receiving worker, etc. is performed.
  • the processing for possible character string pairs is not performed when a one-way replacement is performed.
  • opportunities for performing actions requiring action are considerably small. Therefore, focusing on the special characteristics of drug names, setting and adding to the character string replacement table can be performed easily and appropriately, and a prescription acceptance device with high conversion efficiency and character recognition rate even with a simple character string replacement method. Can be realized.
  • the third prescription receiving apparatus is any one of the prescription receiving apparatuses described above, and has issued the prescription when performing character recognition processing on the image image. And a corresponding prescription format is selected, and the image is divided based on the format. [0333] In this case, when character recognition is performed on an image of a prescription, the medical institution that issued the prescription is identified, a prescription form corresponding to the medical institution is selected, and the image is divided based on the form. .
  • the image image is divided by the division pattern corresponding to the item arrangement pattern of the prescription issued by each medical institution, and character recognition is performed on each divided image, so that the character data at the time of character recognition is
  • the data conversion accuracy is improved because data candidates and item candidates for conversion to prescription data are narrowed down.
  • a fourth prescription receiving apparatus is the third prescription receiving apparatus, wherein a divided image of the image image and a change that is converted into character data and displayed are displayed. It is characterized by being displayed on the screen in contrast.
  • a fifth prescription receiving apparatus is the fourth prescription receiving apparatus, wherein the prescription data is displayed so that it can be calibrated with an item name for each item. Is displayed on the screen in comparison with either one or both of the divided image and the variable fffl.
  • the proofreading column in which the prescription data is displayed with the item name for each item so that it can be calibrated is also compared with the divided image, etc. Displayed on the screen.
  • 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.
  • a sixth prescription receiving apparatus is any one of the prescription receiving apparatuses described above, wherein a facsimile receiving unit is provided as the input means.
  • the facsimile receiving unit is incorporated into the apparatus as a prescription image input means. Therefore, the image sent and received by facsimile is directly used for character recognition processing. This avoids re-imaging after reception, eliminating the need for prescription reading on the pharmacy side and reducing image quality only when imaging on the transmission side. 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.
  • the seventh prescription receiving apparatus is the sixth prescription receiving apparatus, wherein a facsimile transmitting unit connected to the same line as the facsimile receiving unit is provided, and the facsimile receiving When a prescription is received via the section, an exchange ticket is issued by generating an image image of the replacement ticket and transmitting it from the facsimile transmission section.
  • the voucher can be received on the spot, so even if the reception work is performed at a remote place, it will be performed as easily and accurately as the work at the pharmacy. . Therefore, according to this embodiment, it is possible to reduce the waiting time of the patient by facsimile transmission, and it is convenient to receive a voucher, and it is convenient to receive a voucher. Further, the pharmacy can accept data of a prescription with good data input efficiency. A device can be realized.
  • Specific example 4-1 shown in Fig. 18 22 embodies the above-described first to sixth prescription receiving devices, and specific example 4-2 shown in Fig. 23 shows the above-described first example. This is an embodiment of the 7 prescription acceptance device.
  • FIG. 18 shows the structure of the prescription receiving apparatus 310, where (a) is a door configuration diagram and (b) is a flowchart of the receiving process.
  • FIG. 19 shows an example of prescription information column arrangement and examples of designated characters, and (b) shows an example of the data structure of template information.
  • Fig. 20 (a) is an example of the prescription information column, (b) is another example of arrangement, and (c) is data from the hospital master.
  • a structural example, (d) is a structural example of prescription data.
  • Fig. 21 (a) is an example of a conversion column comparison display screen
  • (b) is an example of a calibration column comparison display screen
  • Fig. 22 (a) is an example of the data structure of a medicine master, (b ) To (d) are examples of the data structure of the character string replacement table.
  • the prescription receiving apparatus 310 includes a prescription scanning unit 320, a data processing unit 330, and a line connection unit 340. Both the prescription scanning unit 320 and the line connection unit 340 are provided as input means for inputting an image of the prescription to the data processing unit 330, and are connected to the data processing unit 330 by a signal cable, respectively.
  • the prescription scanning unit 320 directly captures a paper-based prescription at a pharmacy, while the line connection unit 340 receives a prescription image (prescription image image) that has been imaged at a remote location by facsimile transmission. The data is received and delivered to the data processing unit 330.
  • the line connection unit 340 is 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.
  • 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.
  • Even an external type as shown in the figure is not shown, but a built-in computer type is also acceptable.
  • the prescription scanning unit 320 sends the prescription to the transfer path 324 and captures the prescription, and the prescription scanning unit 320 faces the transfer path 324 and assigns the receipt number to the prescription.
  • the image image taken by the scanner 322 is transmitted to the data processing unit 330 together with the reception number.
  • the hardware of the data processing unit 330 can be obtained from a prescription scanning unit 320 or a line connection unit 340 which can be used with a general-purpose computer such as a so-called desktop computer or a notebook computer (not shown).
  • the reception routine and replacement character string setting routine (replacement character string setting means) force S are installed in the program memory of the data processing unit 330 and the data processing unit 330 Built-in or external In the hard disk, etc., data strings such as character string replacement tables, template information, hospital master, patient master, insurance master, medicine master, usage master, annotation master, , Is integrated and stored in the database.
  • the corresponding pre-replacement character string and post-replacement character string A large number of paired data sets consisting of the replacement direction are held. Among them, a character string is set for each of the pre-replacement character string and the post-replacement character string, and the actually set character string can be from one character to many characters and is empty. Or a blank character means unset. In the replacement direction item, either information indicating one-way replacement or information indicating bidirectional replacement is set.
  • the character string replacement table is used for the replacement character string setting process by the replacement character string setting routine and the character string replacement process immediately after the character recognition process by the reception routine.
  • the template information (see Fig. 18 (a)), which will be described in detail later (see Fig. 19 (b)), is the code or pattern of the designated character that has been previously found to be included in the prescription.
  • the position data of the designated character in the prescription is included, and the template information is used for the detection of the designated character and the image image top / bottom reversal processing and position correction processing based on the detection result.
  • the hospital master (see Fig. 18 (a)), which will be described in detail later (see Fig. 20 (c)), contains prescription style data for each medical institution.
  • the hospital master is used for image segmentation.
  • the patient master (see Fig. 18 (a)) includes data such as the patient's name, date of birth, and patient code. Used for
  • the insurance master (see Fig. 18 (a)) contains data such as the type of insurance, and is used to confirm the type of insurance and present candidates.
  • the drug master (see Fig. 18 (a)) contains data such as drug codes in addition to various drug names, and is used for drug name confirmation and candidate presentation.
  • Drug names include general names and There are product names, etc., and they may be stored as items, but a specific example will be described later with reference to the data structure that is stored without storing items (see Fig. 22 (a)).
  • the usage master contains data such as prescription units and dosage limits, and is used to confirm prescription content and present candidates.
  • the annotation master can additionally write character string data such as special notes and comments.
  • the acceptance routine (see Fig. 18 (b)) first confirms whether the operation mode is set to the replacement character string setting mode and is set to the acceptance mode (step S311). When in the replacement character string setting mode, the processing is left to a replacement character string setting routine described later (step S350). When in the reception mode, the following reception processing is performed (steps S311 to S311). S327).
  • the reception routine reads the prescription by the prescription scanning unit 320 and sends the image image from the prescription scanning unit 320 to the data processing unit 330.
  • the image image is first input! (Step S312).
  • the image image power is subjected to character recognition processing or the like on the image image, and the processing is performed in two stages. Specifically, for the calibration, a pre-processing stage (steps S313 to S315) in which character recognition processing is performed only on a part of the prescription image image, and character recognition processing is performed on the entire image image region. Processing steps (steps S321 to S327) are performed. It should be noted that, here, it has been found that the pre-processing is not necessary for direct reading, even when the image image is input by direct reading or when it is input by facsimile reception.
  • the process immediately proceeds to image division processing, character recognition processing, and data conversion processing for the entire area of the image image, and is received by facsimile reception via the line connection unit 340. It is also possible to perform a two-stage process only when an image is input.
  • step S313 to S315 The pre-processing for the calibration braces is performed in a template information in order to perform adjustment easily and accurately.
  • the specified character is detected based on the template information (step S313), and as a result, if the image is found to be upside down, the image is rotated 180 ° to perform the upside down process.
  • the image is moved up, down, left, and right (step S314), and the image power of the prescription is erased. Processing is also performed (see Step S315, Patent Document 7).
  • the pattern is preset to “doctor”, the reading left is “1299”, the reading is “980”, the reading right is “1332”, and the reading is “1014” Is done.
  • the pattern is “telephone”, the reading left is “1168”, the reading is “88 4”, the reading right is “1480”, Under reading, “1066” is preset.
  • the reception routine detects the specified character by referring to such template information (FIG. 18 (b), step S313), the template information is read left and read right.
  • the prescription partial area centered on the second assumed position when the first assumed position is applied to the inverted prescription, for example For example, character recognition processing is applied to the prescription image. If the character “doctor” of the designated character No. 1 and the character “phone” of the designated character No. 2 are found in the first assumed position inclusion area, the positional deviation between the designated character detection position and the first assumed position is detected. The position of the image is corrected so that it cancels out, but the top-and-bottom inversion process is not performed!
  • the position corresponding to the top / bottom reversal of the prescription for the designated character detection position is corrected so as to cancel out the displacement between the designated character detection position after conversion and the first assumed position.
  • the position of the image is corrected so as to cancel out the misalignment between the designated character detection position and the second assumed position, and then the upside down process is performed on the image image.
  • the reception routine performs the shoreline erasure process, the image power of the prescription is also erased (step S315), and then the main process in the two-stage process, that is, the image portion for the entire processed image image area. It is planned to shift to the split processing 'character recognition processing' data conversion processing (steps S321 to S327).
  • step S32 1 to S327 the replacement character string setting routine will be described in detail later, this processing stage (steps S32 1 to S327) will be described in detail.
  • the image image is left as it is for visual confirmation, that is, a prescription.
  • step S321 character recognition is performed on the entire image, and a character string search is performed on the recognition result to determine whether the medical institution is included. (Step S322). If the determination result is affirmative (“Yes” in step S322), for example, the name of a medical institution such as “00 hospital” or “XXX clinic” can be found, and it is held by the hospital master. Sometimes the medical institution name is automatically adopted!
  • step S322 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 on the screen, and the designation of the medical institution is received (step S323).
  • a prescription form corresponding to the medical institution is selected (step S324), and based on that form. V, let's also split the image! /
  • the format of the prescription (see Figures 20 (a) and (b)) is important here, as it relates to the division of the image, and typical examples include the medical institution information column shown in the figure and the patient. Information fields, dispensing 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 has the corresponding prescription style data, that is, the basic information and the prescription column division information for each medical institution. Is retained.
  • the prescription column division information includes arrangement information regarding each of the above-mentioned columns.
  • the arrangement information is defined by the position of the diagonal point of the corresponding column in the prescription. It is permissible to specify the arrangement information repeatedly in the same field! It can also be applied to the information field of a shape that is distributed in multiple rectangles or a combination of them.
  • the prescription data has a standard data structure in which the items described in such a prescription are obtained as electronic data. For example, it is used for drug history management and automatic dispensing.
  • the data structure is determined in advance in conformity with the pharmacy host computer 350. It includes the medical institution information shown, patient information, insurance information, and dispensing information, as well as annotation information not shown, which 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.
  • the set data with doses is now included in multiple sets or multiple sets.
  • the data processing unit 330 obtains prescription column division information corresponding to the specified medical institution (step S324), and based on that, image data for each column of the prescription.
  • prescription column division information corresponding to the specified medical institution step S324
  • image data for each column of the prescription step S324
  • division image in medical institution information column division image in patient information column
  • division image in dispensing information column division in insurance information column Create an image, etc.
  • display one of the divided images on the screen to perform character recognition processing (step S325) and data conversion processing (step S326)!
  • a conversion column comparison display is performed (see Fig. 21 (a)), and the divided image 331 relating to the selected information column and the character data conversion column obtained by performing character recognition on the divided image 331 are displayed.
  • 333 are displayed on one screen in a state where they are arranged side by side.
  • the reception worker can modify the character string of the part selected by the operation of the mouse.
  • the selection of the information column can be switched by clicking the column designation tab 332, etc., and data conversion processing, that is, transition to the calibration column comparison display screen can be performed by clicking a specific button such as ⁇ display calibration column ''! / Speak.
  • character string replacement process is performed in association with the character recognition process (see step S325 in FIG. 18 (b)).
  • the character string replacement process is performed immediately after the character recognition process is performed on the divided image 331 and before the conversion field 333 is displayed.
  • this processing if any of the character strings before replacement in the character string replacement table is included in the recognized character string obtained by the processing after the character recognition processing, 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.
  • the above-mentioned pre-replacement character string and the character string replacement table that are being processed are selected in accordance with the replacement direction that forms the pair data. It is now possible to confirm!
  • a confirmation process is performed for the pair of the pre-replacement character string and the post-replacement character string in which information indicating one-way replacement is set in the replacement direction of the same pair data in the character string replacement table. Power to replace the corresponding character string before replacement in the recognized character string without replacement The information indicating that bi-directional replacement is possible in the replacement direction of the same data pair data is set in the character string replacement table. Confirmation processing is performed on the pair of pre-replacement character string and post-replacement character string only when the above one-way replacement is not performed, and the character string is selectively selected according to the confirmation result. Is replaced.
  • the confirmation process displays the pre-replacement character string and post-replacement character string as well as the previous and subsequent character strings. Display, prompt the reception worker to input instructions, and when a replacement execution instruction is received, replace the character string before replacement in the recognized character string with the character string after replacement, but if not, the character string The replacement of t is now done!
  • the character data obtained by the modified mffl comparison display is reflected in the prescription data and the calibration column comparison display is performed (see Fig. 21 (b)).
  • the divided image 331 relating to the selected information column and the proofreading column 334 listing each item of the prescription data are displayed on one screen in a state where they are arranged side by side.
  • Each item in the calibration field 334 contains an item name and a data value. Of these, the data value can be selected and corrected by operating the mouse or keys for calibration! /, The
  • the selection of the information column can be switched by clicking the column designation tab 332, etc., and the character recognition processing, that is, the return to the conversion column comparison display screen, etc. can be performed by a specific button, for example, It can be done by clicking. In other words, it is possible to freely move between contrast display screens and select and switch information fields at any time. Similarly, for example, by clicking the “replacement character string setting” button, it is possible to shift to the replacement character string setting process (see the broken line from step S325 to step S350 in FIG. 18 (b)).
  • the replacement character string setting routine (Fig. 18 (b) Step S350), in short, sets the two character strings to be additionally set as paired data 'combination data and the pre-replacement character string and post-replacement character string
  • paired data that cannot be replaced unconditionally automatically because it is set to be bi-directionally replaceable, it is automatically used in many cases using a chemical master.
  • the function has been expanded so that one-way replacement can be performed with the same pair data 'set data, information setting for the replacement direction, and automatic generation and setting of character string pairs that can be replaced in one direction using the medicine master. It is like that.
  • the additional setting of data pair which is a basic function, is a process that is always executed when the replacement character string setting routine is started or the process is repeated. For example, an input prompt message (not shown) is displayed to the worker, etc., and a pair of character strings for the pre-replacement character string and the post-replacement character string are requested to be input.
  • the character string is stored in the pre-replacement character string in the character string replacement table, and the other character string is stored in the post-replacement character string in the character string replacement table (Fig. 22 (b )reference).
  • the replacement direction setting which is an extended function, is automatically executed following the pair data setting, and reverses the pair of character strings that have just been set, that is, the character string before replacement and the character string after replacement. If a reverse string pair is not set, information indicating one-way replacement, for example, “ ⁇ ” is additionally set. The same data pair as the pair of cigarette power strings is attached in the direction of replacement of the set data (see Fig. 22 (b)). In addition, when reverse character string pairs are set (see Fig. 2 2 (c)), information indicating that bidirectional replacement is possible, for example, “” is added to the same pair data as the pair of power strings that are additionally set. 'Set to the replacement direction of the set data and the same pair data as the previously set character string pair'. It will be done until addition! /, (See Fig. 22 (d)).
  • the extracted character string is stored in the character string after replacement in the character string replacement table, and the newly generated character string paired therewith is stored in the character string before replacement in the character string replacement table.
  • the data will be held by the user (see Fig. 22 (d)).
  • the matching part of the drug name and the adjacent character if the matching part exists at the beginning or end of the drug name! /, Etc., only one of the adjacent characters is extracted. You may do it.
  • a plurality of characters or a plurality of characters may be extracted together.
  • the prescription receiving device 310 When the prescription receiving device 310 is installed in, for example, a pharmacy (see FIG. 18 (a)), the prescription scanning unit 320 is placed on a reception counter or the like, and the data processing unit 330 and the line connection unit 340 are work in the counter.
  • the data processing unit 330 is connected to the intra-office LAN or the like connected to the pharmacy host computer 350, as well as being connected to the desk and the like by cable connection.
  • the data processing unit 330 installs a reception routine and a replacement character string setting routine, and also performs data initialization.
  • the drug master, usage master, and insurance master are set with data such as drug names, prescription units, and insurance types that may be handled by pharmacies.
  • the annotation master and patient master are cleared.
  • the template information includes designated characters that have been previously found to be included in the prescription and the position data of the designated characters in the prescription. And so on.
  • the initial setting for the drug master and the character string replacement table saves time and effort by downloading data that can be transferred to other machines and initialization tools.
  • step S350 a replacement character string setting routine is started (step S350), and the above-described additional data additional setting, replacement direction setting, and automatic addition of character string pairs are performed.
  • step S350 it is assumed that a setting is first made to replace “b” with “b”, and then a setting is made to replace “b” with “.”
  • the data processing unit 330 performs additional setting of the paired data, and in response to the request, the installation worker, the reception worker candidate, etc. send the character string pair "p" + "b" to the data processing unit 330. After input, the data processing unit 330 automatically stores “p” in the pre-replacement character string in the character string replacement table, and the post-replacement character string corresponding to the character string replacement table. “B” is held in the data.
  • the data processor 330 sets the replacement direction. Specifically, for the time being, information “1” indicating replacement in the replacement direction corresponding to the paired data “p” + “b” just added to the character string replacement table in the character string replacement table “ ⁇ "is retained. Further, it is checked whether the reverse character string pair “b” + “p” obtained by reversing the character string pair “p” + “b” has been previously set in the character string replacement table. In this case, since such a reverse character string pair has not yet been set, if the pre-replacement character string “p” is replaced with the post-replacement character string “b” by one-way replacement “ ⁇ ”! /, Opposite data ' The replacement character string setting process ends only when the set data is set in the character string replacement table.
  • the prescription scanning unit 320 takes the prescription from the outside to the inside of the counter. Instead, a voucher is issued. At that time, the receipt number is printed on the prescription and the prescription is imaged. The image obtained by this imaging is shown along with the receipt number.
  • the data is sent from the prescription scanning unit 320 to the data processing unit 330 and used for prescription data creation by the data processing unit 330.
  • the calibration 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 prescription image is displayed on the screen of the data processing unit 330, 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 strong enough, the designation of the medical institution is prompted. In response to this, when the reception worker designates a medical institution, it is adopted for identification of the medical institution by processing of the reception routine of the data processing unit 330.
  • the data processing unit 330 selects prescription format data that matches the name of the medical institution in the basic information from the hospital master by processing the reception routine. Is done. Specifically, the note pad division information associated with the basic information is read from the hospital master.
  • the processing of the reception routine of the data processing unit 330 continues, and in the automatic processing, when the processing note field division information is obtained, the image image is divided into several division images based thereon. In each divided image unit, character recognition and conversion column comparison display (see FIG. 21 (a)) and calibration column comparison display are performed (see FIG. 21 (b)).
  • the reception worker changes the comparison display screens as appropriate, and also looks at the paper prescription if necessary to complete the prescription data. Then, after confirming completion, the prescription acceptance process is completed by the data processing unit 330 by, for example, clicking a prescription completion button.
  • the completed prescription data is used for prescription management in the pharmacy at the end of the prescription acceptance process. For example, it is sent from the data processing unit 330 to the pharmacy host computer 350 and used for drug history management for each patient, distribution to automatic dispensing machines, etc. In this way, prescription data of paper prescription power electronic data is obtained.
  • prescription data is input semi-automatically using character recognition. For character recognition, in addition to image segmentation processing corresponding to a medical institution, a comparison display between the divided image 331 and the conversion column 333 and a comparison display between the division image 331 and the calibration column 334 are also performed. Therefore, prescription data can be input very efficiently.
  • the image of the prescription is displayed on the line connection 340.
  • the image is first calibrated (pre-processing of the two-stage processing), and then the image after calibration is used to create prescription data as described above (two Pre-processing of stage processing).
  • the previous calibration pre-processing of the two-stage processing
  • the data processing unit 330 refers to the template information by the processing of the reception routine (see step S313 in FIG. 18 (b)) ( Specified characters such as “doctor” and “telephone” that are preset there are detected from a partial area of the image (see FIG. 19 (a)).
  • top-and-bottom inversion processing and position correction processing are selectively performed on the entire prescription image (see step S314 in Fig. 18 (b)), and lane erasure processing is also performed. (See step S315 in FIG. 18 (b)).
  • prescription image image power prescription data is created by the processing of the reception prescription routine of the data processing unit 330 (Fig. 18). (b) See steps S321 to S327).
  • the entire image of the prescription is displayed on the screen of the data processing unit 330, and the medical institution is specified automatically by character recognition or manually by operation input, and the corresponding prescription.
  • the data of the style (corresponding record of template information and hospital master) is selected, and based on it, the image is divided into several divided images, and character recognition and conversion column comparison display (Fig. 21 (a)), a calibration column comparison display is made (see Fig. 21 (b)).
  • the reception worker then corrects or supplements the data while switching the comparison display screens as appropriate.
  • the note data is completed.
  • 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.
  • the character recognition rate is low even if the character recognition method is combined with the facsimile transmission / reception method because the specified character detection, top-and-bottom reversal processing and position correction processing are performed accurately and the shoreline erasure processing is also performed. Since it does not reduce, prescription data can be input very efficiently.
  • the character string replacement is performed immediately after the character recognition processing is performed on the divided image 331 and before the conversion field 333 is displayed.
  • a character string replacement process based on the table is performed. In this process, when the recognition character string obtained by the character recognition process includes any of the character strings before replacement in the character string replacement table, the pair of 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.
  • the character string replacement table see Fig. 22 (d)
  • not only paired data and set data that can be replaced in one direction are set manually, but also paired data set automatically using the medicine master. The data that is retained and can be unidirectionally replaced is expanded.
  • the conversion column comparison display may be displayed. If it is the calibration column comparison display screen (see Fig. 21 (a)) (see Fig. 21 (b)), the process proceeds to the replacement character string setting process by clicking the replacement character string setting button. Then, since it is required to input a pair of character strings for the pre-replacement character string and the post-replacement character string, the reception worker automatically inputs the desired character string, and thereafter automatically as in the above-described initial setting.
  • the string replacement table is extended. In addition, even when a drug name is added to the drug master, the replacement string setting routine is started to check the character string pair that can be bidirectionally replaced and automatically add the character string pair. This makes it possible to match the chemical masters and the character string replacement table.
  • FIG. 23 (a) is a flowchart of the acceptance process, and (b) is an example of a voucher. Note that in the flowchart of FIG. 23 (a), steps S313 to S327 and S330 are the same as FIG. 18 (b), and are not repeated.
  • This prescription receiving device is different from the above-mentioned specific example 41 in that a facsimile transmission unit is required in addition to the facsimile reception unit, and a retransmission request and voucher in high-definition mode. Is issued by facsimile transmission.
  • the facsimile transmission unit is connected to the same line as the facsimile reception unit and can reply to the patient who sent the prescription by facsimile! If the line connection unit 340 described above is a transmission / reception integrated type, the transmission unit is sufficient, and if not, it may be an external type or a computer built-in type.
  • step S362 if it is in high-definition mode (“Yes” in step S362), it will be used for character recognition processing (step S313), but if it is not in high-definition mode (“No” in step S362), it will be used in high-definition mode.
  • the processing is terminated by sending a facsimile image of the image containing the text requesting resending in step (step S363).
  • the reception routine of the data processing unit 330 when the conversion of the image of the processing note input by facsimile transmission / reception into the prescription data is completed (step S327), the voucher via the facsimile transmission unit.
  • the image is sent (step S364).
  • This voucher image (see Fig. 23 (b)) is a pharmacy such as the pharmacy name and telephone number in addition to the receipt number and date and time printed on the voucher issued by the voucher issuing unit 321. Information, pharmacy maps, and even reduced images of prescription images are included.
  • the exchange ticket is immediately returned by facsimile, and the patient can receive it at the FAX etc. at home. You can get a voucher before going to the pharmacy, and the voucher contains map information that will help you get to the pharmacy.
  • the line connection unit 340 (facsimile receiving unit) and the prescription scanning unit 320 are provided as input means for inputting an image of the prescription, but the line connection unit 340 is omitted.
  • the prescription running device 320 can be omitted and the prescription receiving device dedicated for facsimile reception can be omitted.
  • the prescription scanning unit 320, the data processing unit 330, and the line connection unit 340 are separate forces. Good. Integration may be performed only for the prescription scanning unit 320 and the data processing unit 330, the prescription scanning unit 320 and the line connection unit 340, and the data processing unit 330 and the line connection unit 340.
  • the power change in which the comparison display in the calibration field 334 is displayed side by side with the divided image 331 ⁇ «333 and the change in the divided image 331 that can be displayed in the comparison with the calibration field 334 are possible.
  • ⁇ 1333 and calibration column 334 may be displayed in a line on the screen.
  • code conversion is also given to the data processing unit.
  • the data processing unit converts it into prescription data.
  • 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).
  • the prescription receiving apparatus comprising: an input means for inputting an image image of a prescription; and a data processing unit that obtains prescription data from the image image by performing character recognition processing on the image image.
  • Prescription reception characterized in that a facsimile receiving unit is provided as an input means, and prescription format data including prescription field division information that contributes to the image image division processing is stored in association with each medical institution. apparatus.
  • the data processing unit holds template information including position data in a prescription related to a designated character that is previously found to be included in the prescription, and the character recognition processing Based on the template information !, the designated character is detected in a part of the image image, and the image image is subjected to top and bottom reversal processing and position correction processing based on the detection result,
  • the prescription acceptance apparatus according to (1), wherein the remaining area of the image is processed.
  • the prescription receiving apparatus comprising: input means for inputting a prescription image image; and a data processing unit that obtains prescription data from the image image by performing character recognition processing on the image image.
  • a facsimile receiving unit is provided as an input means, and the modified mffl obtained by converting the image image into character data and displayed is displayed on the screen in comparison with the image image! /.
  • a prescription acceptance device is provided as an input means, and the modified mffl obtained by converting the image image into character data and displayed.
  • the prescription receiving apparatus comprising: input means for inputting an image image of a prescription; and a data processing unit that obtains prescription data from the image image by performing character recognition processing on the image image.
  • a facsimile receiving unit is provided as an input means.
  • a prescription acceptance device characterized by the fact that it is now displayed on the screen in contrast to!
  • the prescription receiving apparatus comprising: input means for inputting an image image of a prescription; and a data processing unit that obtains prescription data from the image image by performing character recognition processing on the image image.
  • a facsimile receiving unit is provided as an input means.
  • a prescription receiving apparatus characterized in that the image is displayed on the screen in contrast with the image!
  • the data processing unit retains template information including position data in a prescription related to a designated character that is previously known to be included in the prescription, and the character recognition processing Based on the template information !, the designated character is detected in a part of the image image, and the image image is subjected to top and bottom reversal processing and position correction processing based on the detection result,
  • the prescription receiving apparatus according to any one of (3) to (6), wherein the remaining area of the image is processed.
  • the present invention can be applied to a prescription receiving apparatus used for automatic reception of prescriptions at pharmacies and hospitals.

Landscapes

  • Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Epidemiology (AREA)
  • Biomedical Technology (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Public Health (AREA)
  • Primary Health Care (AREA)
  • Medical Informatics (AREA)
  • General Health & Medical Sciences (AREA)
  • Multimedia (AREA)
  • Medicinal Chemistry (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Chemical & Material Sciences (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Artificial Intelligence (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Character Discrimination (AREA)
  • Medical Treatment And Welfare Office Work (AREA)

Abstract

 処方箋受付装置は、処方箋の画像イメージを入力する入力手段と、前記画像イメージに文字認識処理を施すことにより前記画像イメージから処方箋データを得るデータ処理部とを備える。前記入力手段としてファクシミリ受信部が設けられていてもよい。これにより、処方箋の記載情報を効率よく入力することができる処方箋受付装置を実現することができる。

Description

明 細 書
処方箋受付装置
技術分野
[0001] この発明は、薬局や病院などで処方箋の自動受付に用いられる処方箋受付装置 に関する。
背景技術
[0002] 処方箋の受付作業の自動化や省力化等のために、従来より各種の処方箋受付装 置が提案されている。具体的には、処方データを読み取って引替券を発行する投薬 処理システムや (例えば特許文献 1参照)、受付で患者の顔画像を撮影してデータべ ースに記憶する医療システム (例えば特許文献 2参照)、処方箋の両面を撮像して処 方箋の表記面を特定する処方箋読取管理システム (例えば特許文献 3参照)、処方 箋データ入力作業を自動化'省力化するため処方箋に記載された 2次元コードを読 み取って処方情報に変換する処方箋読取装置 (例えば特許文献 4参照)などが挙げ られる。
[0003] また、処方箋を文字データ等でデータ入力する代わりに画像イメージで取り扱うべく 処方箋イメージに文字認識を施して受付番号の文字データを取得する処方箋ィメー ジ登録方法 (例えば特許文献 5参照)も知られており、文字認識処理については、雛 形の画像データに文字認識を行って得た位置の差分に基づいて本来の画像データ (画像イメージ)の位置を補正してカゝら文字認識を実行する情報処理装置や (例えば 特許文献 6参照)、帳票の画像イメージに対して鄞線を抽出し消去してカゝら文字認識 を行う光学式文字読取装置 (例えば特許文献 7参照)なども知られて ヽる。
[0004] さらに、処方箋受付装置を病院と薬局の双方に設置しておき、病院の処方箋受付 装置で処方箋をイメージデータ (画像イメージ)として読み取り、その画像イメージを 公衆網経由で薬局に送信し、薬局においては、 FAX受信機 (ファクシミリ受信装置) にて受信して処方箋を印字出力するとともに、その処方箋を薬局の処方箋受付装置 で読み取って処方箋イメージを記憶 '管理するようになった薬剤投与システムが知ら れている (例えば特許文献 8参照)。処方箋受付装置は、病院用も薬局用も同じで、 紙媒体の処方箋を読み取って画像イメージを入力するとともに、受付票を印字'発行 するようになっている。
[0005] このように処方箋を FAX (ファクシミリ)にて病院力も薬局へ送信することにより、患 者が受診した医療機関力 処方薬を受け取る保険調剤薬局等の薬局へ移動する間 に、薬局の薬剤師が調剤を行うことができるため、患者の待ち時間を削減することが できる。
[0006] また、患者が院外処方箋を紙媒体のままで病院力 薬局まで持っていくと、処方箋 に汚れや皺が生じたり、インクが染みたり、ひどい場合には処方箋が破損したりして、 処方箋に記載されている処方内容を確認できないこともあった力 そのような不都合 な事象の発生も処方箋の FAX送信により回避 .抑制することができる。
[0007] また、入力用文書のフォームテンプレートを画面表示上の読取枠の座標等で設定 しておき文字認識処理時にテンプレートを利用することによりデータ入力の作業効率 を上げたドキュメント読取転送方法や (例えば特許文献 9参照)、そのような読取枠を 即ちイメージデータ上の部分領域を容易に拡縮できるようになった情報処理装置 (例 えば特許文献 10参照)、雛形データ中の基準文字列領域に文字認識処理を施して 位置補正用の基準文字列とその座標をフォームテンプレートに自動設定するように なった情報処理装置が (例えば特許文献 6参照)、知られて 、る。
[0008] また、文字認識処理の結果に一定の後処理を行って認識率を向上させる光学的文 字読取り装置や (例えば特許文献 11参照)、類似文字については左右の文字種類 をキーにした判定や変換を行って文字認識結果の精度を向上させる類似文字判定 方式 (例えば特許文献 12参照)、単語属性に応じて文字限定辞書を使い分けること で認識率を向上させる文字認識方式も (例えば特許文献 13参照)、知られている。
[0009] また、文字認識処理の結果に文法反映の単語テーブルを参照して単語照合や評 価解析などの後処理を行うことで認識率を向上させる文字認識方法や (例えば特許 文献 14参照)、結合分離文字テーブルを参照して結合文字や分離文字を自動生成 することで選択候補を増やして認識率を向上させる文字認識装置も (例えば特許文 献 15参照)、知られている。
特許文献 1:特開平 10— 207949号公報 (第 1頁) 特許文献 2:特開 2003— 271733号公報 (第 1頁)
特許文献 3 :特開 2001— 188871号公報 (第 1頁)
特許文献 4:特開 2004 - 046486号公報 (第 1頁)
特許文献 5:特開 2001— 134698号公報 (第 1頁)
特許文献 6 :特開 2005— 043995号公報 (第 1頁)
特許文献 7:特開 2002- 366900号公報 (第 1頁)
特許文献 8:特開 2001— 312560号公報 (第 1頁)
特許文献 9:特開 2002— 157545号公報
特許文献 10:特開 2005 - 267394号公報
特許文献 11:特開平 05— 282484号公報 (第 1頁)
特許文献 12:特開平 05— 342415号公報 (第 1頁)
特許文献 13:特開平 09— 305714号公報 (第 1頁)
特許文献 14:特開平 11 110488号公報 (第 1頁)
特許文献 15:特開平 07— 306917号公報 (第 1頁)
発明の開示
発明が解決しょうとする課題
[0010] し力しながら、このような従来の処方箋受付装置では、各種の改造がばらばらに行 われていたため、それぞれに一長一短がある。
[0011] 具体的には、処方箋の記載情報を文字データやバイナリデータといった内部形式 の処方箋データに変換するという処方箋データ入力に関して、二次元コードを処方 箋データに変換する装置の場合、処方箋に二次元コードが印刷されていれば申し分 ないが、処方箋に二次元コードを印刷するシステムは未だ一部の大病院にしか普及 しておらず、多くの一般薬局では宝の持ち腐れになりかねない。
[0012] また、処方箋イメージに文字認識を施して文字データを取得する従来の装置の場 合、 OCRプログラム等の認識率が 100%とはいかないことや、処方箋の様式が病院 によって異なり多岐に亘ることから、受付番号のように極めて限定された部分にしか 適用できて 、な 、ので、薬剤や用量などの処方箋データ入力が必要なときには処方 箋かその画像イメージを見ながら手作業で行わざるを得ない。 [0013] さらに、処方箋の画像イメージをファクシミリで送受信する従来のシステムの場合、 受信して印刷した処方箋を再び撮像して画像イメージの入力を行うので、画質の劣 化が激しい。また、ファクシミリ送信側で処方箋の給紙状態が歪んでいると、歪んだ状 態の処方箋がそのまま画像イメージとして取り込まれるため、ファクシミリ受信側では 文字の潰れゃ不所望な影などによって処方箋が見難くなるという現象が発生すること がある。調剤薬局の調剤報酬請求業務においては、医療機関より出力された院外処 方箋に記載されている情報を基に、レセプトコンピュータに氏名や,保険者情報,処 方データ等の項目を入力するのであるが、その際、処方箋が不鮮明であると、データ 入力が、人手による作業であれ、文字認識による自動入力であれ、困難になる。 課題を解決するための手段
[0014] 本発明のある態様は、処方箋の画像イメージを入力する入力手段と、前記画像ィメ ージに文字認識処理を施すことにより前記画像イメージから処方箋データを得るデ ータ処理部とを備えた処方箋受付装置である。前記入力手段としてファクシミリ受信 部が設けられていてもよい。
[0015] 処方箋受付装置は、前記データ処理部が、処方箋に含まれていることが予め判明 している指定文字に係る処方箋内位置データを含んだテンプレート情報を保持して おり、前記文字認識処理に際して、前記テンプレート情報に基づいて前記画像ィメ ージの一部領域に前記指定文字の検出処理を施し、その検出結果に基づいて前記 画像イメージに天地反転処理および位置補正処理を施し、それから前記画像ィメー ジの残部領域を処理するものであってもよ 、。
[0016] なお本明細書にお!、て指定文字は、かなや漢字、英数字などの単独の文字であつ てもよいし、複数の文字力もなる文字列であってもよい。指定文字が文字列である場 合には、特定の意味を有する単語が指定文字とされてもよいし、逆に特定の意味を 有しない文字列が指定文字とされてもよい。好ましくは、指定文字は、例えば「薬品」 、「患者」、「薬局」、「処方箋」、「病院」、「医師」などのように、処方箋に典型的に使用 される用語であってもよい。
[0017] 処方箋受付装置は、前記ファクシミリ受信部と同じ回線に接続されたファクシミリ送 信部が設けられ、前記ファクシミリ受信部を介して処方箋を受け付けると引替券の画 像イメージを生成して前記ファクシミリ送信部力 送信することにより引替券の発行を 行うものであってもよい。
[0018] 本発明の別の態様も、処方箋の画像イメージを入力する入力手段と、前記画像ィメ ージに文字認識処理を施すことにより前記画像イメージから処方箋データを得るデ ータ処理部とを備えた処方箋受付装置である。処方箋受付装置は、前記データ処理 部が、処方箋に含まれていることが予め判明している指定文字に係る処方箋内位置 データを含んだテンプレート情報を保持しており、前記文字認識処理に際して、前記 テンプレート情報に基づいて前記画像イメージの一部領域に前記指定文字の検出 処理を施し、その検出結果に基づいて前記画像イメージに位置補正処理を施し、そ れから前記画像イメージの残部領域を処理するものであって、更に、前記テンプレー ト情報を更新するに際して、前記画像イメージと前記テンプレート情報と前記指定文 字の入力欄とを並べて画面表示し、該入力欄への文字入力に応じて前記指定文字 を設定し、前記画像イメージの表示領域における部分領域の指定に応じて前記テン プレート情報の前記処方箋内位置データを設定するものであってもよい。
[0019] 処方箋受付装置は、前記データ処理部が、前記テンプレート情報の更新に際し、 前記テンプレート情報に基づく前記画像イメージの前記一部領域に文字認識処理を 施して文字データを取得し、この文字データと前記指定文字とがー致して 、る力否か を確認し、不一致のときには注意を促すようになって!/、てもよ!/、。
[0020] 処方箋受付装置は、前記データ処理部が、前記テンプレート情報の更新に際し、 前記画像イメージに文字認識処理を施して文字データに変換し、その文字データに ついて前記指定文字を検索し、その検索にて前記指定文字と同じ文字が見いだされ た箇所にっ ヽて前記画像イメージの対応箇所を強調表示するようになって!/、てもよ い。
[0021] 処方箋受付装置は、前記データ処理部が、前記文字認識処理に際して、前記指 定文字の検出結果に基づき前記画像イメージに対し前記位置補正処理に加えて天 地反転処理をも施すものであって、更に、前記テンプレート情報を更新するに際して 、前記画像イメージを天地反転させたら前記指定文字に係る前記一部領域へ来るこ とになる前記画像イメージ中の反転位置部分領域とそれを拡張した拡張領域との何 れか一方の領域または双方の領域につ!、て強調表示を行うようになって!/、てもよ!/、。
[0022] 処方箋受付装置は、前記データ処理部が、前記テンプレート情報の更新に際し、 前記反転位置部分領域と前記拡張領域との何れか一方の領域または双方の領域に 文字認識処理を施して文字データを取得し、この文字データと前記指定文字とがー 致して 、るか否かを調べ、一致して 、る文字の有るときには警告を発するようになつ ていてもよい。
[0023] 処方箋受付装置は、前記データ処理部が、前記テンプレート情報を画像イメージと 共に処方箋様式毎に保持していて、前記テンプレート情報の更新に際し、更新対象 の処方箋様式とは異なる他の処方箋様式に対応する画像イメージについても、前記 指定文字の検索と対応箇所の強調表示、前記反転位置部分領域と前記拡張領域と の一方または双方の強調表示、あるいは前記一部領域と前記反転位置部分領域と 前記拡張領域とのうち何れか一つの領域または複数の領域に係る前記指定文字の 一致調査と一致警告を行うようになって!/、てもよ!/、。
[0024] 本発明の更に別の態様も、処方箋の画像イメージを入力する入力手段と、前記画 像イメージに文字認識処理を施すことにより前記画像イメージから処方箋データを得 るデータ処理部とを備えた処方箋受付装置である。処方箋受付装置は、前記データ 処理部が、各種の薬品名を含むデータを保持する薬品マスターと、置換前文字列と 置換後文字列とを対応付けて多数のデータを保持する文字列置換テーブルと、前記 文字認識処理の後にその処理で得た認識文字列に前記文字列置換テーブルの置 換前文字列の何れかが含まれているとき前記認識文字列の該当箇所を前記文字列 置換テーブルの置換後文字列のうち該置換前文字列に対応するもので置き換える 文字列置換手段とを具えたものであり、非数値部と数値部と単位部とをその順に連 ねた文字列からなる数値含有薬品名が、そのまま前記薬品マスターの薬品名と前記 文字列置換テーブルの置換後文字列とに含められており、且つ、数値部と単位部と 非数値部の順に並べ替えた並替薬品名になって前記文字列置換テーブルの置換 前文字列のうち該置換後文字列と対応するものに含められていてもよい。
[0025] 処方箋受付装置は、前記データ処理部が、前記文字列置換テーブルを設定する に際し、前記薬品マスターの前記薬品名から前記数値含有薬品名を抽出して、この 数値含有薬品名から前記並替薬品名を生成し、この並替薬品名と前記数値含有薬 品名とを対応付けて前記文字列置換テーブルにデータ保持させるものであってもよ い。
[0026] 処方箋受付装置は、前記データ処理部が、前記文字列置換テーブルを設定する に際し、抽出した前記数値含有薬品名とそれ力も生成した前記並替薬品名とのうち 何れか一方または双方について、その非数値部の後尾の文字を省いて略式薬品名 を生成し、この略式薬品名と前記数値含有薬品名とを対応付けて前記文字列置換 テーブルにデータ保持させるものであってもよ 、。
[0027] 処方箋受付装置は、前記数値含有薬品名からその非数値部の後尾の文字を省い た正順略式薬品名と、それを数値部と単位部と非数値部の順に並べ替えた並替略 式薬品名とのうち何れか一方または双方にっ 、て、その略式薬品名と前記数値含有 薬品名とが対応付けられて前記文字列置換テーブルにデータ保持されて ヽてもよ ヽ
[0028] 処方箋受付装置は、前記データ処理部が、前記認識文字列を画面表示して文字 列修正を受理するものであって、その文字列修正処理時に入力された修正文字列 が前記薬品マスターの前記薬品名に含まれているか否かを検索して、含まれていた ときには直ちに又は確認のうえ、前記修正文字列とそれで修正された文字列とを対 応付けて前記文字列置換テーブルの置換後文字列および置換前文字列にデータ 保持させ、さらに前記修正文字列が前記数値含有薬品名に該当するときには、それ から前記並替薬品名を生成し、この並替薬品名と前記数値含有薬品名とを対応付け て前記文字列置換テーブルの置換前文字列および置換後文字列にデータ保持させ るものであってもよい。
[0029] 本発明の更に別の態様も、処方箋の画像イメージを入力する入力手段と、前記画 像イメージに文字認識処理を施すことにより前記画像イメージから処方箋データを得 るデータ処理部とを備えた処方箋受付装置である。処方箋受付装置は、前記データ 処理部が、各種の薬品名を含むデータを保持する薬品マスターと、置換前文字列と 置換後文字列とを対応付けて多数のデータを保持する文字列置換テーブルと、前記 文字認識処理の後にその処理で得た認識文字列に前記文字列置換テーブルの置 換前文字列の何れかが含まれているとき前記認識文字列の該当箇所を前記文字列 置換テーブルの置換後文字列のうち該置換前文字列に対応するもので置き換える 文字列置換手段と、一対の文字列を受理して前記文字列置換テーブルの置換前文 字列と置換後文字列とにデータ保持させる置換文字列設定手段とを具えたものであ り、この置換文字列設定手段が、前記文字列置換テーブルへの追加設定に際して、 追加対象の文字列の対の対応関係を仮に逆転させた文字列の対が前記文字列置 換テーブルに以前より設定されていたカゝ否かを調べ、設定されていたときには更に、 双方の文字列について、前記薬品マスターの何れかの薬品名に含まれている力否 かを調べ、含まれていたときには更に、その薬品名力 一致部分と隣接文字とを併せ て抽出し、その抽出文字列を前記文字列置換テーブルの置換後文字列の方にデー タ保持させるようになって!/、てもよ!/、。
[0030] 処方箋受付装置は、前記置換文字列設定手段が、前記抽出文字列を前記文字列 置換テーブルの置換後文字列の方にデータ保持させたときには、前記抽出文字列 のうち一致部分を文字列の対における他方の文字列で置き換えた文字列を前記文 字列置換テーブルの置換前文字列の方にデータ保持させるようになって 、てもよ ヽ
[0031] 処方箋受付装置は、前記置換文字列設定手段が、前記文字列置換テーブルにお V、て置換前文字列と置換後文字列とを逆転させたものの設定されて 、る文字列の対 には双方向置換可能を示す情報を付し、設定されていない文字列の対には一方向 置換を示す情報を付すようになっており、前記文字列置換手段が、前記文字列置換 テーブルにお 、て一方向置換を示す情報の付されて 、る文字列の対にっ 、ては確 認することなく文字列の置換を行 、、前記文字列置換テーブルにお 、て双方向置換 可能を示す情報の付されている文字列の対については一方向置換の行われなかつ たときに限って確認処理を行い確認結果に応じて選択的に文字列の置換を行うよう になっていてもよい。
発明の効果
[0032] 本発明によれば、処方箋の記載情報を効率よく入力することができる処方箋受付 装置を実現することができる。 図面の簡単な説明
[図 1]本発明の第 1の実施形態の具体例 1 1について、処方箋受付装置の構造を 示す。図 1 (a)はハードウェア構成図、図 1 (b)は受付処理のフローチャートである。
[図 2]図 2 (a)は処方箋の情報欄の配置例と指定文字の例、図 2 (b)はテンプレート情 報のデータ構造例である。
[図 3]図 3 (a)は処方箋の情報欄の配置例、図 3 (b)は他の配置例、図 3 (c)は病院マ スターのデータ構造例、図 3 (d)は処方箋データの構造例である。
[図 4]図 4 (a)は変換欄対比表示画面の一例、図 4 (b)は校正欄対比表示画面の一 例である。
[図 5]第 1の実施形態の具体例 1 2について、図 5 (a)は受付処理のフローチャート 、図 5 (b)は引替券の例である。
[図 6]本発明の第 2の実施形態の具体例 2— 1について、処方箋受付装置の構造を 示す。図 6 (a)はハードウェア構成図、図 6 (b)は受付処理のフローチャートである。
[図 7]図 7 (a)は処方箋の情報欄の配置例と指定文字の例、図 7 (b)はテンプレート情 報のデータ構造例である。
[図 8]図 8 (a)は処方箋の情報欄の配置例、図 8 (b)は他の配置例、図 8 (c)は病院マ スターのデータ構造例、図 8 (d)は処方箋データの構造例である。
[図 9]図 9 (a)は変換欄対比表示画面の一例、図 9 (b)は校正欄対比表示画面の一 例である。
[図 10]図 10 (a)はテンプレート更新画面の一例、図 10 (b)はテンプレート更新の基 本手順を示すフローチャートである。
[図 11]第 2の実施形態の具体例 2— 2について、図 11 (a)は受付処理のフローチヤ ート、図 11 (b)は引替券の例である。
[図 12]本発明の第 3の実施形態の具体例 3—1について、処方箋受付装置の構造を 示す。図 12 (a)はハードウェア構成図、図 12 (b)は受付処理のフローチャートである
[図 13]図 13 (a)は処方箋の情報欄の配置例と指定文字の例、図 13 (b)はテンプレー ト情報のデータ構造例である。 [図 14]図 14 (a)は処方箋の情報欄の配置例、図 14 (b)は他の配置例、図 14 (c)は 病院マスターのデータ構造例、図 14 (d)は処方箋データの構造例である。
[図 15]図 15 (a)は変換欄対比表示画面の一例、図 15 (b)は校正欄対比表示画面の 一例である。
[図 16]図 16 (a)は薬品マスターのデータ構造例、図 16 (b)は文字列置換テーブルの データ構造例である。
[図 17]第 3の実施形態の具体例 3— 2について、図 17 (a)は受付処理のフローチヤ ート、図 17 (b)は引替券の例である。
[図 18]本発明の第 4の実施形態の具体例 4—1について、処方箋受付装置の構造を 示す。図 18 (a)はハードウェア構成図、図 18 (b)は受付処理のフローチャートである
[図 19]図 19 (a)は処方箋の情報欄の配置例と指定文字の例、図 19 (b)はテンプレー ト情報のデータ構造例である。
[図 20]図 20 (a)は処方箋の情報欄の配置例、図 20 (b)は他の配置例、図 20 (c)は 病院マスターのデータ構造例、図 20 (d)は処方箋データの構造例である。
[図 21]図 21 (a)は変換欄対比表示画面の一例、図 21 (b)は校正欄対比表示画面の 一例である。
[図 22]図 22 (a)は薬品マスターのデータ構造例、図 22 (b)〜図 22 (d)は文字列置換 テーブルのデータ構造例である。
[図 23]第 4の実施形態の具体例 4 2について、図 23 (a)は受付処理のフローチヤ ート、図 23 (b)は引替券の例である。
符号の説明
10 処方箋受付装置、 20 処方箋走査部、 21 引換券発行ユニット、 22 スキャナ( 撮像手段)、 23 ローカルコントローラ、 24 移送路、 25 プリントヘッド、 26 操作パ ネル、 30 データ処理部、 31 分割イメージ (文字認識対象)、 32 欄指定タブ、 33 変 (文字認識結果)、 34 校正欄、 40 回線接続部 (ファクシミリ受信部、ファタ シミリ送信部)、 50 薬局ホストコンピュータ、 110 処方箋受付装置、 120 処方箋走 查部、 121 引換券発行ユニット、 122 スキャナ(撮像手段)、 123 ローカルコント口 ーラ、 124 移送路、 125 プリントヘッド、 126 操作パネル、 130 データ処理部、 1 31a 画像イメージ全体、 131 分割イメージ、 132 欄指定タブ、 133 変換欄 (文字 認識結果)、 134 校正欄、 135 処方箋様式入力欄、 136 更新項目選択欄、 137 基本情報入力欄、 138 指定文字入力欄、 139 テンプレート情報表示更新欄、 1 40 回線接続部(ファクシミリ受信部、ファクシミリ送信部)、 150 薬局ホストコンビュ ータ、 210 処方箋受付装置、 220 処方箋走査部、 221 引換券発行ユニット、 22 2 スキャナ(撮像手段)、 223 ローカルコントローラ、 224 移送路、 225 プリントへ ッド、 226 操作パネル、 230 データ処理部、 231 分割イメージ、 232 欄指定タブ 、 233 変換欄 (文字認識結果)、 234 校正欄、 240 回線接続部(ファクシミリ受信 部、ファクシミリ送信部)、 250 薬局ホストコンピュータ、 310 処方箋受付装置、 320 処方箋走査部、 321 引換券発行ユニット、 322 スキャナ (撮像手段)、 323 ロー カルコントローラ、 324 移送路、 325 プリントヘッド、 326 操作パネル、 330 デー タ処理部、 331 分割イメージ、 332 欄指定タブ、 333 変換欄 (文字認識結果)、 3 34 校正欄、 340 回線接続部(ファクシミリ受信部、ファクシミリ送信部)、 350 薬局 ホストコンピュータ。 発明を実施するための最良の形態
[0035] 本発明を実施するための最良の形態を、以下の第 1の実施形態から第 4の実施形 態の 4つに分けて説明する。
[0036] [第 1の実施形態]
第 1の実施形態は、薬局や病院などで処方箋の自動受付に用いられる処方箋受付 装置に関し、詳しくは、処方箋の画像イメージ (処方箋イメージ)を文字認識にて文字 データやバイナリデータ等の内部形式電子データ (処方箋データ)に変換することに より処方箋の記載情報を取得する処方箋受付装置に関する。
[0037] 第 1の実施形態に係る第 1の処方箋受付装置は、処方箋の画像イメージを入力す る入力手段と、前記画像イメージに文字認識処理を施すことにより前記画像イメージ から処方箋データを得るデータ処理部とを備えた処方箋受付装置において、前記入 力手段としてファクシミリ受信部が設けられていることを特徴とする。
[0038] また、第 1の実施形態に係る第 2の処方箋受付装置は、上記第 1の処方箋受付装 置であって、前記データ処理部が、処方箋に含まれていることが予め判明している指 定文字に係る処方箋内位置データを含んだテンプレート情報を保持しており、前記 文字認識処理に際して、前記テンプレート情報に基づ!、て前記画像イメージの一部 領域に前記指定文字の検出処理を施し、その検出結果に基づいて前記画像ィメー ジに天地反転処理および位置補正処理を施し、それから前記画像イメージの残部領 域を処理するようになっている、というものである。
[0039] さらに、第 1の実施形態に係る第 3の処方箋受付装置は、上記第 1または第 2の処 方箋受付装置であって、前記ファクシミリ受信部と同じ回線に接続されたファクシミリ 送信部が設けられ、前記ファクシミリ受信部を介して処方箋を受け付けると引替券の 画像イメージを生成して前記ファクシミリ送信部から送信することにより引替券の発行 を行うようになっている、というものである。
[0040] 第 1の処方箋受付装置にあっては、ファクシミリ受信部が処方箋の画像イメージの 入力手段として装置に組み込まれて ヽるので、ファクシミリ送受信された画像イメージ がそのまま文字認識処理に供される。
[0041] これにより、受信後の再撮像が回避されることから、薬局側での処方箋読取作業が 不要になるうえ、画質の劣化が送信側での撮像時だけで済むので、従来よりも画質 が良好に維持される。そのため、文字認識率も良くなる。
[0042] したがって、第 1の処方箋受付装置によれば、ファクシミリ送信にて患者の待ち時間 を削減できるうえ薬局にとってもデータ入力の能率が良い処方箋受付装置を実現す ることがでさる。
[0043] また、第 2の処方箋受付装置にあっては、処方箋の画像イメージに文字認識処理を 施すとき、先ずテンプレート情報に基づいて画像イメージの一部領域に指定文字の 検出処理が施され、次にその検出結果に基づいて画像イメージに天地反転処理お よび位置補正処理が施され、それから画像イメージの残部領域にも文字認識処理が 施される。このように、処方箋に含まれていることが予め判明している指定文字の検 出を行って位置を補正するようにしたことにより、文字認識率が向上する。
[0044] また、位置補正処理にとどまらず天地反転処理まで行うようにしたので、ファクシミリ 送信時に処方箋を逆向きにセットしたとしても不都合なく受け付けられる。 [0045] このように送信時の制約が緩和されたため、患者が自宅の FAX電話などの汎用装 置を用いて気軽に処方箋をファクシミリ送信することも可能である。
[0046] したがって、第 2の処方箋受付装置によれば、ファクシミリ送信にて患者の待ち時間 を削減できるうえ何処力 でも送信できて便利であり更に薬局にとってもデータ入力 の能率が良い処方箋受付装置を実現することができる。
[0047] さらに、第 3の処方箋受付装置にあっては、患者が処方箋をファクシミリ送信すると その場で引替券をファクシミリ受信できるので、遠隔地での受付作業であっても薬局 での作業と同じく簡便かつ的確に遂行されることとなる。
[0048] したがって、第 3の処方箋受付装置によれば、ファクシミリ送信にて患者の待ち時間 を削減でき而も何処カゝらでも送信できるうえ引替券も受け取れて便利であり更に薬局 にとつてもデータ入力の能率が良い処方箋受付装置を実現することができる。
[0049] 第 1の実施形態に係る第 4の処方箋受付装置は、上記第 1〜第 3のいずれかの処 方箋受付装置であって、前記画像イメージに文字認識処理を施す際に、前記処方 箋を発行した医療機関を特定して、対応した処方箋の形式を選定し、その形式に基 づいて前記画像イメージを分割処理することを特徴とする。この場合、処方箋の画像 イメージに係る文字認識に際して、その処方箋を発行した医療機関が特定され、そ れに対応した処方箋の形式が選定され、さらに、その形式に基づいて画像イメージ が分割処理される。このように、各医療機関の発行する処方箋の項目配置パターン に対応した分割パターンで画像イメージが分割され、それぞれの分割イメージに文 字認識が施されるようにしたことにより、文字認識時の文字データの候補や処方箋デ ータへの変換時の項目候補が絞り込まれるので、データ変換の精度が向上する。
[0050] 第 1の実施形態に係る第 5の処方箋受付装置は、上記第 4の処方箋受付装置であ つて、前記画像イメージの分割イメージとそれを文字データに変換して表示させた変 とを対比させて画面表示することを特徴とする。この場合、処方箋の画像ィメー ジに係る文字認識に際して、画像イメージの分割イメージとそれを文字データに変換 して表示させた変換欄とが画面に対比表示される。これにより、文字認識の結果を容 易に確認することができ、その結果を処方箋データに変換する前に、文字認識をやり 直したり文字データを修正すると 、つたことも行える。 [0051] 第 1の実施形態に係る第 6の処方箋受付装置は、上記第 5の処方箋受付装置であ つて、前記処方箋データを項目ごとに項目名を付して校正可能に表示させた校正欄 を、上記分割イメージ及び上記変 ^fflの何れか一方または双方と対比させて、画面 に表示することを特徴とする。この場合、処方箋の画像イメージに係る文字認識に際 して、処方箋データを項目ごとに項目名を付して校正可能に表示させた校正欄も、 分割イメージ等と対比される状態で、画面に表示される。これにより、文字認識の結 果を反映させた処方箋データを容易に確認することができ、人手介助の必要な校正 も、分割イメージ等と見比べることで、容易に行える。
[0052] 第 1の実施形態に係る処方箋受付装置について、これを実施するための具体的な 形態を、以下の具体例 1— 1〜1— 2により説明する。
[0053] 図 1〜4に示した具体例 1 1は、上述した第 1、第 2、第 4〜6の処方箋受付装置を 具現ィ匕したものであり、図 5に示した具体例 1 2は、上述した第 3の処方箋受付装置 を具現ィ匕したものである。
[0054] [具体例 1 1]
第 1の実施形態の具体例 1—1について、その具体的な構成を、図面を引用して説 明する。図 1は、処方箋受付装置 10の構造を示し、(a)がハードウェア構成図、 (b) が受付処理のフローチャートである。また、図 2は、(a)が処方箋の情報欄の配置例と 指定文字の例、(b)がテンプレート情報のデータ構造例である。さらに、図 3は、(a) が処方箋の情報欄の配置例、(b)が他の配置例、(c)が病院マスターのデータ構造 例、(d)が処方箋データの構造例である。また、図 4は、(a)が変換欄対比表示画面 の一例、(b)が校正欄対比表示画面の一例である。
[0055] 処方箋受付装置 10は(図 1 (a)参照)、処方箋走査部 20とデータ処理部 30と回線 接続部 40とを具えている。処方箋走査部 20も、回線接続部 40も、処方箋の画像ィメ ージをデータ処理部 30に入力する入力手段として設けられており、それぞれ信号ケ 一ブルでデータ処理部 30に接続されて 、る。処方箋走査部 20は紙媒体の処方箋を 薬局で直に撮像するのに対し、回線接続部 40は、遠隔地で撮像された処方箋ィメー ジ (処方箋の画像イメージ)がファクシミリ送信されて来たら、それを受信してデータ処 理部 30に引き渡すものである。 [0056] そのため、回線接続部 40は、図示しない電話回線やファクシミリ回線網など外部の 通信回線に接続されてファクシミリ受信できるようになつていれば良ぐ市販の所謂 F AXモデムやターミナルアダプタ等で足りる。この具体例では、ファクシミリ受信部とし て受信さえ出来れば足りる力 この受信部と同じ回線に接続されたファクシミリ送信部 と一緒になつていても良ぐ音声での通話が可能になっていても良ぐ図示したような 外付けタイプでも図示しな 、コンピュータ内蔵タイプでも良 、。
[0057] 処方箋走査部 20は、差込み口に処方箋が投入されるとそれを移送路 24へ送り込 みながら処方箋の撮像を行うスキャナ 22と、移送路 24に臨んで設けられ処方箋に受 付番号を印刷するプリントヘッド 25と、処方箋を受け付けた代わりに引換券を発行す る引換券発行ユニット 21と、操作スィッチや状態表示部材を配設した操作パネル 26 と、それらの動作制御を行うローカルコントローラ 23とを具えていて、スキャナ 22で撮 つた画像イメージを受付番号と共にデータ処理部 30へデータ送信するようになって いる。
[0058] データ処理部 30のハードウェアは、図示のような所謂デスクトップパソコンや図示し ないノートパソコンなどの汎用コンピュータで良ぐ処方箋走査部 20や回線接続部 4 0から送られてきた画像イメージ力も処方箋データを得るために、データ処理部 30の プログラムメモリ等には受付ルーチンがインストールされ、データ処理部 30に内蔵の 又は外付けのハードディスク等には、テンプレート情報や,病院マスター,患者マスタ 一,保険マスター,薬品マスター,用法マスター,注釈マスターなどのデータ群が、適 宜なファイル形式やテーブル形式に分かれて或 、はデータベースに統合されて、記 憶保持されている。
[0059] テンプレート情報には、後で詳述するが、処方箋に含まれていることが予め判明し ている指定文字のパターンや、処方箋における指定文字の位置データが含まれてお り、テンプレート情報は指定文字の検出およびその検出結果に基づく画像イメージの 天地反転処理や位置補正処理に用いられる。
[0060] 病院マスターには、やはり後で詳述するが、それぞれの医療機関に対応した処方 箋の形式データが含まれており、病院マスターは画像イメージの分割に用いられる。
[0061] 患者マスターには、患者の氏名や生年月日さらには患者コード等のデータが含ま れており、患者名の確認や過去処方提示の手がかり等に用いられる。保険マスター には、保険の種類などのデータが含まれており、保険の種類の確認や候補提示に用 いられる。薬品マスターには、薬品名や薬品コード等のデータが含まれており、薬品 名の確認や候補提示などに用いられる。用法マスターには、処方単位や服用限度な どのデータが含まれており、処方内容の確認や候補提示などに用いられる。注釈マ スターは、特記事項やコメント等の文字列データを追加書き込みできるようになって いる。
[0062] 受付ルーチンは(図 1 (b)参照)、処方箋走査部 20で処方箋の読取が行われてそ の画像イメージが処方箋走査部 20からデータ処理部 30に送られてきたときにカ卩えて 、外部のファクシミリで処方箋の読取が行われてその画像イメージが回線接続部 40 を介してデータ処理部 30に送られてきたときも、その画像イメージを入力する (ステツ プ Sl l)。その画像イメージが処方箋走査部 20で読み取ったものである場合は直ち に画像イメージ全領域に対するイメージ分割処理 ·文字認識処理 ·データ変換処理 に移行するが (ステップ S 12の「No」)、その画像イメージが回線接続部 40を介するフ ァクシミリ受信にて入力したものである場合は、文字認識処理等を二段階に分けて行 うようになって ヽる(ステップ S 12の「Yes」 )。
[0063] すなわち、ファクシミリ受信の場合、キャリブレーションのため処方箋の画像イメージ の一部領域にだけ文字認識処理を施す前処理段階と、画像イメージ全領域に対し て文字認識処理等を施す本処理段階とが行われる。後者の本処理は処方箋走査部 20での読取時の処理と同じであり、これは後で詳述するので、先ず前者の前処理段 階にっ 、て詳述する(ステップ S 13〜S 14)。このキャリブレーション用の前処理は、 簡便かつ的確な遂行のため、テンプレート情報を利用しており、テンプレート情報に 基づいて指定文字を検出し (ステップ S13)、その結果、画像イメージが逆さであるこ とが判明したときには画像イメージを 180°回転させることにより天地反転処理を行!ヽ 、画像イメージが位置ずれして 、ることが判明したときには画像イメージを上下左右 に移動させることにより位置補正処理を行うようになって 、る (ステップ S 14)。
[0064] 処方箋に含まれて!/、ることが予め判明して 、る指定文字として(図 2 (a)参照)、例え ば、医療機関情報欄における「医師名」の「医師」が指定文字 No. 1に選定され、同 じ医療機関情報欄における「電話番号」の「電話」が指定文字 No. 2に選定されて ヽ たとする。また、「医師」の処方箋内位置は左から 1299ピクセルで上から 980ピクセ ルで右から 1332ピクセルで下から 1014ピクセルであったとすると、テンプレート情報 については(図 2 (b)参照)、指定文字 No. 1に係るデータ項目のうちパターンは「医 師」に,読取左は「1299」に,読取上は「980」に,読取右は「1332」に,読取下は「1 014」に予め設定される。同様にして、テンプレート情報において指定文字 No. 2に 係るデータ項目では、パターンは「電話」に,読取左は「1168」に,読取上は「884」 に,読取右は「1480」に,読取下は「1066」に予め設定されている。
[0065] 受付ルーチンは、このようなテンプレート情報を参照して指定文字を検出するとき( 図 1 (b)ステップ S 13)、テンプレート情報の読取左 ·読取右 ·読取上 ·読取下で想定 される処方箋内位置を中心にした例えば左右 100ピクセル上下 100ピクセルの処方 箋部分領域と、その第 1想定位置を逆さの処方箋に当てはめたときの第 2想定位置 を中心にした処方箋部分領域とに限定して、処方箋の画像イメージに文字認識処理 を施すようになつている。そして、指定文字 No. 1の文字「医師」と指定文字 No. 2の 文字「電話」とが第 1想定位置包含領域に見いだせれば、指定文字検出位置と第 1 想定位置との位置ずれを相殺するよう画像イメージの位置を補正する力 天地反転 処理は行わな ヽようになって!/、る。
[0066] これに対し、指定文字 No. 1の文字「医師」と指定文字 No. 2の文字「電話」とが第 2想定位置包含領域で見つ力つたときには、先ず、画像イメージに対して天地反転 処理を行うとともに、指定文字検出位置についても処方箋の天地反転に対応した位 置変換を行い、それから、変換後の指定文字検出位置と第 1想定位置との位置ずれ を相殺するよう画像イメージの位置を補正するようになっている。あるいは、指定文字 検出位置と第 2想定位置との位置ずれを相殺するよう画像イメージの位置を補正して から、画像イメージに対して天地反転処理を行う。その後、受付ルーチンは、処方箋 の画像イメージ力も鄞線を消去する鄞線消去処理を行い (ステップ S 15、特許文献 7 参照)、それから画像イメージ全領域に対するイメージ分割処理'文字認識処理 'デ ータ変換処理に移行するようになって 、る。
[0067] 画像イメージ全領域に対するイメージ分割処理 ·文字認識処理 ·データ変換処理で は、受付ルーチンが(図 1 (b)参照)、医療機関特定に基づくイメージ分割処理と (ス テツプ S21〜24)、処方箋の画像イメージに文字認識を施して文字データを得る文 字認識処理と (ステップ S25)、その文字データを処方箋データに変換するデータ変 換処理と (ステップ S26)を行う。文字認識処理とデータ変換処理は、処方箋データ が完成するまで、分割イメージを替えたり戻したりしながら、何度でも繰り返して行える ようになって!/、る(ステップ S 27)。
[0068] これらの部分 (ステップ S21〜S27)を詳述すると、イメージ分割処理では、目視確 認のため画像イメージをそのまま即ち処方箋全体を画面に表示したうえで (ステップ S21)、画像イメージに文字認識を施し更にその認識結果に文字列検索を行って医 療機関を特定しうる文字列が含まれている力否力判定する (ステップ S22)。その判 定結果が肯定的な場合 (ステップ S22の「有」)、例えば「〇〇〇病院」や「X X X診 療所」といった医療機関名が見つ力り而もそれが病院マスターに保持されているとき には、その医療機関名を自動採用するようになっている。
[0069] これに対し、上記の判定結果が否定的な場合には (ステップ S22の「無」)、病院マ スター中の医療機関名称を候補として画面に列挙して受付作業者に選択させたり、 画面中の入力欄へ受付作業者に医療機関名の入力を求めたりして、医療機関の指 定を受けるようになつている (ステップ S23)。医療機関の特定が済むと、その医療機 関に対応した処方箋の形式を選定するとともに (ステップ S24)、その形式に基づい て画像イメージを分割処理するようにもなつて 、る。
[0070] 処方箋の形式は(図 3 (a) , (b)参照)、ここでは画像イメージの分割に関係するもの が重要であり、典型例としては、図示した医療機関情報欄や,患者情報欄,調剤情 報欄,保険情報欄,図示しない注釈欄などに大別され、それらの処方箋における配 置が医療機関ごとに規定され医療機関で異なることが多い。
[0071] そして、それを反映した病院マスターには(図 3 (c)参照)、医療機関ごとに、それに 対応した処方箋の形式データが、すなわち基礎情報と処方箋欄分割情報とが、対応 づけて保持されている。
[0072] そのうち基礎情報は(図 3 (c)参照)、医療機関情報欄 (図 3 (a) , (b)参照)の記載 事項を電子データにしたものである処方箋データの医療機関情報(図 3 (d)参照)と 同じかそれに準ずるものである(図 3 (c)参照)。
[0073] また、処方箋欄分割情報には (図 3 (c)参照)、上記の各欄に関する配置情報が含 められている。配置情報は、例えば、該当欄が長方形の場合、処方箋における該当 欄の対角点の位置などで規定されて 、る。配置情報を同じ欄にっ 、て繰り返し規定 するのも許容されて!、て、複数の長方形に分散した又はそれらを結合させた形状の 情報欄にも適合するようになって 、る。
[0074] 処方箋データは(図 3 (d)参照)、そのような処方箋の記載事項を電子データとして 得られる標準データ構造のものであり、例えば、それを薬歴管理や自動調剤などに 利用する薬局ホストコンピュータ 50に適合させて予めデータ構造が定められている。 それには、図示した医療機関情報や,患者情報,保険情報,調剤情報が含まれる他 、図示しない注釈情報なども常に又は選択的に含められる。医療機関情報には医療 機関名称などが含まれ、患者情報には患者名などが含まれ、保険情報には保険種 別や保険番号などが含まれ、調剤情報には、処方された薬品名と用量との組データ がー組または複数組'多数組含まれるようになって!/、る。
[0075] さらに、データ処理部 30は(図 1 (b)参照)、特定した医療機関に対応する処方箋 欄分割情報が得られると (ステップ S 24)、それに基づき処方箋の各欄ごとに画像ィメ ージを分割して分割イメージを幾つか作り、例えば医療機関情報欄の分割イメージ や,患者情報欄の分割イメージ,調剤情報欄の分割イメージ,保険情報欄の分割ィ メージなどを作り、そのうち何れかの分割イメージを画面に対比表示させて文字認識 処理 (ステップ S25)及びデータ変換処理 (ステップ S26)を行うようになって!/、る。
[0076] 文字認識処理では、変換欄対比表示が行われ (図 4 (a)参照)、選択された情報欄 に係る分割イメージ 31と、それに文字認識を施して得られた文字データの変 ,33 と力 左右に並んだ状態で、一画面に表示される。変^ 133は、マウスやキーの操 作等で選択した部分を受付作業者が文字列修正を行えるようになって 、る。情報欄 の選択切り替えは欄指定タブ 32のクリック等で行え、データ変換処理すなわち校正 欄対比表示画面への移行は特定ボタン例えば「校正欄表示」のクリック等で行えるよ うになつている。
[0077] データ変換処理では、変 mffl対比表示で得られた文字データを処方箋データに 反映させるとともに、校正欄対比表示が行われる(図 4 (b)参照)。この校正欄対比表 示では、選択された情報欄に係る分割イメージ 31と、処方箋データの各項目を列挙 した校正欄 34とが、左右に並んだ状態で、一画面に表示される。校正欄 34の各項 目には、項目名とデータ値とが含まれており、そのうちデータ値は、校正のため、マウ スゃキーの操作等で選択して修正できるようになって 、る。
[0078] 校正欄対比表示画面でも、情報欄の選択切り替えは欄指定タブ 32のクリック等で 行え、文字認識処理すなわち変換欄対比表示画面への戻り等は特定ボタン例えば「 変 ^ffl表示」のクリック等で行えるようになつている。すなわち、対比表示画面間の移 行も、情報欄の選択切替も、何時でも自由に行えるようになつている。
[0079] 校正欄対比表示画面で(図 4 (b)参照)、特定ボタン例えば「処方箋完成」のクリック 等がなされると、受付ルーチンは(図 1 (b)参照)、処方箋データが完成したと判定し て(ステップ S27の「Yes」 )、処方箋の受付処理を終えるようになって!/、る。
[0080] この具体例 1—1の処方箋受付装置 10について、その使用態様及び動作を、図面 を引用して説明する。
[0081] 処方箋受付装置 10を例えば薬局に設置する場合 (図 1 (a)参照)、処方箋走査部 2 0は受付カウンタ等に載置し、データ処理部 30や回線接続部 40はカウンタ内の作業 机等に載置し、両者をケーブル接続するとともに、薬局ホストコンピュータ 50に繋が つている局内 LAN等が有ればそれにもデータ処理部 30を接続する。
[0082] また、データ処理部 30には、受付ルーチンをインストールするとともに、データ初期 ィ匕も行う。すなわち、テンプレート情報には、処方箋に含まれていることが予め判明し ている指定文字のパターンや処方箋における指定文字の位置データを設定する。ま た、薬品マスターや,用法マスター,病院マスター,保険マスターには、薬局で扱う可 能性のある薬品名や,処方単位,医療機関対応の処方箋欄分割情報,保険の種類 などのデータを設定する。さら〖こ、注釈マスターや,患者マスターはクリアする。こうし て処方箋受付装置 10の稼動準備が調う。
[0083] そして、薬局を訪れた患者が処方箋をスキャナ 22にセットすると、処方箋走査部 20 によって、その処方箋がカウンタの外側から内側へ取り込まれ、その代わりに引換券 が発行される。その際、処方箋に受付番号が印刷されるとともに、処方箋の撮像が行 われる。この撮像で得られた画像イメージは、受付番号と共に、処方箋走査部 20から データ処理部 30へ送られ、データ処理部 30による処方箋データ作成に供される。
[0084] データ処理部 30では、受付ルーチンの処理によって、先ず処方箋の画像イメージ 全体がデータ処理部 30の画面に表示されるとともに、画像イメージ及び病院マスタ 一について医療機関名称の探索が行われる。そして、医療機関名が見つかればそ れが医療機関の特定に自動で採用され、医療機関名が見つ力もなければ、医療機 関の指定が促される。これに応じて受付作業者が医療機関を指定すると、それがデ ータ処理部 30の受付ルーチンの処理によって医療機関の特定に採用される。
[0085] 自動であれ手動であれ医療機関が特定されると、データ処理部 30では、受付ルー チンの処理によって、病院マスター力 基礎情報の医療機関名称の一致する処方箋 の形式データが選定される。具体的には、その基礎情報と対応づけられている処方 箋欄分割情報が病院マスター力 読み出される。
[0086] さらに、データ処理部 30の受付ルーチンの処理が続き、その自動処理では、処方 箋欄分割情報が得られると、それに基づ 、て画像イメージが幾つかの分割イメージ に分割され、その分割イメージ単位で、文字認識および変換欄対比表示や(図 4 (a) 参照)、校正欄対比表示が行われる(図 4 (b)参照)。
[0087] そこで、受付作業者は、それらの対比表示画面を適宜切り替えながら見て、必要で あれば紙の処方箋も見て、処方箋データを完成させる。そして、完成確認後、処方箋 完成のボタンをクリックする等して、データ処理部 30に処方箋の受付処理を終えさせ る。
[0088] データ処理部 30では、処方箋の受付処理の最後に、完成した処方箋データが薬 局での処方箋管理に供される。例えば、データ処理部 30から薬局ホストコンピュータ 50へ送出されて、患者毎の薬歴管理や, 自動調剤機への配信などに用いられる。
[0089] こうして、紙の処方箋力 電子データの処方箋データが得られるが、その際、文字 認識を利用して半自動で処方箋データ入力が行われる。し力も、その文字認識に際 し、医療機関に対応した画像イメージの分割処理に加えて、分割イメージ 31と変換 欄 33との対比表示、及び分割イメージ 31と校正欄 34との対比表示も行われるので、 処方箋データ入力を極めて能率良く行うことができる。 [0090] また、患者が薬局へ行く前に病院のファクシミリや自宅の FAX電話に処方箋を読 み込ませて処方箋を薬局へファクシミリ送信したときにも、その処方箋の画像イメージ が回線接続部 40を介してデータ処理部 30に入力されるが、この場合は、画像ィメー ジに対して先にキャリブレーションが施され、キャリブレーション後の画像イメージが上 述したような処方箋データ作成に供される。すなわち、データ処理部 30で、受付ルー チンの処理によって(図 1 (b)ステップ S13参照)、テンプレート情報が参照され(図 2 ( b)参照)、そこに予め設定されて 、る「医師」や「電話」等の指定文字が画像イメージ の一部領域力 検出される(図 2 (a)参照)。
[0091] そして、その検出結果に基づいて処方箋の画像イメージの全体に対し天地反転処 理と位置補正処理が選択的に行われ(図 1 (b)ステップ S 14参照)、鄞線消去処理も 行われる(図 1 (b)ステップ S 15参照)。
[0092] それから、処方箋走査部 20で画像イメージを入力したときと同様にして、データ処 理部 30の受付処方ルーチンの処理によって、処方箋の画像イメージ力 処方箋デ ータが作成される(図 1 (b)ステップ S21〜S27参照)。
[0093] すなわち、上述したように、処方箋の画像イメージ全体がデータ処理部 30の画面に 表示されるとともに、文字認識による自動で或いは操作入力による手動で医療機関 が特定され、それに該当する処方箋の形式データが選定され、それに基づいて画像 イメージが幾つかの分割イメージに分割され、その分割イメージ単位で、文字認識お よび変麵対比表示や (図 4 (a)参照)、校正欄対比表示が行われる(図 4 (b)参照) 。そして、受付作業者がそれらの対比表示画面を適宜切り替えながらデータを修正し たり補充することにより、処方箋データが完成する。
[0094] こうして、処方箋がファクシミリにて処方箋受付装置 10に送信されてきた場合にも、 その処方箋の画像イメージが受信され、この画像イメージ力 電子データの処方箋 データが得られる。この場合も文字認識を利用して半自動で処方箋データ入力が行 われるが、この場合は、画像イメージの全領域に対する文字認識に先立って、画像ィ メージの一部領域に対する文字認識が行われ、これを利用して簡便かつ的確に指 定文字の検出と天地反転処理と位置補正処理が行われ、さらには鄞線消去処理も 行われることから、ファクシミリ送受信手法に文字認識手法を組み合わせて 、ても文 字認識率が低下しないので、処方箋データ入力を極めて能率良く行うことができる。
[0095] [具体例 1 2]
第 1の実施形態の具体例 1—2について、その具体的な構成を、図面を引用して説 明する。図 5は、(a)が受付処理のフローチャート、(b)が引替券の例である。なお、 図 5 (a)のフローチャートにおいて、ステップ S13〜S27は、図 1 (b)と同じで、繰り返 しとなるので、記載を省略している。
[0096] この処方箋受付装置が上述した具体例 1 1のものと相違するのは、ファクシミリ受 信部に加えてファクシミリ送信部も必要になった点と、高精細モードでの再送依頼と 引替券の発行をファクシミリ送信にて行うようになった点である。
[0097] ファクシミリ送信部は、ファクシミリ受信部と同じ回線に接続されていて、処方箋をフ ァクシミリ送信してきた患者へファクシミリにて返信できるようになって!/、れば良!、。上 述した回線接続部 40が送受信一体形であればその送信部で足り、そうでなければ 別個に追加するれば良ぐ外付けタイプでもコンピュータ内蔵タイプでも良い。
[0098] 高精細モードでの再送依頼と引替券の発行は、データ処理部 30の受付ルーチン を機能拡張することで簡便に具現化されている。具体的には(図 5 (a)参照)、処方箋 の画像イメージがファクシミリ送受信にて入力されたら (ステップ S 12の「Yes」)、テン プレート情報に基づいて指定文字を検出する前に (ステップ S13)、処方箋の画像ィ メージが画素ピッチの細か!/、高精細モードで送られてきたのか或いは画素ピッチの 粗いノーマルモードで送られてきたのかを確認して (ステップ S31)、高精細モードで あれば (ステップ S31の「Yes」)、文字認識処理等に供するが (ステップ S13)、高精 細モードでなければ (ステップ S31の「No」)、高精細モードでの再送を依頼する文章 の記載された画像イメージをファクシミリ送信して処理を打ち切るようになつている (ス テツプ S32)。
[0099] また、データ処理部 30の受付ルーチンは、ファクシミリ送受信にて入力された処方 箋の画像イメージについて処方箋データへの変換が完了したとき (ステップ S27)、フ ァクシミリ送信部を介して引替券の画像イメージを送信するようになって!/、る (ステップ S33)。この引替券イメージには(図 5 (b)参照)、引換券発行ユニット 21で発行する 引替券に印刷するのと同様の受付番号や受付日時に加えて、薬局名や電話番号等 の薬局情報,薬局の地図,さらには処方箋イメージの縮小画像なども、含めるように なっている。
[0100] この場合、患者が、自宅の FAX等で薬局へ処方箋をファクシミリ送信する際、うつか り不適切なノーマルモードで送信すると、その場で高精細モードでの再送依頼をファ クシミリ受信することになるので、直ちに適切な高精細モードで送り直すことができる。 し力も、薬局の処方箋受付装置 10では、文字認識率が悪くて処方箋データ入力の 能率が低!、処理や作業を回避することができる。
[0101] また、ファクシミリ送信した処方箋が薬局の処方箋受付装置 10にて受け付けられた ときには、やはり直ちに引替券がファクシミリで返信されて、それを患者が自宅の FA X等で受信することができる。薬局へ出向く前に引替券を入手することができるうえ、 その引替券には薬局へ行くのに役立つ地図情報等も記されているので、極めて便利 である。
[0102] [その他]
上記具体例の処方箋受付装置では、処方箋の画像イメージを入力する入力手段と して回線接続部 40 (ファクシミリ受信部)と処方箋走査部 20とが設けられて 、たが、 処方箋走査部 20を省 、てファクシミリ受信専用の処方箋受付装置としても良!、。
[0103] また、上記具体例では、処方箋走査部 20とデータ処理部 30と回線接続部 40とが 別体になっていた力 これらは、別体に限られる訳でなぐ一体ィ匕されていても良い。 一体化は、処方箋走査部 20とデータ処理部 30の部分、処方箋走査部 20と回線接 続部 40の部分、データ処理部 30と回線接続部 40の部分だけでも良 、。
[0104] さらに、上記具体例では、校正欄 34の対比表示を分割イメージ 31と並べて行うよう にしたが、変 ^«33と校正欄 34とを並べて対比表示しても良ぐ分割イメージ 31と変 33と校正欄 34とを一画面に並べて対比表示しても良い。
[0105] また、上述した文字認識機能に加えてコード変 能もデータ処理部に付与し、処 方箋の画像イメージに二次元コード等のコードが有るときにはそれをデータ処理部が 処方箋データに変換し、そのようなコードの無いときだけデータ処理部が画像ィメー ジに文字認識を施して処方箋データへの変換を行うようにしても良 、 (例えば特願 2 004— 308931参照)。鄞線消去処理をファクシミリ送受信時に限らず処方箋走査部 20で読み取ったときにも行うようにしても良!、。
[0106] [第 2の実施形態]
第 2の実施形態は、薬局や病院などで処方箋の自動受付に用いられる処方箋受付 装置に関し、詳しくは、処方箋の画像イメージ (処方箋イメージ)を文字認識にて文字 データやバイナリデータ等の内部形式電子データ (処方箋データ)に変換することに より処方箋の記載情報を取得する処方箋受付装置に関する。
[0107] 第 2の実施形態に係る第 1の処方箋受付装置は、処方箋の画像イメージを入力す る入力手段と、前記画像イメージに文字認識処理を施すことにより前記画像イメージ から処方箋データを得るデータ処理部とを備えた処方箋受付装置において、前記デ ータ処理部が、処方箋に含まれていることが予め判明している指定文字に係る処方 箋内位置データを含んだテンプレート情報を保持しており、前記文字認識処理に際 して、前記テンプレート情報に基づ!、て前記画像イメージの一部領域に前記指定文 字の検出処理を施し、その検出結果に基づいて前記画像イメージに位置補正処理 を施し、それから前記画像イメージの残部領域を処理するものであって、更に、前記 テンプレート情報を更新するに際して、前記画像イメージと前記テンプレート情報と 前記指定文字の入力欄とを並べて画面表示し、該入力欄への文字入力に応じて前 記指定文字を設定し、前記画像イメージの表示領域における部分領域の指定に応じ て前記テンプレート情報の前記処方箋内位置データを設定するものであることを特 徴とする。
[0108] また、第 2の実施形態に係る第 2の処方箋受付装置は、上記第 1の処方箋受付装 置であって、前記データ処理部が、前記テンプレート情報の更新に際し、前記テンプ レート情報に基づく前記画像イメージの前記一部領域に文字認識処理を施して文字 データを取得し、この文字データと前記指定文字とがー致して 、る力否かを確認し、 不一致のときには注意を促すようになつていることを特徴とする。
[0109] さらに、第 2の実施形態に係る第 3の処方箋受付装置は、上記第 1または第 2の処 方箋受付装置であって、前記データ処理部が、前記テンプレート情報の更新に際し 、前記画像イメージに文字認識処理を施して文字データに変換し、その文字データ について前記指定文字を検索し、その検索にて前記指定文字と同じ文字が見いださ れた箇所にっ 、て前記画像イメージの対応箇所を強調表示するようになって 、ること を特徴とする。
[0110] また、第 2の実施形態に係る第 4の処方箋受付装置は、上記第 1〜第 3のいずれか の処方箋受付装置であって、前記データ処理部が、前記文字認識処理に際して、前 記指定文字の検出結果に基づき前記画像イメージに対し前記位置補正処理に加え て天地反転処理をも施すものであって、更に、前記テンプレート情報を更新するに際 して、前記画像イメージを天地反転させたら前記指定文字に係る前記一部領域へ来 ることになる前記画像イメージ中の反転位置部分領域とそれを拡張した拡張領域と の何れか一方の領域または双方の領域にっ 、て強調表示を行うようになって!/、るこ とを特徴とする。
[0111] また、第 2の実施形態に係る第 5の処方箋受付装置は、上記第 4の処方箋受付装 置であって、前記データ処理部が、前記テンプレート情報の更新に際し、前記反転 位置部分領域と前記拡張領域との何れか一方の領域または双方の領域に文字認識 処理を施して文字データを取得し、この文字データと前記指定文字とがー致して 、る か否かを調べ、一致して 、る文字の有るときには警告を発するようになって!/、ることを 特徴とする。
[0112] また、第 2の実施形態に係る第 6の処方箋受付装置は、上記第 3〜第 5のいずれか の処方箋受付装置であって、前記データ処理部が、前記テンプレート情報を画像ィ メージと共に処方箋様式毎に保持していて、前記テンプレート情報の更新に際し、更 新対象の処方箋様式とは異なる他の処方箋様式に対応する画像イメージについても 、前記指定文字の検索と対応箇所の強調表示、前記反転位置部分領域と前記拡張 領域との一方または双方の強調表示、あるいは前記一部領域と前記反転位置部分 領域と前記拡張領域とのうち何れか一つの領域または複数の領域に係る前記指定 文字の一致調査と一致警告を行うようになって!/ヽることを特徴とする。
[0113] 第 1の処方箋受付装置にあっては、処方箋の画像イメージに文字認識処理を施す とき、先ずテンプレート情報に基づいて画像イメージの一部領域に指定文字の検出 処理が施され、次にその検出結果に基づいて画像イメージに位置補正処理が施さ れ、それから画像イメージの残部領域にも文字認識処理が施される。このように、処 方箋に含まれていることが予め判明している指定文字の検出を行って位置を補正す るようにしたことにより、文字認識率が向上する。
[0114] また、テンプレート情報を更新するときには、画像イメージやテンプレート情報にカロ えて指定文字の入力欄も並べて画面表示される。
[0115] そして、その入力欄に文字をキーボード操作等で入力することにより指定文字が設 定され、画像イメージの表示領域における部分領域をマウス操作等で指定することに より処方箋内位置がデータテンプレート情報に設定される。このように並列表示に指 定文字の入力欄を追加して文字入力を行うようにしたことにより、文字認識の誤りに 左右されることが無くなるうえ、領域指定の容易性を損なうことなぐ指定文字に係る 画像イメージの一部領域の更新と指定文字の更新とを独自のタイミングで行うことも 可能となって、指定文字の変更が何時でも行えることとなる。
[0116] したがって、第 1の処方箋受付装置によれば、テンプレート情報を更新するに際し て指定文字の更新が容易に行える処方箋受付装置を実現することができる。
[0117] また、第 2の処方箋受付装置にあっては、テンプレート情報を更新するとき、テンプ レート情報に基づく画像イメージの一部領域に文字認識処理が施され、それで得ら れた読み取り文字データが、指定文字に自動設定されるのでなぐ入力欄で設定さ れた指定文字との不一致注意処理に供される。すなわち、それらの読取文字と指定 文字とがー致しているか否かが確認され、不一致のときには注意が促される。
[0118] これに応じて指定文字の入力作業者は不一致の原因が文字認識処理の誤読にあ るの力入力欄への入力ミスにあるのかを精査することになるので、テンプレート情報 の誤設定を防止することができる。し力も、注意が促されるまでは気軽に入力作業を 行えるので作業者の精神的な負担が軽減される。
[0119] したがって、第 2の処方箋受付装置によれば、テンプレート情報を更新するに際し て指定文字の更新が容易かつ的確に行える処方箋受付装置を実現することができ る。
[0120] さらに、第 3の処方箋受付装置にあっては、テンプレート情報を更新するとき、画像 イメージの全域等の広範囲領域に文字認識処理が施され、それで得られた読み取り 文字データについて指定文字と同じ文字を探す検索が行われ、同一文字の見いだ された箇所については画像イメージの対応箇所が強調表示される。
[0121] この表示を目視確認することにより、指定文字の入力作業者は指定文字の有効性 を容易且つ的確に把握することができる。
[0122] したがって、第 3の処方箋受付装置によれば、テンプレート情報を更新するに際し て指定文字の更新が容易かつ的確に行える処方箋受付装置を実現することができ る。
[0123] また、第 4の処方箋受付装置にあっては、処方箋の画像イメージに文字認識処理を 施すとき、処方箋に含まれていることが予め判明している指定文字の検出を行って位 置を補正するにとどまらず必要に応じて天地反転処理まで行うようにしたので、文字 認識率が向上するうえ、処方箋受付装置の入力手段に対して処方箋を逆向きにセッ トしたとしても処方箋が不都合なく受け付けられるため、処方箋受付装置の使い勝手 が良い。し力も、テンプレート情報を更新するときには、画像イメージ中の反転位置部 分領域やその拡張領域につ!、て強調表示が行われるので、指定文字の入力作業者 は指定領域ば力りでなく反転位置にも自然に注意を払うこととなるため、不適当な文 字が指定文字に選択されることが少なくなる。
[0124] したがって、第 4の処方箋受付装置によれば、テンプレート情報を更新するに際し て指定文字の更新が容易に行えるうえ使 、易 、処方箋受付装置を実現することがで きる。
[0125] また、第 5の処方箋受付装置にあっては、テンプレート情報を更新するときには、上 述した反転位置等の強調表示に加えて、反転位置等に係る一致警告処理も行われ る。すなわち、画像イメージ中の反転位置部分領域やその拡張領域に文字認識処 理が施され、それで得られた読み取り文字データについて指定文字と同じ文字を探 す検索が行われ、同一文字が見いだされたときには、強調表示より強い警告が発せ られる。
[0126] これにより、逆向きセットの処方箋の受付を損なうおそれのある文字を指定文字に 設定するといぅ不所望な作業が未然に防止される。
[0127] したがって、第 5の処方箋受付装置によれば、テンプレート情報を更新するに際し て指定文字の更新が容易かつ的確に行えるうえ使い易い処方箋受付装置を実現す ることがでさる。
[0128] また、第 6の処方箋受付装置にあっては、テンプレート情報が画像イメージと共に処 方箋様式毎に保持されて複数 '多数になっている。そして、テンプレート情報を更新 するとき、更新対象の処方箋様式とは異なる他の処方箋様式に対応する画像ィメー ジについても、第 3の処方箋受付装置引用の場合は指定文字の検索と対応箇所の 強調表示が行われ、第 4の処方箋受付装置引用の場合は反転位置部分領域やその 拡張領域の強調表示が行われ、第 5の処方箋受付装置引用の場合は一部領域や 反転位置等に係る指定文字の一致調査と一致警告が行われる。そのため、更新対 象の処方箋様式ばかりか、他の処方箋様式についても、指定文字の不適切な設定 が未然に防止される。
[0129] したがって、第 6の処方箋受付装置によれば、各種の処方箋を受け付けるとともに テンプレート情報を更新するに際して指定文字の更新が容易かつ的確に行える処方 箋受付装置を実現することができる。
[0130] 第 2の実施形態に係る第 7の処方箋受付装置は、上記のいずれかの処方箋受付装 置であって、前記画像イメージに文字認識処理を施す際に、前記処方箋を発行した 医療機関を特定して、対応した処方箋様式を選定し、その様式に基づいて前記画像 イメージを分割処理することを特徴とする。
[0131] この場合、処方箋の画像イメージに係る文字認識に際して、その処方箋を発行した 医療機関が特定され、それに対応した処方箋様式が選定され、さらに、その様式に 基づいて画像イメージが分割処理される。このように、各医療機関の発行する処方箋 の項目配置パターンに対応した分割パターンで画像イメージが分割され、それぞれ の分割イメージに文字認識が施されるようにしたことにより、文字認識時の文字デー タの候補や処方箋データへの変換時の項目候補が絞り込まれるので、データ変換の 精度が向上する。
[0132] 第 2の実施形態に係る第 8の処方箋受付装置は、上記第 7の処方箋受付装置であ つて、前記画像イメージの分割イメージとそれを文字データに変換して表示させた変 とを対比させて画面表示することを特徴とする。
[0133] この場合、処方箋の画像イメージに係る文字認識に際して、画像イメージの分割ィ メージとそれを文字データに変換して表示させた変 mfflとが画面に対比表示される。 これにより、文字認識の結果を容易に確認することができ、その結果を処方箋データ に変換する前に、文字認識をやり直したり文字データを修正するといつたことも行える
[0134] 第 2の実施形態に係る第 9の処方箋受付装置は、上記第 8の処方箋受付装置であ つて、前記処方箋データを項目ごとに項目名を付して校正可能に表示させた校正欄 を、上記分割イメージ及び上記変 ^fflの何れか一方または双方と対比させて、画面 に表示することを特徴とする。
[0135] この場合、処方箋の画像イメージに係る文字認識に際して、処方箋データを項目ご とに項目名を付して校正可能に表示させた校正欄も、分割イメージ等と対比される状 態で、画面に表示される。これにより、文字認識の結果を反映させた処方箋データを 容易に確認することができ、人手介助の必要な校正も、分割イメージ等と見比べるこ とで、容易に行える。
[0136] 第 2の実施形態に係る第 10の処方箋受付装置は、上記のいずれかの処方箋受付 装置であって、前記入力手段としてファクシミリ受信部が設けられている、というもので ある。
[0137] この場合、ファクシミリ受信部が処方箋の画像イメージの入力手段として装置に組 み込まれて ヽるので、ファクシミリ送受信された画像イメージがそのまま文字認識処理 に供される。これにより、受信後の再撮像が回避されることから、薬局側での処方箋 読取作業が不要になるうえ、画質の劣化が送信側での撮像時だけで済むので、従来 よりも画質が良好に維持される。そのため、文字認識率も良くなる。したがって、この 実施形態によれば、ファクシミリ送信にて患者の待ち時間を削減できるうえ薬局にとつ てもデータ入力の能率が良い処方箋受付装置を実現することができる。
[0138] 第 2の実施形態に係る第 11の処方箋受付装置は、上記第 10の処方箋受付装置で あって、前記ファクシミリ受信部と同じ回線に接続されたファクシミリ送信部が設けられ 、前記ファクシミリ受信部を介して処方箋を受け付けると引替券の画像イメージを生 成して前記ファクシミリ送信部から送信することにより引替券の発行を行うようになって いる、というものである。 [0139] この場合、患者が処方箋をファクシミリ送信するとその場で引替券をファクシミリ受信 できるので、遠隔地での受付作業であっても薬局での作業と同じく簡便かつ的確に 遂行されることとなる。したがって、この実施形態によれば、ファクシミリ送信にて患者 の待ち時間を削減でき而も何処カゝらでも送信できるうえ引替券も受け取れて便利で あり更に薬局にとってもデータ入力の能率が良い処方箋受付装置を実現することが できる。
[0140] 第 2の実施形態に係る処方箋受付装置について、これを実施するための具体的な 形態を、以下の具体例 2— 1〜2— 2により説明する。
[0141] 図 6〜10に示した具体例 2—1は、上述した第 1〜第 10の処方箋受付装置を具現 化したものであり、図 11に示した具体例 2— 2は、上述した第 11の処方箋受付装置 を具現ィ匕したものである。
[0142] [具体例 2— 1]
第 2の実施形態の具体例 2—1について、その具体的な構成を、図面を引用して説 明する。図 6は、処方箋受付装置 110の構造を示し、(a)がハードウ ア構成図、 (b) が受付処理のフローチャートである。また、図 7は、(a)が処方箋の情報欄の配置例と 指定文字の例、(b)がテンプレート情報のデータ構造例である。さらに、図 8は、(a) が処方箋の情報欄の配置例、(b)が他の配置例、(c)が病院マスターのデータ構造 例、(d)が処方箋データの構造例である。また、図 9は、(a)が変換欄対比表示画面 の一例、(b)が校正欄対比表示画面の一例であり、図 10は、(a)がテンプレート更新 画面の一例、(b)がテンプレート更新の基本手順を示すフローチャートである。
[0143] 処方箋受付装置 110は(図 6 (a)参照)、処方箋走査部 120とデータ処理部 130と 回線接続部 140とを具えている。処方箋走査部 120も、回線接続部 140も、処方箋 の画像イメージをデータ処理部 130に入力する入力手段として設けられており、それ ぞれ信号ケーブルでデータ処理部 130に接続されて!、る。処方箋走査部 120は紙 媒体の処方箋を薬局で直に撮像するのに対し、回線接続部 140は、遠隔地で撮像 された処方箋イメージ (処方箋の画像イメージ)がファクシミリ送信されて来たら、それ を受信してデータ処理部 130に引き渡すものである。
[0144] そのため、回線接続部 140は、図示しない電話回線やファクシミリ回線網など外部 の通信回線に接続されてファクシミリ受信できるようになつていれば良ぐ市販の所謂 FAXモデムやターミナルアダプタ等で足りる。この具体例では、ファクシミリ受信部と して受信さえ出来れば足りるが、この受信部と同じ回線に接続されたファクシミリ送信 部と一緒になつていても良ぐ音声での通話が可能になっていても良ぐ図示したよう な外付けタイプでも図示しな 、コンピュータ内蔵タイプでも良 、。
[0145] 処方箋走査部 120は、差込み口に処方箋が投入されるとそれを移送路 124へ送り 込みながら処方箋の撮像を行うスキャナ 122と、移送路 124に臨んで設けられ処方 箋に受付番号を印刷するプリントヘッド 125と、処方箋を受け付けた代わりに引換券 を発行する弓 I換券発行ュ-ット 121と、操作スィッチや状態表示部材を配設した操作 ノネル 126と、それらの動作制御を行うローカルコントローラ 123とを具えていて、ス キヤナ 122で撮った画像イメージを受付番号と共にデータ処理部 130へデータ送信 するようになっている。
[0146] データ処理部 130のハードウェアは、図示のような所謂デスクトップパソコンや図示 しな ゾートバソコンなどの汎用コンピュータで良ぐ処方箋走査部 120や回線接続 部 140から送られてきた画像イメージ力も処方箋データを得るために、データ処理部 130のプログラムメモリ等には受付ルーチンとテンプレート更新ルーチンがインスト一 ルされ、データ処理部 130に内蔵の又は外付けのハードディスク等には、テンプレー ト情報や,病院マスター,患者マスター,保険マスター,薬品マスター,用法マスター ,注釈マスターなどのデータ群力 適宜なファイル形式やテーブル形式に分かれて 或いはデータベースに統合されて、記憶保持されて 、る。
[0147] テンプレート情報には、後で詳述するが、処方箋に含まれていることが予め判明し ている指定文字のコード又はパターンや、処方箋における指定文字の位置データが 含まれており、テンプレート情報は指定文字の検出およびその検出結果に基づく画 像イメージの天地反転処理や位置補正処理に用いられる。
[0148] 病院マスターには、やはり後で詳述するが、それぞれの医療機関に対応した処方 箋様式のデータが含まれており、病院マスターは画像イメージの分割に用いられる。
[0149] ここでは医療機関毎に処方箋様式が一つ規定されているものとして、病院マスター のレコード数もテンプレート情報のレコード数も処方箋様式の種類と同じ数になって いる。
[0150] 患者マスターには、患者の氏名や生年月日さらには患者コード等のデータが含ま れており、患者名の確認や過去処方提示の手がかり等に用いられる。保険マスター には、保険の種類などのデータが含まれており、保険の種類の確認や候補提示に用 いられる。薬品マスターには、薬品名や薬品コード等のデータが含まれており、薬品 名の確認や候補提示などに用いられる。用法マスターには、処方単位や服用限度な どのデータが含まれており、処方内容の確認や候補提示などに用いられる。注釈マ スターは、特記事項やコメント等の文字列データを追加書き込みできるようになって いる。
[0151] 受付ルーチンは(図 6 (b)参照)、先ず動作モードがテンプレート更新モードに設定 されて 、るか受付モードに設定されて 、るか確認して (ステップ S111)、テンプレート 更新モードになっているときには後述のテンプレート更新ルーチンに処理を委ねるが (ステップ S150)、受付モードになっているときには以下の受付処理を行うようになつ TV、る(ステップ S 111〜S127)。
[0152] すなわち、受付モード下で、受付ルーチンは、処方箋走査部 120で処方箋の読取 が行われてその画像イメージが処方箋走査部 120からデータ処理部 130に送られて きたときに加えて、外部のファクシミリで処方箋の読取が行われてその画像イメージが 回線接続部 140を介してデータ処理部 130に送られてきたときも、先ずはその画像ィ メージを入力するようになって!/、る(ステップ S 112)。
[0153] そして、その画像イメージ力も処方箋データを得るために、その画像イメージに文字 認識処理等を施すが、その処理を二段階に分けて行う。具体的には、キヤリブレーシ ヨンのため処方箋の画像イメージの一部領域にだけ文字認識処理を施す前処理段 階(ステップ3113〜3115)と、画像イメージ全領域に対して文字認識処理等を施す 本処理段階 (ステップ S121〜S127)とが行われる。なお、ここでは、画像イメージを 直接読取で入力したときもファクシミリ受信で入力したときも前処理と本処理の二段階 処理を行うようにした力 直接読取時には前処理が不要であることが判明している場 合は、処方箋走査部 120で読み取って画像イメージを入力したときには直ちに画像 イメージ全領域に対するイメージ分割処理 ·文字認識処理 ·データ変換処理に移行し 、回線接続部 140を介するファクシミリ受信にて画像イメージを入力したときだけ二段 階の処理を行うようにしても良 、。
[0154] 先ず前者の前処理段階について詳述すると (ステップ S113〜S115)、このキヤリ ブレーシヨン用の前処理は、簡便かつ的確に調整を遂行するため、テンプレート情報 を利用しており、テンプレート情報に基づいて指定文字を検出し (ステップ S113)、そ の結果、画像イメージが逆さであることが判明したときには画像イメージを 180°回転 させることにより天地反転処理を行い、画像イメージが位置ずれしていることが判明し たときには画像イメージを上下左右に移動させることにより位置補正処理を行い (ステ ップ S 114)、処方箋の画像イメージ力 鄞線を消去する鄞線消去処理も行うようにな つている (ステップ S 115、特許文献 7参照)。
[0155] 処方箋に含まれて!/、ることが予め判明して 、る指定文字として(図 7 (a)参照)、例え ば、医療機関情報欄における「医師名」の「医師」が指定文字 No. 1に選定され、同 じ医療機関情報欄における「電話番号」の「電話」が指定文字 No. 2に選定されて ヽ たとする。また、「医師」の処方箋内位置は左から 1299ピクセルで上から 980ピクセ ルで右から 1332ピクセルで下から 1014ピクセルであったとすると、テンプレート情報 については(図 7 (b)参照)、指定文字 No. 1に係るデータ項目のうちパターンは「医 師」に,読取左は「1299」に,読取上は「980」に,読取右は「1332」に,読取下は「1 014」に予め設定される。同様にして、テンプレート情報において指定文字 No. 2に 係るデータ項目では、パターンは「電話」に,読取左は「1168」に,読取上は「884」 に,読取右は「1480」に,読取下は「1066」に予め設定されている。このようなテンプ レート情報は、処方箋様式ごとに設けられ、それぞれの情報を設定するとき参照した 処方箋の画像イメージと対応づけられて 、る。
[0156] 受付ルーチンは、このようなテンプレート情報を参照して指定文字を検出するとき( 図 6 (b)ステップ S 113)、テンプレート情報の読取左 ·読取右 ·読取上 ·読取下で想定 される処方箋内位置を中心にした例えば左右 100ピクセル上下 100ピクセルの処方 箋部分領域 (テンプレート情報に基づく画像イメージの一部領域)と、その第 1想定位 置を逆さの処方箋に当てはめたときの第 2想定位置を中心にした処方箋部分領域( 画像イメージ中の反転位置部分領域)とに限定して、処方箋の画像イメージに文字 認識処理を施すようになつている。そして、指定文字 No. 1の文字「医師」と指定文字 No. 2の文字「電話」とが第 1想定位置包含領域 (テンプレート情報に基づく画像ィメ ージの一部領域)に見いだせれば、指定文字検出位置と第 1想定位置との位置ずれ を相殺するよう画像イメージの位置を補正するが、天地反転処理は行わな 、ようにな つている。
[0157] これに対し、指定文字 No. 1の文字「医師」と指定文字 No. 2の文字「電話」とが第 2想定位置包含領域 (反転位置部分領域の拡張領域)で見つ力 たときには、先ず、 画像イメージに対して天地反転処理を行うとともに、指定文字検出位置についても処 方箋の天地反転に対応した位置変換を行い、それから、変換後の指定文字検出位 置と第 1想定位置との位置ずれを相殺するよう画像イメージの位置を補正するように なっている。あるいは、指定文字検出位置と第 2想定位置との位置ずれを相殺するよ う画像イメージの位置を補正してから、画像イメージに対して天地反転処理を行う。そ の後、受付ルーチンは、鄞線消去処理を行って、処方箋の画像イメージから鄞線を 消去し (ステップ S115)、それから二段階処理のうちの本処理すなわち処理画像ィメ ージ全領域に対するイメージ分割処理 ·文字認識処理 ·データ変換処理 (ステップ S 121〜S127)【こ移行するよう【こなって ヽる。
[0158] 画像イメージ全領域に対するイメージ分割処理 ·文字認識処理 ·データ変換処理で は、受付ルーチンが(図 6 (b)参照)、医療機関特定に基づくイメージ分割処理と (ス テツプ S121〜124)、処方箋の画像イメージに文字認識を施して文字データを得る 文字認識処理と (ステップ S 125)、その文字データを処方箋データに変換するデー タ変換処理と (ステップ S 126)を行う。文字認識処理とデータ変換処理は、処方箋デ ータが完成するまで、分割イメージを替えたり戻したりしながら、何度でも繰り返して 行えるようになつている(ステップ S127)。なお、それらの処理の途中であっても画面 のボタン表示のクリック等にてテンプレート更新処理が選択されると後述のテンプレー ト更新ルーチンに処理を委ねるようにもなつている(図 6 (b)における破線の流れを参 照)。
[0159] テンプレート更新ルーチンは後で詳述するので、本処理段階の部分 (ステップ S 12 1〜S127)を詳述すると、イメージ分割処理では、目視確認のため画像イメージをそ のまま即ち処方箋全体を画面に表示したうえで (ステップ S121)、画像イメージ全体 に文字認識を施し更にその認識結果に文字列検索を行って医療機関を特定しうる 文字列が含まれている力否力判定する (ステップ S 122)。その判定結果が肯定的な 場合 (ステップ S122の「有」)、例えば「〇〇〇病院」や「X X X診療所」といった医療 機関名が見つ力り而もそれが病院マスターに保持されているときには、その医療機関 名を自動採用するようになって!/、る。
[0160] これに対し、上記の判定結果が否定的な場合には (ステップ S122の「無」)、病院 マスター中の医療機関名称を候補として画面に列挙して受付作業者に選択させたり 、画面中の入力欄へ受付作業者に医療機関名の入力を求めたりして、医療機関の 指定を受けるようになつている (ステップ S123)。医療機関の特定が済むと、その医 療機関に対応した処方箋様式を選定するとともに (ステップ S124)、その様式に基づ V、て画像イメージを分割処理するようにもなつて!/、る。
[0161] 処方箋の様式は(図 8 (a) , (b)参照)、ここでは画像イメージの分割に関係するもの が重要であり、典型例としては、図示した医療機関情報欄や,患者情報欄,調剤情 報欄,保険情報欄,図示しない注釈欄などに大別され、それらの処方箋における配 置が医療機関ごとに規定され医療機関で異なることが多い。
[0162] そして、それを反映した病院マスターには(図 8 (c)参照)、医療機関ごとに、それに 対応した処方箋様式のデータが、すなわち基礎情報と処方箋欄分割情報とが、対応 づけて保持されている。
[0163] そのうち基礎情報は(図 8 (c)参照)、医療機関情報欄 (図 8 (a) , (b)参照)の記載 事項を電子データにしたものである処方箋データの医療機関情報(図 8 (d)参照)と 同じかそれに準ずるものである(図 8 (c)参照)。
[0164] また、処方箋欄分割情報には(図 8 (c)参照)、上記の各欄に関する配置情報が含 められている。配置情報は、例えば、該当欄が長方形の場合、処方箋における該当 欄の対角点の位置などで規定されて 、る。配置情報を同じ欄にっ 、て繰り返し規定 するのも許容されて!、て、複数の長方形に分散した又はそれらを結合させた形状の 情報欄にも適合するようになって 、る。
[0165] 処方箋データは(図 8 (d)参照)、そのような処方箋の記載事項を電子データとして 得られる標準データ構造のものであり、例えば、それを薬歴管理や自動調剤などに 利用する薬局ホストコンピュータ 150に適合させて予めデータ構造が定められて!、る 。それには、図示した医療機関情報や,患者情報,保険情報,調剤情報が含まれる 他、図示しない注釈情報なども常に又は選択的に含められる。医療機関情報には医 療機関名称などが含まれ、患者情報には患者名などが含まれ、保険情報には保険 種別や保険番号などが含まれ、調剤情報には、処方された薬品名と用量との組デー タが一組または複数組'多数組含まれるようになって!/ヽる。
[0166] さらに、データ処理部 130は(図 6 (b)参照)、特定した医療機関に対応する処方箋 欄分割情報が得られると (ステップ S124)、それに基づき処方箋の各欄ごとに画像ィ メージを分割して分割イメージを幾つか作り、例えば医療機関情報欄の分割イメージ や,患者情報欄の分割イメージ,調剤情報欄の分割イメージ,保険情報欄の分割ィ メージなどを作り、そのうち何れかの分割イメージを画面に対比表示させて文字認識 処理 (ステップ S 125)及びデータ変換処理 (ステップ S 126)を行うようになって!/、る。
[0167] 文字認識処理では、変換欄対比表示が行われ (図 9 (a)参照)、選択された情報欄 に係る分割イメージ 131と、それに文字認識を施して得られた文字データの変換欄 1 33と力 左右に並んだ状態で、一画面に表示される。変^ 1133は、マウスやキー の操作等で選択した部分を受付作業者が文字列修正を行えるようになって 、る。情 報欄の選択切り替えは欄指定タブ 132のクリック等で行え、データ変換処理すなわち 校正欄対比表示画面への移行は特定ボタン例えば「校正欄表示」のクリック等で行 えるようになっている。
[0168] データ変換処理では、変 mffl対比表示で得られた文字データを処方箋データに 反映させるとともに、校正欄対比表示が行われる(図 9 (b)参照)。この校正欄対比表 示では、選択された情報欄に係る分割イメージ 131と、処方箋データの各項目を列 挙した校正欄 134とが、左右に並んだ状態で、一画面に表示される。校正欄 134の 各項目には、項目名とデータ値とが含まれており、そのうちデータ値は、校正のため 、マウスやキーの操作等で選択して修正できるようになって 、る。
[0169] 校正欄対比表示画面でも、情報欄の選択切り替えは欄指定タブ 132のクリック等で 行え、文字認識処理すなわち変換欄対比表示画面への戻り等は特定ボタン例えば「 変 ^ffl表示」のクリック等で行えるようになつている。すなわち、対比表示画面間の移 行も、情報欄の選択切替も、何時でも自由に行えるようになつている。同様に例えば「 テンプレート更新」ボタンのクリック等で、テンプレート更新処理へも移行できるように なっている。
[0170] 校正欄対比表示画面で(図 9 (b)参照)、特定ボタン例えば「処方箋完成」のクリック 等がなされると、受付ルーチンは(図 6 (b)参照)、処方箋データが完成したと判定し て(ステップ S 127の「Yes」 )、処方箋の受付処理を終えるようになって!/、る。
[0171] テンプレート更新ルーチンは(図 10参照)、様式の印刷された処方箋の画像ィメー ジがあれば、それを画面表示してテンプレート情報(図 7参照)や病院マスター(図 8 参照)に係るデータを追加や変更するためのものである。その対象とされる処方箋は 、処方未記入のものが望ましいが、処方記入済みでも構わない。その処方箋の画像 イメージは、新たに入力したものでも良ぐ過去に入力されて記憶保持されていたも のでも良ぐ何れにしても、その画像イメージ全体 131aと様式更新欄 135〜139とが 、左右に並んだ状態で、一画面に表示される(図 10 (a)参照)。
[0172] この様式更新欄 135〜139には、既存の様式番号の選択や新規な様式番号の入 力を行うとともに表示確認するための処方箋様式入力欄 135と、更新項目が基本情 報なの力キャリブレーション用の指定文字なの力他の例えば保険情報なのかを選択 するとともに表示確認するための更新項目選択欄 136と、医療機関の基礎情報など の基本情報を更新するとともに表示確認するための基本情報入力欄 137と、指定文 字を例えばキーボード打鍵操作やマウスクリック操作などで入力するとともに表示確 認するための指定文字入力欄 138と、設定済みのテンプレート情報を確認のため一 覧表示するとともに選択した項目の内容変更や新規データの追加入力を行うための テンプレート情報表示更新欄 139とが含まれている。
[0173] テンプレート更新ルーチンは(図 10 (a)参照)、特定ボタン例えば「分割欄設定」の クリック等による分割指示に何時でも応じるようになっており、その場合、マウスドラッ グ操作等によって画面表示中の画像イメージ全体 131aの部分領域が選択されると、 その部分領域を画する情報をテンプレート情報と病院マスターの処方箋欄分割情報 とに振り分けて設定する。更新項目選択欄 136が指定文字の更新を示しているとき には、その部分領域を上述した第 1想定位置 (指定文字に係る処方箋内位置データ
,画像イメージの一部領域)としてテンプレート情報に設定し、テンプレート情報表示 更新欄 139にも反映させるが(図 10 (a)矢付き二点鎖線を参照)、そうでないときには 、その部分領域を分割欄として病院マスターの処方箋欄分割情報に設定する。その 分割イメージ 131や画像イメージ全体 131aの表示は随時任意に切り替えられるよう になっている。
[0174] また、テンプレート更新ルーチンは、マウス操作によるボタンや様式更新欄 135〜1 39のクリック等に応じて各種の操作指示がなされると、それに応じた細かな更新処理 も行うようになっている(図 10 (b)ステップ S151参照)。具体的には、例えば、処方箋 様式入力欄 135に新規な様式番号が入力されると病院マスターやテンプレート情報 にレコードを追加するとともに画像イメージを対応付けて記憶保存し、処方箋様式入 力欄 135で既存の様式番号が選択されるとそれに対応する記憶保存中のテンプレ ート情報や画像イメージ等を画面表示するとともに更新可能状態におくようになって いる(ステップ S 152)。
[0175] さらに、テンプレート更新ルーチンは、操作指示が更新項目選択欄 136に基づく更 新項目の選択であれば、選択された項目を更新可能状態におくとともに確認のため 選択内容を更新項目選択欄 136に表示する (ステップ S153)。そして、基本情報入 力欄 137に入力がなされたときにはその入力データを例えば病院マスターの該当レ コードの該当箇所に設定し (ステップ S 154)、指定文字入力欄 138に文字入力がな されたときにはその文字データを指定文字に選定してテンプレート情報の該当レコー ドの該当箇所に設定する (ステップ S155)。この指定文字や,それに係る処方箋内 位置データ(上述した第 1想定位置 ·画像イメージの一部領域を規定するデータ)は、 テンプレート情報としてテンプレート情報表示更新欄 139に表示するとともに、テンプ レート情報表示更新欄 139での更新も認めるようになって 、る。
[0176] その他、テンプレート更新ルーチンは、特定ボタン例えば「一致確認」のクリック等 による指定文字一致確認等の指示にも応じるようになっており(ステップ S 156〜S 15 8)、その場合、更新対象の処方箋様式に対応する画像イメージについて、不一致注 意の処理を行うとともに (ステップ S 156)、検索等の処理と反転等の処理と一致警告 等の処理を行う(ステップ S157)。さらに、更新対象の処方箋様式とは異なる他の処 方箋様式に対応する画像イメージにつ 、て、検索等の処理と反転等の処理と一致警 告等の処理とを行う(ステップ S158)。そのとき、更新対象の処方箋様式については 一連の処理を一回だけ行うが、他の処方箋様式については既に設定されている様式 の数だけ一連の処理を繰り返すようになって 、る。
[0177] 各処理を詳述すると、不一致注意の処理では (ステップ S156)、更新対象の処方 箋様式に対応する画像イメージについて、指定文字に係る上述の第 1想定位置 (テ ンプレート情報に基づく画像イメージの一部領域)に文字認識処理を施して文字デ ータを取得し、この読み取り文字と設定済み指定文字とがー致して 、る力否かを判別 する。そして、読取文字と指定文字とがー致しているときには、適宜な確認済み表示 等を行うが、読取文字と指定文字とが不一致のときには、適宜なアラーム音や注意メ ッセージ表示で作業者に注意を促して、指定文字がそのままで良 、ことの確認をとつ たり、指定文字の訂正を受けたりするようになって!/、る。
[0178] 更新対象の処方箋様式に対応する画像イメージにつ!/、ての検索等の処理では (ス テツプ S157)、指定文字の検索と対応箇所の強調表示を行う。具体的には、画像ィ メージの全体かそれに近い広範な領域を対象として文字認識処理を施し、次々に文 字データ (文字列)に変換し、それから、その読み取り文字列の中に指定文字が含ま れて 、る力否か含まれて 、る場合はどこに有るかと!/、つた検索を行 、、その検索にて 指定文字と同じ文字が見いだされた箇所について画像イメージ全体 131aの対応箇 所を例えば白黒反転表示や点滅表示などで強調表示するようになって 、る。
[0179] 更新対象の処方箋様式に対応する画像イメージにつ!/、ての反転等の処理では (ス テツプ S157)、反転位置部分領域と拡張領域との一方または双方の強調表示を行う 。具体的には、画像イメージ全体 13 laを天地反転させたら指定文字に係る一部領 域 (上述の第 1想定位置)へ来ることになる画像イメージ中の反転位置部分領域 (上 述の第 2想定位置)を例えば赤枠で囲って強調表示するとともに、その反転位置部分 領域を例えば四方へ数十ドットずつ拡張した拡張領域を例えば黄枠で囲って強調表 示するようになって!/、る。この強調表示に網掛けやグラデーションを利用しても良 、。
[0180] 更新対象の処方箋様式に対応する画像イメージにつ!/、ての一致警告等の処理で は (ステップ S157)、反転位置部分領域と拡張領域とのうち何れか一つの領域また は複数の領域に係る指定文字の一致調査と一致警告を行う。具体的には、反転位 置部分領域の拡張領域を対象として文字認識処理を施し、次々に文字データ (文字 列)に変換し、それから、その読み取り文字列の中に指定文字が含まれている力否か を調べるとともに、含まれている場合はどこに有る力まで調べ、その調査にて指定文 字と同じ文字が見いだされた箇所については例えば赤色点滅表示などで強調表示 するとともに、適宜なアラーム音や警告メッセージ表示で作業者に警告して、指定文 字更新の遣り直しを促すようになって 、る。
[0181] 他の処方箋様式に対応する画像イメージにつ!/、ての検索等の処理では (ステップ S 158)、反転位置部分領域と拡張領域との一方または双方の強調表示を行う。具体 的には、対象の様式やイメージが異なるだけで、処理内容は上述したのと同じである
[0182] 他の処方箋様式に対応する画像イメージにつ!/、ての反転等の処理では (ステップ S 158)、反転位置部分領域と拡張領域との一方または双方の強調表示を行う。これも 、対象の様式やイメージが異なるだけで、具体的処理内容は上述したのと同じである
[0183] 他の処方箋様式に対応する画像イメージにつ!/、ての一致警告等の処理では (ステ ップ S158)、一部領域と反転位置部分領域と拡張領域とのうち何れか一つの領域ま たは複数の領域に係る指定文字の一致調査と一致警告を行う。具体的には、対象の 様式やイメージが異なることに加えて、画像イメージ内で対象となる部分領域が一つ 増えている力 処理内容は上述したのと同じである。対象に加わった一部領域 (テン プレート情報に基づく画像イメージの一部領域)は、指定文字に係る上述の第 1想定 位置を含む部分領域であるが、画像イメージが更新対象の処方箋様式に対応したも のではないので、指定文字の一致調査と一致警告の対象になつている。
[0184] この具体例 2—1の処方箋受付装置 110について、その使用態様及び動作を、図 面を引用して説明する。
[0185] 処方箋受付装置 110を例えば薬局に設置する場合 (図 6 (a)参照)、処方箋走査部
120は受付カウンタ等に載置し、データ処理部 130や回線接続部 140はカウンタ内 の作業机等に載置し、両者をケーブル接続するとともに、薬局ホストコンピュータ 150 に繋がって!/ヽる局内 LAN等が有ればそれにもデータ処理部 130を接続する。
[0186] また、データ処理部 130には、受付ルーチンとテンプレート更新ルーチンをインスト ールするとともに、データ初期化も行う。すなわち、薬品マスターや,用法マスター, 保険マスターには、薬局で扱う可能性のある薬品名や,処方単位,保険の種類など のデータを設定する。また、注釈マスターや,患者マスターはクリアする。さらに、テン プレート情報には、処方箋に含まれていることが予め判明している指定文字や処方 箋における指定文字の位置データなどを設定し、病院マスターには、医療機関対応 の処方箋欄分割情報などを設定する。テンプレート情報や病院マスターは処方箋様 式毎に設定するが、以前に設定したことのある処方箋様式や画像イメージにつ 、て は、他機や初期化ツール等力もダウンロードして、手間を省く。
[0187] ダウンロードできない処方箋様式については、データ処理部 130をテンプレート更 新モードで起動すると(図 6 (b)ステップ Si l l, S 150参照)、テンプレート更新ルー チンが実行されてテンプレート更新画面が表示されるので(図 10 (a)参照)、個別に 初期設定する。その際、なるべく未記入の処方箋を処方箋走査部 120に読みとらせ るのが好ましいが、ともかく処方箋を撮像させると、その画像イメージ全体 13 laが画 面表示されるとともに、様式更新欄 135〜139への入力や変更が可能になる。そこで 、ボタン「分割欄設定」のクリック操作と画像イメージ全体 131a上でのマウスドラッグ 操作等にて部分領域を画してテンプレート情報や病院マスターの処方箋欄分割情 報の設定を行うとともに、処方箋様式入力欄 135利用の処方箋様式の入力や設定( 図 10 (b)ステップ S152参照)、更新項目選択欄 136利用の更新項目の選択や切替 (ステップ S153)、基本情報入力欄 137利用の基本情報の入力や設定 (ステップ S1 54)、指定文字入力欄 138利用の指定文字の入力や設定 (ステップ S 155)といった 更新作業も行う。
[0188] それから、ボタン「一致確認」をクリック操作してデータ処理部 130に指定文字一致 確認等を指示すると、テンプレート更新ルーチンによって自動で、更新対象の処方 箋様式に対応する画像イメージについての不一致注意の処理と検索等の処理と反 転等の処理と一致警告等の処理とが行われ (ステップ S 156, S157)、さらに、既に 設定されて 、る他の処方箋様式の数だけ繰り返して各様式ごとに、更新対象外の処 方箋様式に対応する画像イメージにつ 、て、検索等の処理と反転等の処理と一致警 告等の処理とが行われる(ステップ S 158)。
[0189] こうして、指定文字などの初期設定が適切になされる。
[0190] そして、処方箋受付装置 110の稼動準備が調ったら、データ処理部 130を受付モ ードで起動しなおすと、受付ルーチンが実行されて処方箋を受け付けられる状態に なる(図 6 (b)ステップ S 111, S112〜S 127を参照)。
[0191] それから(図 6 (a)参照)、薬局を訪れた患者が処方箋をスキャナ 122にセットすると 、処方箋走査部 120によって、その処方箋がカウンタの外側から内側へ取り込まれ、 その代わりに引換券が発行される。その際、処方箋に受付番号が印刷されるとともに 、処方箋の撮像が行われる。この撮像で得られた画像イメージは、受付番号と共に、 処方箋走査部 120からデータ処理部 130へ送られ、データ処理部 130による処方箋 データ作成に供される。
[0192] データ処理部 130では、受付ルーチンの処理によって、先ず画像イメージに対して 後に詳述するキャリブレーションが施される(二段階処理のうち前処理)。それから(二 段階処理のうち本処理)、処方箋の画像イメージ全体がデータ処理部 130の画面に 表示されるとともに、画像イメージ及び病院マスターについて医療機関名称の探索が 行われる。そして、医療機関名が見つかればそれが医療機関の特定に自動で採用 され、医療機関名が見つ力もなければ、医療機関の指定が促される。これに応じて 受付作業者が医療機関を指定すると、それがデータ処理部 130の受付ルーチンの 処理によって医療機関の特定に採用される。
[0193] 自動であれ手動であれ医療機関が特定されると、データ処理部 130では、受付ル 一チンの処理によって、病院マスターから基礎情報の医療機関名称の一致する処方 箋の形式データが選定される。具体的には、その基礎情報と対応づけられている処 方箋欄分割情報が病院マスターから読み出される。
[0194] さらに、データ処理部 130の受付ルーチンの処理が続き、その自動処理では、処 方箋欄分割情報が得られると、それに基づ 、て画像イメージが幾つかの分割ィメー ジに分割され、その分割イメージ単位で、文字認識および変換欄対比表示や(図 9 ( a)参照)、校正欄対比表示が行われる(図 9 (b)参照)。
[0195] そこで、受付作業者は、それらの対比表示画面を適宜切り替えながら見て、必要で あれば紙の処方箋も見て、処方箋データを完成させる。そして、完成確認後、処方箋 完成のボタンをクリックする等して、データ処理部 130に処方箋の受付処理を終えさ せる。
[0196] データ処理部 130では、処方箋の受付処理の最後に、完成した処方箋データが薬 局での処方箋管理に供される。例えば、データ処理部 130から薬局ホストコンビユー タ 150へ送出されて、患者毎の薬歴管理や, 自動調剤機への配信などに用いられる
[0197] こうして、紙の処方箋力 電子データの処方箋データが得られるが、その際、文字 認識を利用して半自動で処方箋データ入力が行われる。し力も、その文字認識に際 し、医療機関に対応した画像イメージの分割処理に加えて、分割イメージ 131と変換 欄 133との対比表示、及び分割イメージ 131と校正欄 134との対比表示も行われる ので、処方箋データ入力を極めて能率良く行うことができる。
[0198] また、患者が薬局へ行く前に病院のファクシミリや自宅の FAX電話に処方箋を読 み込ませて処方箋を薬局へファクシミリ送信したときにも、その処方箋の画像イメージ が回線接続部 140を介してデータ処理部 130に入力される。この場合も、画像ィメー ジに対して先にキャリブレーションが施され (二段階処理のうち前処理)、それからキ ヤリブレーシヨン後の画像イメージが上述したような処方箋データ作成に供される(二 段階処理のうち本処理)。ここでは、先のキャリブレーション(二段階処理のうち前処 理)について詳述すると、データ処理部 130では、受付ルーチンの処理によって(図 6 (b)ステップ S113参照)、テンプレート情報が参照され(図 7 (b)参照)、そこに予め 設定されて!、る「医師」や「電話」等の指定文字が画像イメージの一部領域力 検出 される(図 7 (a)参照)。
[0199] そして、その検出結果に基づいて処方箋の画像イメージの全体に対し天地反転処 理と位置補正処理が選択的に行われ(図 6 (b)ステップ S 114参照)、鄞線消去処理 も行われる(図 6 (b)ステップ S 115参照)。
[0200] それから、処方箋走査部 120で画像イメージを入力したときと同様にして、データ処 理部 130の受付処方ルーチンの処理によって、処方箋の画像イメージ力 処方箋デ ータが作成される(図 6 (b)ステップ S121〜S127参照)。
[0201] すなわち、上述したように、処方箋の画像イメージ全体がデータ処理部 130の画面 に表示されるとともに、文字認識による自動で或いは操作入力による手動で医療機 関が特定され、それに該当する処方箋様式のデータ (テンプレート情報や病院マスタ 一の該当レコード)が選定され、それに基づいて画像イメージが幾つかの分割ィメー ジに分割され、その分割イメージ単位で、文字認識および変換欄対比表示や(図 9 ( a)参照)、校正欄対比表示が行われる(図 9 (b)参照)。そして、受付作業者がそれら の対比表示画面を適宜切り替えながらデータを修正したり補充することにより、処方 箋データが完成する。
[0202] こうして、処方箋がファクシミリにて処方箋受付装置 110に送信されてきた場合にも 、その処方箋の画像イメージが受信され、この画像イメージ力 電子データの処方箋 データが得られる。この場合も、文字認識を利用して半自動で処方箋データ入力が 行われ、画像イメージの全領域に対する文字認識に先立って、画像イメージの一部 領域に対する文字認識が行われ、これを利用して簡便かつ的確に指定文字の検出 と天地反転処理と位置補正処理が行われ、さらには鄞線消去処理も行われることか ら、ファクシミリ送受信手法に文字認識手法を組み合わせて 、ても文字認識率が低 下しないので、処方箋データ入力を極めて能率良く行うことができる。
[0203] また、上述のようにして処方箋受付装置 110に処方箋を受け付けさせようとしたとき 、その処方箋様式が未だ設定されていないことに気づいたら、受付作業者は、何時 でも、ボタン「テンプレート更新」をクリックする等のことで、テンプレート更新ルーチン を実行させることにより、上述した初期設定のときと同様にして、新たな処方箋様式に 係るデータをテンプレート情報や病院マスターに追加設定することができる。さらには 、既に設定されている処方箋様式について、指定文字の変更や指定文字に係る一 部領域の微調整などを、後で行うこともできる。
[0204] [具体例 2— 2]
第 2の実施形態の具体例 2— 2について、その具体的な構成を、図面を引用して説 明する。図 11は、(a)が受付処理のフローチャート、(b)が引替券の例である。なお、 図 11 (a)のフローチャートにお!/、て、ステップ S113〜S127, S130は、図 6 (b)と同 じで、繰り返しとなるので、記載を省略している。
[0205] この処方箋受付装置が上述した具体例 2— 1のものと相違するのは、ファクシミリ受 信部に加えてファクシミリ送信部も必要になった点と、高精細モードでの再送依頼と 引替券の発行をファクシミリ送信にて行うようになった点である。
[0206] ファクシミリ送信部は、ファクシミリ受信部と同じ回線に接続されていて、処方箋をフ ァクシミリ送信してきた患者へファクシミリにて返信できるようになって!/、れば良!、。上 述した回線接続部 140が送受信一体形であればその送信部で足り、そうでなければ 別個に追加するれば良ぐ外付けタイプでもコンピュータ内蔵タイプでも良い。
[0207] 高精細モードでの再送依頼と引替券の発行は、データ処理部 130の受付ルーチン を機能拡張することで簡便に具現化されている。具体的には(図 11 (a)参照)、処方 箋の画像イメージがファクシミリ送受信にて入力されたら (ステップ S 112及びステップ S 161の「 Yes」)、テンプレート情報に基づ 、て指定文字を検出する前に (ステップ S 113)、処方箋の画像イメージが画素ピッチの細かい高精細モードで送られてきたの か或 、は画素ピッチの粗!ゾーマルモードで送られてきたのかを確認して(ステップ S 162)、高精細モードであれば (ステップ S162の「Yes」)、文字認識処理等に供する が(ステップ S113)、高精細モードでなければ (ステップ S162の「No」)、高精細モー ドでの再送を依頼する文章の記載された画像イメージをファクシミリ送信して処理を 打ち切るようになって 、る(ステップ S 163)。
[0208] また、データ処理部 130の受付ルーチンは、ファクシミリ送受信にて入力された処 方箋の画像イメージについて処方箋データへの変換が完了したとき (ステップ S127) 、ファクシミリ送信部を介して引替券の画像イメージを送信するようになっている (ステ ップ S164)。この引替券イメージには(図 11 (b)参照)、引換券発行ユニット 121で発 行する引替券に印刷するのと同様の受付番号や受付日時に加えて、薬局名や電話 番号等の薬局情報,薬局の地図,さらには処方箋イメージの縮小画像なども、含める ようになっている。
[0209] この場合、患者が、 自宅の FAX等で薬局へ処方箋をファクシミリ送信する際、うつか り不適切なノーマルモードで送信すると、その場で高精細モードでの再送依頼をファ クシミリ受信することになるので、直ちに適切な高精細モードで送り直すことができる。 し力も、薬局の処方箋受付装置 110では、文字認識率が悪くて処方箋データ入力の 能率が低!、処理や作業を回避することができる。
[0210] また、ファクシミリ送信した処方箋が薬局の処方箋受付装置 110にて受け付けられ たときには、やはり直ちに引替券がファクシミリで返信されて、それを患者が自宅の F AX等で受信することができる。薬局へ出向く前に引替券を入手することができるうえ 、その引替券には薬局へ行くのに役立つ地図情報等も記されているので、極めて便 利である。
[0211] [その他]
上記具体例の処方箋受付装置では、処方箋の画像イメージを入力する入力手段と して回線接続部 140 (ファクシミリ受信部)と処方箋走査部 120とが設けられて 、たが 、回線接続部 140を省いて薬局受付専用の処方箋受付装置としても良ぐ処方箋走 查部 120を省 、てファクシミリ受信専用の処方箋受付装置としても良!、。
[0212] また、上記具体例では、処方箋走査部 120とデータ処理部 130と回線接続部 140 とが別体になっていた力 これらは、別体に限られる訳でなぐ一体化されていても良 い。一体化は、処方箋走査部 120とデータ処理部 130の部分、処方箋走査部 120と 回線接続部 140の部分、データ処理部 130と回線接続部 140の部分だけでも良 、。
[0213] さらに、上記具体例では、校正欄 134の対比表示を分割イメージ 131と並べて行う ようにした力 変 ^«133と校正欄 134とを並べて対比表示しても良ぐ分割イメージ 131と変, 133と校正欄 134とを一画面に並べて対比表示しても良!ヽ。
[0214] また、上述した文字認識機能に加えてコード変 能もデータ処理部に付与し、処 方箋の画像イメージに二次元コード等のコードが有るときにはそれをデータ処理部が 処方箋データに変換し、そのようなコードの無いときだけデータ処理部が画像ィメー ジに文字認識を施して処方箋データへの変換を行うようにしても良 、 (例えば特願 2 004— 308931参照)。
[0215] また、上記具体例では、一つの医療機関では一つの処方箋様式 (フォーム)を用い るものとして説明したが、一つの医療機関で二つ以上の処方箋様式を用いる場合に は、病院マスターの基礎情報と、病院マスターの処方箋欄分割情報やテンプレート 情報および画像イメージとを、一対二や一対多で、対応付ければ良い。
[0216] また、指定文字の検出で(図 6 (b)ステップ S113)処方箋様式が判別できるので、 そのテンプレート情報力 医療機関を検索して、その医療機関や処方箋様式を医療 機関選定や処方箋様式選定 (ステップ S 122〜S 124)で確認させるようにしても良 ヽ
[0217] [第 3の実施形態]
第 3の実施形態は、薬局や病院などで処方箋の自動受付に用いられる処方箋受付 装置に関し、詳しくは、処方箋の画像イメージ (処方箋イメージ)を文字認識にて文字 データやバイナリデータ等の内部形式電子データ (処方箋データ)に変換することに より処方箋の記載情報を取得する処方箋受付装置に関する。
[0218] 第 3の実施形態に係る第 1の処方箋受付装置は、処方箋の画像イメージを入力す る入力手段と、前記画像イメージに文字認識処理を施すことにより前記画像イメージ から処方箋データを得るデータ処理部とを備えた処方箋受付装置において、前記デ ータ処理部が、各種の薬品名を含むデータを保持する薬品マスターと、置換前文字 列と置換後文字列とを対応付けて多数のデータを保持する文字列置換テーブルと、 前記文字認識処理の後にその処理で得た認識文字列に前記文字列置換テーブル の置換前文字列の何れかが含まれているとき前記認識文字列の該当箇所を前記文 字列置換テーブルの置換後文字列のうち該置換前文字列に対応するもので置き換 える文字列置換手段とを具えたものであり、非数値部と数値部と単位部とをその順に 連ねた文字列からなる数値含有薬品名が、そのまま前記薬品マスターの薬品名と前 記文字列置換テーブルの置換後文字列とに含められており、且つ、数値部と単位部 と非数値部の順に並べ替えた並替薬品名になって前記文字列置換テーブルの置換 前文字列のうち該置換後文字列と対応するものに含められている、ことを特徴とする
[0219] また、第 3の実施形態に係る第 2の処方箋受付装置は、上記第 1の処方箋受付装 置であって、前記データ処理部が、前記文字列置換テーブルを設定するに際し、前 記薬品マスターの前記薬品名から前記数値含有薬品名を抽出して、この数値含有 薬品名から前記並替薬品名を生成し、この並替薬品名と前記数値含有薬品名とを 対応付けて前記文字列置換テーブルにデータ保持させるようになって ヽる、ことを特 徴とする。
[0220] さらに、第 3の実施形態に係る第 3の処方箋受付装置は、上記第 2の処方箋受付装 置であって、前記データ処理部が、前記文字列置換テーブルを設定するに際し、抽 出した前記数値含有薬品名とそれから生成した前記並替薬品名とのうち何れか一方 または双方について、その非数値部の後尾の文字を省いて略式薬品名を生成し、こ の略式薬品名と前記数値含有薬品名とを対応付けて前記文字列置換テーブルにデ ータ保持させるようになつている、ことを特徴とする。
[0221] また、第 3の実施形態に係る第 4の処方箋受付装置は、上記第 1の処方箋受付装 置であって、前記数値含有薬品名力 その非数値部の後尾の文字を省いた正順略 式薬品名と、それを数値部と単位部と非数値部の順に並べ替えた並替略式薬品名と のうち何れか一方または双方にっ 、て、その略式薬品名と前記数値含有薬品名とが 対応付けられて前記文字列置換テーブルにデータ保持されていることを特徴とする
[0222] また、第 3の実施形態に係る第 5の処方箋受付装置は、上記第 1の処方箋受付装 置であって、前記データ処理部が、前記認識文字列を画面表示して文字列修正を 受理するものであって、その文字列修正処理時に入力された修正文字列が前記薬 品マスターの前記薬品名に含まれている力否かを検索して、含まれていたときには直 ちに又は確認のうえ、前記修正文字列とそれで修正された文字列とを対応付けて前 記文字列置換テーブルの置換後文字列および置換前文字列にデータ保持させ、さ らに前記修正文字列が前記数値含有薬品名に該当するときには、それから前記並 替薬品名を生成し、この並替薬品名と前記数値含有薬品名とを対応付けて前記文 字列置換テーブルの置換前文字列および置換後文字列にデータ保持させるよう〖こ なっている、ことを特徴とする。
[0223] 第 1の処方箋受付装置にあっては、文字認識処理で得た認識文字列に文字列置 換テーブルを利用した後処理が施されて文字認識率が向上するが、文字列置換テ 一ブルに数値含有薬品名とその並替薬品名とが対応付けてデータ保持されて ヽて、 認識文字列はその中の並替薬品名が数値含有薬品名に自動変換される。 [0224] 数値含有薬品名は、非数値部と数値部と単位部とをその順に連ねた文字列力もな り、数値部と単位部と非数値部の順に並べ替えた並替薬品名で処方箋に記入される こともときどきあるが、そのような場合でも、薬品マスターに規定された適切な薬品名 に変換されるので、文字認識率や受付作業能率が一段と向上する。しかも、数値含 有薬品名は、並替薬品名との関係が明確なので、例えば次の第 2の処方箋受付装 置のようにして、文字列置換テーブルに自動設定するのも可能である。
[0225] したがって、第 1の処方箋受付装置によれば、薬品名の特殊性に基づいて文字列 置換テーブルへの設定や追加が容易かつ適切に行える処方箋受付装置の実現に 資することができる。
[0226] また、第 2の処方箋受付装置にあっては、薬品マスターに含まれている数値含有薬 品名につ!/、ては、自動で並替薬品名が生成され、それらが自動で文字列置換テー ブルにデータ保持させられる。
[0227] このように数値含有薬品名の特質に基づき文字列置換テーブルへの設定や追カロ を薬品マスターから自動で行うようにしたことにより、薬品名の特殊性に基づ 、て文字 列置換テーブルへの設定や追加が容易かつ適切に行える処方箋受付装置を実現 することができる。
[0228] さらに、第 3の処方箋受付装置にあっては、数値含有薬品名やその並替薬品名の 一部を省 ヽて処方箋に記入するとき数値部と単位部は省かな ヽで非数値部の後尾 の文字を省くことが多いところ、そのような略式薬品名についても、文字認識処理の 後処理で薬品マスター規定の適切な薬品名に変換されるので、文字認識率や受付 作業能率が一層向上する。しかも、略式薬品名に係る文字列置換テーブルへの設 定ゃ追加も薬品マスターから自動で行うようにしたことにより、薬品名の特殊性に基 づいて文字列置換テーブルへの設定や追加が一層容易かつ適切に行える処方箋 受付装置を実現することができる。
[0229] また、第 4の処方箋受付装置にあっては、数値含有薬品名ゃ並替薬品名の略式薬 品名も文字認識処理の後処理で薬品マスター規定の適切な薬品名に変換されるの で、文字認識率や受付作業能率が一層向上する。しかも、そのような略式薬品名も、 数値含有薬品名と同様、例えば上記の第 3の処方箋受付装置のようにして、文字列 置換テーブルに自動設定するのが可能である。
[0230] したがって、第 4の処方箋受付装置によれば、薬品名の特殊性に基づいて文字列 置換テーブルへの設定や追加が一層容易かつ適切に行える処方箋受付装置の実 現に資することができる。
[0231] また、第 5の処方箋受付装置にあっては、認識文字列の文字列修正時にも文字列 置換テーブルへの追加設定が行えるが、その際、修正文字が数値含有薬品名に該 当するときには修正文字列とそれで修正された文字列との対応付けに加えて修正文 字列と並替薬品名との対応付けも随伴して自動設定される。
[0232] このように数値含有薬品名の特質に基づき文字列置換テーブルへの設定や追カロ が修正文字列にとどまらず並替薬品名まで随伴してなされるようにしたことにより、薬 品名の特殊性に基づ!/、て文字列置換テーブルへの設定や追カ卩が容易かつ適切に 行える処方箋受付装置を実現することができる。
[0233] 第 3の実施形態に係る第 6の処方箋受付装置は、上記のいずれかの処方箋受付装 置であって、前記画像イメージに文字認識処理を施す際に、前記処方箋を発行した 医療機関を特定して、対応した処方箋様式を選定し、その様式に基づいて前記画像 イメージを分割処理することを特徴とする。
[0234] この場合、処方箋の画像イメージに係る文字認識に際して、その処方箋を発行した 医療機関が特定され、それに対応した処方箋様式が選定され、さらに、その様式に 基づいて画像イメージが分割処理される。このように、各医療機関の発行する処方箋 の項目配置パターンに対応した分割パターンで画像イメージが分割され、それぞれ の分割イメージに文字認識が施されるようにしたことにより、文字認識時の文字デー タの候補や処方箋データへの変換時の項目候補が絞り込まれるので、データ変換の 精度が向上する。
[0235] 第 3の実施形態に係る第 7の処方箋受付装置は、上記第 6の処方箋受付装置であ つて、前記画像イメージの分割イメージとそれを文字データに変換して表示させた変 とを対比させて画面表示することを特徴とする。
[0236] この場合、処方箋の画像イメージに係る文字認識に際して、画像イメージの分割ィ メージとそれを文字データに変換して表示させた変 mfflとが画面に対比表示される。 これにより、文字認識の結果を容易に確認することができ、その結果を処方箋データ に変換する前に、文字認識をやり直したり文字データを修正するといつたことも行える
[0237] 第 3の実施形態に係る第 8の処方箋受付装置は、上記第 7の処方箋受付装置であ つて、前記処方箋データを項目ごとに項目名を付して校正可能に表示させた校正欄 を、上記分割イメージ及び上記変 ^fflの何れか一方または双方と対比させて、画面 に表示することを特徴とする。
[0238] この場合、処方箋の画像イメージに係る文字認識に際して、処方箋データを項目ご とに項目名を付して校正可能に表示させた校正欄も、分割イメージ等と対比される状 態で、画面に表示される。これにより、文字認識の結果を反映させた処方箋データを 容易に確認することができ、人手介助の必要な校正も、分割イメージ等と見比べるこ とで、容易に行える。
[0239] 第 3の実施形態に係る第 9の処方箋受付装置は、上記のいずれかの処方箋受付装 置であって、前記入力手段としてファクシミリ受信部が設けられている、というものであ る。
[0240] この場合、ファクシミリ受信部が処方箋の画像イメージの入力手段として装置に組 み込まれて ヽるので、ファクシミリ送受信された画像イメージがそのまま文字認識処理 に供される。これにより、受信後の再撮像が回避されることから、薬局側での処方箋 読取作業が不要になるうえ、画質の劣化が送信側での撮像時だけで済むので、従来 よりも画質が良好に維持される。そのため、文字認識率も良くなる。したがって、この 実施形態によれば、ファクシミリ送信にて患者の待ち時間を削減できるうえ薬局にとつ てもデータ入力の能率が良い処方箋受付装置を実現することができる。
[0241] 第 3の実施形態に係る第 10の処方箋受付装置は、上記第 9の処方箋受付装置で あって、前記ファクシミリ受信部と同じ回線に接続されたファクシミリ送信部が設けられ 、前記ファクシミリ受信部を介して処方箋を受け付けると引替券の画像イメージを生 成して前記ファクシミリ送信部から送信することにより引替券の発行を行うようになって いる、というものである。
[0242] この場合、患者が処方箋をファクシミリ送信するとその場で引替券をファクシミリ受信 できるので、遠隔地での受付作業であっても薬局での作業と同じく簡便かつ的確に 遂行されることとなる。したがって、この実施形態によれば、ファクシミリ送信にて患者 の待ち時間を削減でき而も何処カゝらでも送信できるうえ引替券も受け取れて便利で あり更に薬局にとってもデータ入力の能率が良い処方箋受付装置を実現することが できる。
[0243] 第 3の実施形態の処方箋受付装置について、これを実施するための具体的な形態 を、以下の具体例 3— 1〜3— 2により説明する。
[0244] 図 12〜16に示した具体例 3—1は、上述した第 1〜第 9の処方箋受付装置を具現 化したものであり、図 17に示した具体例 3— 2は、上述した第 10の処方箋受付装置 を具現ィ匕したものである。
[0245] [具体例 3— 1]
第 3の実施形態の具体例 3—1について、その具体的な構成を、図面を引用して説 明する。図 12は、処方箋受付装置 210の構造を示し、(a)がハードウ ア構成図、 (b )が受付処理のフローチャートである。また、図 13は、(a)が処方箋の情報欄の配置 例と指定文字の例、(b)がテンプレート情報のデータ構造例である。さらに、図 14は 、 (a)が処方箋の情報欄の配置例、(b)が他の配置例、(c)が病院マスターのデータ 構造例、(d)が処方箋データの構造例である。また、図 15は、(a)が変換欄対比表示 画面の一例、(b)が校正欄対比表示画面の一例であり、図 16は、(a)が薬品マスタ 一のデータ構造例、(b)が文字列置換テーブルのデータ構造例である。
[0246] 処方箋受付装置 210は(図 12 (a)参照)、処方箋走査部 220とデータ処理部 230と 回線接続部 240とを具えている。処方箋走査部 220も、回線接続部 240も、処方箋 の画像イメージをデータ処理部 230に入力する入力手段として設けられており、それ ぞれ信号ケーブルでデータ処理部 230に接続されて 1、る。処方箋走査部 220は紙 媒体の処方箋を薬局で直に撮像するのに対し、回線接続部 240は、遠隔地で撮像 された処方箋イメージ (処方箋の画像イメージ)がファクシミリ送信されて来たら、それ を受信してデータ処理部 230に引き渡すものである。
[0247] そのため、回線接続部 240は、図示しない電話回線やファクシミリ回線網など外部 の通信回線に接続されてファクシミリ受信できるようになつていれば良ぐ市販の所謂 FAXモデムやターミナルアダプタ等で足りる。この具体例では、ファクシミリ受信部と して受信さえ出来れば足りるが、この受信部と同じ回線に接続されたファクシミリ送信 部と一緒になつていても良ぐ音声での通話が可能になっていても良ぐ図示したよう な外付けタイプでも図示しな 、コンピュータ内蔵タイプでも良 、。
[0248] 処方箋走査部 220は、差込み口に処方箋が投入されるとそれを移送路 224へ送り 込みながら処方箋の撮像を行うスキャナ 222と、移送路 224に臨んで設けられ処方 箋に受付番号を印刷するプリントヘッド 225と、処方箋を受け付けた代わりに引換券 を発行する引換券発行ユニット 221と、操作スィッチや状態表示部材を配設した操作 ノネル 226と、それらの動作制御を行うローカルコントローラ 223とを具えていて、ス キヤナ 222で撮った画像イメージを受付番号と共にデータ処理部 230へデータ送信 するようになっている。
[0249] データ処理部 230のハードウェアは、図示のような所謂デスクトップパソコンや図示 しないノートパソコンなどの汎用コンピュータで良ぐ処方箋走査部 220や回線接続 部 240から送られてきた画像イメージ力も処方箋データを得るために、データ処理部 230のプログラムメモリ等には受付ルーチンと置換文字列設定ルーチン力インスト一 ルされ、データ処理部 230に内蔵の又は外付けのハードディスク等には、文字列置 換テーブルや,テンプレート情報,病院マスター,患者マスター,保険マスター,薬品 マスター,用法マスター,注釈マスターなどのデータ群力 適宜なファイル形式ゃテ 一ブル形式に分かれて或 、はデータベースに統合されて、記憶保持されて 、る。
[0250] 文字列置換テーブルには、後で具体例を挙げるが、対応する置換前文字列と置換 後文字列とからなる対データ,組データが多数保持されており、文字列置換テーブル は受付ルーチンによる文字認識処理直後の文字列置換処理などに用いられる。
[0251] テンプレート情報には、後で詳述するが、処方箋に含まれていることが予め判明し ている指定文字のコード又はパターンや、処方箋における指定文字の位置データが 含まれており、テンプレート情報は指定文字の検出およびその検出結果に基づく画 像イメージの天地反転処理や位置補正処理に用いられる。
[0252] 病院マスターには、やはり後で詳述するが、それぞれの医療機関に対応した処方 箋様式のデータが含まれており、病院マスターは画像イメージの分割に用いられる。 [0253] 患者マスターには、患者の氏名や生年月日さらには患者コード等のデータが含ま れており、患者名の確認や過去処方提示の手がかり等に用いられる。保険マスター には、保険の種類などのデータが含まれており、保険の種類の確認や候補提示に用 いられる。
[0254] 薬品マスターには、各種の薬品名〖こカ卩えて薬品コード等のデータが含まれており、 薬品名の確認や候補提示などに用いられる。薬品名には一般名や商品名などがあり 、それを項目分けして記憶保持するデータ構造について、具体例を後述する。
[0255] 用法マスターには、処方単位や服用限度などのデータが含まれており、処方内容 の確認や候補提示などに用いられる。注釈マスターは、特記事項やコメント等の文字 列データを追加書き込みできるようになって!/、る。
[0256] 受付ルーチンは(図 12 (b)参照)、先ず動作モードが置換文字列設定モードに設 定されて!/ヽるか受付モードに設定されて ヽるか確認して (ステップ S211)、置換文字 列設定モードになっているときには後述の置換文字列設定ルーチンに処理を委ねる が (ステップ S250)、受付モードになっているときには以下の受付処理を行うようにな つている(ステップ S211〜S227)。
[0257] すなわち、受付モード下で、受付ルーチンは、処方箋走査部 220で処方箋の読取 が行われてその画像イメージが処方箋走査部 220からデータ処理部 230に送られて きたときに加えて、外部のファクシミリで処方箋の読取が行われてその画像イメージが 回線接続部 240を介してデータ処理部 230に送られてきたときも、先ずはその画像ィ メージを入力するようになって!/、る(ステップ S212)。
[0258] そして、その画像イメージ力も処方箋データを得るために、その画像イメージに文字 認識処理等を施すが、その処理を二段階に分けて行う。具体的には、キヤリブレーシ ヨンのため処方箋の画像イメージの一部領域にだけ文字認識処理を施す前処理段 階 (ステップ S213〜S215)と、画像イメージ全領域に対して文字認識処理等を施す 本処理段階 (ステップ S221〜S227)とが行われる。なお、ここでは、画像イメージを 直接読取で入力したときもファクシミリ受信で入力したときも前処理と本処理の二段階 処理を行うようにした力 直接読取時には前処理が不要であることが判明している場 合は、処方箋走査部 220で読み取って画像イメージを入力したときには直ちに画像 イメージ全領域に対するイメージ分割処理 ·文字認識処理 ·データ変換処理に移行し
、回線接続部 240を介するファクシミリ受信にて画像イメージを入力したときだけ二段 階の処理を行うようにしても良 、。
[0259] 先ず前者の前処理段階について詳述すると (ステップ S213〜S215)、このキヤリ ブレーシヨン用の前処理は、簡便かつ的確に調整を遂行するため、テンプレート情報 を利用しており、テンプレート情報に基づいて指定文字を検出し (ステップ S213)、そ の結果、画像イメージが逆さであることが判明したときには画像イメージを 180°回転 させることにより天地反転処理を行い、画像イメージが位置ずれしていることが判明し たときには画像イメージを上下左右に移動させることにより位置補正処理を行い (ステ ップ S214)、処方箋の画像イメージ力 鄞線を消去する鄞線消去処理も行うようにな つている (ステップ S215、特許文献 7参照)。
[0260] 処方箋に含まれていることが予め判明している指定文字として(図 13 (a)参照)、例 えば、医療機関情報欄における「医師名」の「医師」が指定文字 No. 1に選定され、 同じ医療機関情報欄における「電話番号」の「電話」が指定文字 No. 2に選定されて いたとする。また、「医師」の処方箋内位置は左から 1299ピクセルで上から 980ピク セルで右から 1332ピクセルで下から 1014ピクセルであったとすると、テンプレート情 報については(図 13 (b)参照)、指定文字 No. 1に係るデータ項目のうちパターンは 「医師」に,読取左は「1299」に,読取上は「980」に,読取右は「1332」に,読取下 は「1014」に予め設定される。同様にして、テンプレート情報において指定文字 No. 2に係るデータ項目では、パターンは「電話」に,読取左は「1168」に,読取上は「88 4」に,読取右は「1480」に,読取下は「1066」に予め設定されている。
[0261] 受付ルーチンは、このようなテンプレート情報を参照して指定文字を検出するとき( 図 12 (b)ステップ S 213)、テンプレート情報の読取左 ·読取右 '読取上'読取下で想 定される処方箋内位置を中心にした例えば左右 100ピクセル上下 100ピクセルの処 方箋部分領域と、その第 1想定位置を逆さの処方箋に当てはめたときの第 2想定位 置を中心にした処方箋部分領域とに限定して、処方箋の画像イメージに文字認識処 理を施すようになつている。そして、指定文字 No. 1の文字「医師」と指定文字 No. 2 の文字「電話」とが第 1想定位置包含領域に見いだせれば、指定文字検出位置と第 1想定位置との位置ずれを相殺するよう画像イメージの位置を補正するが、天地反転 処理は行わな ヽようになって!/、る。
[0262] これに対し、指定文字 No. 1の文字「医師」と指定文字 No. 2の文字「電話」とが第 2想定位置包含領域で見つ力つたときには、先ず、画像イメージに対して天地反転 処理を行うとともに、指定文字検出位置についても処方箋の天地反転に対応した位 置変換を行い、それから、変換後の指定文字検出位置と第 1想定位置との位置ずれ を相殺するよう画像イメージの位置を補正するようになっている。あるいは、指定文字 検出位置と第 2想定位置との位置ずれを相殺するよう画像イメージの位置を補正して から、画像イメージに対して天地反転処理を行う。その後、受付ルーチンは、鄞線消 去処理を行って、処方箋の画像イメージ力も鄞線を消去し (ステップ S215)、それか らニ段階処理のうちの本処理すなわち処理画像イメージ全領域に対するイメージ分 割処理'文字認識処理'データ変換処理 (ステップ S221〜S227)に移行するよう〖こ なっている。
[0263] 画像イメージ全領域に対するイメージ分割処理 ·文字認識処理 ·データ変換処理で は、受付ルーチンが(図 12 (b)参照)、医療機関特定に基づくイメージ分割処理と (ス テツプ S221〜224)、処方箋の画像イメージに文字認識を施して文字データを得る 文字認識処理と (ステップ S225)、その文字データを処方箋データに変換するデー タ変換処理と (ステップ S226)を行う。文字認識処理とデータ変換処理は、処方箋デ ータが完成するまで、分割イメージを替えたり戻したりしながら、何度でも繰り返して 行えるようになって!/、る(ステップ S227)。
[0264] 置換文字列設定ルーチンは後で詳述するので、本処理段階の部分 (ステップ S22 1〜S227)を詳述すると、イメージ分割処理では、目視確認のため画像イメージをそ のまま即ち処方箋全体を画面に表示したうえで (ステップ S221)、画像イメージ全体 に文字認識を施し更にその認識結果に文字列検索を行って医療機関を特定しうる 文字列が含まれている力否力判定する (ステップ S222)。その判定結果が肯定的な 場合 (ステップ S222の「有」)、例えば「〇〇〇病院」や「X X X診療所」といった医療 機関名が見つ力り而もそれが病院マスターに保持されているときには、その医療機関 名を自動採用するようになって!/、る。 [0265] これに対し、上記の判定結果が否定的な場合には (ステップ S222の「無」)、病院 マスター中の医療機関名称を候補として画面に列挙して受付作業者に選択させたり 、画面中の入力欄へ受付作業者に医療機関名の入力を求めたりして、医療機関の 指定を受けるようになつている (ステップ S223)。医療機関の特定が済むと、その医 療機関に対応した処方箋様式を選定するとともに (ステップ S224)、その様式に基づ V、て画像イメージを分割処理するようにもなつて!/、る。
[0266] 処方箋の様式は(図 14 (a) , (b)参照)、ここでは画像イメージの分割に関係するも のが重要であり、典型例としては、図示した医療機関情報欄や,患者情報欄,調剤 情報欄,保険情報欄,図示しない注釈欄などに大別され、それらの処方箋における 配置が医療機関ごとに規定され医療機関で異なることが多い。
[0267] そして、それを反映した病院マスターには(図 14 (c)参照)、医療機関ごとに、それ に対応した処方箋様式のデータが、すなわち基礎情報と処方箋欄分割情報とが、対 応づけて保持されている。
[0268] そのうち基礎情報は(図 14 (c)参照)、医療機関情報欄 (図 14 (a) , (b)参照)の記 載事項を電子データにしたものである処方箋データの医療機関情報(図 14 (d)参照 )と同じかそれに準ずるものである(図 14 (c)参照)。
[0269] また、処方箋欄分割情報には(図 14 (c)参照)、上記の各欄に関する配置情報が 含められている。配置情報は、例えば、該当欄が長方形の場合、処方箋における該 当欄の対角点の位置などで規定されて 、る。配置情報を同じ欄にっ 、て繰り返し規 定するのも許容されて!、て、複数の長方形に分散した又はそれらを結合させた形状 の情報欄にも適合するようになって 、る。
[0270] 処方箋データは(図 14 (d)参照)、そのような処方箋の記載事項を電子データとし て得られる標準データ構造のものであり、例えば、それを薬歴管理や自動調剤など に利用する薬局ホストコンピュータ 250に適合させて予めデータ構造が定められてい る。それには、図示した医療機関情報や,患者情報,保険情報,調剤情報が含まれ る他、図示しない注釈情報なども常に又は選択的に含められる。医療機関情報には 医療機関名称などが含まれ、患者情報には患者名などが含まれ、保険情報には保 険種別や保険番号などが含まれ、調剤情報には、処方された薬品名と用量との組デ ータがー組または複数組'多数組含まれるようになって!/、る。
[0271] さらに、データ処理部 230は(図 12 (b)参照)、特定した医療機関に対応する処方 箋欄分割情報が得られると (ステップ S224)、それに基づき処方箋の各欄ごとに画像 イメージを分割して分割イメージを幾つか作り、例えば医療機関情報欄の分割ィメー ジゃ,患者情報欄の分割イメージ,調剤情報欄の分割イメージ,保険情報欄の分割 イメージなどを作り、そのうち何れかの分割イメージを画面に対比表示させて文字認 識処理 (ステップ S225)及びデータ変換処理 (ステップ S226)を行うようになって!/、る
[0272] 文字認識処理では、変 mffl対比表示が行われ (図 15 (a)参照)、選択された情報 欄に係る分割イメージ 231と、それに文字認識を施して得られた文字データの変換 欄 233とが、左右に並んだ状態で、一画面に表示される。変換欄 233は、マウスゃキ 一の操作等で選択した部分を受付作業者が文字列修正を行えるようになって ヽる。 情報欄の選択切り替えは欄指定タブ 232のクリック等で行え、データ変換処理すな わち校正欄対比表示画面への移行は特定ボタン例えば「校正欄表示」のクリック等 で行えるようになって!/ヽる。
[0273] また、この文字認識処理に随伴して、二つの文字列処理すなわち文字列置換処理
(文字列置換手段)と置換文字列追加処理 (置換文字列設定)が行われるようにもな つている(図 12 (b)ステップ S225参照)。
[0274] 文字列置換処理は、分割イメージ 231に文字認識処理が施された直後、変換欄 23 3が表示される前に、行われる。この処理では、文字認識処理の後にその処理で得 た認識文字列に文字列置換テーブルの置換前文字列の何れかが含まれているとき 、その置換前文字列と文字列置換テーブルにおいて対データ'組データをなしてい る置換後文字列で、認識文字列の該当箇所が置き換えられる。文字列置換につい ては、特に、非数値部と数値部と単位部とをその順に連ねた文字列からなる数値含 有薬品名に係る具体例を後述する。
[0275] 置換文字列の追加処理は、変^ 1233に対する文字列修正処理のあつたときに行 われる。この処理では、入力された修正文字列が薬品マスターの薬品名に含まれて いる力否かを検索して、一般名であっても商品名であっても含まれていたときには例 えば動作モードに応じて直ちに或いは確認メッセージを表示して確認応答が得られ たら、修正文字列とそれで修正された文字列とを文字列置換テーブルに適合した対 データ'組データにして、修正文字列は文字列置換テーブルの置換後文字列の方 になり、修正された文字列は文字列置換テーブルの置換前文字列の方になるよう、 修正文字列とそれで修正された文字列とを文字列置換テーブルにデータ保持させる ようになっている。
[0276] さらに、この置換文字列追加処理では、修正文字列が数値含有薬品名に該当する ときには、文字列における非数値部と数値部と単位部と ヽぅ並びを数値部と単位部と 非数値部の順に並べ替えることにより、数値含有薬品名から並替薬品名を生成する 。そして、この並替薬品名と数値含有薬品名についても、並替薬品名と数値含有薬 品名とを文字列置換テーブルに適合した対データ'組データにして、並替薬品名は 文字列置換テーブルの置換前文字列の方になり、数値含有薬品名は文字列置換テ 一ブルの置換後文字列の方になるよう、並替薬品名と数値含有薬品名とを文字列置 換テーブルにデータ保持させるようにもなつて 、る。
[0277] データ変換処理では、変 mffl対比表示で得られた文字データを処方箋データに 反映させるとともに、校正欄対比表示が行われる(図 15 (b)参照)。この校正欄対比 表示では、選択された情報欄に係る分割イメージ 231と、処方箋データの各項目を 列挙した校正欄 234とが、左右に並んだ状態で、一画面に表示される。校正欄 234 の各項目には、項目名とデータ値とが含まれており、そのうちデータ値は、校正のた め、マウスやキーの操作等で選択して修正できるようになって!/、る。
[0278] 校正欄対比表示画面でも、情報欄の選択切り替えは欄指定タブ 232のクリック等で 行え、文字認識処理すなわち変換欄対比表示画面への戻り等は特定ボタン例えば「 変 ^ffl表示」のクリック等で行えるようになつている。すなわち、対比表示画面間の移 行も、情報欄の選択切替も、何時でも自由に行えるようになつている。同様に例えば「 置換文字列設定」ボタンのクリック等で、置換文字列設定処理へも移行できるように なっている。
[0279] 校正欄対比表示画面で(図 15 (b)参照)、特定ボタン例えば「処方箋完成」のクリツ ク等がなされると、受付ルーチンは(図 12 (b)参照)、処方箋データが完成したと判定 して (ステップ S227の「Yes」 )、処方箋の受付処理を終えるようになって!/、る。
[0280] 置換文字列設定ルーチンは(図 12 (b)ステップ S250)、要するに二つの文字列を 対データ'組データにして文字列置換テーブルの置換前文字列および置換後文字 列にデータ保持させるものであるが、修正随伴モードと個別設定モードと一括設定モ ードとで文字列の取得手法等が異なって 、る。
[0281] 修正随伴モードは、上述した文字列修正処理に随伴して置換文字列設定処理に 移行したときのものであり、このモードでは、入力された修正文字列とそれで修正され た文字列とについて上述の置換文字列追加処理を行う。すなわち、修正文字列とそ れで修正された文字列との対データ ·組データを文字列置換テーブルに設定すると ともに、修正文字列が数値含有薬品名に該当するときには、その並替薬品名と数値 含有薬品名との対データ'組データも文字列置換テーブルに設定するようになって いる。
[0282] 個別設定モードは、置換文字列設定ボタンのクリック等で置換文字列設定処理に 移行したときに多用されるが、このモードでは、置換前文字列用と置換後文字列用の 一対の文字列の入力を求め、それらが入力されてから、文字列置換テーブルへの設 定を行う。個別設定モードでも、入力した置換後文字列が数値含有薬品名に該当す るときには、その並替薬品名と数値含有薬品名との対データ'組データも文字列置換 テーブルに設定するようになっている。なお、並替薬品名と数値含有薬品名との設定 については、修正随伴モードと個別設定モードのうち何れか一方または双方で、直 ちに行うのでなぐ確認をとつて力も行うようにしても良 、。
[0283] 一括設定モードは、置換文字列設定モードで置換文字列設定ルーチンが起動さ れたときに多用される力 この一括設定モードでは、薬品マスターに含まれている各 種の薬品名について、次々に、数値含有薬品名の検索と文字列置換テーブルへの 設定とを行う。すなわち、薬品マスターの薬品名について一般名であろうと商品名で あろうと数値含有薬品名に該当するか否かを調べて、数値含有薬品名が見つかれ ば、それを抽出する。そして、この数値含有薬品名から並替薬品名を生成し、この並 替薬品名と数値含有薬品名とを対応付けて文字列置換テーブルにデータ保持させ るようになっている。なお、薬品マスターに薬品名を追加したときなどに一括設定モー ドで置換文字列設定処理を繰り返しても不都合な重複設定が生じないよう、文字列 置換テーブルに設定済みの対データ'組データは再度の設定を省くようにもなつてい る。
[0284] さらに、この置換文字列設定ルーチンは、数値含有薬品名とそれから生成した並替 薬品名とのうち何れか一方または双方について、その非数値部の後尾の文字を省い て略式薬品名を生成し、この略式薬品名と数値含有薬品名とを対応付けて文字列 置換テーブルにデータ保持させるようにもなつている。このような略式薬品名に係る 設定は、一括設定モードに限らず、個別設定モードや修正随伴モードでも、並替薬 品名に係る設定と同様、直ちに無条件で又はサブ動作モード設定や確認に応じて 選択的に行われる。非数値部の後尾の文字の省略は大抵最後尾の一文字であるが 、最後尾が省かれやすい文字のときには、最後尾から二文字が省かれるようになって いる。
[0285] この具体例 3— 1の処方箋受付装置 210について、その使用態様及び動作を、図 面を引用して説明する。
[0286] 処方箋受付装置 210を例えば薬局に設置する場合 (図 12 (a)参照)、処方箋走査 部 220は受付カウンタ等に載置し、データ処理部 230や回線接続部 240はカウンタ 内の作業机等に載置し、両者をケーブル接続するとともに、薬局ホストコンピュータ 2 50に繋がっている局内 LAN等が有ればそれにもデータ処理部 230を接続する。
[0287] また、データ処理部 230には、受付ルーチンと置換文字列設定ルーチンをインスト ールするとともに、データ初期化も行う。すなわち、薬品マスターや,用法マスター, 保険マスターには、薬局で扱う可能性のある薬品名や,処方単位,保険の種類など のデータを設定する。また、注釈マスターや,患者マスターはクリアする。さらに、テン プレート情報には、処方箋に含まれていることが予め判明している指定文字や処方 箋における指定文字の位置データなどを設定し、病院マスターには、医療機関対応 の処方箋欄分割情報などを設定する。薬品マスターや文字列置換テーブルへの初 期設定は、他機や初期化ツール等力も移設できるデータについては、ダウンロード 等で、手間を省く。
[0288] 移設できないデータ例えば薬局固有のデータについては、手動で薬品名等を設定 して薬品マスターを完成する。例えば、一般名として「kefral capsule 250mg (ケ フラーカプセル 250mg)」や「ダーゼン 10mg錠」が設定され、商品名として「ァリナミ ン糖衣錠 25mg」が設定されて、薬品マスターが出来上がる(図 16 (a)参照)。
[0289] それから、データ処理部 230を置換文字列設定モードで起動すると(図 12 (b)ステ ップ S211参照)、置換文字列設定ルーチンが起動され (ステップ S250)、上述した 一括設定モードで数値含有薬品名の検索と文字列置換テーブルへの設定とが自動 で行われる。そして、薬品マスターにおける薬品名について数値含有薬品名が見つ カゝる度に、並替薬品名に係る設定と略式薬品名に係る設定とが行われる。
[0290] 例えば、数値含有薬品名「kefral capsule 250mg」が薬品マスターに一般名で 含まれており(図 16 (a)参照)、これが検索で見いだされると、並替薬品名に係る設定 処理として、非数値部「kefral capsulejと数値「250」と単位部「mg」との順が数値 部と単位部と非数値部の順に並べ替えられて並替薬品名「250mg kefral capsul ejが自動生成され、それら並替薬品名と数値含有薬品名とが対データ'組データに されて、並替薬品名「250mg kefral capsulejは文字列置換テーブルの置換前文 字列の方にデータ保持させられ、数値含有薬品名「kefral capsule 250mg」は文 字列置換テーブルの置換後文字列の方にデータ保持させられる(図 16 (b)参照)。
[0291] さらに、略式薬品名に係る設定が数値含有薬品名の正順略式薬品名と並替薬品 名の並替略式薬品名とについて行われる。数値含有薬品名「kefral capsule 250 mg」からは非数値部「kefral capsulejの後尾の一文字「e」を省 、て正順略式薬品 名「kefral capsul 250mg」が自動生成され、それら正順略式薬品名と数値含有 薬品名とが対データ'組データにされて、正順略式薬品名「kefral capsul 250mg 」は文字列置換テーブルの置換前文字列にデータ保持させられ、数値含有薬品名「 kefral capsule 250mg」は文字列置換テーブルの置換後文字列にデータ保持さ せられる(図 16 (b)参照)。同様にして、並替薬品名「250mg kefral capsule」から は並替略式薬品名「250mg kefral capsul」が生成され、それら並替略式薬品名 と数値含有薬品名との対データ'組データも文字列置換テーブルにデータ保持させ られる(図 16 (b)参照)。
[0292] こうして、データが次の状態に初期化される。すなわち、非数値部と数値部と単位 部とをその順に連ねた文字列力もなる数値含有薬品名がそのまま薬品マスターの薬 品名と文字列置換テーブルの置換後文字列とに含められており、数値部と単位部と 非数値部の順に並べ替えた並替薬品名が文字列置換テーブルの置換前文字列の うち元の数値含有薬品名と対応する置換後文字列に含められており、数値含有薬品 名力 その非数値部の後尾の文字を省 、た正順略式薬品名と数値含有薬品名とが 対応付けられて文字列置換テーブルにデータ保持されており、且つ、正順略式薬品 名を数値部と単位部と非数値部の順に並べ替えた並替略式薬品名と数値含有薬品 名とが対応付けられて文字列置換テーブルにデータ保持されて ヽる、 t ヽぅデータ状 態が確立される。
[0293] そして、処方箋受付装置 210の稼動準備が調ったら、データ処理部 230を受付モ ードで起動しなおすと、受付ルーチンが実行されて処方箋を受け付けられる状態に なる(図 12 (b)ステップ S211, S212〜S227を参照)。
[0294] それから(図 12 (a)参照)、薬局を訪れた患者が処方箋をスキャナ 222にセットする と、処方箋走査部 220によって、その処方箋がカウンタの外側から内側へ取り込まれ 、その代わりに引換券が発行される。その際、処方箋に受付番号が印刷されるととも に、処方箋の撮像が行われる。この撮像で得られた画像イメージは、受付番号と共に 、処方箋走査部 220からデータ処理部 230へ送られ、データ処理部 230による処方 箋データ作成に供される。
[0295] データ処理部 230では、受付ルーチンの処理によって、先ず画像イメージに対して 後に詳述するキャリブレーションが施される(二段階処理のうち前処理)。それから(二 段階処理のうち本処理)、処方箋の画像イメージ全体がデータ処理部 230の画面に 表示されるとともに、画像イメージ及び病院マスターについて医療機関名称の探索が 行われる。そして、医療機関名が見つかればそれが医療機関の特定に自動で採用 され、医療機関名が見つ力もなければ、医療機関の指定が促される。これに応じて 受付作業者が医療機関を指定すると、それがデータ処理部 230の受付ルーチンの 処理によって医療機関の特定に採用される。
[0296] 自動であれ手動であれ医療機関が特定されると、データ処理部 230では、受付ル 一チンの処理によって、病院マスターから基礎情報の医療機関名称の一致する処方 箋の形式データが選定される。具体的には、その基礎情報と対応づけられている処 方箋欄分割情報が病院マスターから読み出される。
[0297] さらに、データ処理部 230の受付ルーチンの処理が続き、その自動処理では、処 方箋欄分割情報が得られると、それに基づ 、て画像イメージが幾つかの分割ィメー ジに分割され、その分割イメージ単位で、文字認識および変換欄対比表示や(図 15 (a)参照)、校正欄対比表示が行われる(図 15 (b)参照)。
[0298] そこで、受付作業者は、それらの対比表示画面を適宜切り替えながら見て、必要で あれば紙の処方箋も見て、処方箋データを完成させる。そして、完成確認後、処方箋 完成のボタンをクリックする等して、データ処理部 230に処方箋の受付処理を終えさ せる。
[0299] データ処理部 230では、処方箋の受付処理の最後に、完成した処方箋データが薬 局での処方箋管理に供される。例えば、データ処理部 230から薬局ホストコンビユー タ 250へ送出されて、患者毎の薬歴管理や, 自動調剤機への配信などに用いられる
[0300] こうして、紙の処方箋力 電子データの処方箋データが得られるが、その際、文字 認識を利用して半自動で処方箋データ入力が行われる。し力も、その文字認識に際 し、医療機関に対応した画像イメージの分割処理に加えて、分割イメージ 231と変換 欄 233との対比表示、及び分割イメージ 231と校正欄 234との対比表示も行われる ので、処方箋データ入力を極めて能率良く行うことができる。
[0301] また、患者が薬局へ行く前に病院のファクシミリや自宅の FAX電話に処方箋を読 み込ませて処方箋を薬局へファクシミリ送信したときにも、その処方箋の画像イメージ が回線接続部 240を介してデータ処理部 230に入力される。この場合も、画像ィメー ジに対して先にキャリブレーションが施され (二段階処理のうち前処理)、それからキ ヤリブレーシヨン後の画像イメージが上述したような処方箋データ作成に供される(二 段階処理のうち本処理)。ここでは、先のキャリブレーション(二段階処理のうち前処 理)について詳述すると、データ処理部 230では、受付ルーチンの処理によって(図 12 (b)ステップ S213参照)、テンプレート情報が参照され(図 13 (b)参照)、そこに予 め設定されて!、る「医師」や「電話」等の指定文字が画像イメージの一部領域から検 出される(図 13 (a)参照)。
[0302] そして、その検出結果に基づいて処方箋の画像イメージの全体に対し天地反転処 理と位置補正処理が選択的に行われ(図 12 (b)ステップ S214参照)、鄞線消去処 理も行われる(図 12 (b)ステップ S 215参照)。
[0303] それから、処方箋走査部 220で画像イメージを入力したときと同様にして、データ処 理部 230の受付処方ルーチンの処理によって、処方箋の画像イメージ力 処方箋デ ータが作成される(図 12 (b)ステップ S221〜S227参照)。
[0304] すなわち、上述したように、処方箋の画像イメージ全体がデータ処理部 230の画面 に表示されるとともに、文字認識による自動で或いは操作入力による手動で医療機 関が特定され、それに該当する処方箋様式のデータ (テンプレート情報や病院マスタ 一の該当レコード)が選定され、それに基づいて画像イメージが幾つかの分割ィメー ジに分割され、その分割イメージ単位で、文字認識および変換欄対比表示や(図 15 (a)参照)、校正欄対比表示が行われる(図 15 (b)参照)。そして、受付作業者がそ れらの対比表示画面を適宜切り替えながらデータを修正したり補充することにより、処 方箋データが完成する。
[0305] こうして、処方箋がファクシミリにて処方箋受付装置 210に送信されてきた場合にも 、その処方箋の画像イメージが受信され、この画像イメージ力 電子データの処方箋 データが得られる。この場合も、文字認識を利用して半自動で処方箋データ入力が 行われ、画像イメージの全領域に対する文字認識に先立って、画像イメージの一部 領域に対する文字認識が行われ、これを利用して簡便かつ的確に指定文字の検出 と天地反転処理と位置補正処理が行われ、さらには鄞線消去処理も行われることか ら、ファクシミリ送受信手法に文字認識手法を組み合わせて 、ても文字認識率が低 下しないので、処方箋データ入力を極めて能率良く行うことができる。
[0306] また、文字認識後の変 mffl対比表示で(図 15 (a)参照)、変 ^«233に対する文 字列修正処理を行うと(図 12 (a)ステップ S225参照)、随伴して自動で置換文字列 の追加処理が行われる。例えば修正前の認識文字列「kefra capsule 250mg」を 修正文字列「kefral capsule 250mg」に直す修正処理を受付作業者が行ったと すると、自動で置換文字列追加処理が実行される。そして、修正文字列「kefral ca psule 250mgJが薬品マスターの薬品名に含まれて 、るので、それを文字列置換 テーブルに設定する力否かの確認メッセージが表示される。それに受付作業者が肯 定的な確認応答で応えると、後は自動で、修正された文字列「kefra capsule 250 mg」と修正文字列「kefral capsule 250mg」とが対データ'組データにされて文字 列置換テーブルにデータ保持させられる (016 (b)参照)。
[0307] さらに、それ以外のときでも受付作業者が文字列置換処理の対象文字列を増やし たくなつたら、変麵対比表示であろうと(図 15 (a)参照)校正欄対比表示画面であ ろうと(図 15 (b)参照)、置換文字列設定ボタンのクリック等で置換文字列設定処理へ 移行する。そうすると、個別設定モード下の置換文字列設定ルーチンによって、置換 前文字列用と置換後文字列用の一対の文字列の入力が求められるので、受付作業 者は所望の文字列を入力する。例えば文字列「kefral cap 250mg」と文字列「kef ral capsule 250mg」が入力されると、後は自動で、それらの対データ'組データ が文字列置換テーブルに設定される(図 16 (b)参照)。なお、この「kefral cap 25 OmgJや上述の「kefra capsule 250mg」は数値含有薬品名に該当するので、そ の並替薬品名に係るテーブル設定も行うか否か確認される力 ここでは省いたものと する(図 16 (b)参照)。
[0308] そして、このような設定が文字列置換テーブルになされていると、その後の文字認 識で得られた認識文字列については、文字認識処理の後で直ぐに、文字列置換テ 一ブルに基づく文字列置換処理が行われる。そのため、認識文字列の中に文字列 置換テーブルの置換前文字列「250mg kefral capsulej , 「kefral capsul 250 mg」, 「250mg kefral capsulj , 「kefra capsule 250mg」, 「kefral cap 25 Omg」の何れかが含まれて ヽるとき、その置換前文字列と文字列置換テーブルにお いて対データ'組データをなしている置換後文字列である正規の薬品名「kefral ca psule 250mg」で、認識文字列の該当箇所が置き換えられる。
[0309] そのため、処方箋に薬品名が厳密でなく適当に入れ替えたり略して記入されてい た場合や、多少は誤って記入されていた場合でも、自動で正規の薬品名に直してか ら確認表示されるので、認識率が向上するとともに、処方箋受付の作業負担が軽減 される。 [0310] また、そのような文字列置換処理に要する文字列置換テーブルへの設定や追カロが 、数値含有薬品名につ ヽては薬品マスターを利用して自動化'半自動化されて ヽる ので、容易かつ適切に行える。
[0311] [具体例 3— 2]
第 3の実施形態の具体例 3— 2について、その具体的な構成を、図面を引用して説 明する。図 17は、(a)が受付処理のフローチャート、(b)が引替券の例である。なお、 図 17 (a)のフローチャートにお!/、て、ステップ S213〜S227, S230は、図 12 (b)と 同じで、繰り返しとなるので、記載を省略している。
[0312] この処方箋受付装置が上述した具体例 3— 1のものと相違するのは、ファクシミリ受 信部に加えてファクシミリ送信部も必要になった点と、高精細モードでの再送依頼と 引替券の発行をファクシミリ送信にて行うようになった点である。
[0313] ファクシミリ送信部は、ファクシミリ受信部と同じ回線に接続されていて、処方箋をフ ァクシミリ送信してきた患者へファクシミリにて返信できるようになって!/、れば良!、。上 述した回線接続部 240が送受信一体形であればその送信部で足り、そうでなければ 別個に追加するれば良ぐ外付けタイプでもコンピュータ内蔵タイプでも良い。
[0314] 高精細モードでの再送依頼と引替券の発行は、データ処理部 230の受付ルーチン を機能拡張することで簡便に具現化されている。具体的には(図 17 (a)参照)、処方 箋の画像イメージがファクシミリ送受信にて入力されたら (ステップ S 212及びステップ S 261の「 Yes」)、テンプレート情報に基づ 、て指定文字を検出する前に (ステップ S 213)、処方箋の画像イメージが画素ピッチの細かい高精細モードで送られてきたの か或 、は画素ピッチの粗!ゾーマルモードで送られてきたのかを確認して(ステップ S 262)、高精細モードであれば (ステップ S262の「Yes」)、文字認識処理等に供する が(ステップ S213)、高精細モードでなければ (ステップ S262の「No」)、高精細モー ドでの再送を依頼する文章の記載された画像イメージをファクシミリ送信して処理を 打ち切るようになって 、る(ステップ S263)。
[0315] また、データ処理部 230の受付ルーチンは、ファクシミリ送受信にて入力された処 方箋の画像イメージについて処方箋データへの変換が完了したとき (ステップ S227) 、ファクシミリ送信部を介して引替券の画像イメージを送信するようになっている (ステ ップ S264)。この引替券イメージには(図 17 (b)参照)、引換券発行ユニット 221で発 行する引替券に印刷するのと同様の受付番号や受付日時に加えて、薬局名や電話 番号等の薬局情報,薬局の地図,さらには処方箋イメージの縮小画像なども、含める ようになっている。
[0316] この場合、患者が、自宅の FAX等で薬局へ処方箋をファクシミリ送信する際、うつか り不適切なノーマルモードで送信すると、その場で高精細モードでの再送依頼をファ クシミリ受信することになるので、直ちに適切な高精細モードで送り直すことができる。 し力も、薬局の処方箋受付装置 210では、文字認識率が悪くて処方箋データ入力の 能率が低!、処理や作業を回避することができる。
[0317] また、ファクシミリ送信した処方箋が薬局の処方箋受付装置 210にて受け付けられ たときには、やはり直ちに引替券がファクシミリで返信されて、それを患者が自宅の F AX等で受信することができる。薬局へ出向く前に引替券を入手することができるうえ 、その引替券には薬局へ行くのに役立つ地図情報等も記されているので、極めて便 利である。
[0318] [その他]
上記具体例の処方箋受付装置では、処方箋の画像イメージを入力する入力手段と して回線接続部 240 (ファクシミリ受信部)と処方箋走査部 220とが設けられて 、たが 、回線接続部 240を省いて薬局受付専用の処方箋受付装置としても良ぐ処方箋走 查部 220を省 、てファクシミリ受信専用の処方箋受付装置としても良!、。
[0319] また、上記具体例では、処方箋走査部 220とデータ処理部 230と回線接続部 240 とが別体になっていた力 これらは、別体に限られる訳でなぐ一体化されていても良 い。一体化は、処方箋走査部 220とデータ処理部 230の部分、処方箋走査部 220と 回線接続部 240の部分、データ処理部 230と回線接続部 240の部分だけでも良 ヽ。
[0320] さらに、上記具体例では、校正欄 234の対比表示を分割イメージ 231と並べて行う ようにした力 変 ^«233と校正欄 234とを並べて対比表示しても良ぐ分割イメージ 231と変^ 1233と校正欄 234とを一画面に並べて対比表示しても良い。
[0321] また、上述した文字認識機能に加えてコード変 能もデータ処理部に付与し、処 方箋の画像イメージに二次元コード等のコードが有るときにはそれをデータ処理部が 処方箋データに変換し、そのようなコードの無いときだけデータ処理部が画像ィメー ジに文字認識を施して処方箋データへの変換を行うようにしても良 、 (例えば特願 2 004— 308931参照)。
[0322] また、本発明の適用は、数値含有薬品名に限定されるものでなぐ認識率を向上さ せる他の技術の併用を阻害するものでもない。例えば、数値含有薬品名以外の薬品 名やその他の文字列を文字列置換テーブルに自動で又は手動で設定するように改 造しても良ぐ類似度を利用したり文字限定辞書を使い分けたりといった従来技術を 組み合わせても良い。
[0323] また、上記具体例では、薬品名が一般名と商品名とに項分けされて薬品マスター に保持されて 、たが、一般名と商品名とを区別しな 、で同列の薬品名としてデータ 保持するようにしても良い。
[0324] [第 4の実施形態]
第 4の実施形態は、薬局や病院などで処方箋の自動受付に用いられる処方箋受付 装置に関し、詳しくは、処方箋の画像イメージ (処方箋イメージ)を文字認識にて文字 データやバイナリデータ等の内部形式電子データ (処方箋データ)に変換することに より処方箋の記載情報を取得する処方箋受付装置に関する。
[0325] なお、本願において、文字列は複数の文字の列なりに限定されるものでなぐ文字 の列なりを扱えるところで扱われるのであれば一文字であっても文字列に該当する。
[0326] 第 4の実施形態に係る第 1の処方箋受付装置は、処方箋の画像イメージを入力す る入力手段と、前記画像イメージに文字認識処理を施すことにより前記画像イメージ から処方箋データを得るデータ処理部とを備えた処方箋受付装置において、前記デ ータ処理部が、各種の薬品名を含むデータを保持する薬品マスターと、置換前文字 列と置換後文字列とを対応付けて多数のデータを保持する文字列置換テーブルと、 前記文字認識処理の後にその処理で得た認識文字列に前記文字列置換テーブル の置換前文字列の何れかが含まれているとき前記認識文字列の該当箇所を前記文 字列置換テーブルの置換後文字列のうち該置換前文字列に対応するもので置き換 える文字列置換手段と、一対の文字列を受理して前記文字列置換テーブルの置換 前文字列と置換後文字列とにデータ保持させる置換文字列設定手段とを具えたもの であり、この置換文字列設定手段が、前記文字列置換テーブルへの追加設定に際し て、追加対象の文字列の対の対応関係を仮に逆転させた文字列の対が前記文字列 置換テーブルに以前より設定されていた力否かを調べ、設定されていたときには更 に、双方の文字列について、前記薬品マスターの何れかの薬品名に含まれているか 否かを調べ、含まれていたときには更に、その薬品名力 一致部分と隣接文字とを併 せて抽出し、その抽出文字列を前記文字列置換テーブルの置換後文字列の方にデ ータ保持させるとともに、前記抽出文字列のうち一致部分を文字列の対における他 方の文字列で置き換えた文字列を前記文字列置換テーブルの置換前文字列の方 にデータ保持させるようになって ヽる、ことを特徴とする。
[0327] また、第 4の実施形態に係る第 2の処方箋受付装置は、上記第 1の処方箋受付装 置であって、前記置換文字列設定手段が、前記文字列置換テーブルにおいて置換 前文字列と置換後文字列とを逆転させたものの設定されている文字列の対には双方 向置換可能を示す情報を付し、設定されていない文字列の対には一方向置換を示 す情報を付すようになっており、前記文字列置換手段が、前記文字列置換テーブル にお 、て一方向置換を示す情報の付されて 、る文字列の対にっ 、ては確認するこ となく文字列の置換を行 、、前記文字列置換テーブルにお 、て双方向置換可能を 示す情報の付されている文字列の対については一方向置換の行われな力つたとき に限って確認処理を行!、確認結果に応じて選択的に文字列の置換を行うようになつ ている、ことを特徴とする。
[0328] 第 1の処方箋受付装置にあっては、文字認識処理で得た認識文字列に文字列置 換テーブルを利用した後処理が施されて文字認識率が向上するが、文字列置換の 対象となる文字列の対を文字列置換テーブルに追加設定して文字列置換テーブル を成長させることができる。しカゝも、その追加設定に際して、追加対象の文字列の対 の対応関係を仮に逆転させた文字列の対が前記文字列置換テーブルに以前より設 定されていたか否かが調べられ、設定されていたときには更に、双方の文字列につ いて、薬品マスターの何れかの薬品名に含まれているか否かが調べられ、含まれて いたときには更に、その薬品名力も一致部分と隣接文字とが併せて抽出され、その 抽出文字列が文字列置換テーブルの置換後文字列に保持させられ、抽出文字列の うち一致部分を文字列の対における他方の文字列で置き換えた文字列が文字列置 換テーブルの置換前文字列に保持させられる。
[0329] すなわち、文字列置換テーブルにおいて置換前文字列と置換後文字列とを逆転さ せたものの設定されて 、る文字列の対は、双方向に置換される設定状態になって 、 るので、自動で無条件に置換したのでは、文字認識率向上に寄与しえないが、第 1 の処方箋受付装置にあっては、そのような一対の文字列の設定時に、薬品マスター の薬品名を部分的であれ構成する文字列については、隣接文字が付け加えられて、 一方向置換に資する文字列さらには文字列の対が作り上げられ、その文字列の対も 文字列置換テーブルに追加設定される。
[0330] このように、双方向置換可能な文字列の対については、薬品マスターの利用にて、 一方向置換で足りる文字列の対が自動生成'自動設定されるようにしたことにより、薬 品名の特殊性に基づ!/、て文字列置換テーブルへの設定や追カ卩が容易かつ適切に 行える処方箋受付装置を実現することができる。
[0331] また、第 2の処方箋受付装置にあっては、双方向置換可能な文字列の対と一方向 置換だけの文字列の対とが付加情報にて区別されていて、一方向置換だけの文字 列の対については確認することなく自動で文字列の置換が行われ、双方向置換可能 な文字列の対については受付作業者等の確認行為を要する処理が行われるが、双 方向置換可能な文字列の対に係る処理は、一方向置換の行われたときには行われ ない。そうすると、双方向置換可能な文字列の対であっても薬品名に含まれている場 合には大抵のものが上述したように一方向置換だけの文字列の対となっているので 、確認行為を要する処理が行われる機会は可成り少ない。したがって、薬品名の特 殊性に着目して文字列置換テーブルへの設定や追加が容易かつ適切に行えるうえ 簡便な文字列置換手法であっても変換効率や文字認識率の高い処方箋受付装置 を実現することができる。
[0332] 第 4の実施形態に係る第 3の処方箋受付装置は、上記のいずれかの処方箋受付装 置であって、前記画像イメージに文字認識処理を施す際に、前記処方箋を発行した 医療機関を特定して、対応した処方箋様式を選定し、その様式に基づいて前記画像 イメージを分割処理することを特徴とする。 [0333] この場合、処方箋の画像イメージに係る文字認識に際して、その処方箋を発行した 医療機関が特定され、それに対応した処方箋様式が選定され、さらに、その様式に 基づいて画像イメージが分割処理される。このように、各医療機関の発行する処方箋 の項目配置パターンに対応した分割パターンで画像イメージが分割され、それぞれ の分割イメージに文字認識が施されるようにしたことにより、文字認識時の文字デー タの候補や処方箋データへの変換時の項目候補が絞り込まれるので、データ変換の 精度が向上する。
[0334] 第 4の実施形態に係る第 4の処方箋受付装置は、上記第 3の処方箋受付装置であ つて、前記画像イメージの分割イメージとそれを文字データに変換して表示させた変 とを対比させて画面表示することを特徴とする。
[0335] この場合、処方箋の画像イメージに係る文字認識に際して、画像イメージの分割ィ メージとそれを文字データに変換して表示させた変 mfflとが画面に対比表示される。 これにより、文字認識の結果を容易に確認することができ、その結果を処方箋データ に変換する前に、文字認識をやり直したり文字データを修正するといつたことも行える
[0336] 第 4の実施形態に係る第 5の処方箋受付装置は、上記第 4の処方箋受付装置であ つて、前記処方箋データを項目ごとに項目名を付して校正可能に表示させた校正欄 を、上記分割イメージ及び上記変 ^fflの何れか一方または双方と対比させて、画面 に表示することを特徴とする。
[0337] この場合、処方箋の画像イメージに係る文字認識に際して、処方箋データを項目ご とに項目名を付して校正可能に表示させた校正欄も、分割イメージ等と対比される状 態で、画面に表示される。これにより、文字認識の結果を反映させた処方箋データを 容易に確認することができ、人手介助の必要な校正も、分割イメージ等と見比べるこ とで、容易に行える。
[0338] 第 4の実施形態に係る第 6の処方箋受付装置は、上記のいずれかの処方箋受付装 置であって、前記入力手段としてファクシミリ受信部が設けられている、というものであ る。
[0339] この場合、ファクシミリ受信部が処方箋の画像イメージの入力手段として装置に組 み込まれて るので、ファクシミリ送受信された画像イメージがそのまま文字認識処理 に供される。これにより、受信後の再撮像が回避されることから、薬局側での処方箋 読取作業が不要になるうえ、画質の劣化が送信側での撮像時だけで済むので、従来 よりも画質が良好に維持される。そのため、文字認識率も良くなる。したがって、この 実施形態によれば、ファクシミリ送信にて患者の待ち時間を削減できるうえ薬局にとつ てもデータ入力の能率が良い処方箋受付装置を実現することができる。
[0340] 第 4の実施形態に係る第 7の処方箋受付装置は、上記第 6の処方箋受付装置であ つて、前記ファクシミリ受信部と同じ回線に接続されたファクシミリ送信部が設けられ、 前記ファクシミリ受信部を介して処方箋を受け付けると引替券の画像イメージを生成 して前記ファクシミリ送信部から送信することにより引替券の発行を行うようになってい る、というものである。
[0341] この場合、患者が処方箋をファクシミリ送信するとその場で引替券をファクシミリ受信 できるので、遠隔地での受付作業であっても薬局での作業と同じく簡便かつ的確に 遂行されることとなる。したがって、この実施形態によれば、ファクシミリ送信にて患者 の待ち時間を削減でき而も何処カゝらでも送信できるうえ引替券も受け取れて便利で あり更に薬局にとってもデータ入力の能率が良い処方箋受付装置を実現することが できる。
[0342] 第 4の実施形態に係る処方箋受付装置について、これを実施するための具体的な 形態を、以下の具体例 4— 1 4— 2により説明する。
[0343] 図 18 22に示した具体例 4—1は、上述した第 1〜第 6の処方箋受付装置を具現 化したものであり、図 23に示した具体例 4— 2は、上述した第 7の処方箋受付装置を 具現ィ匕したものである。
[0344] [具体例 4 1]
第 4の実施形態の具体例 4—1について、その具体的な構成を、図面を引用して説 明する。図 18は、処方箋受付装置 310の構造を示し、(a)が ドウ ア構成図、 (b )が受付処理のフローチャートである。また、図 19は、(a)が処方箋の情報欄の配置 例と指定文字の例、(b)がテンプレート情報のデータ構造例である。さらに、図 20は (a)が処方箋の情報欄の配置例、(b)が他の配置例、(c)が病院マスターのデータ 構造例、(d)が処方箋データの構造例である。また、図 21は、(a)が変換欄対比表示 画面の一例、(b)が校正欄対比表示画面の一例であり、図 22は、(a)が薬品マスタ 一のデータ構造例、(b)〜(d)が文字列置換テーブルのデータ構造例である。
[0345] 処方箋受付装置 310は(図 18 (a)参照)、処方箋走査部 320とデータ処理部 330と 回線接続部 340とを具えている。処方箋走査部 320も、回線接続部 340も、処方箋 の画像イメージをデータ処理部 330に入力する入力手段として設けられており、それ ぞれ信号ケーブルでデータ処理部 330に接続されて 1、る。処方箋走査部 320は紙 媒体の処方箋を薬局で直に撮像するのに対し、回線接続部 340は、遠隔地で撮像 された処方箋イメージ (処方箋の画像イメージ)がファクシミリ送信されて来たら、それ を受信してデータ処理部 330に引き渡すものである。
[0346] そのため、回線接続部 340は、図示しない電話回線やファクシミリ回線網など外部 の通信回線に接続されてファクシミリ受信できるようになつていれば良ぐ市販の所謂 FAXモデムやターミナルアダプタ等で足りる。この具体例では、ファクシミリ受信部と して受信さえ出来れば足りるが、この受信部と同じ回線に接続されたファクシミリ送信 部と一緒になつていても良ぐ音声での通話が可能になっていても良ぐ図示したよう な外付けタイプでも図示しな 、コンピュータ内蔵タイプでも良 、。
[0347] 処方箋走査部 320は、差込み口に処方箋が投入されるとそれを移送路 324へ送り 込みながら処方箋の撮像を行うスキャナ 322と、移送路 324に臨んで設けられ処方 箋に受付番号を印刷するプリントヘッド 325と、処方箋を受け付けた代わりに引換券 を発行する引換券発行ユニット 321と、操作スィッチや状態表示部材を配設した操作 ノネル 326と、それらの動作制御を行うローカルコントローラ 323とを具えていて、ス キヤナ 322で撮った画像イメージを受付番号と共にデータ処理部 330へデータ送信 するようになっている。
[0348] データ処理部 330のハードウェアは(図 18 (a)参照)、図示のような所謂デスクトップ パソコンや図示しないノートパソコンなどの汎用コンピュータで良ぐ処方箋走査部 32 0や回線接続部 340から送られてきた画像イメージから処方箋データを得るために、 データ処理部 330のプログラムメモリ等には受付ルーチンと置換文字列設定ルーチ ン (置換文字列設定手段)力 Sインストールされ、データ処理部 330に内蔵の又は外付 けのハードディスク等には、文字列置換テーブルや,テンプレート情報,病院マスタ 一,患者マスター,保険マスター,薬品マスター,用法マスター,注釈マスターなどの データ群が、
Figure imgf000078_0001
、はデータベースに 統合されて、記憶保持されている。
[0349] 文字列置換テーブルには(図 18 (a)参照)、後で具体例を挙げるが(図 22 (b)〜(d )参照)、対応する置換前文字列と置換後文字列と置換方向とからなる対データ'組 データが多数保持されている。そのうち、置換前文字列や置換後文字列にはそれぞ れ文字列が設定されるようになっていて、実際に設定される文字列は一文字から多 数文字の列なりまで可能であり、空または空白文字は未設定を意味する。また、置換 方向の項目には、一方向置換を示す情報と双方向置換可能を示す情報との何れか が設定されるようになっている。文字列置換テーブルは、置換文字列設定ルーチン による置換文字列設定処理や、受付ルーチンによる文字認識処理直後の文字列置 換処理に用いられる。
[0350] テンプレート情報には(図 18 (a)参照)、後で詳述するが(図 19 (b)参照)、処方箋 に含まれていることが予め判明している指定文字のコード又はパターンや、処方箋に おける指定文字の位置データが含まれており、テンプレート情報は指定文字の検出 およびその検出結果に基づく画像イメージの天地反転処理や位置補正処理に用い られる。
[0351] 病院マスターには(図 18 (a)参照)、やはり後で詳述するが(図 20 (c)参照)、それ ぞれの医療機関に対応した処方箋様式のデータが含まれており、病院マスターは画 像イメージの分割に用いられる。
[0352] 患者マスターには(図 18 (a)参照)、患者の氏名や生年月日さらには患者コード等 のデータが含まれており、患者名の確認や過去処方提示の手が力り等に用いられる
[0353] 保険マスターには(図 18 (a)参照)、保険の種類などのデータが含まれており、保険 の種類の確認や候補提示に用いられる。
[0354] 薬品マスターには(図 18 (a)参照)、各種の薬品名に加えて薬品コード等のデータ が含まれており、薬品名の確認や候補提示などに用いられる。薬品名には一般名や 商品名などがあり、それを項目分けして記憶保持しても良いが、項目分けせず一緒 に保持するデータ構造にっ 、て具体例を後述する(図 22 (a)参照)。
[0355] 用法マスターには(図 18 (a)参照)、処方単位や服用限度などのデータが含まれて おり、処方内容の確認や候補提示などに用いられる。注釈マスターは(図 18 (a)参照 )、特記事項やコメント等の文字列データを追加書き込みできるようになつている。
[0356] 受付ルーチンは(図 18 (b)参照)、先ず動作モードが置換文字列設定モードに設 定されて!/ヽるか受付モードに設定されて ヽるか確認して (ステップ S311)、置換文字 列設定モードになっているときには後述の置換文字列設定ルーチンに処理を委ねる が (ステップ S350)、受付モードになっているときには以下の受付処理を行うようにな つている(ステップ S311〜S327)。
[0357] すなわち、受付モード下で、受付ルーチンは、処方箋走査部 320で処方箋の読取 が行われてその画像イメージが処方箋走査部 320からデータ処理部 330に送られて きたときに加えて、外部のファクシミリで処方箋の読取が行われてその画像イメージが 回線接続部 340を介してデータ処理部 330に送られてきたときも、先ずはその画像ィ メージを入力するようになって!/、る(ステップ S312)。
[0358] そして、その画像イメージ力も処方箋データを得るために、その画像イメージに文字 認識処理等を施すが、その処理を二段階に分けて行う。具体的には、キヤリブレーシ ヨンのため処方箋の画像イメージの一部領域にだけ文字認識処理を施す前処理段 階 (ステップ S313〜S315)と、画像イメージ全領域に対して文字認識処理等を施す 本処理段階 (ステップ S321〜S327)とが行われる。なお、ここでは、画像イメージを 直接読取で入力したときもファクシミリ受信で入力したときも前処理と本処理の二段階 処理を行うようにした力 直接読取時には前処理が不要であることが判明している場 合は、処方箋走査部 320で読み取って画像イメージを入力したときには直ちに画像 イメージ全領域に対するイメージ分割処理 ·文字認識処理 ·データ変換処理に移行し 、回線接続部 340を介するファクシミリ受信にて画像イメージを入力したときだけ二段 階の処理を行うようにしても良 、。
[0359] 先ず前者の前処理段階について詳述すると (ステップ S313〜S315)、このキヤリ ブレーシヨン用の前処理は、簡便かつ的確に調整を遂行するため、テンプレート情報 を利用しており、テンプレート情報に基づいて指定文字を検出し (ステップ S313)、そ の結果、画像イメージが逆さであることが判明したときには画像イメージを 180°回転 させることにより天地反転処理を行い、画像イメージが位置ずれしていることが判明し たときには画像イメージを上下左右に移動させることにより位置補正処理を行い (ステ ップ S314)、処方箋の画像イメージ力 鄞線を消去する鄞線消去処理も行うようにな つている (ステップ S315、特許文献 7参照)。
[0360] 処方箋に含まれていることが予め判明している指定文字として(図 19 (a)参照)、例 えば、医療機関情報欄における「医師名」の「医師」が指定文字 No. 1に選定され、 同じ医療機関情報欄における「電話番号」の「電話」が指定文字 No. 2に選定されて いたとする。また、「医師」の処方箋内位置は左から 1299ピクセルで上から 980ピク セルで右から 1332ピクセルで下から 1014ピクセルであったとすると、テンプレート情 報については(図 19 (b)参照)、指定文字 No. 1に係るデータ項目のうちパターンは 「医師」に,読取左は「1299」に,読取上は「980」に,読取右は「1332」に,読取下 は「1014」に予め設定される。同様にして、テンプレート情報において指定文字 No. 2に係るデータ項目では、パターンは「電話」に,読取左は「1168」に,読取上は「88 4」に,読取右は「1480」に,読取下は「1066」に予め設定されている。
[0361] 受付ルーチンは、このようなテンプレート情報を参照して指定文字を検出するとき( 図 18 (b)ステップ S 313)、テンプレート情報の読取左 ·読取右 '読取上'読取下で想 定される処方箋内位置を中心にした例えば左右 100ピクセル上下 100ピクセルの処 方箋部分領域と、その第 1想定位置を逆さの処方箋に当てはめたときの第 2想定位 置を中心にした処方箋部分領域とに限定して、処方箋の画像イメージに文字認識処 理を施すようになつている。そして、指定文字 No. 1の文字「医師」と指定文字 No. 2 の文字「電話」とが第 1想定位置包含領域に見いだせれば、指定文字検出位置と第 1想定位置との位置ずれを相殺するよう画像イメージの位置を補正するが、天地反転 処理は行わな ヽようになって!/、る。
[0362] これに対し、指定文字 No. 1の文字「医師」と指定文字 No. 2の文字「電話」とが第 2想定位置包含領域で見つ力つたときには、先ず、画像イメージに対して天地反転 処理を行うとともに、指定文字検出位置についても処方箋の天地反転に対応した位 置変換を行い、それから、変換後の指定文字検出位置と第 1想定位置との位置ずれ を相殺するよう画像イメージの位置を補正するようになっている。あるいは、指定文字 検出位置と第 2想定位置との位置ずれを相殺するよう画像イメージの位置を補正して から、画像イメージに対して天地反転処理を行う。その後、受付ルーチンは、鄞線消 去処理を行って、処方箋の画像イメージ力も鄞線を消去し (ステップ S315)、それか らニ段階処理のうちの本処理すなわち処理画像イメージ全領域に対するイメージ分 割処理'文字認識処理'データ変換処理 (ステップ S321〜S327)に移行するよう〖こ なっている。
[0363] 画像イメージ全領域に対するイメージ分割処理 ·文字認識処理 ·データ変換処理で は、受付ルーチンが(図 18 (b)参照)、医療機関特定に基づくイメージ分割処理と (ス テツプ S321〜324)、処方箋の画像イメージに文字認識を施して文字データを得る 文字認識処理と (ステップ S325)、その文字データを処方箋データに変換するデー タ変換処理と (ステップ S326)を行う。文字認識処理とデータ変換処理は、処方箋デ ータが完成するまで、分割イメージを替えたり戻したりしながら、何度でも繰り返して 行えるようになって!/、る(ステップ S327)。
[0364] 置換文字列設定ルーチンは後で詳述するので、本処理段階の部分 (ステップ S32 1〜S327)を詳述すると、イメージ分割処理では、目視確認のため画像イメージをそ のまま即ち処方箋全体を画面に表示したうえで (ステップ S321)、画像イメージ全体 に文字認識を施し更にその認識結果に文字列検索を行って医療機関を特定しうる 文字列が含まれている力否力判定する (ステップ S322)。その判定結果が肯定的な 場合 (ステップ S322の「有」)、例えば「〇〇〇病院」や「X X X診療所」といった医療 機関名が見つ力り而もそれが病院マスターに保持されているときには、その医療機関 名を自動採用するようになって!/、る。
[0365] これに対し、上記の判定結果が否定的な場合には (ステップ S322の「無」)、病院 マスター中の医療機関名称を候補として画面に列挙して受付作業者に選択させたり 、画面中の入力欄へ受付作業者に医療機関名の入力を求めたりして、医療機関の 指定を受けるようになつている (ステップ S323)。医療機関の特定が済むと、その医 療機関に対応した処方箋様式を選定するとともに (ステップ S324)、その様式に基づ V、て画像イメージを分割処理するようにもなつて!/、る。
[0366] 処方箋の様式は(図 20 (a) , (b)参照)、ここでは画像イメージの分割に関係するも のが重要であり、典型例としては、図示した医療機関情報欄や,患者情報欄,調剤 情報欄,保険情報欄,図示しない注釈欄などに大別され、それらの処方箋における 配置が医療機関ごとに規定され医療機関で異なることが多い。
[0367] そして、それを反映した病院マスターには(図 20 (c)参照)、医療機関ごとに、それ に対応した処方箋様式のデータが、すなわち基礎情報と処方箋欄分割情報とが、対 応づけて保持されている。
[0368] そのうち基礎情報は(図 20 (c)参照)、医療機関情報欄 (図 20 (a) , (b)参照)の記 載事項を電子データにしたものである処方箋データの医療機関情報(図 20 (d)参照 )と同じかそれに準ずるものである(図 20 (c)参照)。
[0369] また、処方箋欄分割情報には(図 20 (c)参照)、上記の各欄に関する配置情報が 含められている。配置情報は、例えば、該当欄が長方形の場合、処方箋における該 当欄の対角点の位置などで規定されて 、る。配置情報を同じ欄にっ 、て繰り返し規 定するのも許容されて!、て、複数の長方形に分散した又はそれらを結合させた形状 の情報欄にも適合するようになって 、る。
[0370] 処方箋データは(図 20 (d)参照)、そのような処方箋の記載事項を電子データとし て得られる標準データ構造のものであり、例えば、それを薬歴管理や自動調剤など に利用する薬局ホストコンピュータ 350に適合させて予めデータ構造が定められてい る。それには、図示した医療機関情報や,患者情報,保険情報,調剤情報が含まれ る他、図示しない注釈情報なども常に又は選択的に含められる。医療機関情報には 医療機関名称などが含まれ、患者情報には患者名などが含まれ、保険情報には保 険種別や保険番号などが含まれ、調剤情報には、処方された薬品名と用量との組デ ータがー組または複数組'多数組含まれるようになって!/、る。
[0371] さらに、データ処理部 330は(図 18 (b)参照)、特定した医療機関に対応する処方 箋欄分割情報が得られると (ステップ S324)、それに基づき処方箋の各欄ごとに画像 イメージを分割して分割イメージを幾つか作り、例えば医療機関情報欄の分割ィメー ジゃ,患者情報欄の分割イメージ,調剤情報欄の分割イメージ,保険情報欄の分割 イメージなどを作り、そのうち何れかの分割イメージを画面に対比表示させて文字認 識処理 (ステップ S325)及びデータ変換処理 (ステップ S326)を行うようになって!/、る
[0372] 文字認識処理では、変換欄対比表示が行われ (図 21 (a)参照)、選択された情報 欄に係る分割イメージ 331と、それに文字認識を施して得られた文字データの変換 欄 333とが、左右に並んだ状態で、一画面に表示される。変換欄 333は、マウスゃキ 一の操作等で選択した部分を受付作業者が文字列修正を行えるようになって ヽる。 情報欄の選択切り替えは欄指定タブ 332のクリック等で行え、データ変換処理すな わち校正欄対比表示画面への移行は特定ボタン例えば「校正欄表示」のクリック等 で行えるようになって!/ヽる。
[0373] また、この文字認識処理に随伴して文字列置換処理 (文字列置換手段)が行われ るようにもなつて 、る(図 18 (b)ステップ S325参照)。
[0374] 文字列置換処理は、分割イメージ 331に文字認識処理が施された直後、変換欄 33 3が表示される前に、行われる。この処理では、文字認識処理の後にその処理で得 た認識文字列に文字列置換テーブルの置換前文字列の何れかが含まれているとき 、その置換前文字列と文字列置換テーブルにおいて対データ'組データをなしてい る置換後文字列で、認識文字列の該当箇所が置き換えられる。もっとも、そのような 一方向置換が無条件に行われるのでなぐ処理中の上記置換前文字列と文字列置 換テーブルにお 、て対データ'組データをなして 、る置換方向に応じて選択的に確 認がとられるようになって!/、る。
[0375] すなわち、文字列置換テーブルにおいて同じ対データ'組データの置換方向に一 方向置換を示す情報の設定されている置換前文字列と置換後文字列との対につい ては確認処理を行うことなく認識文字列の置換前文字列該当箇所が置換後文字列 で置き換えられる力 文字列置換テーブルにお 、て同じ対データ'組データの置換 方向に双方向置換可能を示す情報の設定されている置換前文字列と置換後文字列 との対については、上記の一方向置換の行われな力つたときに限って確認処理が行 われ、さらに、その確認結果に応じて選択的に文字列の置換が行われるようになって いる。確認処理は、置換前文字列と置換後文字列に加えて前後の文字列なども画面 表示して、受付作業者等に指示入力を促し、置換実行の指示を受けたときは認識文 字列の置換前文字列該当箇所を置換後文字列で置き換えるが、そうでないときは文 字列の置換を省ぐ t 、つたことで行われるようになって!/、る。
[0376] 文字列置換については一方向置換と双方向置換の何れも具体例を後述する。
[0377] データ変換処理では、変 mffl対比表示で得られた文字データを処方箋データに 反映させるとともに、校正欄対比表示が行われる(図 21 (b)参照)。この校正欄対比 表示では、選択された情報欄に係る分割イメージ 331と、処方箋データの各項目を 列挙した校正欄 334とが、左右に並んだ状態で、一画面に表示される。校正欄 334 の各項目には、項目名とデータ値とが含まれており、そのうちデータ値は、校正のた め、マウスやキーの操作等で選択して修正できるようになって!/、る。
[0378] 校正欄対比表示画面でも、情報欄の選択切り替えは欄指定タブ 332のクリック等で 行え、文字認識処理すなわち変換欄対比表示画面への戻り等は特定ボタン例えば「 変 ^ffl表示」のクリック等で行えるようになつている。すなわち、対比表示画面間の移 行も、情報欄の選択切替も、何時でも自由に行えるようになつている。同様に例えば「 置換文字列設定」ボタンのクリック等で、置換文字列設定処理へも移行できるように なっている(図 18 (b)ステップ S325からステップ S350への破線を参照)。
[0379] 校正欄対比表示画面で(図 21 (b)参照)、特定ボタン例えば「処方箋完成」のクリツ ク等がなされると、受付ルーチンは(図 18 (b)参照)、処方箋データが完成したと判定 して (ステップ S327の「Yes」 )、処方箋の受付処理を終えるようになって!/、る。
[0380] 置換文字列設定ルーチンは(図 18 (b)ステップ S350)、要するに追加設定したい 二つの文字列を対データ'組データにして文字列置換テーブルの置換前文字列お よび置換後文字列にデータ保持させるものであるが、双方向置換可能に設定された ため自動で無条件には置換しえなくなつた対データ'組データについても、薬品マス ターを利用して多くの場合に自動で一方向置換できるよう機能が拡張されており、同 じ対データ'組データにおける置換方向に対する情報設定と、薬品マスターを利用し た一方向置換可能な文字列対の自動生成 ·設定も、行うようになっている。
[0381] 基本機能である対データの追加設定は、置換文字列設定ルーチンが起動されたり その処理が繰り返されたときには常に実行される処理であり、具体的には、先ず受付 作業者等に対して例えば図示しない入力催促メッセージ等を表示して置換前文字列 用と置換後文字列用の一対の文字列の入力を求め、それらが入力されると後は自動 で、一方の文字列を文字列置換テーブルの置換前文字列の方にデータ保持させ、 他方の文字列を文字列置換テーブルの置換後文字列の方にデータ保持させるよう になっている(図 22 (b)参照)。
[0382] 拡張機能である置換方向の設定は、対データの設定に続けて自動実行されて、追 加設定されたばかりの文字列の対すなわち置換前文字列と置換後文字列とを逆転さ せたものが文字列置換テーブルにお 、て以前より設定されて 、たか否かを調べ、逆 転文字列対が設定されていないときには、一方向置換を示す情報たとえば「→」を、 追加設定されたば力りの文字列の対と同じ対データ'組データの置換方向に付すよ うになつている(図 22 (b)参照)。また、逆転文字列対が設定されていたときには(図 2 2 (c)参照)、双方向置換可能を示す情報たとえば「 」を、追加設定されたば力りの 文字列の対と同じ対データ'組データの置換方向に設定するとともに、以前に設定さ れていた文字列の対と同じ対データ'組データの置換方向にも上書き設定して、更 には次に述べる文字列対の自動追加まで行うようになって!/、る(図 22 (d)参照)。
[0383] 拡張機能である文字列対の自動追加は、逆転文字列対が文字列置換テーブルに 設定されて ヽたときだけ実行され、双方向置換可能を示す情報を付された追加対象 の文字列対の双方について即ち文字列置換テーブルに追加設定されたば力りの双 方向置換可能な置換前文字列と置換後文字列とについて、これらは逆転文字列対 の双方の文字列でもある力 双方向置換可能な文字列の対うち何れか一方の文字 列が薬品マスターの何れかの薬品名に含まれているか否かを調べ、含まれていたと きには更に、その薬品名力も一致部分と隣接文字とを併せて抽出するとともに、その 抽出文字列のうち一致部分を双方向置換可能な文字列の対における他方の文字列 で置き換えて、新たな文字列ひいては新たな文字列対を生成し、 この文字列対を 文字列置換テーブルに追加設定する。
[0384] 具体的には、抽出文字列を文字列置換テーブルの置換後文字列の方にデータ保 持させるとともに、それと対になった新規生成文字列を文字列置換テーブルの置換 前文字列の方にデータ保持させるようになって 、る(図 22 (d)参照)。 [0385] なお、薬品名力 一致部分と隣接文字とを併せて抽出するとき、一致部分が薬品 名の先頭や末尾に存在して!/、る等の場合には隣接文字の抽出は片方だけ行うように しても良い。また、抽出する隣接文字が一文字か一文字ずつでは一方向置換に不 足するようなときには、複数文字か複数文字ずつ併せて抽出するようにしても良い。
[0386] この具体例 4 1の処方箋受付装置 310について、その使用態様及び動作を、図 面を引用して説明する。
[0387] 処方箋受付装置 310を例えば薬局に設置する場合 (図 18 (a)参照)、処方箋走査 部 320は受付カウンタ等に載置し、データ処理部 330や回線接続部 340はカウンタ 内の作業机等に載置し、両者をケーブル接続するとともに、薬局ホストコンピュータ 3 50に繋がっている局内 LAN等が有ればそれにもデータ処理部 330を接続する。
[0388] また、データ処理部 330には、受付ルーチンと置換文字列設定ルーチンをインスト ールするとともに、データ初期化も行う。すなわち、薬品マスターや,用法マスター, 保険マスターには、薬局で扱う可能性のある薬品名や,処方単位,保険の種類など のデータを設定する。また、注釈マスターや,患者マスターはクリアする。さらに、テン プレート情報には、処方箋に含まれていることが予め判明している指定文字や処方 箋における指定文字の位置データなどを設定し、病院マスターには、医療機関対応 の処方箋欄分割情報などを設定する。薬品マスターや文字列置換テーブルへの初 期設定は、他機や初期化ツール等力も移設できるデータについては、ダウンロード 等で、手間を省く。
[0389] そのような初期設定により、例えば、薬品マスターの薬品名には「tannalbin (タンナ ルビン)」や「aspirin (アスピリン)」等がデータ保持され(図 22 (a)参照)、文字列置換 テーブルには、置換前文字列「! X」を置換後文字列「I X」で一方向置換「→」する という対データ'組データや,他の対データ'組データ「two」 +「→」 +「two」、「q d aysj + Γ→] + Γ9 days」等力 データ保持される(図 22 (b)参照)。
[0390] それから、移設されなかった対データ'組データを追加設定する場合、データ処理 部 330を置換文字列設定モードで起動する(図 18 (b)ステップ S311参照)。すると、 置換文字列設定ルーチンが起動されて (ステップ S350)、上述した対データの追カロ 設定と置換方向の設定と文字列対の自動追加とが行われる。 [0391] 例えば、先ず 」を「b」で置き換えるという設定を行い、次に「b」を 」で置き換える という設定を行うものとする。
[0392] 先ず、データ処理部 330によって対データの追加設定が行われ、その求めに応じ て設置作業者や受付作業者候補等が文字列対「p」 +「b」をデータ処理部 330に入 力すると、後はデータ処理部 330によって自動で、文字列置換テーブルの置換前文 字列に「p」がデータ保持させられ、文字列置換テーブルにお 、て対応して 、る置換 後文字列に「b」がデータ保持させられる。
[0393] それから、データ処理部 330によって置換方向の設定が行われる。具体的には、と りあえず、文字列置換テーブルに追加設定されたばかりの対データ「p」 +「b」と文字 列置換テーブルにおいて対応している置換方向に、一方向置換を示す情報「→」が データ保持させられる。さらに、その文字列の対「p」 +「b」を逆転させた逆転文字列 対「b」 +「p」が文字列置換テーブルにおいて以前より設定されていたか否かが調べ られる。この場合は、未だ、そのような逆転文字列対が設定されていないので、置換 前文字列「p」を置換後文字列「b」で一方向置換「→」すると!/、う対データ'組データ が文字列置換テーブルに設定されただけで、置換文字列設定処理が終了する。
[0394] 次いで、データ処理部 330によって対データの追加設定が繰り返されるので、その 求めに応じて設置作業者や受付作業者候補等が文字列対「b」 +「p」をデータ処理 部 330に入力したとする。すると、その後はやはり自動で、文字列置換テーブルの置 換前文字列に「b」がデータ保持させられ、文字列置換テーブルにお!/ヽて対応して!/ヽ る置換後文字列に「P」がデータ保持させられる。それから、データ処理部 330による 置換方向の設定が行われて、とりあえず、文字列置換テーブルにおいて対データ「b 」 +「p」と対応している置換方向に、一方向置換を示す情報「→」がデータ保持させら れる(図 22 (c)参照)。
[0395] さらに、その文字列の対「b」 +「p」を逆転させた逆転文字列対「p」 +「b」が文字列 置換テーブルにおいて以前より設定されていたか否かが調べられる。そして、今度は
、その逆転文字列対が既に設定されているので、置換前文字列「b」を置換後文字列 「p」で一方向置換「→」すると!、う対データ'組データが文字列置換テーブルに設定 されるにとどまらず、追加設定されたば力りの文字列の対「b」 +「p」と同じ対データ · 糸且データの置換方向にも、以前に設定されていた文字列の対 」 +「b」と同じ対デ ータ '組データの置換方向にも、一方向置換を示す情報「→」に代えて、双方向置換 可能を示す情報「 」が、上書き設定される(図 22 (d)参照)。それに加えて、次の文 字列対の自動追加も、データ処理部 330によって自動実行される。
[0396] この文字列対の自動追加は、手動指定で入力された文字列「b」, 「p」双方につい て行われ、先ず一方の文字列「b」が薬品マスターの何れかの薬品名に含まれて!/、る か否かが調べられる。この場合は、文字列「b」が薬品名「tannalbin」に含まれている ので (図 22 (a)参照)、その薬品名力も一致部分「b」と隣接文字「1」, 「i」とが併せて 抽出され、その抽出文字列「lbi」のうち一致部分「b」を双方向置換可能な文字列の 対「b」 +「p」における他方の文字列 」で置き換える等のことで、新たな一対の文字 列「lpi」 +「lbi」が生成され、この文字列対が文字列置換テーブルに追加設定される (図 22 (d)参照)。
[0397] また、残りの文字列「p」についても、それが薬品マスターの何れかの薬品名に含ま れている力否かが調べられる。この場合は、文字列 」が薬品名「aspirin」に含まれ ているので (図 22 (a)参照)、その薬品名力も一致部分 」と隣接文字「s」, 「i」とが併 せて抽出され、その抽出文字列「spi」のうち一致部分「p」を双方向置換可能な文字 列の対「b」 +「p」における他方の文字列「b」で置き換える等のことで、新たな一対の 文字列「sbi」 +「spi」が生成され、この文字列対が文字列置換テーブルに追加設定 される(図 22 (d)参照)。これらの自動追カ卩は、一方向置換を示す情報「→」が付され 、文字列置換テーブルにお!、て双方向置換可能な対データ'組データより先に検索 されるところに挿入される(図 22 (d)参照)。
[0398] こうして、文字列置換テーブルへの設定や追カ卩が容易かつ適切に而も能率よく行 われ、データの初期設定が完了する。
[0399] そして、処方箋受付装置 310の稼動準備が調ったら、データ処理部 330を受付モ ードで起動しなおすと、受付ルーチンが実行されて処方箋を受け付けられる状態に なる(図 18 (b)ステップ S311, S312〜S327を参照)。
[0400] それから(図 18 (a)参照)、薬局を訪れた患者が処方箋をスキャナ 322にセットする と、処方箋走査部 320によって、その処方箋がカウンタの外側から内側へ取り込まれ 、その代わりに引換券が発行される。その際、処方箋に受付番号が印刷されるととも に、処方箋の撮像が行われる。この撮像で得られた画像イメージは、受付番号と共に
、処方箋走査部 320からデータ処理部 330へ送られ、データ処理部 330による処方 箋データ作成に供される。
[0401] データ処理部 330では、受付ルーチンの処理によって、先ず画像イメージに対して 後に詳述するキャリブレーションが施される(二段階処理のうち前処理)。それから(二 段階処理のうち本処理)、処方箋の画像イメージ全体がデータ処理部 330の画面に 表示されるとともに、画像イメージ及び病院マスターについて医療機関名称の探索が 行われる。そして、医療機関名が見つかればそれが医療機関の特定に自動で採用 され、医療機関名が見つ力もなければ、医療機関の指定が促される。これに応じて 受付作業者が医療機関を指定すると、それがデータ処理部 330の受付ルーチンの 処理によって医療機関の特定に採用される。
[0402] 自動であれ手動であれ医療機関が特定されると、データ処理部 330では、受付ル 一チンの処理によって、病院マスターから基礎情報の医療機関名称の一致する処方 箋の形式データが選定される。具体的には、その基礎情報と対応づけられている処 方箋欄分割情報が病院マスターから読み出される。
[0403] さらに、データ処理部 330の受付ルーチンの処理が続き、その自動処理では、処 方箋欄分割情報が得られると、それに基づ 、て画像イメージが幾つかの分割ィメー ジに分割され、その分割イメージ単位で、文字認識および変換欄対比表示や(図 21 (a)参照)、校正欄対比表示が行われる(図 21 (b)参照)。
[0404] そこで、受付作業者は、それらの対比表示画面を適宜切り替えながら見て、必要で あれば紙の処方箋も見て、処方箋データを完成させる。そして、完成確認後、処方箋 完成のボタンをクリックする等して、データ処理部 330に処方箋の受付処理を終えさ せる。
[0405] データ処理部 330では、処方箋の受付処理の最後に、完成した処方箋データが薬 局での処方箋管理に供される。例えば、データ処理部 330から薬局ホストコンビユー タ 350へ送出されて、患者毎の薬歴管理や, 自動調剤機への配信などに用いられる [0406] こうして、紙の処方箋力 電子データの処方箋データが得られるが、その際、文字 認識を利用して半自動で処方箋データ入力が行われる。し力も、その文字認識に際 し、医療機関に対応した画像イメージの分割処理に加えて、分割イメージ 331と変換 欄 333との対比表示、及び分割イメージ 331と校正欄 334との対比表示も行われる ので、処方箋データ入力を極めて能率良く行うことができる。
[0407] また、患者が薬局へ行く前に病院のファクシミリや自宅の FAX電話に処方箋を読 み込ませて処方箋を薬局へファクシミリ送信したときにも、その処方箋の画像イメージ が回線接続部 340を介してデータ処理部 330に入力される。この場合も、画像ィメー ジに対して先にキャリブレーションが施され (二段階処理のうち前処理)、それからキ ヤリブレーシヨン後の画像イメージが上述したような処方箋データ作成に供される(二 段階処理のうち前処理)。ここでは、先のキャリブレーション(二段階処理のうち前処 理)について詳述すると、データ処理部 330では、受付ルーチンの処理によって(図 18 (b)ステップ S313参照)、テンプレート情報が参照され(図 19 (b)参照)、そこに予 め設定されて!、る「医師」や「電話」等の指定文字が画像イメージの一部領域から検 出される(図 19 (a)参照)。
[0408] そして、その検出結果に基づいて処方箋の画像イメージの全体に対し天地反転処 理と位置補正処理が選択的に行われ(図 18 (b)ステップ S314参照)、鄞線消去処 理も行われる(図 18 (b)ステップ S315参照)。
[0409] それから、処方箋走査部 320で画像イメージを入力したときと同様にして、データ処 理部 330の受付処方ルーチンの処理によって、処方箋の画像イメージ力 処方箋デ ータが作成される(図 18 (b)ステップ S321〜S327参照)。
[0410] すなわち、上述したように、処方箋の画像イメージ全体がデータ処理部 330の画面 に表示されるとともに、文字認識による自動で或いは操作入力による手動で医療機 関が特定され、それに該当する処方箋様式のデータ (テンプレート情報や病院マスタ 一の該当レコード)が選定され、それに基づいて画像イメージが幾つかの分割ィメー ジに分割され、その分割イメージ単位で、文字認識および変換欄対比表示や(図 21 (a)参照)、校正欄対比表示が行われる(図 21 (b)参照)。そして、受付作業者がそ れらの対比表示画面を適宜切り替えながらデータを修正したり補充することにより、処 方箋データが完成する。
[0411] こうして、処方箋がファクシミリにて処方箋受付装置 310に送信されてきた場合にも 、その処方箋の画像イメージが受信され、この画像イメージ力 電子データの処方箋 データが得られる。この場合も、文字認識を利用して半自動で処方箋データ入力が 行われ、画像イメージの全領域に対する文字認識に先立って、画像イメージの一部 領域に対する文字認識が行われ、これを利用して簡便かつ的確に指定文字の検出 と天地反転処理と位置補正処理が行われ、さらには鄞線消去処理も行われることか ら、ファクシミリ送受信手法に文字認識手法を組み合わせて 、ても文字認識率が低 下しないので、処方箋データ入力を極めて能率良く行うことができる。
[0412] また、文字認識後の変換欄対比表示では(図 21 (a)参照)、分割イメージ 331に文 字認識処理が施された直後、変換欄 333が表示される前に、文字列置換テーブル に基づく文字列置換処理が行われる。この処理では、文字認識処理で得た認識文 字列に文字列置換テーブルの置換前文字列の何れかが含まれて 、るとき、その置 換前文字列と文字列置換テーブルにおいて対データ'組データをなしている置換後 文字列で、認識文字列の該当箇所が置き換えられる。文字列置換テーブルには(図 22 (d)参照)、一方向置換しうる対データ,組データが手動設定されているばかりか、 薬品マスターを利用して自動設定された対データ'組データも保持され、一方向置換 しうるデータが拡張されて 、る。
[0413] すなわち、双方向置換可能で一方向置換できない対データ'組データ「p」 +「 」
+「b」, 「b」 +「 」 +「p」についても、薬品マスターを利用して一方向置換しうるよう 拡張された対データ ·組データ「lpi」 +「→」 + ribij , 「sbi」 +「→」 +「spi」が自動設 定されている。そのため、「&3 11」を「&31) 11」と誤読してもそれは自動で訂正され 、 「 &1111&1^11」を「 &1111&1 ^1」と誤読してもやはり自動で訂正される。こうして文字認 識率が高められる。そして、そのような一方向置換が行えないときだけ、双方向置換 可能な「p」や「b」については、受付作業者に対する確認処理が行われ、その確認結 果に応じて適切な方が採用される。
[0414] さらに、置換文字列設定モードでデータ処理部 330を起動していなくても、受付作 業者が文字列置換処理の対象文字列を増やしたくなつたら、変換欄対比表示であろ うと (図 21 (a)参照)校正欄対比表示画面であろうと(図 21 (b)参照)、置換文字列設 定ボタンのクリック等で置換文字列設定処理へ移行する。そうすると、置換前文字列 用と置換後文字列用の一対の文字列の入力が求められるので、受付作業者は所望 の文字列を入力すると、後は上述した初期設定時のようにして自動で文字列置換テ 一ブルが拡張される。また、薬品マスターに薬品名を追加したようなときにも、置換文 字列設定ルーチンを起動して双方向置換可能な文字列対に係る確認や文字列対の 自動追加を行わせると、最新の薬品マスターと文字列置換テーブルとを整合させるこ とがでさる。
[0415] [具体例 4 2]
第 4の実施形態の具体例 4— 2について、その具体的な構成を、図面を引用して説 明する。図 23は、(a)が受付処理のフローチャート、(b)が引替券の例である。なお、 図 23 (a)のフローチャートにお!/、て、ステップ S313〜S327, S330は、図 18 (b)と 同じで、繰り返しとなるので、記載を省略している。
[0416] この処方箋受付装置が上述した具体例 4 1のものと相違するのは、ファクシミリ受 信部に加えてファクシミリ送信部も必要になった点と、高精細モードでの再送依頼と 引替券の発行をファクシミリ送信にて行うようになった点である。
[0417] ファクシミリ送信部は、ファクシミリ受信部と同じ回線に接続されていて、処方箋をフ ァクシミリ送信してきた患者へファクシミリにて返信できるようになって!/、れば良!、。上 述した回線接続部 340が送受信一体形であればその送信部で足り、そうでなければ 別個に追加するれば良ぐ外付けタイプでもコンピュータ内蔵タイプでも良い。
[0418] 高精細モードでの再送依頼と引替券の発行は、データ処理部 330の受付ルーチン を機能拡張することで簡便に具現化されている。具体的には(図 23 (a)参照)、処方 箋の画像イメージがファクシミリ送受信にて入力されたら (ステップ S312及びステップ S 361の「 Yes」)、テンプレート情報に基づ 、て指定文字を検出する前に (ステップ S 313)、処方箋の画像イメージが画素ピッチの細かい高精細モードで送られてきたの か或 、は画素ピッチの粗!ゾーマルモードで送られてきたのかを確認して(ステップ S 362)、高精細モードであれば (ステップ S362の「Yes」)、文字認識処理等に供する が(ステップ S313)、高精細モードでなければ (ステップ S362の「No」)、高精細モー ドでの再送を依頼する文章の記載された画像イメージをファクシミリ送信して処理を 打ち切るようになって 、る(ステップ S363)。
[0419] また、データ処理部 330の受付ルーチンは、ファクシミリ送受信にて入力された処 方箋の画像イメージについて処方箋データへの変換が完了したとき (ステップ S327) 、ファクシミリ送信部を介して引替券の画像イメージを送信するようになっている (ステ ップ S364)。この引替券イメージには(図 23 (b)参照)、引換券発行ユニット 321で発 行する引替券に印刷するのと同様の受付番号や受付日時に加えて、薬局名や電話 番号等の薬局情報,薬局の地図,さらには処方箋イメージの縮小画像なども、含める ようになっている。
[0420] この場合、患者が、自宅の FAX等で薬局へ処方箋をファクシミリ送信する際、うつか り不適切なノーマルモードで送信すると、その場で高精細モードでの再送依頼をファ クシミリ受信することになるので、直ちに適切な高精細モードで送り直すことができる。 し力も、薬局の処方箋受付装置 310では、文字認識率が悪くて処方箋データ入力の 能率が低!、処理や作業を回避することができる。
[0421] また、ファクシミリ送信した処方箋が薬局の処方箋受付装置 310にて受け付けられ たときには、やはり直ちに引替券がファクシミリで返信されて、それを患者が自宅の F AX等で受信することができる。薬局へ出向く前に引替券を入手することができるうえ 、その引替券には薬局へ行くのに役立つ地図情報等も記されているので、極めて便 利である。
[0422] [その他]
上記具体例の処方箋受付装置では、処方箋の画像イメージを入力する入力手段と して回線接続部 340 (ファクシミリ受信部)と処方箋走査部 320とが設けられて 、たが 、回線接続部 340を省いて薬局受付専用の処方箋受付装置としても良ぐ処方箋走 查部 320を省いてファクシミリ受信専用の処方箋受付装置としても良い。
[0423] また、上記具体例では、処方箋走査部 320とデータ処理部 330と回線接続部 340 とが別体になっていた力 これらは、別体に限られる訳でなぐ一体化されていても良 い。一体化は、処方箋走査部 320とデータ処理部 330の部分、処方箋走査部 320と 回線接続部 340の部分、データ処理部 330と回線接続部 340の部分だけでも良い。 [0424] さらに、上記具体例では、校正欄 334の対比表示を分割イメージ 331と並べて行う ようにした力 変 ^«333と校正欄 334とを並べて対比表示しても良ぐ分割イメージ 331と変^ 1333と校正欄 334とを一画面に並べて対比表示しても良い。
[0425] また、上述した文字認識機能に加えてコード変 能もデータ処理部に付与し、処 方箋の画像イメージに二次元コード等のコードが有るときにはそれをデータ処理部が 処方箋データに変換し、そのようなコードの無いときだけデータ処理部が画像ィメー ジに文字認識を施して処方箋データへの変換を行うようにしても良 、 (例えば特願 2 004— 308931参照)。
[0426] なお、上記各実施形態及びその変形例力 把握することのできる技術思想としては 、以下のものもある。
[0427] (1)処方箋の画像イメージを入力する入力手段と、前記画像イメージに文字認識処 理を施すことにより前記画像イメージから処方箋データを得るデータ処理部とを備え た処方箋受付装置において、前記入力手段としてファクシミリ受信部が設けられ、前 記画像イメージの分割処理に資する処方箋欄分割情報を含んだ処方箋の形式デー タが各医療機関に対応づけて保持されていることを特徴とする処方箋受付装置。
[0428] (2)前記データ処理部が、処方箋に含まれていることが予め判明している指定文字 に係る処方箋内位置データを含んだテンプレート情報を保持しており、前記文字認 識処理に際して、前記テンプレート情報に基づ!、て前記画像イメージの一部領域に 前記指定文字の検出処理を施し、その検出結果に基づいて前記画像イメージに天 地反転処理および位置補正処理を施し、それから前記画像イメージの残部領域を処 理するものであることを特徴とする(1)記載の処方箋受付装置。
[0429] (3)処方箋の画像イメージを入力する入力手段と、前記画像イメージに文字認識処 理を施すことにより前記画像イメージから処方箋データを得るデータ処理部とを備え た処方箋受付装置において、前記入力手段としてファクシミリ受信部が設けられ、前 記画像イメージを文字データに変換して表示させた変 mfflと前記画像イメージとを対 比させて画面表示するようになって!/、ることを特徴とする処方箋受付装置。
[0430] (4)処方箋の画像イメージを入力する入力手段と、前記画像イメージに文字認識処 理を施すことにより前記画像イメージから処方箋データを得るデータ処理部とを備え た処方箋受付装置において、前記入力手段としてファクシミリ受信部が設けられ、前 記処方箋データを項目ごとに項目名を付して校正可能に表示させた校正欄と前記 画像イメージとを対比させて画面表示するようになって!/ヽることを特徴とする処方箋受 付装置。
[0431] (5)処方箋の画像イメージを入力する入力手段と、前記画像イメージに文字認識処 理を施すことにより前記画像イメージから処方箋データを得るデータ処理部とを備え た処方箋受付装置において、前記入力手段としてファクシミリ受信部が設けられ、前 記画像イメージを文字データに変換して表示させた変 mfflと前記処方箋データを項 目ごとに項目名を付して校正可能に表示させた校正欄とを対比させて画面表示する ようになって!/、ることを特徴とする処方箋受付装置。
[0432] (6)処方箋の画像イメージを入力する入力手段と、前記画像イメージに文字認識処 理を施すことにより前記画像イメージから処方箋データを得るデータ処理部とを備え た処方箋受付装置において、前記入力手段としてファクシミリ受信部が設けられ、前 記画像イメージを文字データに変換して表示させた変 mfflと前記処方箋データを項 目ごとに項目名を付して校正可能に表示させた校正欄と前記画像イメージとを対比 させて画面表示するようになって!/、ることを特徴とする処方箋受付装置。
[0433] (7)前記データ処理部が、処方箋に含まれていることが予め判明している指定文字 に係る処方箋内位置データを含んだテンプレート情報を保持しており、前記文字認 識処理に際して、前記テンプレート情報に基づ!、て前記画像イメージの一部領域に 前記指定文字の検出処理を施し、その検出結果に基づいて前記画像イメージに天 地反転処理および位置補正処理を施し、それから前記画像イメージの残部領域を処 理するものであることを特徴とする(3)乃至 (6)の何れかに記載された処方箋受付装 置。
[0434] 以上、実施の形態をもとに本発明を説明した。なお本発明はこれらの実施の形態 に限定されることなぐそのさまざまな変形例もまた、本発明の態様として有効である。 産業上の利用可能性
[0435] 以上のように、本発明は、薬局や病院などで処方箋の自動受付に用いられる処方 箋受付装置に応用可能である。

Claims

請求の範囲
[1] 処方箋の画像イメージを入力する入力手段と、前記画像イメージに文字認識処理 を施すことにより前記画像イメージから処方箋データを得るデータ処理部とを備えた 処方箋受付装置において、前記入力手段としてファクシミリ受信部が設けられている ことを特徴とする処方箋受付装置。
[2] 前記データ処理部が、処方箋に含まれていることが予め判明している指定文字に 係る処方箋内位置データを含んだテンプレート情報を保持しており、前記文字認識 処理に際して、前記テンプレート情報に基づ!、て前記画像イメージの一部領域に前 記指定文字の検出処理を施し、その検出結果に基づいて前記画像イメージに天地 反転処理および位置補正処理を施し、それから前記画像イメージの残部領域を処理 するものであることを特徴とする請求項 1記載の処方箋受付装置。
[3] 前記ファクシミリ受信部と同じ回線に接続されたファクシミリ送信部が設けられ、前記 ファクシミリ受信部を介して処方箋を受け付けると引替券の画像イメージを生成して 前記ファクシミリ送信部から送信することにより引替券の発行を行うものであることを特 徴とする請求項 1又は請求項 2に記載された処方箋受付装置。
[4] 処方箋の画像イメージを入力する入力手段と、前記画像イメージに文字認識処理 を施すことにより前記画像イメージから処方箋データを得るデータ処理部とを備えた 処方箋受付装置において、前記データ処理部が、処方箋に含まれていることが予め 判明している指定文字に係る処方箋内位置データを含んだテンプレート情報を保持 しており、前記文字認識処理に際して、前記テンプレート情報に基づいて前記画像 イメージの一部領域に前記指定文字の検出処理を施し、その検出結果に基づいて 前記画像イメージに位置補正処理を施し、それから前記画像イメージの残部領域を 処理するものであって、更に、前記テンプレート情報を更新するに際して、前記画像 イメージと前記テンプレート情報と前記指定文字の入力欄とを並べて画面表示し、該 入力欄への文字入力に応じて前記指定文字を設定し、前記画像イメージの表示領 域における部分領域の指定に応じて前記テンプレート情報の前記処方箋内位置デ ータを設定するものであることを特徴とする処方箋受付装置。
[5] 前記データ処理部が、前記テンプレート情報の更新に際し、前記テンプレート情報 に基づく前記画像イメージの前記一部領域に文字認識処理を施して文字データを 取得し、この文字データと前記指定文字とがー致している力否かを確認し、不一致の ときには注意を促すようになつていることを特徴とする請求項 4記載の処方箋受付装 置。
[6] 前記データ処理部が、前記テンプレート情報の更新に際し、前記画像イメージに文 字認識処理を施して文字データに変換し、その文字データについて前記指定文字 を検索し、その検索にて前記指定文字と同じ文字が見いだされた箇所について前記 画像イメージの対応箇所を強調表示するようになって!/ヽることを特徴とする請求項 4 又は請求項 5に記載された処方箋受付装置。
[7] 前記データ処理部が、前記文字認識処理に際して、前記指定文字の検出結果に 基づき前記画像イメージに対し前記位置補正処理に加えて天地反転処理をも施す ものであって、更に、前記テンプレート情報を更新するに際して、前記画像イメージを 天地反転させたら前記指定文字に係る前記一部領域へ来ることになる前記画像ィメ ージ中の反転位置部分領域とそれを拡張した拡張領域との何れか一方の領域また は双方の領域にっ ヽて強調表示を行うようになって!/ヽることを特徴とする請求項 4乃 至請求項 6の何れかに記載された処方箋受付装置。
[8] 前記データ処理部が、前記テンプレート情報の更新に際し、前記反転位置部分領 域と前記拡張領域との何れか一方の領域または双方の領域に文字認識処理を施し て文字データを取得し、この文字データと前記指定文字とがー致して 、るか否かを 調べ、一致して 、る文字の有るときには警告を発するようになって 、ることを特徴とす る請求項 7記載の処方箋受付装置。
[9] 前記データ処理部が、前記テンプレート情報を画像イメージと共に処方箋様式毎 に保持していて、前記テンプレート情報の更新に際し、更新対象の処方箋様式とは 異なる他の処方箋様式に対応する画像イメージについても、前記指定文字の検索と 対応箇所の強調表示、前記反転位置部分領域と前記拡張領域との一方または双方 の強調表示、あるいは前記一部領域と前記反転位置部分領域と前記拡張領域とのう ち何れか一つの領域または複数の領域に係る前記指定文字の一致調査と一致警告 を行うようになって!/ヽることを特徴とする請求項 6乃至請求項 8の何れかに記載された 処方箋受付装置。
[10] 処方箋の画像イメージを入力する入力手段と、前記画像イメージに文字認識処理 を施すことにより前記画像イメージから処方箋データを得るデータ処理部とを備えた 処方箋受付装置において、
前記データ処理部が、各種の薬品名を含むデータを保持する薬品マスターと、置 換前文字列と置換後文字列とを対応付けて多数のデータを保持する文字列置換テ 一ブルと、前記文字認識処理の後にその処理で得た認識文字列に前記文字列置換 テーブルの置換前文字列の何れかが含まれているとき前記認識文字列の該当箇所 を前記文字列置換テーブルの置換後文字列のうち該置換前文字列に対応するもの で置き換える文字列置換手段とを具えたものであり、
非数値部と数値部と単位部とをその順に連ねた文字列カゝらなる数値含有薬品名が 、そのまま前記薬品マスターの薬品名と前記文字列置換テーブルの置換後文字列と に含められており、且つ、数値部と単位部と非数値部の順に並べ替えた並替薬品名 になって前記文字列置換テーブルの置換前文字列のうち該置換後文字列と対応す るものに含められている、
ことを特徴とする処方箋受付装置。
[11] 前記データ処理部が、前記文字列置換テーブルを設定するに際し、前記薬品マス ターの前記薬品名から前記数値含有薬品名を抽出して、この数値含有薬品名から 前記並替薬品名を生成し、この並替薬品名と前記数値含有薬品名とを対応付けて 前記文字列置換テーブルにデータ保持させるものであることを特徴とする請求項 10 記載の処方箋受付装置。
[12] 前記データ処理部が、前記文字列置換テーブルを設定するに際し、抽出した前記 数値含有薬品名とそれから生成した前記並替薬品名とのうち何れか一方または双方 について、その非数値部の後尾の文字を省いて略式薬品名を生成し、この略式薬品 名と前記数値含有薬品名とを対応付けて前記文字列置換テーブルにデータ保持さ せるものであることを特徴とする請求項 11記載の処方箋受付装置。
[13] 前記数値含有薬品名からその非数値部の後尾の文字を省いた正順略式薬品名と 、それを数値部と単位部と非数値部の順に並べ替えた並替略式薬品名とのうち何れ か一方または双方にっ ヽて、その略式薬品名と前記数値含有薬品名とが対応付け られて前記文字列置換テーブルにデータ保持されていることを特徴とする請求項 10 記載の処方箋受付装置。
[14] 前記データ処理部が、前記認識文字列を画面表示して文字列修正を受理するもの であって、その文字列修正処理時に入力された修正文字列が前記薬品マスターの 前記薬品名に含まれている力否かを検索して、含まれていたときには直ちに又は確 認のうえ、前記修正文字列とそれで修正された文字列とを対応付けて前記文字列置 換テーブルの置換後文字列および置換前文字列にデータ保持させ、さらに前記修 正文字列が前記数値含有薬品名に該当するときには、それから前記並替薬品名を 生成し、この並替薬品名と前記数値含有薬品名とを対応付けて前記文字列置換テ 一ブルの置換前文字列および置換後文字列にデータ保持させるものであることを特 徴とする請求項 10記載の処方箋受付装置。
[15] 処方箋の画像イメージを入力する入力手段と、前記画像イメージに文字認識処理 を施すことにより前記画像イメージから処方箋データを得るデータ処理部とを備えた 処方箋受付装置において、
前記データ処理部が、各種の薬品名を含むデータを保持する薬品マスターと、置 換前文字列と置換後文字列とを対応付けて多数のデータを保持する文字列置換テ 一ブルと、前記文字認識処理の後にその処理で得た認識文字列に前記文字列置換 テーブルの置換前文字列の何れかが含まれているとき前記認識文字列の該当箇所 を前記文字列置換テーブルの置換後文字列のうち該置換前文字列に対応するもの で置き換える文字列置換手段と、一対の文字列を受理して前記文字列置換テープ ルの置換前文字列と置換後文字列とにデータ保持させる置換文字列設定手段とを 具えたものであり、
この置換文字列設定手段が、前記文字列置換テーブルへの追加設定に際して、 追加対象の文字列の対の対応関係を仮に逆転させた文字列の対が前記文字列置 換テーブルに以前より設定されていたカゝ否かを調べ、設定されていたときには更に、 双方の文字列について、前記薬品マスターの何れかの薬品名に含まれている力否 かを調べ、含まれていたときには更に、その薬品名力 一致部分と隣接文字とを併せ て抽出し、その抽出文字列を前記文字列置換テーブルの置換後文字列の方にデー タ保持させるようになって!/、る、
ことを特徴とする処方箋受付装置。
[16] 前記置換文字列設定手段が、前記抽出文字列を前記文字列置換テーブルの置換 後文字列の方にデータ保持させたときには、前記抽出文字列のうち一致部分を文字 列の対における他方の文字列で置き換えた文字列を前記文字列置換テーブルの置 換前文字列の方にデータ保持させるようになつている、ことを特徴とする請求項 15記 載の処方箋受付装置。
[17] 前記置換文字列設定手段が、前記文字列置換テーブルにお!、て置換前文字列と 置換後文字列とを逆転させたものの設定されている文字列の対には双方向置換可 能を示す情報を付し、設定されていない文字列の対には一方向置換を示す情報を 付すようになっており、前記文字列置換手段が、前記文字列置換テーブルにおいて 一方向置換を示す情報の付されている文字列の対については確認することなく文字 列の置換を行 、、前記文字列置換テーブルにお 、て双方向置換可能を示す情報の 付されている文字列の対については一方向置換の行われなかったときに限って確認 処理を行 、確認結果に応じて選択的に文字列の置換を行うようになって!/、る、ことを 特徴とする請求項 16記載の処方箋受付装置。
PCT/JP2006/317383 2005-09-06 2006-09-01 処方箋受付装置 WO2007029625A1 (ja)

Applications Claiming Priority (8)

Application Number Priority Date Filing Date Title
JP2005-257252 2005-09-06
JP2005257252A JP2007074179A (ja) 2005-09-06 2005-09-06 処方箋受付装置
JP2005-329826 2005-11-15
JP2005329826A JP4548843B2 (ja) 2005-11-15 2005-11-15 処方箋受付装置
JP2005335558A JP4480028B2 (ja) 2005-11-21 2005-11-21 処方箋受付装置
JP2005-335558 2005-11-21
JP2005-356571 2005-12-09
JP2005356571A JP4437469B2 (ja) 2005-12-09 2005-12-09 処方箋受付装置

Publications (1)

Publication Number Publication Date
WO2007029625A1 true WO2007029625A1 (ja) 2007-03-15

Family

ID=37835744

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2006/317383 WO2007029625A1 (ja) 2005-09-06 2006-09-01 処方箋受付装置

Country Status (1)

Country Link
WO (1) WO2007029625A1 (ja)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009078155A1 (ja) * 2007-12-14 2009-06-25 Panasonic Corporation 画像判定装置
CN104555223A (zh) * 2015-01-06 2015-04-29 北京航空航天大学 一种快速上药系统的控制与管理系统
CN110164048A (zh) * 2018-02-14 2019-08-23 王传宏 一种药品管理系统及利用药品管理系统的智能药盒

Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0728957A (ja) * 1993-07-09 1995-01-31 Matsushita Electric Ind Co Ltd 英文字認識装置
JPH0962700A (ja) * 1995-08-29 1997-03-07 Nippon Telegr & Teleph Corp <Ntt> 辞書構築方法及び装置
JPH10207949A (ja) * 1997-01-20 1998-08-07 Fujitsu General Ltd 投薬処理システム
JPH10232905A (ja) * 1997-02-18 1998-09-02 Toshiba Corp 文字認識装置における学習辞書の更新方法及び文字認識装置
JP2000331116A (ja) * 1999-05-21 2000-11-30 Canon Inc 帳票、帳票識別装置及び帳票識別方法
JP2002007951A (ja) * 2000-06-19 2002-01-11 Hitachi Ltd 帳票入力方法及びその実施装置並びにその処理プログラムを記録した記録媒体
JP2002157545A (ja) * 2000-11-22 2002-05-31 Nippon Express Co Ltd ドキュメント読取転送方法
JP2002183667A (ja) * 2000-12-12 2002-06-28 Ricoh Co Ltd 文字認識装置及び記録媒体
JP2002298081A (ja) * 2001-03-30 2002-10-11 Toshiba Corp 光学的文字認識装置及び帳票読取定義体のフィールド定義方法
JP2003108919A (ja) * 2001-10-01 2003-04-11 Matsushita Electric Ind Co Ltd 文字認識装置
JP2003331215A (ja) * 2002-05-10 2003-11-21 Casio Comput Co Ltd 薬局データ処理装置、薬局データ管理装置及びプログラム
JP2003331219A (ja) * 2002-05-15 2003-11-21 Casio Comput Co Ltd 薬局データ処理装置及びプログラム
JP2004348333A (ja) * 2003-05-21 2004-12-09 It Coordinate Inc 文字列入力支援プログラム、文字列入力装置および方法
JP2005043995A (ja) * 2003-07-23 2005-02-17 Ricoh Co Ltd 情報処理装置、文字認識プログラム及び記録媒体
JP2005050245A (ja) * 2003-07-31 2005-02-24 Nosu:Kk レセプトの作成・審査・支払い請求の支援システム及び方法

Patent Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0728957A (ja) * 1993-07-09 1995-01-31 Matsushita Electric Ind Co Ltd 英文字認識装置
JPH0962700A (ja) * 1995-08-29 1997-03-07 Nippon Telegr & Teleph Corp <Ntt> 辞書構築方法及び装置
JPH10207949A (ja) * 1997-01-20 1998-08-07 Fujitsu General Ltd 投薬処理システム
JPH10232905A (ja) * 1997-02-18 1998-09-02 Toshiba Corp 文字認識装置における学習辞書の更新方法及び文字認識装置
JP2000331116A (ja) * 1999-05-21 2000-11-30 Canon Inc 帳票、帳票識別装置及び帳票識別方法
JP2002007951A (ja) * 2000-06-19 2002-01-11 Hitachi Ltd 帳票入力方法及びその実施装置並びにその処理プログラムを記録した記録媒体
JP2002157545A (ja) * 2000-11-22 2002-05-31 Nippon Express Co Ltd ドキュメント読取転送方法
JP2002183667A (ja) * 2000-12-12 2002-06-28 Ricoh Co Ltd 文字認識装置及び記録媒体
JP2002298081A (ja) * 2001-03-30 2002-10-11 Toshiba Corp 光学的文字認識装置及び帳票読取定義体のフィールド定義方法
JP2003108919A (ja) * 2001-10-01 2003-04-11 Matsushita Electric Ind Co Ltd 文字認識装置
JP2003331215A (ja) * 2002-05-10 2003-11-21 Casio Comput Co Ltd 薬局データ処理装置、薬局データ管理装置及びプログラム
JP2003331219A (ja) * 2002-05-15 2003-11-21 Casio Comput Co Ltd 薬局データ処理装置及びプログラム
JP2004348333A (ja) * 2003-05-21 2004-12-09 It Coordinate Inc 文字列入力支援プログラム、文字列入力装置および方法
JP2005043995A (ja) * 2003-07-23 2005-02-17 Ricoh Co Ltd 情報処理装置、文字認識プログラム及び記録媒体
JP2005050245A (ja) * 2003-07-31 2005-02-24 Nosu:Kk レセプトの作成・審査・支払い請求の支援システム及び方法

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009078155A1 (ja) * 2007-12-14 2009-06-25 Panasonic Corporation 画像判定装置
JP5226699B2 (ja) * 2007-12-14 2013-07-03 パナソニック株式会社 画像判定装置
US8503721B2 (en) 2007-12-14 2013-08-06 Panasonic Corporation Image judgment device
CN104555223A (zh) * 2015-01-06 2015-04-29 北京航空航天大学 一种快速上药系统的控制与管理系统
CN104555223B (zh) * 2015-01-06 2016-10-05 北京航空航天大学 一种快速上药系统的控制与管理系统
CN110164048A (zh) * 2018-02-14 2019-08-23 王传宏 一种药品管理系统及利用药品管理系统的智能药盒

Similar Documents

Publication Publication Date Title
Bellary et al. Basics of case report form designing in clinical research
US7936925B2 (en) Paper interface to an electronic record system
JP2007115201A (ja) 電子文書管理システム、医療情報システム、カルテ用紙の印刷方法、およびカルテ用紙
US20120065997A1 (en) Automatic Processing of Handwritten Physician Orders
US20070276694A1 (en) Medicine Research Information Collection System and Medicine Research Information Collection Program
US8682042B1 (en) System and method for reception, analysis, and annotation of prescription data
JP2016218740A (ja) サーバ装置、端末装置、表示制御方法、および、表示制御プログラム
WO2007029625A1 (ja) 処方箋受付装置
US20150227690A1 (en) System and method to facilitate patient on-boarding
JP4437469B2 (ja) 処方箋受付装置
JP2957120B2 (ja) 医療情報入力システムおよび医療情報入力方法
US20080276008A1 (en) Secure and Accurate Method for Processing Prescriptions
JP2003067668A (ja) 回答フォームを使用するデータ取得システムおよび方法
JP2007141040A (ja) 処方箋受付装置
JP6655745B1 (ja) 情報処理装置、情報処理方法及び情報処理プログラム
US11354753B1 (en) System for reconciling pharmacy payments based upon predicted claims and related methods
JP4548843B2 (ja) 処方箋受付装置
KR20040106633A (ko) 이미지 인식에 의한 처방전 입력장치 및 방법
JP2007074179A (ja) 処方箋受付装置
JP2007073028A (ja) 処方箋受付装置
US20130055139A1 (en) Touch interface for documentation of patient encounter
TWM585395U (zh) 運用深度學習之長短期記憶模型輔助保險理賠系統
Nies et al. Teleform: a blessing or burden?
JP2005034479A (ja) 薬剤監査システム及び薬剤監査装置、処理プログラム
KR102618275B1 (ko) 의약 관련 이미지 획득 방법 및 디바이스

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application
NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 06810038

Country of ref document: EP

Kind code of ref document: A1