Digitalizing program and digitalizing method for insurance cards
The program uses an OCR server and two-stage extraction to accurately digitize information from diverse insurance cards, addressing format variations and ensuring complete and correct data extraction.
Patent Information
- Application Number
- JP2023066769
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-04-14
- Publication Date
- 2024-10-25
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing systems struggle to accurately digitize information from public insurance cards due to variations in format and layout across different issuers, leading to incomplete or inaccurate extraction of insured person information.
A program that utilizes an OCR server to process images of insurance cards, performs two-stage extraction of text data based on common positional relationships and specific character strings, and allows for manual correction and addition of information.
Enables high-accuracy extraction of insured person information from non-uniform insurance cards, integrating it with appropriate items and reducing the need for specialized OCR systems or pre-registration of card layouts.
Smart Images

Figure 2024152527000001_ABST
Abstract
Description
[Technical field]
[0001] The present invention relates to a technique for digitizing information about insured persons that is printed on public insurance cards. [Background technology]
[0002] Systems have long been known that take a photograph of a public insurance card using a camera or image scanner, etc., and then apply OCR processing to the resulting image to digitize information about the insured person on an item-by-item basis, making the resulting electronic data available for use in administrative processing. The following three patent documents are given as examples of the prior art.
[0003] Patent Document 1 discloses a system in which image data of a nursing care insurance certificate is sent from a terminal device to a server having an OCR processing function, health insurance certificate text data generated by the processing of the server is returned to the terminal device, and the terminal device uses the text data to create a form for nursing care services. Patent Document 1 also describes, with regard to the processing of the OCR server, a method of reading the rectangular frame of the health insurance certificate in the image and acquiring the text from the relative position to the frame, and selectively identifying and reading text items based on a position master (data for specifying the reading position) registered for each item to be read (see paragraphs 0047, 0052, 0092-0097, etc. of Patent Document 1).
[0004] Patent Document 2 describes a method of matching an image of an insurance card against pre-registered matching item keywords (including various item names and strings equivalent to those that are misread) for the purpose of generating data for a matching process to verify the identity of the person holding the health insurance card, and extracting strings that are in a certain positional relationship to the matching item keywords extracted from the image through this matching (see paragraphs 0033-0036, paragraph 0055, etc. of Patent Document 2).
[0005] Patent Document 3 describes an insurance card reading system that includes a scanner that performs character detection and character recognition on an image of an insurance card, then edits the recognition results into recognition results for each read item and transmits the recognition results to a medical computer, and allows an operator to check the recognition results before transmission and correct them if necessary (see paragraphs 0007-0008, 0010, 0017-0018, etc. of Patent Document 3). [Prior art documents] [Patent documents]
[0006] [Patent Document 1] Patent No. 7208596 [Patent Document 2] JP 2011-238199 A [Patent Document 3] JP 2007-140703 A Summary of the Invention [Problem to be solved by the invention]
[0007] Paragraphs 0095-0096 of Patent Document 1 state that the format of long-term care insurance cards is the same throughout the country, and that if position information is registered for each item based on the relative positions within the rectangular frame of the card, that position information can be applied to reading the insurance cards of each city, town, or village. However, the format of long-term care insurance cards actually issued varies greatly depending on the local government.
[0008] Figures 13, 14, and 15 show the standardized portion of the nursing care insurance certificate issued by Osaka City, Sakai City, and Higashi Osaka City, respectively (parts of the Osaka City and Higashi Osaka City certificates have been masked). As can be seen by comparing these concrete examples, the certificates of each municipality are divided into three main frames arranged horizontally. L ,W C ,W RAlthough the fields are all the same, with the same division into four sections and the breakdown of information to be filled in, there are significant differences in the layout of each section. Also, the direction of the text representing the item names may differ depending on the municipality (see parts a and b in Figures 13 to 15), and the content and number of lines of the item names may differ (see parts c, d, and e in Figures 13 to 15). In some cases, the "furigana" of a name or "gender" is written without including the item name.
[0009] Not only nursing care insurance cards, but also late-stage elderly medical insurance cards, national health insurance cards, and social insurance cards have different formats depending on the issuer. Therefore, it is impossible to read all insurance cards issued for the same type of public insurance by setting a unified location master as described in Patent Document 1.
[0010] The invention described in Patent Document 2 uses a method of extracting a character string representing the item name or a character string similar to the extracted character string, and then extracting a character string that is in a certain positional relationship with the extracted character string as the insured person's information, which is thought to be easy to deal with variations in the notation position. However, the invention described in Patent Document 2 only assumes the extraction of character strings that are connected horizontally, and the specific method of extracting the insured person's information is limited to a uniform method of extracting a character string that is located after a space within two characters from the right of the end of the item name keyword (see paragraph 0055).
[0011] As shown in the examples of Figures 13 to 15, even if the information is the same item, the positional relationship with the item name and the size of the area in which the information is entered often differ depending on the type of insurance card, and the item name may be written vertically or split across multiple lines, so it is impossible to read all of the necessary information using an extraction method based on uniform conditions such as that described in Patent Document 2.
[0012] Paragraph 0018 of Patent Document 3 states that the position of characters printed on an insurance card varies depending on the institution (insurer) that issues the insurance card, but that the variation in character position can be absorbed by searching for the read items from the character recognition results and then editing the items on an item-by-item basis. However, Patent Document 3 does not state anything about the specific content of the editing process on an item-by-item basis. Patent Document 3 also does not state anything about format differences other than the variation in character position, such as the orientation of the item name, the presence or absence of the item name, and differences in the contents of the item name, and it is impossible to derive from Patent Document 3 a reading method that is not affected by these differences.
[0013] The method of extracting information based on item names as described in Patent Documents 2 and 3 has the problem that it is not possible to read information that does not have an item name.
[0014] The present invention focuses on the above-mentioned problem and aims to make it possible to obtain text data representing the insured person's information with a high degree of accuracy, regardless of the insurance card being used, without being affected by the variations in format that arise due to differences in insurance card issuers. [Means for solving the problem]
[0015] The present invention provides a program that enables electronic processing of a variety of types of public insurance cards that are issued without standardizing the format. This program is installed in an information processing device having a photographing function and a communication function, and sets the following functions in the information processing device.
[0016] <Image transmission method> This function sends an image generated by photographing the insurance card to be processed using the photography function to an external OCR server.
[0017] <Method of data acquisition> This function obtains reading result data including text data of a character string contained in the image and position data indicating the position of the character string in the image as a result of OCR processing on the image from the OCR server that received the image.
[0018] <Analysis means> This function performs an analysis process on the read result data and extracts text data of character strings representing information about the insured person of the insurance card being processed from the read result data for each type of information.
[0019] <Output method> This is a function to output text data of a character string extracted by an analysis means by linking it to an item that matches the information represented by the character string. The output may be performed by transmitting it to an external device such as another information processing device or a cloud server, or by displaying it on a display unit of the device itself or storing it in storage within the device.
[0020] According to each of the above functions, the image generated by photographing the insurance card to be processed is sent to an OCR server, and the read result data generated by the OCR processing performed on the OCR server is obtained from the OCR server and analyzed, thereby making it possible to digitize the information of the insured person written on the insurance card on an item-by-item basis.
[0021] Although there are variations in the formats of official health insurance cards as mentioned above, the content of the items written in the standard section and their general relative positions are the same. The insured person's information also includes information expressed in a standardized character string format, such as the insured person number, gender, and date of birth. Furthermore, even if the item names in the standard section are not completely identical on all insurance cards, there are often cases where some of the character strings are the same. The positional relationship of the insured person's information in the standard section can also be said to be common if expressed in broad terms such as "to the right of the item name" or "below the item name."
[0022] The present invention takes into consideration the above-mentioned background circumstances and includes a means for executing a two-stage extraction process in which text data including a specific character string that is commonly included in the standard portions of multiple types of health insurance cards is extracted from the read result data, and then text data of a character string that is in a positional relationship with the specific character string that satisfies predetermined conditions from other text data included in the read result data, and the text data is treated as data corresponding to the information to be extracted, by resetting the conditions of the specific character string and the positional relationship with the character string for each piece of information to be extracted.
[0023] For example, among the character strings contained in the standard parts of all insurance cards (those representing item names, additional notes, etc., or parts of these), a character string that is located near the location where the information to be extracted is written can be defined as a specific character string, and the direction and distance from this specific character string where the information to be extracted is written can be determined from samples of various insurance cards.Then, by determining the above-mentioned positional relationship conditions based on the average value or maximum value of the determined range and performing the above two-stage extraction process, it becomes possible to extract text data of the character string representing the information from many insurance cards, even if there is variation in the location where the information to be extracted is written on each insurance card.
[0024] The specific character string used to extract one piece of information is not limited to one, and multiple character strings can be set as the specific character string. In the first stage extraction process, text data including characters other than the specific character string is also extracted, so by setting the specific character string to a portion containing a sequence of characters that the OCR server is likely to successfully read, not limited to a character string with meaning such as an item name, the accuracy of both the first and second stages of extraction can be increased.
[0025] When multiple specific character strings are set, the positional relationship conditions can be set individually for each character string set in the specific character string. The text data to be extracted in the second stage is not limited to one, and it is possible to extract all the text data that satisfy the positional relationship conditions, combine them into one, and output them, or output each text data in parallel.
[0026] In the above two-stage extraction process, in order to increase the accuracy of extraction, the conditions for the second stage of extraction can be added such that the information is expressed in a specific format that matches the attributes of the information to be extracted, or that it contains characters that are specific to the attributes of the information to be extracted. By adding these conditions, it is possible to prevent extraction of character strings that represent information other than the target information, even if the conditions for the positional relationship with respect to a specific character string are relaxed (so that a relatively wide range is extracted). Therefore, even information with a large variation in relative position with respect to a specific character string can be extracted with a high degree of accuracy.
[0027] The analysis means can include not only a means for performing the above two-stage extraction process, but also a means for performing a one-stage extraction process. In one embodiment of this one-stage extraction process, text data of a character string expressed in a specific format consisting of characters of one or more character types that match the attributes of the information to be extracted is extracted from the read result data, and this text data is identified as data corresponding to the information to be extracted.
[0028] For example, the information to be extracted is one that is unlikely to be confused with other information, such as an insured person number represented by a certain number of digits, a name written in katakana characters, gender represented by a single kanji character, or information represented by a combination of a specific non-numeric character string and a number (such as a nursing care status classification), and the format of the character string representing this information is set to a specific format.The specific format is then changed for each piece of information to be extracted, and the above-mentioned one-stage extraction process is then performed to extract text data corresponding to each piece of information.
[0029] When there is a plurality of pieces of information expressed in the same format (for example, date of birth, date of issue, date of certification), information that indicates the positional relationship common to the plurality of types of insurance cards for the positions at which such information is to be written (for example, the order of the positions of each entry in the vertical or horizontal directions) is defined, and text data of a character string expressed in the same format as this information is extracted from the read result data, and the positional relationships determined from the respective positional data of the extracted plurality of pieces of text data are compared with the positional relationships defined above, thereby identifying the text data of the character string representing each of the plurality of pieces of information.
[0030] In the present invention, a program for setting, in the information processing device, a display means for displaying a registration form including a combination of a character string based on the extracted text data and an item name that matches the information represented by the character string in response to the end of processing by the analysis means, and an information update means for updating the display of a character string related to an arbitrary item of the registration form by a character input operation performed by the operation in response to the character input operation being performed. In this case, the output means can be configured to output, in response to a confirmation operation performed while the registration form is being displayed, text data of the character string of each item displayed in the registration form at the time of the operation in association with the respective item.
[0031] With the addition of the above functions, the person in charge of the digitization process can check the content of each piece of information extracted by the analysis means, and if there is any information with an error in the character recognition results or information that failed to be extracted, they can correct or add it before proceeding to output the information.In addition, it is possible to include information items that are not written on the health insurance card in the registration form and output that information together with the information read from the health insurance card.
[0032] The program including the display means and information update means can further include a program for setting a second analysis means for extracting text data of character strings not commonly included in the standard portion of a plurality of types of health insurance cards from the text data included in the read result data acquired by the data acquisition means. In this case, the information update means is provided with a means for displaying a list of character strings based on the text data extracted by the second analysis means when character input operation into the registration form is possible, and a means for displaying a character string selected by an operation of selecting a character string from the displayed list in the target location for character input.
[0033] With the addition of the above functionality, character strings contained in the read result data that are highly likely to represent information about the insured person can be entered into the registration form and used for corrections or additions. The above list also includes character strings that were the subject of extraction by the analysis means but could not be extracted due to character recognition errors, missing characters, etc. Therefore, the character strings that could not be extracted can be easily added by selecting the information item that failed to be extracted, calling up the above list, selecting the relevant character string from the list, and correcting the erroneous part of the character string displayed on the registration form by the selection.
[0034] By incorporating the above program into an information processing device equipped with a photographing means, such as a smartphone, a tablet terminal, or a notebook personal computer, it becomes possible to obtain electronic data of the information of the insured person written on the insurance card in response to a photograph of the insurance card taken with the photographing means of the information processing device. Even an information processing device without a photographing means can perform the same electronic processing as the above program by taking a photograph using an external photographing means such as a camera or scanner, or by obtaining a photographed image of the insurance card from another information processing device equipped with a photographing means.
[0035] If an OCR processing program is also incorporated in various information processing devices, it is possible to generate the read result data configured as described above by acquiring an image generated by photographing an insurance card and executing OCR processing without communicating with an OCR server. Furthermore, the information on the insured person written on the photographed insurance card can be digitized item by item by performing an analysis process on the read result data, and extracting text data of character strings representing information on the insured person of the insurance card to be processed from the read result data for each type of information, and an output step linking the text data of the character strings extracted by the analysis process to the item matching the information indicated by the character string and outputting it.
[0036] Even in a computer network system including multiple computers, the information on the insured person in the image can be digitized on an item-by-item basis by executing an image acquisition step of acquiring an image generated by photographing the insurance card inside or outside the system, a reading step of performing OCR processing on the image to generate the above-mentioned reading result data, an analysis step of performing analysis processing on the reading result data to extract text data of character strings representing information about the insured person of the insurance card being processed from the reading result data for each type of information, and an output step of linking the text data of the character strings extracted by the analysis processing to the item corresponding to the information indicated by the character strings and outputting it.
[0037] In any embodiment of the present invention, it is not necessary to digitize all of the information written on the health insurance card, and the information to be digitized can be selected depending on the purpose of use. Effect of the Invention
[0038] According to the present invention, regardless of which of multiple types of insurance cards issued for a specific public insurance with no standardized format is to be processed, text data representing the necessary information can be extracted with a high degree of accuracy, and electronic data can be generated in which the various extracted information is linked to the appropriate items.
[0039] Furthermore, according to the present invention, it is possible to perform electronic processing of multiple types of health insurance cards with different formats without taking measures such as using an OCR system specialized for reading the health insurance cards to be processed or registering in advance the layout information of the health insurance cards that may be processed. [Brief description of the drawings]
[0040] [Figure 1] FIG. 1 is an explanatory diagram illustrating an example of an information processing system to which the present invention is applied. [Diagram 2] 2 is a functional block diagram showing the configuration of a digitization processing device incorporated in the mobile terminal device of FIG. 1. [Diagram 3] FIG. 13 is a diagram showing an example of a screen displayed after the electronic processing device is started up. [Figure 4] 1 is a diagram showing an example of a long-term care insurance certificate that is subject to electronic processing. [Diagram 5] 5 is a diagram showing the types of information extracted from the health insurance card of FIG. 4 in association with extraction conditions. [Figure 6] 13A and 13B are diagrams illustrating a specific example of a process for extracting additional candidates by matching an exclusion character string stored in an exclusion character string storage unit with text data generated by OCR processing. [Figure 7] FIG. 13 is a diagram showing an example of a display of a registration form. [Figure 8] FIG. 13 is a diagram illustrating an example of adding information to a registration form from a list of candidates to be added. [Figure 9] FIG. 13 is a diagram showing another example of adding information to a registration form from a list of candidates to be added. [Figure 10] 1 is a flowchart showing a flow of main processes of a computerized processing device. [Figure 11] 11 is a flowchart showing a detailed procedure of step S8 (first analysis process) in FIG. 10. [Figure 12] 11 is a flowchart showing a detailed procedure of step S9 (second analysis process) in FIG. 10. [Figure 13] 1 is a diagram showing an example of a standard portion of an actual nursing care insurance certificate. [Figure 14] 1 is a diagram showing an example of a standard portion of an actual nursing care insurance certificate. [Figure 15] 1 is a diagram showing an example of a standard portion of an actual nursing care insurance certificate. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0041] FIG. 1 shows an example of an information processing system to which the present invention is applied. This system digitizes the information of insured persons written on their long-term care insurance certificates (hereinafter referred to as "long-term care insurance certificates" or simply "certificates") and uses the generated electronic data to carry out administrative processing related to long-term care services.It includes a mobile terminal device 1 carried by a staff member who meets with users of long-term care services, a dedicated server 2 for OCR processing (hereinafter referred to as "OCR server 2"), and a management server 3 and terminal device 4 (personal computer) for administrative processing. Although FIG. 1 shows only one each of the terminal devices 1 and 4, in an actual system, a plurality of devices operate as the terminal devices 1 and 4.
[0042] The mobile terminal device 1 is a smartphone or tablet terminal installed with an application program for digitalization of nursing care insurance cards, and transmits an image of the nursing care insurance card taken by the device's photographing function to the OCR server 2, receives the read result data generated by the OCR process on the image from the OCR server 2 that has completed the process, and analyzes the data to extract information on the insured person written on the nursing care insurance card by item. Then, in order to link the text data of the extracted information to the text data of the item names and register them in the management server 3, the mobile terminal device 1 transmits a data file (e.g., a file in CSV format) that combines these two types of text data for each item to the management server 3.
[0043] The OCR server 2 is an information processing device that specializes in performing OCR processing. In this embodiment, the OCR server 2 receives still image data including characters from an external device via the Internet, recognizes the characters in the still image one by one, groups the recognized characters into units of character strings, and generates text data representing the contents of each character string. When processing an image of a printed matter with a frame such as a nursing care insurance card, the OCR server 2 determines the frame and the arrangement direction of characters by layout analysis, and identifies the area corresponding to each character string based on the determination result.
[0044] Furthermore, for each area determined to be a character or a string, the OCR server 2 extracts a number of coordinates that indicate the position and range of that area in the image. Then, it creates read result data in which the text data of each string is linked to position data consisting of a combination of the above-mentioned multiple coordinates, and transmits the read result data to the device that transmitted the image data to be processed.
[0045] The management server 3 has a database for storing information on nursing care insurance policyholders, a function for registering data received from the mobile terminal device 1 in the above database, a function for searching the above database based on search conditions sent from the terminal device 4 for administrative processing and returning the search results to the terminal device 4, and the like.
[0046] Software for editing documents for nursing care services is built into the administrative terminal device 4. This software sets the terminal device 4 with functions such as accepting input of search conditions for acquiring information on the insured person and sending the conditions to the management server 3, and reflecting the search results returned from the management server 3 on the document editing screen.
[0047] The electronic data generated by the mobile terminal device 1 and registered in the management server 3 can be used by a care manager to create a care plan for a person who needs care. It can also be used for the purpose of carrying out the necessary paperwork for service providers such as home care, day care, and welfare equipment rental. Furthermore, it can also be used as the essential basic data for the monthly insurance claim reconciliation data submitted to the National Health Insurance Association by service providers who have provided services as instructed by the care manager.
[0048] FIG. 2 shows the configuration of an electronic processing device 100 that is set up in a mobile terminal device 1 by an application program according to the present invention, together with its relationship to the camera 10 and touch panel 11 equipped in the mobile terminal device 1, and the aforementioned OCR server 2 and management server 3.
[0049] The digitizing processing device 100 of this embodiment cooperates with an operation system (not shown) of the mobile terminal device 1 to control the operation of devices such as the camera 10 and the touch panel 11. In addition, the digitizing processing device 100 communicates with the OCR server 2 and the management server 3 via communication circuits (not shown).
[0050] In order to execute the above-mentioned processing, the electronic processing device 100 includes each of the processing units, namely, a main processing unit 101, an imaging control unit 102, an image transmission unit 103, a read result data acquisition unit 104, a first analysis processing unit 105, a second analysis processing unit 106, and a processing result transmission unit 107, as well as each of the memory units, namely, an image layout memory unit 108, an analysis module memory unit 109, an exclusion string memory unit 110, an image memory unit 111, a registration target information memory unit 112, and an addition candidate memory unit 113.
[0051] The image storage unit 111, the registration target information storage unit 112, and the additional candidate storage unit 113 are storage units for temporary storage, and the data stored therein will be deleted at a timing described later. The other storage units 108, 109, and 110 store fixed data and programs required for processing.
[0052] The screen layout storage unit 108 stores layout information of various screens (see FIGS. 3, and 7 to 9) displayed on the touch panel 11. Upon startup, the main processing unit 101 launches an application execution screen on the touch panel 11 based on the layout information in the screen layout storage unit 108. Thereafter, the main processing unit 101 determines the content of an operation performed on the touch panel 11, and updates the display screen based on the processing result and the layout information in the screen layout storage unit 108 while performing processing according to the operation in cooperation with other processing units.
[0053] FIG. 3(A) shows an example of a capture screen that is displayed immediately after the processing of the electronic processing device 100 is started. Immediately after startup, main processing unit 101 causes shooting control unit 102 to start up camera 10, and displays moving image G0 generated by camera 10 and shutter button 20. When shutter button 20 is operated, camera 10 captures a still image, and data of the generated still image is passed from shooting control unit 102 to main processing unit 101, which then stores it in image storage unit 111. The screen of touch panel 11 is also changed to a confirmation screen as shown in Fig. 3(B).
[0054] The confirmation screen includes a still image G based on the saved data, as well as a message display field 23 including approval and disapproval buttons 21, 22. The message displayed in this field 23 is intended for the owner of the photographed health insurance card (the insured person), and it is assumed that the buttons 21, 22 will also be operated by the insured person.
[0055] When the approval button 21 is operated, the image transmission unit 103 reads out the data of the still image G from the image storage unit 111 and transmits it to the OCR server 2. The still image data in the image storage unit 111 is erased by the main processing unit 101 after the transmission to the OCR server 2 is completed. When the disapproval button 22 is operated, the still image data is erased without being transmitted.
[0056] The read result data acquisition unit 104 includes a working memory (not shown) for storing the read result data (data consisting of a collection of text data representing various character strings in the insurance card linked to the above-mentioned position data) returned from the OCR server 2 that executed the OCR process on the above-mentioned still image G. In response to the read result data acquisition unit 104 acquiring the above-mentioned read result data, the first analysis processing unit 105 and the second analysis processing unit 106 execute respective predetermined analysis processes on the data to extract text data that is likely to represent information about the insured person.
[0057] The analysis module storage unit 109 registers a plurality of types of analysis modules used in the analysis process (first analysis process) of the first analysis processing unit 105. The exclusion character string storage unit 110 registers text data (see FIG. 6(A)) of exclusion character strings used in the analysis process (second analysis process) of the second analysis processing unit 106.
[0058] The registration target information storage unit 112 is for registering text data to be incorporated into each entry field of the registration form described later. The text data extracted by the first analysis process is stored in this storage unit 112, and the stored data is incorporated into the registration form. However, when the registration form is modified, the data stored in the registration target information storage unit 112 is updated to match the modification content.
[0059] The text data extracted by the analysis process of the second analysis processing unit 106 is stored in the additional candidate storage unit 113. The text data in the additional candidate storage unit 113 is incorporated into an additional candidate list that is called up during the work of adding information to the registration form (see FIGS. 8 and 9).
[0060] FIG. 4 shows an example of a nursing care insurance card 5 with information written on it, which is a fictitious insurance card created based on the insurance card of Sakai City shown in FIG. 14. As shown in this example and the above-mentioned FIGS. 13 to 15, current nursing care insurance cards of all municipalities are assumed to be folded in three for storage, and are divided into three frames W corresponding to the front, back, and inside. L ,W C ,W R The left frame W L In the box in the center, information that identifies the insured person (such as name, address, date of birth, etc.) and information about the insurer (local government) are written. C and the right frame W R Information regarding the insured person's nursing care situation is entered inside.
[0061] The OCR server 2 of this embodiment does not perform processing specific to nursing care insurance cards, but L ,W C ,W R By acquiring an image including all of the above, the layout analysis is performed to determine each frame W L ,W C ,W R By recognizing the frames, character recognition and character string identification can be performed for each frame, and text data and position data for each character string can be generated. L ,W C ,W R The small areas separated by lines within each of the left and right frames are also identified in the same way, and the text is divided into small areas. L In places where multiple characters are arranged in a box of a certain size, such as the insurer number at the bottom of the document, the entire arrangement of those characters is recognized as representing a single string of characters.
[0062] However, there are cases where the analysis process targeted at the framework of OCR server 2 fails to detect some of the lines, resulting in errors in separating the characters, or where some of the lines are mistakenly recognized as the number "1" or the letters "l" or "I."
[0063] Fig. 6(B) shows a part of a set of text data included in an example of read result data received from OCR server 2 which has photographed nursing care insurance card 5 shown in Fig. 4 with mobile terminal device 1 and processed the generated image. Since OCR server 2 cannot distinguish between the standard part of insurance card 5 and the insured person's information, the text data set sent from OCR server 2 contains a mixture of character string data included in the standard part (marked with *) and data representing the insured person's information (not marked with *), as shown in Fig. 6(B).
[0064] The first analysis processing unit 105 extracts text data representing information on the insured person related to each of the items to be extracted from the collection of text data containing the above mixture. The extracted text data is linked to the text data representing the name of the corresponding item and stored in the registration target information storage unit 112, from which it is read and incorporated into the registration form.
[0065] 4, a code (in parentheses) consisting of a combination of any one of the letters A, B, or C and a number is added to a position adjacent to the information to be extracted by the first analysis processing unit 105 in this embodiment. The analysis module storage unit 109 stores, for each piece of information, an analysis module in which a specific definition and processing algorithm for extracting that information are described. The first analysis processing unit 105 can extract text data representing each piece of information by calling and executing those modules in a predetermined order.
[0066] FIG. 5 is a simple summary of the extraction conditions set in the analysis module for each piece of information (A1) to (A5), (B1), and (C1) to (C9) in FIG. 4. As shown in FIG. 5, the analysis module of this embodiment: (A) Extraction process based on format (B) Extraction process based on location information (C) Extraction process using both format and location information They are broadly divided into three types: Hereinafter, these types will be referred to as "Type A," "Type B," and "Type C."
[0067] Below, we will provide an overview of each type of extraction process, as well as a detailed description of the information to be extracted and the extraction method for each type. We will also briefly explain the advantages of each extraction process. Although what is extracted is text data representing a character string, in the following description, for the sake of convenience, the phrase "extracting a character string" is used.
[0068] Type A: Form-based extraction process In type A extraction processing, a character string that represents information that is expressed in a specific format consisting of characters of one or more character types and for which there is no other information expressed in the same format is extracted based on that specific format. In this embodiment, the following five types of information are applied:
[0069] (A1) Insured person number Extract a string consisting of 10 Arabic digits. (A2) Insurance number Extract a string consisting of six Arabic digits.
[0070] (A3) Postal code A character string consisting of a three-digit Arabic numeral and a four-digit Arabic numeral, separated by a hyphen (-), is extracted. This information is entered in the address field on the health insurance card, but in the analysis process, a field called "zip code" is created independent of the address, and the extracted character string is linked to that field.
[0071] (A4) Gender Extract the single kanji character "man" or "woman." (A5) Nursing care status classification Extract a string of characters that consists of the three kanji characters "care required" followed by any of the Arabic numerals 1, 2, 3, 4, or 5.
[0072] The character string formats (A1) to (A5) are not used for other information, so they can be extracted based on the format conditions alone, without using position data. Therefore, even if the positions at which these character strings are written differ depending on the format of the health insurance card, they can be extracted without being affected by these differences.
[0073] The "postal code" in (A3) is not set as an independent item on the health insurance card, but is included in the address, and in some cases is not filled in. However, in this embodiment, in consideration of the fact that this information is highly necessary for administrative communication, the postal code is extracted as an item separate from the address and reflected in the registration form, so that even if the postal code is not written on the health insurance card, it can be added from the registration form.
[0074] The "gender" in (A4) is written on most current nursing care insurance cards, but in some cases it is written next to the name without the item name being written. However, according to the extraction process for (A4) in this embodiment, even if the name contains the characters "male" or "female," it is possible to prevent them from being erroneously extracted as characters indicating gender.
[0075] Type B: Extraction process based on location information In the B type extraction process, a specific character string that is included in the standard part of each format of health insurance card and is near the information to be extracted is used as a reference, and a character string that represents the target information is extracted by utilizing the positional relationship with respect to the reference character string. In this embodiment, it is applied to only one piece of information as follows.
[0076] (B1) Name of home care support business operator, etc. The "Date of Notification" (see Figure 4) written at the bottom of the corresponding field on the health insurance card is used as the base string, and the string included in the area that includes several lines above this string and extends to about 10 characters left and right is extracted.
[0077] Most nursing care insurance cards have three fields for entering information (B1), as shown by reference numbers 51, 52, and 53 in Fig. 4. In this embodiment, the extraction process by the analysis module of (B1) is executed three times, and the text data extracted in each cycle is linked to the item names "Name of home care support business operator (1)", "Name of home care support business operator (2)", and "Name of home care support business operator (3)".
[0078] As shown in Figures 13 to 15, the official item name of "Home care support business operator, etc." is very long and is written in multiple lines to the left of the area including the three entry fields 51, 52, and 53. The number of lines and the number of characters in the line of this item name vary greatly depending on the insurance card, and the content is not standardized. There is also a large variation in the positional relationship between the area where the item name is displayed and the entry fields 51, 52, and 53.
[0079] Therefore, it is difficult to extract information from each of the entry fields 51, 52, and 53 due to their positional relationship with the long item names mentioned above. However, by using the "Date of Notification" written in each of the entry fields 51, 52, and 53 as a reference, it is possible to easily extract the information in the fields in which specific information is written.
[0080] Type C: Extraction process using both format and position information In the C-type extraction process, a specific character string that is included in the standard part of each format of insurance card and located near the information to be extracted is used as a reference character string, and a processing target area based on predetermined conditions is set for the reference character string. Then, from this area, character strings expressed in a specific format that matches the attributes of the information to be extracted, or character strings that include characters specific to the attributes of the information to be extracted, are extracted. In this embodiment, the following nine pieces of information are applied:
[0081] (C1) Address Using the item name "Address" or its part "Sumi" as a base, extract character strings that contain at least one of "City", "Ward", "Town", or "Village" from the area to the right of the base character string and extending several lines in both directions. Furthermore, if there is a character string that contains Arabic numerals or Chinese numerals (which may represent a lot number or room number) in the same area, extract that character string as well.
[0082] (C2) Furigana Using either the "furigana," "name," or "surname" of the item name as a reference, a string consisting only of katakana is extracted from the area to the right of the reference string and extending several lines in both directions.
[0083] As shown in the examples of Figures 4 and 6(B), in the furigana notation, there is a space between the character string representing the family name (Osaka) and the character string representing the given name (Ichiro), and they may be extracted as separate character strings in the OCR process. In consideration of this point, in the furigana analysis module of this embodiment, when multiple katakana character strings are extracted from the processing target area, it determines whether each character string is in the same line based on the position data of the characters, and if it is determined that multiple katakana character strings are in the same line, it combines the character strings into one character string and saves this combined character string by linking it to the furigana.
[0084] (C3) Name Using the item name "Name" or "Surname" as the base, the character string contained in the area to the right of the base character string and extending several lines in both directions above and below is extracted. As with furigana, when it comes to "name," there is a possibility that the string representing the surname and the string representing the given name will be extracted as separate strings. Therefore, when multiple strings are extracted from the area to be processed in the "name" analysis module, strings that are determined to be in the same line based on their position data are combined into a single string without spaces, and this combined string is then linked to the "name" and saved.
[0085] In addition, when multiple character strings located on different lines are extracted from the processing target area, the width and height of each character string are calculated using the coordinates contained in the position data, and the character string with the largest size is identified as the target character string.
[0086] (C4) Date of birth Using the item name "Date of Birth" as a base, a string in date format (a string in which the characters for "year," "month," and "day" are arranged in order with one or two Arabic digits between them and before the "year") is extracted from an area extending approximately 1 to 1.5 lines in each direction up and down to the right of the base string.
[0087] (C5) Date of issue Using the item name “Date of Issue” as a base, extract a string in the same date format as (C4) from an area extending about 1 to 1.5 lines in each direction above and below the base string to the right of the base string.
[0088] (C6) Certification date Using the item name “Date of Certification” as a base, extract a string in the same date format as (C4) and (C5) from an area extending about two lines in each direction to the right of the base string.
[0089] (C7) Validity period of certification Using the "validity period," which is part of the item name, as a base, a string is extracted from an area to the right of the base string that extends about two lines in each direction, up and down, containing two strings in the same date format as (C4), (C5), and (C6), separated by "~." When two date format strings or "~" are split into separate strings, the position data of these strings is used to determine whether or not the strings are arranged in an order that satisfies the extraction conditions, and if it is determined that they are arranged in such an order, the strings are combined into the string of the above format.
[0090] (C8) Date of notification of home care support business operator, etc. As in (B1), the "notification date" is used as the base character string, and three cycles of processing are performed to extract character strings in the same date format as in (C4), etc., from an area extending about one line in each direction to the right of the base character string. In addition, each of the character strings extracted in each cycle is linked to the item names "notification date (1)," "notification date (2)," and "notification date (3)."
[0091] (C9) Classification payment limit standard amount Using "Home Services" or "Home", which is part of the item name, as a base, a string including the two characters "Unit" at the end is extracted from an area extending about two lines downward to the right of the base string.
[0092] In (C1) to (C9), the extraction conditions are set not only based on the positional relationship with the surrounding specific character strings, but also on the fact that the character string is expressed in a specific format that matches the attribute of the information to be extracted, or on the fact that the character string is unique to the attribute of the information to be extracted. Therefore, even if the processing target area is set to be wide, it is possible to prevent information outside the target from being erroneously extracted. Also, even if a character string identical to the reference character string is present in a location away from the information to be extracted, it is possible to prevent erroneous information from being extracted based on that character string. Even if the position of the character string representing the information to be extracted varies, the effect of the variation is reduced, and the target character string can be extracted with a high degree of accuracy. For items for which multiple specific character strings are set as references, the extraction conditions can be set to be different for each of the character strings.
[0093] Figure 7 shows an example of a registration form screen incorporating character strings extracted by an analysis process performed by the first analysis processing unit 105 on the set of text data shown in Figure 6 (B) (data generated by the OCR server 2 reading process of the image of the health insurance card 5 shown in Figure 4). The actual registration form does not fit within one screen of touch panel 11, and when checking the displayed contents, the display range must be changed by scrolling. Therefore, Figure 7 shows the screen immediately after the form is displayed on touch panel 11 (Figure 7(A)), and the screen after it has been scrolled until the bottom position of the form is displayed (Figure 7(B)).
[0094] As shown in Figures 7(A) and (B), the registration form in this example has multiple fields labeled with item names, with a registration button 30 at the end. The registration form in this example also includes fields for entering information not listed on the health insurance card 5 (telephone number, name of care manager, hereinafter referred to as "supplementary information"). The item names are almost the same as those shown in Figure 5, but (C8) "Date of notification as home care support business operator, etc." has been simplified to "Date of notification." Additionally, the entry field for (C9) "Standard amount for category payment limit" has only the numeric portion with the "unit" at the end deleted, and the word "unit" is displayed to the right of it.
[0095] In the registration form example of FIG. 7, fields in which no information has been entered are colored according to the type of information they contain. In Figure 7, the colors are shown instead of fill patterns, and the colors corresponding to each pattern and the content they represent are explained in the dashed box on the right margin. As explained, the required fields for which information could not be entered even though they were subject to extraction are colored red (the insurer number field in Figure 7(A)), the optional fields for which information could not be entered are colored gray (the "Name of home care support business operator (2)(3)" and "Date of notification (2)(3)" fields in Figure 7(B)), and the supplementary information fields are colored yellow.
[0096] No matter how excellent the functions of the OCR server 2 are, if there are unclear characters or characters whose character type is difficult to identify in the captured image, an error may occur in the character recognition by the OCR server 2. Even when the digitization processing device 100 receives text data containing such an error, it may be affected by the error in the OCR server 2 and enter an incorrect character string or incomplete information in the registration form. In addition, there may be cases where the information that should be entered in the registration form cannot be entered because the extraction conditions of the first analysis processing unit 105 are not satisfied.
[0097] Taking these cases into consideration, in this embodiment, regardless of whether any entry field in the registration form is colored, character input operations are accepted, and entered character strings can be corrected or additional character strings can be added. Also, to make it possible to efficiently add information, a list of candidate character strings to be added (hereinafter referred to as "additional candidates") is displayed, and a candidate in the list can be selected and input into the registration form.
[0098] The above-mentioned candidates to be added are extracted by the analysis process of the second analysis processing unit 106 on the read result data obtained from the OCR server 2. For the analysis process, information registered in the excluded character string storage unit 110 is used.
[0099] 6A shows specific examples of excluded character strings registered in the excluded character string storage unit 110. These correspond to character strings that are commonly included in the standard portions of multiple types of health insurance cards with different formats.
[0100] As described above, FIG. 6(B) shows a collection of text data contained in the read result data obtained from the OCR server 2, with character strings contained in the fixed portion marked with an *.
[0101] The second analysis processing unit 106 targets all text data included in the read result data and compares each piece of text data with the exclusion strings registered in the exclusion string memory unit 110 to identify text data that does not contain strings that match the exclusion strings, and stores these in the addition candidate memory unit 113.
[0102] FIG. 6(C) shows additional candidates extracted by matching the strings in FIG. 6(B) with the excluded strings in FIG. 6(A), i.e., strings not marked with an * in FIG. 6(B).
[0103] As shown in Fig. 6(A), the excluded character strings in this embodiment include not only character strings that represent the entirety of a coherent piece of information such as an item name, but also character strings that are part of the information (including those consisting of a single character). In addition, even if a character string is included in the standard part of an insurance card, character strings that are also included in the insured person's information (e.g., "care") or character strings that may be included in the name of a support business operator (e.g., "home" or "service") are excluded from the excluded character strings.
[0104] By analyzing the text data obtained from the OCR server 2 using the excluded character strings pre-selected according to the above-mentioned criteria, it is possible to extract text data of character strings not included in the standard part, including those that could not be extracted by the processing of the first analysis processing unit 105 because they contain erroneous information, and store them in the additional candidate storage unit 113.
[0105] FIG. 8 shows an example of an operation for inputting a character string representing the "insurer number," which is a required field but could not be extracted in the example of FIG. 7, by using the list of additional candidates. Figure 8 (A) shows the screen immediately after the "Insurer Number" field is touched. A software keyboard 41 is displayed at the bottom of the screen, and a cursor 42 appears in the touched field, making it possible to enter text into that field.
[0106] Furthermore, a copy button 40 is displayed on the right edge of the entry field. When this button 40 is operated, a box 45 containing a list of additional candidates is displayed, as shown in Fig. 8(B). The display inside this box 45 can also be moved by scrolling.
[0107] Copy buttons 40 are also displayed to the left of each candidate in box 45, and when one of them (button 40a with an arrow in Figure 8(B)) is operated, the character string "2714" that was at the height of the operated button 40a is inserted in front of cursor 42 in the selected entry field, as shown in Figure 8(C). As shown in the example of health insurance card 5 in Figure 3, "2714" represents part of the health insurance card number, so by adding the remaining two digits after it, the entry of the health insurance card number can be completed.
[0108] Figure 9 shows an example of corrections being made to the reading column in a registration form after the health insurance card number has been entered. In this example, the reading column displays the character string extracted by the analysis process, but only up to the family name "Osaka." In the given name column, the character "ro" in "Ichiro" was misrecognized by OCR server 2 as the kanji character "kuchi (mouth)" and did not meet the extraction criteria shown in (C2) of Figure 5, so it could not be combined with "Osaka" and incorporated into the registration form. Furthermore, in this example, the final "u" was also erroneously recognized as "wa" (see Figure 6 (B)).
[0109] Even when adding information to a field where some information is missing, as in the above example, by touching the target field, a software keyboard 41 is displayed, as shown in FIG. 9(A), and a cursor 42 and a copy button 40 are displayed in the touched field.
[0110] When button 40 is operated, a box 45 including a list of additional candidates is displayed as in the example of FIG. 8(B) (FIG. 9(B)). In response to the operation of button 40b (the one indicated by the arrow) corresponding to one of them, the character string "ICHIKOUWA" of the additional input candidate corresponding to that button 40b is inserted before the cursor 42 of the entry field being selected (FIG. 9(C)). After that, the misrecognized part "KOUWA" in the inserted character string can be deleted and corrected to the correct character "ROU", thereby completing the furigana correction work.
[0111] The candidate "2714" selected in the example of FIG. 8 is excluded from the candidate list of box 45 shown in FIG. 9(B). In this way, by removing the selected additional candidates from the list, it is possible to prevent the same candidates from being erroneously inserted into a plurality of display fields.
[0112] FIG. 10 is a flowchart showing the schematic procedure of the process executed in the digitization processing apparatus 100. FIGS. 11 and 12 are flowcharts showing the detailed procedures of steps S8 and S9 in FIG. 10, respectively. Hereinafter, together with these flowcharts, with appropriate reference to the drawings mentioned so far, the main processing flow from when the insurance certificate is photographed until the processing for the insurance certificate is completed will be described.
[0113] In the first step S1 after the startup of the digitization processing apparatus 10, the camera 10 is started to perform live image shooting through the collaborative processing of the main processing unit 101 and the shooting control unit 102, and the shooting screen shown in FIG. 3(A) is displayed on the touch panel 11. When the shutter button 20 in this screen is operated (step S2 is "YES"), the main processing unit 101 stores the still image data generated by shooting with the camera 10 in the image storage unit 111 and switches the screen of the touch panel 11 to the confirmation screen shown in FIG. 3(B) (step S3).
[0114] When the approval button 21 is operated on this screen (step S4 is "YES"), the main control unit 101 operates the image transmission unit 103 to transmit the still image data to the OCR server 2 (step S5). Furthermore, the main processing unit 101 operates the read result data acquisition unit 104 to acquire the read result data returned from the OCR server 2 (step S6).
[0115] The read result data acquired by the read result data acquisition unit 104 is stored in a working memory in order to execute the analysis processes of steps S8 and S9. Upon completion of this storage, the main processing unit 101 erases the still image data from the image storage unit 111 (step 7). However, this image data erasure may be performed immediately after completion of the image transmission of step S5.
[0116] In step S8, text data that is a candidate for registration is extracted by a first analysis process by the first analysis processing unit 105. In step S9, text data that is a candidate for addition is extracted by a second analysis process by the second analysis processing unit 106. The detailed procedure of these analysis processes will be described with reference to FIGS.
[0117] Step S8: First analysis process (Fig. 11) In the first analysis process, the first item of the group of items to be analyzed is selected (step S801), and an analysis module for that item is called (step S802). If this analysis module is an A-type extraction processing module shown in Fig. 5 (step S803 is "YES"), step S804 is skipped and the process proceeds to step S805, where the first text data of the set of text data (see Fig. 6(B)) stored in the working memory of the read result data acquisition unit 104 is selected.
[0118] Next, after confirming that the selected text data does not have a processed flag (described later) set (step S806: "NO"), the text data is subjected to processing by the above-mentioned analysis module to determine whether it meets the extraction conditions set by the analysis module (steps S807, S808).
[0119] If the selected text data does not meet the extraction conditions (step S808 is "NO"), the next text data is selected (steps S809, S810), and, provided that the text data does not have a processed flag, processing is performed by the selected analysis module to determine whether the selected text data meets the extraction conditions set by the analysis module (steps S807, S808).
[0120] Thereafter, subsequent text data are selected in order (steps S809, S810), and if text data that matches the extraction conditions of the analysis module is found while repeating the same process (step S808: "YES"), the process proceeds to step S811, where the text data is linked to the text data representing the item name of the selected item and stored in the registration target information storage unit 112. Furthermore, the process proceeds to step S812, where a processed flag is set for the selected text data in the working memory.
[0121] If the analysis module being executed is specified to continue processing even after text data that matches the extraction conditions is found, step S813 after executing steps S811 and S812 above will be "YES", and the process will return to the loop of steps S806 to S810, and when matching data that matches the extraction conditions is found, the processes of steps S811 and S812 will be executed. When processing of all text data is completed (step S809 is "YES"), the next item is selected (steps S814 and S815).
[0122] If the analysis module being executed is specified to end the analysis process when one piece of text data that matches the extraction conditions is found, step S813 after steps S811 and S812 are executed for the found text data will be "NO", and the next item will be selected at that point (steps S814 and S815).
[0123] For the second or subsequent selected items, the basic processing flow is the same as above, but if a type B or type C analysis module is called in step S802 (step S803 is "NO"), a process is executed to identify the text data containing the reference character string used in the analysis and its position data (step S804).
[0124] Although the detailed procedure for step S804 is omitted, here too, text data in the read result data is selected one by one to determine whether it contains the reference character string, and when text data containing the reference character string is identified, the position of the reference character string is recognized by the position data linked to that text data. If multiple text data containing the reference character string are found, one of them is selected according to the definition of the selected analysis module, and the position of the reference character string is recognized by the position data linked to that text data.
[0125] The text data extracted in step S804 is also assigned a processed flag. However, in the case of the processing of (B1) “Name of home care support provider, etc.”, the reference character string “Notification date” is also used in the processing of (C8), so setting the processed flag to text data containing this string is skipped.
[0126] The text data identified in step S804 may contain characters other than the reference string, but if the position data of the read result data also contains the coordinates of each character, the position of the reference string can be recognized with high accuracy by the coordinates of the characters that make up the reference string. However, if the coordinates of each character cannot be obtained, the coordinates that represent the range of the entire text data may be used as the position of the reference string.
[0127] In any of the extraction processes A, B, or C, text data from the read result data is selected in order starting from the first one, and processing is performed by the selected analysis module (steps S805 to S813). However, if text data with a processed flag is selected (step S806: "YES"), processing for that text data is skipped and processing moves to the next text data.
[0128] For items for which no matching information was found even after processing all the text data stored in the working memory, the process proceeds to step S815 without executing steps S811 and S812, and the next item is selected. This selection confirms the result of the analysis of the previous item that "there is no matching information."
[0129] Although not shown in FIG. 11, if an analysis module that is specified to continue analysis processing even after finding text data that matches the extraction conditions finds multiple pieces of text data that match the extraction conditions, when processing for all the text data has been completed (step S809 is "YES"), a process of combining the extracted text data and a process of selecting the extracted text data that is deemed to best match the extraction conditions are performed according to the rules described in the module being executed.
[0130] In addition, in the processing of the “Name of home care support provider, etc.” in (B1) and the “Date of notification of home care support provider, etc.” in (C8), steps S803 to S813 are executed for three cycles. If two or more pieces of text data are extracted as a result, the position data is checked to see whether those pieces of text data are linked to each of the item names (1), (2), and (3) in order from the top. If the linking is incorrect, it is corrected.
[0131] In the first analysis process of this embodiment, the 15 types of items shown in Fig. 5 are selected in order from the top to the bottom of the figure. The analysis modules for the format-based extraction process ((A1)-(A5)) and the extraction process of character strings in date format ((C4)-(C6)) are specified to end the process when one piece of text data that matches the extraction conditions is found, while the other analysis modules are specified to continue the process by selecting the subsequent text data even after the text data that matches the extraction conditions is found.
[0132] The text data in the read result data sent from the OCR server 2 is not necessarily arranged in the order of the information on the health insurance card, and the order of item names and the insured person's information varies. However, as shown in Figure 11, for each item, in principle, all text data is selected from the first item and judged whether it matches the extraction conditions, thereby preventing information from being overlooked or extracted erroneously.
[0133] In addition, in the extraction processes for types B and C, in step S804, the text data in the read result data is searched for from the top to search for text data containing the reference character string, and after the text data and its position data are identified, the process returns to the top of the text data group to search for text data representing the insured person's information.Therefore, regardless of whether the text data containing the reference character string or the text data representing the insured person's information is located first, each data can be extracted without being affected by the difference.
[0134] Furthermore, by excluding the extracted text data from the following extraction targets using the processed flag, and by setting the execution order of each analysis module so that the extraction process of an item that may be mistakenly extracted as information of another item is performed before the other item, it is possible to prevent the occurrence of an error in which one text data is determined to match multiple items. It is also possible to prevent the extraction of non-target text data when the area of the extraction target is set to be wide.
[0135] For example, the "Postal Code" in (A3) is entered in the "Address" field on an insurance card, but by making it so that the "Postal Code" is extracted before the "Address" in (C1), it is possible to prevent text data representing the postal code from being extracted during the extraction process for the "Address" in (C1).
[0136] In addition, when the target image is an image of a health insurance card that does not have the field name "furigana," the "furigana" extraction process in (C2) extracts the corresponding text data when "name" or "surname" is the reference string. However, by performing the extraction process in (C2) before the "name" extraction process in (C3), which also uses "name" or "surname" as the reference string, it is possible to prevent the text data representing the furigana from being extracted as the name even if the text data representing the name cannot be extracted for some reason.
[0137] Step S9: Second analysis process (Figure 12) In the second analysis process, each data in the set of text data included in the read result data is selected in order (steps S901, S908, S909). Every time new text data is selected, the first data in the group of excluded character strings registered in the excluded character string storage unit 110 is selected (step S902), and the excluded character string is compared with the selected text data (step S903).
[0138] If the above comparison determines that the selected text data contains the selected exclusion string (matches the exclusion string completely or partially) (step S904: "YES"), the next text data is selected (steps S908, S909), and the process returns to step S902, whereby the comparison process is performed on the newly selected text data, starting with the first exclusion string.
[0139] If it is determined that the selected text data does not contain the selected exclusion string (step S904 is "NO"), the next exclusion string is selected (steps S905 and S906), and the next exclusion string is compared with the selected text data (step S903) and a determination process (step S904) is performed. If the result of comparing with all exclusion strings registered in the exclusion string storage unit 110 is "NO" for all exclusion strings in step S904, that is, if it is determined that the selected text data does not contain any exclusion strings, the result of step S905 after the "NO" determination in step S904 for the last exclusion string becomes "YES", the process proceeds to step S907, and the selected text data is saved in the addition candidate storage unit 113.
[0140] When the above steps S902 to S907 have been performed on all text data included in the read result data (step S908 is "YES"), the second analysis process ends. Through this analysis process, only text data that does not contain the excluded character string is extracted from the set of text data in the read result data, and these are stored in the addition candidate storage unit 113 as addition candidates. In this way, data that is highly likely to represent information about the insured person can be stored in the additional candidate storage unit 113.
[0141] Referring back to FIG. When the analysis processes (steps S8 and S9) of the first analysis processing unit 105 and the second analysis processing unit 106 are completed, the main processing unit 101 incorporates the character string (registration candidate) of the text data stored in the registration target information storage unit 112 into the registration form shown in Figure 7, and displays the screen of the registration form on the touch panel 11 (step S10).
[0142] After the registration form is displayed, the main processing unit 101 executes processing corresponding to each operation performed on the registration form. Here, however, the explanation will focus on the processing procedures for the operation of the registration button 30 at the end of the form and the operation of selecting a fill-in field on the form.
[0143] When any entry field in the registration form is selected (step S12: YES), the main processing unit 101 sets a state in which character input is possible in the entry field by displaying the cursor 42 in the selected field and the software keyboard 41, as shown in Fig. 8(A) and Fig. 9(A) (step S13). After that, character key operations are accepted until an operation to end input is performed, and the characters to be input are constructed by performing processing according to the contents of the operation (steps S14 to S16).
[0144] When the call of an additional candidate is designated by operating the copy button 40 of the selected entry field instead of operating the character keys (step S15 is "NO" and step S17 is "YES"), the main processing unit 101 displays a box 45 including a list of additional candidates stored in the additional candidate storage unit 113, superimposed on the registration form (step S18), as shown in Figures 8(B) and 9(B). When a candidate in this list is selected (step S19 is "YES"), the main processing unit 101 displays the character string of the selected candidate in the selected entry field (step S20).
[0145] Furthermore, the main processing unit 101 deletes the selected candidate character string from the additional candidate storage unit 113 (step S21). This process makes it possible to prevent the selected character string from appearing in a list of additional candidates that is subsequently called up.
[0146] After this, the user can continue to input characters into the selected entry field or insert additional candidates. When the user enters a state in which character input into the selected field is considered to have ended (step S14 is "YES"), such as by closing the software keyboard 41 or selecting another entry field, the main processing unit 101 proceeds to step S22 and updates the information stored in the registration target information storage unit 112 that is linked to the item corresponding to the entry field into which the input has been made, to the text data of the currently displayed character string.
[0147] After the process of step S22, the process returns to the loop of steps S11 to S12, and if a new entry field is selected (step S12 is "YES"), the process of steps S13 to S22 is executed as described above. However, when the entry field for supplementary information (telephone number, care manager) is selected, it is preferable not to display the copy button 40 that calls up additional candidates, and not to execute the processes of steps S17 to S21.
[0148] Thus, when the corrections and additions to the registration form are completed and the registration button 30 is operated, step S11 becomes "YES" and the process proceeds to step S23, and the data stored in the registration target information storage unit 112 at that time, i.e., the combination of the text data of the character strings displayed in the fields of each item in the registration form and the text data of the item names, is read out by the processing result transmission unit 107. The processing result transmission unit 107 creates a data file that compiles this data and transmits it to the management server 3.
[0149] When transmission of the data file to the management server 3 is completed, the main processing unit 101 erases the data displayed in each field of the registration form, and also erases all working data such as data stored in the working memory of the registration target information storage unit 112, the addition candidate storage unit 113, and the read result data acquisition unit 104 (step S24). This completes the digitization process for one health insurance card.
[0150] The data deletion in step S24 and the image deletion in step S7 delete all electronic data generated from the photographed health insurance card. This prevents the mobile terminal device 1 including the electronic processing device 100 from being carried to various places with the insured person's personal information still stored therein.
[0151] However, if the security of the electronic processing device 100 can be ensured so that information on the device 100 cannot be read except when the electronic processing device 100 is running, the information in the registration target information storage unit 112 may be transferred and stored in another storage unit of the electronic processing device 100 so that it can be read out as needed.
[0152] This concludes the explanation of one example of electronic processing for nursing care insurance cards. Possible variations will now be explained.
[0153] <Modifications regarding analysis processing> The conditions for extracting text data representing information of the insured person are not limited to those shown in Fig. 5, and conditions different from the above example may be set. For extracting text data, other conditions and methods may also be adopted.
[0154] For example, each piece of information (A1) to (A5) of Type A can be extracted by a Type C analysis module that uses a character string located near each piece of information, which is commonly included in the standard parts of various types of health insurance cards, as a reference character string.
[0155] For the “Date of Birth” in (C4), the “Date of Issue” in (C5), the “Date of Certification” in (C6), and the date of notification to the home care support provider in (C8), most insurance cards are written in the left box W. L (C4) and (C5) are arranged vertically offset within the central frame W C (C6) is placed inside, and the right frame W RWithin the field, three dates representing (C8) are arranged shifted vertically. Therefore, by defining the positional relationship of these items using loose conditions that do not specify distance (for example, by defining the vertical or horizontal positional relationship according to the magnitude relationship of the x or y coordinate), and using type A extraction processing that sets the condition of extracting character strings in date format, it is possible to extract all character strings in date format (excluding those that fall under (C7)) from the text data group of the read result data, and by comparing the positional data of the extracted character strings with the above definition, it is possible to identify the character strings corresponding to each item.
[0156] For "zip code" and "address", all text data included in a common processing target area set based on "address" or "household" can be extracted, and then the text data representing the zip code and the text data representing the address can be separated based on the format of the character string represented by the text data. Similarly, for "name" and "furigana", all text data included in a processing target area set based on "name" or "surname" can be extracted, and then text data consisting of character strings only of katakana can be identified as data corresponding to furigana, and data corresponding to the name can be identified from the other text data.
[0157] In the above embodiment, information on items that were not subject to extraction of text data can also be included in the extraction target by setting extraction conditions based on the respective attributes, positional relationships with respect to the standard parts, and the like.
[0158] <Other Modifications> In the above example, three frames W L ,W C ,W R By capturing an image including all of the frames W in the field of view of the camera 10, electronic data of the required information can be obtained in one capture. L ,W C ,W RAlternatively, the images may be photographed individually and the electronic processing may be performed for each image generated by each photograph, and then all the processing results may be integrated and displayed on the registration form or transmitted to the management server 3.
[0159] Three frames in one shot L ,W C ,W R When the still image generated by the photographing is to be digitized, the photographing control unit 102 is L ,W C ,W R A function has been added to determine whether the W in each frame is correctly inserted. L ,W C ,W R Only when it is determined that the box is filled with W, the confirmation screen shown in FIG. 3B may be displayed. L ,W C ,W R If the W frame is not correctly inserted, the confirmation screen in Fig. 3(B) will not be displayed and a message will be displayed requesting you to retake the picture. L ,W C ,W R It is also possible to accept shooting operations until an image with the correct mark is obtained. In this case, it is preferable that the images generated by shooting until the confirmation screen is displayed are deleted at the same time as the message is displayed.
[0160] In the above embodiment, the electronic processing device 100 transmitted to the management server 3 a data file containing a combination of text data for each item obtained by the electronic processing of the health insurance card and text data for the names of those items, but the output format is not limited to this. For example, if the names of items to be processed are registered in the management server 3 in association with different identification codes, the digitizing processing device 100 can also transmit a data file including a combination of the text data of each item and its identification code. Alternatively, it can transmit a data file in which only the text data of each item is arranged in ascending or descending order of the identification codes.
[0161] The information processing device operated as the electronic processing device 100 is not limited to a portable terminal device, but may be a personal computer connected to an image capturing means such as a camera or scanner. Any information processing device can also be equipped with an OCR function. For that function, commercially available OCR software can be used that can generate read result data that meets the conditions required for analysis by the digitization processing device 100. [Industrial Applicability]
[0162] Nursing care insurance cards contain a large amount of information that is used to provide a variety of services. Therefore, if the information on nursing care insurance cards can be digitized using the above-mentioned electronic processing device 100, the administrative burden on businesses and care managers involved in related services can be significantly reduced.
[0163] Even in the future, when it becomes possible to obtain information on insured persons under long-term care insurance from Individual Number cards, it will be more convenient to use insurance cards for daily confirmation between service providers and users, and it is believed that the electronic processing of the present invention can be utilized for a long time. Regarding information that is often overwritten, such as the nursing care status category and the certification period for that category, and the name of the provider, the process of checking whether the information on the insurance card matches the information linked to the Individual Number can also be easily performed using the electronic information of the present invention.
[0164] The electronic processing is not limited to nursing care insurance cards, but can be applied to all public insurance cards. In particular, the medical insurance card for the elderly is printed on a tri-fold paper, just like the nursing care insurance card, and is used frequently, so the electronic processing according to the present invention is likely to be highly useful. [Explanation of symbols]
[0165] 1. Mobile terminal device 2. OCR Server 3. Business processing management server 5. Nursing care insurance card 10. Camera 11 Touch Panel 100 Electronic processing device 101 Main processing section 102 Shooting control section 103 Image transmission unit 104 Reading result data acquisition unit 105 First analysis processing section 106 Second analysis processing section 107 Processing result transmission unit 108 Screen layout memory unit 109 Analysis module memory unit 110 Excluded string storage section 111 Image storage unit 112 Registration target information storage unit 113 Additional candidate storage unit
Claims
1. A program to be installed in an information processing device having a photographing function and a communication function in order to enable electronic conversion of information on a plurality of types of insurance cards issued without standardization of formats for a specific public insurance, comprising: an image transmission means for transmitting an image generated by photographing the health insurance card to be processed using the photographing function to an external OCR server; a data acquisition means for acquiring, as a result of OCR processing on the image from the OCR server that has received the image, read result data including text data of a character string included in the image and position data indicating a position of the character string in the image; an analysis means for performing an analysis process on the read result data and extracting text data of a character string representing information on the insured person of the insurance card to be processed from the read result data for each type of information; an output means for outputting text data of the character string extracted by the analysis means in association with an item that matches the information represented by the character string; Each of the means includes a program for operating the information processing device, The analysis means includes means for executing a two-stage extraction process in which text data including a specific character string that is commonly included in the standard portions of the multiple types of health insurance cards is extracted from the reading result data, and then text data of a character string that is in a positional relationship with the specific character string that satisfies predetermined conditions from other text data included in the reading result data, and the text data is treated as data corresponding to the information to be extracted, by resetting the conditions of the specific character string and the positional relationship with the character string for each piece of information to be extracted.
2. In the second stage of the two-stage extraction process, in addition to the condition of the positional relationship with respect to the specific character string, the extraction condition is that the information is expressed in a specific format that matches the attribute of the information to be extracted, or that the information contains a character that is specific to the attribute of the information to be extracted. A program for digitizing the health insurance card according to claim 1.
3. The analyzing means further includes a means for extracting text data of a character string expressed in a specific format consisting of one or more character types that match the attributes of the information to be extracted from the read result data as data corresponding to the information to be extracted, by changing the specific format for each piece of information to be extracted. A program for digitizing the health insurance card according to claim 1.
4. The program for digitizing health insurance cards as described in claim 1, wherein the analysis means further includes means for extracting text data of a character string from the read result data, the character string being expressed in the same format as the multiple pieces of information written on each insurance card, with a specific format consisting of characters of one or more character types and a positional relationship common to the multiple types of insurance cards, and means for identifying text data corresponding to each of the multiple pieces of information by comparing the positional relationships determined from the respective positional data of the multiple pieces of text data extracted by this means with the positional relationships common to the multiple types of insurance cards of the multiple pieces of information.
5. a display means for displaying a registration form including a combination of a character string based on the extracted text data and an item name that matches the information represented by the character string in response to the completion of processing by the analysis means; a second analysis means for extracting text data of a character string not included in common in a fixed portion of the plurality of types of health insurance cards from text data included in the read result data acquired by the data acquisition means; an information updating means for updating a character string displayed in an arbitrary item of the registration form by inputting characters into the arbitrary item in response to the inputting operation; The information processing device further includes a program for operating the information processing device as each of the above means, the information updating means includes means for displaying a list of character strings based on the text data extracted by the second analyzing means when the character input operation is enabled, and means for displaying, in response to an operation of selecting a character string from the displayed list, the character string selected by the operation in a target location for character input; the output means, in response to a confirmation operation being performed while the registration form is being displayed, outputs text data of character strings of each item displayed in the registration form at the time of the operation in association with each item; A program for digitizing the health insurance card according to any one of claims 1 to 4.
6. A method carried out in a computer network system including one or more computers, comprising: An image acquisition step of acquiring an image generated by photographing one of a plurality of types of health insurance cards issued for a specific public insurance without a standardized format; a reading step of executing OCR processing on the image to generate read result data including text data of a character string included in the image and position data representing a position of the character string in the image; an analysis step of performing an analysis process on the read result data to extract text data of a character string representing information on the insured person of the insurance card to be processed from the read result data for each type of information; and an output step of outputting text data of the character string extracted by the analysis process in association with an item that matches the information represented by the character string, The analysis step includes a step of extracting text data including a specific character string commonly included in the standardized portion of the plurality of types of health insurance cards from the read result data, and then extracting text data of a character string that is in a positional relationship with the specific character string that satisfies a predetermined condition from other text data included in the read result data, and treating the text data as data corresponding to the information to be extracted, by resetting the conditions of the specific character string and the positional relationship with the character string for each piece of information to be extracted, and executing a two-stage extraction process. How to digitize your insurance card.
Citation Information
Patent Citations
Method for reading insurance policy, system thereof, and insurance policy recognition system
JP2007140703A
Data processing device and insurance card collation system
JP2011238199A
Report creation program, report creation system
JP7208596B1
